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.3/configure (file contents), Revision 1084 by michael, Sat Mar 13 23:24:10 2010 UTC vs.
ircd-hybrid/trunk/configure (file contents), Revision 1664 by michael, Sun Nov 18 14:33:47 2012 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1068 2010-02-16 23:01:26Z michael .
2 > # From configure.ac Id: configure.ac 1660 2012-11-17 19:35:07Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.65 for ircd-hybrid 7.3-rc1.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.0.0.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9 < # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 < # Inc.
9 > # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10   #
11   #
12   # This configure script is free software; the Free Software Foundation
# Line 92 | Line 90 | fi
90   IFS=" ""        $as_nl"
91  
92   # Find who we are.  Look in the path if we contain no directory separator.
93 + as_myself=
94   case $0 in #((
95    *[\\/]* ) as_myself=$0 ;;
96    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 136 | Line 135 | export LANGUAGE
135   # CDPATH.
136   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137  
138 + # Use a proper internal environment variable to ensure we don't fall
139 +  # into an infinite loop, continuously re-executing ourselves.
140 +  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 +    _as_can_reexec=no; export _as_can_reexec;
142 +    # We cannot yet assume a decent shell, so we have to provide a
143 + # neutralization value for shells without unset; and this also
144 + # works around shells that cannot unset nonexistent variables.
145 + # Preserve -v and -x to the replacement shell.
146 + BASH_ENV=/dev/null
147 + ENV=/dev/null
148 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 + case $- in # ((((
150 +  *v*x* | *x*v* ) as_opts=-vx ;;
151 +  *v* ) as_opts=-v ;;
152 +  *x* ) as_opts=-x ;;
153 +  * ) as_opts= ;;
154 + esac
155 + exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 + # Admittedly, this is quite paranoid, since all the known shells bail
157 + # out after a failed `exec'.
158 + $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 + as_fn_exit 255
160 +  fi
161 +  # We don't want this to propagate to other subprocesses.
162 +          { _as_can_reexec=; unset _as_can_reexec;}
163   if test "x$CONFIG_SHELL" = x; then
164    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165    emulate sh
# Line 169 | Line 193 | if ( set x; as_fn_ret_success y && test
193   else
194    exitcode=1; echo positional parameters were not saved.
195   fi
196 < test x\$exitcode = x0 || exit 1"
196 > test x\$exitcode = x0 || exit 1
197 > test -x / || exit 1"
198    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 +
203 +  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 +    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 +    PATH=/empty FPATH=/empty; export PATH FPATH
208 +    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 +      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210   test \$(( 1 + 1 )) = 2 || exit 1"
211    if (eval "$as_required") 2>/dev/null; then :
212    as_have_required=yes
# Line 214 | Line 247 | IFS=$as_save_IFS
247  
248  
249        if test "x$CONFIG_SHELL" != x; then :
250 <  # We cannot yet assume a decent shell, so we have to provide a
251 <        # neutralization value for shells without unset; and this also
252 <        # works around shells that cannot unset nonexistent variables.
253 <        BASH_ENV=/dev/null
254 <        ENV=/dev/null
255 <        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 <        export CONFIG_SHELL
257 <        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
250 >  export CONFIG_SHELL
251 >             # We cannot yet assume a decent shell, so we have to provide a
252 > # neutralization value for shells without unset; and this also
253 > # works around shells that cannot unset nonexistent variables.
254 > # Preserve -v and -x to the replacement shell.
255 > BASH_ENV=/dev/null
256 > ENV=/dev/null
257 > (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 > case $- in # ((((
259 >  *v*x* | *x*v* ) as_opts=-vx ;;
260 >  *v* ) as_opts=-v ;;
261 >  *x* ) as_opts=-x ;;
262 >  * ) as_opts= ;;
263 > esac
264 > exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 > # Admittedly, this is quite paranoid, since all the known shells bail
266 > # out after a failed `exec'.
267 > $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 > exit 255
269   fi
270  
271      if test x$as_have_required = xno; then :
# Line 320 | Line 364 | $as_echo X"$as_dir" |
364        test -d "$as_dir" && break
365      done
366      test -z "$as_dirs" || eval "mkdir $as_dirs"
367 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
367 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368  
369  
370   } # as_fn_mkdir_p
371 +
372 + # as_fn_executable_p FILE
373 + # -----------------------
374 + # Test if FILE is an executable regular file.
375 + as_fn_executable_p ()
376 + {
377 +  test -f "$1" && test -x "$1"
378 + } # as_fn_executable_p
379   # as_fn_append VAR VALUE
380   # ----------------------
381   # Append the text in VALUE to the end of the definition contained in VAR. Take
# Line 360 | Line 412 | else
412   fi # as_fn_arith
413  
414  
415 < # as_fn_error ERROR [LINENO LOG_FD]
416 < # ---------------------------------
415 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 > # ----------------------------------------
417   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 < # script with status $?, using 1 if that was 0.
419 > # script with STATUS, using 1 if that was 0.
420   as_fn_error ()
421   {
422 <  as_status=$?; test $as_status -eq 0 && as_status=1
423 <  if test "$3"; then
424 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
422 >  as_status=$1; test $as_status -eq 0 && as_status=1
423 >  if test "$4"; then
424 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426    fi
427 <  $as_echo "$as_me: error: $1" >&2
427 >  $as_echo "$as_me: error: $2" >&2
428    as_fn_exit $as_status
429   } # as_fn_error
430  
# Line 445 | Line 497 | as_cr_alnum=$as_cr_Letters$as_cr_digits
497    chmod +x "$as_me.lineno" ||
498      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499  
500 +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 +  # already done that, so ensure we don't try to do so again and fall
502 +  # in an infinite loop.  This has already happened in practice.
503 +  _as_can_reexec=no; export _as_can_reexec
504    # Don't try to exec as it changes $[0], causing all sort of problems
505    # (the dirname of $[0] is not the place where we might find the
506    # original and so on.  Autoconf is especially sensitive to this).
# Line 479 | Line 535 | if (echo >conf$$.file) 2>/dev/null; then
535      # ... but there are two gotchas:
536      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 <    # In both cases, we have to default to `cp -p'.
538 >    # In both cases, we have to default to `cp -pR'.
539      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 <      as_ln_s='cp -p'
540 >      as_ln_s='cp -pR'
541    elif ln conf$$.file conf$$ 2>/dev/null; then
542      as_ln_s=ln
543    else
544 <    as_ln_s='cp -p'
544 >    as_ln_s='cp -pR'
545    fi
546   else
547 <  as_ln_s='cp -p'
547 >  as_ln_s='cp -pR'
548   fi
549   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550   rmdir conf$$.dir 2>/dev/null
# Line 500 | Line 556 | else
556    as_mkdir_p=false
557   fi
558  
559 < if test -x / >/dev/null 2>&1; then
560 <  as_test_x='test -x'
505 < else
506 <  if ls -dL / >/dev/null 2>&1; then
507 <    as_ls_L_option=L
508 <  else
509 <    as_ls_L_option=
510 <  fi
511 <  as_test_x='
512 <    eval sh -c '\''
513 <      if test -d "$1"; then
514 <        test -d "$1/.";
515 <      else
516 <        case $1 in #(
517 <        -*)set "./$1";;
518 <        esac;
519 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 <        ???[sx]*):;;*)false;;esac;fi
521 <    '\'' sh
522 <  '
523 < fi
524 < as_executable_p=$as_test_x
559 > as_test_x='test -x'
560 > as_executable_p=as_fn_executable_p
561  
562   # Sed expression to map a string onto a valid CPP name.
563   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 529 | Line 565 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
565   # Sed expression to map a string onto a valid variable name.
566   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567  
532
568   lt_ltdl_dir='libltdl'
569  
535
536 # Check that we are running under the correct shell.
570   SHELL=${CONFIG_SHELL-/bin/sh}
571  
539 case X$lt_ECHO in
540 X*--fallback-echo)
541  # Remove one level of quotation (which was required for Make).
542  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
543  ;;
544 esac
545
546 ECHO=${lt_ECHO-echo}
547 if test "X$1" = X--no-reexec; then
548  # Discard the --no-reexec flag, and continue.
549  shift
550 elif test "X$1" = X--fallback-echo; then
551  # Avoid inline document here, it may be left over
552  :
553 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
554  # Yippee, $ECHO works!
555  :
556 else
557  # Restart under the correct shell.
558  exec $SHELL "$0" --no-reexec ${1+"$@"}
559 fi
560
561 if test "X$1" = X--fallback-echo; then
562  # used as fallback echo
563  shift
564  cat <<_LT_EOF
565 $*
566 _LT_EOF
567  exit 0
568 fi
569
570 # The HP-UX ksh and POSIX shell print the target directory to stdout
571 # if CDPATH is set.
572 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
573
574 if test -z "$lt_ECHO"; then
575  if test "X${echo_test_string+set}" != Xset; then
576    # find a string as large as possible, as long as the shell can cope with it
577    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
578      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
579      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
580         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581      then
582        break
583      fi
584    done
585  fi
586
587  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
588     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
589     test "X$echo_testing_string" = "X$echo_test_string"; then
590    :
591  else
592    # The Solaris, AIX, and Digital Unix default echo programs unquote
593    # backslashes.  This makes it impossible to quote backslashes using
594    #   echo "$something" | sed 's/\\/\\\\/g'
595    #
596    # So, first we look for a working echo in the user's PATH.
597
598    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
599    for dir in $PATH /usr/ucb; do
600      IFS="$lt_save_ifs"
601      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
602         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
603         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
604         test "X$echo_testing_string" = "X$echo_test_string"; then
605        ECHO="$dir/echo"
606        break
607      fi
608    done
609    IFS="$lt_save_ifs"
610
611    if test "X$ECHO" = Xecho; then
612      # We didn't find a better echo, so look for alternatives.
613      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
614         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
615         test "X$echo_testing_string" = "X$echo_test_string"; then
616        # This shell has a builtin print -r that does the trick.
617        ECHO='print -r'
618      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
619           test "X$CONFIG_SHELL" != X/bin/ksh; then
620        # If we have ksh, try running configure again with it.
621        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
622        export ORIGINAL_CONFIG_SHELL
623        CONFIG_SHELL=/bin/ksh
624        export CONFIG_SHELL
625        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626      else
627        # Try using printf.
628        ECHO='printf %s\n'
629        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
630           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
631           test "X$echo_testing_string" = "X$echo_test_string"; then
632          # Cool, printf works
633          :
634        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
635             test "X$echo_testing_string" = 'X\t' &&
636             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
637             test "X$echo_testing_string" = "X$echo_test_string"; then
638          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
639          export CONFIG_SHELL
640          SHELL="$CONFIG_SHELL"
641          export SHELL
642          ECHO="$CONFIG_SHELL $0 --fallback-echo"
643        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
644             test "X$echo_testing_string" = 'X\t' &&
645             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
646             test "X$echo_testing_string" = "X$echo_test_string"; then
647          ECHO="$CONFIG_SHELL $0 --fallback-echo"
648        else
649          # maybe with a smaller string...
650          prev=:
651
652          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
653            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654            then
655              break
656            fi
657            prev="$cmd"
658          done
659
660          if test "$prev" != 'sed 50q "$0"'; then
661            echo_test_string=`eval $prev`
662            export echo_test_string
663            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
664          else
665            # Oops.  We lost completely, so just stick with echo.
666            ECHO=echo
667          fi
668        fi
669      fi
670    fi
671  fi
672 fi
673
674 # Copy echo and quote the copy suitably for passing to libtool from
675 # the Makefile, instead of quoting the original, which is used later.
676 lt_ECHO=$ECHO
677 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
678   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
679 fi
680
681
682
683
684 lt_dlopen_dir="$lt_ltdl_dir"
572  
573   test -n "$DJDIR" || exec 7<&0 </dev/null
574   exec 6>&1
575  
576   # Name of the host.
577 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
577 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
578   # so uname gets run too.
579   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580  
# Line 706 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.3-rc1'
597 < PACKAGE_STRING='ircd-hybrid 7.3-rc1'
596 > PACKAGE_VERSION='8.0.0'
597 > PACKAGE_STRING='ircd-hybrid 8.0.0'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 748 | Line 635 | ac_includes_default="\
635   # include <unistd.h>
636   #endif"
637  
751 enable_option_checking=no
638   ac_func_list=
639   ac_header_list=
640   ac_subst_vars='ltdl_LTLIBOBJS
# Line 762 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
765 EFNET_FALSE
766 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
769 ENABLE_PCRE_FALSE
770 ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
773 subdirs
655   CONVENIENCE_LTDL_FALSE
656   CONVENIENCE_LTDL_TRUE
657   INSTALL_LTDL_FALSE
# Line 793 | Line 674 | OTOOL
674   LIPO
675   NMEDIT
676   DSYMUTIL
677 < lt_ECHO
677 > MANIFEST_TOOL
678   RANLIB
679 + ac_ct_AR
680   AR
681 + DLLTOOL
682   OBJDUMP
683   LN_S
684   NM
# Line 823 | Line 706 | YACC
706   am__fastdepCC_FALSE
707   am__fastdepCC_TRUE
708   CCDEPMODE
709 + am__nodep
710   AMDEPBACKSLASH
711   AMDEP_FALSE
712   AMDEP_TRUE
# Line 910 | Line 794 | enable_shared
794   with_pic
795   enable_fast_install
796   with_gnu_ld
797 + with_sysroot
798   enable_libtool_lock
799   with_included_ltdl
800   with_ltdl_include
801   with_ltdl_lib
802   enable_ltdl_install
918 with_zlib_path
919 enable_zlib
920 with_libpcre_path
803   enable_libpcre
804   enable_openssl
805   enable_assert
924 enable_small_net
806   enable_kqueue
807   enable_epoll
808   enable_devpoll
# Line 930 | Line 811 | enable_poll
811   enable_select
812   with_nicklen
813   with_topiclen
933 with_syslog_facility
934 enable_efnet
814   enable_halfops
815   enable_debugging
816   enable_warnings
938 enable_syslog
817   '
818        ac_precious_vars='build_alias
819   host_alias
# Line 948 | 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 1010 | 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 1056 | 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 1082 | 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 1286 | 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 1302 | 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 1332 | 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 1341 | 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 1351 | 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 1359 | 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 1388 | 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 1402 | 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
1405    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1406    If a cross compiler is detected then cross compile mode will be used." >&2
1284    elif test "x$build_alias" != "x$host_alias"; then
1285      cross_compiling=yes
1286    fi
# Line 1418 | 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 1459 | 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 1489 | 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.3-rc1 to adapt to many kinds of systems.
1369 > \`configure' configures ircd-hybrid 8.0.0 to adapt to many kinds of systems.
1370  
1371   Usage: $0 [OPTION]... [VAR=VALUE]...
1372  
# Line 1503 | 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 1559 | 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.3-rc1:";;
1439 >     short | recursive ) echo "Configuration of ircd-hybrid 8.0.0:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1567 | 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
1580  --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
1585  --enable-small-net      Enable small network support.
1464    --enable-kqueue         Force kqueue usage.
1465    --enable-epoll          Force epoll usage.
1466    --enable-devpoll        Force devpoll usage.
1467    --enable-rtsigio        Force rtsigio usage.
1468    --enable-poll           Force poll usage.
1469    --enable-select         Force select usage.
1592  --enable-efnet          For IRCDs running on EFnet.
1470    --enable-halfops        Enable halfops support.
1471    --enable-debugging      Enable debugging.
1472    --enable-warnings       Enable compiler warnings.
1596  --enable-syslog="EVENTS"
1597                          Enable syslog for events: users oper (space
1598                          separated in quotes; default: disabled).
1473  
1474   Optional Packages:
1475    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1476    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1477 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1477 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1478                            both]
1479    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1480 +  --with-sysroot=DIR Search for dependent libraries within DIR
1481 +                        (or the compiler's sysroot if not specified).
1482    --with-included-ltdl    use the GNU ltdl sources included here
1483    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1484    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1609  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1610  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1485    --with-nicklen=<value>  Set nickname length (default 9).
1486    --with-topiclen=<value> Set topic length (default 160).
1613  --with-syslog-facility=LOG
1614                          Define the syslog facility to use (default:
1615                          LOG_LOCAL4)
1487  
1488   Some influential environment variables:
1489    CC          C compiler command
# Line 1622 | Line 1493 | Some influential environment variables:
1493    LIBS        libraries to pass to the linker, e.g. -l<library>
1494    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1495                you have headers in a nonstandard directory <include dir>
1496 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1497 <              the first program found out of: `bison -y', `byacc', `yacc'.
1496 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1497 >              Defaults to the first program found out of: `bison -y', `byacc',
1498 >              `yacc'.
1499    YFLAGS      The list of arguments that will be passed by default to $YACC.
1500                This script will default YFLAGS to the empty string to avoid a
1501                default value of `-d' given by some make applications.
# Line 1695 | Line 1567 | fi
1567   test -n "$ac_init_help" && exit $ac_status
1568   if $ac_init_version; then
1569    cat <<\_ACEOF
1570 < ircd-hybrid configure 7.3-rc1
1571 < generated by GNU Autoconf 2.65
1570 > ircd-hybrid configure 8.0.0
1571 > generated by GNU Autoconf 2.69
1572  
1573 < Copyright (C) 2009 Free Software Foundation, Inc.
1573 > Copyright (C) 2012 Free Software Foundation, Inc.
1574   This configure script is free software; the Free Software Foundation
1575   gives unlimited permission to copy, distribute and modify it.
1576   _ACEOF
# Line 1742 | Line 1614 | sed 's/^/| /' conftest.$ac_ext >&5
1614  
1615          ac_retval=1
1616   fi
1617 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1617 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618    as_fn_set_status $ac_retval
1619  
1620   } # ac_fn_c_try_compile
# Line 1774 | Line 1646 | $as_echo "$ac_try_echo"; } >&5
1646           test ! -s conftest.err
1647         } && test -s conftest$ac_exeext && {
1648           test "$cross_compiling" = yes ||
1649 <         $as_test_x conftest$ac_exeext
1649 >         test -x conftest$ac_exeext
1650         }; then :
1651    ac_retval=0
1652   else
# Line 1788 | Line 1660 | fi
1660    # interfere with the next link command; also delete a directory that is
1661    # left behind by Apple's compiler.  We do this before executing the actions.
1662    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1663 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1663 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664    as_fn_set_status $ac_retval
1665  
1666   } # ac_fn_c_try_link
# Line 1802 | Line 1674 | ac_fn_c_check_header_compile ()
1674    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676   $as_echo_n "checking for $2... " >&6; }
1677 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1677 > if eval \${$3+:} false; then :
1678    $as_echo_n "(cached) " >&6
1679   else
1680    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1820 | Line 1692 | fi
1692   eval ac_res=\$$3
1693                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1694   $as_echo "$ac_res" >&6; }
1695 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696  
1697   } # ac_fn_c_check_header_compile
1698  
# Line 1845 | Line 1717 | $as_echo "$ac_try_echo"; } >&5
1717      mv -f conftest.er1 conftest.err
1718    fi
1719    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 <  test $ac_status = 0; } >/dev/null && {
1720 >  test $ac_status = 0; } > conftest.i && {
1721           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1722           test ! -s conftest.err
1723         }; then :
# Line 1856 | Line 1728 | sed 's/^/| /' conftest.$ac_ext >&5
1728  
1729      ac_retval=1
1730   fi
1731 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732    as_fn_set_status $ac_retval
1733  
1734   } # ac_fn_c_try_cpp
# Line 1898 | Line 1770 | sed 's/^/| /' conftest.$ac_ext >&5
1770         ac_retval=$ac_status
1771   fi
1772    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1773 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1773 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774    as_fn_set_status $ac_retval
1775  
1776   } # ac_fn_c_try_run
# Line 1911 | Line 1783 | ac_fn_c_check_func ()
1783    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785   $as_echo_n "checking for $2... " >&6; }
1786 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1786 > if eval \${$3+:} false; then :
1787    $as_echo_n "(cached) " >&6
1788   else
1789    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1966 | Line 1838 | fi
1838   eval ac_res=\$$3
1839                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840   $as_echo "$ac_res" >&6; }
1841 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1841 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842  
1843   } # ac_fn_c_check_func
1844  
1845 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1846 < # ------------------------------------
1847 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1845 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1846 > # ---------------------------------------------
1847 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1848 > # accordingly.
1849   ac_fn_c_check_decl ()
1850   {
1851    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1853 < $as_echo_n "checking whether $2 is declared... " >&6; }
1854 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1852 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1853 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1854 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1855 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1856 > if eval \${$3+:} false; then :
1857    $as_echo_n "(cached) " >&6
1858   else
1859    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1987 | Line 1862 | $4
1862   int
1863   main ()
1864   {
1865 < #ifndef $2
1866 <  (void) $2;
1865 > #ifndef $as_decl_name
1866 > #ifdef __cplusplus
1867 >  (void) $as_decl_use;
1868 > #else
1869 >  (void) $as_decl_name;
1870 > #endif
1871   #endif
1872  
1873    ;
# Line 2005 | Line 1884 | fi
1884   eval ac_res=\$$3
1885                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886   $as_echo "$ac_res" >&6; }
1887 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1887 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888  
1889   } # ac_fn_c_check_decl
1890  
# Line 2018 | Line 1897 | ac_fn_c_check_type ()
1897    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899   $as_echo_n "checking for $2... " >&6; }
1900 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1900 > if eval \${$3+:} false; then :
1901    $as_echo_n "(cached) " >&6
1902   else
1903    eval "$3=no"
# Line 2059 | Line 1938 | fi
1938   eval ac_res=\$$3
1939                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1940   $as_echo "$ac_res" >&6; }
1941 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1941 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942  
1943   } # ac_fn_c_check_type
1944  
# Line 2072 | Line 1951 | ac_fn_c_check_member ()
1951    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1953   $as_echo_n "checking for $2.$3... " >&6; }
1954 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1954 > if eval \${$4+:} false; then :
1955    $as_echo_n "(cached) " >&6
1956   else
1957    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 2116 | Line 1995 | fi
1995   eval ac_res=\$$4
1996                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1997   $as_echo "$ac_res" >&6; }
1998 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1998 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1999  
2000   } # ac_fn_c_check_member
2001  
# Line 2128 | Line 2007 | $as_echo "$ac_res" >&6; }
2007   ac_fn_c_check_header_mongrel ()
2008   {
2009    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2010 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2010 >  if eval \${$3+:} false; then :
2011    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2012   $as_echo_n "checking for $2... " >&6; }
2013 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2013 > if eval \${$3+:} false; then :
2014    $as_echo_n "(cached) " >&6
2015   fi
2016   eval ac_res=\$$3
# Line 2167 | Line 2046 | if ac_fn_c_try_cpp "$LINENO"; then :
2046   else
2047    ac_header_preproc=no
2048   fi
2049 < rm -f conftest.err conftest.$ac_ext
2049 > rm -f conftest.err conftest.i conftest.$ac_ext
2050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2051   $as_echo "$ac_header_preproc" >&6; }
2052  
# Line 2190 | Line 2069 | $as_echo "$as_me: WARNING: $2: see the A
2069   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2070      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2071   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2072 < ( cat <<\_ASBOX
2194 < ## ----------------------------------- ##
2072 > ( $as_echo "## ----------------------------------- ##
2073   ## Report this to bugs@ircd-hybrid.org ##
2074 < ## ----------------------------------- ##
2197 < _ASBOX
2074 > ## ----------------------------------- ##"
2075       ) | sed "s/^/$as_me: WARNING:     /" >&2
2076      ;;
2077   esac
2078    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2079   $as_echo_n "checking for $2... " >&6; }
2080 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2080 > if eval \${$3+:} false; then :
2081    $as_echo_n "(cached) " >&6
2082   else
2083    eval "$3=\$ac_header_compiler"
# Line 2209 | Line 2086 | eval ac_res=\$$3
2086                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2087   $as_echo "$ac_res" >&6; }
2088   fi
2089 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2089 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2090  
2091   } # ac_fn_c_check_header_mongrel
2092   cat >config.log <<_ACEOF
2093   This file contains any messages produced by compilers while
2094   running configure, to aid debugging if configure makes a mistake.
2095  
2096 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2097 < generated by GNU Autoconf 2.65.  Invocation command line was
2096 > It was created by ircd-hybrid $as_me 8.0.0, which was
2097 > generated by GNU Autoconf 2.69.  Invocation command line was
2098  
2099    $ $0 $@
2100  
# Line 2327 | Line 2204 | trap 'exit_status=$?
2204    {
2205      echo
2206  
2207 <    cat <<\_ASBOX
2331 < ## ---------------- ##
2207 >    $as_echo "## ---------------- ##
2208   ## Cache variables. ##
2209 < ## ---------------- ##
2334 < _ASBOX
2209 > ## ---------------- ##"
2210      echo
2211      # The following way of writing the cache mishandles newlines in values,
2212   (
# Line 2365 | Line 2240 | $as_echo "$as_me: WARNING: cache variabl
2240   )
2241      echo
2242  
2243 <    cat <<\_ASBOX
2369 < ## ----------------- ##
2243 >    $as_echo "## ----------------- ##
2244   ## Output variables. ##
2245 < ## ----------------- ##
2372 < _ASBOX
2245 > ## ----------------- ##"
2246      echo
2247      for ac_var in $ac_subst_vars
2248      do
# Line 2382 | Line 2255 | _ASBOX
2255      echo
2256  
2257      if test -n "$ac_subst_files"; then
2258 <      cat <<\_ASBOX
2386 < ## ------------------- ##
2258 >      $as_echo "## ------------------- ##
2259   ## File substitutions. ##
2260 < ## ------------------- ##
2389 < _ASBOX
2260 > ## ------------------- ##"
2261        echo
2262        for ac_var in $ac_subst_files
2263        do
# Line 2400 | Line 2271 | _ASBOX
2271      fi
2272  
2273      if test -s confdefs.h; then
2274 <      cat <<\_ASBOX
2404 < ## ----------- ##
2274 >      $as_echo "## ----------- ##
2275   ## confdefs.h. ##
2276 < ## ----------- ##
2407 < _ASBOX
2276 > ## ----------- ##"
2277        echo
2278        cat confdefs.h
2279        echo
# Line 2459 | Line 2328 | _ACEOF
2328   ac_site_file1=NONE
2329   ac_site_file2=NONE
2330   if test -n "$CONFIG_SITE"; then
2331 <  ac_site_file1=$CONFIG_SITE
2331 >  # We do not want a PATH search for config.site.
2332 >  case $CONFIG_SITE in #((
2333 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2334 >    */*) ac_site_file1=$CONFIG_SITE;;
2335 >    *)   ac_site_file1=./$CONFIG_SITE;;
2336 >  esac
2337   elif test "x$prefix" != xNONE; then
2338    ac_site_file1=$prefix/share/config.site
2339    ac_site_file2=$prefix/etc/config.site
# Line 2474 | Line 2348 | do
2348      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2349   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2350      sed 's/^/| /' "$ac_site_file" >&5
2351 <    . "$ac_site_file"
2351 >    . "$ac_site_file" \
2352 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2353 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2354 > as_fn_error $? "failed to load site script $ac_site_file
2355 > See \`config.log' for more details" "$LINENO" 5; }
2356    fi
2357   done
2358  
# Line 2495 | Line 2373 | $as_echo "$as_me: creating cache $cache_
2373    >$cache_file
2374   fi
2375  
2498 as_fn_append ac_func_list " mmap"
2376   as_fn_append ac_func_list " strtok_r"
2377   as_fn_append ac_func_list " usleep"
2378   as_fn_append ac_func_list " strlcat"
2379   as_fn_append ac_func_list " strlcpy"
2380   as_fn_append ac_header_list " crypt.h"
2504 as_fn_append ac_header_list " inttypes.h"
2505 as_fn_append ac_header_list " stdint.h"
2381   as_fn_append ac_header_list " sys/resource.h"
2382   as_fn_append ac_header_list " sys/param.h"
2508 as_fn_append ac_header_list " errno.h"
2509 as_fn_append ac_header_list " sys/syslog.h"
2383   as_fn_append ac_header_list " types.h"
2384   as_fn_append ac_header_list " socket.h"
2385   as_fn_append ac_header_list " sys/wait.h"
2386   as_fn_append ac_header_list " wait.h"
2514 as_fn_append ac_header_list " link.h"
2387   # Check that the precious variables saved in the cache have kept the same
2388   # value.
2389   ac_cache_corrupted=false
# Line 2567 | Line 2439 | if $ac_cache_corrupted; then
2439   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2440    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2441   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2442 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2442 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2443   fi
2444   ## -------------------- ##
2445   ## Main body of script. ##
# Line 2580 | Line 2452 | ac_link='$CC -o conftest$ac_exeext $CFLA
2452   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2453  
2454  
2455 < am__api_version='1.11'
2455 > am__api_version='1.12'
2456  
2457   ac_aux_dir=
2458   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2459 <  for ac_t in install-sh install.sh shtool; do
2460 <    if test -f "$ac_dir/$ac_t"; then
2461 <      ac_aux_dir=$ac_dir
2462 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2463 <      break 2
2464 <    fi
2465 <  done
2459 >  if test -f "$ac_dir/install-sh"; then
2460 >    ac_aux_dir=$ac_dir
2461 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2462 >    break
2463 >  elif test -f "$ac_dir/install.sh"; then
2464 >    ac_aux_dir=$ac_dir
2465 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2466 >    break
2467 >  elif test -f "$ac_dir/shtool"; then
2468 >    ac_aux_dir=$ac_dir
2469 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2470 >    break
2471 >  fi
2472   done
2473   if test -z "$ac_aux_dir"; then
2474 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2474 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2475   fi
2476  
2477   # These three variables are undocumented and unsupported,
# Line 2622 | Line 2500 | ac_configure="$SHELL $ac_aux_dir/configu
2500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2501   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2502   if test -z "$INSTALL"; then
2503 < if test "${ac_cv_path_install+set}" = set; then :
2503 > if ${ac_cv_path_install+:} false; then :
2504    $as_echo_n "(cached) " >&6
2505   else
2506    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2642 | Line 2520 | case $as_dir/ in #((
2520      # by default.
2521      for ac_prog in ginstall scoinst install; do
2522        for ac_exec_ext in '' $ac_executable_extensions; do
2523 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2523 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2524            if test $ac_prog = install &&
2525              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2526              # AIX install.  It has an incompatible calling convention.
# Line 2700 | Line 2578 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2578  
2579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2580   $as_echo_n "checking whether build environment is sane... " >&6; }
2703 # Just in case
2704 sleep 1
2705 echo timestamp > conftest.file
2581   # Reject unsafe characters in $srcdir or the absolute working directory
2582   # name.  Accept space and tab only in the latter.
2583   am_lf='
2584   '
2585   case `pwd` in
2586    *[\\\"\#\$\&\'\`$am_lf]*)
2587 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2587 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2588   esac
2589   case $srcdir in
2590    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2591 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2591 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2592   esac
2593  
2594 < # Do `set' in a subshell so we don't clobber the current shell's
2594 > # Do 'set' in a subshell so we don't clobber the current shell's
2595   # arguments.  Must try -L first in case configure is actually a
2596   # symlink; some systems play weird games with the mod time of symlinks
2597   # (eg FreeBSD returns the mod time of the symlink's containing
2598   # directory).
2599   if (
2600 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2601 <   if test "$*" = "X"; then
2602 <      # -L didn't work.
2603 <      set X `ls -t "$srcdir/configure" conftest.file`
2604 <   fi
2605 <   rm -f conftest.file
2606 <   if test "$*" != "X $srcdir/configure conftest.file" \
2607 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2608 <
2609 <      # If neither matched, then we have a broken ls.  This can happen
2735 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2736 <      # broken ls alias from the environment.  This has actually
2737 <      # happened.  Such a system could not be considered "sane".
2738 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2739 < alias in your environment" "$LINENO" 5
2740 <   fi
2600 >   am_has_slept=no
2601 >   for am_try in 1 2; do
2602 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2603 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2604 >     if test "$*" = "X"; then
2605 >        # -L didn't work.
2606 >        set X `ls -t "$srcdir/configure" conftest.file`
2607 >     fi
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
2612 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2613 +        # broken ls alias from the environment.  This has actually
2614 +        # happened.  Such a system could not be considered "sane".
2615 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2616 +  alias in your environment" "$LINENO" 5
2617 +     fi
2618 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2619 +       break
2620 +     fi
2621 +     # Just in case.
2622 +     sleep 1
2623 +     am_has_slept=yes
2624 +   done
2625     test "$2" = conftest.file
2626     )
2627   then
2628     # Ok.
2629     :
2630   else
2631 <   as_fn_error "newly created file is older than distributed files!
2631 >   as_fn_error $? "newly created file is older than distributed files!
2632   Check your system clock" "$LINENO" 5
2633   fi
2634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2635   $as_echo "yes" >&6; }
2636 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2637 + # generated files are strictly newer.
2638 + am_sleep_pid=
2639 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2640 +  ( sleep 1 ) &
2641 +  am_sleep_pid=$!
2642 + fi
2643 +
2644 + rm -f conftest.file
2645 +
2646   test "$program_prefix" != NONE &&
2647    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2648   # Use a double $ so make ignores it.
# Line 2776 | Line 2669 | if eval "$MISSING --run true"; then
2669    am_missing_run="$MISSING --run "
2670   else
2671    am_missing_run=
2672 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2673 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2672 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2673 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2674   fi
2675  
2676   if test x"${install_sh}" != xset; then
# Line 2789 | Line 2682 | if test x"${install_sh}" != xset; then
2682    esac
2683   fi
2684  
2685 < # Installed binaries are usually stripped using `strip' when the user
2686 < # run `make install-strip'.  However `strip' might not be the right
2685 > # Installed binaries are usually stripped using 'strip' when the user
2686 > # run "make install-strip".  However 'strip' might not be the right
2687   # tool to use in cross-compilation environments, therefore Automake
2688 < # will honor the `STRIP' environment variable to overrule this program.
2688 > # will honor the 'STRIP' environment variable to overrule this program.
2689   if test "$cross_compiling" != no; then
2690    if test -n "$ac_tool_prefix"; then
2691    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2692   set dummy ${ac_tool_prefix}strip; ac_word=$2
2693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694   $as_echo_n "checking for $ac_word... " >&6; }
2695 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2695 > if ${ac_cv_prog_STRIP+:} false; then :
2696    $as_echo_n "(cached) " >&6
2697   else
2698    if test -n "$STRIP"; then
# Line 2811 | Line 2704 | do
2704    IFS=$as_save_IFS
2705    test -z "$as_dir" && as_dir=.
2706      for ac_exec_ext in '' $ac_executable_extensions; do
2707 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2707 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2708      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2709      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2710      break 2
# Line 2839 | Line 2732 | if test -z "$ac_cv_prog_STRIP"; then
2732   set dummy strip; ac_word=$2
2733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2734   $as_echo_n "checking for $ac_word... " >&6; }
2735 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2735 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2736    $as_echo_n "(cached) " >&6
2737   else
2738    if test -n "$ac_ct_STRIP"; then
# Line 2851 | Line 2744 | do
2744    IFS=$as_save_IFS
2745    test -z "$as_dir" && as_dir=.
2746      for ac_exec_ext in '' $ac_executable_extensions; do
2747 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2747 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2748      ac_cv_prog_ac_ct_STRIP="strip"
2749      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2750      break 2
# Line 2892 | Line 2785 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2786   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2787   if test -z "$MKDIR_P"; then
2788 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2788 >  if ${ac_cv_path_mkdir+:} false; then :
2789    $as_echo_n "(cached) " >&6
2790   else
2791    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2902 | Line 2795 | do
2795    test -z "$as_dir" && as_dir=.
2796      for ac_prog in mkdir gmkdir; do
2797           for ac_exec_ext in '' $ac_executable_extensions; do
2798 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2798 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2799             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2800               'mkdir (GNU coreutils) '* | \
2801               'mkdir (coreutils) '* | \
# Line 2931 | Line 2824 | fi
2824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2825   $as_echo "$MKDIR_P" >&6; }
2826  
2934 mkdir_p="$MKDIR_P"
2935 case $mkdir_p in
2936  [\\/$]* | ?:[\\/]*) ;;
2937  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2938 esac
2939
2827   for ac_prog in gawk mawk nawk awk
2828   do
2829    # Extract the first word of "$ac_prog", so it can be a program name with args.
2830   set dummy $ac_prog; ac_word=$2
2831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2832   $as_echo_n "checking for $ac_word... " >&6; }
2833 < if test "${ac_cv_prog_AWK+set}" = set; then :
2833 > if ${ac_cv_prog_AWK+:} false; then :
2834    $as_echo_n "(cached) " >&6
2835   else
2836    if test -n "$AWK"; then
# Line 2955 | Line 2842 | do
2842    IFS=$as_save_IFS
2843    test -z "$as_dir" && as_dir=.
2844      for ac_exec_ext in '' $ac_executable_extensions; do
2845 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2845 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2846      ac_cv_prog_AWK="$ac_prog"
2847      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2848      break 2
# Line 2983 | Line 2870 | done
2870   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2871   set x ${MAKE-make}
2872   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2873 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2873 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2874    $as_echo_n "(cached) " >&6
2875   else
2876    cat >conftest.make <<\_ACEOF
# Line 2991 | Line 2878 | SHELL = /bin/sh
2878   all:
2879          @echo '@@@%%%=$(MAKE)=@@@%%%'
2880   _ACEOF
2881 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2881 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2882   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2883    *@@@%%%=?*=@@@%%%*)
2884      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3025 | Line 2912 | if test "`cd $srcdir && pwd`" != "`pwd`"
2912    am__isrc=' -I$(srcdir)'
2913    # test to see if srcdir already configured
2914    if test -f $srcdir/config.status; then
2915 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2915 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2916    fi
2917   fi
2918  
# Line 3041 | Line 2928 | fi
2928  
2929   # Define the identity of the package.
2930   PACKAGE='ircd-hybrid'
2931 < VERSION='7.3-rc1'
2931 > VERSION='8.0.0'
2932  
2933  
2934   cat >>confdefs.h <<_ACEOF
# Line 3069 | Line 2956 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2956  
2957   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2958  
2959 + # For better backward compatibility.  To be removed once Automake 1.9.x
2960 + # dies out for good.  For more background, see:
2961 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2962 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2963 + mkdir_p='$(MKDIR_P)'
2964 +
2965   # We need awk for the "check" target.  The system "awk" is bad on
2966   # some platforms.
2967 < # Always define AMTAR for backward compatibility.
2968 <
2969 < AMTAR=${AMTAR-"${am_missing_run}tar"}
2967 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2968 > # in the wild :-(  We should find a proper way to deprecate it ...
2969 > AMTAR='$${TAR-tar}'
2970  
2971 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2971 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2972  
2973  
2974  
# Line 3128 | Line 3021 | am__quote=
3021   _am_result=none
3022   # First try GNU make style include.
3023   echo "include confinc" > confmf
3024 < # Ignore all kinds of additional output from `make'.
3024 > # Ignore all kinds of additional output from 'make'.
3025   case `$am_make -s -f confmf 2> /dev/null` in #(
3026   *the\ am__doit\ target*)
3027    am__include=include
# Line 3161 | Line 3054 | fi
3054   if test "x$enable_dependency_tracking" != xno; then
3055    am_depcomp="$ac_aux_dir/depcomp"
3056    AMDEPBACKSLASH='\'
3057 +  am__nodep='_no'
3058   fi
3059   if test "x$enable_dependency_tracking" != xno; then
3060    AMDEP_TRUE=
# Line 3181 | Line 3075 | if test -n "$ac_tool_prefix"; then
3075   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3077   $as_echo_n "checking for $ac_word... " >&6; }
3078 < if test "${ac_cv_prog_CC+set}" = set; then :
3078 > if ${ac_cv_prog_CC+:} false; then :
3079    $as_echo_n "(cached) " >&6
3080   else
3081    if test -n "$CC"; then
# Line 3193 | Line 3087 | do
3087    IFS=$as_save_IFS
3088    test -z "$as_dir" && as_dir=.
3089      for ac_exec_ext in '' $ac_executable_extensions; do
3090 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3090 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3091      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3092      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3093      break 2
# Line 3221 | Line 3115 | if test -z "$ac_cv_prog_CC"; then
3115   set dummy gcc; ac_word=$2
3116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3117   $as_echo_n "checking for $ac_word... " >&6; }
3118 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3118 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3119    $as_echo_n "(cached) " >&6
3120   else
3121    if test -n "$ac_ct_CC"; then
# Line 3233 | Line 3127 | do
3127    IFS=$as_save_IFS
3128    test -z "$as_dir" && as_dir=.
3129      for ac_exec_ext in '' $ac_executable_extensions; do
3130 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3130 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3131      ac_cv_prog_ac_ct_CC="gcc"
3132      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133      break 2
# Line 3274 | Line 3168 | if test -z "$CC"; then
3168   set dummy ${ac_tool_prefix}cc; ac_word=$2
3169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3170   $as_echo_n "checking for $ac_word... " >&6; }
3171 < if test "${ac_cv_prog_CC+set}" = set; then :
3171 > if ${ac_cv_prog_CC+:} false; then :
3172    $as_echo_n "(cached) " >&6
3173   else
3174    if test -n "$CC"; then
# Line 3286 | Line 3180 | do
3180    IFS=$as_save_IFS
3181    test -z "$as_dir" && as_dir=.
3182      for ac_exec_ext in '' $ac_executable_extensions; do
3183 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3183 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3184      ac_cv_prog_CC="${ac_tool_prefix}cc"
3185      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3186      break 2
# Line 3314 | Line 3208 | if test -z "$CC"; then
3208   set dummy cc; ac_word=$2
3209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3210   $as_echo_n "checking for $ac_word... " >&6; }
3211 < if test "${ac_cv_prog_CC+set}" = set; then :
3211 > if ${ac_cv_prog_CC+:} false; then :
3212    $as_echo_n "(cached) " >&6
3213   else
3214    if test -n "$CC"; then
# Line 3327 | Line 3221 | do
3221    IFS=$as_save_IFS
3222    test -z "$as_dir" && as_dir=.
3223      for ac_exec_ext in '' $ac_executable_extensions; do
3224 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3224 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3225      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3226         ac_prog_rejected=yes
3227         continue
# Line 3373 | Line 3267 | if test -z "$CC"; then
3267   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269   $as_echo_n "checking for $ac_word... " >&6; }
3270 < if test "${ac_cv_prog_CC+set}" = set; then :
3270 > if ${ac_cv_prog_CC+:} false; then :
3271    $as_echo_n "(cached) " >&6
3272   else
3273    if test -n "$CC"; then
# Line 3385 | Line 3279 | do
3279    IFS=$as_save_IFS
3280    test -z "$as_dir" && as_dir=.
3281      for ac_exec_ext in '' $ac_executable_extensions; do
3282 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3282 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3283      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3284      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285      break 2
# Line 3417 | Line 3311 | do
3311   set dummy $ac_prog; ac_word=$2
3312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3313   $as_echo_n "checking for $ac_word... " >&6; }
3314 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3314 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3315    $as_echo_n "(cached) " >&6
3316   else
3317    if test -n "$ac_ct_CC"; then
# Line 3429 | Line 3323 | do
3323    IFS=$as_save_IFS
3324    test -z "$as_dir" && as_dir=.
3325      for ac_exec_ext in '' $ac_executable_extensions; do
3326 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3326 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3327      ac_cv_prog_ac_ct_CC="$ac_prog"
3328      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3329      break 2
# Line 3471 | Line 3365 | fi
3365  
3366   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3367   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3368 < as_fn_error "no acceptable C compiler found in \$PATH
3369 < See \`config.log' for more details." "$LINENO" 5; }
3368 > as_fn_error $? "no acceptable C compiler found in \$PATH
3369 > See \`config.log' for more details" "$LINENO" 5; }
3370  
3371   # Provide some information about the compiler.
3372   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3586 | Line 3480 | sed 's/^/| /' conftest.$ac_ext >&5
3480  
3481   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3482   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3483 < { as_fn_set_status 77
3484 < as_fn_error "C compiler cannot create executables
3591 < See \`config.log' for more details." "$LINENO" 5; }; }
3483 > as_fn_error 77 "C compiler cannot create executables
3484 > See \`config.log' for more details" "$LINENO" 5; }
3485   else
3486    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3487   $as_echo "yes" >&6; }
# Line 3630 | Line 3523 | done
3523   else
3524    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3525   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3526 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3527 < See \`config.log' for more details." "$LINENO" 5; }
3526 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3527 > See \`config.log' for more details" "$LINENO" 5; }
3528   fi
3529   rm -f conftest conftest$ac_cv_exeext
3530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3688 | Line 3581 | $as_echo "$ac_try_echo"; } >&5
3581      else
3582          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3583   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3584 < as_fn_error "cannot run C compiled programs.
3584 > as_fn_error $? "cannot run C compiled programs.
3585   If you meant to cross compile, use \`--host'.
3586 < See \`config.log' for more details." "$LINENO" 5; }
3586 > See \`config.log' for more details" "$LINENO" 5; }
3587      fi
3588    fi
3589   fi
# Line 3701 | Line 3594 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3594   ac_clean_files=$ac_clean_files_save
3595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3596   $as_echo_n "checking for suffix of object files... " >&6; }
3597 < if test "${ac_cv_objext+set}" = set; then :
3597 > if ${ac_cv_objext+:} false; then :
3598    $as_echo_n "(cached) " >&6
3599   else
3600    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3741 | Line 3634 | sed 's/^/| /' conftest.$ac_ext >&5
3634  
3635   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3636   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3637 < as_fn_error "cannot compute suffix of object files: cannot compile
3638 < See \`config.log' for more details." "$LINENO" 5; }
3637 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3638 > See \`config.log' for more details" "$LINENO" 5; }
3639   fi
3640   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3641   fi
# Line 3752 | Line 3645 | OBJEXT=$ac_cv_objext
3645   ac_objext=$OBJEXT
3646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3647   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3648 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3648 > if ${ac_cv_c_compiler_gnu+:} false; then :
3649    $as_echo_n "(cached) " >&6
3650   else
3651    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3789 | Line 3682 | ac_test_CFLAGS=${CFLAGS+set}
3682   ac_save_CFLAGS=$CFLAGS
3683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3684   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3685 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3685 > if ${ac_cv_prog_cc_g+:} false; then :
3686    $as_echo_n "(cached) " >&6
3687   else
3688    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3867 | Line 3760 | else
3760   fi
3761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3762   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3763 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3763 > if ${ac_cv_prog_cc_c89+:} false; then :
3764    $as_echo_n "(cached) " >&6
3765   else
3766    ac_cv_prog_cc_c89=no
# Line 3876 | Line 3769 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3769   /* end confdefs.h.  */
3770   #include <stdarg.h>
3771   #include <stdio.h>
3772 < #include <sys/types.h>
3880 < #include <sys/stat.h>
3772 > struct stat;
3773   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3774   struct buf { int x; };
3775   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3966 | Line 3858 | depcc="$CC"   am_compiler_list=
3858  
3859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3860   $as_echo_n "checking dependency style of $depcc... " >&6; }
3861 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3861 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3862    $as_echo_n "(cached) " >&6
3863   else
3864    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3865    # We make a subdir and do the tests there.  Otherwise we can end up
3866    # making bogus files that we don't know about and never remove.  For
3867    # instance it was reported that on HP-UX the gcc test will end up
3868 <  # making a dummy file named `D' -- because `-MD' means `put the output
3869 <  # in D'.
3868 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3869 >  # in D".
3870 >  rm -rf conftest.dir
3871    mkdir conftest.dir
3872    # Copy depcomp to subdir because otherwise we won't find it if we're
3873    # using a relative directory.
# Line 4008 | Line 3901 | else
3901      : > sub/conftest.c
3902      for i in 1 2 3 4 5 6; do
3903        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3904 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3905 <      # Solaris 8's {/usr,}/bin/sh.
3906 <      touch sub/conftst$i.h
3904 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3905 >      # Solaris 10 /bin/sh.
3906 >      echo '/* dummy */' > sub/conftst$i.h
3907      done
3908      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3909  
3910 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3910 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3911      # mode.  It turns out that the SunPro C++ compiler does not properly
3912 <    # handle `-M -o', and we need to detect this.  Also, some Intel
3913 <    # versions had trouble with output in subdirs
3912 >    # handle '-M -o', and we need to detect this.  Also, some Intel
3913 >    # versions had trouble with output in subdirs.
3914      am__obj=sub/conftest.${OBJEXT-o}
3915      am__minus_obj="-o $am__obj"
3916      case $depmode in
# Line 4026 | Line 3919 | else
3919        test "$am__universal" = false || continue
3920        ;;
3921      nosideeffect)
3922 <      # after this tag, mechanisms are not by side-effect, so they'll
3923 <      # only be used when explicitly requested
3922 >      # After this tag, mechanisms are not by side-effect, so they'll
3923 >      # only be used when explicitly requested.
3924        if test "x$enable_dependency_tracking" = xyes; then
3925          continue
3926        else
3927          break
3928        fi
3929        ;;
3930 <    msvisualcpp | msvcmsys)
3931 <      # This compiler won't grok `-c -o', but also, the minuso test has
3930 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3931 >      # This compiler won't grok '-c -o', but also, the minuso test has
3932        # not run yet.  These depmodes are late enough in the game, and
3933        # so weak that their functioning should not be impacted.
3934        am__obj=conftest.${OBJEXT-o}
# Line 4091 | Line 3984 | fi
3984  
3985     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3986   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3987 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
3987 > if ${ac_cv_prog_cc_c99+:} false; then :
3988    $as_echo_n "(cached) " >&6
3989   else
3990    ac_cv_prog_cc_c99=no
# Line 4235 | Line 4128 | main ()
4128    return 0;
4129   }
4130   _ACEOF
4131 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4131 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4132   do
4133    CC="$ac_save_CC $ac_arg"
4134    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4267 | Line 4160 | fi
4160  
4161  
4162   if test "$ac_cv_prog_cc_c99" = "no"; then :
4163 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4163 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4164   fi
4165   for ac_prog in 'bison -y' byacc
4166   do
# Line 4275 | Line 4168 | do
4168   set dummy $ac_prog; ac_word=$2
4169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4170   $as_echo_n "checking for $ac_word... " >&6; }
4171 < if test "${ac_cv_prog_YACC+set}" = set; then :
4171 > if ${ac_cv_prog_YACC+:} false; then :
4172    $as_echo_n "(cached) " >&6
4173   else
4174    if test -n "$YACC"; then
# Line 4287 | Line 4180 | do
4180    IFS=$as_save_IFS
4181    test -z "$as_dir" && as_dir=.
4182      for ac_exec_ext in '' $ac_executable_extensions; do
4183 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4183 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4184      ac_cv_prog_YACC="$ac_prog"
4185      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4186      break 2
# Line 4319 | Line 4212 | do
4212   set dummy $ac_prog; ac_word=$2
4213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4214   $as_echo_n "checking for $ac_word... " >&6; }
4215 < if test "${ac_cv_prog_LEX+set}" = set; then :
4215 > if ${ac_cv_prog_LEX+:} false; then :
4216    $as_echo_n "(cached) " >&6
4217   else
4218    if test -n "$LEX"; then
# Line 4331 | Line 4224 | do
4224    IFS=$as_save_IFS
4225    test -z "$as_dir" && as_dir=.
4226      for ac_exec_ext in '' $ac_executable_extensions; do
4227 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4227 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4228      ac_cv_prog_LEX="$ac_prog"
4229      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4230      break 2
# Line 4363 | Line 4256 | a { ECHO; }
4256   b { REJECT; }
4257   c { yymore (); }
4258   d { yyless (1); }
4259 < e { yyless (input () != 0); }
4259 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4260 >    yyless ((input () != 0)); }
4261   f { unput (yytext[0]); }
4262   . { BEGIN INITIAL; }
4263   %%
# Line 4389 | Line 4283 | $as_echo "$ac_try_echo"; } >&5
4283    test $ac_status = 0; }
4284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4285   $as_echo_n "checking lex output file root... " >&6; }
4286 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4286 > if ${ac_cv_prog_lex_root+:} false; then :
4287    $as_echo_n "(cached) " >&6
4288   else
4289  
# Line 4398 | Line 4292 | if test -f lex.yy.c; then
4292   elif test -f lexyy.c; then
4293    ac_cv_prog_lex_root=lexyy
4294   else
4295 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4295 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4296   fi
4297   fi
4298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4408 | Line 4302 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4302   if test -z "${LEXLIB+set}"; then
4303    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4304   $as_echo_n "checking lex library... " >&6; }
4305 < if test "${ac_cv_lib_lex+set}" = set; then :
4305 > if ${ac_cv_lib_lex+:} false; then :
4306    $as_echo_n "(cached) " >&6
4307   else
4308  
# Line 4438 | Line 4332 | fi
4332  
4333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4334   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4335 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4335 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4336    $as_echo_n "(cached) " >&6
4337   else
4338    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4449 | Line 4343 | ac_save_LIBS=$LIBS
4343   LIBS="$LEXLIB $ac_save_LIBS"
4344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345   /* end confdefs.h.  */
4346 < #define YYTEXT_POINTER 1
4346 >
4347 >  #define YYTEXT_POINTER 1
4348   `cat $LEX_OUTPUT_ROOT.c`
4349   _ACEOF
4350   if ac_fn_c_try_link "$LINENO"; then :
# Line 4483 | Line 4378 | fi
4378  
4379  
4380  
4486
4381   case `pwd` in
4382    *\ * | *\     *)
4383      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4492 | Line 4386 | esac
4386  
4387  
4388  
4389 < macro_version='2.2.6b'
4390 < macro_revision='1.3017'
4389 > macro_version='2.4.2'
4390 > macro_revision='1.3337'
4391  
4392  
4393  
# Line 4511 | Line 4405 | ltmain="$ac_aux_dir/ltmain.sh"
4405  
4406   # Make sure we can run config.sub.
4407   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4408 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4408 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4409  
4410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4411   $as_echo_n "checking build system type... " >&6; }
4412 < if test "${ac_cv_build+set}" = set; then :
4412 > if ${ac_cv_build+:} false; then :
4413    $as_echo_n "(cached) " >&6
4414   else
4415    ac_build_alias=$build_alias
4416   test "x$ac_build_alias" = x &&
4417    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4418   test "x$ac_build_alias" = x &&
4419 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4419 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4420   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4421 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4421 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4422  
4423   fi
4424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4425   $as_echo "$ac_cv_build" >&6; }
4426   case $ac_cv_build in
4427   *-*-*) ;;
4428 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4428 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4429   esac
4430   build=$ac_cv_build
4431   ac_save_IFS=$IFS; IFS='-'
# Line 4549 | Line 4443 | case $build_os in *\ *) build_os=`echo "
4443  
4444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4445   $as_echo_n "checking host system type... " >&6; }
4446 < if test "${ac_cv_host+set}" = set; then :
4446 > if ${ac_cv_host+:} false; then :
4447    $as_echo_n "(cached) " >&6
4448   else
4449    if test "x$host_alias" = x; then
4450    ac_cv_host=$ac_cv_build
4451   else
4452    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4453 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4453 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4454   fi
4455  
4456   fi
# Line 4564 | Line 4458 | fi
4458   $as_echo "$ac_cv_host" >&6; }
4459   case $ac_cv_host in
4460   *-*-*) ;;
4461 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4461 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4462   esac
4463   host=$ac_cv_host
4464   ac_save_IFS=$IFS; IFS='-'
# Line 4580 | Line 4474 | IFS=$ac_save_IFS
4474   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4475  
4476  
4477 + # Backslashify metacharacters that are still active within
4478 + # double-quoted strings.
4479 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4480 +
4481 + # Same as above, but do not quote variable references.
4482 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4483 +
4484 + # Sed substitution to delay expansion of an escaped shell variable in a
4485 + # double_quote_subst'ed string.
4486 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4487 +
4488 + # Sed substitution to delay expansion of an escaped single quote.
4489 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4490 +
4491 + # Sed substitution to avoid accidental globbing in evaled expressions
4492 + no_glob_subst='s/\*/\\\*/g'
4493 +
4494 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4495 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4496 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4497 +
4498 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4499 + $as_echo_n "checking how to print strings... " >&6; }
4500 + # Test print first, because it will be a builtin if present.
4501 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4502 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4503 +  ECHO='print -r --'
4504 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4505 +  ECHO='printf %s\n'
4506 + else
4507 +  # Use this function as a fallback that always works.
4508 +  func_fallback_echo ()
4509 +  {
4510 +    eval 'cat <<_LTECHO_EOF
4511 + $1
4512 + _LTECHO_EOF'
4513 +  }
4514 +  ECHO='func_fallback_echo'
4515 + fi
4516 +
4517 + # func_echo_all arg...
4518 + # Invoke $ECHO with all args, space-separated.
4519 + func_echo_all ()
4520 + {
4521 +    $ECHO ""
4522 + }
4523 +
4524 + case "$ECHO" in
4525 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4526 + $as_echo "printf" >&6; } ;;
4527 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4528 + $as_echo "print -r" >&6; } ;;
4529 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4530 + $as_echo "cat" >&6; } ;;
4531 + esac
4532 +
4533 +
4534 +
4535 +
4536 +
4537 +
4538 +
4539 +
4540 +
4541 +
4542 +
4543 +
4544 +
4545 +
4546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4547   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4548 < if test "${ac_cv_path_SED+set}" = set; then :
4548 > if ${ac_cv_path_SED+:} false; then :
4549    $as_echo_n "(cached) " >&6
4550   else
4551              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4602 | Line 4565 | do
4565      for ac_prog in sed gsed; do
4566      for ac_exec_ext in '' $ac_executable_extensions; do
4567        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4568 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4568 >      as_fn_executable_p "$ac_path_SED" || continue
4569   # Check for GNU ac_path_SED and select it if it is found.
4570    # Check for GNU $ac_path_SED
4571   case `"$ac_path_SED" --version 2>&1` in
# Line 4637 | Line 4600 | esac
4600    done
4601   IFS=$as_save_IFS
4602    if test -z "$ac_cv_path_SED"; then
4603 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4603 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4604    fi
4605   else
4606    ac_cv_path_SED=$SED
# Line 4664 | Line 4627 | Xsed="$SED -e 1s/^X//"
4627  
4628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4629   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4630 < if test "${ac_cv_path_GREP+set}" = set; then :
4630 > if ${ac_cv_path_GREP+:} false; then :
4631    $as_echo_n "(cached) " >&6
4632   else
4633    if test -z "$GREP"; then
# Line 4678 | Line 4641 | do
4641      for ac_prog in grep ggrep; do
4642      for ac_exec_ext in '' $ac_executable_extensions; do
4643        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4644 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4644 >      as_fn_executable_p "$ac_path_GREP" || continue
4645   # Check for GNU ac_path_GREP and select it if it is found.
4646    # Check for GNU $ac_path_GREP
4647   case `"$ac_path_GREP" --version 2>&1` in
# Line 4713 | Line 4676 | esac
4676    done
4677   IFS=$as_save_IFS
4678    if test -z "$ac_cv_path_GREP"; then
4679 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4679 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4680    fi
4681   else
4682    ac_cv_path_GREP=$GREP
# Line 4727 | Line 4690 | $as_echo "$ac_cv_path_GREP" >&6; }
4690  
4691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4692   $as_echo_n "checking for egrep... " >&6; }
4693 < if test "${ac_cv_path_EGREP+set}" = set; then :
4693 > if ${ac_cv_path_EGREP+:} false; then :
4694    $as_echo_n "(cached) " >&6
4695   else
4696    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4744 | Line 4707 | do
4707      for ac_prog in egrep; do
4708      for ac_exec_ext in '' $ac_executable_extensions; do
4709        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4710 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4710 >      as_fn_executable_p "$ac_path_EGREP" || continue
4711   # Check for GNU ac_path_EGREP and select it if it is found.
4712    # Check for GNU $ac_path_EGREP
4713   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4779 | Line 4742 | esac
4742    done
4743   IFS=$as_save_IFS
4744    if test -z "$ac_cv_path_EGREP"; then
4745 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4745 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4746    fi
4747   else
4748    ac_cv_path_EGREP=$EGREP
# Line 4794 | Line 4757 | $as_echo "$ac_cv_path_EGREP" >&6; }
4757  
4758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4759   $as_echo_n "checking for fgrep... " >&6; }
4760 < if test "${ac_cv_path_FGREP+set}" = set; then :
4760 > if ${ac_cv_path_FGREP+:} false; then :
4761    $as_echo_n "(cached) " >&6
4762   else
4763    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4811 | Line 4774 | do
4774      for ac_prog in fgrep; do
4775      for ac_exec_ext in '' $ac_executable_extensions; do
4776        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4777 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4777 >      as_fn_executable_p "$ac_path_FGREP" || continue
4778   # Check for GNU ac_path_FGREP and select it if it is found.
4779    # Check for GNU $ac_path_FGREP
4780   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4846 | Line 4809 | esac
4809    done
4810   IFS=$as_save_IFS
4811    if test -z "$ac_cv_path_FGREP"; then
4812 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4812 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4813    fi
4814   else
4815    ac_cv_path_FGREP=$FGREP
# Line 4925 | Line 4888 | else
4888    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4889   $as_echo_n "checking for non-GNU ld... " >&6; }
4890   fi
4891 < if test "${lt_cv_path_LD+set}" = set; then :
4891 > if ${lt_cv_path_LD+:} false; then :
4892    $as_echo_n "(cached) " >&6
4893   else
4894    if test -z "$LD"; then
# Line 4962 | Line 4925 | else
4925    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926   $as_echo "no" >&6; }
4927   fi
4928 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4928 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4930   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4931 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4931 > if ${lt_cv_prog_gnu_ld+:} false; then :
4932    $as_echo_n "(cached) " >&6
4933   else
4934    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4992 | Line 4955 | with_gnu_ld=$lt_cv_prog_gnu_ld
4955  
4956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4957   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4958 < if test "${lt_cv_path_NM+set}" = set; then :
4958 > if ${lt_cv_path_NM+:} false; then :
4959    $as_echo_n "(cached) " >&6
4960   else
4961    if test -n "$NM"; then
# Line 5045 | Line 5008 | if test "$lt_cv_path_NM" != "no"; then
5008    NM="$lt_cv_path_NM"
5009   else
5010    # Didn't find any BSD compatible name lister, look for dumpbin.
5011 <  if test -n "$ac_tool_prefix"; then
5012 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5011 >  if test -n "$DUMPBIN"; then :
5012 >    # Let the user override the test.
5013 >  else
5014 >    if test -n "$ac_tool_prefix"; then
5015 >  for ac_prog in dumpbin "link -dump"
5016    do
5017      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5018   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5020   $as_echo_n "checking for $ac_word... " >&6; }
5021 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5021 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5022    $as_echo_n "(cached) " >&6
5023   else
5024    if test -n "$DUMPBIN"; then
# Line 5064 | Line 5030 | do
5030    IFS=$as_save_IFS
5031    test -z "$as_dir" && as_dir=.
5032      for ac_exec_ext in '' $ac_executable_extensions; do
5033 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5033 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5034      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5035      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036      break 2
# Line 5090 | Line 5056 | fi
5056   fi
5057   if test -z "$DUMPBIN"; then
5058    ac_ct_DUMPBIN=$DUMPBIN
5059 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5059 >  for ac_prog in dumpbin "link -dump"
5060   do
5061    # Extract the first word of "$ac_prog", so it can be a program name with args.
5062   set dummy $ac_prog; ac_word=$2
5063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064   $as_echo_n "checking for $ac_word... " >&6; }
5065 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5065 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5066    $as_echo_n "(cached) " >&6
5067   else
5068    if test -n "$ac_ct_DUMPBIN"; then
# Line 5108 | Line 5074 | do
5074    IFS=$as_save_IFS
5075    test -z "$as_dir" && as_dir=.
5076      for ac_exec_ext in '' $ac_executable_extensions; do
5077 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5077 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5078      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5079      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5080      break 2
# Line 5145 | Line 5111 | esac
5111    fi
5112   fi
5113  
5114 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5115 +    *COFF*)
5116 +      DUMPBIN="$DUMPBIN -symbols"
5117 +      ;;
5118 +    *)
5119 +      DUMPBIN=:
5120 +      ;;
5121 +    esac
5122 +  fi
5123  
5124    if test "$DUMPBIN" != ":"; then
5125      NM="$DUMPBIN"
# Line 5159 | Line 5134 | test -z "$NM" && NM=nm
5134  
5135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5136   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5137 < if test "${lt_cv_nm_interface+set}" = set; then :
5137 > if ${lt_cv_nm_interface+:} false; then :
5138    $as_echo_n "(cached) " >&6
5139   else
5140    lt_cv_nm_interface="BSD nm"
5141    echo "int some_variable = 0;" > conftest.$ac_ext
5142 <  (eval echo "\"\$as_me:5167: $ac_compile\"" >&5)
5142 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5143    (eval "$ac_compile" 2>conftest.err)
5144    cat conftest.err >&5
5145 <  (eval echo "\"\$as_me:5170: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5145 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5146    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5147    cat conftest.err >&5
5148 <  (eval echo "\"\$as_me:5173: output\"" >&5)
5148 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5149    cat conftest.out >&5
5150    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5151      lt_cv_nm_interface="MS dumpbin"
# Line 5194 | Line 5169 | fi
5169   # find the maximum length of command line arguments
5170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5171   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5172 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5172 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5173    $as_echo_n "(cached) " >&6
5174   else
5175      i=0
# Line 5227 | Line 5202 | else
5202      lt_cv_sys_max_cmd_len=8192;
5203      ;;
5204  
5205 +  mint*)
5206 +    # On MiNT this can take a long time and run out of memory.
5207 +    lt_cv_sys_max_cmd_len=8192;
5208 +    ;;
5209 +
5210    amigaos*)
5211      # On AmigaOS with pdksh, this test takes hours, literally.
5212      # So we just punt and use a minimum line length of 8192.
# Line 5252 | Line 5232 | else
5232      lt_cv_sys_max_cmd_len=196608
5233      ;;
5234  
5235 +  os2*)
5236 +    # The test takes a long time on OS/2.
5237 +    lt_cv_sys_max_cmd_len=8192
5238 +    ;;
5239 +
5240    osf*)
5241      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5242      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5291 | Line 5276 | else
5276        # If test is not a shell built-in, we'll probably end up computing a
5277        # maximum length that is only half of the actual maximum length, but
5278        # we can't tell.
5279 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5280 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5279 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5280 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5281                test $i != 17 # 1/2 MB should be enough
5282        do
5283          i=`expr $i + 1`
# Line 5334 | Line 5319 | $as_echo_n "checking whether the shell u
5319   # Try some XSI features
5320   xsi_shell=no
5321   ( _lt_dummy="a/b/c"
5322 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5323 <      = c,a/b,, \
5322 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5323 >      = c,a/b,b/c, \
5324      && eval 'test $(( 1 + 1 )) -eq 2 \
5325      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5326    && xsi_shell=yes
# Line 5384 | Line 5369 | esac
5369  
5370  
5371  
5372 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5373 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5374 + if ${lt_cv_to_host_file_cmd+:} false; then :
5375 +  $as_echo_n "(cached) " >&6
5376 + else
5377 +  case $host in
5378 +  *-*-mingw* )
5379 +    case $build in
5380 +      *-*-mingw* ) # actually msys
5381 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5382 +        ;;
5383 +      *-*-cygwin* )
5384 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5385 +        ;;
5386 +      * ) # otherwise, assume *nix
5387 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5388 +        ;;
5389 +    esac
5390 +    ;;
5391 +  *-*-cygwin* )
5392 +    case $build in
5393 +      *-*-mingw* ) # actually msys
5394 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5395 +        ;;
5396 +      *-*-cygwin* )
5397 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5398 +        ;;
5399 +      * ) # otherwise, assume *nix
5400 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5401 +        ;;
5402 +    esac
5403 +    ;;
5404 +  * ) # unhandled hosts (and "normal" native builds)
5405 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5406 +    ;;
5407 + esac
5408 +
5409 + fi
5410 +
5411 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5412 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5413 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5414 +
5415 +
5416 +
5417 +
5418 +
5419 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5420 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5421 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5422 +  $as_echo_n "(cached) " >&6
5423 + else
5424 +  #assume ordinary cross tools, or native build.
5425 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5426 + case $host in
5427 +  *-*-mingw* )
5428 +    case $build in
5429 +      *-*-mingw* ) # actually msys
5430 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5431 +        ;;
5432 +    esac
5433 +    ;;
5434 + esac
5435 +
5436 + fi
5437 +
5438 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5439 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5440 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5441 +
5442 +
5443 +
5444 +
5445 +
5446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5447   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5448 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5448 > if ${lt_cv_ld_reload_flag+:} false; then :
5449    $as_echo_n "(cached) " >&6
5450   else
5451    lt_cv_ld_reload_flag='-r'
# Line 5400 | Line 5459 | case $reload_flag in
5459   esac
5460   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5461   case $host_os in
5462 +  cygwin* | mingw* | pw32* | cegcc*)
5463 +    if test "$GCC" != yes; then
5464 +      reload_cmds=false
5465 +    fi
5466 +    ;;
5467    darwin*)
5468      if test "$GCC" = yes; then
5469        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5422 | Line 5486 | if test -n "$ac_tool_prefix"; then
5486   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5488   $as_echo_n "checking for $ac_word... " >&6; }
5489 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5489 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5490    $as_echo_n "(cached) " >&6
5491   else
5492    if test -n "$OBJDUMP"; then
# Line 5434 | Line 5498 | do
5498    IFS=$as_save_IFS
5499    test -z "$as_dir" && as_dir=.
5500      for ac_exec_ext in '' $ac_executable_extensions; do
5501 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5501 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5502      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5503      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5504      break 2
# Line 5462 | Line 5526 | if test -z "$ac_cv_prog_OBJDUMP"; then
5526   set dummy objdump; ac_word=$2
5527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5528   $as_echo_n "checking for $ac_word... " >&6; }
5529 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5529 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5530    $as_echo_n "(cached) " >&6
5531   else
5532    if test -n "$ac_ct_OBJDUMP"; then
# Line 5474 | Line 5538 | do
5538    IFS=$as_save_IFS
5539    test -z "$as_dir" && as_dir=.
5540      for ac_exec_ext in '' $ac_executable_extensions; do
5541 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5541 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5542      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5543      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5544      break 2
# Line 5521 | Line 5585 | test -z "$OBJDUMP" && OBJDUMP=objdump
5585  
5586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5587   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5588 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5588 > if ${lt_cv_deplibs_check_method+:} false; then :
5589    $as_echo_n "(cached) " >&6
5590   else
5591    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5563 | Line 5627 | mingw* | pw32*)
5627    # Base MSYS/MinGW do not provide the 'file' command needed by
5628    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5629    # unless we find 'file', for example because we are cross-compiling.
5630 <  if ( file / ) >/dev/null 2>&1; then
5630 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5631 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5632      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5633      lt_cv_file_magic_cmd='func_win32_libid'
5634    else
5635 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5635 >    # Keep this pattern in sync with the one in func_win32_libid.
5636 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5637      lt_cv_file_magic_cmd='$OBJDUMP -f'
5638    fi
5639    ;;
5640  
5641 < cegcc)
5641 > cegcc*)
5642    # use the weaker test based on 'objdump'. See mingw*.
5643    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5644    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5602 | Line 5668 | gnu*)
5668    lt_cv_deplibs_check_method=pass_all
5669    ;;
5670  
5671 + haiku*)
5672 +  lt_cv_deplibs_check_method=pass_all
5673 +  ;;
5674 +
5675   hpux10.20* | hpux11*)
5676    lt_cv_file_magic_cmd=/usr/bin/file
5677    case $host_cpu in
# Line 5610 | Line 5680 | hpux10.20* | hpux11*)
5680      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5681      ;;
5682    hppa*64*)
5683 <    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]'
5683 >    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]'
5684      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5685      ;;
5686    *)
5687 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5687 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5688      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5689      ;;
5690    esac
# Line 5635 | Line 5705 | irix5* | irix6* | nonstopux*)
5705    lt_cv_deplibs_check_method=pass_all
5706    ;;
5707  
5708 < # This must be Linux ELF.
5709 < linux* | k*bsd*-gnu)
5708 > # This must be glibc/ELF.
5709 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5710    lt_cv_deplibs_check_method=pass_all
5711    ;;
5712  
# Line 5717 | Line 5787 | esac
5787   fi
5788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5789   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5790 +
5791 + file_magic_glob=
5792 + want_nocaseglob=no
5793 + if test "$build" = "$host"; then
5794 +  case $host_os in
5795 +  mingw* | pw32*)
5796 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5797 +      want_nocaseglob=yes
5798 +    else
5799 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5800 +    fi
5801 +    ;;
5802 +  esac
5803 + fi
5804 +
5805   file_magic_cmd=$lt_cv_file_magic_cmd
5806   deplibs_check_method=$lt_cv_deplibs_check_method
5807   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5732 | Line 5817 | test -z "$deplibs_check_method" && depli
5817  
5818  
5819  
5820 +
5821 +
5822 +
5823 +
5824 +
5825 +
5826 +
5827 +
5828 +
5829 +
5830   if test -n "$ac_tool_prefix"; then
5831 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5832 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5831 >  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5832 > set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5833 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5834 > $as_echo_n "checking for $ac_word... " >&6; }
5835 > if ${ac_cv_prog_DLLTOOL+:} false; then :
5836 >  $as_echo_n "(cached) " >&6
5837 > else
5838 >  if test -n "$DLLTOOL"; then
5839 >  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5840 > else
5841 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5842 > for as_dir in $PATH
5843 > do
5844 >  IFS=$as_save_IFS
5845 >  test -z "$as_dir" && as_dir=.
5846 >    for ac_exec_ext in '' $ac_executable_extensions; do
5847 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5848 >    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5849 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5850 >    break 2
5851 >  fi
5852 > done
5853 >  done
5854 > IFS=$as_save_IFS
5855 >
5856 > fi
5857 > fi
5858 > DLLTOOL=$ac_cv_prog_DLLTOOL
5859 > if test -n "$DLLTOOL"; then
5860 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5861 > $as_echo "$DLLTOOL" >&6; }
5862 > else
5863 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 > $as_echo "no" >&6; }
5865 > fi
5866 >
5867 >
5868 > fi
5869 > if test -z "$ac_cv_prog_DLLTOOL"; then
5870 >  ac_ct_DLLTOOL=$DLLTOOL
5871 >  # Extract the first word of "dlltool", so it can be a program name with args.
5872 > set dummy dlltool; ac_word=$2
5873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5874   $as_echo_n "checking for $ac_word... " >&6; }
5875 < if test "${ac_cv_prog_AR+set}" = set; then :
5875 > if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5876 >  $as_echo_n "(cached) " >&6
5877 > else
5878 >  if test -n "$ac_ct_DLLTOOL"; then
5879 >  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5880 > else
5881 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882 > for as_dir in $PATH
5883 > do
5884 >  IFS=$as_save_IFS
5885 >  test -z "$as_dir" && as_dir=.
5886 >    for ac_exec_ext in '' $ac_executable_extensions; do
5887 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5888 >    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5889 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5890 >    break 2
5891 >  fi
5892 > done
5893 >  done
5894 > IFS=$as_save_IFS
5895 >
5896 > fi
5897 > fi
5898 > ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5899 > if test -n "$ac_ct_DLLTOOL"; then
5900 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5901 > $as_echo "$ac_ct_DLLTOOL" >&6; }
5902 > else
5903 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5904 > $as_echo "no" >&6; }
5905 > fi
5906 >
5907 >  if test "x$ac_ct_DLLTOOL" = x; then
5908 >    DLLTOOL="false"
5909 >  else
5910 >    case $cross_compiling:$ac_tool_warned in
5911 > yes:)
5912 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5913 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5914 > ac_tool_warned=yes ;;
5915 > esac
5916 >    DLLTOOL=$ac_ct_DLLTOOL
5917 >  fi
5918 > else
5919 >  DLLTOOL="$ac_cv_prog_DLLTOOL"
5920 > fi
5921 >
5922 > test -z "$DLLTOOL" && DLLTOOL=dlltool
5923 >
5924 >
5925 >
5926 >
5927 >
5928 >
5929 >
5930 >
5931 >
5932 >
5933 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5934 > $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5935 > if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5936 >  $as_echo_n "(cached) " >&6
5937 > else
5938 >  lt_cv_sharedlib_from_linklib_cmd='unknown'
5939 >
5940 > case $host_os in
5941 > cygwin* | mingw* | pw32* | cegcc*)
5942 >  # two different shell functions defined in ltmain.sh
5943 >  # decide which to use based on capabilities of $DLLTOOL
5944 >  case `$DLLTOOL --help 2>&1` in
5945 >  *--identify-strict*)
5946 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5947 >    ;;
5948 >  *)
5949 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5950 >    ;;
5951 >  esac
5952 >  ;;
5953 > *)
5954 >  # fallback: assume linklib IS sharedlib
5955 >  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5956 >  ;;
5957 > esac
5958 >
5959 > fi
5960 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5961 > $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5962 > sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5963 > test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5964 >
5965 >
5966 >
5967 >
5968 >
5969 >
5970 >
5971 > if test -n "$ac_tool_prefix"; then
5972 >  for ac_prog in ar
5973 >  do
5974 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5975 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5976 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977 > $as_echo_n "checking for $ac_word... " >&6; }
5978 > if ${ac_cv_prog_AR+:} false; then :
5979    $as_echo_n "(cached) " >&6
5980   else
5981    if test -n "$AR"; then
# Line 5749 | Line 5987 | do
5987    IFS=$as_save_IFS
5988    test -z "$as_dir" && as_dir=.
5989      for ac_exec_ext in '' $ac_executable_extensions; do
5990 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5991 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
5990 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5991 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5992      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5993      break 2
5994    fi
# Line 5770 | Line 6008 | $as_echo "no" >&6; }
6008   fi
6009  
6010  
6011 +    test -n "$AR" && break
6012 +  done
6013   fi
6014 < if test -z "$ac_cv_prog_AR"; then
6014 > if test -z "$AR"; then
6015    ac_ct_AR=$AR
6016 <  # Extract the first word of "ar", so it can be a program name with args.
6017 < set dummy ar; ac_word=$2
6016 >  for ac_prog in ar
6017 > do
6018 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6019 > set dummy $ac_prog; ac_word=$2
6020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021   $as_echo_n "checking for $ac_word... " >&6; }
6022 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6022 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6023    $as_echo_n "(cached) " >&6
6024   else
6025    if test -n "$ac_ct_AR"; then
# Line 5789 | Line 6031 | do
6031    IFS=$as_save_IFS
6032    test -z "$as_dir" && as_dir=.
6033      for ac_exec_ext in '' $ac_executable_extensions; do
6034 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6035 <    ac_cv_prog_ac_ct_AR="ar"
6034 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6035 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6036      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6037      break 2
6038    fi
# Line 5809 | Line 6051 | else
6051   $as_echo "no" >&6; }
6052   fi
6053  
6054 +
6055 +  test -n "$ac_ct_AR" && break
6056 + done
6057 +
6058    if test "x$ac_ct_AR" = x; then
6059      AR="false"
6060    else
# Line 5820 | Line 6066 | ac_tool_warned=yes ;;
6066   esac
6067      AR=$ac_ct_AR
6068    fi
5823 else
5824  AR="$ac_cv_prog_AR"
6069   fi
6070  
6071 < test -z "$AR" && AR=ar
6072 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6071 > : ${AR=ar}
6072 > : ${AR_FLAGS=cru}
6073  
6074  
6075  
# Line 5837 | Line 6081 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6081  
6082  
6083  
6084 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6085 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6086 + if ${lt_cv_ar_at_file+:} false; then :
6087 +  $as_echo_n "(cached) " >&6
6088 + else
6089 +  lt_cv_ar_at_file=no
6090 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6091 + /* end confdefs.h.  */
6092 +
6093 + int
6094 + main ()
6095 + {
6096 +
6097 +  ;
6098 +  return 0;
6099 + }
6100 + _ACEOF
6101 + if ac_fn_c_try_compile "$LINENO"; then :
6102 +  echo conftest.$ac_objext > conftest.lst
6103 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6104 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6105 +  (eval $lt_ar_try) 2>&5
6106 +  ac_status=$?
6107 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6108 +  test $ac_status = 0; }
6109 +      if test "$ac_status" -eq 0; then
6110 +        # Ensure the archiver fails upon bogus file names.
6111 +        rm -f conftest.$ac_objext libconftest.a
6112 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6113 +  (eval $lt_ar_try) 2>&5
6114 +  ac_status=$?
6115 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6116 +  test $ac_status = 0; }
6117 +        if test "$ac_status" -ne 0; then
6118 +          lt_cv_ar_at_file=@
6119 +        fi
6120 +      fi
6121 +      rm -f conftest.* libconftest.a
6122 +
6123 + fi
6124 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6125 +
6126 + fi
6127 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6128 + $as_echo "$lt_cv_ar_at_file" >&6; }
6129 +
6130 + if test "x$lt_cv_ar_at_file" = xno; then
6131 +  archiver_list_spec=
6132 + else
6133 +  archiver_list_spec=$lt_cv_ar_at_file
6134 + fi
6135 +
6136 +
6137 +
6138 +
6139 +
6140 +
6141 +
6142   if test -n "$ac_tool_prefix"; then
6143    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6144   set dummy ${ac_tool_prefix}strip; ac_word=$2
6145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6146   $as_echo_n "checking for $ac_word... " >&6; }
6147 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6147 > if ${ac_cv_prog_STRIP+:} false; then :
6148    $as_echo_n "(cached) " >&6
6149   else
6150    if test -n "$STRIP"; then
# Line 5854 | Line 6156 | do
6156    IFS=$as_save_IFS
6157    test -z "$as_dir" && as_dir=.
6158      for ac_exec_ext in '' $ac_executable_extensions; do
6159 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6159 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6160      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6161      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6162      break 2
# Line 5882 | Line 6184 | if test -z "$ac_cv_prog_STRIP"; then
6184   set dummy strip; ac_word=$2
6185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6186   $as_echo_n "checking for $ac_word... " >&6; }
6187 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6187 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6188    $as_echo_n "(cached) " >&6
6189   else
6190    if test -n "$ac_ct_STRIP"; then
# Line 5894 | Line 6196 | do
6196    IFS=$as_save_IFS
6197    test -z "$as_dir" && as_dir=.
6198      for ac_exec_ext in '' $ac_executable_extensions; do
6199 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6199 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6200      ac_cv_prog_ac_ct_STRIP="strip"
6201      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6202      break 2
# Line 5941 | Line 6243 | if test -n "$ac_tool_prefix"; then
6243   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6245   $as_echo_n "checking for $ac_word... " >&6; }
6246 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6246 > if ${ac_cv_prog_RANLIB+:} false; then :
6247    $as_echo_n "(cached) " >&6
6248   else
6249    if test -n "$RANLIB"; then
# Line 5953 | Line 6255 | do
6255    IFS=$as_save_IFS
6256    test -z "$as_dir" && as_dir=.
6257      for ac_exec_ext in '' $ac_executable_extensions; do
6258 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6258 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6259      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6260      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6261      break 2
# Line 5981 | Line 6283 | if test -z "$ac_cv_prog_RANLIB"; then
6283   set dummy ranlib; ac_word=$2
6284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6285   $as_echo_n "checking for $ac_word... " >&6; }
6286 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6286 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6287    $as_echo_n "(cached) " >&6
6288   else
6289    if test -n "$ac_ct_RANLIB"; then
# Line 5993 | Line 6295 | do
6295    IFS=$as_save_IFS
6296    test -z "$as_dir" && as_dir=.
6297      for ac_exec_ext in '' $ac_executable_extensions; do
6298 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6298 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6299      ac_cv_prog_ac_ct_RANLIB="ranlib"
6300      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6301      break 2
# Line 6043 | Line 6345 | old_postuninstall_cmds=
6345   if test -n "$RANLIB"; then
6346    case $host_os in
6347    openbsd*)
6348 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6348 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6349      ;;
6350    *)
6351 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6351 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6352      ;;
6353    esac
6354 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6354 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6355   fi
6356  
6357 + case $host_os in
6358 +  darwin*)
6359 +    lock_old_archive_extraction=yes ;;
6360 +  *)
6361 +    lock_old_archive_extraction=no ;;
6362 + esac
6363 +
6364 +
6365 +
6366 +
6367 +
6368 +
6369  
6370  
6371  
# Line 6098 | Line 6412 | compiler=$CC
6412   # Check for command to grab the raw symbol name followed by C symbol from nm.
6413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6414   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6415 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6415 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6416    $as_echo_n "(cached) " >&6
6417   else
6418  
# Line 6159 | Line 6473 | esac
6473   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6474  
6475   # Transform an extracted symbol line into symbol name and symbol address
6476 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6477 < 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'"
6476 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6477 > 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'"
6478  
6479   # Handle CRLF in mingw tool chain
6480   opt_cr=
# Line 6184 | Line 6498 | for ac_symprfx in "" "_"; do
6498      # which start with @ or ?.
6499      lt_cv_sys_global_symbol_pipe="$AWK '"\
6500   "     {last_section=section; section=\$ 3};"\
6501 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6502   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6503   "     \$ 0!~/External *\|/{next};"\
6504   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6196 | Line 6511 | for ac_symprfx in "" "_"; do
6511    else
6512      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6513    fi
6514 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6515  
6516    # Check to see that the pipe works correctly.
6517    pipe_works=no
# Line 6221 | Line 6537 | _LT_EOF
6537    test $ac_status = 0; }; then
6538      # Now try to grab the symbols.
6539      nlist=conftest.nm
6540 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6541 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6540 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6541 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6542    ac_status=$?
6543    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6544    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6237 | Line 6553 | _LT_EOF
6553        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6554          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6555            cat <<_LT_EOF > conftest.$ac_ext
6556 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6557 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6558 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6559 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6560 + # define LT_DLSYM_CONST
6561 + #elif defined(__osf__)
6562 + /* This system does not cope well with relocations in const data.  */
6563 + # define LT_DLSYM_CONST
6564 + #else
6565 + # define LT_DLSYM_CONST const
6566 + #endif
6567 +
6568   #ifdef __cplusplus
6569   extern "C" {
6570   #endif
# Line 6248 | Line 6576 | _LT_EOF
6576            cat <<_LT_EOF >> conftest.$ac_ext
6577  
6578   /* The mapping between symbol names and symbols.  */
6579 < const struct {
6579 > LT_DLSYM_CONST struct {
6580    const char *name;
6581    void       *address;
6582   }
# Line 6274 | Line 6602 | static const void *lt_preloaded_setup()
6602   _LT_EOF
6603            # Now try linking the two files.
6604            mv conftest.$ac_objext conftstm.$ac_objext
6605 <          lt_save_LIBS="$LIBS"
6606 <          lt_save_CFLAGS="$CFLAGS"
6605 >          lt_globsym_save_LIBS=$LIBS
6606 >          lt_globsym_save_CFLAGS=$CFLAGS
6607            LIBS="conftstm.$ac_objext"
6608            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6609            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6285 | Line 6613 | _LT_EOF
6613    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6614              pipe_works=yes
6615            fi
6616 <          LIBS="$lt_save_LIBS"
6617 <          CFLAGS="$lt_save_CFLAGS"
6616 >          LIBS=$lt_globsym_save_LIBS
6617 >          CFLAGS=$lt_globsym_save_CFLAGS
6618          else
6619            echo "cannot find nm_test_func in $nlist" >&5
6620          fi
# Line 6323 | Line 6651 | else
6651   $as_echo "ok" >&6; }
6652   fi
6653  
6654 + # Response file support.
6655 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6656 +  nm_file_list_spec='@'
6657 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6658 +  nm_file_list_spec='@'
6659 + fi
6660 +
6661 +
6662 +
6663 +
6664 +
6665 +
6666 +
6667 +
6668 +
6669  
6670  
6671  
# Line 6341 | Line 6684 | fi
6684  
6685  
6686  
6687 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6688 + $as_echo_n "checking for sysroot... " >&6; }
6689 +
6690 + # Check whether --with-sysroot was given.
6691 + if test "${with_sysroot+set}" = set; then :
6692 +  withval=$with_sysroot;
6693 + else
6694 +  with_sysroot=no
6695 + fi
6696 +
6697 +
6698 + lt_sysroot=
6699 + case ${with_sysroot} in #(
6700 + yes)
6701 +   if test "$GCC" = yes; then
6702 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6703 +   fi
6704 +   ;; #(
6705 + /*)
6706 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6707 +   ;; #(
6708 + no|'')
6709 +   ;; #(
6710 + *)
6711 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6712 + $as_echo "${with_sysroot}" >&6; }
6713 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6714 +   ;;
6715 + esac
6716 +
6717 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6718 + $as_echo "${lt_sysroot:-no}" >&6; }
6719 +
6720 +
6721  
6722  
6723  
# Line 6375 | Line 6752 | ia64-*-hpux*)
6752    ;;
6753   *-*-irix6*)
6754    # Find out which ABI we are using.
6755 <  echo '#line 6378 "configure"' > conftest.$ac_ext
6755 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6756    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6757    (eval $ac_compile) 2>&5
6758    ac_status=$?
# Line 6469 | Line 6846 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6846    CFLAGS="$CFLAGS -belf"
6847    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6848   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6849 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6849 > if ${lt_cv_cc_needs_belf+:} false; then :
6850    $as_echo_n "(cached) " >&6
6851   else
6852    ac_ext=c
# Line 6510 | Line 6887 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6887      CFLAGS="$SAVE_CFLAGS"
6888    fi
6889    ;;
6890 < sparc*-*solaris*)
6890 > *-*solaris*)
6891    # Find out which ABI we are using.
6892    echo 'int i;' > conftest.$ac_ext
6893    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6521 | Line 6898 | sparc*-*solaris*)
6898      case `/usr/bin/file conftest.o` in
6899      *64-bit*)
6900        case $lt_cv_prog_gnu_ld in
6901 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6901 >      yes*)
6902 >        case $host in
6903 >        i?86-*-solaris*)
6904 >          LD="${LD-ld} -m elf_x86_64"
6905 >          ;;
6906 >        sparc*-*-solaris*)
6907 >          LD="${LD-ld} -m elf64_sparc"
6908 >          ;;
6909 >        esac
6910 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6911 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6912 >          LD="${LD-ld}_sol2"
6913 >        fi
6914 >        ;;
6915        *)
6916          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6917            LD="${LD-ld} -64"
# Line 6537 | Line 6927 | esac
6927  
6928   need_locks="$enable_libtool_lock"
6929  
6930 + if test -n "$ac_tool_prefix"; then
6931 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6932 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6933 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6934 + $as_echo_n "checking for $ac_word... " >&6; }
6935 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6936 +  $as_echo_n "(cached) " >&6
6937 + else
6938 +  if test -n "$MANIFEST_TOOL"; then
6939 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6940 + else
6941 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6942 + for as_dir in $PATH
6943 + do
6944 +  IFS=$as_save_IFS
6945 +  test -z "$as_dir" && as_dir=.
6946 +    for ac_exec_ext in '' $ac_executable_extensions; do
6947 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6948 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6949 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6950 +    break 2
6951 +  fi
6952 + done
6953 +  done
6954 + IFS=$as_save_IFS
6955 +
6956 + fi
6957 + fi
6958 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6959 + if test -n "$MANIFEST_TOOL"; then
6960 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6961 + $as_echo "$MANIFEST_TOOL" >&6; }
6962 + else
6963 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 + $as_echo "no" >&6; }
6965 + fi
6966 +
6967 +
6968 + fi
6969 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6970 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6971 +  # Extract the first word of "mt", so it can be a program name with args.
6972 + set dummy mt; ac_word=$2
6973 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6974 + $as_echo_n "checking for $ac_word... " >&6; }
6975 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6976 +  $as_echo_n "(cached) " >&6
6977 + else
6978 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
6979 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6980 + else
6981 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6982 + for as_dir in $PATH
6983 + do
6984 +  IFS=$as_save_IFS
6985 +  test -z "$as_dir" && as_dir=.
6986 +    for ac_exec_ext in '' $ac_executable_extensions; do
6987 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6988 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6989 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6990 +    break 2
6991 +  fi
6992 + done
6993 +  done
6994 + IFS=$as_save_IFS
6995 +
6996 + fi
6997 + fi
6998 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6999 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7000 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7001 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7002 + else
7003 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7004 + $as_echo "no" >&6; }
7005 + fi
7006 +
7007 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7008 +    MANIFEST_TOOL=":"
7009 +  else
7010 +    case $cross_compiling:$ac_tool_warned in
7011 + yes:)
7012 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7013 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7014 + ac_tool_warned=yes ;;
7015 + esac
7016 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7017 +  fi
7018 + else
7019 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7020 + fi
7021 +
7022 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7023 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7024 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7025 + if ${lt_cv_path_mainfest_tool+:} false; then :
7026 +  $as_echo_n "(cached) " >&6
7027 + else
7028 +  lt_cv_path_mainfest_tool=no
7029 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7030 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7031 +  cat conftest.err >&5
7032 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7033 +    lt_cv_path_mainfest_tool=yes
7034 +  fi
7035 +  rm -f conftest*
7036 + fi
7037 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7038 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7039 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7040 +  MANIFEST_TOOL=:
7041 + fi
7042 +
7043 +
7044 +
7045 +
7046 +
7047  
7048    case $host_os in
7049      rhapsody* | darwin*)
# Line 6545 | Line 7052 | need_locks="$enable_libtool_lock"
7052   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054   $as_echo_n "checking for $ac_word... " >&6; }
7055 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7055 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7056    $as_echo_n "(cached) " >&6
7057   else
7058    if test -n "$DSYMUTIL"; then
# Line 6557 | Line 7064 | do
7064    IFS=$as_save_IFS
7065    test -z "$as_dir" && as_dir=.
7066      for ac_exec_ext in '' $ac_executable_extensions; do
7067 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7067 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7068      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7069      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7070      break 2
# Line 6585 | Line 7092 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7092   set dummy dsymutil; ac_word=$2
7093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094   $as_echo_n "checking for $ac_word... " >&6; }
7095 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7095 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7096    $as_echo_n "(cached) " >&6
7097   else
7098    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6597 | Line 7104 | do
7104    IFS=$as_save_IFS
7105    test -z "$as_dir" && as_dir=.
7106      for ac_exec_ext in '' $ac_executable_extensions; do
7107 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7107 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7108      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7109      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7110      break 2
# Line 6637 | Line 7144 | fi
7144   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7146   $as_echo_n "checking for $ac_word... " >&6; }
7147 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7147 > if ${ac_cv_prog_NMEDIT+:} false; then :
7148    $as_echo_n "(cached) " >&6
7149   else
7150    if test -n "$NMEDIT"; then
# Line 6649 | Line 7156 | do
7156    IFS=$as_save_IFS
7157    test -z "$as_dir" && as_dir=.
7158      for ac_exec_ext in '' $ac_executable_extensions; do
7159 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7159 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7160      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7161      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7162      break 2
# Line 6677 | Line 7184 | if test -z "$ac_cv_prog_NMEDIT"; then
7184   set dummy nmedit; ac_word=$2
7185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186   $as_echo_n "checking for $ac_word... " >&6; }
7187 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7187 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7188    $as_echo_n "(cached) " >&6
7189   else
7190    if test -n "$ac_ct_NMEDIT"; then
# Line 6689 | Line 7196 | do
7196    IFS=$as_save_IFS
7197    test -z "$as_dir" && as_dir=.
7198      for ac_exec_ext in '' $ac_executable_extensions; do
7199 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7199 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7200      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7201      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7202      break 2
# Line 6729 | Line 7236 | fi
7236   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238   $as_echo_n "checking for $ac_word... " >&6; }
7239 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7239 > if ${ac_cv_prog_LIPO+:} false; then :
7240    $as_echo_n "(cached) " >&6
7241   else
7242    if test -n "$LIPO"; then
# Line 6741 | Line 7248 | do
7248    IFS=$as_save_IFS
7249    test -z "$as_dir" && as_dir=.
7250      for ac_exec_ext in '' $ac_executable_extensions; do
7251 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7251 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7252      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7253      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7254      break 2
# Line 6769 | Line 7276 | if test -z "$ac_cv_prog_LIPO"; then
7276   set dummy lipo; ac_word=$2
7277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7278   $as_echo_n "checking for $ac_word... " >&6; }
7279 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7279 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7280    $as_echo_n "(cached) " >&6
7281   else
7282    if test -n "$ac_ct_LIPO"; then
# Line 6781 | Line 7288 | do
7288    IFS=$as_save_IFS
7289    test -z "$as_dir" && as_dir=.
7290      for ac_exec_ext in '' $ac_executable_extensions; do
7291 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7291 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7292      ac_cv_prog_ac_ct_LIPO="lipo"
7293      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7294      break 2
# Line 6821 | Line 7328 | fi
7328   set dummy ${ac_tool_prefix}otool; ac_word=$2
7329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7330   $as_echo_n "checking for $ac_word... " >&6; }
7331 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7331 > if ${ac_cv_prog_OTOOL+:} false; then :
7332    $as_echo_n "(cached) " >&6
7333   else
7334    if test -n "$OTOOL"; then
# Line 6833 | Line 7340 | do
7340    IFS=$as_save_IFS
7341    test -z "$as_dir" && as_dir=.
7342      for ac_exec_ext in '' $ac_executable_extensions; do
7343 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7343 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7344      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7345      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7346      break 2
# Line 6861 | Line 7368 | if test -z "$ac_cv_prog_OTOOL"; then
7368   set dummy otool; ac_word=$2
7369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7370   $as_echo_n "checking for $ac_word... " >&6; }
7371 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7371 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7372    $as_echo_n "(cached) " >&6
7373   else
7374    if test -n "$ac_ct_OTOOL"; then
# Line 6873 | Line 7380 | do
7380    IFS=$as_save_IFS
7381    test -z "$as_dir" && as_dir=.
7382      for ac_exec_ext in '' $ac_executable_extensions; do
7383 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7383 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7384      ac_cv_prog_ac_ct_OTOOL="otool"
7385      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7386      break 2
# Line 6913 | Line 7420 | fi
7420   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422   $as_echo_n "checking for $ac_word... " >&6; }
7423 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7423 > if ${ac_cv_prog_OTOOL64+:} false; then :
7424    $as_echo_n "(cached) " >&6
7425   else
7426    if test -n "$OTOOL64"; then
# Line 6925 | Line 7432 | do
7432    IFS=$as_save_IFS
7433    test -z "$as_dir" && as_dir=.
7434      for ac_exec_ext in '' $ac_executable_extensions; do
7435 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7435 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7436      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7437      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7438      break 2
# Line 6953 | Line 7460 | if test -z "$ac_cv_prog_OTOOL64"; then
7460   set dummy otool64; ac_word=$2
7461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7462   $as_echo_n "checking for $ac_word... " >&6; }
7463 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7463 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7464    $as_echo_n "(cached) " >&6
7465   else
7466    if test -n "$ac_ct_OTOOL64"; then
# Line 6965 | Line 7472 | do
7472    IFS=$as_save_IFS
7473    test -z "$as_dir" && as_dir=.
7474      for ac_exec_ext in '' $ac_executable_extensions; do
7475 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7475 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7476      ac_cv_prog_ac_ct_OTOOL64="otool64"
7477      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7478      break 2
# Line 7028 | Line 7535 | fi
7535  
7536      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7537   $as_echo_n "checking for -single_module linker flag... " >&6; }
7538 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7538 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7539    $as_echo_n "(cached) " >&6
7540   else
7541    lt_cv_apple_cc_single_mod=no
# Line 7044 | Line 7551 | else
7551          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7552            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7553          _lt_result=$?
7554 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7554 >        # If there is a non-empty error log, and "single_module"
7555 >        # appears in it, assume the flag caused a linker warning
7556 >        if test -s conftest.err && $GREP single_module conftest.err; then
7557 >          cat conftest.err >&5
7558 >        # Otherwise, if the output was created with a 0 exit code from
7559 >        # the compiler, it worked.
7560 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7561            lt_cv_apple_cc_single_mod=yes
7562          else
7563            cat conftest.err >&5
# Line 7055 | Line 7568 | else
7568   fi
7569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7570   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7571 +
7572      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7573   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7574 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7574 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7575    $as_echo_n "(cached) " >&6
7576   else
7577    lt_cv_ld_exported_symbols_list=no
# Line 7087 | Line 7601 | rm -f core conftest.err conftest.$ac_obj
7601   fi
7602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7603   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7604 +
7605 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7606 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7607 + if ${lt_cv_ld_force_load+:} false; then :
7608 +  $as_echo_n "(cached) " >&6
7609 + else
7610 +  lt_cv_ld_force_load=no
7611 +      cat > conftest.c << _LT_EOF
7612 + int forced_loaded() { return 2;}
7613 + _LT_EOF
7614 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7615 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7616 +      echo "$AR cru libconftest.a conftest.o" >&5
7617 +      $AR cru libconftest.a conftest.o 2>&5
7618 +      echo "$RANLIB libconftest.a" >&5
7619 +      $RANLIB libconftest.a 2>&5
7620 +      cat > conftest.c << _LT_EOF
7621 + int main() { return 0;}
7622 + _LT_EOF
7623 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7624 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7625 +      _lt_result=$?
7626 +      if test -s conftest.err && $GREP force_load conftest.err; then
7627 +        cat conftest.err >&5
7628 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7629 +        lt_cv_ld_force_load=yes
7630 +      else
7631 +        cat conftest.err >&5
7632 +      fi
7633 +        rm -f conftest.err libconftest.a conftest conftest.c
7634 +        rm -rf conftest.dSYM
7635 +
7636 + fi
7637 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7638 + $as_echo "$lt_cv_ld_force_load" >&6; }
7639      case $host_os in
7640      rhapsody* | darwin1.[012])
7641        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7114 | Line 7663 | $as_echo "$lt_cv_ld_exported_symbols_lis
7663      else
7664        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7665      fi
7666 <    if test "$DSYMUTIL" != ":"; then
7666 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7667        _lt_dsymutil='~$DSYMUTIL $lib || :'
7668      else
7669        _lt_dsymutil=
# Line 7134 | Line 7683 | if test -n "$CPP" && test -d "$CPP"; the
7683    CPP=
7684   fi
7685   if test -z "$CPP"; then
7686 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7686 >  if ${ac_cv_prog_CPP+:} false; then :
7687    $as_echo_n "(cached) " >&6
7688   else
7689        # Double quotes because CPP needs to be expanded
# Line 7164 | Line 7713 | else
7713    # Broken: fails on valid input.
7714   continue
7715   fi
7716 < rm -f conftest.err conftest.$ac_ext
7716 > rm -f conftest.err conftest.i conftest.$ac_ext
7717  
7718    # OK, works on sane cases.  Now check whether nonexistent headers
7719    # can be detected and how.
# Line 7180 | Line 7729 | else
7729   ac_preproc_ok=:
7730   break
7731   fi
7732 < rm -f conftest.err conftest.$ac_ext
7732 > rm -f conftest.err conftest.i conftest.$ac_ext
7733  
7734   done
7735   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7736 < rm -f conftest.err conftest.$ac_ext
7736 > rm -f conftest.i conftest.err conftest.$ac_ext
7737   if $ac_preproc_ok; then :
7738    break
7739   fi
# Line 7223 | Line 7772 | else
7772    # Broken: fails on valid input.
7773   continue
7774   fi
7775 < rm -f conftest.err conftest.$ac_ext
7775 > rm -f conftest.err conftest.i conftest.$ac_ext
7776  
7777    # OK, works on sane cases.  Now check whether nonexistent headers
7778    # can be detected and how.
# Line 7239 | Line 7788 | else
7788   ac_preproc_ok=:
7789   break
7790   fi
7791 < rm -f conftest.err conftest.$ac_ext
7791 > rm -f conftest.err conftest.i conftest.$ac_ext
7792  
7793   done
7794   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7795 < rm -f conftest.err conftest.$ac_ext
7795 > rm -f conftest.i conftest.err conftest.$ac_ext
7796   if $ac_preproc_ok; then :
7797  
7798   else
7799    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7800   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7801 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7802 < See \`config.log' for more details." "$LINENO" 5; }
7801 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7802 > See \`config.log' for more details" "$LINENO" 5; }
7803   fi
7804  
7805   ac_ext=c
# Line 7262 | Line 7811 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7811  
7812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7813   $as_echo_n "checking for ANSI C header files... " >&6; }
7814 < if test "${ac_cv_header_stdc+set}" = set; then :
7814 > if ${ac_cv_header_stdc+:} false; then :
7815    $as_echo_n "(cached) " >&6
7816   else
7817    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7379 | Line 7928 | do :
7928    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7929   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7930   "
7931 < eval as_val=\$$as_ac_Header
7383 <   if test "x$as_val" = x""yes; then :
7931 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7932    cat >>confdefs.h <<_ACEOF
7933   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7934   _ACEOF
# Line 7394 | Line 7942 | for ac_header in dlfcn.h
7942   do :
7943    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7944   "
7945 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7945 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7946    cat >>confdefs.h <<_ACEOF
7947   #define HAVE_DLFCN_H 1
7948   _ACEOF
# Line 7405 | Line 7953 | done
7953  
7954  
7955  
7956 +
7957 +
7958   # Set options
7959   enable_dlopen=yes
7960   # Check whether --enable-static was given.
# Line 7478 | Line 8028 | fi
8028  
8029   # Check whether --with-pic was given.
8030   if test "${with_pic+set}" = set; then :
8031 <  withval=$with_pic; pic_mode="$withval"
8031 >  withval=$with_pic; lt_p=${PACKAGE-default}
8032 >    case $withval in
8033 >    yes|no) pic_mode=$withval ;;
8034 >    *)
8035 >      pic_mode=default
8036 >      # Look at the argument we got.  We use all the common list separators.
8037 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8038 >      for lt_pkg in $withval; do
8039 >        IFS="$lt_save_ifs"
8040 >        if test "X$lt_pkg" = "X$lt_p"; then
8041 >          pic_mode=yes
8042 >        fi
8043 >      done
8044 >      IFS="$lt_save_ifs"
8045 >      ;;
8046 >    esac
8047   else
8048    pic_mode=default
8049   fi
# Line 7555 | Line 8120 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8120  
8121  
8122  
8123 +
8124 +
8125 +
8126 +
8127 +
8128   test -z "$LN_S" && LN_S="ln -s"
8129  
8130  
# Line 7576 | Line 8146 | fi
8146  
8147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8148   $as_echo_n "checking for objdir... " >&6; }
8149 < if test "${lt_cv_objdir+set}" = set; then :
8149 > if ${lt_cv_objdir+:} false; then :
8150    $as_echo_n "(cached) " >&6
8151   else
8152    rm -f .libs 2>/dev/null
# Line 7604 | Line 8174 | _ACEOF
8174  
8175  
8176  
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
8177   case $host_os in
8178   aix3*)
8179    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7629 | Line 8186 | aix3*)
8186    ;;
8187   esac
8188  
7632 # Sed substitution that helps us do robust quoting.  It backslashifies
7633 # metacharacters that are still active within double-quoted strings.
7634 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7635
7636 # Same as above, but do not quote variable references.
7637 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7638
7639 # Sed substitution to delay expansion of an escaped shell variable in a
7640 # double_quote_subst'ed string.
7641 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7642
7643 # Sed substitution to delay expansion of an escaped single quote.
7644 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7645
7646 # Sed substitution to avoid accidental globbing in evaled expressions
7647 no_glob_subst='s/\*/\\\*/g'
7648
8189   # Global variables:
8190   ofile=libtool
8191   can_build_shared=yes
# Line 7674 | Line 8214 | for cc_temp in $compiler""; do
8214      *) break;;
8215    esac
8216   done
8217 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8217 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8218  
8219  
8220   # Only perform the check for file, if the check method requires it
# Line 7684 | Line 8224 | file_magic*)
8224    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8225      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8226   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8227 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8227 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8228    $as_echo_n "(cached) " >&6
8229   else
8230    case $MAGIC_CMD in
# Line 7750 | Line 8290 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8290    if test -n "$ac_tool_prefix"; then
8291      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8292   $as_echo_n "checking for file... " >&6; }
8293 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8293 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8294    $as_echo_n "(cached) " >&6
8295   else
8296    case $MAGIC_CMD in
# Line 7879 | Line 8419 | if test -n "$compiler"; then
8419   lt_prog_compiler_no_builtin_flag=
8420  
8421   if test "$GCC" = yes; then
8422 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8422 >  case $cc_basename in
8423 >  nvcc*)
8424 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8425 >  *)
8426 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8427 >  esac
8428  
8429    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8430   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8431 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8431 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8432    $as_echo_n "(cached) " >&6
8433   else
8434    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7899 | Line 8444 | else
8444     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8445     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8446     -e 's:$: $lt_compiler_flag:'`
8447 <   (eval echo "\"\$as_me:7902: $lt_compile\"" >&5)
8447 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8448     (eval "$lt_compile" 2>conftest.err)
8449     ac_status=$?
8450     cat conftest.err >&5
8451 <   echo "$as_me:7906: \$? = $ac_status" >&5
8451 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452     if (exit $ac_status) && test -s "$ac_outfile"; then
8453       # The compiler can only warn and ignore the option if not recognized
8454       # So say no if there are warnings other than the usual output.
8455 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8455 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8456       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8457       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8458         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7936 | Line 8481 | fi
8481   lt_prog_compiler_pic=
8482   lt_prog_compiler_static=
8483  
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7940 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8484  
8485    if test "$GCC" = yes; then
8486      lt_prog_compiler_wl='-Wl,'
# Line 7985 | Line 8528 | $as_echo_n "checking for $compiler optio
8528        lt_prog_compiler_pic='-fno-common'
8529        ;;
8530  
8531 +    haiku*)
8532 +      # PIC is the default for Haiku.
8533 +      # The "-static" flag exists, but is broken.
8534 +      lt_prog_compiler_static=
8535 +      ;;
8536 +
8537      hpux*)
8538        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8539        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 8027 | Line 8576 | $as_echo_n "checking for $compiler optio
8576        lt_prog_compiler_pic='-fPIC'
8577        ;;
8578      esac
8579 +
8580 +    case $cc_basename in
8581 +    nvcc*) # Cuda Compiler Driver 2.2
8582 +      lt_prog_compiler_wl='-Xlinker '
8583 +      if test -n "$lt_prog_compiler_pic"; then
8584 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8585 +      fi
8586 +      ;;
8587 +    esac
8588    else
8589      # PORTME Check for flag to pass linker flags through the system compiler.
8590      case $host_os in
# Line 8068 | Line 8626 | $as_echo_n "checking for $compiler optio
8626        lt_prog_compiler_static='-non_shared'
8627        ;;
8628  
8629 <    linux* | k*bsd*-gnu)
8629 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8630        case $cc_basename in
8631        # old Intel for x86_64 which still supported -KPIC.
8632        ecc*)
# Line 8089 | Line 8647 | $as_echo_n "checking for $compiler optio
8647          lt_prog_compiler_pic='--shared'
8648          lt_prog_compiler_static='--static'
8649          ;;
8650 <      pgcc* | pgf77* | pgf90* | pgf95*)
8650 >      nagfor*)
8651 >        # NAG Fortran compiler
8652 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8653 >        lt_prog_compiler_pic='-PIC'
8654 >        lt_prog_compiler_static='-Bstatic'
8655 >        ;;
8656 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8657          # Portland Group compilers (*not* the Pentium gcc compiler,
8658          # which looks to be a dead project)
8659          lt_prog_compiler_wl='-Wl,'
# Line 8101 | Line 8665 | $as_echo_n "checking for $compiler optio
8665          # All Alpha code is PIC.
8666          lt_prog_compiler_static='-non_shared'
8667          ;;
8668 <      xl*)
8669 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8668 >      xl* | bgxl* | bgf* | mpixl*)
8669 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8670          lt_prog_compiler_wl='-Wl,'
8671          lt_prog_compiler_pic='-qpic'
8672          lt_prog_compiler_static='-qstaticlink'
8673          ;;
8674        *)
8675          case `$CC -V 2>&1 | sed 5q` in
8676 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8677 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8678 +          lt_prog_compiler_pic='-KPIC'
8679 +          lt_prog_compiler_static='-Bstatic'
8680 +          lt_prog_compiler_wl=''
8681 +          ;;
8682 +        *Sun\ F* | *Sun*Fortran*)
8683 +          lt_prog_compiler_pic='-KPIC'
8684 +          lt_prog_compiler_static='-Bstatic'
8685 +          lt_prog_compiler_wl='-Qoption ld '
8686 +          ;;
8687          *Sun\ C*)
8688            # Sun C 5.9
8689            lt_prog_compiler_pic='-KPIC'
8690            lt_prog_compiler_static='-Bstatic'
8691            lt_prog_compiler_wl='-Wl,'
8692            ;;
8693 <        *Sun\ F*)
8694 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8695 <          lt_prog_compiler_pic='-KPIC'
8693 >        *Intel*\ [CF]*Compiler*)
8694 >          lt_prog_compiler_wl='-Wl,'
8695 >          lt_prog_compiler_pic='-fPIC'
8696 >          lt_prog_compiler_static='-static'
8697 >          ;;
8698 >        *Portland\ Group*)
8699 >          lt_prog_compiler_wl='-Wl,'
8700 >          lt_prog_compiler_pic='-fpic'
8701            lt_prog_compiler_static='-Bstatic'
8122          lt_prog_compiler_wl=''
8702            ;;
8703          esac
8704          ;;
# Line 8151 | Line 8730 | $as_echo_n "checking for $compiler optio
8730        lt_prog_compiler_pic='-KPIC'
8731        lt_prog_compiler_static='-Bstatic'
8732        case $cc_basename in
8733 <      f77* | f90* | f95*)
8733 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8734          lt_prog_compiler_wl='-Qoption ld ';;
8735        *)
8736          lt_prog_compiler_wl='-Wl,';;
# Line 8208 | Line 8787 | case $host_os in
8787      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8788      ;;
8789   esac
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8212 $as_echo "$lt_prog_compiler_pic" >&6; }
8213
8214
8215
8216
8790  
8791 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8792 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8793 + if ${lt_cv_prog_compiler_pic+:} false; then :
8794 +  $as_echo_n "(cached) " >&6
8795 + else
8796 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8797 + fi
8798 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8799 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8800 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8801  
8802   #
8803   # Check to make sure the PIC flag actually works.
# Line 8222 | Line 8805 | $as_echo "$lt_prog_compiler_pic" >&6; }
8805   if test -n "$lt_prog_compiler_pic"; then
8806    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8807   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8808 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8808 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8809    $as_echo_n "(cached) " >&6
8810   else
8811    lt_cv_prog_compiler_pic_works=no
# Line 8238 | Line 8821 | else
8821     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8822     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8823     -e 's:$: $lt_compiler_flag:'`
8824 <   (eval echo "\"\$as_me:8241: $lt_compile\"" >&5)
8824 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8825     (eval "$lt_compile" 2>conftest.err)
8826     ac_status=$?
8827     cat conftest.err >&5
8828 <   echo "$as_me:8245: \$? = $ac_status" >&5
8828 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8829     if (exit $ac_status) && test -s "$ac_outfile"; then
8830       # The compiler can only warn and ignore the option if not recognized
8831       # So say no if there are warnings other than the usual output.
8832 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8832 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8833       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8834       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8835         lt_cv_prog_compiler_pic_works=yes
# Line 8275 | Line 8858 | fi
8858  
8859  
8860  
8861 +
8862 +
8863 +
8864 +
8865 +
8866   #
8867   # Check to make sure the static flag actually works.
8868   #
8869   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8871   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8872 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8872 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8873    $as_echo_n "(cached) " >&6
8874   else
8875    lt_cv_prog_compiler_static_works=no
# Line 8294 | Line 8882 | else
8882       if test -s conftest.err; then
8883         # Append any errors to the config.log.
8884         cat conftest.err 1>&5
8885 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8885 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8886         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8887         if diff conftest.exp conftest.er2 >/dev/null; then
8888           lt_cv_prog_compiler_static_works=yes
# Line 8324 | Line 8912 | fi
8912  
8913    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8914   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8915 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8915 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8916    $as_echo_n "(cached) " >&6
8917   else
8918    lt_cv_prog_compiler_c_o=no
# Line 8343 | Line 8931 | else
8931     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8932     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8933     -e 's:$: $lt_compiler_flag:'`
8934 <   (eval echo "\"\$as_me:8346: $lt_compile\"" >&5)
8934 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8935     (eval "$lt_compile" 2>out/conftest.err)
8936     ac_status=$?
8937     cat out/conftest.err >&5
8938 <   echo "$as_me:8350: \$? = $ac_status" >&5
8938 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8940     then
8941       # The compiler can only warn and ignore the option if not recognized
8942       # So say no if there are warnings
8943 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8943 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8944       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8945       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8946         lt_cv_prog_compiler_c_o=yes
# Line 8379 | Line 8967 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8967  
8968    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8969   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8970 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8970 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8971    $as_echo_n "(cached) " >&6
8972   else
8973    lt_cv_prog_compiler_c_o=no
# Line 8398 | Line 8986 | else
8986     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8987     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8988     -e 's:$: $lt_compiler_flag:'`
8989 <   (eval echo "\"\$as_me:8401: $lt_compile\"" >&5)
8989 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8990     (eval "$lt_compile" 2>out/conftest.err)
8991     ac_status=$?
8992     cat out/conftest.err >&5
8993 <   echo "$as_me:8405: \$? = $ac_status" >&5
8993 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8995     then
8996       # The compiler can only warn and ignore the option if not recognized
8997       # So say no if there are warnings
8998 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8998 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8999       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9000       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9001         lt_cv_prog_compiler_c_o=yes
# Line 8473 | Line 9061 | $as_echo_n "checking whether the $compil
9061    hardcode_direct=no
9062    hardcode_direct_absolute=no
9063    hardcode_libdir_flag_spec=
8476  hardcode_libdir_flag_spec_ld=
9064    hardcode_libdir_separator=
9065    hardcode_minus_L=no
9066    hardcode_shlibpath_var=unsupported
# Line 8520 | Line 9107 | $as_echo_n "checking whether the $compil
9107    esac
9108  
9109    ld_shlibs=yes
9110 +
9111 +  # On some targets, GNU ld is compatible enough with the native linker
9112 +  # that we're better off using the native interface for both.
9113 +  lt_use_gnu_ld_interface=no
9114    if test "$with_gnu_ld" = yes; then
9115 +    case $host_os in
9116 +      aix*)
9117 +        # The AIX port of GNU ld has always aspired to compatibility
9118 +        # with the native linker.  However, as the warning in the GNU ld
9119 +        # block says, versions before 2.19.5* couldn't really create working
9120 +        # shared libraries, regardless of the interface used.
9121 +        case `$LD -v 2>&1` in
9122 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9123 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9124 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9125 +          *)
9126 +            lt_use_gnu_ld_interface=yes
9127 +            ;;
9128 +        esac
9129 +        ;;
9130 +      *)
9131 +        lt_use_gnu_ld_interface=yes
9132 +        ;;
9133 +    esac
9134 +  fi
9135 +
9136 +  if test "$lt_use_gnu_ld_interface" = yes; then
9137      # If archive_cmds runs LD, not CC, wlarc should be empty
9138      wlarc='${wl}'
9139  
# Line 8538 | Line 9151 | $as_echo_n "checking whether the $compil
9151      fi
9152      supports_anon_versioning=no
9153      case `$LD -v 2>&1` in
9154 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9155        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9156        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9157        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8553 | Line 9167 | $as_echo_n "checking whether the $compil
9167          ld_shlibs=no
9168          cat <<_LT_EOF 1>&2
9169  
9170 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9170 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9171   *** to be unable to reliably create shared libraries on AIX.
9172   *** Therefore, libtool is disabling shared libraries support.  If you
9173 < *** really care for shared libraries, you may want to modify your PATH
9174 < *** so that a non-GNU linker is found, and then restart.
9173 > *** really care for shared libraries, you may want to install binutils
9174 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9175 > *** You will then need to restart the configuration process.
9176  
9177   _LT_EOF
9178        fi
# Line 8593 | Line 9208 | _LT_EOF
9208        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9209        # as there is no search path for DLLs.
9210        hardcode_libdir_flag_spec='-L$libdir'
9211 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9212        allow_undefined_flag=unsupported
9213        always_export_symbols=no
9214        enable_shared_with_static_runtimes=yes
9215 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9215 >      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'
9216 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9217  
9218        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9219          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8614 | Line 9231 | _LT_EOF
9231        fi
9232        ;;
9233  
9234 +    haiku*)
9235 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9236 +      link_all_deplibs=yes
9237 +      ;;
9238 +
9239      interix[3-9]*)
9240        hardcode_direct=no
9241        hardcode_shlibpath_var=no
# Line 8629 | Line 9251 | _LT_EOF
9251        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'
9252        ;;
9253  
9254 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9254 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9255        tmp_diet=no
9256        if test "$host_os" = linux-dietlibc; then
9257          case $cc_basename in
# Line 8639 | Line 9261 | _LT_EOF
9261        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9262           && test "$tmp_diet" = no
9263        then
9264 <        tmp_addflag=
9264 >        tmp_addflag=' $pic_flag'
9265          tmp_sharedflag='-shared'
9266          case $cc_basename,$host_cpu in
9267          pgcc*)                          # Portland Group C compiler
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'
9268 >          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'
9269            tmp_addflag=' $pic_flag'
9270            ;;
9271 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9272 <          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'
9271 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9272 >                                        # Portland Group f77 and f90 compilers
9273 >          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'
9274            tmp_addflag=' $pic_flag -Mnomain' ;;
9275          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9276            tmp_addflag=' -i_dynamic' ;;
# Line 8658 | Line 9281 | _LT_EOF
9281          lf95*)                          # Lahey Fortran 8.1
9282            whole_archive_flag_spec=
9283            tmp_sharedflag='--shared' ;;
9284 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9284 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9285            tmp_sharedflag='-qmkshrobj'
9286            tmp_addflag= ;;
9287 +        nvcc*)  # Cuda Compiler Driver 2.2
9288 +          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'
9289 +          compiler_needs_object=yes
9290 +          ;;
9291          esac
9292          case `$CC -V 2>&1 | sed 5q` in
9293          *Sun\ C*)                       # Sun C 5.9
9294 <          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'
9294 >          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'
9295            compiler_needs_object=yes
9296            tmp_sharedflag='-G' ;;
9297          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8680 | Line 9307 | _LT_EOF
9307          fi
9308  
9309          case $cc_basename in
9310 <        xlf*)
9310 >        xlf* | bgf* | bgxlf* | mpixlf*)
9311            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9312            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9313 <          hardcode_libdir_flag_spec=
9314 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8688 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9313 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9314 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9315            if test "x$supports_anon_versioning" = xyes; then
9316              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9317                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9318                echo "local: *; };" >> $output_objdir/$libname.ver~
9319 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9319 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9320            fi
9321            ;;
9322          esac
# Line 8704 | Line 9330 | _LT_EOF
9330          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9331          wlarc=
9332        else
9333 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9333 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9335        fi
9336        ;;
9337  
# Line 8723 | Line 9349 | _LT_EOF
9349  
9350   _LT_EOF
9351        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9352 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9353 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9352 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9353 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9354        else
9355          ld_shlibs=no
9356        fi
# Line 8770 | Line 9396 | _LT_EOF
9396  
9397      *)
9398        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9399 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9400 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9399 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9400 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9401        else
9402          ld_shlibs=no
9403        fi
# Line 8811 | Line 9437 | _LT_EOF
9437        else
9438          # If we're using GNU nm, then we don't want the "-C" option.
9439          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9440 +        # Also, AIX nm treats weak defined symbols like other global
9441 +        # defined symbols, whereas GNU nm marks them as "W".
9442          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9443 <          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'
9443 >          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'
9444          else
9445            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'
9446          fi
# Line 8899 | Line 9527 | _LT_EOF
9527          allow_undefined_flag='-berok'
9528          # Determine the default libpath from the value encoded in an
9529          # empty executable.
9530 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9530 >        if test "${lt_cv_aix_libpath+set}" = set; then
9531 >  aix_libpath=$lt_cv_aix_libpath
9532 > else
9533 >  if ${lt_cv_aix_libpath_+:} false; then :
9534 >  $as_echo_n "(cached) " >&6
9535 > else
9536 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9537   /* end confdefs.h.  */
9538  
9539   int
# Line 8912 | Line 9546 | main ()
9546   _ACEOF
9547   if ac_fn_c_try_link "$LINENO"; then :
9548  
9549 < lt_aix_libpath_sed='
9550 <    /Import File Strings/,/^$/ {
9551 <        /^0/ {
9552 <            s/^0  *\(.*\)$/\1/
9553 <            p
9554 <        }
9555 <    }'
9556 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9557 < # Check for a 64-bit object if we didn't find anything.
9558 < if test -z "$aix_libpath"; then
9559 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9560 < fi
9549 >  lt_aix_libpath_sed='
9550 >      /Import File Strings/,/^$/ {
9551 >          /^0/ {
9552 >              s/^0  *\([^ ]*\) *$/\1/
9553 >              p
9554 >          }
9555 >      }'
9556 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9557 >  # Check for a 64-bit object if we didn't find anything.
9558 >  if test -z "$lt_cv_aix_libpath_"; then
9559 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9560 >  fi
9561   fi
9562   rm -f core conftest.err conftest.$ac_objext \
9563      conftest$ac_exeext conftest.$ac_ext
9564 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9564 >  if test -z "$lt_cv_aix_libpath_"; then
9565 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9566 >  fi
9567 >
9568 > fi
9569 >
9570 >  aix_libpath=$lt_cv_aix_libpath_
9571 > fi
9572  
9573          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9574 <        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"
9574 >        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"
9575        else
9576          if test "$host_cpu" = ia64; then
9577            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8939 | Line 9580 | if test -z "$aix_libpath"; then aix_libp
9580          else
9581           # Determine the default libpath from the value encoded in an
9582           # empty executable.
9583 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9583 >         if test "${lt_cv_aix_libpath+set}" = set; then
9584 >  aix_libpath=$lt_cv_aix_libpath
9585 > else
9586 >  if ${lt_cv_aix_libpath_+:} false; then :
9587 >  $as_echo_n "(cached) " >&6
9588 > else
9589 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9590   /* end confdefs.h.  */
9591  
9592   int
# Line 8952 | Line 9599 | main ()
9599   _ACEOF
9600   if ac_fn_c_try_link "$LINENO"; then :
9601  
9602 < lt_aix_libpath_sed='
9603 <    /Import File Strings/,/^$/ {
9604 <        /^0/ {
9605 <            s/^0  *\(.*\)$/\1/
9606 <            p
9607 <        }
9608 <    }'
9609 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9610 < # Check for a 64-bit object if we didn't find anything.
9611 < if test -z "$aix_libpath"; then
9612 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9613 < fi
9602 >  lt_aix_libpath_sed='
9603 >      /Import File Strings/,/^$/ {
9604 >          /^0/ {
9605 >              s/^0  *\([^ ]*\) *$/\1/
9606 >              p
9607 >          }
9608 >      }'
9609 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9610 >  # Check for a 64-bit object if we didn't find anything.
9611 >  if test -z "$lt_cv_aix_libpath_"; then
9612 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9613 >  fi
9614   fi
9615   rm -f core conftest.err conftest.$ac_objext \
9616      conftest$ac_exeext conftest.$ac_ext
9617 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9617 >  if test -z "$lt_cv_aix_libpath_"; then
9618 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9619 >  fi
9620 >
9621 > fi
9622 >
9623 >  aix_libpath=$lt_cv_aix_libpath_
9624 > fi
9625  
9626           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9627            # Warning - without using the other run time loading flags,
9628            # -berok will link without error, but may produce a broken library.
9629            no_undefined_flag=' ${wl}-bernotok'
9630            allow_undefined_flag=' ${wl}-berok'
9631 <          # Exported symbols can be pulled into shared objects from archives
9632 <          whole_archive_flag_spec='$convenience'
9631 >          if test "$with_gnu_ld" = yes; then
9632 >            # We only use this code for GNU lds that support --whole-archive.
9633 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9634 >          else
9635 >            # Exported symbols can be pulled into shared objects from archives
9636 >            whole_archive_flag_spec='$convenience'
9637 >          fi
9638            archive_cmds_need_lc=yes
9639            # This is similar to how AIX traditionally builds its shared libraries.
9640            archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
# Line 9007 | Line 9666 | if test -z "$aix_libpath"; then aix_libp
9666        # Microsoft Visual C++.
9667        # hardcode_libdir_flag_spec is actually meaningless, as there is
9668        # no search path for DLLs.
9669 <      hardcode_libdir_flag_spec=' '
9670 <      allow_undefined_flag=unsupported
9671 <      # Tell ltmain to make .lib files, not .a files.
9672 <      libext=lib
9673 <      # Tell ltmain to make .dll files, not .so files.
9674 <      shrext_cmds=".dll"
9675 <      # FIXME: Setting linknames here is a bad hack.
9676 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9677 <      # The linker will automatically build a .lib file if we build a DLL.
9678 <      old_archive_from_new_cmds='true'
9679 <      # FIXME: Should let the user specify the lib program.
9680 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9681 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9682 <      enable_shared_with_static_runtimes=yes
9669 >      case $cc_basename in
9670 >      cl*)
9671 >        # Native MSVC
9672 >        hardcode_libdir_flag_spec=' '
9673 >        allow_undefined_flag=unsupported
9674 >        always_export_symbols=yes
9675 >        file_list_spec='@'
9676 >        # Tell ltmain to make .lib files, not .a files.
9677 >        libext=lib
9678 >        # Tell ltmain to make .dll files, not .so files.
9679 >        shrext_cmds=".dll"
9680 >        # FIXME: Setting linknames here is a bad hack.
9681 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9682 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9683 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9684 >          else
9685 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9686 >          fi~
9687 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9688 >          linknames='
9689 >        # The linker will not automatically build a static lib if we build a DLL.
9690 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9691 >        enable_shared_with_static_runtimes=yes
9692 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9693 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9694 >        # Don't use ranlib
9695 >        old_postinstall_cmds='chmod 644 $oldlib'
9696 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9697 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9698 >          case $lt_outputfile in
9699 >            *.exe|*.EXE) ;;
9700 >            *)
9701 >              lt_outputfile="$lt_outputfile.exe"
9702 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9703 >              ;;
9704 >          esac~
9705 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9706 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9707 >            $RM "$lt_outputfile.manifest";
9708 >          fi'
9709 >        ;;
9710 >      *)
9711 >        # Assume MSVC wrapper
9712 >        hardcode_libdir_flag_spec=' '
9713 >        allow_undefined_flag=unsupported
9714 >        # Tell ltmain to make .lib files, not .a files.
9715 >        libext=lib
9716 >        # Tell ltmain to make .dll files, not .so files.
9717 >        shrext_cmds=".dll"
9718 >        # FIXME: Setting linknames here is a bad hack.
9719 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9720 >        # The linker will automatically build a .lib file if we build a DLL.
9721 >        old_archive_from_new_cmds='true'
9722 >        # FIXME: Should let the user specify the lib program.
9723 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9724 >        enable_shared_with_static_runtimes=yes
9725 >        ;;
9726 >      esac
9727        ;;
9728  
9729      darwin* | rhapsody*)
# Line 9030 | Line 9733 | if test -z "$aix_libpath"; then aix_libp
9733    hardcode_direct=no
9734    hardcode_automatic=yes
9735    hardcode_shlibpath_var=unsupported
9736 <  whole_archive_flag_spec=''
9736 >  if test "$lt_cv_ld_force_load" = "yes"; then
9737 >    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\"`'
9738 >
9739 >  else
9740 >    whole_archive_flag_spec=''
9741 >  fi
9742    link_all_deplibs=yes
9743    allow_undefined_flag="$_lt_dar_allow_undefined"
9744    case $cc_basename in
# Line 9038 | Line 9746 | if test -z "$aix_libpath"; then aix_libp
9746       *) _lt_dar_can_shared=$GCC ;;
9747    esac
9748    if test "$_lt_dar_can_shared" = "yes"; then
9749 <    output_verbose_link_cmd=echo
9749 >    output_verbose_link_cmd=func_echo_all
9750      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9751      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9752      archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
# Line 9056 | Line 9764 | if test -z "$aix_libpath"; then aix_libp
9764        hardcode_shlibpath_var=no
9765        ;;
9766  
9059    freebsd1*)
9060      ld_shlibs=no
9061      ;;
9062
9767      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9768      # support.  Future versions do this automatically, but an explicit c++rt0.o
9769      # does not break anything, and helps significantly (at the cost of a little
# Line 9072 | Line 9776 | if test -z "$aix_libpath"; then aix_libp
9776        ;;
9777  
9778      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9779 <    freebsd2*)
9779 >    freebsd2.*)
9780        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9781        hardcode_direct=yes
9782        hardcode_minus_L=yes
# Line 9081 | Line 9785 | if test -z "$aix_libpath"; then aix_libp
9785  
9786      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9787      freebsd* | dragonfly*)
9788 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9788 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9789        hardcode_libdir_flag_spec='-R$libdir'
9790        hardcode_direct=yes
9791        hardcode_shlibpath_var=no
# Line 9089 | Line 9793 | if test -z "$aix_libpath"; then aix_libp
9793  
9794      hpux9*)
9795        if test "$GCC" = yes; then
9796 <        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'
9796 >        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'
9797        else
9798          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'
9799        fi
# Line 9104 | Line 9808 | if test -z "$aix_libpath"; then aix_libp
9808        ;;
9809  
9810      hpux10*)
9811 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9812 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9811 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9812 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9813        else
9814          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9815        fi
9816        if test "$with_gnu_ld" = no; then
9817          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9114        hardcode_libdir_flag_spec_ld='+b $libdir'
9818          hardcode_libdir_separator=:
9819          hardcode_direct=yes
9820          hardcode_direct_absolute=yes
# Line 9123 | Line 9826 | if test -z "$aix_libpath"; then aix_libp
9826        ;;
9827  
9828      hpux11*)
9829 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9829 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9830          case $host_cpu in
9831          hppa*64*)
9832            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9833            ;;
9834          ia64*)
9835 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9835 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9836            ;;
9837          *)
9838 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9838 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9839            ;;
9840          esac
9841        else
# Line 9144 | Line 9847 | if test -z "$aix_libpath"; then aix_libp
9847            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9848            ;;
9849          *)
9850 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9850 >
9851 >          # Older versions of the 11.00 compiler do not understand -b yet
9852 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9853 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9854 > $as_echo_n "checking if $CC understands -b... " >&6; }
9855 > if ${lt_cv_prog_compiler__b+:} false; then :
9856 >  $as_echo_n "(cached) " >&6
9857 > else
9858 >  lt_cv_prog_compiler__b=no
9859 >   save_LDFLAGS="$LDFLAGS"
9860 >   LDFLAGS="$LDFLAGS -b"
9861 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9862 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9863 >     # The linker can only warn and ignore the option if not recognized
9864 >     # So say no if there are warnings
9865 >     if test -s conftest.err; then
9866 >       # Append any errors to the config.log.
9867 >       cat conftest.err 1>&5
9868 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9869 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9870 >       if diff conftest.exp conftest.er2 >/dev/null; then
9871 >         lt_cv_prog_compiler__b=yes
9872 >       fi
9873 >     else
9874 >       lt_cv_prog_compiler__b=yes
9875 >     fi
9876 >   fi
9877 >   $RM -r conftest*
9878 >   LDFLAGS="$save_LDFLAGS"
9879 >
9880 > fi
9881 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9882 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9883 >
9884 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9885 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9886 > else
9887 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9888 > fi
9889 >
9890            ;;
9891          esac
9892        fi
# Line 9172 | Line 9914 | if test -z "$aix_libpath"; then aix_libp
9914  
9915      irix5* | irix6* | nonstopux*)
9916        if test "$GCC" = yes; then
9917 <        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'
9917 >        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'
9918          # Try to use the -exported_symbol ld option, if it does not
9919          # work, assume that -exports_file does not work either and
9920          # implicitly export all symbols.
9921 <        save_LDFLAGS="$LDFLAGS"
9922 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9923 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9921 >        # This should be the same for all languages, so no per-tag cache variable.
9922 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9923 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9924 > if ${lt_cv_irix_exported_symbol+:} false; then :
9925 >  $as_echo_n "(cached) " >&6
9926 > else
9927 >  save_LDFLAGS="$LDFLAGS"
9928 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9929 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9930   /* end confdefs.h.  */
9931 < int foo(void) {}
9931 > int foo (void) { return 0; }
9932   _ACEOF
9933   if ac_fn_c_try_link "$LINENO"; then :
9934 <  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'
9935 <
9934 >  lt_cv_irix_exported_symbol=yes
9935 > else
9936 >  lt_cv_irix_exported_symbol=no
9937   fi
9938   rm -f core conftest.err conftest.$ac_objext \
9939      conftest$ac_exeext conftest.$ac_ext
9940 <        LDFLAGS="$save_LDFLAGS"
9940 >           LDFLAGS="$save_LDFLAGS"
9941 > fi
9942 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9943 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9944 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9945 >          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'
9946 >        fi
9947        else
9948 <        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'
9949 <        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'
9948 >        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'
9949 >        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'
9950        fi
9951        archive_cmds_need_lc='no'
9952        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9253 | Line 10008 | rm -f core conftest.err conftest.$ac_obj
10008        hardcode_libdir_flag_spec='-L$libdir'
10009        hardcode_minus_L=yes
10010        allow_undefined_flag=unsupported
10011 <      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'
10011 >      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'
10012        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10013        ;;
10014  
10015      osf3*)
10016        if test "$GCC" = yes; then
10017          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10018 <        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'
10018 >        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'
10019        else
10020          allow_undefined_flag=' -expect_unresolved \*'
10021 <        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'
10021 >        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'
10022        fi
10023        archive_cmds_need_lc='no'
10024        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9273 | Line 10028 | rm -f core conftest.err conftest.$ac_obj
10028      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10029        if test "$GCC" = yes; then
10030          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10031 <        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'
10031 >        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'
10032          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10033        else
10034          allow_undefined_flag=' -expect_unresolved \*'
10035 <        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'
10035 >        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'
10036          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~
10037 <        $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'
10037 >        $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'
10038  
10039          # Both c and cxx compiler support -rpath directly
10040          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9292 | Line 10047 | rm -f core conftest.err conftest.$ac_obj
10047        no_undefined_flag=' -z defs'
10048        if test "$GCC" = yes; then
10049          wlarc='${wl}'
10050 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10050 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10051          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10052 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10052 >          $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'
10053        else
10054          case `$CC -V 2>&1` in
10055          *"Compilers 5.0"*)
# Line 9482 | Line 10237 | x|xyes)
10237        # to ld, don't add -lc before -lgcc.
10238        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10239   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10240 <      $RM conftest*
10241 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10240 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10241 >  $as_echo_n "(cached) " >&6
10242 > else
10243 >  $RM conftest*
10244 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10245  
10246 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10246 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10247    (eval $ac_compile) 2>&5
10248    ac_status=$?
10249    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10250    test $ac_status = 0; } 2>conftest.err; then
10251 <        soname=conftest
10252 <        lib=conftest
10253 <        libobjs=conftest.$ac_objext
10254 <        deplibs=
10255 <        wl=$lt_prog_compiler_wl
10256 <        pic_flag=$lt_prog_compiler_pic
10257 <        compiler_flags=-v
10258 <        linker_flags=-v
10259 <        verstring=
10260 <        output_objdir=.
10261 <        libname=conftest
10262 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10263 <        allow_undefined_flag=
10264 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10251 >          soname=conftest
10252 >          lib=conftest
10253 >          libobjs=conftest.$ac_objext
10254 >          deplibs=
10255 >          wl=$lt_prog_compiler_wl
10256 >          pic_flag=$lt_prog_compiler_pic
10257 >          compiler_flags=-v
10258 >          linker_flags=-v
10259 >          verstring=
10260 >          output_objdir=.
10261 >          libname=conftest
10262 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10263 >          allow_undefined_flag=
10264 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10265    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10266    ac_status=$?
10267    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10268    test $ac_status = 0; }
10269 <        then
10270 <          archive_cmds_need_lc=no
10271 <        else
10272 <          archive_cmds_need_lc=yes
10273 <        fi
10274 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10275 <      else
10276 <        cat conftest.err 1>&5
10277 <      fi
10278 <      $RM conftest*
10279 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10280 < $as_echo "$archive_cmds_need_lc" >&6; }
10269 >          then
10270 >            lt_cv_archive_cmds_need_lc=no
10271 >          else
10272 >            lt_cv_archive_cmds_need_lc=yes
10273 >          fi
10274 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10275 >        else
10276 >          cat conftest.err 1>&5
10277 >        fi
10278 >        $RM conftest*
10279 >
10280 > fi
10281 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10282 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10283 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10284        ;;
10285      esac
10286    fi
# Line 9677 | Line 10438 | esac
10438  
10439  
10440  
9680
9681
9682
9683
9684
10441    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10442   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10443  
# Line 9690 | Line 10446 | if test "$GCC" = yes; then
10446      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10447      *) lt_awk_arg="/^libraries:/" ;;
10448    esac
10449 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10450 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10449 >  case $host_os in
10450 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10451 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10452 >  esac
10453 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10454 >  case $lt_search_path_spec in
10455 >  *\;*)
10456      # if the path contains ";" then we assume it to be the separator
10457      # otherwise default to the standard path separator (i.e. ":") - it is
10458      # assumed that no part of a normal pathname contains ";" but that should
10459      # okay in the real world where ";" in dirpaths is itself problematic.
10460 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10461 <  else
10462 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10463 <  fi
10460 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10461 >    ;;
10462 >  *)
10463 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10464 >    ;;
10465 >  esac
10466    # Ok, now we have the path, separated by spaces, we can step through it
10467    # and add multilib dir if necessary.
10468    lt_tmp_lt_search_path_spec=
# Line 9712 | Line 10475 | if test "$GCC" = yes; then
10475          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10476      fi
10477    done
10478 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10478 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10479   BEGIN {RS=" "; FS="/|\n";} {
10480    lt_foo="";
10481    lt_count=0;
# Line 9732 | Line 10495 | BEGIN {RS=" "; FS="/|\n";} {
10495    if (lt_foo != "") { lt_freq[lt_foo]++; }
10496    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10497   }'`
10498 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10498 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10499 >  # for these hosts.
10500 >  case $host_os in
10501 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10502 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10503 >  esac
10504 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10505   else
10506    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10507   fi
# Line 9758 | Line 10527 | need_version=unknown
10527  
10528   case $host_os in
10529   aix3*)
10530 <  version_type=linux
10530 >  version_type=linux # correct to gnu/linux during the next big refactor
10531    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10532    shlibpath_var=LIBPATH
10533  
# Line 9767 | Line 10536 | aix3*)
10536    ;;
10537  
10538   aix[4-9]*)
10539 <  version_type=linux
10539 >  version_type=linux # correct to gnu/linux during the next big refactor
10540    need_lib_prefix=no
10541    need_version=no
10542    hardcode_into_libs=yes
# Line 9820 | Line 10589 | amigaos*)
10589    m68k)
10590      library_names_spec='$libname.ixlibrary $libname.a'
10591      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10592 <    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'
10592 >    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'
10593      ;;
10594    esac
10595    ;;
# Line 9832 | Line 10601 | beos*)
10601    ;;
10602  
10603   bsdi[45]*)
10604 <  version_type=linux
10604 >  version_type=linux # correct to gnu/linux during the next big refactor
10605    need_version=no
10606    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10607    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9851 | Line 10620 | cygwin* | mingw* | pw32* | cegcc*)
10620    need_version=no
10621    need_lib_prefix=no
10622  
10623 <  case $GCC,$host_os in
10624 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10623 >  case $GCC,$cc_basename in
10624 >  yes,*)
10625 >    # gcc
10626      library_names_spec='$libname.dll.a'
10627      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10628      postinstall_cmds='base_file=`basename \${file}`~
# Line 9873 | Line 10643 | cygwin* | mingw* | pw32* | cegcc*)
10643      cygwin*)
10644        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10645        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10646 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10646 >
10647 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10648        ;;
10649      mingw* | cegcc*)
10650        # MinGW DLLs use traditional 'lib' prefix
10651        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9881      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9882      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9883        # It is most probably a Windows format PATH printed by
9884        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9885        # path with ; separators, and with drive letters. We can handle the
9886        # drive letters (cygwin fileutils understands them), so leave them,
9887        # especially as we might pass files found there to a mingw objdump,
9888        # which wouldn't understand a cygwinified path. Ahh.
9889        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9890      else
9891        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9892      fi
10652        ;;
10653      pw32*)
10654        # pw32 DLLs use 'pw' prefix rather than 'lib'
10655        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10656        ;;
10657      esac
10658 +    dynamic_linker='Win32 ld.exe'
10659 +    ;;
10660 +
10661 +  *,cl*)
10662 +    # Native MSVC
10663 +    libname_spec='$name'
10664 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10665 +    library_names_spec='${libname}.dll.lib'
10666 +
10667 +    case $build_os in
10668 +    mingw*)
10669 +      sys_lib_search_path_spec=
10670 +      lt_save_ifs=$IFS
10671 +      IFS=';'
10672 +      for lt_path in $LIB
10673 +      do
10674 +        IFS=$lt_save_ifs
10675 +        # Let DOS variable expansion print the short 8.3 style file name.
10676 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10677 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10678 +      done
10679 +      IFS=$lt_save_ifs
10680 +      # Convert to MSYS style.
10681 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10682 +      ;;
10683 +    cygwin*)
10684 +      # Convert to unix form, then to dos form, then back to unix form
10685 +      # but this time dos style (no spaces!) so that the unix form looks
10686 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10687 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10688 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10689 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10690 +      ;;
10691 +    *)
10692 +      sys_lib_search_path_spec="$LIB"
10693 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10694 +        # It is most probably a Windows format PATH.
10695 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10696 +      else
10697 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10698 +      fi
10699 +      # FIXME: find the short name or the path components, as spaces are
10700 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10701 +      ;;
10702 +    esac
10703 +
10704 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10705 +    postinstall_cmds='base_file=`basename \${file}`~
10706 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10707 +      dldir=$destdir/`dirname \$dlpath`~
10708 +      test -d \$dldir || mkdir -p \$dldir~
10709 +      $install_prog $dir/$dlname \$dldir/$dlname'
10710 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10711 +      dlpath=$dir/\$dldll~
10712 +       $RM \$dlpath'
10713 +    shlibpath_overrides_runpath=yes
10714 +    dynamic_linker='Win32 link.exe'
10715      ;;
10716  
10717    *)
10718 +    # Assume MSVC wrapper
10719      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10720 +    dynamic_linker='Win32 ld.exe'
10721      ;;
10722    esac
9905  dynamic_linker='Win32 ld.exe'
10723    # FIXME: first we should search . and the directory the executable is in
10724    shlibpath_var=PATH
10725    ;;
# Line 9923 | Line 10740 | darwin* | rhapsody*)
10740    ;;
10741  
10742   dgux*)
10743 <  version_type=linux
10743 >  version_type=linux # correct to gnu/linux during the next big refactor
10744    need_lib_prefix=no
10745    need_version=no
10746    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9931 | Line 10748 | dgux*)
10748    shlibpath_var=LD_LIBRARY_PATH
10749    ;;
10750  
9934 freebsd1*)
9935  dynamic_linker=no
9936  ;;
9937
10751   freebsd* | dragonfly*)
10752    # DragonFly does not have aout.  When/if they implement a new
10753    # versioning mechanism, adjust this.
# Line 9942 | Line 10755 | freebsd* | dragonfly*)
10755      objformat=`/usr/bin/objformat`
10756    else
10757      case $host_os in
10758 <    freebsd[123]*) objformat=aout ;;
10758 >    freebsd[23].*) objformat=aout ;;
10759      *) objformat=elf ;;
10760      esac
10761    fi
# Line 9960 | Line 10773 | freebsd* | dragonfly*)
10773    esac
10774    shlibpath_var=LD_LIBRARY_PATH
10775    case $host_os in
10776 <  freebsd2*)
10776 >  freebsd2.*)
10777      shlibpath_overrides_runpath=yes
10778      ;;
10779    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9980 | Line 10793 | freebsd* | dragonfly*)
10793    ;;
10794  
10795   gnu*)
10796 <  version_type=linux
10796 >  version_type=linux # correct to gnu/linux during the next big refactor
10797    need_lib_prefix=no
10798    need_version=no
10799    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10800    soname_spec='${libname}${release}${shared_ext}$major'
10801    shlibpath_var=LD_LIBRARY_PATH
10802 +  shlibpath_overrides_runpath=no
10803 +  hardcode_into_libs=yes
10804 +  ;;
10805 +
10806 + haiku*)
10807 +  version_type=linux # correct to gnu/linux during the next big refactor
10808 +  need_lib_prefix=no
10809 +  need_version=no
10810 +  dynamic_linker="$host_os runtime_loader"
10811 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10812 +  soname_spec='${libname}${release}${shared_ext}$major'
10813 +  shlibpath_var=LIBRARY_PATH
10814 +  shlibpath_overrides_runpath=yes
10815 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10816    hardcode_into_libs=yes
10817    ;;
10818  
# Line 10031 | Line 10858 | hpux9* | hpux10* | hpux11*)
10858      soname_spec='${libname}${release}${shared_ext}$major'
10859      ;;
10860    esac
10861 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10861 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10862    postinstall_cmds='chmod 555 $lib'
10863 +  # or fails outright, so override atomically:
10864 +  install_override_mode=555
10865    ;;
10866  
10867   interix[3-9]*)
10868 <  version_type=linux
10868 >  version_type=linux # correct to gnu/linux during the next big refactor
10869    need_lib_prefix=no
10870    need_version=no
10871    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10052 | Line 10881 | irix5* | irix6* | nonstopux*)
10881      nonstopux*) version_type=nonstopux ;;
10882      *)
10883          if test "$lt_cv_prog_gnu_ld" = yes; then
10884 <                version_type=linux
10884 >                version_type=linux # correct to gnu/linux during the next big refactor
10885          else
10886                  version_type=irix
10887          fi ;;
# Line 10089 | Line 10918 | linux*oldld* | linux*aout* | linux*coff*
10918    dynamic_linker=no
10919    ;;
10920  
10921 < # This must be Linux ELF.
10922 < linux* | k*bsd*-gnu)
10923 <  version_type=linux
10921 > # This must be glibc/ELF.
10922 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
10923 >  version_type=linux # correct to gnu/linux during the next big refactor
10924    need_lib_prefix=no
10925    need_version=no
10926    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10099 | Line 10928 | linux* | k*bsd*-gnu)
10928    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10929    shlibpath_var=LD_LIBRARY_PATH
10930    shlibpath_overrides_runpath=no
10931 +
10932    # Some binutils ld are patched to set DT_RUNPATH
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
10933 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10934 >  $as_echo_n "(cached) " >&6
10935 > else
10936 >  lt_cv_shlibpath_overrides_runpath=no
10937 >    save_LDFLAGS=$LDFLAGS
10938 >    save_libdir=$libdir
10939 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10940 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10941 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10942   /* end confdefs.h.  */
10943  
10944   int
# Line 10117 | Line 10951 | main ()
10951   _ACEOF
10952   if ac_fn_c_try_link "$LINENO"; then :
10953    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10954 <  shlibpath_overrides_runpath=yes
10954 >  lt_cv_shlibpath_overrides_runpath=yes
10955   fi
10956   fi
10957   rm -f core conftest.err conftest.$ac_objext \
10958      conftest$ac_exeext conftest.$ac_ext
10959 <  LDFLAGS=$save_LDFLAGS
10960 <  libdir=$save_libdir
10959 >    LDFLAGS=$save_LDFLAGS
10960 >    libdir=$save_libdir
10961 >
10962 > fi
10963 >
10964 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10965  
10966    # This implies no fast_install, which is unacceptable.
10967    # Some rework will be needed to allow for fast_install
# Line 10132 | Line 10970 | rm -f core conftest.err conftest.$ac_obj
10970  
10971    # Append ld.so.conf contents to the search path
10972    if test -f /etc/ld.so.conf; then
10973 <    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' ' '`
10973 >    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' ' '`
10974      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10975    fi
10976  
# Line 10164 | Line 11002 | netbsd*)
11002    ;;
11003  
11004   newsos6)
11005 <  version_type=linux
11005 >  version_type=linux # correct to gnu/linux during the next big refactor
11006    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11007    shlibpath_var=LD_LIBRARY_PATH
11008    shlibpath_overrides_runpath=yes
# Line 10233 | Line 11071 | rdos*)
11071    ;;
11072  
11073   solaris*)
11074 <  version_type=linux
11074 >  version_type=linux # correct to gnu/linux during the next big refactor
11075    need_lib_prefix=no
11076    need_version=no
11077    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10258 | Line 11096 | sunos4*)
11096    ;;
11097  
11098   sysv4 | sysv4.3*)
11099 <  version_type=linux
11099 >  version_type=linux # correct to gnu/linux during the next big refactor
11100    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11101    soname_spec='${libname}${release}${shared_ext}$major'
11102    shlibpath_var=LD_LIBRARY_PATH
# Line 10282 | Line 11120 | sysv4 | sysv4.3*)
11120  
11121   sysv4*MP*)
11122    if test -d /usr/nec ;then
11123 <    version_type=linux
11123 >    version_type=linux # correct to gnu/linux during the next big refactor
11124      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11125      soname_spec='$libname${shared_ext}.$major'
11126      shlibpath_var=LD_LIBRARY_PATH
# Line 10313 | Line 11151 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11151  
11152   tpf*)
11153    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11154 <  version_type=linux
11154 >  version_type=linux # correct to gnu/linux during the next big refactor
11155    need_lib_prefix=no
11156    need_version=no
11157    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10323 | Line 11161 | tpf*)
11161    ;;
11162  
11163   uts4*)
11164 <  version_type=linux
11164 >  version_type=linux # correct to gnu/linux during the next big refactor
11165    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11166    soname_spec='${libname}${release}${shared_ext}$major'
11167    shlibpath_var=LD_LIBRARY_PATH
# Line 10435 | Line 11273 | fi
11273  
11274  
11275  
11276 +
11277 +
11278 +
11279 +
11280 +
11281    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11282   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11283   hardcode_action=
# Line 10507 | Line 11350 | else
11350    # if libdl is installed we need to link against it
11351      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11352   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11353 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11353 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11354    $as_echo_n "(cached) " >&6
11355   else
11356    ac_check_lib_save_LIBS=$LIBS
# Line 10541 | Line 11384 | LIBS=$ac_check_lib_save_LIBS
11384   fi
11385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11386   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11387 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11387 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11388    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11389   else
11390  
# Line 10555 | Line 11398 | fi
11398  
11399    *)
11400      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11401 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11401 > if test "x$ac_cv_func_shl_load" = xyes; then :
11402    lt_cv_dlopen="shl_load"
11403   else
11404    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11405   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11406 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11406 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11407    $as_echo_n "(cached) " >&6
11408   else
11409    ac_check_lib_save_LIBS=$LIBS
# Line 10594 | Line 11437 | LIBS=$ac_check_lib_save_LIBS
11437   fi
11438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11439   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11440 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11440 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11441    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11442   else
11443    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11444 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11444 > if test "x$ac_cv_func_dlopen" = xyes; then :
11445    lt_cv_dlopen="dlopen"
11446   else
11447    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11448   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11449 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11449 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11450    $as_echo_n "(cached) " >&6
11451   else
11452    ac_check_lib_save_LIBS=$LIBS
# Line 10637 | Line 11480 | LIBS=$ac_check_lib_save_LIBS
11480   fi
11481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11482   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11483 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11483 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11484    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11485   else
11486    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11487   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11488 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11488 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11489    $as_echo_n "(cached) " >&6
11490   else
11491    ac_check_lib_save_LIBS=$LIBS
# Line 10676 | Line 11519 | LIBS=$ac_check_lib_save_LIBS
11519   fi
11520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11521   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11522 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11522 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11523    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11524   else
11525    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11526   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11527 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11527 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11528    $as_echo_n "(cached) " >&6
11529   else
11530    ac_check_lib_save_LIBS=$LIBS
# Line 10715 | Line 11558 | LIBS=$ac_check_lib_save_LIBS
11558   fi
11559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11560   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11561 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11561 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11562    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11563   fi
11564  
# Line 10756 | Line 11599 | fi
11599  
11600      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11601   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11602 < if test "${lt_cv_dlopen_self+set}" = set; then :
11602 > if ${lt_cv_dlopen_self+:} false; then :
11603    $as_echo_n "(cached) " >&6
11604   else
11605            if test "$cross_compiling" = yes; then :
# Line 10765 | Line 11608 | else
11608    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11609    lt_status=$lt_dlunknown
11610    cat > conftest.$ac_ext <<_LT_EOF
11611 < #line 10768 "configure"
11611 > #line $LINENO "configure"
11612   #include "confdefs.h"
11613  
11614   #if HAVE_DLFCN_H
# Line 10806 | Line 11649 | else
11649   #  endif
11650   #endif
11651  
11652 < void fnord() { int i=42;}
11652 > /* When -fvisbility=hidden is used, assume the code has been annotated
11653 >   correspondingly for the symbols needed.  */
11654 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11655 > int fnord () __attribute__((visibility("default")));
11656 > #endif
11657 >
11658 > int fnord () { return 42; }
11659   int main ()
11660   {
11661    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10815 | Line 11664 | int main ()
11664    if (self)
11665      {
11666        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11667 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11667 >      else
11668 >        {
11669 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11670 >          else puts (dlerror ());
11671 >        }
11672        /* dlclose (self); */
11673      }
11674    else
# Line 10852 | Line 11705 | $as_echo "$lt_cv_dlopen_self" >&6; }
11705        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11706        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11707   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11708 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11708 > if ${lt_cv_dlopen_self_static+:} false; then :
11709    $as_echo_n "(cached) " >&6
11710   else
11711            if test "$cross_compiling" = yes; then :
# Line 10861 | Line 11714 | else
11714    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11715    lt_status=$lt_dlunknown
11716    cat > conftest.$ac_ext <<_LT_EOF
11717 < #line 10864 "configure"
11717 > #line $LINENO "configure"
11718   #include "confdefs.h"
11719  
11720   #if HAVE_DLFCN_H
# Line 10902 | Line 11755 | else
11755   #  endif
11756   #endif
11757  
11758 < void fnord() { int i=42;}
11758 > /* When -fvisbility=hidden is used, assume the code has been annotated
11759 >   correspondingly for the symbols needed.  */
11760 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11761 > int fnord () __attribute__((visibility("default")));
11762 > #endif
11763 >
11764 > int fnord () { return 42; }
11765   int main ()
11766   {
11767    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10911 | Line 11770 | int main ()
11770    if (self)
11771      {
11772        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11773 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11773 >      else
11774 >        {
11775 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11776 >          else puts (dlerror ());
11777 >        }
11778        /* dlclose (self); */
11779      }
11780    else
# Line 11080 | Line 11943 | CC="$lt_save_CC"
11943  
11944  
11945  
11946 +
11947 +
11948          ac_config_commands="$ac_config_commands libtool"
11949  
11950  
# Line 11090 | Line 11955 | CC="$lt_save_CC"
11955  
11956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11957   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11958 < if test "${libltdl_cv_shlibext+set}" = set; then :
11958 > if ${libltdl_cv_shlibext+:} false; then :
11959    $as_echo_n "(cached) " >&6
11960   else
11961  
11962   module=yes
11963   eval libltdl_cv_shlibext=$shrext_cmds
11964 + module=no
11965 + eval libltdl_cv_shrext=$shrext_cmds
11966  
11967   fi
11968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11107 | Line 11974 | cat >>confdefs.h <<_ACEOF
11974   _ACEOF
11975  
11976   fi
11977 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11978 +
11979 + cat >>confdefs.h <<_ACEOF
11980 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
11981 + _ACEOF
11982 +
11983 + fi
11984  
11985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11986   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11987 < if test "${lt_cv_module_path_var+set}" = set; then :
11987 > if ${lt_cv_module_path_var+:} false; then :
11988    $as_echo_n "(cached) " >&6
11989   else
11990    lt_cv_module_path_var="$shlibpath_var"
# Line 11127 | Line 12001 | fi
12001  
12002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12003   $as_echo_n "checking for the default library search path... " >&6; }
12004 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12004 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12005    $as_echo_n "(cached) " >&6
12006   else
12007    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11164 | Line 12038 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12038   LIBADD_DLOPEN=
12039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12040   $as_echo_n "checking for library containing dlopen... " >&6; }
12041 < if test "${ac_cv_search_dlopen+set}" = set; then :
12041 > if ${ac_cv_search_dlopen+:} false; then :
12042    $as_echo_n "(cached) " >&6
12043   else
12044    ac_func_search_save_LIBS=$LIBS
# Line 11198 | Line 12072 | for ac_lib in '' dl; do
12072   fi
12073   rm -f core conftest.err conftest.$ac_objext \
12074      conftest$ac_exeext
12075 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12075 >  if ${ac_cv_search_dlopen+:} false; then :
12076    break
12077   fi
12078   done
12079 < if test "${ac_cv_search_dlopen+set}" = set; then :
12079 > if ${ac_cv_search_dlopen+:} false; then :
12080  
12081   else
12082    ac_cv_search_dlopen=no
# Line 11247 | Line 12121 | $as_echo "#define HAVE_LIBDL 1" >>confde
12121   else
12122    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12123   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12124 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12124 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12125    $as_echo_n "(cached) " >&6
12126   else
12127    ac_check_lib_save_LIBS=$LIBS
# Line 11281 | Line 12155 | LIBS=$ac_check_lib_save_LIBS
12155   fi
12156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12157   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12158 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12158 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12159  
12160   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12161  
# Line 11301 | Line 12175 | then
12175    for ac_func in dlerror
12176   do :
12177    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12178 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12178 > if test "x$ac_cv_func_dlerror" = xyes; then :
12179    cat >>confdefs.h <<_ACEOF
12180   #define HAVE_DLERROR 1
12181   _ACEOF
# Line 11315 | Line 12189 | fi
12189  
12190   LIBADD_SHL_LOAD=
12191   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12192 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12192 > if test "x$ac_cv_func_shl_load" = xyes; then :
12193  
12194   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12195  
# Line 11323 | Line 12197 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12197   else
12198    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12199   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12200 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12200 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12201    $as_echo_n "(cached) " >&6
12202   else
12203    ac_check_lib_save_LIBS=$LIBS
# Line 11357 | Line 12231 | LIBS=$ac_check_lib_save_LIBS
12231   fi
12232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12233   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12234 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12234 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12235  
12236   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12237  
# Line 11373 | Line 12247 | case $host_os in
12247   darwin[1567].*)
12248   # We only want this for pre-Mac OS X 10.4.
12249    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12250 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12250 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12251  
12252   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12253  
# Line 11387 | Line 12261 | beos*)
12261   cygwin* | mingw* | os2* | pw32*)
12262    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12263   "
12264 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12264 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12265    ac_have_decl=1
12266   else
12267    ac_have_decl=0
# Line 11403 | Line 12277 | esac
12277  
12278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12279   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12280 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12280 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12281    $as_echo_n "(cached) " >&6
12282   else
12283    ac_check_lib_save_LIBS=$LIBS
# Line 11437 | Line 12311 | LIBS=$ac_check_lib_save_LIBS
12311   fi
12312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12313   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12314 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12314 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12315  
12316   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12317  
# Line 11471 | Line 12345 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12345  
12346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12347   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12348 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12348 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12349    $as_echo_n "(cached) " >&6
12350   else
12351    lt_cv_sys_symbol_underscore=no
# Line 11521 | Line 12395 | if test x"$lt_cv_sys_symbol_underscore"
12395       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12396          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12397   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12398 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12398 > if ${libltdl_cv_need_uscore+:} false; then :
12399    $as_echo_n "(cached) " >&6
12400   else
12401    libltdl_cv_need_uscore=unknown
# Line 11533 | Line 12407 | else
12407    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12408    lt_status=$lt_dlunknown
12409    cat > conftest.$ac_ext <<_LT_EOF
12410 < #line 11536 "configure"
12410 > #line $LINENO "configure"
12411   #include "confdefs.h"
12412  
12413   #if HAVE_DLFCN_H
# Line 11574 | Line 12448 | else
12448   #  endif
12449   #endif
12450  
12451 < void fnord() { int i=42;}
12451 > /* When -fvisbility=hidden is used, assume the code has been annotated
12452 >   correspondingly for the symbols needed.  */
12453 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12454 > int fnord () __attribute__((visibility("default")));
12455 > #endif
12456 >
12457 > int fnord () { return 42; }
12458   int main ()
12459   {
12460    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11583 | Line 12463 | int main ()
12463    if (self)
12464      {
12465        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12466 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12466 >      else
12467 >        {
12468 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12469 >          else puts (dlerror ());
12470 >        }
12471        /* dlclose (self); */
12472      }
12473    else
# Line 11627 | Line 12511 | fi
12511  
12512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12513   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12514 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12514 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12515    $as_echo_n "(cached) " >&6
12516   else
12517    # PORTME does your system automatically load deplibs for dlopen?
# Line 11659 | Line 12543 | else
12543    freebsd* | dragonfly*)
12544      lt_cv_sys_dlopen_deplibs=yes
12545      ;;
12546 <  gnu* | linux* | k*bsd*-gnu)
12546 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12547      # GNU and its variants, using gnu ld.so (Glibc)
12548      lt_cv_sys_dlopen_deplibs=yes
12549      ;;
# Line 11733 | Line 12617 | for ac_header in argz.h
12617   do :
12618    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12619   "
12620 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12620 > if test "x$ac_cv_header_argz_h" = xyes; then :
12621    cat >>confdefs.h <<_ACEOF
12622   #define HAVE_ARGZ_H 1
12623   _ACEOF
# Line 11747 | Line 12631 | ac_fn_c_check_type "$LINENO" "error_t" "
12631   #  include <argz.h>
12632   #endif
12633   "
12634 < if test "x$ac_cv_type_error_t" = x""yes; then :
12634 > if test "x$ac_cv_type_error_t" = xyes; then :
12635  
12636   cat >>confdefs.h <<_ACEOF
12637   #define HAVE_ERROR_T 1
# Line 11770 | Line 12654 | for ac_func in argz_add argz_append argz
12654   do :
12655    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12656   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12657 < eval as_val=\$$as_ac_var
11774 <   if test "x$as_val" = x""yes; then :
12657 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12658    cat >>confdefs.h <<_ACEOF
12659   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12660   _ACEOF
# Line 11788 | Line 12671 | done
12671   if test -z "$ARGZ_H"; then :
12672    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12673   $as_echo_n "checking if argz actually works... " >&6; }
12674 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12674 > if ${lt_cv_sys_argz_works+:} false; then :
12675    $as_echo_n "(cached) " >&6
12676   else
12677    case $host_os in #(
# Line 11819 | Line 12702 | else
12702   fi
12703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12704   $as_echo "$lt_cv_sys_argz_works" >&6; }
12705 <     if test $lt_cv_sys_argz_works = yes; then :
12705 >     if test "$lt_cv_sys_argz_works" = yes; then :
12706  
12707   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12708  
# Line 11836 | Line 12719 | fi
12719  
12720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12721   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12722 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12722 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12723    $as_echo_n "(cached) " >&6
12724   else
12725    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11854 | Line 12737 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12737  
12738   fi
12739  
11857
11858
12740   # Set options
12741  
12742  
# Line 11868 | Line 12749 | fi
12749  
12750  
12751  
11871
12752   # Check whether --with-included_ltdl was given.
12753   if test "${with_included_ltdl+set}" = set; then :
12754    withval=$with_included_ltdl;
# Line 11881 | Line 12761 | if test "x$with_included_ltdl" != xyes;
12761    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12762  
12763   "
12764 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12764 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12765    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12766              #include <ltdl.h>
12767   "
12768 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12768 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12769    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12770   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12771 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12771 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12772    $as_echo_n "(cached) " >&6
12773   else
12774    ac_check_lib_save_LIBS=$LIBS
# Line 11922 | Line 12802 | LIBS=$ac_check_lib_save_LIBS
12802   fi
12803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12804   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12805 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12805 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12806    with_included_ltdl=no
12807   else
12808    with_included_ltdl=yes
# Line 11951 | Line 12831 | fi
12831   if test -n "$with_ltdl_include"; then
12832    if test -f "$with_ltdl_include/ltdl.h"; then :
12833    else
12834 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12834 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12835    fi
12836   else
12837    with_ltdl_include=no
# Line 11967 | Line 12847 | fi
12847   if test -n "$with_ltdl_lib"; then
12848    if test -f "$with_ltdl_lib/libltdl.la"; then :
12849    else
12850 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12850 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12851    fi
12852   else
12853    with_ltdl_lib=no
# Line 11976 | Line 12856 | fi
12856   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12857    ,yes,no,no,)
12858          case $enable_ltdl_convenience in
12859 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12859 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12860    "") enable_ltdl_convenience=yes
12861        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12862   esac
# Line 12004 | Line 12884 | $as_echo "#define HAVE_LTDL 1" >>confdef
12884          LTDLINCL=
12885          ;;
12886    ,no*,no,*)
12887 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12887 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12888          ;;
12889    *)    with_included_ltdl=no
12890          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12055 | Line 12935 | fi
12935  
12936  
12937  
12058    subdirs="$subdirs libltdl"
12059
12060
12938  
12939  
12940  
# Line 12074 | Line 12951 | do :
12951    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12952   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12953   "
12954 < eval as_val=\$$as_ac_Header
12078 <   if test "x$as_val" = x""yes; then :
12954 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12955    cat >>confdefs.h <<_ACEOF
12956   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12957   _ACEOF
# Line 12089 | Line 12965 | for ac_func in closedir opendir readdir
12965   do :
12966    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12967   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12968 < eval as_val=\$$as_ac_var
12093 <   if test "x$as_val" = x""yes; then :
12968 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12969    cat >>confdefs.h <<_ACEOF
12970   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12971   _ACEOF
# Line 12107 | Line 12982 | for ac_func in strlcat strlcpy
12982   do :
12983    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12984   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12985 < eval as_val=\$$as_ac_var
12111 <   if test "x$as_val" = x""yes; then :
12985 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12986    cat >>confdefs.h <<_ACEOF
12987   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12988   _ACEOF
# Line 12128 | Line 13002 | cat >>confdefs.h <<_ACEOF
13002   _ACEOF
13003  
13004  
13005 + name=
13006 + eval "lt_libprefix=\"$libname_spec\""
13007 +
13008 + cat >>confdefs.h <<_ACEOF
13009 + #define LT_LIBPREFIX "$lt_libprefix"
13010 + _ACEOF
13011 +
13012 +
13013   name=ltdl
13014 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13014 > eval "LTDLOPEN=\"$libname_spec\""
13015  
13016  
13017  
# Line 12147 | Line 13029 | LIBTOOL="$LIBTOOL --silent"
13029  
13030    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13031   $as_echo_n "checking for library containing socket... " >&6; }
13032 < if test "${ac_cv_search_socket+set}" = set; then :
13032 > if ${ac_cv_search_socket+:} false; then :
13033    $as_echo_n "(cached) " >&6
13034   else
13035    ac_func_search_save_LIBS=$LIBS
# Line 12181 | Line 13063 | for ac_lib in '' socket; do
13063   fi
13064   rm -f core conftest.err conftest.$ac_objext \
13065      conftest$ac_exeext
13066 <  if test "${ac_cv_search_socket+set}" = set; then :
13066 >  if ${ac_cv_search_socket+:} false; then :
13067    break
13068   fi
13069   done
13070 < if test "${ac_cv_search_socket+set}" = set; then :
13070 > if ${ac_cv_search_socket+:} false; then :
13071  
13072   else
13073    ac_cv_search_socket=no
# Line 12200 | Line 13082 | if test "$ac_res" != no; then :
13082    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13083  
13084   else
13085 <  as_fn_error "socket library not found" "$LINENO" 5
13085 >  as_fn_error $? "socket library not found" "$LINENO" 5
13086 > fi
13087 >
13088 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13089 > $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13090 > if ${ac_cv_search_inet_ntoa+:} false; then :
13091 >  $as_echo_n "(cached) " >&6
13092 > else
13093 >  ac_func_search_save_LIBS=$LIBS
13094 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13095 > /* end confdefs.h.  */
13096 >
13097 > /* Override any GCC internal prototype to avoid an error.
13098 >   Use char because int might match the return type of a GCC
13099 >   builtin and then its argument prototype would still apply.  */
13100 > #ifdef __cplusplus
13101 > extern "C"
13102 > #endif
13103 > char inet_ntoa ();
13104 > int
13105 > main ()
13106 > {
13107 > return inet_ntoa ();
13108 >  ;
13109 >  return 0;
13110 > }
13111 > _ACEOF
13112 > for ac_lib in '' nsl; do
13113 >  if test -z "$ac_lib"; then
13114 >    ac_res="none required"
13115 >  else
13116 >    ac_res=-l$ac_lib
13117 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13118 >  fi
13119 >  if ac_fn_c_try_link "$LINENO"; then :
13120 >  ac_cv_search_inet_ntoa=$ac_res
13121 > fi
13122 > rm -f core conftest.err conftest.$ac_objext \
13123 >    conftest$ac_exeext
13124 >  if ${ac_cv_search_inet_ntoa+:} false; then :
13125 >  break
13126 > fi
13127 > done
13128 > if ${ac_cv_search_inet_ntoa+:} false; then :
13129 >
13130 > else
13131 >  ac_cv_search_inet_ntoa=no
13132 > fi
13133 > rm conftest.$ac_ext
13134 > LIBS=$ac_func_search_save_LIBS
13135 > fi
13136 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13137 > $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13138 > ac_res=$ac_cv_search_inet_ntoa
13139 > if test "$ac_res" != no; then :
13140 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13141 >
13142 > fi
13143 >
13144 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13145 > $as_echo_n "checking for library containing inet_aton... " >&6; }
13146 > if ${ac_cv_search_inet_aton+:} false; then :
13147 >  $as_echo_n "(cached) " >&6
13148 > else
13149 >  ac_func_search_save_LIBS=$LIBS
13150 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13151 > /* end confdefs.h.  */
13152 >
13153 > /* Override any GCC internal prototype to avoid an error.
13154 >   Use char because int might match the return type of a GCC
13155 >   builtin and then its argument prototype would still apply.  */
13156 > #ifdef __cplusplus
13157 > extern "C"
13158 > #endif
13159 > char inet_aton ();
13160 > int
13161 > main ()
13162 > {
13163 > return inet_aton ();
13164 >  ;
13165 >  return 0;
13166 > }
13167 > _ACEOF
13168 > for ac_lib in '' resolv; do
13169 >  if test -z "$ac_lib"; then
13170 >    ac_res="none required"
13171 >  else
13172 >    ac_res=-l$ac_lib
13173 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13174 >  fi
13175 >  if ac_fn_c_try_link "$LINENO"; then :
13176 >  ac_cv_search_inet_aton=$ac_res
13177 > fi
13178 > rm -f core conftest.err conftest.$ac_objext \
13179 >    conftest$ac_exeext
13180 >  if ${ac_cv_search_inet_aton+:} false; then :
13181 >  break
13182 > fi
13183 > done
13184 > if ${ac_cv_search_inet_aton+:} false; then :
13185 >
13186 > else
13187 >  ac_cv_search_inet_aton=no
13188 > fi
13189 > rm conftest.$ac_ext
13190 > LIBS=$ac_func_search_save_LIBS
13191 > fi
13192 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13193 > $as_echo "$ac_cv_search_inet_aton" >&6; }
13194 > ac_res=$ac_cv_search_inet_aton
13195 > if test "$ac_res" != no; then :
13196 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13197 >
13198   fi
13199  
13200    for ac_func in inet_aton inet_ntop inet_pton
13201   do :
13202    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13203   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13204 < eval as_val=\$$as_ac_var
12211 <   if test "x$as_val" = x""yes; then :
13204 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13205    cat >>confdefs.h <<_ACEOF
13206   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13207   _ACEOF
# Line 12221 | Line 13214 | done
13214     #include <netdb.h>
13215  
13216   "
13217 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13217 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13218  
13219   cat >>confdefs.h <<_ACEOF
13220   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12234 | Line 13227 | ac_fn_c_check_type "$LINENO" "struct soc
13227     #include <netdb.h>
13228  
13229   "
13230 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13230 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13231  
13232   cat >>confdefs.h <<_ACEOF
13233   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12247 | Line 13240 | ac_fn_c_check_type "$LINENO" "struct add
13240     #include <netdb.h>
13241  
13242   "
13243 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13243 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13244  
13245   cat >>confdefs.h <<_ACEOF
13246   #define HAVE_STRUCT_ADDRINFO 1
# Line 12259 | Line 13252 | fi
13252    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13253    <sys/socket.h>
13254   "
13255 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13255 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13256  
13257   cat >>confdefs.h <<_ACEOF
13258   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12270 | Line 13263 | fi
13263  
13264  
13265  
13266 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13267 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13268 <
12276 < cat >>confdefs.h <<_ACEOF
12277 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12278 < _ACEOF
12279 <
12280 <
12281 < else
13266 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13267 > "
13268 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13269  
13270   $as_echo "#define IPV6 1" >>confdefs.h
13271  
# Line 12289 | Line 13276 | fi
13276   # Checks for typedefs, structures, and compiler characteristics.
13277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13278   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13279 < if test "${ac_cv_c_bigendian+set}" = set; then :
13279 > if ${ac_cv_c_bigendian+:} false; then :
13280    $as_echo_n "(cached) " >&6
13281   else
13282    ac_cv_c_bigendian=unknown
# Line 12507 | Line 13494 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13494  
13495       ;; #(
13496     *)
13497 <     as_fn_error "unknown endianness
13497 >     as_fn_error $? "unknown endianness
13498   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13499   esac
13500  
# Line 12520 | Line 13507 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13507   do :
13508    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13509   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13510 < eval as_val=\$$as_ac_var
12524 <   if test "x$as_val" = x""yes; then :
13510 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13511    cat >>confdefs.h <<_ACEOF
13512   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13513   _ACEOF
# Line 12539 | Line 13525 | done
13525  
13526  
13527  
12542
12543
13528   # Checks for header files.
13529  
13530  
# Line 12550 | Line 13534 | do :
13534    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13535   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13536   "
13537 < eval as_val=\$$as_ac_Header
12554 <   if test "x$as_val" = x""yes; then :
13537 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13538    cat >>confdefs.h <<_ACEOF
13539   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13540   _ACEOF
# Line 12576 | Line 13559 | done
13559  
13560  
13561  
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589 # check for /dev/null so we can use it to hold evil fd's
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12591 $as_echo_n "checking for /dev/null... " >&6; }
12592 if test -c /dev/null; then :
12593
12594
12595 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12596
12597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12598 $as_echo "yes" >&6; }
12599 else
12600
12601
12602 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12603
12604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12605 $as_echo "no - using devnull.log" >&6; }
12606 fi
12607
12608
13562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13563   $as_echo_n "checking for library containing crypt... " >&6; }
13564 < if test "${ac_cv_search_crypt+set}" = set; then :
13564 > if ${ac_cv_search_crypt+:} false; then :
13565    $as_echo_n "(cached) " >&6
13566   else
13567    ac_func_search_save_LIBS=$LIBS
# Line 12642 | Line 13595 | for ac_lib in '' crypt; do
13595   fi
13596   rm -f core conftest.err conftest.$ac_objext \
13597      conftest$ac_exeext
13598 <  if test "${ac_cv_search_crypt+set}" = set; then :
13598 >  if ${ac_cv_search_crypt+:} false; then :
13599    break
13600   fi
13601   done
13602 < if test "${ac_cv_search_crypt+set}" = set; then :
13602 > if ${ac_cv_search_crypt+:} false; then :
13603  
13604   else
13605    ac_cv_search_crypt=no
# Line 12663 | Line 13616 | if test "$ac_res" != no; then :
13616   fi
13617  
13618  
12666
12667
12668 # Check whether --with-zlib-path was given.
12669 if test "${with_zlib_path+set}" = set; then :
12670  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
12671 fi
12672
12673
12674 # Check whether --enable-zlib was given.
12675 if test "${enable_zlib+set}" = set; then :
12676  enableval=$enable_zlib; zlib=$enableval
12677 else
12678  zlib=yes
12679 fi
12680
12681
12682 if test "$zlib" = "yes"; then :
12683
12684  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12685 if test "x$ac_cv_header_zlib_h" = x""yes; then :
12686  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12687 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12688 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
12689  $as_echo_n "(cached) " >&6
12690 else
12691  ac_check_lib_save_LIBS=$LIBS
12692 LIBS="-lz  $LIBS"
12693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12694 /* end confdefs.h.  */
12695
12696 /* Override any GCC internal prototype to avoid an error.
12697   Use char because int might match the return type of a GCC
12698   builtin and then its argument prototype would still apply.  */
12699 #ifdef __cplusplus
12700 extern "C"
12701 #endif
12702 char zlibVersion ();
12703 int
12704 main ()
12705 {
12706 return zlibVersion ();
12707  ;
12708  return 0;
12709 }
12710 _ACEOF
12711 if ac_fn_c_try_link "$LINENO"; then :
12712  ac_cv_lib_z_zlibVersion=yes
12713 else
12714  ac_cv_lib_z_zlibVersion=no
12715 fi
12716 rm -f core conftest.err conftest.$ac_objext \
12717    conftest$ac_exeext conftest.$ac_ext
12718 LIBS=$ac_check_lib_save_LIBS
12719 fi
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12721 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12722 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12723
12724      LIBS="-lz $LIBS"
12725
12726 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12727
12728
12729 else
12730  zlib=no
12731 fi
12732
12733
12734 else
12735  zlib=no
12736 fi
12737
12738
12739
12740 fi
12741
12742
12743 # Check whether --with-libpcre-path was given.
12744 if test "${with_libpcre_path+set}" = set; then :
12745  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12746 fi
12747
12748
13619   # Check whether --enable-libpcre was given.
13620   if test "${enable_libpcre+set}" = set; then :
13621 <  enableval=$enable_libpcre; libpcre=$enableval
13621 >  enableval=$enable_libpcre;
13622   else
12753  libpcre=yes
12754 fi
12755
12756
12757 if test "$libpcre" = "yes"; then :
12758
13623    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13624 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13625 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13626 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13627 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13624 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13625 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13626 > $as_echo_n "checking for library containing pcre_study... " >&6; }
13627 > if ${ac_cv_search_pcre_study+:} false; then :
13628    $as_echo_n "(cached) " >&6
13629   else
13630 <  ac_check_lib_save_LIBS=$LIBS
12767 < LIBS="-lpcre  $LIBS"
13630 >  ac_func_search_save_LIBS=$LIBS
13631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13632   /* end confdefs.h.  */
13633  
# Line 12783 | Line 13646 | return pcre_study ();
13646    return 0;
13647   }
13648   _ACEOF
13649 < if ac_fn_c_try_link "$LINENO"; then :
13650 <  ac_cv_lib_pcre_pcre_study=yes
13651 < else
13652 <  ac_cv_lib_pcre_pcre_study=no
13649 > for ac_lib in '' pcre; do
13650 >  if test -z "$ac_lib"; then
13651 >    ac_res="none required"
13652 >  else
13653 >    ac_res=-l$ac_lib
13654 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13655 >  fi
13656 >  if ac_fn_c_try_link "$LINENO"; then :
13657 >  ac_cv_search_pcre_study=$ac_res
13658   fi
13659   rm -f core conftest.err conftest.$ac_objext \
13660 <    conftest$ac_exeext conftest.$ac_ext
13661 < LIBS=$ac_check_lib_save_LIBS
13660 >    conftest$ac_exeext
13661 >  if ${ac_cv_search_pcre_study+:} false; then :
13662 >  break
13663   fi
13664 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13665 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
12797 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
12798 <
12799 <      LIBS="-lpcre $LIBS"
12800 <
12801 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
12802 <
13664 > done
13665 > if ${ac_cv_search_pcre_study+:} false; then :
13666  
13667   else
13668 <  libpcre=no
13668 >  ac_cv_search_pcre_study=no
13669   fi
13670 + rm conftest.$ac_ext
13671 + LIBS=$ac_func_search_save_LIBS
13672 + fi
13673 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13674 + $as_echo "$ac_cv_search_pcre_study" >&6; }
13675 + ac_res=$ac_cv_search_pcre_study
13676 + if test "$ac_res" != no; then :
13677 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13678  
13679 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13680  
12809 else
12810  libpcre=no
13681   fi
13682  
13683 + fi
13684  
13685  
13686   fi
12816 if test "$libpcre" = yes; then
12817  ENABLE_PCRE_TRUE=
12818  ENABLE_PCRE_FALSE='#'
12819 else
12820  ENABLE_PCRE_TRUE='#'
12821  ENABLE_PCRE_FALSE=
12822 fi
12823
13687  
13688  
13689   # Check whether --enable-openssl was given.
# Line 12862 | Line 13725 | if test "$cf_enable_openssl" != "no"; th
13725    fi
13726  
13727        if test ! -z "$cf_openssl_basedir"; then
12865    LIBS="-lcrypto -lssl $LIBS"
13728      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13729   $as_echo "$cf_openssl_basedir" >&6; }
13730      cf_enable_openssl="yes"
12869
12870 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12871
13731    else
13732      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13733   $as_echo "not found. Please check your path." >&6; }
# Line 12881 | Line 13740 | $as_echo "disabled" >&6; }
13740   fi
13741  
13742   if test "$cf_enable_openssl" != "no"; then :
13743 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13744 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13743 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13744 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13745    if test "$cross_compiling" = yes; then :
13746    cf_openssl_version_ok=no
13747   else
13748    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13749   /* end confdefs.h.  */
13750  
13751 +
13752      #include <openssl/opensslv.h>
13753      #include <stdlib.h>
13754   int
13755   main ()
13756   {
13757 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13757 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13758    ;
13759    return 0;
13760   }
# Line 12915 | Line 13775 | $as_echo "found" >&6; }
13775  
13776      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13777   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13778 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13778 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13779    $as_echo_n "(cached) " >&6
13780   else
13781    ac_check_lib_save_LIBS=$LIBS
# Line 12949 | Line 13809 | LIBS=$ac_check_lib_save_LIBS
13809   fi
13810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13811   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13812 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
13812 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13813    cat >>confdefs.h <<_ACEOF
13814   #define HAVE_LIBCRYPTO 1
13815   _ACEOF
# Line 12959 | Line 13819 | _ACEOF
13819   fi
13820  
13821      if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13822 <  for ac_func in EVP_bf_cfb           \
13823 <                      EVP_cast5_cfb        \
13824 <                      EVP_idea_cfb         \
13825 <                      EVP_rc5_32_12_16_cfb \
13826 <                      EVP_des_ede3_cfb     \
13827 <                      EVP_des_cfb
13828 < do :
13829 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13830 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13831 < eval as_val=\$$as_ac_var
13832 <   if test "x$as_val" = x""yes; then :
13822 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13823 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13824 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13825 >  $as_echo_n "(cached) " >&6
13826 > else
13827 >  ac_check_lib_save_LIBS=$LIBS
13828 > LIBS="-lssl  $LIBS"
13829 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13830 > /* end confdefs.h.  */
13831 >
13832 > /* Override any GCC internal prototype to avoid an error.
13833 >   Use char because int might match the return type of a GCC
13834 >   builtin and then its argument prototype would still apply.  */
13835 > #ifdef __cplusplus
13836 > extern "C"
13837 > #endif
13838 > char SSL_connect ();
13839 > int
13840 > main ()
13841 > {
13842 > return SSL_connect ();
13843 >  ;
13844 >  return 0;
13845 > }
13846 > _ACEOF
13847 > if ac_fn_c_try_link "$LINENO"; then :
13848 >  ac_cv_lib_ssl_SSL_connect=yes
13849 > else
13850 >  ac_cv_lib_ssl_SSL_connect=no
13851 > fi
13852 > rm -f core conftest.err conftest.$ac_objext \
13853 >    conftest$ac_exeext conftest.$ac_ext
13854 > LIBS=$ac_check_lib_save_LIBS
13855 > fi
13856 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13857 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13858 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13859    cat >>confdefs.h <<_ACEOF
13860 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13860 > #define HAVE_LIBSSL 1
13861   _ACEOF
13862  
13863 +  LIBS="-lssl $LIBS"
13864 +
13865   fi
12978 done
13866  
13867   fi
13868  
# Line 12986 | Line 13873 | $as_echo "no - OpenSSL support disabled"
13873   fi
13874   fi
13875  
13876 < if test "$cf_enable_openssl" = yes; then
13876 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
13877    ENABLE_SSL_TRUE=
13878    ENABLE_SSL_FALSE='#'
13879   else
# Line 13011 | Line 13898 | $as_echo "#define NDEBUG 1" >>confdefs.h
13898   fi
13899  
13900  
13014 # Check whether --enable-small-net was given.
13015 if test "${enable_small_net+set}" = set; then :
13016  enableval=$enable_small_net; small_net=$enableval
13017 else
13018  small_net=no
13019 fi
13020
13021
13022 if test "$small_net" = "yes"; then :
13023
13024
13025 $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13026
13027
13028 $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13029
13030
13031 $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13032
13033
13034 $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13035
13036
13037 $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13038
13039
13040 $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
13041
13042
13043 $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13044
13045
13046 $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13047
13901  
13902 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13902 > $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
13903  
13904  
13905 < $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13053 <
13054 < else
13055 <
13905 > $as_echo "#define MP_CHUNK_SIZE_CHANNEL 64*1024" >>confdefs.h
13906  
13907  
13908 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13908 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 32*1024" >>confdefs.h
13909  
13910  
13911 < $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
13911 > $as_echo "#define MP_CHUNK_SIZE_BAN 16*1024" >>confdefs.h
13912  
13913  
13914 < $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
13914 > $as_echo "#define MP_CHUNK_SIZE_CLIENT 256*1024" >>confdefs.h
13915  
13916  
13917 < $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
13917 > $as_echo "#define MP_CHUNK_SIZE_LCLIENT 128*1024" >>confdefs.h
13918  
13919  
13920 < $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
13920 > $as_echo "#define MP_CHUNK_SIZE_DNODE 8*1024" >>confdefs.h
13921  
13922  
13923 < $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
13923 > $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
13924  
13925  
13926 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13926 > $as_echo "#define MP_CHUNK_SIZE_AUTH 32*1024" >>confdefs.h
13927  
13928  
13929 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13929 > $as_echo "#define MP_CHUNK_SIZE_DNS 16*1024" >>confdefs.h
13930  
13931  
13932 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13083 <
13084 <
13085 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13086 <
13087 < fi
13932 > $as_echo "#define MP_CHUNK_SIZE_WATCH 4*1024" >>confdefs.h
13933  
13934  
13935   # Argument processing.
# Line 13191 | Line 14036 | _ACEOF
14036    if test "$cross_compiling" = yes; then :
14037    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14038   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14039 < as_fn_error "cannot run test program while cross compiling
14040 < See \`config.log' for more details." "$LINENO" 5; }
14039 > as_fn_error $? "cannot run test program while cross compiling
14040 > See \`config.log' for more details" "$LINENO" 5; }
14041   else
14042    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14043   /* end confdefs.h.  */
# Line 13225 | Line 14070 | else
14070   #endif
14071   _syscall1(int, epoll_create, int, size)
14072   #endif
13228 main() { return epoll_create(256) == -1 ? 1 : 0; }
14073  
14074 + int
14075 + main ()
14076 + {
14077 + return epoll_create(256) == -1 ? 1 : 0
14078 +  ;
14079 +  return 0;
14080 + }
14081   _ACEOF
14082   if ac_fn_c_try_run "$LINENO"; then :
14083    is_epoll_mechanism_available="yes"
# Line 13296 | Line 14147 | _ACEOF
14147    if test "$cross_compiling" = yes; then :
14148    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14149   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14150 < as_fn_error "cannot run test program while cross compiling
14151 < See \`config.log' for more details." "$LINENO" 5; }
14150 > as_fn_error $? "cannot run test program while cross compiling
14151 > See \`config.log' for more details" "$LINENO" 5; }
14152   else
14153    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14154   /* end confdefs.h.  */
14155  
14156 + #define _GNU_SOURCE
14157   #include <fcntl.h>
14158 < #ifdef F_SETSIG
13307 < main () { return 0; } /* F_SETSIG defined */
13308 < #else
13309 < main () { return 1; } /* F_SETSIG not defined */
13310 < #endif
14158 > static unsigned int have_f_setsig = 0;
14159  
14160   int
14161   main ()
14162   {
14163  
14164 + #ifdef F_SETSIG
14165 +  have_f_setsig = 1;
14166 + #endif
14167 +  return have_f_setsig == 0;
14168 +
14169    ;
14170    return 0;
14171   }
# Line 13446 | Line 14299 | rm -f core conftest.err conftest.$ac_obj
14299      if test "$optimal_iopoll_mechanism" = "none" ; then
14300        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14301   $as_echo "none" >&6; }
14302 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14302 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14303      else
14304        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14305        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13461 | Line 14314 | $as_echo "$selected_iopoll_mechanism" >&
14314      else
14315        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14316   $as_echo "none" >&6; }
14317 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14317 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14318      fi
14319    fi
14320        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13482 | Line 14335 | fi
14335  
14336  
14337   cat >>confdefs.h <<_ACEOF
14338 < #define NICKLEN ($nicklen+1)
14338 > #define NICKLEN ($nicklen)
14339   _ACEOF
14340  
14341  
# Line 13502 | Line 14355 | _ACEOF
14355  
14356  
14357  
13505
13506 # Check whether --with-syslog-facility was given.
13507 if test "${with_syslog_facility+set}" = set; then :
13508  withval=$with_syslog_facility; syslog_facility="$withval"
13509 else
13510  syslog_facility="LOG_LOCAL4"
13511 fi
13512
13513
13514 cat >>confdefs.h <<_ACEOF
13515 #define LOG_FACILITY $syslog_facility
13516 _ACEOF
13517
13518
13519
13520  # Check whether --enable-efnet was given.
13521 if test "${enable_efnet+set}" = set; then :
13522  enableval=$enable_efnet; efnet="$enableval"
13523 else
13524  efnet="no"
13525 fi
13526
13527  if test "$efnet" = "yes" ; then
13528                use_efnet="yes"
13529
13530 $as_echo "#define EFNET 1" >>confdefs.h
13531
13532
13533 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13534
13535        else
13536                use_efnet="no"
13537  fi
13538   if test "$use_efnet" = "yes"; then
13539  EFNET_TRUE=
13540  EFNET_FALSE='#'
13541 else
13542  EFNET_TRUE='#'
13543  EFNET_FALSE=
13544 fi
13545
13546
13547
14358    # Check whether --enable-halfops was given.
14359   if test "${enable_halfops+set}" = set; then :
14360    enableval=$enable_halfops; halfops="$enableval"
# Line 13567 | Line 14377 | else
14377   fi
14378  
14379    if test "$debugging" = "yes" ; then
13570
13571 $as_echo "#define DEBUG 1" >>confdefs.h
13572
14380      CFLAGS="-Wall -g -O0"
13574  else
13575
13576 $as_echo "#define NDEBUG 1" >>confdefs.h
13577
14381    fi
14382  
14383  
# Line 13590 | Line 14393 | fi
14393    fi
14394  
14395  
13593  for ac_header in syslog.h sys/syslog.h
13594 do :
13595  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13596 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13597 eval as_val=\$$as_ac_Header
13598   if test "x$as_val" = x""yes; then :
13599  cat >>confdefs.h <<_ACEOF
13600 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13601 _ACEOF
13602
13603 fi
13604
13605 done
13606
13607  # Check whether --enable-syslog was given.
13608 if test "${enable_syslog+set}" = set; then :
13609  enableval=$enable_syslog; syslog="$enableval"
13610 else
13611  syslog="no"
13612 fi
13613
13614  if test "$enableval" != "no" ; then
13615    for option in $enableval ; do
13616      case "$option" in
13617        users)
13618 $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13619 ;;
13620        oper)
13621 $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13622 ;;
13623        yes) : ;;
13624        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13625      esac
13626    done
13627
13628 $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13629
13630  fi
13631
13632
14396  
14397    prefix_NONE=
14398    exec_prefix_NONE=
# Line 13716 | Line 14479 | _ACEOF
14479    test "$exec_prefix_NONE" && exec_prefix=NONE
14480  
14481  
14482 < ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14482 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14483  
14484  
14485   cat >confcache <<\_ACEOF
# Line 13783 | Line 14546 | $as_echo "$as_me: WARNING: cache variabl
14546       :end' >>confcache
14547   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14548    if test -w "$cache_file"; then
14549 <    test "x$cache_file" != "x/dev/null" &&
14549 >    if test "x$cache_file" != "x/dev/null"; then
14550        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14551   $as_echo "$as_me: updating cache $cache_file" >&6;}
14552 <    cat confcache >$cache_file
14552 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14553 >        cat confcache >"$cache_file"
14554 >      else
14555 >        case $cache_file in #(
14556 >        */* | ?:*)
14557 >          mv -f confcache "$cache_file"$$ &&
14558 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14559 >        *)
14560 >          mv -f confcache "$cache_file" ;;
14561 >        esac
14562 >      fi
14563 >    fi
14564    else
14565      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14566   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13802 | Line 14576 | DEFS=-DHAVE_CONFIG_H
14576  
14577   ac_libobjs=
14578   ac_ltlibobjs=
14579 + U=
14580   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14581    # 1. Remove the extension, and $U if already installed.
14582    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13816 | Line 14591 | LIBOBJS=$ac_libobjs
14591   LTLIBOBJS=$ac_ltlibobjs
14592  
14593  
14594 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14595 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
14596 +   if test -n "$am_sleep_pid"; then
14597 +     # Hide warnings about reused PIDs.
14598 +     wait $am_sleep_pid 2>/dev/null
14599 +   fi
14600 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14601 + $as_echo "done" >&6; }
14602   if test -n "$EXEEXT"; then
14603    am__EXEEXT_TRUE=
14604    am__EXEEXT_FALSE='#'
# Line 13825 | Line 14608 | else
14608   fi
14609  
14610   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14611 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14611 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14612   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14613   fi
14614   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14615 <  as_fn_error "conditional \"AMDEP\" was never defined.
14615 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14616   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14617   fi
14618   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14619 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14619 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14620   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14621   fi
14622   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14623 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14623 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14624   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14625   fi
14626   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14627 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14627 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14628   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14629   fi
14630   LT_CONFIG_H=config.h
# Line 13862 | Line 14645 | LT_CONFIG_H=config.h
14645  
14646  
14647  
13865 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13866  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13868 fi
14648   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14649 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13871 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13872 < fi
13873 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13874 <  as_fn_error "conditional \"EFNET\" was never defined.
14649 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14650   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14651   fi
14652  
14653 < : ${CONFIG_STATUS=./config.status}
14653 > : "${CONFIG_STATUS=./config.status}"
14654   ac_write_fail=0
14655   ac_clean_files_save=$ac_clean_files
14656   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13976 | Line 14751 | fi
14751   IFS=" ""        $as_nl"
14752  
14753   # Find who we are.  Look in the path if we contain no directory separator.
14754 + as_myself=
14755   case $0 in #((
14756    *[\\/]* ) as_myself=$0 ;;
14757    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14021 | Line 14797 | export LANGUAGE
14797   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14798  
14799  
14800 < # as_fn_error ERROR [LINENO LOG_FD]
14801 < # ---------------------------------
14800 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14801 > # ----------------------------------------
14802   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14803   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14804 < # script with status $?, using 1 if that was 0.
14804 > # script with STATUS, using 1 if that was 0.
14805   as_fn_error ()
14806   {
14807 <  as_status=$?; test $as_status -eq 0 && as_status=1
14808 <  if test "$3"; then
14809 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14810 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14807 >  as_status=$1; test $as_status -eq 0 && as_status=1
14808 >  if test "$4"; then
14809 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14810 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14811    fi
14812 <  $as_echo "$as_me: error: $1" >&2
14812 >  $as_echo "$as_me: error: $2" >&2
14813    as_fn_exit $as_status
14814   } # as_fn_error
14815  
# Line 14171 | Line 14947 | if (echo >conf$$.file) 2>/dev/null; then
14947      # ... but there are two gotchas:
14948      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14949      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14950 <    # In both cases, we have to default to `cp -p'.
14950 >    # In both cases, we have to default to `cp -pR'.
14951      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14952 <      as_ln_s='cp -p'
14952 >      as_ln_s='cp -pR'
14953    elif ln conf$$.file conf$$ 2>/dev/null; then
14954      as_ln_s=ln
14955    else
14956 <    as_ln_s='cp -p'
14956 >    as_ln_s='cp -pR'
14957    fi
14958   else
14959 <  as_ln_s='cp -p'
14959 >  as_ln_s='cp -pR'
14960   fi
14961   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14962   rmdir conf$$.dir 2>/dev/null
# Line 14229 | Line 15005 | $as_echo X"$as_dir" |
15005        test -d "$as_dir" && break
15006      done
15007      test -z "$as_dirs" || eval "mkdir $as_dirs"
15008 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15008 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15009  
15010  
15011   } # as_fn_mkdir_p
# Line 14240 | Line 15016 | else
15016    as_mkdir_p=false
15017   fi
15018  
15019 < if test -x / >/dev/null 2>&1; then
15020 <  as_test_x='test -x'
15021 < else
15022 <  if ls -dL / >/dev/null 2>&1; then
15023 <    as_ls_L_option=L
15024 <  else
15025 <    as_ls_L_option=
15026 <  fi
15027 <  as_test_x='
15028 <    eval sh -c '\''
14253 <      if test -d "$1"; then
14254 <        test -d "$1/.";
14255 <      else
14256 <        case $1 in #(
14257 <        -*)set "./$1";;
14258 <        esac;
14259 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14260 <        ???[sx]*):;;*)false;;esac;fi
14261 <    '\'' sh
14262 <  '
14263 < fi
14264 < as_executable_p=$as_test_x
15019 >
15020 > # as_fn_executable_p FILE
15021 > # -----------------------
15022 > # Test if FILE is an executable regular file.
15023 > as_fn_executable_p ()
15024 > {
15025 >  test -f "$1" && test -x "$1"
15026 > } # as_fn_executable_p
15027 > as_test_x='test -x'
15028 > as_executable_p=as_fn_executable_p
15029  
15030   # Sed expression to map a string onto a valid CPP name.
15031   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14282 | Line 15046 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15046   # report actual input values of CONFIG_FILES etc. instead of their
15047   # values after options handling.
15048   ac_log="
15049 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15050 < generated by GNU Autoconf 2.65.  Invocation command line was
15049 > This file was extended by ircd-hybrid $as_me 8.0.0, which was
15050 > generated by GNU Autoconf 2.69.  Invocation command line was
15051  
15052    CONFIG_FILES    = $CONFIG_FILES
15053    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14348 | Line 15112 | _ACEOF
15112   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15113   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15114   ac_cs_version="\\
15115 < ircd-hybrid config.status 7.3-rc1
15116 < configured by $0, generated by GNU Autoconf 2.65,
15115 > ircd-hybrid config.status 8.0.0
15116 > configured by $0, generated by GNU Autoconf 2.69,
15117    with options \\"\$ac_cs_config\\"
15118  
15119 < Copyright (C) 2009 Free Software Foundation, Inc.
15119 > Copyright (C) 2012 Free Software Foundation, Inc.
15120   This config.status script is free software; the Free Software Foundation
15121   gives unlimited permission to copy, distribute and modify it."
15122  
# Line 14370 | Line 15134 | ac_need_defaults=:
15134   while test $# != 0
15135   do
15136    case $1 in
15137 <  --*=*)
15137 >  --*=?*)
15138      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15139      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15140      ac_shift=:
15141      ;;
15142 +  --*=)
15143 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15144 +    ac_optarg=
15145 +    ac_shift=:
15146 +    ;;
15147    *)
15148      ac_option=$1
15149      ac_optarg=$2
# Line 14396 | Line 15165 | do
15165      $ac_shift
15166      case $ac_optarg in
15167      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15168 +    '') as_fn_error $? "missing file argument" ;;
15169      esac
15170      as_fn_append CONFIG_FILES " '$ac_optarg'"
15171      ac_need_defaults=false;;
# Line 14408 | Line 15178 | do
15178      ac_need_defaults=false;;
15179    --he | --h)
15180      # Conflict between --help and --header
15181 <    as_fn_error "ambiguous option: \`$1'
15181 >    as_fn_error $? "ambiguous option: \`$1'
15182   Try \`$0 --help' for more information.";;
15183    --help | --hel | -h )
15184      $as_echo "$ac_cs_usage"; exit ;;
# Line 14417 | Line 15187 | Try \`$0 --help' for more information.";
15187      ac_cs_silent=: ;;
15188  
15189    # This is an error.
15190 <  -*) as_fn_error "unrecognized option: \`$1'
15190 >  -*) as_fn_error $? "unrecognized option: \`$1'
15191   Try \`$0 --help' for more information." ;;
15192  
15193    *) as_fn_append ac_config_targets " $1"
# Line 14437 | Line 15207 | fi
15207   _ACEOF
15208   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15209   if \$ac_cs_recheck; then
15210 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15210 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15211    shift
15212    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15213    CONFIG_SHELL='$SHELL'
# Line 14471 | Line 15241 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
15241   sed_quote_subst='$sed_quote_subst'
15242   double_quote_subst='$double_quote_subst'
15243   delay_variable_subst='$delay_variable_subst'
15244 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15245 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15246 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15247 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15248 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15249 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15250 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15251 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15252 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15253 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15254 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15255 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15256 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15257 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15258 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15259 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15260 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15261 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15262 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15263 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15264 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15265 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15266 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15267 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15268 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15269 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15270 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15271 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15272 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15273 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15274 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15275 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15276 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15277 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15278 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15279 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15280 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15281 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15282 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15283 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15284 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15285 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15286 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15287 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15288 < 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"`'
15289 < 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"`'
15290 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15291 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15292 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15293 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15294 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15295 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15296 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15297 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15298 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15299 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15300 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15301 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15302 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15303 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15304 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15305 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15306 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15307 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15308 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15309 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15310 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15311 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15312 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15313 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15314 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15315 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15316 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15317 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15318 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15319 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15320 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15321 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15322 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15323 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15324 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15325 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15326 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15327 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15328 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15329 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15330 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15331 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15332 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15333 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15334 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15335 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15336 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15337 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15338 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15339 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15340 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15341 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15342 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15343 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15344 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15345 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15346 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15347 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15348 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15349 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15350 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15351 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15352 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15353 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15354 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15355 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15356 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15357 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15358 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15359 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15360 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15361 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15244 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15245 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15246 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15247 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15248 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15249 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15250 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15251 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15252 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15253 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15254 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15255 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15256 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15257 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15258 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15259 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15260 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15261 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15262 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15263 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15264 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15265 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15266 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15267 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15268 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15269 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15270 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15271 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15272 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15273 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15274 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15275 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15276 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15277 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15278 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15279 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15280 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15281 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15282 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15283 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15284 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15285 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15286 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15287 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15288 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15289 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15290 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15291 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15292 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15293 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15294 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15295 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15296 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15297 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15298 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15299 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15300 > 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"`'
15301 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15302 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15303 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15304 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15305 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15306 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15307 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15308 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15309 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15310 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15311 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15312 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15313 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15314 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15315 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15316 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15317 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15318 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15319 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15320 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15321 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15322 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15323 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15324 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15325 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15326 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15327 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15328 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15329 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15330 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15331 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15332 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15333 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15334 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15335 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15336 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15337 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15338 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15339 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15340 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15341 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15342 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15343 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15344 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15345 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15346 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15347 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15348 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15349 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15350 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15351 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15352 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15353 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15354 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15355 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15356 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15357 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15358 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15359 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15360 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15361 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15362 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15363 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15364 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15365 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15366 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15367 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15368 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15369 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15370 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15371 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15372 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15373 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15374  
15375   LTCC='$LTCC'
15376   LTCFLAGS='$LTCFLAGS'
15377   compiler='$compiler_DEFAULT'
15378  
15379 + # A function that is used when there is no print builtin or printf.
15380 + func_fallback_echo ()
15381 + {
15382 +  eval 'cat <<_LTECHO_EOF
15383 + \$1
15384 + _LTECHO_EOF'
15385 + }
15386 +
15387   # Quote evaled strings.
15388 < for var in SED \
15388 > for var in SHELL \
15389 > ECHO \
15390 > PATH_SEPARATOR \
15391 > SED \
15392   GREP \
15393   EGREP \
15394   FGREP \
# Line 14608 | Line 15401 | reload_flag \
15401   OBJDUMP \
15402   deplibs_check_method \
15403   file_magic_cmd \
15404 + file_magic_glob \
15405 + want_nocaseglob \
15406 + DLLTOOL \
15407 + sharedlib_from_linklib_cmd \
15408   AR \
15409   AR_FLAGS \
15410 + archiver_list_spec \
15411   STRIP \
15412   RANLIB \
15413   CC \
# Line 14619 | Line 15417 | lt_cv_sys_global_symbol_pipe \
15417   lt_cv_sys_global_symbol_to_cdecl \
15418   lt_cv_sys_global_symbol_to_c_name_address \
15419   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15420 < SHELL \
14623 < ECHO \
15420 > nm_file_list_spec \
15421   lt_prog_compiler_no_builtin_flag \
14625 lt_prog_compiler_wl \
15422   lt_prog_compiler_pic \
15423 + lt_prog_compiler_wl \
15424   lt_prog_compiler_static \
15425   lt_cv_prog_compiler_c_o \
15426   need_locks \
15427 + MANIFEST_TOOL \
15428   DSYMUTIL \
15429   NMEDIT \
15430   LIPO \
# Line 14640 | Line 15438 | with_gnu_ld \
15438   allow_undefined_flag \
15439   no_undefined_flag \
15440   hardcode_libdir_flag_spec \
14643 hardcode_libdir_flag_spec_ld \
15441   hardcode_libdir_separator \
14645 fix_srcfile_path \
15442   exclude_expsyms \
15443   include_expsyms \
15444   file_list_spec \
# Line 14650 | Line 15446 | variables_saved_for_relink \
15446   libname_spec \
15447   library_names_spec \
15448   soname_spec \
15449 + install_override_mode \
15450   finish_eval \
15451   old_striplib \
15452   striplib; do
15453 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15453 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15454      *[\\\\\\\`\\"\\\$]*)
15455 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15455 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15456        ;;
15457      *)
15458        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14677 | Line 15474 | module_cmds \
15474   module_expsym_cmds \
15475   export_symbols_cmds \
15476   prelink_cmds \
15477 + postlink_cmds \
15478   postinstall_cmds \
15479   postuninstall_cmds \
15480   finish_cmds \
15481   sys_lib_search_path_spec \
15482   sys_lib_dlsearch_path_spec; do
15483 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15483 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15484      *[\\\\\\\`\\"\\\$]*)
15485 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15485 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15486        ;;
15487      *)
15488        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14692 | Line 15490 | sys_lib_dlsearch_path_spec; do
15490      esac
15491   done
15492  
14695 # Fix-up fallback echo if it was mangled by the above quoting rules.
14696 case \$lt_ECHO in
14697 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14698  ;;
14699 esac
14700
15493   ac_aux_dir='$ac_aux_dir'
15494   xsi_shell='$xsi_shell'
15495   lt_shell_append='$lt_shell_append'
# Line 14730 | Line 15522 | do
15522      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15523      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15524      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14733    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14734    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14735    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14736    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15525      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15526 +    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15527      "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
15528      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
15529      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
# Line 14744 | Line 15533 | do
15533      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
15534      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15535  
15536 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15536 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15537    esac
15538   done
15539  
# Line 14767 | Line 15556 | fi
15556   # after its creation but before its name has been assigned to `$tmp'.
15557   $debug ||
15558   {
15559 <  tmp=
15559 >  tmp= ac_tmp=
15560    trap 'exit_status=$?
15561 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15561 >  : "${ac_tmp:=$tmp}"
15562 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15563   ' 0
15564    trap 'as_fn_exit 1' 1 2 13 15
15565   }
# Line 14777 | Line 15567 | $debug ||
15567  
15568   {
15569    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15570 <  test -n "$tmp" && test -d "$tmp"
15570 >  test -d "$tmp"
15571   }  ||
15572   {
15573    tmp=./conf$$-$RANDOM
15574    (umask 077 && mkdir "$tmp")
15575 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15575 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15576 > ac_tmp=$tmp
15577  
15578   # Set up the scripts for CONFIG_FILES section.
15579   # No need to generate them if there are no CONFIG_FILES.
# Line 14799 | Line 15590 | if test "x$ac_cr" = x; then
15590   fi
15591   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15592   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15593 <  ac_cs_awk_cr='\r'
15593 >  ac_cs_awk_cr='\\r'
15594   else
15595    ac_cs_awk_cr=$ac_cr
15596   fi
15597  
15598 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15598 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15599   _ACEOF
15600  
15601  
# Line 14813 | Line 15604 | _ACEOF
15604    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15605    echo "_ACEOF"
15606   } >conf$$subs.sh ||
15607 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15608 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15607 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15608 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15609   ac_delim='%!_!# '
15610   for ac_last_try in false false false false false :; do
15611    . ./conf$$subs.sh ||
15612 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15612 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15613  
15614    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15615    if test $ac_delim_n = $ac_delim_num; then
15616      break
15617    elif $ac_last_try; then
15618 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15618 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15619    else
15620      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15621    fi
# Line 14832 | Line 15623 | done
15623   rm -f conf$$subs.sh
15624  
15625   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15626 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15626 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15627   _ACEOF
15628   sed -n '
15629   h
# Line 14880 | Line 15671 | t delim
15671   rm -f conf$$subs.awk
15672   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15673   _ACAWK
15674 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15674 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15675    for (key in S) S_is_set[key] = 1
15676    FS = ""
15677  
# Line 14912 | Line 15703 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15703    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15704   else
15705    cat
15706 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15707 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15706 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15707 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15708   _ACEOF
15709  
15710 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15711 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15710 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15711 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15712   # trailing colons and then remove the whole line if VPATH becomes empty
15713   # (actually we leave an empty line to preserve line numbers).
15714   if test "x$srcdir" = x.; then
15715 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15716 < s/:*\$(srcdir):*/:/
15717 < s/:*\${srcdir}:*/:/
15718 < s/:*@srcdir@:*/:/
15719 < s/^\([^=]*=[     ]*\):*/\1/
15715 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15716 > h
15717 > s///
15718 > s/^/:/
15719 > s/[      ]*$/:/
15720 > s/:\$(srcdir):/:/g
15721 > s/:\${srcdir}:/:/g
15722 > s/:@srcdir@:/:/g
15723 > s/^:*//
15724   s/:*$//
15725 + x
15726 + s/\(=[   ]*\).*/\1/
15727 + G
15728 + s/\n//
15729   s/^[^=]*=[       ]*$//
15730   }'
15731   fi
# Line 14938 | Line 15737 | fi # test -n "$CONFIG_FILES"
15737   # No need to generate them if there are no CONFIG_HEADERS.
15738   # This happens for instance with `./config.status Makefile'.
15739   if test -n "$CONFIG_HEADERS"; then
15740 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15740 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15741   BEGIN {
15742   _ACEOF
15743  
# Line 14950 | Line 15749 | _ACEOF
15749   # handling of long lines.
15750   ac_delim='%!_!# '
15751   for ac_last_try in false false :; do
15752 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15753 <  if test -z "$ac_t"; then
15752 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15753 >  if test -z "$ac_tt"; then
15754      break
15755    elif $ac_last_try; then
15756 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15756 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15757    else
15758      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15759    fi
# Line 15039 | Line 15838 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15838   _ACAWK
15839   _ACEOF
15840   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15841 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15841 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15842   fi # test -n "$CONFIG_HEADERS"
15843  
15844  
# Line 15052 | Line 15851 | do
15851    esac
15852    case $ac_mode$ac_tag in
15853    :[FHL]*:*);;
15854 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15854 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15855    :[FH]-) ac_tag=-:-;;
15856    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15857    esac
# Line 15071 | Line 15870 | do
15870      for ac_f
15871      do
15872        case $ac_f in
15873 <      -) ac_f="$tmp/stdin";;
15873 >      -) ac_f="$ac_tmp/stdin";;
15874        *) # Look for the file first in the build tree, then in the source tree
15875           # (if the path is not absolute).  The absolute path cannot be DOS-style,
15876           # because $ac_f cannot contain `:'.
# Line 15080 | Line 15879 | do
15879             [\\/$]*) false;;
15880             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15881             esac ||
15882 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15882 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15883        esac
15884        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15885        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15106 | Line 15905 | $as_echo "$as_me: creating $ac_file" >&6
15905      esac
15906  
15907      case $ac_tag in
15908 <    *:-:* | *:-) cat >"$tmp/stdin" \
15909 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15908 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15909 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15910      esac
15911      ;;
15912    esac
# Line 15243 | Line 16042 | s&@INSTALL@&$ac_INSTALL&;t t
16042   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16043   $ac_datarootdir_hack
16044   "
16045 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16046 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16045 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16046 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16047  
16048   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16049 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16050 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16049 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16050 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16051 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16052    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16053 < which seems to be undefined.  Please make sure it is defined." >&5
16053 > which seems to be undefined.  Please make sure it is defined" >&5
16054   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16055 < which seems to be undefined.  Please make sure it is defined." >&2;}
16055 > which seems to be undefined.  Please make sure it is defined" >&2;}
16056  
16057 <  rm -f "$tmp/stdin"
16057 >  rm -f "$ac_tmp/stdin"
16058    case $ac_file in
16059 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16060 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16059 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16060 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16061    esac \
16062 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16062 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16063   ;;
16064    :H)
16065    #
# Line 15268 | Line 16068 | which seems to be undefined.  Please mak
16068    if test x"$ac_file" != x-; then
16069      {
16070        $as_echo "/* $configure_input  */" \
16071 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16072 <    } >"$tmp/config.h" \
16073 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16074 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16071 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16072 >    } >"$ac_tmp/config.h" \
16073 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16074 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16075        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16076   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16077      else
16078        rm -f "$ac_file"
16079 <      mv "$tmp/config.h" "$ac_file" \
16080 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16079 >      mv "$ac_tmp/config.h" "$ac_file" \
16080 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16081      fi
16082    else
16083      $as_echo "/* $configure_input  */" \
16084 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16085 <      || as_fn_error "could not create -" "$LINENO" 5
16084 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16085 >      || as_fn_error $? "could not create -" "$LINENO" 5
16086    fi
16087   # Compute "$ac_file"'s index in $config_headers.
16088   _am_arg="$ac_file"
# Line 15341 | Line 16141 | $as_echo "$as_me: executing $ac_file com
16141      # Strip MF so we end up with the name of the file.
16142      mf=`echo "$mf" | sed -e 's/:.*$//'`
16143      # Check whether this is an Automake generated Makefile or not.
16144 <    # We used to match only the files named `Makefile.in', but
16144 >    # We used to match only the files named 'Makefile.in', but
16145      # some people rename them; so instead we look at the file content.
16146      # Grep'ing the first line is not enough: some people post-process
16147      # each Makefile.in and add a new line on top of each file to say so.
# Line 15375 | Line 16175 | $as_echo X"$mf" |
16175        continue
16176      fi
16177      # Extract the definition of DEPDIR, am__include, and am__quote
16178 <    # from the Makefile without running `make'.
16178 >    # from the Makefile without running 'make'.
16179      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16180      test -z "$DEPDIR" && continue
16181      am__include=`sed -n 's/^am__include = //p' < "$mf"`
16182      test -z "am__include" && continue
16183      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15384    # When using ansi2knr, U may be empty or an underscore; expand it
15385    U=`sed -n 's/^U = //p' < "$mf"`
16184      # Find all dependency output files, they are included files with
16185      # $(DEPDIR) in their names.  We invoke sed twice because it is the
16186      # simplest approach to changing $(DEPDIR) to its actual value in the
16187      # expansion.
16188      for file in `sed -n "
16189        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16190 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16190 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16191        # Make sure the directory exists.
16192        test -f "$dirpart/$file" && continue
16193        fdir=`$as_dirname -- "$file" ||
# Line 15443 | Line 16241 | $as_echo X"$file" |
16241   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16242   #
16243   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16244 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
16244 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16245 > #                 Foundation, Inc.
16246   #   Written by Gordon Matzigkeit, 1996
16247   #
16248   #   This file is part of GNU Libtool.
# Line 15491 | Line 16290 | pic_mode=$pic_mode
16290   # Whether or not to optimize for fast installation.
16291   fast_install=$enable_fast_install
16292  
16293 + # Shell to use when invoking shell scripts.
16294 + SHELL=$lt_SHELL
16295 +
16296 + # An echo program that protects backslashes.
16297 + ECHO=$lt_ECHO
16298 +
16299 + # The PATH separator for the build system.
16300 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16301 +
16302   # The host system.
16303   host_alias=$host_alias
16304   host=$host
# Line 15540 | Line 16348 | SP2NL=$lt_lt_SP2NL
16348   # turn newlines into spaces.
16349   NL2SP=$lt_lt_NL2SP
16350  
16351 < # How to create reloadable object files.
16352 < reload_flag=$lt_reload_flag
16353 < reload_cmds=$lt_reload_cmds
16351 > # convert \$build file names to \$host format.
16352 > to_host_file_cmd=$lt_cv_to_host_file_cmd
16353 >
16354 > # convert \$build files to toolchain format.
16355 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16356  
16357   # An object symbol dumper.
16358   OBJDUMP=$lt_OBJDUMP
# Line 15550 | Line 16360 | OBJDUMP=$lt_OBJDUMP
16360   # Method to check whether dependent libraries are shared objects.
16361   deplibs_check_method=$lt_deplibs_check_method
16362  
16363 < # Command to use when deplibs_check_method == "file_magic".
16363 > # Command to use when deplibs_check_method = "file_magic".
16364   file_magic_cmd=$lt_file_magic_cmd
16365  
16366 + # How to find potential files when deplibs_check_method = "file_magic".
16367 + file_magic_glob=$lt_file_magic_glob
16368 +
16369 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16370 + want_nocaseglob=$lt_want_nocaseglob
16371 +
16372 + # DLL creation program.
16373 + DLLTOOL=$lt_DLLTOOL
16374 +
16375 + # Command to associate shared and link libraries.
16376 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16377 +
16378   # The archiver.
16379   AR=$lt_AR
16380 +
16381 + # Flags to create an archive.
16382   AR_FLAGS=$lt_AR_FLAGS
16383  
16384 + # How to feed a file listing to the archiver.
16385 + archiver_list_spec=$lt_archiver_list_spec
16386 +
16387   # A symbol stripping program.
16388   STRIP=$lt_STRIP
16389  
# Line 15565 | Line 16392 | RANLIB=$lt_RANLIB
16392   old_postinstall_cmds=$lt_old_postinstall_cmds
16393   old_postuninstall_cmds=$lt_old_postuninstall_cmds
16394  
16395 + # Whether to use a lock for old archive extraction.
16396 + lock_old_archive_extraction=$lock_old_archive_extraction
16397 +
16398   # A C compiler.
16399   LTCC=$lt_CC
16400  
# Line 15583 | Line 16413 | global_symbol_to_c_name_address=$lt_lt_c
16413   # Transform the output of nm in a C name address pair when lib prefix is needed.
16414   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16415  
16416 < # The name of the directory that contains temporary libtool files.
16417 < objdir=$objdir
16416 > # Specify filename containing input files for \$NM.
16417 > nm_file_list_spec=$lt_nm_file_list_spec
16418  
16419 < # Shell to use when invoking shell scripts.
16420 < SHELL=$lt_SHELL
16419 > # The root where to search for dependent libraries,and in which our libraries should be installed.
16420 > lt_sysroot=$lt_sysroot
16421  
16422 < # An echo program that does not interpret backslashes.
16423 < ECHO=$lt_ECHO
16422 > # The name of the directory that contains temporary libtool files.
16423 > objdir=$objdir
16424  
16425   # Used to examine libraries when file_magic_cmd begins with "file".
16426   MAGIC_CMD=$MAGIC_CMD
# Line 15598 | Line 16428 | MAGIC_CMD=$MAGIC_CMD
16428   # Must we lock files when doing compilation?
16429   need_locks=$lt_need_locks
16430  
16431 + # Manifest tool.
16432 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16433 +
16434   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16435   DSYMUTIL=$lt_DSYMUTIL
16436  
# Line 15654 | Line 16487 | library_names_spec=$lt_library_names_spe
16487   # The coded name of the library, if different from the real name.
16488   soname_spec=$lt_soname_spec
16489  
16490 + # Permission mode override for installation of shared libraries.
16491 + install_override_mode=$lt_install_override_mode
16492 +
16493   # Command to use after installation of a shared archive.
16494   postinstall_cmds=$lt_postinstall_cmds
16495  
# Line 15693 | Line 16529 | striplib=$lt_striplib
16529   # The linker used to build libraries.
16530   LD=$lt_LD
16531  
16532 + # How to create reloadable object files.
16533 + reload_flag=$lt_reload_flag
16534 + reload_cmds=$lt_reload_cmds
16535 +
16536   # Commands used to build an old-style archive.
16537   old_archive_cmds=$lt_old_archive_cmds
16538  
# Line 15705 | Line 16545 | with_gcc=$GCC
16545   # Compiler flag to turn off builtin functions.
16546   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16547  
15708 # How to pass a linker flag through the compiler.
15709 wl=$lt_lt_prog_compiler_wl
15710
16548   # Additional compiler flags for building library objects.
16549   pic_flag=$lt_lt_prog_compiler_pic
16550  
16551 + # How to pass a linker flag through the compiler.
16552 + wl=$lt_lt_prog_compiler_wl
16553 +
16554   # Compiler flag to prevent dynamic linking.
16555   link_static_flag=$lt_lt_prog_compiler_static
16556  
# Line 15760 | Line 16600 | no_undefined_flag=$lt_no_undefined_flag
16600   # This must work even if \$libdir does not exist
16601   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16602  
15763 # If ld is used when linking, flag to hardcode \$libdir into a binary
15764 # during linking.  This must work even if \$libdir does not exist.
15765 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15766
16603   # Whether we need a single "-rpath" flag with a separated argument.
16604   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16605  
# Line 15797 | Line 16633 | inherit_rpath=$inherit_rpath
16633   # Whether libtool must link a program against all its dependency libraries.
16634   link_all_deplibs=$link_all_deplibs
16635  
15800 # Fix the shell variable \$srcfile for the compiler.
15801 fix_srcfile_path=$lt_fix_srcfile_path
15802
16636   # Set to "yes" if exported symbols are required.
16637   always_export_symbols=$always_export_symbols
16638  
# Line 15815 | Line 16648 | include_expsyms=$lt_include_expsyms
16648   # Commands necessary for linking programs (against libraries) with templates.
16649   prelink_cmds=$lt_prelink_cmds
16650  
16651 + # Commands necessary for finishing linking programs.
16652 + postlink_cmds=$lt_postlink_cmds
16653 +
16654   # Specify filename containing input files.
16655   file_list_spec=$lt_file_list_spec
16656  
# Line 15847 | Line 16683 | ltmain="$ac_aux_dir/ltmain.sh"
16683    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16684    # text mode, it properly converts lines to CR/LF.  This bash problem
16685    # is reportedly fixed, but why not run on old versions too?
16686 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16687 <    || (rm -f "$cfgfile"; exit 1)
15852 <
15853 <  case $xsi_shell in
15854 <  yes)
15855 <    cat << \_LT_EOF >> "$cfgfile"
15856 <
15857 < # func_dirname file append nondir_replacement
15858 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15859 < # otherwise set result to NONDIR_REPLACEMENT.
15860 < func_dirname ()
15861 < {
15862 <  case ${1} in
15863 <    */*) func_dirname_result="${1%/*}${2}" ;;
15864 <    *  ) func_dirname_result="${3}" ;;
15865 <  esac
15866 < }
15867 <
15868 < # func_basename file
15869 < func_basename ()
15870 < {
15871 <  func_basename_result="${1##*/}"
15872 < }
15873 <
15874 < # func_dirname_and_basename file append nondir_replacement
15875 < # perform func_basename and func_dirname in a single function
15876 < # call:
15877 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15878 < #             add APPEND to the result, otherwise set result
15879 < #             to NONDIR_REPLACEMENT.
15880 < #             value returned in "$func_dirname_result"
15881 < #   basename: Compute filename of FILE.
15882 < #             value retuned in "$func_basename_result"
15883 < # Implementation must be kept synchronized with func_dirname
15884 < # and func_basename. For efficiency, we do not delegate to
15885 < # those functions but instead duplicate the functionality here.
15886 < func_dirname_and_basename ()
15887 < {
15888 <  case ${1} in
15889 <    */*) func_dirname_result="${1%/*}${2}" ;;
15890 <    *  ) func_dirname_result="${3}" ;;
15891 <  esac
15892 <  func_basename_result="${1##*/}"
15893 < }
15894 <
15895 < # func_stripname prefix suffix name
15896 < # strip PREFIX and SUFFIX off of NAME.
15897 < # PREFIX and SUFFIX must not contain globbing or regex special
15898 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15899 < # dot (in which case that matches only a dot).
15900 < func_stripname ()
15901 < {
15902 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15903 <  # positional parameters, so assign one to ordinary parameter first.
15904 <  func_stripname_result=${3}
15905 <  func_stripname_result=${func_stripname_result#"${1}"}
15906 <  func_stripname_result=${func_stripname_result%"${2}"}
15907 < }
15908 <
15909 < # func_opt_split
15910 < func_opt_split ()
15911 < {
15912 <  func_opt_split_opt=${1%%=*}
15913 <  func_opt_split_arg=${1#*=}
15914 < }
15915 <
15916 < # func_lo2o object
15917 < func_lo2o ()
15918 < {
15919 <  case ${1} in
15920 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15921 <    *)    func_lo2o_result=${1} ;;
15922 <  esac
15923 < }
15924 <
15925 < # func_xform libobj-or-source
15926 < func_xform ()
15927 < {
15928 <  func_xform_result=${1%.*}.lo
15929 < }
15930 <
15931 < # func_arith arithmetic-term...
15932 < func_arith ()
15933 < {
15934 <  func_arith_result=$(( $* ))
15935 < }
15936 <
15937 < # func_len string
15938 < # STRING may not start with a hyphen.
15939 < func_len ()
15940 < {
15941 <  func_len_result=${#1}
15942 < }
15943 <
15944 < _LT_EOF
15945 <    ;;
15946 <  *) # Bourne compatible functions.
15947 <    cat << \_LT_EOF >> "$cfgfile"
15948 <
15949 < # func_dirname file append nondir_replacement
15950 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15951 < # otherwise set result to NONDIR_REPLACEMENT.
15952 < func_dirname ()
15953 < {
15954 <  # Extract subdirectory from the argument.
15955 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15956 <  if test "X$func_dirname_result" = "X${1}"; then
15957 <    func_dirname_result="${3}"
15958 <  else
15959 <    func_dirname_result="$func_dirname_result${2}"
15960 <  fi
15961 < }
15962 <
15963 < # func_basename file
15964 < func_basename ()
15965 < {
15966 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15967 < }
15968 <
15969 <
15970 < # func_stripname prefix suffix name
15971 < # strip PREFIX and SUFFIX off of NAME.
15972 < # PREFIX and SUFFIX must not contain globbing or regex special
15973 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15974 < # dot (in which case that matches only a dot).
15975 < # func_strip_suffix prefix name
15976 < func_stripname ()
15977 < {
15978 <  case ${2} in
15979 <    .*) func_stripname_result=`$ECHO "X${3}" \
15980 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15981 <    *)  func_stripname_result=`$ECHO "X${3}" \
15982 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15983 <  esac
15984 < }
15985 <
15986 < # sed scripts:
15987 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15988 < my_sed_long_arg='1s/^-[^=]*=//'
15989 <
15990 < # func_opt_split
15991 < func_opt_split ()
15992 < {
15993 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15994 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15995 < }
15996 <
15997 < # func_lo2o object
15998 < func_lo2o ()
15999 < {
16000 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16001 < }
16002 <
16003 < # func_xform libobj-or-source
16004 < func_xform ()
16005 < {
16006 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16007 < }
16008 <
16009 < # func_arith arithmetic-term...
16010 < func_arith ()
16011 < {
16012 <  func_arith_result=`expr "$@"`
16013 < }
16014 <
16015 < # func_len string
16016 < # STRING may not start with a hyphen.
16017 < func_len ()
16018 < {
16019 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16020 < }
16021 <
16022 < _LT_EOF
16023 < esac
16024 <
16025 < case $lt_shell_append in
16026 <  yes)
16027 <    cat << \_LT_EOF >> "$cfgfile"
16028 <
16029 < # func_append var value
16030 < # Append VALUE to the end of shell variable VAR.
16031 < func_append ()
16032 < {
16033 <  eval "$1+=\$2"
16034 < }
16035 < _LT_EOF
16036 <    ;;
16037 <  *)
16038 <    cat << \_LT_EOF >> "$cfgfile"
16039 <
16040 < # func_append var value
16041 < # Append VALUE to the end of shell variable VAR.
16042 < func_append ()
16043 < {
16044 <  eval "$1=\$$1\$2"
16045 < }
16046 <
16047 < _LT_EOF
16048 <    ;;
16049 <  esac
16686 >  sed '$q' "$ltmain" >> "$cfgfile" \
16687 >     || (rm -f "$cfgfile"; exit 1)
16688  
16689 +  if test x"$xsi_shell" = xyes; then
16690 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16691 + func_dirname ()\
16692 + {\
16693 + \    case ${1} in\
16694 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16695 + \      *  ) func_dirname_result="${3}" ;;\
16696 + \    esac\
16697 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16698 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16699 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16700 + test 0 -eq $? || _lt_function_replace_fail=:
16701 +
16702 +
16703 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16704 + func_basename ()\
16705 + {\
16706 + \    func_basename_result="${1##*/}"\
16707 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16708 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16709 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16710 + test 0 -eq $? || _lt_function_replace_fail=:
16711 +
16712 +
16713 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16714 + func_dirname_and_basename ()\
16715 + {\
16716 + \    case ${1} in\
16717 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16718 + \      *  ) func_dirname_result="${3}" ;;\
16719 + \    esac\
16720 + \    func_basename_result="${1##*/}"\
16721 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16722 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16723 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16724 + test 0 -eq $? || _lt_function_replace_fail=:
16725 +
16726 +
16727 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16728 + func_stripname ()\
16729 + {\
16730 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16731 + \    # positional parameters, so assign one to ordinary parameter first.\
16732 + \    func_stripname_result=${3}\
16733 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16734 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16735 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16736 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16737 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16738 + test 0 -eq $? || _lt_function_replace_fail=:
16739 +
16740 +
16741 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16742 + func_split_long_opt ()\
16743 + {\
16744 + \    func_split_long_opt_name=${1%%=*}\
16745 + \    func_split_long_opt_arg=${1#*=}\
16746 + } # Extended-shell func_split_long_opt 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_split_short_opt ()$/,/^} # func_split_short_opt /c\
16753 + func_split_short_opt ()\
16754 + {\
16755 + \    func_split_short_opt_arg=${1#??}\
16756 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16757 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16758 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16759 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16760 + test 0 -eq $? || _lt_function_replace_fail=:
16761 +
16762 +
16763 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16764 + func_lo2o ()\
16765 + {\
16766 + \    case ${1} in\
16767 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16768 + \      *)    func_lo2o_result=${1} ;;\
16769 + \    esac\
16770 + } # Extended-shell func_lo2o 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_xform ()$/,/^} # func_xform /c\
16777 + func_xform ()\
16778 + {\
16779 +    func_xform_result=${1%.*}.lo\
16780 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16781 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16782 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16783 + test 0 -eq $? || _lt_function_replace_fail=:
16784 +
16785 +
16786 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16787 + func_arith ()\
16788 + {\
16789 +    func_arith_result=$(( $* ))\
16790 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16791 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16792 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16793 + test 0 -eq $? || _lt_function_replace_fail=:
16794 +
16795 +
16796 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16797 + func_len ()\
16798 + {\
16799 +    func_len_result=${#1}\
16800 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16801 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16802 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16803 + test 0 -eq $? || _lt_function_replace_fail=:
16804 +
16805 + fi
16806 +
16807 + if test x"$lt_shell_append" = xyes; then
16808 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16809 + func_append ()\
16810 + {\
16811 +    eval "${1}+=\\${2}"\
16812 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16813 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16814 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16815 + test 0 -eq $? || _lt_function_replace_fail=:
16816 +
16817 +
16818 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16819 + func_append_quoted ()\
16820 + {\
16821 + \    func_quote_for_eval "${2}"\
16822 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16823 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16824 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16825 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16826 + test 0 -eq $? || _lt_function_replace_fail=:
16827 +
16828 +
16829 +  # Save a `func_append' function call where possible by direct use of '+='
16830 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16831 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16832 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16833 +  test 0 -eq $? || _lt_function_replace_fail=:
16834 + else
16835 +  # Save a `func_append' function call even when '+=' is not available
16836 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16837 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16838 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16839 +  test 0 -eq $? || _lt_function_replace_fail=:
16840 + fi
16841 +
16842 + if test x"$_lt_function_replace_fail" = x":"; then
16843 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16844 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16845 + fi
16846  
16052  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16053    || (rm -f "$cfgfile"; exit 1)
16847  
16848 <  mv -f "$cfgfile" "$ofile" ||
16848 >   mv -f "$cfgfile" "$ofile" ||
16849      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16850    chmod +x "$ofile"
16851  
# Line 16067 | Line 16860 | _ACEOF
16860   ac_clean_files=$ac_clean_files_save
16861  
16862   test $ac_write_fail = 0 ||
16863 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16863 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16864  
16865  
16866   # configure is writing to config.log, and then calls config.status.
# Line 16088 | Line 16881 | if test "$no_create" != yes; then
16881    exec 5>>config.log
16882    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16883    # would make configure fail if this is the last instruction.
16884 <  $ac_cs_success || as_fn_exit $?
16092 < fi
16093 <
16094 < #
16095 < # CONFIG_SUBDIRS section.
16096 < #
16097 < if test "$no_recursion" != yes; then
16098 <
16099 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16100 <  # so they do not pile up.
16101 <  ac_sub_configure_args=
16102 <  ac_prev=
16103 <  eval "set x $ac_configure_args"
16104 <  shift
16105 <  for ac_arg
16106 <  do
16107 <    if test -n "$ac_prev"; then
16108 <      ac_prev=
16109 <      continue
16110 <    fi
16111 <    case $ac_arg in
16112 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16113 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16114 <      ac_prev=cache_file ;;
16115 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16116 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16117 <    | --c=*)
16118 <      ;;
16119 <    --config-cache | -C)
16120 <      ;;
16121 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16122 <      ac_prev=srcdir ;;
16123 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16124 <      ;;
16125 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16126 <      ac_prev=prefix ;;
16127 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16128 <      ;;
16129 <    --disable-option-checking)
16130 <      ;;
16131 <    *)
16132 <      case $ac_arg in
16133 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16134 <      esac
16135 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16136 <    esac
16137 <  done
16138 <
16139 <  # Always prepend --prefix to ensure using the same prefix
16140 <  # in subdir configurations.
16141 <  ac_arg="--prefix=$prefix"
16142 <  case $ac_arg in
16143 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16144 <  esac
16145 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16146 <
16147 <  # Pass --silent
16148 <  if test "$silent" = yes; then
16149 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16150 <  fi
16151 <
16152 <  # Always prepend --disable-option-checking to silence warnings, since
16153 <  # different subdirs can have different --enable and --with options.
16154 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16155 <
16156 <  ac_popdir=`pwd`
16157 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16158 <
16159 <    # Do not complain, so a configure script can configure whichever
16160 <    # parts of a large source tree are present.
16161 <    test -d "$srcdir/$ac_dir" || continue
16162 <
16163 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16164 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16165 <    $as_echo "$ac_msg" >&6
16166 <    as_dir="$ac_dir"; as_fn_mkdir_p
16167 <    ac_builddir=.
16168 <
16169 < case "$ac_dir" in
16170 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16171 < *)
16172 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16173 <  # A ".." for each directory in $ac_dir_suffix.
16174 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16175 <  case $ac_top_builddir_sub in
16176 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16177 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16178 <  esac ;;
16179 < esac
16180 < ac_abs_top_builddir=$ac_pwd
16181 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16182 < # for backward compatibility:
16183 < ac_top_builddir=$ac_top_build_prefix
16184 <
16185 < case $srcdir in
16186 <  .)  # We are building in place.
16187 <    ac_srcdir=.
16188 <    ac_top_srcdir=$ac_top_builddir_sub
16189 <    ac_abs_top_srcdir=$ac_pwd ;;
16190 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16191 <    ac_srcdir=$srcdir$ac_dir_suffix;
16192 <    ac_top_srcdir=$srcdir
16193 <    ac_abs_top_srcdir=$srcdir ;;
16194 <  *) # Relative name.
16195 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16196 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16197 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16198 < esac
16199 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16200 <
16201 <
16202 <    cd "$ac_dir"
16203 <
16204 <    # Check for guested configure; otherwise get Cygnus style configure.
16205 <    if test -f "$ac_srcdir/configure.gnu"; then
16206 <      ac_sub_configure=$ac_srcdir/configure.gnu
16207 <    elif test -f "$ac_srcdir/configure"; then
16208 <      ac_sub_configure=$ac_srcdir/configure
16209 <    elif test -f "$ac_srcdir/configure.in"; then
16210 <      # This should be Cygnus configure.
16211 <      ac_sub_configure=$ac_aux_dir/configure
16212 <    else
16213 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16214 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16215 <      ac_sub_configure=
16216 <    fi
16217 <
16218 <    # The recursion is here.
16219 <    if test -n "$ac_sub_configure"; then
16220 <      # Make the cache file name correct relative to the subdirectory.
16221 <      case $cache_file in
16222 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16223 <      *) # Relative name.
16224 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16225 <      esac
16226 <
16227 <      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16228 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16229 <      # The eval makes quoting arguments work.
16230 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16231 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16232 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16233 <    fi
16234 <
16235 <    cd "$ac_popdir"
16236 <  done
16884 >  $ac_cs_success || as_fn_exit 1
16885   fi
16886   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16887    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5

Comparing:
ircd-hybrid-7.3/configure (property svn:eol-style), Revision 1084 by michael, Sat Mar 13 23:24:10 2010 UTC vs.
ircd-hybrid/trunk/configure (property svn:eol-style), Revision 1664 by michael, Sun Nov 18 14:33:47 2012 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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