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 1092 by michael, Thu Mar 25 11:10:59 2010 UTC vs.
ircd-hybrid/trunk/configure (file contents), Revision 1662 by michael, Sat Nov 17 20:11:33 2012 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1090 2010-03-24 22:37:53Z michael .
2 > # From configure.ac Id: configure.ac 1654 2012-11-16 19:39:37Z 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
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 704 | 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 759 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
762 EFNET_FALSE
763 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
766 ENABLE_PCRE_FALSE
767 ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
655   CONVENIENCE_LTDL_FALSE
# Line 789 | 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 819 | 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 906 | 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
914 with_zlib_path
915 enable_zlib
916 with_libpcre_path
803   enable_libpcre
804   enable_openssl
805   enable_assert
920 enable_small_net
806   enable_kqueue
807   enable_epoll
808   enable_devpoll
# Line 926 | Line 811 | enable_poll
811   enable_select
812   with_nicklen
813   with_topiclen
929 with_syslog_facility
930 enable_efnet
814   enable_halfops
815   enable_debugging
816   enable_warnings
934 enable_syslog
817   '
818        ac_precious_vars='build_alias
819   host_alias
# Line 1006 | 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 1052 | 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 1078 | 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 1282 | 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 1298 | 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 1328 | 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 1337 | 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 1347 | 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 1355 | 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 1384 | 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 1398 | 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
1401    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1402    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 1414 | 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 1455 | 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 1485 | 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 1499 | 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 1555 | 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 1563 | 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
1576  --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
1581  --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.
1588  --enable-efnet          For IRCDs running on EFnet.
1470    --enable-halfops        Enable halfops support.
1471    --enable-debugging      Enable debugging.
1472    --enable-warnings       Enable compiler warnings.
1592  --enable-syslog="EVENTS"
1593                          Enable syslog for events: users oper (space
1594                          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
1605  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1606  --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).
1609  --with-syslog-facility=LOG
1610                          Define the syslog facility to use (default:
1611                          LOG_LOCAL4)
1487  
1488   Some influential environment variables:
1489    CC          C compiler command
# Line 1618 | 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 1691 | 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 1738 | 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 1770 | 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 1784 | 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 1798 | 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 1816 | 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 1841 | 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 1852 | 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 1894 | 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 1907 | 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 1962 | 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 1983 | 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 2001 | 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 2014 | 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 2055 | 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 2068 | 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 2112 | 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 2124 | 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 2163 | 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 2186 | 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
2190 < ## ----------------------------------- ##
2072 > ( $as_echo "## ----------------------------------- ##
2073   ## Report this to bugs@ircd-hybrid.org ##
2074 < ## ----------------------------------- ##
2193 < _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 2205 | 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 2323 | Line 2204 | trap 'exit_status=$?
2204    {
2205      echo
2206  
2207 <    cat <<\_ASBOX
2327 < ## ---------------- ##
2207 >    $as_echo "## ---------------- ##
2208   ## Cache variables. ##
2209 < ## ---------------- ##
2330 < _ASBOX
2209 > ## ---------------- ##"
2210      echo
2211      # The following way of writing the cache mishandles newlines in values,
2212   (
# Line 2361 | Line 2240 | $as_echo "$as_me: WARNING: cache variabl
2240   )
2241      echo
2242  
2243 <    cat <<\_ASBOX
2365 < ## ----------------- ##
2243 >    $as_echo "## ----------------- ##
2244   ## Output variables. ##
2245 < ## ----------------- ##
2368 < _ASBOX
2245 > ## ----------------- ##"
2246      echo
2247      for ac_var in $ac_subst_vars
2248      do
# Line 2378 | Line 2255 | _ASBOX
2255      echo
2256  
2257      if test -n "$ac_subst_files"; then
2258 <      cat <<\_ASBOX
2382 < ## ------------------- ##
2258 >      $as_echo "## ------------------- ##
2259   ## File substitutions. ##
2260 < ## ------------------- ##
2385 < _ASBOX
2260 > ## ------------------- ##"
2261        echo
2262        for ac_var in $ac_subst_files
2263        do
# Line 2396 | Line 2271 | _ASBOX
2271      fi
2272  
2273      if test -s confdefs.h; then
2274 <      cat <<\_ASBOX
2400 < ## ----------- ##
2274 >      $as_echo "## ----------- ##
2275   ## confdefs.h. ##
2276 < ## ----------- ##
2403 < _ASBOX
2276 > ## ----------- ##"
2277        echo
2278        cat confdefs.h
2279        echo
# Line 2455 | 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 2470 | 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 2497 | Line 2379 | as_fn_append ac_func_list " usleep"
2379   as_fn_append ac_func_list " strlcat"
2380   as_fn_append ac_func_list " strlcpy"
2381   as_fn_append ac_header_list " crypt.h"
2500 as_fn_append ac_header_list " inttypes.h"
2501 as_fn_append ac_header_list " stdint.h"
2382   as_fn_append ac_header_list " sys/resource.h"
2383   as_fn_append ac_header_list " sys/param.h"
2504 as_fn_append ac_header_list " errno.h"
2505 as_fn_append ac_header_list " sys/syslog.h"
2384   as_fn_append ac_header_list " types.h"
2385   as_fn_append ac_header_list " socket.h"
2386   as_fn_append ac_header_list " sys/wait.h"
2387   as_fn_append ac_header_list " wait.h"
2510 as_fn_append ac_header_list " link.h"
2388   # Check that the precious variables saved in the cache have kept the same
2389   # value.
2390   ac_cache_corrupted=false
# Line 2563 | Line 2440 | if $ac_cache_corrupted; then
2440   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2441    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2442   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2443 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2443 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2444   fi
2445   ## -------------------- ##
2446   ## Main body of script. ##
# Line 2576 | Line 2453 | ac_link='$CC -o conftest$ac_exeext $CFLA
2453   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2454  
2455  
2456 < am__api_version='1.11'
2456 > am__api_version='1.12'
2457  
2458   ac_aux_dir=
2459   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2460 <  for ac_t in install-sh install.sh shtool; do
2461 <    if test -f "$ac_dir/$ac_t"; then
2462 <      ac_aux_dir=$ac_dir
2463 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2464 <      break 2
2465 <    fi
2466 <  done
2460 >  if test -f "$ac_dir/install-sh"; then
2461 >    ac_aux_dir=$ac_dir
2462 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2463 >    break
2464 >  elif test -f "$ac_dir/install.sh"; then
2465 >    ac_aux_dir=$ac_dir
2466 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2467 >    break
2468 >  elif test -f "$ac_dir/shtool"; then
2469 >    ac_aux_dir=$ac_dir
2470 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2471 >    break
2472 >  fi
2473   done
2474   if test -z "$ac_aux_dir"; then
2475 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2475 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2476   fi
2477  
2478   # These three variables are undocumented and unsupported,
# Line 2618 | Line 2501 | ac_configure="$SHELL $ac_aux_dir/configu
2501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2502   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2503   if test -z "$INSTALL"; then
2504 < if test "${ac_cv_path_install+set}" = set; then :
2504 > if ${ac_cv_path_install+:} false; then :
2505    $as_echo_n "(cached) " >&6
2506   else
2507    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2638 | Line 2521 | case $as_dir/ in #((
2521      # by default.
2522      for ac_prog in ginstall scoinst install; do
2523        for ac_exec_ext in '' $ac_executable_extensions; do
2524 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2524 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2525            if test $ac_prog = install &&
2526              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2527              # AIX install.  It has an incompatible calling convention.
# Line 2696 | Line 2579 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2579  
2580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2581   $as_echo_n "checking whether build environment is sane... " >&6; }
2699 # Just in case
2700 sleep 1
2701 echo timestamp > conftest.file
2582   # Reject unsafe characters in $srcdir or the absolute working directory
2583   # name.  Accept space and tab only in the latter.
2584   am_lf='
2585   '
2586   case `pwd` in
2587    *[\\\"\#\$\&\'\`$am_lf]*)
2588 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2588 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2589   esac
2590   case $srcdir in
2591    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2592 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2592 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2593   esac
2594  
2595 < # Do `set' in a subshell so we don't clobber the current shell's
2595 > # Do 'set' in a subshell so we don't clobber the current shell's
2596   # arguments.  Must try -L first in case configure is actually a
2597   # symlink; some systems play weird games with the mod time of symlinks
2598   # (eg FreeBSD returns the mod time of the symlink's containing
2599   # directory).
2600   if (
2601 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2602 <   if test "$*" = "X"; then
2603 <      # -L didn't work.
2604 <      set X `ls -t "$srcdir/configure" conftest.file`
2605 <   fi
2606 <   rm -f conftest.file
2607 <   if test "$*" != "X $srcdir/configure conftest.file" \
2608 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2609 <
2610 <      # If neither matched, then we have a broken ls.  This can happen
2731 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2732 <      # broken ls alias from the environment.  This has actually
2733 <      # happened.  Such a system could not be considered "sane".
2734 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2735 < alias in your environment" "$LINENO" 5
2736 <   fi
2601 >   am_has_slept=no
2602 >   for am_try in 1 2; do
2603 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2604 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2605 >     if test "$*" = "X"; then
2606 >        # -L didn't work.
2607 >        set X `ls -t "$srcdir/configure" conftest.file`
2608 >     fi
2609 >     if test "$*" != "X $srcdir/configure conftest.file" \
2610 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2611  
2612 +        # If neither matched, then we have a broken ls.  This can happen
2613 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2614 +        # broken ls alias from the environment.  This has actually
2615 +        # happened.  Such a system could not be considered "sane".
2616 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2617 +  alias in your environment" "$LINENO" 5
2618 +     fi
2619 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2620 +       break
2621 +     fi
2622 +     # Just in case.
2623 +     sleep 1
2624 +     am_has_slept=yes
2625 +   done
2626     test "$2" = conftest.file
2627     )
2628   then
2629     # Ok.
2630     :
2631   else
2632 <   as_fn_error "newly created file is older than distributed files!
2632 >   as_fn_error $? "newly created file is older than distributed files!
2633   Check your system clock" "$LINENO" 5
2634   fi
2635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2636   $as_echo "yes" >&6; }
2637 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2638 + # generated files are strictly newer.
2639 + am_sleep_pid=
2640 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2641 +  ( sleep 1 ) &
2642 +  am_sleep_pid=$!
2643 + fi
2644 +
2645 + rm -f conftest.file
2646 +
2647   test "$program_prefix" != NONE &&
2648    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2649   # Use a double $ so make ignores it.
# Line 2772 | Line 2670 | if eval "$MISSING --run true"; then
2670    am_missing_run="$MISSING --run "
2671   else
2672    am_missing_run=
2673 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2674 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2673 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2674 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2675   fi
2676  
2677   if test x"${install_sh}" != xset; then
# Line 2785 | Line 2683 | if test x"${install_sh}" != xset; then
2683    esac
2684   fi
2685  
2686 < # Installed binaries are usually stripped using `strip' when the user
2687 < # run `make install-strip'.  However `strip' might not be the right
2686 > # Installed binaries are usually stripped using 'strip' when the user
2687 > # run "make install-strip".  However 'strip' might not be the right
2688   # tool to use in cross-compilation environments, therefore Automake
2689 < # will honor the `STRIP' environment variable to overrule this program.
2689 > # will honor the 'STRIP' environment variable to overrule this program.
2690   if test "$cross_compiling" != no; then
2691    if test -n "$ac_tool_prefix"; then
2692    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2693   set dummy ${ac_tool_prefix}strip; ac_word=$2
2694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2695   $as_echo_n "checking for $ac_word... " >&6; }
2696 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2696 > if ${ac_cv_prog_STRIP+:} false; then :
2697    $as_echo_n "(cached) " >&6
2698   else
2699    if test -n "$STRIP"; then
# Line 2807 | Line 2705 | do
2705    IFS=$as_save_IFS
2706    test -z "$as_dir" && as_dir=.
2707      for ac_exec_ext in '' $ac_executable_extensions; do
2708 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2708 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2709      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2710      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2711      break 2
# Line 2835 | Line 2733 | if test -z "$ac_cv_prog_STRIP"; then
2733   set dummy strip; ac_word=$2
2734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2735   $as_echo_n "checking for $ac_word... " >&6; }
2736 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2736 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2737    $as_echo_n "(cached) " >&6
2738   else
2739    if test -n "$ac_ct_STRIP"; then
# Line 2847 | Line 2745 | do
2745    IFS=$as_save_IFS
2746    test -z "$as_dir" && as_dir=.
2747      for ac_exec_ext in '' $ac_executable_extensions; do
2748 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2748 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2749      ac_cv_prog_ac_ct_STRIP="strip"
2750      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2751      break 2
# Line 2888 | Line 2786 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2787   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2788   if test -z "$MKDIR_P"; then
2789 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2789 >  if ${ac_cv_path_mkdir+:} false; then :
2790    $as_echo_n "(cached) " >&6
2791   else
2792    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2898 | Line 2796 | do
2796    test -z "$as_dir" && as_dir=.
2797      for ac_prog in mkdir gmkdir; do
2798           for ac_exec_ext in '' $ac_executable_extensions; do
2799 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2799 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2800             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2801               'mkdir (GNU coreutils) '* | \
2802               'mkdir (coreutils) '* | \
# Line 2927 | Line 2825 | fi
2825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2826   $as_echo "$MKDIR_P" >&6; }
2827  
2930 mkdir_p="$MKDIR_P"
2931 case $mkdir_p in
2932  [\\/$]* | ?:[\\/]*) ;;
2933  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2934 esac
2935
2828   for ac_prog in gawk mawk nawk awk
2829   do
2830    # Extract the first word of "$ac_prog", so it can be a program name with args.
2831   set dummy $ac_prog; ac_word=$2
2832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2833   $as_echo_n "checking for $ac_word... " >&6; }
2834 < if test "${ac_cv_prog_AWK+set}" = set; then :
2834 > if ${ac_cv_prog_AWK+:} false; then :
2835    $as_echo_n "(cached) " >&6
2836   else
2837    if test -n "$AWK"; then
# Line 2951 | Line 2843 | do
2843    IFS=$as_save_IFS
2844    test -z "$as_dir" && as_dir=.
2845      for ac_exec_ext in '' $ac_executable_extensions; do
2846 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2846 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2847      ac_cv_prog_AWK="$ac_prog"
2848      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849      break 2
# Line 2979 | Line 2871 | done
2871   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2872   set x ${MAKE-make}
2873   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2874 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2874 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2875    $as_echo_n "(cached) " >&6
2876   else
2877    cat >conftest.make <<\_ACEOF
# Line 2987 | Line 2879 | SHELL = /bin/sh
2879   all:
2880          @echo '@@@%%%=$(MAKE)=@@@%%%'
2881   _ACEOF
2882 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2882 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2883   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2884    *@@@%%%=?*=@@@%%%*)
2885      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3021 | Line 2913 | if test "`cd $srcdir && pwd`" != "`pwd`"
2913    am__isrc=' -I$(srcdir)'
2914    # test to see if srcdir already configured
2915    if test -f $srcdir/config.status; then
2916 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2916 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2917    fi
2918   fi
2919  
# Line 3037 | Line 2929 | fi
2929  
2930   # Define the identity of the package.
2931   PACKAGE='ircd-hybrid'
2932 < VERSION='7.3-rc1'
2932 > VERSION='8.0.0'
2933  
2934  
2935   cat >>confdefs.h <<_ACEOF
# Line 3065 | Line 2957 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2957  
2958   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2959  
2960 + # For better backward compatibility.  To be removed once Automake 1.9.x
2961 + # dies out for good.  For more background, see:
2962 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2963 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2964 + mkdir_p='$(MKDIR_P)'
2965 +
2966   # We need awk for the "check" target.  The system "awk" is bad on
2967   # some platforms.
2968 < # Always define AMTAR for backward compatibility.
2969 <
2970 < AMTAR=${AMTAR-"${am_missing_run}tar"}
2968 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2969 > # in the wild :-(  We should find a proper way to deprecate it ...
2970 > AMTAR='$${TAR-tar}'
2971  
2972 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2972 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2973  
2974  
2975  
# Line 3124 | Line 3022 | am__quote=
3022   _am_result=none
3023   # First try GNU make style include.
3024   echo "include confinc" > confmf
3025 < # Ignore all kinds of additional output from `make'.
3025 > # Ignore all kinds of additional output from 'make'.
3026   case `$am_make -s -f confmf 2> /dev/null` in #(
3027   *the\ am__doit\ target*)
3028    am__include=include
# Line 3157 | Line 3055 | fi
3055   if test "x$enable_dependency_tracking" != xno; then
3056    am_depcomp="$ac_aux_dir/depcomp"
3057    AMDEPBACKSLASH='\'
3058 +  am__nodep='_no'
3059   fi
3060   if test "x$enable_dependency_tracking" != xno; then
3061    AMDEP_TRUE=
# Line 3177 | Line 3076 | if test -n "$ac_tool_prefix"; then
3076   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078   $as_echo_n "checking for $ac_word... " >&6; }
3079 < if test "${ac_cv_prog_CC+set}" = set; then :
3079 > if ${ac_cv_prog_CC+:} false; then :
3080    $as_echo_n "(cached) " >&6
3081   else
3082    if test -n "$CC"; then
# Line 3189 | Line 3088 | do
3088    IFS=$as_save_IFS
3089    test -z "$as_dir" && as_dir=.
3090      for ac_exec_ext in '' $ac_executable_extensions; do
3091 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3091 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3092      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3093      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094      break 2
# Line 3217 | Line 3116 | if test -z "$ac_cv_prog_CC"; then
3116   set dummy gcc; ac_word=$2
3117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3118   $as_echo_n "checking for $ac_word... " >&6; }
3119 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3119 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3120    $as_echo_n "(cached) " >&6
3121   else
3122    if test -n "$ac_ct_CC"; then
# Line 3229 | Line 3128 | do
3128    IFS=$as_save_IFS
3129    test -z "$as_dir" && as_dir=.
3130      for ac_exec_ext in '' $ac_executable_extensions; do
3131 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3131 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3132      ac_cv_prog_ac_ct_CC="gcc"
3133      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3134      break 2
# Line 3270 | Line 3169 | if test -z "$CC"; then
3169   set dummy ${ac_tool_prefix}cc; ac_word=$2
3170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3171   $as_echo_n "checking for $ac_word... " >&6; }
3172 < if test "${ac_cv_prog_CC+set}" = set; then :
3172 > if ${ac_cv_prog_CC+:} false; then :
3173    $as_echo_n "(cached) " >&6
3174   else
3175    if test -n "$CC"; then
# Line 3282 | Line 3181 | do
3181    IFS=$as_save_IFS
3182    test -z "$as_dir" && as_dir=.
3183      for ac_exec_ext in '' $ac_executable_extensions; do
3184 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3184 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3185      ac_cv_prog_CC="${ac_tool_prefix}cc"
3186      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3187      break 2
# Line 3310 | Line 3209 | if test -z "$CC"; then
3209   set dummy cc; ac_word=$2
3210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3211   $as_echo_n "checking for $ac_word... " >&6; }
3212 < if test "${ac_cv_prog_CC+set}" = set; then :
3212 > if ${ac_cv_prog_CC+:} false; then :
3213    $as_echo_n "(cached) " >&6
3214   else
3215    if test -n "$CC"; then
# Line 3323 | Line 3222 | do
3222    IFS=$as_save_IFS
3223    test -z "$as_dir" && as_dir=.
3224      for ac_exec_ext in '' $ac_executable_extensions; do
3225 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3225 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3226      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3227         ac_prog_rejected=yes
3228         continue
# Line 3369 | Line 3268 | if test -z "$CC"; then
3268   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3270   $as_echo_n "checking for $ac_word... " >&6; }
3271 < if test "${ac_cv_prog_CC+set}" = set; then :
3271 > if ${ac_cv_prog_CC+:} false; then :
3272    $as_echo_n "(cached) " >&6
3273   else
3274    if test -n "$CC"; then
# Line 3381 | Line 3280 | do
3280    IFS=$as_save_IFS
3281    test -z "$as_dir" && as_dir=.
3282      for ac_exec_ext in '' $ac_executable_extensions; do
3283 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3284      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3285      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3286      break 2
# Line 3413 | Line 3312 | do
3312   set dummy $ac_prog; ac_word=$2
3313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3314   $as_echo_n "checking for $ac_word... " >&6; }
3315 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3315 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3316    $as_echo_n "(cached) " >&6
3317   else
3318    if test -n "$ac_ct_CC"; then
# Line 3425 | Line 3324 | do
3324    IFS=$as_save_IFS
3325    test -z "$as_dir" && as_dir=.
3326      for ac_exec_ext in '' $ac_executable_extensions; do
3327 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3327 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3328      ac_cv_prog_ac_ct_CC="$ac_prog"
3329      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3330      break 2
# Line 3467 | Line 3366 | fi
3366  
3367   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3368   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3369 < as_fn_error "no acceptable C compiler found in \$PATH
3370 < See \`config.log' for more details." "$LINENO" 5; }
3369 > as_fn_error $? "no acceptable C compiler found in \$PATH
3370 > See \`config.log' for more details" "$LINENO" 5; }
3371  
3372   # Provide some information about the compiler.
3373   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3582 | Line 3481 | sed 's/^/| /' conftest.$ac_ext >&5
3481  
3482   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3483   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3484 < { as_fn_set_status 77
3485 < as_fn_error "C compiler cannot create executables
3587 < See \`config.log' for more details." "$LINENO" 5; }; }
3484 > as_fn_error 77 "C compiler cannot create executables
3485 > See \`config.log' for more details" "$LINENO" 5; }
3486   else
3487    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3488   $as_echo "yes" >&6; }
# Line 3626 | Line 3524 | done
3524   else
3525    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3526   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3527 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3528 < See \`config.log' for more details." "$LINENO" 5; }
3527 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3528 > See \`config.log' for more details" "$LINENO" 5; }
3529   fi
3530   rm -f conftest conftest$ac_cv_exeext
3531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3684 | Line 3582 | $as_echo "$ac_try_echo"; } >&5
3582      else
3583          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3584   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3585 < as_fn_error "cannot run C compiled programs.
3585 > as_fn_error $? "cannot run C compiled programs.
3586   If you meant to cross compile, use \`--host'.
3587 < See \`config.log' for more details." "$LINENO" 5; }
3587 > See \`config.log' for more details" "$LINENO" 5; }
3588      fi
3589    fi
3590   fi
# Line 3697 | Line 3595 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3595   ac_clean_files=$ac_clean_files_save
3596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3597   $as_echo_n "checking for suffix of object files... " >&6; }
3598 < if test "${ac_cv_objext+set}" = set; then :
3598 > if ${ac_cv_objext+:} false; then :
3599    $as_echo_n "(cached) " >&6
3600   else
3601    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3737 | Line 3635 | sed 's/^/| /' conftest.$ac_ext >&5
3635  
3636   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3637   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3638 < as_fn_error "cannot compute suffix of object files: cannot compile
3639 < See \`config.log' for more details." "$LINENO" 5; }
3638 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3639 > See \`config.log' for more details" "$LINENO" 5; }
3640   fi
3641   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3642   fi
# Line 3748 | Line 3646 | OBJEXT=$ac_cv_objext
3646   ac_objext=$OBJEXT
3647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3648   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3649 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3649 > if ${ac_cv_c_compiler_gnu+:} false; then :
3650    $as_echo_n "(cached) " >&6
3651   else
3652    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3785 | Line 3683 | ac_test_CFLAGS=${CFLAGS+set}
3683   ac_save_CFLAGS=$CFLAGS
3684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3685   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3686 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3686 > if ${ac_cv_prog_cc_g+:} false; then :
3687    $as_echo_n "(cached) " >&6
3688   else
3689    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3863 | Line 3761 | else
3761   fi
3762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3763   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3764 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3764 > if ${ac_cv_prog_cc_c89+:} false; then :
3765    $as_echo_n "(cached) " >&6
3766   else
3767    ac_cv_prog_cc_c89=no
# Line 3872 | Line 3770 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3770   /* end confdefs.h.  */
3771   #include <stdarg.h>
3772   #include <stdio.h>
3773 < #include <sys/types.h>
3876 < #include <sys/stat.h>
3773 > struct stat;
3774   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3775   struct buf { int x; };
3776   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3962 | Line 3859 | depcc="$CC"   am_compiler_list=
3859  
3860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3861   $as_echo_n "checking dependency style of $depcc... " >&6; }
3862 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3862 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3863    $as_echo_n "(cached) " >&6
3864   else
3865    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3866    # We make a subdir and do the tests there.  Otherwise we can end up
3867    # making bogus files that we don't know about and never remove.  For
3868    # instance it was reported that on HP-UX the gcc test will end up
3869 <  # making a dummy file named `D' -- because `-MD' means `put the output
3870 <  # in D'.
3869 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3870 >  # in D".
3871 >  rm -rf conftest.dir
3872    mkdir conftest.dir
3873    # Copy depcomp to subdir because otherwise we won't find it if we're
3874    # using a relative directory.
# Line 4004 | Line 3902 | else
3902      : > sub/conftest.c
3903      for i in 1 2 3 4 5 6; do
3904        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3905 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3906 <      # Solaris 8's {/usr,}/bin/sh.
3907 <      touch sub/conftst$i.h
3905 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3906 >      # Solaris 10 /bin/sh.
3907 >      echo '/* dummy */' > sub/conftst$i.h
3908      done
3909      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3910  
3911 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3911 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3912      # mode.  It turns out that the SunPro C++ compiler does not properly
3913 <    # handle `-M -o', and we need to detect this.  Also, some Intel
3914 <    # versions had trouble with output in subdirs
3913 >    # handle '-M -o', and we need to detect this.  Also, some Intel
3914 >    # versions had trouble with output in subdirs.
3915      am__obj=sub/conftest.${OBJEXT-o}
3916      am__minus_obj="-o $am__obj"
3917      case $depmode in
# Line 4022 | Line 3920 | else
3920        test "$am__universal" = false || continue
3921        ;;
3922      nosideeffect)
3923 <      # after this tag, mechanisms are not by side-effect, so they'll
3924 <      # only be used when explicitly requested
3923 >      # After this tag, mechanisms are not by side-effect, so they'll
3924 >      # only be used when explicitly requested.
3925        if test "x$enable_dependency_tracking" = xyes; then
3926          continue
3927        else
3928          break
3929        fi
3930        ;;
3931 <    msvisualcpp | msvcmsys)
3932 <      # This compiler won't grok `-c -o', but also, the minuso test has
3931 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3932 >      # This compiler won't grok '-c -o', but also, the minuso test has
3933        # not run yet.  These depmodes are late enough in the game, and
3934        # so weak that their functioning should not be impacted.
3935        am__obj=conftest.${OBJEXT-o}
# Line 4087 | Line 3985 | fi
3985  
3986     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3987   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3988 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
3988 > if ${ac_cv_prog_cc_c99+:} false; then :
3989    $as_echo_n "(cached) " >&6
3990   else
3991    ac_cv_prog_cc_c99=no
# Line 4231 | Line 4129 | main ()
4129    return 0;
4130   }
4131   _ACEOF
4132 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4132 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4133   do
4134    CC="$ac_save_CC $ac_arg"
4135    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4263 | Line 4161 | fi
4161  
4162  
4163   if test "$ac_cv_prog_cc_c99" = "no"; then :
4164 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4164 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4165   fi
4166   for ac_prog in 'bison -y' byacc
4167   do
# Line 4271 | Line 4169 | do
4169   set dummy $ac_prog; ac_word=$2
4170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4171   $as_echo_n "checking for $ac_word... " >&6; }
4172 < if test "${ac_cv_prog_YACC+set}" = set; then :
4172 > if ${ac_cv_prog_YACC+:} false; then :
4173    $as_echo_n "(cached) " >&6
4174   else
4175    if test -n "$YACC"; then
# Line 4283 | Line 4181 | do
4181    IFS=$as_save_IFS
4182    test -z "$as_dir" && as_dir=.
4183      for ac_exec_ext in '' $ac_executable_extensions; do
4184 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4184 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4185      ac_cv_prog_YACC="$ac_prog"
4186      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4187      break 2
# Line 4315 | Line 4213 | do
4213   set dummy $ac_prog; ac_word=$2
4214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4215   $as_echo_n "checking for $ac_word... " >&6; }
4216 < if test "${ac_cv_prog_LEX+set}" = set; then :
4216 > if ${ac_cv_prog_LEX+:} false; then :
4217    $as_echo_n "(cached) " >&6
4218   else
4219    if test -n "$LEX"; then
# Line 4327 | Line 4225 | do
4225    IFS=$as_save_IFS
4226    test -z "$as_dir" && as_dir=.
4227      for ac_exec_ext in '' $ac_executable_extensions; do
4228 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4228 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4229      ac_cv_prog_LEX="$ac_prog"
4230      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4231      break 2
# Line 4359 | Line 4257 | a { ECHO; }
4257   b { REJECT; }
4258   c { yymore (); }
4259   d { yyless (1); }
4260 < e { yyless (input () != 0); }
4260 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4261 >    yyless ((input () != 0)); }
4262   f { unput (yytext[0]); }
4263   . { BEGIN INITIAL; }
4264   %%
# Line 4385 | Line 4284 | $as_echo "$ac_try_echo"; } >&5
4284    test $ac_status = 0; }
4285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4286   $as_echo_n "checking lex output file root... " >&6; }
4287 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4287 > if ${ac_cv_prog_lex_root+:} false; then :
4288    $as_echo_n "(cached) " >&6
4289   else
4290  
# Line 4394 | Line 4293 | if test -f lex.yy.c; then
4293   elif test -f lexyy.c; then
4294    ac_cv_prog_lex_root=lexyy
4295   else
4296 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4296 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4297   fi
4298   fi
4299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4404 | Line 4303 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4303   if test -z "${LEXLIB+set}"; then
4304    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4305   $as_echo_n "checking lex library... " >&6; }
4306 < if test "${ac_cv_lib_lex+set}" = set; then :
4306 > if ${ac_cv_lib_lex+:} false; then :
4307    $as_echo_n "(cached) " >&6
4308   else
4309  
# Line 4434 | Line 4333 | fi
4333  
4334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4335   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4336 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4336 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4337    $as_echo_n "(cached) " >&6
4338   else
4339    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4445 | Line 4344 | ac_save_LIBS=$LIBS
4344   LIBS="$LEXLIB $ac_save_LIBS"
4345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4346   /* end confdefs.h.  */
4347 < #define YYTEXT_POINTER 1
4347 >
4348 >  #define YYTEXT_POINTER 1
4349   `cat $LEX_OUTPUT_ROOT.c`
4350   _ACEOF
4351   if ac_fn_c_try_link "$LINENO"; then :
# Line 4479 | Line 4379 | fi
4379  
4380  
4381  
4482
4382   case `pwd` in
4383    *\ * | *\     *)
4384      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4488 | Line 4387 | esac
4387  
4388  
4389  
4390 < macro_version='2.2.6b'
4391 < macro_revision='1.3017'
4390 > macro_version='2.4.2'
4391 > macro_revision='1.3337'
4392  
4393  
4394  
# Line 4507 | Line 4406 | ltmain="$ac_aux_dir/ltmain.sh"
4406  
4407   # Make sure we can run config.sub.
4408   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4409 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4409 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4410  
4411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4412   $as_echo_n "checking build system type... " >&6; }
4413 < if test "${ac_cv_build+set}" = set; then :
4413 > if ${ac_cv_build+:} false; then :
4414    $as_echo_n "(cached) " >&6
4415   else
4416    ac_build_alias=$build_alias
4417   test "x$ac_build_alias" = x &&
4418    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4419   test "x$ac_build_alias" = x &&
4420 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4420 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4421   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4422 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4422 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4423  
4424   fi
4425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4426   $as_echo "$ac_cv_build" >&6; }
4427   case $ac_cv_build in
4428   *-*-*) ;;
4429 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4429 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4430   esac
4431   build=$ac_cv_build
4432   ac_save_IFS=$IFS; IFS='-'
# Line 4545 | Line 4444 | case $build_os in *\ *) build_os=`echo "
4444  
4445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4446   $as_echo_n "checking host system type... " >&6; }
4447 < if test "${ac_cv_host+set}" = set; then :
4447 > if ${ac_cv_host+:} false; then :
4448    $as_echo_n "(cached) " >&6
4449   else
4450    if test "x$host_alias" = x; then
4451    ac_cv_host=$ac_cv_build
4452   else
4453    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4454 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4454 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4455   fi
4456  
4457   fi
# Line 4560 | Line 4459 | fi
4459   $as_echo "$ac_cv_host" >&6; }
4460   case $ac_cv_host in
4461   *-*-*) ;;
4462 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4462 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4463   esac
4464   host=$ac_cv_host
4465   ac_save_IFS=$IFS; IFS='-'
# Line 4576 | Line 4475 | IFS=$ac_save_IFS
4475   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4476  
4477  
4478 + # Backslashify metacharacters that are still active within
4479 + # double-quoted strings.
4480 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4481 +
4482 + # Same as above, but do not quote variable references.
4483 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4484 +
4485 + # Sed substitution to delay expansion of an escaped shell variable in a
4486 + # double_quote_subst'ed string.
4487 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4488 +
4489 + # Sed substitution to delay expansion of an escaped single quote.
4490 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4491 +
4492 + # Sed substitution to avoid accidental globbing in evaled expressions
4493 + no_glob_subst='s/\*/\\\*/g'
4494 +
4495 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4496 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4497 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4498 +
4499 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4500 + $as_echo_n "checking how to print strings... " >&6; }
4501 + # Test print first, because it will be a builtin if present.
4502 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4503 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4504 +  ECHO='print -r --'
4505 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4506 +  ECHO='printf %s\n'
4507 + else
4508 +  # Use this function as a fallback that always works.
4509 +  func_fallback_echo ()
4510 +  {
4511 +    eval 'cat <<_LTECHO_EOF
4512 + $1
4513 + _LTECHO_EOF'
4514 +  }
4515 +  ECHO='func_fallback_echo'
4516 + fi
4517 +
4518 + # func_echo_all arg...
4519 + # Invoke $ECHO with all args, space-separated.
4520 + func_echo_all ()
4521 + {
4522 +    $ECHO ""
4523 + }
4524 +
4525 + case "$ECHO" in
4526 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4527 + $as_echo "printf" >&6; } ;;
4528 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4529 + $as_echo "print -r" >&6; } ;;
4530 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4531 + $as_echo "cat" >&6; } ;;
4532 + esac
4533 +
4534 +
4535 +
4536 +
4537 +
4538 +
4539 +
4540 +
4541 +
4542 +
4543 +
4544 +
4545 +
4546 +
4547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4548   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4549 < if test "${ac_cv_path_SED+set}" = set; then :
4549 > if ${ac_cv_path_SED+:} false; then :
4550    $as_echo_n "(cached) " >&6
4551   else
4552              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4598 | Line 4566 | do
4566      for ac_prog in sed gsed; do
4567      for ac_exec_ext in '' $ac_executable_extensions; do
4568        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4569 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4569 >      as_fn_executable_p "$ac_path_SED" || continue
4570   # Check for GNU ac_path_SED and select it if it is found.
4571    # Check for GNU $ac_path_SED
4572   case `"$ac_path_SED" --version 2>&1` in
# Line 4633 | Line 4601 | esac
4601    done
4602   IFS=$as_save_IFS
4603    if test -z "$ac_cv_path_SED"; then
4604 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4604 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4605    fi
4606   else
4607    ac_cv_path_SED=$SED
# Line 4660 | Line 4628 | Xsed="$SED -e 1s/^X//"
4628  
4629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4630   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4631 < if test "${ac_cv_path_GREP+set}" = set; then :
4631 > if ${ac_cv_path_GREP+:} false; then :
4632    $as_echo_n "(cached) " >&6
4633   else
4634    if test -z "$GREP"; then
# Line 4674 | Line 4642 | do
4642      for ac_prog in grep ggrep; do
4643      for ac_exec_ext in '' $ac_executable_extensions; do
4644        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4645 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4645 >      as_fn_executable_p "$ac_path_GREP" || continue
4646   # Check for GNU ac_path_GREP and select it if it is found.
4647    # Check for GNU $ac_path_GREP
4648   case `"$ac_path_GREP" --version 2>&1` in
# Line 4709 | Line 4677 | esac
4677    done
4678   IFS=$as_save_IFS
4679    if test -z "$ac_cv_path_GREP"; then
4680 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4680 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4681    fi
4682   else
4683    ac_cv_path_GREP=$GREP
# Line 4723 | Line 4691 | $as_echo "$ac_cv_path_GREP" >&6; }
4691  
4692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4693   $as_echo_n "checking for egrep... " >&6; }
4694 < if test "${ac_cv_path_EGREP+set}" = set; then :
4694 > if ${ac_cv_path_EGREP+:} false; then :
4695    $as_echo_n "(cached) " >&6
4696   else
4697    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4740 | Line 4708 | do
4708      for ac_prog in egrep; do
4709      for ac_exec_ext in '' $ac_executable_extensions; do
4710        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4711 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4711 >      as_fn_executable_p "$ac_path_EGREP" || continue
4712   # Check for GNU ac_path_EGREP and select it if it is found.
4713    # Check for GNU $ac_path_EGREP
4714   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4775 | Line 4743 | esac
4743    done
4744   IFS=$as_save_IFS
4745    if test -z "$ac_cv_path_EGREP"; then
4746 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4746 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4747    fi
4748   else
4749    ac_cv_path_EGREP=$EGREP
# Line 4790 | Line 4758 | $as_echo "$ac_cv_path_EGREP" >&6; }
4758  
4759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4760   $as_echo_n "checking for fgrep... " >&6; }
4761 < if test "${ac_cv_path_FGREP+set}" = set; then :
4761 > if ${ac_cv_path_FGREP+:} false; then :
4762    $as_echo_n "(cached) " >&6
4763   else
4764    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4807 | Line 4775 | do
4775      for ac_prog in fgrep; do
4776      for ac_exec_ext in '' $ac_executable_extensions; do
4777        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4778 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4778 >      as_fn_executable_p "$ac_path_FGREP" || continue
4779   # Check for GNU ac_path_FGREP and select it if it is found.
4780    # Check for GNU $ac_path_FGREP
4781   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4842 | Line 4810 | esac
4810    done
4811   IFS=$as_save_IFS
4812    if test -z "$ac_cv_path_FGREP"; then
4813 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4813 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4814    fi
4815   else
4816    ac_cv_path_FGREP=$FGREP
# Line 4921 | Line 4889 | else
4889    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4890   $as_echo_n "checking for non-GNU ld... " >&6; }
4891   fi
4892 < if test "${lt_cv_path_LD+set}" = set; then :
4892 > if ${lt_cv_path_LD+:} false; then :
4893    $as_echo_n "(cached) " >&6
4894   else
4895    if test -z "$LD"; then
# Line 4958 | Line 4926 | else
4926    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927   $as_echo "no" >&6; }
4928   fi
4929 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4929 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4931   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4932 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4932 > if ${lt_cv_prog_gnu_ld+:} false; then :
4933    $as_echo_n "(cached) " >&6
4934   else
4935    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4988 | Line 4956 | with_gnu_ld=$lt_cv_prog_gnu_ld
4956  
4957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4958   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4959 < if test "${lt_cv_path_NM+set}" = set; then :
4959 > if ${lt_cv_path_NM+:} false; then :
4960    $as_echo_n "(cached) " >&6
4961   else
4962    if test -n "$NM"; then
# Line 5041 | Line 5009 | if test "$lt_cv_path_NM" != "no"; then
5009    NM="$lt_cv_path_NM"
5010   else
5011    # Didn't find any BSD compatible name lister, look for dumpbin.
5012 <  if test -n "$ac_tool_prefix"; then
5013 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5012 >  if test -n "$DUMPBIN"; then :
5013 >    # Let the user override the test.
5014 >  else
5015 >    if test -n "$ac_tool_prefix"; then
5016 >  for ac_prog in dumpbin "link -dump"
5017    do
5018      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5019   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021   $as_echo_n "checking for $ac_word... " >&6; }
5022 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5022 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5023    $as_echo_n "(cached) " >&6
5024   else
5025    if test -n "$DUMPBIN"; then
# Line 5060 | Line 5031 | do
5031    IFS=$as_save_IFS
5032    test -z "$as_dir" && as_dir=.
5033      for ac_exec_ext in '' $ac_executable_extensions; do
5034 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5034 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5035      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5036      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037      break 2
# Line 5086 | Line 5057 | fi
5057   fi
5058   if test -z "$DUMPBIN"; then
5059    ac_ct_DUMPBIN=$DUMPBIN
5060 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5060 >  for ac_prog in dumpbin "link -dump"
5061   do
5062    # Extract the first word of "$ac_prog", so it can be a program name with args.
5063   set dummy $ac_prog; ac_word=$2
5064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5065   $as_echo_n "checking for $ac_word... " >&6; }
5066 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5066 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5067    $as_echo_n "(cached) " >&6
5068   else
5069    if test -n "$ac_ct_DUMPBIN"; then
# Line 5104 | Line 5075 | do
5075    IFS=$as_save_IFS
5076    test -z "$as_dir" && as_dir=.
5077      for ac_exec_ext in '' $ac_executable_extensions; do
5078 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5078 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5079      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5080      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5081      break 2
# Line 5141 | Line 5112 | esac
5112    fi
5113   fi
5114  
5115 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5116 +    *COFF*)
5117 +      DUMPBIN="$DUMPBIN -symbols"
5118 +      ;;
5119 +    *)
5120 +      DUMPBIN=:
5121 +      ;;
5122 +    esac
5123 +  fi
5124  
5125    if test "$DUMPBIN" != ":"; then
5126      NM="$DUMPBIN"
# Line 5155 | Line 5135 | test -z "$NM" && NM=nm
5135  
5136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5137   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5138 < if test "${lt_cv_nm_interface+set}" = set; then :
5138 > if ${lt_cv_nm_interface+:} false; then :
5139    $as_echo_n "(cached) " >&6
5140   else
5141    lt_cv_nm_interface="BSD nm"
5142    echo "int some_variable = 0;" > conftest.$ac_ext
5143 <  (eval echo "\"\$as_me:5163: $ac_compile\"" >&5)
5143 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5144    (eval "$ac_compile" 2>conftest.err)
5145    cat conftest.err >&5
5146 <  (eval echo "\"\$as_me:5166: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5146 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5147    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5148    cat conftest.err >&5
5149 <  (eval echo "\"\$as_me:5169: output\"" >&5)
5149 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5150    cat conftest.out >&5
5151    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5152      lt_cv_nm_interface="MS dumpbin"
# Line 5190 | Line 5170 | fi
5170   # find the maximum length of command line arguments
5171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5172   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5173 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5173 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5174    $as_echo_n "(cached) " >&6
5175   else
5176      i=0
# Line 5223 | Line 5203 | else
5203      lt_cv_sys_max_cmd_len=8192;
5204      ;;
5205  
5206 +  mint*)
5207 +    # On MiNT this can take a long time and run out of memory.
5208 +    lt_cv_sys_max_cmd_len=8192;
5209 +    ;;
5210 +
5211    amigaos*)
5212      # On AmigaOS with pdksh, this test takes hours, literally.
5213      # So we just punt and use a minimum line length of 8192.
# Line 5248 | Line 5233 | else
5233      lt_cv_sys_max_cmd_len=196608
5234      ;;
5235  
5236 +  os2*)
5237 +    # The test takes a long time on OS/2.
5238 +    lt_cv_sys_max_cmd_len=8192
5239 +    ;;
5240 +
5241    osf*)
5242      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5243      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5287 | Line 5277 | else
5277        # If test is not a shell built-in, we'll probably end up computing a
5278        # maximum length that is only half of the actual maximum length, but
5279        # we can't tell.
5280 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5281 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5280 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5281 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5282                test $i != 17 # 1/2 MB should be enough
5283        do
5284          i=`expr $i + 1`
# Line 5330 | Line 5320 | $as_echo_n "checking whether the shell u
5320   # Try some XSI features
5321   xsi_shell=no
5322   ( _lt_dummy="a/b/c"
5323 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5324 <      = c,a/b,, \
5323 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5324 >      = c,a/b,b/c, \
5325      && eval 'test $(( 1 + 1 )) -eq 2 \
5326      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5327    && xsi_shell=yes
# Line 5380 | Line 5370 | esac
5370  
5371  
5372  
5373 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5374 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5375 + if ${lt_cv_to_host_file_cmd+:} false; then :
5376 +  $as_echo_n "(cached) " >&6
5377 + else
5378 +  case $host in
5379 +  *-*-mingw* )
5380 +    case $build in
5381 +      *-*-mingw* ) # actually msys
5382 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5383 +        ;;
5384 +      *-*-cygwin* )
5385 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5386 +        ;;
5387 +      * ) # otherwise, assume *nix
5388 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5389 +        ;;
5390 +    esac
5391 +    ;;
5392 +  *-*-cygwin* )
5393 +    case $build in
5394 +      *-*-mingw* ) # actually msys
5395 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5396 +        ;;
5397 +      *-*-cygwin* )
5398 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5399 +        ;;
5400 +      * ) # otherwise, assume *nix
5401 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5402 +        ;;
5403 +    esac
5404 +    ;;
5405 +  * ) # unhandled hosts (and "normal" native builds)
5406 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5407 +    ;;
5408 + esac
5409 +
5410 + fi
5411 +
5412 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5413 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5414 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5415 +
5416 +
5417 +
5418 +
5419 +
5420 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5421 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5422 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5423 +  $as_echo_n "(cached) " >&6
5424 + else
5425 +  #assume ordinary cross tools, or native build.
5426 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5427 + case $host in
5428 +  *-*-mingw* )
5429 +    case $build in
5430 +      *-*-mingw* ) # actually msys
5431 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5432 +        ;;
5433 +    esac
5434 +    ;;
5435 + esac
5436 +
5437 + fi
5438 +
5439 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5440 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5441 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5442 +
5443 +
5444 +
5445 +
5446 +
5447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5448   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5449 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5449 > if ${lt_cv_ld_reload_flag+:} false; then :
5450    $as_echo_n "(cached) " >&6
5451   else
5452    lt_cv_ld_reload_flag='-r'
# Line 5396 | Line 5460 | case $reload_flag in
5460   esac
5461   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5462   case $host_os in
5463 +  cygwin* | mingw* | pw32* | cegcc*)
5464 +    if test "$GCC" != yes; then
5465 +      reload_cmds=false
5466 +    fi
5467 +    ;;
5468    darwin*)
5469      if test "$GCC" = yes; then
5470        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5418 | Line 5487 | if test -n "$ac_tool_prefix"; then
5487   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5489   $as_echo_n "checking for $ac_word... " >&6; }
5490 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5490 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5491    $as_echo_n "(cached) " >&6
5492   else
5493    if test -n "$OBJDUMP"; then
# Line 5430 | Line 5499 | do
5499    IFS=$as_save_IFS
5500    test -z "$as_dir" && as_dir=.
5501      for ac_exec_ext in '' $ac_executable_extensions; do
5502 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5502 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5503      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5504      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5505      break 2
# Line 5458 | Line 5527 | if test -z "$ac_cv_prog_OBJDUMP"; then
5527   set dummy objdump; ac_word=$2
5528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5529   $as_echo_n "checking for $ac_word... " >&6; }
5530 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5530 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5531    $as_echo_n "(cached) " >&6
5532   else
5533    if test -n "$ac_ct_OBJDUMP"; then
# Line 5470 | Line 5539 | do
5539    IFS=$as_save_IFS
5540    test -z "$as_dir" && as_dir=.
5541      for ac_exec_ext in '' $ac_executable_extensions; do
5542 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5542 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5543      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5544      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5545      break 2
# Line 5517 | Line 5586 | test -z "$OBJDUMP" && OBJDUMP=objdump
5586  
5587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5588   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5589 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5589 > if ${lt_cv_deplibs_check_method+:} false; then :
5590    $as_echo_n "(cached) " >&6
5591   else
5592    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5559 | Line 5628 | mingw* | pw32*)
5628    # Base MSYS/MinGW do not provide the 'file' command needed by
5629    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5630    # unless we find 'file', for example because we are cross-compiling.
5631 <  if ( file / ) >/dev/null 2>&1; then
5631 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5632 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5633      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5634      lt_cv_file_magic_cmd='func_win32_libid'
5635    else
5636 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5636 >    # Keep this pattern in sync with the one in func_win32_libid.
5637 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5638      lt_cv_file_magic_cmd='$OBJDUMP -f'
5639    fi
5640    ;;
5641  
5642 < cegcc)
5642 > cegcc*)
5643    # use the weaker test based on 'objdump'. See mingw*.
5644    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5645    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5598 | Line 5669 | gnu*)
5669    lt_cv_deplibs_check_method=pass_all
5670    ;;
5671  
5672 + haiku*)
5673 +  lt_cv_deplibs_check_method=pass_all
5674 +  ;;
5675 +
5676   hpux10.20* | hpux11*)
5677    lt_cv_file_magic_cmd=/usr/bin/file
5678    case $host_cpu in
# Line 5606 | Line 5681 | hpux10.20* | hpux11*)
5681      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5682      ;;
5683    hppa*64*)
5684 <    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]'
5684 >    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]'
5685      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5686      ;;
5687    *)
5688 <    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_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5689      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5690      ;;
5691    esac
# Line 5631 | Line 5706 | irix5* | irix6* | nonstopux*)
5706    lt_cv_deplibs_check_method=pass_all
5707    ;;
5708  
5709 < # This must be Linux ELF.
5710 < linux* | k*bsd*-gnu)
5709 > # This must be glibc/ELF.
5710 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5711    lt_cv_deplibs_check_method=pass_all
5712    ;;
5713  
# Line 5713 | Line 5788 | esac
5788   fi
5789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5790   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5791 +
5792 + file_magic_glob=
5793 + want_nocaseglob=no
5794 + if test "$build" = "$host"; then
5795 +  case $host_os in
5796 +  mingw* | pw32*)
5797 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5798 +      want_nocaseglob=yes
5799 +    else
5800 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5801 +    fi
5802 +    ;;
5803 +  esac
5804 + fi
5805 +
5806   file_magic_cmd=$lt_cv_file_magic_cmd
5807   deplibs_check_method=$lt_cv_deplibs_check_method
5808   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5728 | Line 5818 | test -z "$deplibs_check_method" && depli
5818  
5819  
5820  
5821 +
5822 +
5823 +
5824 +
5825 +
5826 +
5827 +
5828 +
5829 +
5830 +
5831 + if test -n "$ac_tool_prefix"; then
5832 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5833 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5834 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5835 + $as_echo_n "checking for $ac_word... " >&6; }
5836 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5837 +  $as_echo_n "(cached) " >&6
5838 + else
5839 +  if test -n "$DLLTOOL"; then
5840 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5841 + else
5842 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5843 + for as_dir in $PATH
5844 + do
5845 +  IFS=$as_save_IFS
5846 +  test -z "$as_dir" && as_dir=.
5847 +    for ac_exec_ext in '' $ac_executable_extensions; do
5848 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5849 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5850 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5851 +    break 2
5852 +  fi
5853 + done
5854 +  done
5855 + IFS=$as_save_IFS
5856 +
5857 + fi
5858 + fi
5859 + DLLTOOL=$ac_cv_prog_DLLTOOL
5860 + if test -n "$DLLTOOL"; then
5861 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5862 + $as_echo "$DLLTOOL" >&6; }
5863 + else
5864 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5865 + $as_echo "no" >&6; }
5866 + fi
5867 +
5868 +
5869 + fi
5870 + if test -z "$ac_cv_prog_DLLTOOL"; then
5871 +  ac_ct_DLLTOOL=$DLLTOOL
5872 +  # Extract the first word of "dlltool", so it can be a program name with args.
5873 + set dummy dlltool; ac_word=$2
5874 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5875 + $as_echo_n "checking for $ac_word... " >&6; }
5876 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5877 +  $as_echo_n "(cached) " >&6
5878 + else
5879 +  if test -n "$ac_ct_DLLTOOL"; then
5880 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5881 + else
5882 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 + for as_dir in $PATH
5884 + do
5885 +  IFS=$as_save_IFS
5886 +  test -z "$as_dir" && as_dir=.
5887 +    for ac_exec_ext in '' $ac_executable_extensions; do
5888 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5889 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5890 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5891 +    break 2
5892 +  fi
5893 + done
5894 +  done
5895 + IFS=$as_save_IFS
5896 +
5897 + fi
5898 + fi
5899 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5900 + if test -n "$ac_ct_DLLTOOL"; then
5901 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5902 + $as_echo "$ac_ct_DLLTOOL" >&6; }
5903 + else
5904 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5905 + $as_echo "no" >&6; }
5906 + fi
5907 +
5908 +  if test "x$ac_ct_DLLTOOL" = x; then
5909 +    DLLTOOL="false"
5910 +  else
5911 +    case $cross_compiling:$ac_tool_warned in
5912 + yes:)
5913 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5914 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5915 + ac_tool_warned=yes ;;
5916 + esac
5917 +    DLLTOOL=$ac_ct_DLLTOOL
5918 +  fi
5919 + else
5920 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
5921 + fi
5922 +
5923 + test -z "$DLLTOOL" && DLLTOOL=dlltool
5924 +
5925 +
5926 +
5927 +
5928 +
5929 +
5930 +
5931 +
5932 +
5933 +
5934 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5935 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5936 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5937 +  $as_echo_n "(cached) " >&6
5938 + else
5939 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
5940 +
5941 + case $host_os in
5942 + cygwin* | mingw* | pw32* | cegcc*)
5943 +  # two different shell functions defined in ltmain.sh
5944 +  # decide which to use based on capabilities of $DLLTOOL
5945 +  case `$DLLTOOL --help 2>&1` in
5946 +  *--identify-strict*)
5947 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5948 +    ;;
5949 +  *)
5950 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5951 +    ;;
5952 +  esac
5953 +  ;;
5954 + *)
5955 +  # fallback: assume linklib IS sharedlib
5956 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5957 +  ;;
5958 + esac
5959 +
5960 + fi
5961 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5962 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5963 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5964 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5965 +
5966 +
5967 +
5968 +
5969 +
5970 +
5971 +
5972   if test -n "$ac_tool_prefix"; then
5973 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5974 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5973 >  for ac_prog in ar
5974 >  do
5975 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5976 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5978   $as_echo_n "checking for $ac_word... " >&6; }
5979 < if test "${ac_cv_prog_AR+set}" = set; then :
5979 > if ${ac_cv_prog_AR+:} false; then :
5980    $as_echo_n "(cached) " >&6
5981   else
5982    if test -n "$AR"; then
# Line 5745 | Line 5988 | do
5988    IFS=$as_save_IFS
5989    test -z "$as_dir" && as_dir=.
5990      for ac_exec_ext in '' $ac_executable_extensions; do
5991 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5992 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
5991 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5992 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5993      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5994      break 2
5995    fi
# Line 5766 | Line 6009 | $as_echo "no" >&6; }
6009   fi
6010  
6011  
6012 +    test -n "$AR" && break
6013 +  done
6014   fi
6015 < if test -z "$ac_cv_prog_AR"; then
6015 > if test -z "$AR"; then
6016    ac_ct_AR=$AR
6017 <  # Extract the first word of "ar", so it can be a program name with args.
6018 < set dummy ar; ac_word=$2
6017 >  for ac_prog in ar
6018 > do
6019 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6020 > set dummy $ac_prog; ac_word=$2
6021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022   $as_echo_n "checking for $ac_word... " >&6; }
6023 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6023 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6024    $as_echo_n "(cached) " >&6
6025   else
6026    if test -n "$ac_ct_AR"; then
# Line 5785 | Line 6032 | do
6032    IFS=$as_save_IFS
6033    test -z "$as_dir" && as_dir=.
6034      for ac_exec_ext in '' $ac_executable_extensions; do
6035 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6036 <    ac_cv_prog_ac_ct_AR="ar"
6035 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6036 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6037      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038      break 2
6039    fi
# Line 5805 | Line 6052 | else
6052   $as_echo "no" >&6; }
6053   fi
6054  
6055 +
6056 +  test -n "$ac_ct_AR" && break
6057 + done
6058 +
6059    if test "x$ac_ct_AR" = x; then
6060      AR="false"
6061    else
# Line 5816 | Line 6067 | ac_tool_warned=yes ;;
6067   esac
6068      AR=$ac_ct_AR
6069    fi
5819 else
5820  AR="$ac_cv_prog_AR"
6070   fi
6071  
6072 < test -z "$AR" && AR=ar
6073 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6072 > : ${AR=ar}
6073 > : ${AR_FLAGS=cru}
6074 >
6075 >
6076  
6077  
6078  
# Line 5831 | Line 6082 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6082  
6083  
6084  
6085 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6086 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6087 + if ${lt_cv_ar_at_file+:} false; then :
6088 +  $as_echo_n "(cached) " >&6
6089 + else
6090 +  lt_cv_ar_at_file=no
6091 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6092 + /* end confdefs.h.  */
6093 +
6094 + int
6095 + main ()
6096 + {
6097 +
6098 +  ;
6099 +  return 0;
6100 + }
6101 + _ACEOF
6102 + if ac_fn_c_try_compile "$LINENO"; then :
6103 +  echo conftest.$ac_objext > conftest.lst
6104 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6105 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6106 +  (eval $lt_ar_try) 2>&5
6107 +  ac_status=$?
6108 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6109 +  test $ac_status = 0; }
6110 +      if test "$ac_status" -eq 0; then
6111 +        # Ensure the archiver fails upon bogus file names.
6112 +        rm -f conftest.$ac_objext libconftest.a
6113 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6114 +  (eval $lt_ar_try) 2>&5
6115 +  ac_status=$?
6116 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6117 +  test $ac_status = 0; }
6118 +        if test "$ac_status" -ne 0; then
6119 +          lt_cv_ar_at_file=@
6120 +        fi
6121 +      fi
6122 +      rm -f conftest.* libconftest.a
6123 +
6124 + fi
6125 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6126 +
6127 + fi
6128 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6129 + $as_echo "$lt_cv_ar_at_file" >&6; }
6130 +
6131 + if test "x$lt_cv_ar_at_file" = xno; then
6132 +  archiver_list_spec=
6133 + else
6134 +  archiver_list_spec=$lt_cv_ar_at_file
6135 + fi
6136 +
6137 +
6138 +
6139 +
6140 +
6141  
6142  
6143   if test -n "$ac_tool_prefix"; then
# Line 5838 | Line 6145 | if test -n "$ac_tool_prefix"; then
6145   set dummy ${ac_tool_prefix}strip; ac_word=$2
6146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6147   $as_echo_n "checking for $ac_word... " >&6; }
6148 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6148 > if ${ac_cv_prog_STRIP+:} false; then :
6149    $as_echo_n "(cached) " >&6
6150   else
6151    if test -n "$STRIP"; then
# Line 5850 | Line 6157 | do
6157    IFS=$as_save_IFS
6158    test -z "$as_dir" && as_dir=.
6159      for ac_exec_ext in '' $ac_executable_extensions; do
6160 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6160 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6161      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6162      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6163      break 2
# Line 5878 | Line 6185 | if test -z "$ac_cv_prog_STRIP"; then
6185   set dummy strip; ac_word=$2
6186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6187   $as_echo_n "checking for $ac_word... " >&6; }
6188 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6188 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6189    $as_echo_n "(cached) " >&6
6190   else
6191    if test -n "$ac_ct_STRIP"; then
# Line 5890 | Line 6197 | do
6197    IFS=$as_save_IFS
6198    test -z "$as_dir" && as_dir=.
6199      for ac_exec_ext in '' $ac_executable_extensions; do
6200 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6200 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6201      ac_cv_prog_ac_ct_STRIP="strip"
6202      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6203      break 2
# Line 5937 | Line 6244 | if test -n "$ac_tool_prefix"; then
6244   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6246   $as_echo_n "checking for $ac_word... " >&6; }
6247 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6247 > if ${ac_cv_prog_RANLIB+:} false; then :
6248    $as_echo_n "(cached) " >&6
6249   else
6250    if test -n "$RANLIB"; then
# Line 5949 | Line 6256 | do
6256    IFS=$as_save_IFS
6257    test -z "$as_dir" && as_dir=.
6258      for ac_exec_ext in '' $ac_executable_extensions; do
6259 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6259 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6260      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6261      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6262      break 2
# Line 5977 | Line 6284 | if test -z "$ac_cv_prog_RANLIB"; then
6284   set dummy ranlib; ac_word=$2
6285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6286   $as_echo_n "checking for $ac_word... " >&6; }
6287 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6287 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6288    $as_echo_n "(cached) " >&6
6289   else
6290    if test -n "$ac_ct_RANLIB"; then
# Line 5989 | Line 6296 | do
6296    IFS=$as_save_IFS
6297    test -z "$as_dir" && as_dir=.
6298      for ac_exec_ext in '' $ac_executable_extensions; do
6299 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6299 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6300      ac_cv_prog_ac_ct_RANLIB="ranlib"
6301      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6302      break 2
# Line 6039 | Line 6346 | old_postuninstall_cmds=
6346   if test -n "$RANLIB"; then
6347    case $host_os in
6348    openbsd*)
6349 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6349 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6350      ;;
6351    *)
6352 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6352 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6353      ;;
6354    esac
6355 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6355 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6356   fi
6357  
6358 + case $host_os in
6359 +  darwin*)
6360 +    lock_old_archive_extraction=yes ;;
6361 +  *)
6362 +    lock_old_archive_extraction=no ;;
6363 + esac
6364 +
6365 +
6366 +
6367 +
6368 +
6369 +
6370  
6371  
6372  
# Line 6094 | Line 6413 | compiler=$CC
6413   # Check for command to grab the raw symbol name followed by C symbol from nm.
6414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6415   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6416 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6416 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6417    $as_echo_n "(cached) " >&6
6418   else
6419  
# Line 6155 | Line 6474 | esac
6474   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6475  
6476   # Transform an extracted symbol line into symbol name and symbol address
6477 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6478 < 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'"
6477 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6478 > 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'"
6479  
6480   # Handle CRLF in mingw tool chain
6481   opt_cr=
# Line 6180 | Line 6499 | for ac_symprfx in "" "_"; do
6499      # which start with @ or ?.
6500      lt_cv_sys_global_symbol_pipe="$AWK '"\
6501   "     {last_section=section; section=\$ 3};"\
6502 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6503   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6504   "     \$ 0!~/External *\|/{next};"\
6505   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6192 | Line 6512 | for ac_symprfx in "" "_"; do
6512    else
6513      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6514    fi
6515 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6516  
6517    # Check to see that the pipe works correctly.
6518    pipe_works=no
# Line 6217 | Line 6538 | _LT_EOF
6538    test $ac_status = 0; }; then
6539      # Now try to grab the symbols.
6540      nlist=conftest.nm
6541 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6542 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6541 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6542 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6543    ac_status=$?
6544    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6545    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6233 | Line 6554 | _LT_EOF
6554        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6555          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6556            cat <<_LT_EOF > conftest.$ac_ext
6557 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6558 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6559 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6560 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6561 + # define LT_DLSYM_CONST
6562 + #elif defined(__osf__)
6563 + /* This system does not cope well with relocations in const data.  */
6564 + # define LT_DLSYM_CONST
6565 + #else
6566 + # define LT_DLSYM_CONST const
6567 + #endif
6568 +
6569   #ifdef __cplusplus
6570   extern "C" {
6571   #endif
# Line 6244 | Line 6577 | _LT_EOF
6577            cat <<_LT_EOF >> conftest.$ac_ext
6578  
6579   /* The mapping between symbol names and symbols.  */
6580 < const struct {
6580 > LT_DLSYM_CONST struct {
6581    const char *name;
6582    void       *address;
6583   }
# Line 6270 | Line 6603 | static const void *lt_preloaded_setup()
6603   _LT_EOF
6604            # Now try linking the two files.
6605            mv conftest.$ac_objext conftstm.$ac_objext
6606 <          lt_save_LIBS="$LIBS"
6607 <          lt_save_CFLAGS="$CFLAGS"
6606 >          lt_globsym_save_LIBS=$LIBS
6607 >          lt_globsym_save_CFLAGS=$CFLAGS
6608            LIBS="conftstm.$ac_objext"
6609            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6610            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6281 | Line 6614 | _LT_EOF
6614    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6615              pipe_works=yes
6616            fi
6617 <          LIBS="$lt_save_LIBS"
6618 <          CFLAGS="$lt_save_CFLAGS"
6617 >          LIBS=$lt_globsym_save_LIBS
6618 >          CFLAGS=$lt_globsym_save_CFLAGS
6619          else
6620            echo "cannot find nm_test_func in $nlist" >&5
6621          fi
# Line 6319 | Line 6652 | else
6652   $as_echo "ok" >&6; }
6653   fi
6654  
6655 + # Response file support.
6656 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6657 +  nm_file_list_spec='@'
6658 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6659 +  nm_file_list_spec='@'
6660 + fi
6661 +
6662 +
6663 +
6664 +
6665 +
6666 +
6667  
6668  
6669  
# Line 6340 | Line 6685 | fi
6685  
6686  
6687  
6688 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6689 + $as_echo_n "checking for sysroot... " >&6; }
6690 +
6691 + # Check whether --with-sysroot was given.
6692 + if test "${with_sysroot+set}" = set; then :
6693 +  withval=$with_sysroot;
6694 + else
6695 +  with_sysroot=no
6696 + fi
6697 +
6698 +
6699 + lt_sysroot=
6700 + case ${with_sysroot} in #(
6701 + yes)
6702 +   if test "$GCC" = yes; then
6703 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6704 +   fi
6705 +   ;; #(
6706 + /*)
6707 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6708 +   ;; #(
6709 + no|'')
6710 +   ;; #(
6711 + *)
6712 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6713 + $as_echo "${with_sysroot}" >&6; }
6714 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6715 +   ;;
6716 + esac
6717 +
6718 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6719 + $as_echo "${lt_sysroot:-no}" >&6; }
6720 +
6721 +
6722 +
6723 +
6724 +
6725   # Check whether --enable-libtool-lock was given.
6726   if test "${enable_libtool_lock+set}" = set; then :
6727    enableval=$enable_libtool_lock;
# Line 6371 | Line 6753 | ia64-*-hpux*)
6753    ;;
6754   *-*-irix6*)
6755    # Find out which ABI we are using.
6756 <  echo '#line 6374 "configure"' > conftest.$ac_ext
6756 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6757    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6758    (eval $ac_compile) 2>&5
6759    ac_status=$?
# Line 6465 | Line 6847 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6847    CFLAGS="$CFLAGS -belf"
6848    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6849   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6850 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6850 > if ${lt_cv_cc_needs_belf+:} false; then :
6851    $as_echo_n "(cached) " >&6
6852   else
6853    ac_ext=c
# Line 6506 | Line 6888 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6888      CFLAGS="$SAVE_CFLAGS"
6889    fi
6890    ;;
6891 < sparc*-*solaris*)
6891 > *-*solaris*)
6892    # Find out which ABI we are using.
6893    echo 'int i;' > conftest.$ac_ext
6894    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6517 | Line 6899 | sparc*-*solaris*)
6899      case `/usr/bin/file conftest.o` in
6900      *64-bit*)
6901        case $lt_cv_prog_gnu_ld in
6902 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6902 >      yes*)
6903 >        case $host in
6904 >        i?86-*-solaris*)
6905 >          LD="${LD-ld} -m elf_x86_64"
6906 >          ;;
6907 >        sparc*-*-solaris*)
6908 >          LD="${LD-ld} -m elf64_sparc"
6909 >          ;;
6910 >        esac
6911 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6912 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6913 >          LD="${LD-ld}_sol2"
6914 >        fi
6915 >        ;;
6916        *)
6917          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6918            LD="${LD-ld} -64"
# Line 6533 | Line 6928 | esac
6928  
6929   need_locks="$enable_libtool_lock"
6930  
6931 + if test -n "$ac_tool_prefix"; then
6932 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6933 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6934 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6935 + $as_echo_n "checking for $ac_word... " >&6; }
6936 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6937 +  $as_echo_n "(cached) " >&6
6938 + else
6939 +  if test -n "$MANIFEST_TOOL"; then
6940 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6941 + else
6942 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6943 + for as_dir in $PATH
6944 + do
6945 +  IFS=$as_save_IFS
6946 +  test -z "$as_dir" && as_dir=.
6947 +    for ac_exec_ext in '' $ac_executable_extensions; do
6948 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6949 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6950 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6951 +    break 2
6952 +  fi
6953 + done
6954 +  done
6955 + IFS=$as_save_IFS
6956 +
6957 + fi
6958 + fi
6959 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6960 + if test -n "$MANIFEST_TOOL"; then
6961 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6962 + $as_echo "$MANIFEST_TOOL" >&6; }
6963 + else
6964 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6965 + $as_echo "no" >&6; }
6966 + fi
6967 +
6968 +
6969 + fi
6970 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6971 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6972 +  # Extract the first word of "mt", so it can be a program name with args.
6973 + set dummy mt; ac_word=$2
6974 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6975 + $as_echo_n "checking for $ac_word... " >&6; }
6976 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6977 +  $as_echo_n "(cached) " >&6
6978 + else
6979 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
6980 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6981 + else
6982 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6983 + for as_dir in $PATH
6984 + do
6985 +  IFS=$as_save_IFS
6986 +  test -z "$as_dir" && as_dir=.
6987 +    for ac_exec_ext in '' $ac_executable_extensions; do
6988 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6989 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6990 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6991 +    break 2
6992 +  fi
6993 + done
6994 +  done
6995 + IFS=$as_save_IFS
6996 +
6997 + fi
6998 + fi
6999 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7000 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7001 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7002 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7003 + else
7004 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7005 + $as_echo "no" >&6; }
7006 + fi
7007 +
7008 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7009 +    MANIFEST_TOOL=":"
7010 +  else
7011 +    case $cross_compiling:$ac_tool_warned in
7012 + yes:)
7013 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7014 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7015 + ac_tool_warned=yes ;;
7016 + esac
7017 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7018 +  fi
7019 + else
7020 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7021 + fi
7022 +
7023 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7024 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7025 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7026 + if ${lt_cv_path_mainfest_tool+:} false; then :
7027 +  $as_echo_n "(cached) " >&6
7028 + else
7029 +  lt_cv_path_mainfest_tool=no
7030 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7031 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7032 +  cat conftest.err >&5
7033 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7034 +    lt_cv_path_mainfest_tool=yes
7035 +  fi
7036 +  rm -f conftest*
7037 + fi
7038 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7039 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7040 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7041 +  MANIFEST_TOOL=:
7042 + fi
7043 +
7044 +
7045 +
7046 +
7047 +
7048  
7049    case $host_os in
7050      rhapsody* | darwin*)
# Line 6541 | Line 7053 | need_locks="$enable_libtool_lock"
7053   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7055   $as_echo_n "checking for $ac_word... " >&6; }
7056 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7056 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7057    $as_echo_n "(cached) " >&6
7058   else
7059    if test -n "$DSYMUTIL"; then
# Line 6553 | Line 7065 | do
7065    IFS=$as_save_IFS
7066    test -z "$as_dir" && as_dir=.
7067      for ac_exec_ext in '' $ac_executable_extensions; do
7068 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7068 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7069      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7070      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7071      break 2
# Line 6581 | Line 7093 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7093   set dummy dsymutil; ac_word=$2
7094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7095   $as_echo_n "checking for $ac_word... " >&6; }
7096 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7096 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7097    $as_echo_n "(cached) " >&6
7098   else
7099    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6593 | Line 7105 | do
7105    IFS=$as_save_IFS
7106    test -z "$as_dir" && as_dir=.
7107      for ac_exec_ext in '' $ac_executable_extensions; do
7108 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7108 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7109      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7110      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7111      break 2
# Line 6633 | Line 7145 | fi
7145   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7147   $as_echo_n "checking for $ac_word... " >&6; }
7148 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7148 > if ${ac_cv_prog_NMEDIT+:} false; then :
7149    $as_echo_n "(cached) " >&6
7150   else
7151    if test -n "$NMEDIT"; then
# Line 6645 | Line 7157 | do
7157    IFS=$as_save_IFS
7158    test -z "$as_dir" && as_dir=.
7159      for ac_exec_ext in '' $ac_executable_extensions; do
7160 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7160 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7161      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7162      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7163      break 2
# Line 6673 | Line 7185 | if test -z "$ac_cv_prog_NMEDIT"; then
7185   set dummy nmedit; ac_word=$2
7186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7187   $as_echo_n "checking for $ac_word... " >&6; }
7188 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7188 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7189    $as_echo_n "(cached) " >&6
7190   else
7191    if test -n "$ac_ct_NMEDIT"; then
# Line 6685 | Line 7197 | do
7197    IFS=$as_save_IFS
7198    test -z "$as_dir" && as_dir=.
7199      for ac_exec_ext in '' $ac_executable_extensions; do
7200 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7200 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7201      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7202      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7203      break 2
# Line 6725 | Line 7237 | fi
7237   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7239   $as_echo_n "checking for $ac_word... " >&6; }
7240 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7240 > if ${ac_cv_prog_LIPO+:} false; then :
7241    $as_echo_n "(cached) " >&6
7242   else
7243    if test -n "$LIPO"; then
# Line 6737 | Line 7249 | do
7249    IFS=$as_save_IFS
7250    test -z "$as_dir" && as_dir=.
7251      for ac_exec_ext in '' $ac_executable_extensions; do
7252 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7252 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7253      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7254      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7255      break 2
# Line 6765 | Line 7277 | if test -z "$ac_cv_prog_LIPO"; then
7277   set dummy lipo; ac_word=$2
7278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7279   $as_echo_n "checking for $ac_word... " >&6; }
7280 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7280 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7281    $as_echo_n "(cached) " >&6
7282   else
7283    if test -n "$ac_ct_LIPO"; then
# Line 6777 | Line 7289 | do
7289    IFS=$as_save_IFS
7290    test -z "$as_dir" && as_dir=.
7291      for ac_exec_ext in '' $ac_executable_extensions; do
7292 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7292 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7293      ac_cv_prog_ac_ct_LIPO="lipo"
7294      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7295      break 2
# Line 6817 | Line 7329 | fi
7329   set dummy ${ac_tool_prefix}otool; ac_word=$2
7330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7331   $as_echo_n "checking for $ac_word... " >&6; }
7332 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7332 > if ${ac_cv_prog_OTOOL+:} false; then :
7333    $as_echo_n "(cached) " >&6
7334   else
7335    if test -n "$OTOOL"; then
# Line 6829 | Line 7341 | do
7341    IFS=$as_save_IFS
7342    test -z "$as_dir" && as_dir=.
7343      for ac_exec_ext in '' $ac_executable_extensions; do
7344 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7344 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7345      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7346      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7347      break 2
# Line 6857 | Line 7369 | if test -z "$ac_cv_prog_OTOOL"; then
7369   set dummy otool; ac_word=$2
7370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371   $as_echo_n "checking for $ac_word... " >&6; }
7372 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7372 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7373    $as_echo_n "(cached) " >&6
7374   else
7375    if test -n "$ac_ct_OTOOL"; then
# Line 6869 | Line 7381 | do
7381    IFS=$as_save_IFS
7382    test -z "$as_dir" && as_dir=.
7383      for ac_exec_ext in '' $ac_executable_extensions; do
7384 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7384 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7385      ac_cv_prog_ac_ct_OTOOL="otool"
7386      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7387      break 2
# Line 6909 | Line 7421 | fi
7421   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7423   $as_echo_n "checking for $ac_word... " >&6; }
7424 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7424 > if ${ac_cv_prog_OTOOL64+:} false; then :
7425    $as_echo_n "(cached) " >&6
7426   else
7427    if test -n "$OTOOL64"; then
# Line 6921 | Line 7433 | do
7433    IFS=$as_save_IFS
7434    test -z "$as_dir" && as_dir=.
7435      for ac_exec_ext in '' $ac_executable_extensions; do
7436 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7436 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7437      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7438      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7439      break 2
# Line 6949 | Line 7461 | if test -z "$ac_cv_prog_OTOOL64"; then
7461   set dummy otool64; ac_word=$2
7462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7463   $as_echo_n "checking for $ac_word... " >&6; }
7464 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7464 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7465    $as_echo_n "(cached) " >&6
7466   else
7467    if test -n "$ac_ct_OTOOL64"; then
# Line 6961 | Line 7473 | do
7473    IFS=$as_save_IFS
7474    test -z "$as_dir" && as_dir=.
7475      for ac_exec_ext in '' $ac_executable_extensions; do
7476 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7476 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7477      ac_cv_prog_ac_ct_OTOOL64="otool64"
7478      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7479      break 2
# Line 7024 | Line 7536 | fi
7536  
7537      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7538   $as_echo_n "checking for -single_module linker flag... " >&6; }
7539 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7539 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7540    $as_echo_n "(cached) " >&6
7541   else
7542    lt_cv_apple_cc_single_mod=no
# Line 7040 | Line 7552 | else
7552          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7553            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7554          _lt_result=$?
7555 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7555 >        # If there is a non-empty error log, and "single_module"
7556 >        # appears in it, assume the flag caused a linker warning
7557 >        if test -s conftest.err && $GREP single_module conftest.err; then
7558 >          cat conftest.err >&5
7559 >        # Otherwise, if the output was created with a 0 exit code from
7560 >        # the compiler, it worked.
7561 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7562            lt_cv_apple_cc_single_mod=yes
7563          else
7564            cat conftest.err >&5
# Line 7051 | Line 7569 | else
7569   fi
7570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7571   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7572 +
7573      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7574   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7575 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7575 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7576    $as_echo_n "(cached) " >&6
7577   else
7578    lt_cv_ld_exported_symbols_list=no
# Line 7083 | Line 7602 | rm -f core conftest.err conftest.$ac_obj
7602   fi
7603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7604   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7605 +
7606 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7607 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7608 + if ${lt_cv_ld_force_load+:} false; then :
7609 +  $as_echo_n "(cached) " >&6
7610 + else
7611 +  lt_cv_ld_force_load=no
7612 +      cat > conftest.c << _LT_EOF
7613 + int forced_loaded() { return 2;}
7614 + _LT_EOF
7615 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7616 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7617 +      echo "$AR cru libconftest.a conftest.o" >&5
7618 +      $AR cru libconftest.a conftest.o 2>&5
7619 +      echo "$RANLIB libconftest.a" >&5
7620 +      $RANLIB libconftest.a 2>&5
7621 +      cat > conftest.c << _LT_EOF
7622 + int main() { return 0;}
7623 + _LT_EOF
7624 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7625 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7626 +      _lt_result=$?
7627 +      if test -s conftest.err && $GREP force_load conftest.err; then
7628 +        cat conftest.err >&5
7629 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7630 +        lt_cv_ld_force_load=yes
7631 +      else
7632 +        cat conftest.err >&5
7633 +      fi
7634 +        rm -f conftest.err libconftest.a conftest conftest.c
7635 +        rm -rf conftest.dSYM
7636 +
7637 + fi
7638 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7639 + $as_echo "$lt_cv_ld_force_load" >&6; }
7640      case $host_os in
7641      rhapsody* | darwin1.[012])
7642        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7110 | Line 7664 | $as_echo "$lt_cv_ld_exported_symbols_lis
7664      else
7665        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7666      fi
7667 <    if test "$DSYMUTIL" != ":"; then
7667 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7668        _lt_dsymutil='~$DSYMUTIL $lib || :'
7669      else
7670        _lt_dsymutil=
# Line 7130 | Line 7684 | if test -n "$CPP" && test -d "$CPP"; the
7684    CPP=
7685   fi
7686   if test -z "$CPP"; then
7687 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7687 >  if ${ac_cv_prog_CPP+:} false; then :
7688    $as_echo_n "(cached) " >&6
7689   else
7690        # Double quotes because CPP needs to be expanded
# Line 7160 | Line 7714 | else
7714    # Broken: fails on valid input.
7715   continue
7716   fi
7717 < rm -f conftest.err conftest.$ac_ext
7717 > rm -f conftest.err conftest.i conftest.$ac_ext
7718  
7719    # OK, works on sane cases.  Now check whether nonexistent headers
7720    # can be detected and how.
# Line 7176 | Line 7730 | else
7730   ac_preproc_ok=:
7731   break
7732   fi
7733 < rm -f conftest.err conftest.$ac_ext
7733 > rm -f conftest.err conftest.i conftest.$ac_ext
7734  
7735   done
7736   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7737 < rm -f conftest.err conftest.$ac_ext
7737 > rm -f conftest.i conftest.err conftest.$ac_ext
7738   if $ac_preproc_ok; then :
7739    break
7740   fi
# Line 7219 | Line 7773 | else
7773    # Broken: fails on valid input.
7774   continue
7775   fi
7776 < rm -f conftest.err conftest.$ac_ext
7776 > rm -f conftest.err conftest.i conftest.$ac_ext
7777  
7778    # OK, works on sane cases.  Now check whether nonexistent headers
7779    # can be detected and how.
# Line 7235 | Line 7789 | else
7789   ac_preproc_ok=:
7790   break
7791   fi
7792 < rm -f conftest.err conftest.$ac_ext
7792 > rm -f conftest.err conftest.i conftest.$ac_ext
7793  
7794   done
7795   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7796 < rm -f conftest.err conftest.$ac_ext
7796 > rm -f conftest.i conftest.err conftest.$ac_ext
7797   if $ac_preproc_ok; then :
7798  
7799   else
7800    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7801   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7802 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7803 < See \`config.log' for more details." "$LINENO" 5; }
7802 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7803 > See \`config.log' for more details" "$LINENO" 5; }
7804   fi
7805  
7806   ac_ext=c
# Line 7258 | Line 7812 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7812  
7813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7814   $as_echo_n "checking for ANSI C header files... " >&6; }
7815 < if test "${ac_cv_header_stdc+set}" = set; then :
7815 > if ${ac_cv_header_stdc+:} false; then :
7816    $as_echo_n "(cached) " >&6
7817   else
7818    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7375 | Line 7929 | do :
7929    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7930   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7931   "
7932 < eval as_val=\$$as_ac_Header
7379 <   if test "x$as_val" = x""yes; then :
7932 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7933    cat >>confdefs.h <<_ACEOF
7934   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7935   _ACEOF
# Line 7390 | Line 7943 | for ac_header in dlfcn.h
7943   do :
7944    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7945   "
7946 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7946 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7947    cat >>confdefs.h <<_ACEOF
7948   #define HAVE_DLFCN_H 1
7949   _ACEOF
# Line 7401 | Line 7954 | done
7954  
7955  
7956  
7957 +
7958 +
7959   # Set options
7960   enable_dlopen=yes
7961   # Check whether --enable-static was given.
# Line 7474 | Line 8029 | fi
8029  
8030   # Check whether --with-pic was given.
8031   if test "${with_pic+set}" = set; then :
8032 <  withval=$with_pic; pic_mode="$withval"
8032 >  withval=$with_pic; lt_p=${PACKAGE-default}
8033 >    case $withval in
8034 >    yes|no) pic_mode=$withval ;;
8035 >    *)
8036 >      pic_mode=default
8037 >      # Look at the argument we got.  We use all the common list separators.
8038 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8039 >      for lt_pkg in $withval; do
8040 >        IFS="$lt_save_ifs"
8041 >        if test "X$lt_pkg" = "X$lt_p"; then
8042 >          pic_mode=yes
8043 >        fi
8044 >      done
8045 >      IFS="$lt_save_ifs"
8046 >      ;;
8047 >    esac
8048   else
8049    pic_mode=default
8050   fi
# Line 7551 | Line 8121 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8121  
8122  
8123  
8124 +
8125 +
8126 +
8127 +
8128 +
8129   test -z "$LN_S" && LN_S="ln -s"
8130  
8131  
# Line 7572 | Line 8147 | fi
8147  
8148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8149   $as_echo_n "checking for objdir... " >&6; }
8150 < if test "${lt_cv_objdir+set}" = set; then :
8150 > if ${lt_cv_objdir+:} false; then :
8151    $as_echo_n "(cached) " >&6
8152   else
8153    rm -f .libs 2>/dev/null
# Line 7600 | Line 8175 | _ACEOF
8175  
8176  
8177  
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
8178   case $host_os in
8179   aix3*)
8180    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7625 | Line 8187 | aix3*)
8187    ;;
8188   esac
8189  
7628 # Sed substitution that helps us do robust quoting.  It backslashifies
7629 # metacharacters that are still active within double-quoted strings.
7630 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7631
7632 # Same as above, but do not quote variable references.
7633 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7634
7635 # Sed substitution to delay expansion of an escaped shell variable in a
7636 # double_quote_subst'ed string.
7637 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7638
7639 # Sed substitution to delay expansion of an escaped single quote.
7640 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7641
7642 # Sed substitution to avoid accidental globbing in evaled expressions
7643 no_glob_subst='s/\*/\\\*/g'
7644
8190   # Global variables:
8191   ofile=libtool
8192   can_build_shared=yes
# Line 7670 | Line 8215 | for cc_temp in $compiler""; do
8215      *) break;;
8216    esac
8217   done
8218 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8218 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8219  
8220  
8221   # Only perform the check for file, if the check method requires it
# Line 7680 | Line 8225 | file_magic*)
8225    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8226      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8227   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8228 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8228 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8229    $as_echo_n "(cached) " >&6
8230   else
8231    case $MAGIC_CMD in
# Line 7746 | Line 8291 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8291    if test -n "$ac_tool_prefix"; then
8292      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8293   $as_echo_n "checking for file... " >&6; }
8294 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8294 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8295    $as_echo_n "(cached) " >&6
8296   else
8297    case $MAGIC_CMD in
# Line 7875 | Line 8420 | if test -n "$compiler"; then
8420   lt_prog_compiler_no_builtin_flag=
8421  
8422   if test "$GCC" = yes; then
8423 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8423 >  case $cc_basename in
8424 >  nvcc*)
8425 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8426 >  *)
8427 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8428 >  esac
8429  
8430    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8431   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8432 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8432 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8433    $as_echo_n "(cached) " >&6
8434   else
8435    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7895 | Line 8445 | else
8445     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8446     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8447     -e 's:$: $lt_compiler_flag:'`
8448 <   (eval echo "\"\$as_me:7898: $lt_compile\"" >&5)
8448 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8449     (eval "$lt_compile" 2>conftest.err)
8450     ac_status=$?
8451     cat conftest.err >&5
8452 <   echo "$as_me:7902: \$? = $ac_status" >&5
8452 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453     if (exit $ac_status) && test -s "$ac_outfile"; then
8454       # The compiler can only warn and ignore the option if not recognized
8455       # So say no if there are warnings other than the usual output.
8456 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8456 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8457       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8458       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8459         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7932 | Line 8482 | fi
8482   lt_prog_compiler_pic=
8483   lt_prog_compiler_static=
8484  
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7936 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8485  
8486    if test "$GCC" = yes; then
8487      lt_prog_compiler_wl='-Wl,'
# Line 7981 | Line 8529 | $as_echo_n "checking for $compiler optio
8529        lt_prog_compiler_pic='-fno-common'
8530        ;;
8531  
8532 +    haiku*)
8533 +      # PIC is the default for Haiku.
8534 +      # The "-static" flag exists, but is broken.
8535 +      lt_prog_compiler_static=
8536 +      ;;
8537 +
8538      hpux*)
8539        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8540        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 8023 | Line 8577 | $as_echo_n "checking for $compiler optio
8577        lt_prog_compiler_pic='-fPIC'
8578        ;;
8579      esac
8580 +
8581 +    case $cc_basename in
8582 +    nvcc*) # Cuda Compiler Driver 2.2
8583 +      lt_prog_compiler_wl='-Xlinker '
8584 +      if test -n "$lt_prog_compiler_pic"; then
8585 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8586 +      fi
8587 +      ;;
8588 +    esac
8589    else
8590      # PORTME Check for flag to pass linker flags through the system compiler.
8591      case $host_os in
# Line 8064 | Line 8627 | $as_echo_n "checking for $compiler optio
8627        lt_prog_compiler_static='-non_shared'
8628        ;;
8629  
8630 <    linux* | k*bsd*-gnu)
8630 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8631        case $cc_basename in
8632        # old Intel for x86_64 which still supported -KPIC.
8633        ecc*)
# Line 8085 | Line 8648 | $as_echo_n "checking for $compiler optio
8648          lt_prog_compiler_pic='--shared'
8649          lt_prog_compiler_static='--static'
8650          ;;
8651 <      pgcc* | pgf77* | pgf90* | pgf95*)
8651 >      nagfor*)
8652 >        # NAG Fortran compiler
8653 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8654 >        lt_prog_compiler_pic='-PIC'
8655 >        lt_prog_compiler_static='-Bstatic'
8656 >        ;;
8657 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8658          # Portland Group compilers (*not* the Pentium gcc compiler,
8659          # which looks to be a dead project)
8660          lt_prog_compiler_wl='-Wl,'
# Line 8097 | Line 8666 | $as_echo_n "checking for $compiler optio
8666          # All Alpha code is PIC.
8667          lt_prog_compiler_static='-non_shared'
8668          ;;
8669 <      xl*)
8670 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8669 >      xl* | bgxl* | bgf* | mpixl*)
8670 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8671          lt_prog_compiler_wl='-Wl,'
8672          lt_prog_compiler_pic='-qpic'
8673          lt_prog_compiler_static='-qstaticlink'
8674          ;;
8675        *)
8676          case `$CC -V 2>&1 | sed 5q` in
8677 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8678 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8679 +          lt_prog_compiler_pic='-KPIC'
8680 +          lt_prog_compiler_static='-Bstatic'
8681 +          lt_prog_compiler_wl=''
8682 +          ;;
8683 +        *Sun\ F* | *Sun*Fortran*)
8684 +          lt_prog_compiler_pic='-KPIC'
8685 +          lt_prog_compiler_static='-Bstatic'
8686 +          lt_prog_compiler_wl='-Qoption ld '
8687 +          ;;
8688          *Sun\ C*)
8689            # Sun C 5.9
8690            lt_prog_compiler_pic='-KPIC'
8691            lt_prog_compiler_static='-Bstatic'
8692            lt_prog_compiler_wl='-Wl,'
8693            ;;
8694 <        *Sun\ F*)
8695 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8696 <          lt_prog_compiler_pic='-KPIC'
8694 >        *Intel*\ [CF]*Compiler*)
8695 >          lt_prog_compiler_wl='-Wl,'
8696 >          lt_prog_compiler_pic='-fPIC'
8697 >          lt_prog_compiler_static='-static'
8698 >          ;;
8699 >        *Portland\ Group*)
8700 >          lt_prog_compiler_wl='-Wl,'
8701 >          lt_prog_compiler_pic='-fpic'
8702            lt_prog_compiler_static='-Bstatic'
8118          lt_prog_compiler_wl=''
8703            ;;
8704          esac
8705          ;;
# Line 8147 | Line 8731 | $as_echo_n "checking for $compiler optio
8731        lt_prog_compiler_pic='-KPIC'
8732        lt_prog_compiler_static='-Bstatic'
8733        case $cc_basename in
8734 <      f77* | f90* | f95*)
8734 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8735          lt_prog_compiler_wl='-Qoption ld ';;
8736        *)
8737          lt_prog_compiler_wl='-Wl,';;
# Line 8204 | Line 8788 | case $host_os in
8788      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8789      ;;
8790   esac
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8208 $as_echo "$lt_prog_compiler_pic" >&6; }
8209
8210
8211
8212
8791  
8792 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8793 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8794 + if ${lt_cv_prog_compiler_pic+:} false; then :
8795 +  $as_echo_n "(cached) " >&6
8796 + else
8797 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8798 + fi
8799 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8800 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8801 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8802  
8803   #
8804   # Check to make sure the PIC flag actually works.
# Line 8218 | Line 8806 | $as_echo "$lt_prog_compiler_pic" >&6; }
8806   if test -n "$lt_prog_compiler_pic"; then
8807    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8808   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8809 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8809 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8810    $as_echo_n "(cached) " >&6
8811   else
8812    lt_cv_prog_compiler_pic_works=no
# Line 8234 | Line 8822 | else
8822     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8823     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8824     -e 's:$: $lt_compiler_flag:'`
8825 <   (eval echo "\"\$as_me:8237: $lt_compile\"" >&5)
8825 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8826     (eval "$lt_compile" 2>conftest.err)
8827     ac_status=$?
8828     cat conftest.err >&5
8829 <   echo "$as_me:8241: \$? = $ac_status" >&5
8829 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830     if (exit $ac_status) && test -s "$ac_outfile"; then
8831       # The compiler can only warn and ignore the option if not recognized
8832       # So say no if there are warnings other than the usual output.
8833 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8833 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8834       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8835       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8836         lt_cv_prog_compiler_pic_works=yes
# Line 8271 | Line 8859 | fi
8859  
8860  
8861  
8862 +
8863 +
8864 +
8865 +
8866 +
8867   #
8868   # Check to make sure the static flag actually works.
8869   #
8870   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8872   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8873 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8873 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8874    $as_echo_n "(cached) " >&6
8875   else
8876    lt_cv_prog_compiler_static_works=no
# Line 8290 | Line 8883 | else
8883       if test -s conftest.err; then
8884         # Append any errors to the config.log.
8885         cat conftest.err 1>&5
8886 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8886 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8887         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8888         if diff conftest.exp conftest.er2 >/dev/null; then
8889           lt_cv_prog_compiler_static_works=yes
# Line 8320 | Line 8913 | fi
8913  
8914    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8915   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8916 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8916 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8917    $as_echo_n "(cached) " >&6
8918   else
8919    lt_cv_prog_compiler_c_o=no
# Line 8339 | Line 8932 | else
8932     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8933     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8934     -e 's:$: $lt_compiler_flag:'`
8935 <   (eval echo "\"\$as_me:8342: $lt_compile\"" >&5)
8935 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8936     (eval "$lt_compile" 2>out/conftest.err)
8937     ac_status=$?
8938     cat out/conftest.err >&5
8939 <   echo "$as_me:8346: \$? = $ac_status" >&5
8939 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8941     then
8942       # The compiler can only warn and ignore the option if not recognized
8943       # So say no if there are warnings
8944 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8944 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8945       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8946       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8947         lt_cv_prog_compiler_c_o=yes
# Line 8375 | Line 8968 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8968  
8969    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8970   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8971 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8971 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8972    $as_echo_n "(cached) " >&6
8973   else
8974    lt_cv_prog_compiler_c_o=no
# Line 8394 | Line 8987 | else
8987     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8988     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8989     -e 's:$: $lt_compiler_flag:'`
8990 <   (eval echo "\"\$as_me:8397: $lt_compile\"" >&5)
8990 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8991     (eval "$lt_compile" 2>out/conftest.err)
8992     ac_status=$?
8993     cat out/conftest.err >&5
8994 <   echo "$as_me:8401: \$? = $ac_status" >&5
8994 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8996     then
8997       # The compiler can only warn and ignore the option if not recognized
8998       # So say no if there are warnings
8999 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8999 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9000       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9001       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9002         lt_cv_prog_compiler_c_o=yes
# Line 8469 | Line 9062 | $as_echo_n "checking whether the $compil
9062    hardcode_direct=no
9063    hardcode_direct_absolute=no
9064    hardcode_libdir_flag_spec=
8472  hardcode_libdir_flag_spec_ld=
9065    hardcode_libdir_separator=
9066    hardcode_minus_L=no
9067    hardcode_shlibpath_var=unsupported
# Line 8516 | Line 9108 | $as_echo_n "checking whether the $compil
9108    esac
9109  
9110    ld_shlibs=yes
9111 +
9112 +  # On some targets, GNU ld is compatible enough with the native linker
9113 +  # that we're better off using the native interface for both.
9114 +  lt_use_gnu_ld_interface=no
9115    if test "$with_gnu_ld" = yes; then
9116 +    case $host_os in
9117 +      aix*)
9118 +        # The AIX port of GNU ld has always aspired to compatibility
9119 +        # with the native linker.  However, as the warning in the GNU ld
9120 +        # block says, versions before 2.19.5* couldn't really create working
9121 +        # shared libraries, regardless of the interface used.
9122 +        case `$LD -v 2>&1` in
9123 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9124 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9125 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9126 +          *)
9127 +            lt_use_gnu_ld_interface=yes
9128 +            ;;
9129 +        esac
9130 +        ;;
9131 +      *)
9132 +        lt_use_gnu_ld_interface=yes
9133 +        ;;
9134 +    esac
9135 +  fi
9136 +
9137 +  if test "$lt_use_gnu_ld_interface" = yes; then
9138      # If archive_cmds runs LD, not CC, wlarc should be empty
9139      wlarc='${wl}'
9140  
# Line 8534 | Line 9152 | $as_echo_n "checking whether the $compil
9152      fi
9153      supports_anon_versioning=no
9154      case `$LD -v 2>&1` in
9155 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9156        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9157        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9158        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8549 | Line 9168 | $as_echo_n "checking whether the $compil
9168          ld_shlibs=no
9169          cat <<_LT_EOF 1>&2
9170  
9171 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9171 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9172   *** to be unable to reliably create shared libraries on AIX.
9173   *** Therefore, libtool is disabling shared libraries support.  If you
9174 < *** really care for shared libraries, you may want to modify your PATH
9175 < *** so that a non-GNU linker is found, and then restart.
9174 > *** really care for shared libraries, you may want to install binutils
9175 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9176 > *** You will then need to restart the configuration process.
9177  
9178   _LT_EOF
9179        fi
# Line 8589 | Line 9209 | _LT_EOF
9209        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9210        # as there is no search path for DLLs.
9211        hardcode_libdir_flag_spec='-L$libdir'
9212 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9213        allow_undefined_flag=unsupported
9214        always_export_symbols=no
9215        enable_shared_with_static_runtimes=yes
9216 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9216 >      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'
9217 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9218  
9219        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9220          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8610 | Line 9232 | _LT_EOF
9232        fi
9233        ;;
9234  
9235 +    haiku*)
9236 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9237 +      link_all_deplibs=yes
9238 +      ;;
9239 +
9240      interix[3-9]*)
9241        hardcode_direct=no
9242        hardcode_shlibpath_var=no
# Line 8625 | Line 9252 | _LT_EOF
9252        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'
9253        ;;
9254  
9255 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9255 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9256        tmp_diet=no
9257        if test "$host_os" = linux-dietlibc; then
9258          case $cc_basename in
# Line 8635 | Line 9262 | _LT_EOF
9262        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9263           && test "$tmp_diet" = no
9264        then
9265 <        tmp_addflag=
9265 >        tmp_addflag=' $pic_flag'
9266          tmp_sharedflag='-shared'
9267          case $cc_basename,$host_cpu in
9268          pgcc*)                          # Portland Group C compiler
9269 <          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'
9269 >          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9270            tmp_addflag=' $pic_flag'
9271            ;;
9272 <        pgf77* | pgf90* | pgf95*)       # 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; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9272 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9273 >                                        # Portland Group f77 and f90 compilers
9274 >          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'
9275            tmp_addflag=' $pic_flag -Mnomain' ;;
9276          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9277            tmp_addflag=' -i_dynamic' ;;
# Line 8654 | Line 9282 | _LT_EOF
9282          lf95*)                          # Lahey Fortran 8.1
9283            whole_archive_flag_spec=
9284            tmp_sharedflag='--shared' ;;
9285 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9285 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9286            tmp_sharedflag='-qmkshrobj'
9287            tmp_addflag= ;;
9288 +        nvcc*)  # Cuda Compiler Driver 2.2
9289 +          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'
9290 +          compiler_needs_object=yes
9291 +          ;;
9292          esac
9293          case `$CC -V 2>&1 | sed 5q` in
9294          *Sun\ C*)                       # Sun C 5.9
9295 <          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'
9295 >          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'
9296            compiler_needs_object=yes
9297            tmp_sharedflag='-G' ;;
9298          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8676 | Line 9308 | _LT_EOF
9308          fi
9309  
9310          case $cc_basename in
9311 <        xlf*)
9311 >        xlf* | bgf* | bgxlf* | mpixlf*)
9312            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9313            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9314 <          hardcode_libdir_flag_spec=
9315 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8684 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9314 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9315 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9316            if test "x$supports_anon_versioning" = xyes; then
9317              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9318                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9319                echo "local: *; };" >> $output_objdir/$libname.ver~
9320 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9320 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9321            fi
9322            ;;
9323          esac
# Line 8700 | Line 9331 | _LT_EOF
9331          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9332          wlarc=
9333        else
9334 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9335 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9334 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9335 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9336        fi
9337        ;;
9338  
# Line 8719 | Line 9350 | _LT_EOF
9350  
9351   _LT_EOF
9352        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9353 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9354 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9353 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9354 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9355        else
9356          ld_shlibs=no
9357        fi
# Line 8766 | Line 9397 | _LT_EOF
9397  
9398      *)
9399        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9400 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9401 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9400 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9401 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9402        else
9403          ld_shlibs=no
9404        fi
# Line 8807 | Line 9438 | _LT_EOF
9438        else
9439          # If we're using GNU nm, then we don't want the "-C" option.
9440          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9441 +        # Also, AIX nm treats weak defined symbols like other global
9442 +        # defined symbols, whereas GNU nm marks them as "W".
9443          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9444 <          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'
9444 >          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'
9445          else
9446            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'
9447          fi
# Line 8895 | Line 9528 | _LT_EOF
9528          allow_undefined_flag='-berok'
9529          # Determine the default libpath from the value encoded in an
9530          # empty executable.
9531 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9531 >        if test "${lt_cv_aix_libpath+set}" = set; then
9532 >  aix_libpath=$lt_cv_aix_libpath
9533 > else
9534 >  if ${lt_cv_aix_libpath_+:} false; then :
9535 >  $as_echo_n "(cached) " >&6
9536 > else
9537 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9538   /* end confdefs.h.  */
9539  
9540   int
# Line 8908 | Line 9547 | main ()
9547   _ACEOF
9548   if ac_fn_c_try_link "$LINENO"; then :
9549  
9550 < lt_aix_libpath_sed='
9551 <    /Import File Strings/,/^$/ {
9552 <        /^0/ {
9553 <            s/^0  *\(.*\)$/\1/
9554 <            p
9555 <        }
9556 <    }'
9557 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9558 < # Check for a 64-bit object if we didn't find anything.
9559 < if test -z "$aix_libpath"; then
9560 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9561 < fi
9550 >  lt_aix_libpath_sed='
9551 >      /Import File Strings/,/^$/ {
9552 >          /^0/ {
9553 >              s/^0  *\([^ ]*\) *$/\1/
9554 >              p
9555 >          }
9556 >      }'
9557 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9558 >  # Check for a 64-bit object if we didn't find anything.
9559 >  if test -z "$lt_cv_aix_libpath_"; then
9560 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9561 >  fi
9562   fi
9563   rm -f core conftest.err conftest.$ac_objext \
9564      conftest$ac_exeext conftest.$ac_ext
9565 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9565 >  if test -z "$lt_cv_aix_libpath_"; then
9566 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9567 >  fi
9568 >
9569 > fi
9570 >
9571 >  aix_libpath=$lt_cv_aix_libpath_
9572 > fi
9573  
9574          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9575 <        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"
9575 >        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"
9576        else
9577          if test "$host_cpu" = ia64; then
9578            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8935 | Line 9581 | if test -z "$aix_libpath"; then aix_libp
9581          else
9582           # Determine the default libpath from the value encoded in an
9583           # empty executable.
9584 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9584 >         if test "${lt_cv_aix_libpath+set}" = set; then
9585 >  aix_libpath=$lt_cv_aix_libpath
9586 > else
9587 >  if ${lt_cv_aix_libpath_+:} false; then :
9588 >  $as_echo_n "(cached) " >&6
9589 > else
9590 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9591   /* end confdefs.h.  */
9592  
9593   int
# Line 8948 | Line 9600 | main ()
9600   _ACEOF
9601   if ac_fn_c_try_link "$LINENO"; then :
9602  
9603 < lt_aix_libpath_sed='
9604 <    /Import File Strings/,/^$/ {
9605 <        /^0/ {
9606 <            s/^0  *\(.*\)$/\1/
9607 <            p
9608 <        }
9609 <    }'
9610 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9611 < # Check for a 64-bit object if we didn't find anything.
9612 < if test -z "$aix_libpath"; then
9613 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9614 < fi
9603 >  lt_aix_libpath_sed='
9604 >      /Import File Strings/,/^$/ {
9605 >          /^0/ {
9606 >              s/^0  *\([^ ]*\) *$/\1/
9607 >              p
9608 >          }
9609 >      }'
9610 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9611 >  # Check for a 64-bit object if we didn't find anything.
9612 >  if test -z "$lt_cv_aix_libpath_"; then
9613 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9614 >  fi
9615   fi
9616   rm -f core conftest.err conftest.$ac_objext \
9617      conftest$ac_exeext conftest.$ac_ext
9618 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9618 >  if test -z "$lt_cv_aix_libpath_"; then
9619 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9620 >  fi
9621 >
9622 > fi
9623 >
9624 >  aix_libpath=$lt_cv_aix_libpath_
9625 > fi
9626  
9627           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9628            # Warning - without using the other run time loading flags,
9629            # -berok will link without error, but may produce a broken library.
9630            no_undefined_flag=' ${wl}-bernotok'
9631            allow_undefined_flag=' ${wl}-berok'
9632 <          # Exported symbols can be pulled into shared objects from archives
9633 <          whole_archive_flag_spec='$convenience'
9632 >          if test "$with_gnu_ld" = yes; then
9633 >            # We only use this code for GNU lds that support --whole-archive.
9634 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9635 >          else
9636 >            # Exported symbols can be pulled into shared objects from archives
9637 >            whole_archive_flag_spec='$convenience'
9638 >          fi
9639            archive_cmds_need_lc=yes
9640            # This is similar to how AIX traditionally builds its shared libraries.
9641            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 9003 | Line 9667 | if test -z "$aix_libpath"; then aix_libp
9667        # Microsoft Visual C++.
9668        # hardcode_libdir_flag_spec is actually meaningless, as there is
9669        # no search path for DLLs.
9670 <      hardcode_libdir_flag_spec=' '
9671 <      allow_undefined_flag=unsupported
9672 <      # Tell ltmain to make .lib files, not .a files.
9673 <      libext=lib
9674 <      # Tell ltmain to make .dll files, not .so files.
9675 <      shrext_cmds=".dll"
9676 <      # FIXME: Setting linknames here is a bad hack.
9677 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9678 <      # The linker will automatically build a .lib file if we build a DLL.
9679 <      old_archive_from_new_cmds='true'
9680 <      # FIXME: Should let the user specify the lib program.
9681 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9682 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9683 <      enable_shared_with_static_runtimes=yes
9670 >      case $cc_basename in
9671 >      cl*)
9672 >        # Native MSVC
9673 >        hardcode_libdir_flag_spec=' '
9674 >        allow_undefined_flag=unsupported
9675 >        always_export_symbols=yes
9676 >        file_list_spec='@'
9677 >        # Tell ltmain to make .lib files, not .a files.
9678 >        libext=lib
9679 >        # Tell ltmain to make .dll files, not .so files.
9680 >        shrext_cmds=".dll"
9681 >        # FIXME: Setting linknames here is a bad hack.
9682 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9683 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9684 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9685 >          else
9686 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9687 >          fi~
9688 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9689 >          linknames='
9690 >        # The linker will not automatically build a static lib if we build a DLL.
9691 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9692 >        enable_shared_with_static_runtimes=yes
9693 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9694 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9695 >        # Don't use ranlib
9696 >        old_postinstall_cmds='chmod 644 $oldlib'
9697 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9698 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9699 >          case $lt_outputfile in
9700 >            *.exe|*.EXE) ;;
9701 >            *)
9702 >              lt_outputfile="$lt_outputfile.exe"
9703 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9704 >              ;;
9705 >          esac~
9706 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9707 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9708 >            $RM "$lt_outputfile.manifest";
9709 >          fi'
9710 >        ;;
9711 >      *)
9712 >        # Assume MSVC wrapper
9713 >        hardcode_libdir_flag_spec=' '
9714 >        allow_undefined_flag=unsupported
9715 >        # Tell ltmain to make .lib files, not .a files.
9716 >        libext=lib
9717 >        # Tell ltmain to make .dll files, not .so files.
9718 >        shrext_cmds=".dll"
9719 >        # FIXME: Setting linknames here is a bad hack.
9720 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9721 >        # The linker will automatically build a .lib file if we build a DLL.
9722 >        old_archive_from_new_cmds='true'
9723 >        # FIXME: Should let the user specify the lib program.
9724 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9725 >        enable_shared_with_static_runtimes=yes
9726 >        ;;
9727 >      esac
9728        ;;
9729  
9730      darwin* | rhapsody*)
# Line 9026 | Line 9734 | if test -z "$aix_libpath"; then aix_libp
9734    hardcode_direct=no
9735    hardcode_automatic=yes
9736    hardcode_shlibpath_var=unsupported
9737 <  whole_archive_flag_spec=''
9737 >  if test "$lt_cv_ld_force_load" = "yes"; then
9738 >    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\"`'
9739 >
9740 >  else
9741 >    whole_archive_flag_spec=''
9742 >  fi
9743    link_all_deplibs=yes
9744    allow_undefined_flag="$_lt_dar_allow_undefined"
9745    case $cc_basename in
# Line 9034 | Line 9747 | if test -z "$aix_libpath"; then aix_libp
9747       *) _lt_dar_can_shared=$GCC ;;
9748    esac
9749    if test "$_lt_dar_can_shared" = "yes"; then
9750 <    output_verbose_link_cmd=echo
9750 >    output_verbose_link_cmd=func_echo_all
9751      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9752      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9753      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 9052 | Line 9765 | if test -z "$aix_libpath"; then aix_libp
9765        hardcode_shlibpath_var=no
9766        ;;
9767  
9055    freebsd1*)
9056      ld_shlibs=no
9057      ;;
9058
9768      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9769      # support.  Future versions do this automatically, but an explicit c++rt0.o
9770      # does not break anything, and helps significantly (at the cost of a little
# Line 9068 | Line 9777 | if test -z "$aix_libpath"; then aix_libp
9777        ;;
9778  
9779      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9780 <    freebsd2*)
9780 >    freebsd2.*)
9781        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9782        hardcode_direct=yes
9783        hardcode_minus_L=yes
# Line 9077 | Line 9786 | if test -z "$aix_libpath"; then aix_libp
9786  
9787      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9788      freebsd* | dragonfly*)
9789 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9789 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9790        hardcode_libdir_flag_spec='-R$libdir'
9791        hardcode_direct=yes
9792        hardcode_shlibpath_var=no
# Line 9085 | Line 9794 | if test -z "$aix_libpath"; then aix_libp
9794  
9795      hpux9*)
9796        if test "$GCC" = yes; then
9797 <        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'
9797 >        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'
9798        else
9799          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'
9800        fi
# Line 9100 | Line 9809 | if test -z "$aix_libpath"; then aix_libp
9809        ;;
9810  
9811      hpux10*)
9812 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9813 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9812 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9813 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9814        else
9815          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9816        fi
9817        if test "$with_gnu_ld" = no; then
9818          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9110        hardcode_libdir_flag_spec_ld='+b $libdir'
9819          hardcode_libdir_separator=:
9820          hardcode_direct=yes
9821          hardcode_direct_absolute=yes
# Line 9119 | Line 9827 | if test -z "$aix_libpath"; then aix_libp
9827        ;;
9828  
9829      hpux11*)
9830 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9830 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9831          case $host_cpu in
9832          hppa*64*)
9833            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9834            ;;
9835          ia64*)
9836 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9836 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9837            ;;
9838          *)
9839 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9839 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9840            ;;
9841          esac
9842        else
# Line 9140 | Line 9848 | if test -z "$aix_libpath"; then aix_libp
9848            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9849            ;;
9850          *)
9851 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9851 >
9852 >          # Older versions of the 11.00 compiler do not understand -b yet
9853 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9854 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9855 > $as_echo_n "checking if $CC understands -b... " >&6; }
9856 > if ${lt_cv_prog_compiler__b+:} false; then :
9857 >  $as_echo_n "(cached) " >&6
9858 > else
9859 >  lt_cv_prog_compiler__b=no
9860 >   save_LDFLAGS="$LDFLAGS"
9861 >   LDFLAGS="$LDFLAGS -b"
9862 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9863 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9864 >     # The linker can only warn and ignore the option if not recognized
9865 >     # So say no if there are warnings
9866 >     if test -s conftest.err; then
9867 >       # Append any errors to the config.log.
9868 >       cat conftest.err 1>&5
9869 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9870 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9871 >       if diff conftest.exp conftest.er2 >/dev/null; then
9872 >         lt_cv_prog_compiler__b=yes
9873 >       fi
9874 >     else
9875 >       lt_cv_prog_compiler__b=yes
9876 >     fi
9877 >   fi
9878 >   $RM -r conftest*
9879 >   LDFLAGS="$save_LDFLAGS"
9880 >
9881 > fi
9882 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9883 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9884 >
9885 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9886 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9887 > else
9888 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9889 > fi
9890 >
9891            ;;
9892          esac
9893        fi
# Line 9168 | Line 9915 | if test -z "$aix_libpath"; then aix_libp
9915  
9916      irix5* | irix6* | nonstopux*)
9917        if test "$GCC" = yes; then
9918 <        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'
9918 >        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'
9919          # Try to use the -exported_symbol ld option, if it does not
9920          # work, assume that -exports_file does not work either and
9921          # implicitly export all symbols.
9922 <        save_LDFLAGS="$LDFLAGS"
9923 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9924 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9922 >        # This should be the same for all languages, so no per-tag cache variable.
9923 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9924 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9925 > if ${lt_cv_irix_exported_symbol+:} false; then :
9926 >  $as_echo_n "(cached) " >&6
9927 > else
9928 >  save_LDFLAGS="$LDFLAGS"
9929 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9930 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9931   /* end confdefs.h.  */
9932 < int foo(void) {}
9932 > int foo (void) { return 0; }
9933   _ACEOF
9934   if ac_fn_c_try_link "$LINENO"; then :
9935 <  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'
9936 <
9935 >  lt_cv_irix_exported_symbol=yes
9936 > else
9937 >  lt_cv_irix_exported_symbol=no
9938   fi
9939   rm -f core conftest.err conftest.$ac_objext \
9940      conftest$ac_exeext conftest.$ac_ext
9941 <        LDFLAGS="$save_LDFLAGS"
9941 >           LDFLAGS="$save_LDFLAGS"
9942 > fi
9943 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9944 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9945 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9946 >          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'
9947 >        fi
9948        else
9949 <        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'
9950 <        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'
9949 >        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'
9950 >        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'
9951        fi
9952        archive_cmds_need_lc='no'
9953        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9249 | Line 10009 | rm -f core conftest.err conftest.$ac_obj
10009        hardcode_libdir_flag_spec='-L$libdir'
10010        hardcode_minus_L=yes
10011        allow_undefined_flag=unsupported
10012 <      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 >      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'
10013        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10014        ;;
10015  
10016      osf3*)
10017        if test "$GCC" = yes; then
10018          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10019 <        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'
10019 >        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'
10020        else
10021          allow_undefined_flag=' -expect_unresolved \*'
10022 <        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'
10022 >        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'
10023        fi
10024        archive_cmds_need_lc='no'
10025        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9269 | Line 10029 | rm -f core conftest.err conftest.$ac_obj
10029      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10030        if test "$GCC" = yes; then
10031          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10032 <        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'
10032 >        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'
10033          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10034        else
10035          allow_undefined_flag=' -expect_unresolved \*'
10036 <        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'
10036 >        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'
10037          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~
10038 <        $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'
10038 >        $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'
10039  
10040          # Both c and cxx compiler support -rpath directly
10041          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9288 | Line 10048 | rm -f core conftest.err conftest.$ac_obj
10048        no_undefined_flag=' -z defs'
10049        if test "$GCC" = yes; then
10050          wlarc='${wl}'
10051 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10051 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10052          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10053 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10053 >          $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'
10054        else
10055          case `$CC -V 2>&1` in
10056          *"Compilers 5.0"*)
# Line 9478 | Line 10238 | x|xyes)
10238        # to ld, don't add -lc before -lgcc.
10239        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10240   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10241 <      $RM conftest*
10242 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10241 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10242 >  $as_echo_n "(cached) " >&6
10243 > else
10244 >  $RM conftest*
10245 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10246  
10247 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10247 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10248    (eval $ac_compile) 2>&5
10249    ac_status=$?
10250    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10251    test $ac_status = 0; } 2>conftest.err; then
10252 <        soname=conftest
10253 <        lib=conftest
10254 <        libobjs=conftest.$ac_objext
10255 <        deplibs=
10256 <        wl=$lt_prog_compiler_wl
10257 <        pic_flag=$lt_prog_compiler_pic
10258 <        compiler_flags=-v
10259 <        linker_flags=-v
10260 <        verstring=
10261 <        output_objdir=.
10262 <        libname=conftest
10263 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10264 <        allow_undefined_flag=
10265 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10252 >          soname=conftest
10253 >          lib=conftest
10254 >          libobjs=conftest.$ac_objext
10255 >          deplibs=
10256 >          wl=$lt_prog_compiler_wl
10257 >          pic_flag=$lt_prog_compiler_pic
10258 >          compiler_flags=-v
10259 >          linker_flags=-v
10260 >          verstring=
10261 >          output_objdir=.
10262 >          libname=conftest
10263 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10264 >          allow_undefined_flag=
10265 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10266    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10267    ac_status=$?
10268    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10269    test $ac_status = 0; }
10270 <        then
10271 <          archive_cmds_need_lc=no
10272 <        else
10273 <          archive_cmds_need_lc=yes
10274 <        fi
10275 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10276 <      else
10277 <        cat conftest.err 1>&5
10278 <      fi
10279 <      $RM conftest*
10280 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10281 < $as_echo "$archive_cmds_need_lc" >&6; }
10270 >          then
10271 >            lt_cv_archive_cmds_need_lc=no
10272 >          else
10273 >            lt_cv_archive_cmds_need_lc=yes
10274 >          fi
10275 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10276 >        else
10277 >          cat conftest.err 1>&5
10278 >        fi
10279 >        $RM conftest*
10280 >
10281 > fi
10282 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10283 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10284 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10285        ;;
10286      esac
10287    fi
# Line 9673 | Line 10439 | esac
10439  
10440  
10441  
9676
9677
9678
9679
9680
10442    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10443   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10444  
# Line 9686 | Line 10447 | if test "$GCC" = yes; then
10447      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10448      *) lt_awk_arg="/^libraries:/" ;;
10449    esac
10450 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10451 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10450 >  case $host_os in
10451 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10452 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10453 >  esac
10454 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10455 >  case $lt_search_path_spec in
10456 >  *\;*)
10457      # if the path contains ";" then we assume it to be the separator
10458      # otherwise default to the standard path separator (i.e. ":") - it is
10459      # assumed that no part of a normal pathname contains ";" but that should
10460      # okay in the real world where ";" in dirpaths is itself problematic.
10461 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10462 <  else
10463 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10464 <  fi
10461 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10462 >    ;;
10463 >  *)
10464 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10465 >    ;;
10466 >  esac
10467    # Ok, now we have the path, separated by spaces, we can step through it
10468    # and add multilib dir if necessary.
10469    lt_tmp_lt_search_path_spec=
# Line 9708 | Line 10476 | if test "$GCC" = yes; then
10476          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10477      fi
10478    done
10479 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10479 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10480   BEGIN {RS=" "; FS="/|\n";} {
10481    lt_foo="";
10482    lt_count=0;
# Line 9728 | Line 10496 | BEGIN {RS=" "; FS="/|\n";} {
10496    if (lt_foo != "") { lt_freq[lt_foo]++; }
10497    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10498   }'`
10499 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10499 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10500 >  # for these hosts.
10501 >  case $host_os in
10502 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10503 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10504 >  esac
10505 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10506   else
10507    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10508   fi
# Line 9754 | Line 10528 | need_version=unknown
10528  
10529   case $host_os in
10530   aix3*)
10531 <  version_type=linux
10531 >  version_type=linux # correct to gnu/linux during the next big refactor
10532    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10533    shlibpath_var=LIBPATH
10534  
# Line 9763 | Line 10537 | aix3*)
10537    ;;
10538  
10539   aix[4-9]*)
10540 <  version_type=linux
10540 >  version_type=linux # correct to gnu/linux during the next big refactor
10541    need_lib_prefix=no
10542    need_version=no
10543    hardcode_into_libs=yes
# Line 9816 | Line 10590 | amigaos*)
10590    m68k)
10591      library_names_spec='$libname.ixlibrary $libname.a'
10592      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10593 <    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'
10593 >    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'
10594      ;;
10595    esac
10596    ;;
# Line 9828 | Line 10602 | beos*)
10602    ;;
10603  
10604   bsdi[45]*)
10605 <  version_type=linux
10605 >  version_type=linux # correct to gnu/linux during the next big refactor
10606    need_version=no
10607    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10608    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9847 | Line 10621 | cygwin* | mingw* | pw32* | cegcc*)
10621    need_version=no
10622    need_lib_prefix=no
10623  
10624 <  case $GCC,$host_os in
10625 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10624 >  case $GCC,$cc_basename in
10625 >  yes,*)
10626 >    # gcc
10627      library_names_spec='$libname.dll.a'
10628      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10629      postinstall_cmds='base_file=`basename \${file}`~
# Line 9869 | Line 10644 | cygwin* | mingw* | pw32* | cegcc*)
10644      cygwin*)
10645        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10646        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10647 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10647 >
10648 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10649        ;;
10650      mingw* | cegcc*)
10651        # MinGW DLLs use traditional 'lib' prefix
10652        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9877      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9878      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9879        # It is most probably a Windows format PATH printed by
9880        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9881        # path with ; separators, and with drive letters. We can handle the
9882        # drive letters (cygwin fileutils understands them), so leave them,
9883        # especially as we might pass files found there to a mingw objdump,
9884        # which wouldn't understand a cygwinified path. Ahh.
9885        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9886      else
9887        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9888      fi
10653        ;;
10654      pw32*)
10655        # pw32 DLLs use 'pw' prefix rather than 'lib'
10656        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10657        ;;
10658      esac
10659 +    dynamic_linker='Win32 ld.exe'
10660 +    ;;
10661 +
10662 +  *,cl*)
10663 +    # Native MSVC
10664 +    libname_spec='$name'
10665 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10666 +    library_names_spec='${libname}.dll.lib'
10667 +
10668 +    case $build_os in
10669 +    mingw*)
10670 +      sys_lib_search_path_spec=
10671 +      lt_save_ifs=$IFS
10672 +      IFS=';'
10673 +      for lt_path in $LIB
10674 +      do
10675 +        IFS=$lt_save_ifs
10676 +        # Let DOS variable expansion print the short 8.3 style file name.
10677 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10678 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10679 +      done
10680 +      IFS=$lt_save_ifs
10681 +      # Convert to MSYS style.
10682 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10683 +      ;;
10684 +    cygwin*)
10685 +      # Convert to unix form, then to dos form, then back to unix form
10686 +      # but this time dos style (no spaces!) so that the unix form looks
10687 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10688 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10689 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10690 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10691 +      ;;
10692 +    *)
10693 +      sys_lib_search_path_spec="$LIB"
10694 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10695 +        # It is most probably a Windows format PATH.
10696 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10697 +      else
10698 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10699 +      fi
10700 +      # FIXME: find the short name or the path components, as spaces are
10701 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10702 +      ;;
10703 +    esac
10704 +
10705 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10706 +    postinstall_cmds='base_file=`basename \${file}`~
10707 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10708 +      dldir=$destdir/`dirname \$dlpath`~
10709 +      test -d \$dldir || mkdir -p \$dldir~
10710 +      $install_prog $dir/$dlname \$dldir/$dlname'
10711 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10712 +      dlpath=$dir/\$dldll~
10713 +       $RM \$dlpath'
10714 +    shlibpath_overrides_runpath=yes
10715 +    dynamic_linker='Win32 link.exe'
10716      ;;
10717  
10718    *)
10719 +    # Assume MSVC wrapper
10720      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10721 +    dynamic_linker='Win32 ld.exe'
10722      ;;
10723    esac
9901  dynamic_linker='Win32 ld.exe'
10724    # FIXME: first we should search . and the directory the executable is in
10725    shlibpath_var=PATH
10726    ;;
# Line 9919 | Line 10741 | darwin* | rhapsody*)
10741    ;;
10742  
10743   dgux*)
10744 <  version_type=linux
10744 >  version_type=linux # correct to gnu/linux during the next big refactor
10745    need_lib_prefix=no
10746    need_version=no
10747    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9927 | Line 10749 | dgux*)
10749    shlibpath_var=LD_LIBRARY_PATH
10750    ;;
10751  
9930 freebsd1*)
9931  dynamic_linker=no
9932  ;;
9933
10752   freebsd* | dragonfly*)
10753    # DragonFly does not have aout.  When/if they implement a new
10754    # versioning mechanism, adjust this.
# Line 9938 | Line 10756 | freebsd* | dragonfly*)
10756      objformat=`/usr/bin/objformat`
10757    else
10758      case $host_os in
10759 <    freebsd[123]*) objformat=aout ;;
10759 >    freebsd[23].*) objformat=aout ;;
10760      *) objformat=elf ;;
10761      esac
10762    fi
# Line 9956 | Line 10774 | freebsd* | dragonfly*)
10774    esac
10775    shlibpath_var=LD_LIBRARY_PATH
10776    case $host_os in
10777 <  freebsd2*)
10777 >  freebsd2.*)
10778      shlibpath_overrides_runpath=yes
10779      ;;
10780    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9976 | Line 10794 | freebsd* | dragonfly*)
10794    ;;
10795  
10796   gnu*)
10797 <  version_type=linux
10797 >  version_type=linux # correct to gnu/linux during the next big refactor
10798    need_lib_prefix=no
10799    need_version=no
10800    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10801    soname_spec='${libname}${release}${shared_ext}$major'
10802    shlibpath_var=LD_LIBRARY_PATH
10803 +  shlibpath_overrides_runpath=no
10804 +  hardcode_into_libs=yes
10805 +  ;;
10806 +
10807 + haiku*)
10808 +  version_type=linux # correct to gnu/linux during the next big refactor
10809 +  need_lib_prefix=no
10810 +  need_version=no
10811 +  dynamic_linker="$host_os runtime_loader"
10812 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10813 +  soname_spec='${libname}${release}${shared_ext}$major'
10814 +  shlibpath_var=LIBRARY_PATH
10815 +  shlibpath_overrides_runpath=yes
10816 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10817    hardcode_into_libs=yes
10818    ;;
10819  
# Line 10027 | Line 10859 | hpux9* | hpux10* | hpux11*)
10859      soname_spec='${libname}${release}${shared_ext}$major'
10860      ;;
10861    esac
10862 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10862 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10863    postinstall_cmds='chmod 555 $lib'
10864 +  # or fails outright, so override atomically:
10865 +  install_override_mode=555
10866    ;;
10867  
10868   interix[3-9]*)
10869 <  version_type=linux
10869 >  version_type=linux # correct to gnu/linux during the next big refactor
10870    need_lib_prefix=no
10871    need_version=no
10872    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10048 | Line 10882 | irix5* | irix6* | nonstopux*)
10882      nonstopux*) version_type=nonstopux ;;
10883      *)
10884          if test "$lt_cv_prog_gnu_ld" = yes; then
10885 <                version_type=linux
10885 >                version_type=linux # correct to gnu/linux during the next big refactor
10886          else
10887                  version_type=irix
10888          fi ;;
# Line 10085 | Line 10919 | linux*oldld* | linux*aout* | linux*coff*
10919    dynamic_linker=no
10920    ;;
10921  
10922 < # This must be Linux ELF.
10923 < linux* | k*bsd*-gnu)
10924 <  version_type=linux
10922 > # This must be glibc/ELF.
10923 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
10924 >  version_type=linux # correct to gnu/linux during the next big refactor
10925    need_lib_prefix=no
10926    need_version=no
10927    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10095 | Line 10929 | linux* | k*bsd*-gnu)
10929    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10930    shlibpath_var=LD_LIBRARY_PATH
10931    shlibpath_overrides_runpath=no
10932 +
10933    # Some binutils ld are patched to set DT_RUNPATH
10934 <  save_LDFLAGS=$LDFLAGS
10935 <  save_libdir=$libdir
10936 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10937 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10938 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10934 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10935 >  $as_echo_n "(cached) " >&6
10936 > else
10937 >  lt_cv_shlibpath_overrides_runpath=no
10938 >    save_LDFLAGS=$LDFLAGS
10939 >    save_libdir=$libdir
10940 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10941 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10942 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10943   /* end confdefs.h.  */
10944  
10945   int
# Line 10113 | Line 10952 | main ()
10952   _ACEOF
10953   if ac_fn_c_try_link "$LINENO"; then :
10954    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10955 <  shlibpath_overrides_runpath=yes
10955 >  lt_cv_shlibpath_overrides_runpath=yes
10956   fi
10957   fi
10958   rm -f core conftest.err conftest.$ac_objext \
10959      conftest$ac_exeext conftest.$ac_ext
10960 <  LDFLAGS=$save_LDFLAGS
10961 <  libdir=$save_libdir
10960 >    LDFLAGS=$save_LDFLAGS
10961 >    libdir=$save_libdir
10962 >
10963 > fi
10964 >
10965 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10966  
10967    # This implies no fast_install, which is unacceptable.
10968    # Some rework will be needed to allow for fast_install
# Line 10128 | Line 10971 | rm -f core conftest.err conftest.$ac_obj
10971  
10972    # Append ld.so.conf contents to the search path
10973    if test -f /etc/ld.so.conf; then
10974 <    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' ' '`
10974 >    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' ' '`
10975      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10976    fi
10977  
# Line 10160 | Line 11003 | netbsd*)
11003    ;;
11004  
11005   newsos6)
11006 <  version_type=linux
11006 >  version_type=linux # correct to gnu/linux during the next big refactor
11007    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11008    shlibpath_var=LD_LIBRARY_PATH
11009    shlibpath_overrides_runpath=yes
# Line 10229 | Line 11072 | rdos*)
11072    ;;
11073  
11074   solaris*)
11075 <  version_type=linux
11075 >  version_type=linux # correct to gnu/linux during the next big refactor
11076    need_lib_prefix=no
11077    need_version=no
11078    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10254 | Line 11097 | sunos4*)
11097    ;;
11098  
11099   sysv4 | sysv4.3*)
11100 <  version_type=linux
11100 >  version_type=linux # correct to gnu/linux during the next big refactor
11101    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11102    soname_spec='${libname}${release}${shared_ext}$major'
11103    shlibpath_var=LD_LIBRARY_PATH
# Line 10278 | Line 11121 | sysv4 | sysv4.3*)
11121  
11122   sysv4*MP*)
11123    if test -d /usr/nec ;then
11124 <    version_type=linux
11124 >    version_type=linux # correct to gnu/linux during the next big refactor
11125      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11126      soname_spec='$libname${shared_ext}.$major'
11127      shlibpath_var=LD_LIBRARY_PATH
# Line 10309 | Line 11152 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11152  
11153   tpf*)
11154    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11155 <  version_type=linux
11155 >  version_type=linux # correct to gnu/linux during the next big refactor
11156    need_lib_prefix=no
11157    need_version=no
11158    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10319 | Line 11162 | tpf*)
11162    ;;
11163  
11164   uts4*)
11165 <  version_type=linux
11165 >  version_type=linux # correct to gnu/linux during the next big refactor
11166    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11167    soname_spec='${libname}${release}${shared_ext}$major'
11168    shlibpath_var=LD_LIBRARY_PATH
# Line 10431 | Line 11274 | fi
11274  
11275  
11276  
11277 +
11278 +
11279 +
11280 +
11281 +
11282    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11283   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11284   hardcode_action=
# Line 10503 | Line 11351 | else
11351    # if libdl is installed we need to link against it
11352      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11353   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11354 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11354 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11355    $as_echo_n "(cached) " >&6
11356   else
11357    ac_check_lib_save_LIBS=$LIBS
# Line 10537 | Line 11385 | LIBS=$ac_check_lib_save_LIBS
11385   fi
11386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11387   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11388 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11388 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11389    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11390   else
11391  
# Line 10551 | Line 11399 | fi
11399  
11400    *)
11401      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11402 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11402 > if test "x$ac_cv_func_shl_load" = xyes; then :
11403    lt_cv_dlopen="shl_load"
11404   else
11405    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11406   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11407 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11407 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11408    $as_echo_n "(cached) " >&6
11409   else
11410    ac_check_lib_save_LIBS=$LIBS
# Line 10590 | Line 11438 | LIBS=$ac_check_lib_save_LIBS
11438   fi
11439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11440   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11441 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11441 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11442    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11443   else
11444    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11445 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11445 > if test "x$ac_cv_func_dlopen" = xyes; then :
11446    lt_cv_dlopen="dlopen"
11447   else
11448    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11449   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11450 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11450 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11451    $as_echo_n "(cached) " >&6
11452   else
11453    ac_check_lib_save_LIBS=$LIBS
# Line 10633 | Line 11481 | LIBS=$ac_check_lib_save_LIBS
11481   fi
11482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11483   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11484 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11484 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11485    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11486   else
11487    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11488   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11489 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11489 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11490    $as_echo_n "(cached) " >&6
11491   else
11492    ac_check_lib_save_LIBS=$LIBS
# Line 10672 | Line 11520 | LIBS=$ac_check_lib_save_LIBS
11520   fi
11521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11522   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11523 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11523 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11524    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11525   else
11526    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11527   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11528 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11528 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11529    $as_echo_n "(cached) " >&6
11530   else
11531    ac_check_lib_save_LIBS=$LIBS
# Line 10711 | Line 11559 | LIBS=$ac_check_lib_save_LIBS
11559   fi
11560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11561   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11562 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11562 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11563    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11564   fi
11565  
# Line 10752 | Line 11600 | fi
11600  
11601      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11602   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11603 < if test "${lt_cv_dlopen_self+set}" = set; then :
11603 > if ${lt_cv_dlopen_self+:} false; then :
11604    $as_echo_n "(cached) " >&6
11605   else
11606            if test "$cross_compiling" = yes; then :
# Line 10761 | Line 11609 | else
11609    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11610    lt_status=$lt_dlunknown
11611    cat > conftest.$ac_ext <<_LT_EOF
11612 < #line 10764 "configure"
11612 > #line $LINENO "configure"
11613   #include "confdefs.h"
11614  
11615   #if HAVE_DLFCN_H
# Line 10802 | Line 11650 | else
11650   #  endif
11651   #endif
11652  
11653 < void fnord() { int i=42;}
11653 > /* When -fvisbility=hidden is used, assume the code has been annotated
11654 >   correspondingly for the symbols needed.  */
11655 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11656 > int fnord () __attribute__((visibility("default")));
11657 > #endif
11658 >
11659 > int fnord () { return 42; }
11660   int main ()
11661   {
11662    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10811 | Line 11665 | int main ()
11665    if (self)
11666      {
11667        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11668 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11668 >      else
11669 >        {
11670 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11671 >          else puts (dlerror ());
11672 >        }
11673        /* dlclose (self); */
11674      }
11675    else
# Line 10848 | Line 11706 | $as_echo "$lt_cv_dlopen_self" >&6; }
11706        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11707        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11708   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11709 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11709 > if ${lt_cv_dlopen_self_static+:} false; then :
11710    $as_echo_n "(cached) " >&6
11711   else
11712            if test "$cross_compiling" = yes; then :
# Line 10857 | Line 11715 | else
11715    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11716    lt_status=$lt_dlunknown
11717    cat > conftest.$ac_ext <<_LT_EOF
11718 < #line 10860 "configure"
11718 > #line $LINENO "configure"
11719   #include "confdefs.h"
11720  
11721   #if HAVE_DLFCN_H
# Line 10898 | Line 11756 | else
11756   #  endif
11757   #endif
11758  
11759 < void fnord() { int i=42;}
11759 > /* When -fvisbility=hidden is used, assume the code has been annotated
11760 >   correspondingly for the symbols needed.  */
11761 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11762 > int fnord () __attribute__((visibility("default")));
11763 > #endif
11764 >
11765 > int fnord () { return 42; }
11766   int main ()
11767   {
11768    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10907 | Line 11771 | int main ()
11771    if (self)
11772      {
11773        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11774 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11774 >      else
11775 >        {
11776 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11777 >          else puts (dlerror ());
11778 >        }
11779        /* dlclose (self); */
11780      }
11781    else
# Line 11076 | Line 11944 | CC="$lt_save_CC"
11944  
11945  
11946  
11947 +
11948 +
11949          ac_config_commands="$ac_config_commands libtool"
11950  
11951  
# Line 11086 | Line 11956 | CC="$lt_save_CC"
11956  
11957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11958   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11959 < if test "${libltdl_cv_shlibext+set}" = set; then :
11959 > if ${libltdl_cv_shlibext+:} false; then :
11960    $as_echo_n "(cached) " >&6
11961   else
11962  
11963   module=yes
11964   eval libltdl_cv_shlibext=$shrext_cmds
11965 + module=no
11966 + eval libltdl_cv_shrext=$shrext_cmds
11967  
11968   fi
11969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11103 | Line 11975 | cat >>confdefs.h <<_ACEOF
11975   _ACEOF
11976  
11977   fi
11978 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11979 +
11980 + cat >>confdefs.h <<_ACEOF
11981 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
11982 + _ACEOF
11983 +
11984 + fi
11985  
11986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11987   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11988 < if test "${lt_cv_module_path_var+set}" = set; then :
11988 > if ${lt_cv_module_path_var+:} false; then :
11989    $as_echo_n "(cached) " >&6
11990   else
11991    lt_cv_module_path_var="$shlibpath_var"
# Line 11123 | Line 12002 | fi
12002  
12003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12004   $as_echo_n "checking for the default library search path... " >&6; }
12005 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12005 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12006    $as_echo_n "(cached) " >&6
12007   else
12008    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11160 | Line 12039 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12039   LIBADD_DLOPEN=
12040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12041   $as_echo_n "checking for library containing dlopen... " >&6; }
12042 < if test "${ac_cv_search_dlopen+set}" = set; then :
12042 > if ${ac_cv_search_dlopen+:} false; then :
12043    $as_echo_n "(cached) " >&6
12044   else
12045    ac_func_search_save_LIBS=$LIBS
# Line 11194 | Line 12073 | for ac_lib in '' dl; do
12073   fi
12074   rm -f core conftest.err conftest.$ac_objext \
12075      conftest$ac_exeext
12076 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12076 >  if ${ac_cv_search_dlopen+:} false; then :
12077    break
12078   fi
12079   done
12080 < if test "${ac_cv_search_dlopen+set}" = set; then :
12080 > if ${ac_cv_search_dlopen+:} false; then :
12081  
12082   else
12083    ac_cv_search_dlopen=no
# Line 11243 | Line 12122 | $as_echo "#define HAVE_LIBDL 1" >>confde
12122   else
12123    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12124   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12125 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12125 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12126    $as_echo_n "(cached) " >&6
12127   else
12128    ac_check_lib_save_LIBS=$LIBS
# Line 11277 | Line 12156 | LIBS=$ac_check_lib_save_LIBS
12156   fi
12157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12158   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12159 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12159 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12160  
12161   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12162  
# Line 11297 | Line 12176 | then
12176    for ac_func in dlerror
12177   do :
12178    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12179 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12179 > if test "x$ac_cv_func_dlerror" = xyes; then :
12180    cat >>confdefs.h <<_ACEOF
12181   #define HAVE_DLERROR 1
12182   _ACEOF
# Line 11311 | Line 12190 | fi
12190  
12191   LIBADD_SHL_LOAD=
12192   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12193 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12193 > if test "x$ac_cv_func_shl_load" = xyes; then :
12194  
12195   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12196  
# Line 11319 | Line 12198 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12198   else
12199    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12200   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12201 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12201 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12202    $as_echo_n "(cached) " >&6
12203   else
12204    ac_check_lib_save_LIBS=$LIBS
# Line 11353 | Line 12232 | LIBS=$ac_check_lib_save_LIBS
12232   fi
12233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12234   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12235 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12235 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12236  
12237   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12238  
# Line 11369 | Line 12248 | case $host_os in
12248   darwin[1567].*)
12249   # We only want this for pre-Mac OS X 10.4.
12250    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12251 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12251 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12252  
12253   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12254  
# Line 11383 | Line 12262 | beos*)
12262   cygwin* | mingw* | os2* | pw32*)
12263    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12264   "
12265 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12265 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12266    ac_have_decl=1
12267   else
12268    ac_have_decl=0
# Line 11399 | Line 12278 | esac
12278  
12279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12280   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12281 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12281 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12282    $as_echo_n "(cached) " >&6
12283   else
12284    ac_check_lib_save_LIBS=$LIBS
# Line 11433 | Line 12312 | LIBS=$ac_check_lib_save_LIBS
12312   fi
12313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12314   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12315 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12315 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12316  
12317   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12318  
# Line 11467 | Line 12346 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12346  
12347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12348   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12349 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12349 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12350    $as_echo_n "(cached) " >&6
12351   else
12352    lt_cv_sys_symbol_underscore=no
# Line 11517 | Line 12396 | if test x"$lt_cv_sys_symbol_underscore"
12396       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12397          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12398   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12399 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12399 > if ${libltdl_cv_need_uscore+:} false; then :
12400    $as_echo_n "(cached) " >&6
12401   else
12402    libltdl_cv_need_uscore=unknown
# Line 11529 | Line 12408 | else
12408    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12409    lt_status=$lt_dlunknown
12410    cat > conftest.$ac_ext <<_LT_EOF
12411 < #line 11532 "configure"
12411 > #line $LINENO "configure"
12412   #include "confdefs.h"
12413  
12414   #if HAVE_DLFCN_H
# Line 11570 | Line 12449 | else
12449   #  endif
12450   #endif
12451  
12452 < void fnord() { int i=42;}
12452 > /* When -fvisbility=hidden is used, assume the code has been annotated
12453 >   correspondingly for the symbols needed.  */
12454 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12455 > int fnord () __attribute__((visibility("default")));
12456 > #endif
12457 >
12458 > int fnord () { return 42; }
12459   int main ()
12460   {
12461    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11579 | Line 12464 | int main ()
12464    if (self)
12465      {
12466        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12467 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12467 >      else
12468 >        {
12469 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12470 >          else puts (dlerror ());
12471 >        }
12472        /* dlclose (self); */
12473      }
12474    else
# Line 11623 | Line 12512 | fi
12512  
12513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12514   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12515 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12515 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12516    $as_echo_n "(cached) " >&6
12517   else
12518    # PORTME does your system automatically load deplibs for dlopen?
# Line 11655 | Line 12544 | else
12544    freebsd* | dragonfly*)
12545      lt_cv_sys_dlopen_deplibs=yes
12546      ;;
12547 <  gnu* | linux* | k*bsd*-gnu)
12547 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12548      # GNU and its variants, using gnu ld.so (Glibc)
12549      lt_cv_sys_dlopen_deplibs=yes
12550      ;;
# Line 11729 | Line 12618 | for ac_header in argz.h
12618   do :
12619    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12620   "
12621 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12621 > if test "x$ac_cv_header_argz_h" = xyes; then :
12622    cat >>confdefs.h <<_ACEOF
12623   #define HAVE_ARGZ_H 1
12624   _ACEOF
# Line 11743 | Line 12632 | ac_fn_c_check_type "$LINENO" "error_t" "
12632   #  include <argz.h>
12633   #endif
12634   "
12635 < if test "x$ac_cv_type_error_t" = x""yes; then :
12635 > if test "x$ac_cv_type_error_t" = xyes; then :
12636  
12637   cat >>confdefs.h <<_ACEOF
12638   #define HAVE_ERROR_T 1
# Line 11766 | Line 12655 | for ac_func in argz_add argz_append argz
12655   do :
12656    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12657   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12658 < eval as_val=\$$as_ac_var
11770 <   if test "x$as_val" = x""yes; then :
12658 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12659    cat >>confdefs.h <<_ACEOF
12660   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12661   _ACEOF
# Line 11784 | Line 12672 | done
12672   if test -z "$ARGZ_H"; then :
12673    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12674   $as_echo_n "checking if argz actually works... " >&6; }
12675 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12675 > if ${lt_cv_sys_argz_works+:} false; then :
12676    $as_echo_n "(cached) " >&6
12677   else
12678    case $host_os in #(
# Line 11815 | Line 12703 | else
12703   fi
12704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12705   $as_echo "$lt_cv_sys_argz_works" >&6; }
12706 <     if test $lt_cv_sys_argz_works = yes; then :
12706 >     if test "$lt_cv_sys_argz_works" = yes; then :
12707  
12708   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12709  
# Line 11832 | Line 12720 | fi
12720  
12721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12722   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12723 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12723 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12724    $as_echo_n "(cached) " >&6
12725   else
12726    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11874 | Line 12762 | if test "x$with_included_ltdl" != xyes;
12762    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12763  
12764   "
12765 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12765 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12766    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12767              #include <ltdl.h>
12768   "
12769 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12769 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12770    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12771   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12772 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12772 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12773    $as_echo_n "(cached) " >&6
12774   else
12775    ac_check_lib_save_LIBS=$LIBS
# Line 11915 | Line 12803 | LIBS=$ac_check_lib_save_LIBS
12803   fi
12804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12805   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12806 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12806 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12807    with_included_ltdl=no
12808   else
12809    with_included_ltdl=yes
# Line 11944 | Line 12832 | fi
12832   if test -n "$with_ltdl_include"; then
12833    if test -f "$with_ltdl_include/ltdl.h"; then :
12834    else
12835 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12835 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12836    fi
12837   else
12838    with_ltdl_include=no
# Line 11960 | Line 12848 | fi
12848   if test -n "$with_ltdl_lib"; then
12849    if test -f "$with_ltdl_lib/libltdl.la"; then :
12850    else
12851 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12851 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12852    fi
12853   else
12854    with_ltdl_lib=no
# Line 11969 | Line 12857 | fi
12857   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12858    ,yes,no,no,)
12859          case $enable_ltdl_convenience in
12860 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12860 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12861    "") enable_ltdl_convenience=yes
12862        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12863   esac
# Line 11997 | Line 12885 | $as_echo "#define HAVE_LTDL 1" >>confdef
12885          LTDLINCL=
12886          ;;
12887    ,no*,no,*)
12888 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12888 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12889          ;;
12890    *)    with_included_ltdl=no
12891          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12064 | Line 12952 | do :
12952    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12953   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12954   "
12955 < eval as_val=\$$as_ac_Header
12068 <   if test "x$as_val" = x""yes; then :
12955 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12956    cat >>confdefs.h <<_ACEOF
12957   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12958   _ACEOF
# Line 12079 | Line 12966 | for ac_func in closedir opendir readdir
12966   do :
12967    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12968   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12969 < eval as_val=\$$as_ac_var
12083 <   if test "x$as_val" = x""yes; then :
12969 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12970    cat >>confdefs.h <<_ACEOF
12971   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12972   _ACEOF
# Line 12097 | Line 12983 | for ac_func in strlcat strlcpy
12983   do :
12984    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12985   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12986 < eval as_val=\$$as_ac_var
12101 <   if test "x$as_val" = x""yes; then :
12986 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12987    cat >>confdefs.h <<_ACEOF
12988   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12989   _ACEOF
# Line 12118 | Line 13003 | cat >>confdefs.h <<_ACEOF
13003   _ACEOF
13004  
13005  
13006 + name=
13007 + eval "lt_libprefix=\"$libname_spec\""
13008 +
13009 + cat >>confdefs.h <<_ACEOF
13010 + #define LT_LIBPREFIX "$lt_libprefix"
13011 + _ACEOF
13012 +
13013 +
13014   name=ltdl
13015 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13015 > eval "LTDLOPEN=\"$libname_spec\""
13016  
13017  
13018  
# Line 12137 | Line 13030 | LIBTOOL="$LIBTOOL --silent"
13030  
13031    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13032   $as_echo_n "checking for library containing socket... " >&6; }
13033 < if test "${ac_cv_search_socket+set}" = set; then :
13033 > if ${ac_cv_search_socket+:} false; then :
13034    $as_echo_n "(cached) " >&6
13035   else
13036    ac_func_search_save_LIBS=$LIBS
# Line 12171 | Line 13064 | for ac_lib in '' socket; do
13064   fi
13065   rm -f core conftest.err conftest.$ac_objext \
13066      conftest$ac_exeext
13067 <  if test "${ac_cv_search_socket+set}" = set; then :
13067 >  if ${ac_cv_search_socket+:} false; then :
13068    break
13069   fi
13070   done
13071 < if test "${ac_cv_search_socket+set}" = set; then :
13071 > if ${ac_cv_search_socket+:} false; then :
13072  
13073   else
13074    ac_cv_search_socket=no
# Line 12190 | Line 13083 | if test "$ac_res" != no; then :
13083    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13084  
13085   else
13086 <  as_fn_error "socket library not found" "$LINENO" 5
13086 >  as_fn_error $? "socket library not found" "$LINENO" 5
13087 > fi
13088 >
13089 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13090 > $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13091 > if ${ac_cv_search_inet_ntoa+:} false; then :
13092 >  $as_echo_n "(cached) " >&6
13093 > else
13094 >  ac_func_search_save_LIBS=$LIBS
13095 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13096 > /* end confdefs.h.  */
13097 >
13098 > /* Override any GCC internal prototype to avoid an error.
13099 >   Use char because int might match the return type of a GCC
13100 >   builtin and then its argument prototype would still apply.  */
13101 > #ifdef __cplusplus
13102 > extern "C"
13103 > #endif
13104 > char inet_ntoa ();
13105 > int
13106 > main ()
13107 > {
13108 > return inet_ntoa ();
13109 >  ;
13110 >  return 0;
13111 > }
13112 > _ACEOF
13113 > for ac_lib in '' nsl; do
13114 >  if test -z "$ac_lib"; then
13115 >    ac_res="none required"
13116 >  else
13117 >    ac_res=-l$ac_lib
13118 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13119 >  fi
13120 >  if ac_fn_c_try_link "$LINENO"; then :
13121 >  ac_cv_search_inet_ntoa=$ac_res
13122 > fi
13123 > rm -f core conftest.err conftest.$ac_objext \
13124 >    conftest$ac_exeext
13125 >  if ${ac_cv_search_inet_ntoa+:} false; then :
13126 >  break
13127 > fi
13128 > done
13129 > if ${ac_cv_search_inet_ntoa+:} false; then :
13130 >
13131 > else
13132 >  ac_cv_search_inet_ntoa=no
13133 > fi
13134 > rm conftest.$ac_ext
13135 > LIBS=$ac_func_search_save_LIBS
13136 > fi
13137 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13138 > $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13139 > ac_res=$ac_cv_search_inet_ntoa
13140 > if test "$ac_res" != no; then :
13141 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13142 >
13143 > fi
13144 >
13145 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13146 > $as_echo_n "checking for library containing inet_aton... " >&6; }
13147 > if ${ac_cv_search_inet_aton+:} false; then :
13148 >  $as_echo_n "(cached) " >&6
13149 > else
13150 >  ac_func_search_save_LIBS=$LIBS
13151 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13152 > /* end confdefs.h.  */
13153 >
13154 > /* Override any GCC internal prototype to avoid an error.
13155 >   Use char because int might match the return type of a GCC
13156 >   builtin and then its argument prototype would still apply.  */
13157 > #ifdef __cplusplus
13158 > extern "C"
13159 > #endif
13160 > char inet_aton ();
13161 > int
13162 > main ()
13163 > {
13164 > return inet_aton ();
13165 >  ;
13166 >  return 0;
13167 > }
13168 > _ACEOF
13169 > for ac_lib in '' resolv; do
13170 >  if test -z "$ac_lib"; then
13171 >    ac_res="none required"
13172 >  else
13173 >    ac_res=-l$ac_lib
13174 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13175 >  fi
13176 >  if ac_fn_c_try_link "$LINENO"; then :
13177 >  ac_cv_search_inet_aton=$ac_res
13178 > fi
13179 > rm -f core conftest.err conftest.$ac_objext \
13180 >    conftest$ac_exeext
13181 >  if ${ac_cv_search_inet_aton+:} false; then :
13182 >  break
13183 > fi
13184 > done
13185 > if ${ac_cv_search_inet_aton+:} false; then :
13186 >
13187 > else
13188 >  ac_cv_search_inet_aton=no
13189 > fi
13190 > rm conftest.$ac_ext
13191 > LIBS=$ac_func_search_save_LIBS
13192 > fi
13193 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13194 > $as_echo "$ac_cv_search_inet_aton" >&6; }
13195 > ac_res=$ac_cv_search_inet_aton
13196 > if test "$ac_res" != no; then :
13197 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13198 >
13199   fi
13200  
13201    for ac_func in inet_aton inet_ntop inet_pton
13202   do :
13203    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13204   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13205 < eval as_val=\$$as_ac_var
12201 <   if test "x$as_val" = x""yes; then :
13205 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13206    cat >>confdefs.h <<_ACEOF
13207   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13208   _ACEOF
# Line 12211 | Line 13215 | done
13215     #include <netdb.h>
13216  
13217   "
13218 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13218 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13219  
13220   cat >>confdefs.h <<_ACEOF
13221   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12224 | Line 13228 | ac_fn_c_check_type "$LINENO" "struct soc
13228     #include <netdb.h>
13229  
13230   "
13231 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13231 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13232  
13233   cat >>confdefs.h <<_ACEOF
13234   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12237 | Line 13241 | ac_fn_c_check_type "$LINENO" "struct add
13241     #include <netdb.h>
13242  
13243   "
13244 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13244 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13245  
13246   cat >>confdefs.h <<_ACEOF
13247   #define HAVE_STRUCT_ADDRINFO 1
# Line 12249 | Line 13253 | fi
13253    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13254    <sys/socket.h>
13255   "
13256 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13256 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13257  
13258   cat >>confdefs.h <<_ACEOF
13259   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12260 | Line 13264 | fi
13264  
13265  
13266  
13267 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13268 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13269 <
12266 < cat >>confdefs.h <<_ACEOF
12267 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12268 < _ACEOF
12269 <
12270 <
12271 < else
13267 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13268 > "
13269 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13270  
13271   $as_echo "#define IPV6 1" >>confdefs.h
13272  
# Line 12279 | Line 13277 | fi
13277   # Checks for typedefs, structures, and compiler characteristics.
13278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13279   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13280 < if test "${ac_cv_c_bigendian+set}" = set; then :
13280 > if ${ac_cv_c_bigendian+:} false; then :
13281    $as_echo_n "(cached) " >&6
13282   else
13283    ac_cv_c_bigendian=unknown
# Line 12497 | Line 13495 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13495  
13496       ;; #(
13497     *)
13498 <     as_fn_error "unknown endianness
13498 >     as_fn_error $? "unknown endianness
13499   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13500   esac
13501  
# Line 12510 | Line 13508 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13508   do :
13509    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13510   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13511 < eval as_val=\$$as_ac_var
12514 <   if test "x$as_val" = x""yes; then :
13511 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13512    cat >>confdefs.h <<_ACEOF
13513   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13514   _ACEOF
# Line 12540 | Line 13537 | do :
13537    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13538   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13539   "
13540 < eval as_val=\$$as_ac_Header
12544 <   if test "x$as_val" = x""yes; then :
13540 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13541    cat >>confdefs.h <<_ACEOF
13542   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13543   _ACEOF
# Line 12566 | Line 13562 | done
13562  
13563  
13564  
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579 # check for /dev/null so we can use it to hold evil fd's
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12581 $as_echo_n "checking for /dev/null... " >&6; }
12582 if test -c /dev/null; then :
12583
12584
12585 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12586
12587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12588 $as_echo "yes" >&6; }
12589 else
12590
12591
12592 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12593
12594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12595 $as_echo "no - using devnull.log" >&6; }
12596 fi
12597
12598
13565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13566   $as_echo_n "checking for library containing crypt... " >&6; }
13567 < if test "${ac_cv_search_crypt+set}" = set; then :
13567 > if ${ac_cv_search_crypt+:} false; then :
13568    $as_echo_n "(cached) " >&6
13569   else
13570    ac_func_search_save_LIBS=$LIBS
# Line 12632 | Line 13598 | for ac_lib in '' crypt; do
13598   fi
13599   rm -f core conftest.err conftest.$ac_objext \
13600      conftest$ac_exeext
13601 <  if test "${ac_cv_search_crypt+set}" = set; then :
13601 >  if ${ac_cv_search_crypt+:} false; then :
13602    break
13603   fi
13604   done
13605 < if test "${ac_cv_search_crypt+set}" = set; then :
13605 > if ${ac_cv_search_crypt+:} false; then :
13606  
13607   else
13608    ac_cv_search_crypt=no
# Line 12653 | Line 13619 | if test "$ac_res" != no; then :
13619   fi
13620  
13621  
12656
12657
12658 # Check whether --with-zlib-path was given.
12659 if test "${with_zlib_path+set}" = set; then :
12660  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
12661 fi
12662
12663
12664 # Check whether --enable-zlib was given.
12665 if test "${enable_zlib+set}" = set; then :
12666  enableval=$enable_zlib; zlib=$enableval
12667 else
12668  zlib=yes
12669 fi
12670
12671
12672 if test "$zlib" = "yes"; then :
12673
12674  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12675 if test "x$ac_cv_header_zlib_h" = x""yes; then :
12676  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12677 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12678 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
12679  $as_echo_n "(cached) " >&6
12680 else
12681  ac_check_lib_save_LIBS=$LIBS
12682 LIBS="-lz  $LIBS"
12683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12684 /* end confdefs.h.  */
12685
12686 /* Override any GCC internal prototype to avoid an error.
12687   Use char because int might match the return type of a GCC
12688   builtin and then its argument prototype would still apply.  */
12689 #ifdef __cplusplus
12690 extern "C"
12691 #endif
12692 char zlibVersion ();
12693 int
12694 main ()
12695 {
12696 return zlibVersion ();
12697  ;
12698  return 0;
12699 }
12700 _ACEOF
12701 if ac_fn_c_try_link "$LINENO"; then :
12702  ac_cv_lib_z_zlibVersion=yes
12703 else
12704  ac_cv_lib_z_zlibVersion=no
12705 fi
12706 rm -f core conftest.err conftest.$ac_objext \
12707    conftest$ac_exeext conftest.$ac_ext
12708 LIBS=$ac_check_lib_save_LIBS
12709 fi
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12711 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12712 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12713
12714      LIBS="-lz $LIBS"
12715
12716 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12717
12718
12719 else
12720  zlib=no
12721 fi
12722
12723
12724 else
12725  zlib=no
12726 fi
12727
12728
12729
12730 fi
12731
12732
12733 # Check whether --with-libpcre-path was given.
12734 if test "${with_libpcre_path+set}" = set; then :
12735  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12736 fi
12737
12738
13622   # Check whether --enable-libpcre was given.
13623   if test "${enable_libpcre+set}" = set; then :
13624 <  enableval=$enable_libpcre; libpcre=$enableval
13624 >  enableval=$enable_libpcre;
13625   else
12743  libpcre=yes
12744 fi
12745
12746
12747 if test "$libpcre" = "yes"; then :
12748
13626    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13627 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13628 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13629 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13630 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13627 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13628 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13629 > $as_echo_n "checking for library containing pcre_study... " >&6; }
13630 > if ${ac_cv_search_pcre_study+:} false; then :
13631    $as_echo_n "(cached) " >&6
13632   else
13633 <  ac_check_lib_save_LIBS=$LIBS
12757 < LIBS="-lpcre  $LIBS"
13633 >  ac_func_search_save_LIBS=$LIBS
13634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13635   /* end confdefs.h.  */
13636  
# Line 12773 | Line 13649 | return pcre_study ();
13649    return 0;
13650   }
13651   _ACEOF
13652 < if ac_fn_c_try_link "$LINENO"; then :
13653 <  ac_cv_lib_pcre_pcre_study=yes
13654 < else
13655 <  ac_cv_lib_pcre_pcre_study=no
13652 > for ac_lib in '' pcre; do
13653 >  if test -z "$ac_lib"; then
13654 >    ac_res="none required"
13655 >  else
13656 >    ac_res=-l$ac_lib
13657 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13658 >  fi
13659 >  if ac_fn_c_try_link "$LINENO"; then :
13660 >  ac_cv_search_pcre_study=$ac_res
13661   fi
13662   rm -f core conftest.err conftest.$ac_objext \
13663 <    conftest$ac_exeext conftest.$ac_ext
13664 < LIBS=$ac_check_lib_save_LIBS
13663 >    conftest$ac_exeext
13664 >  if ${ac_cv_search_pcre_study+:} false; then :
13665 >  break
13666   fi
13667 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13668 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
12787 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
12788 <
12789 <      LIBS="-lpcre $LIBS"
12790 <
12791 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
12792 <
13667 > done
13668 > if ${ac_cv_search_pcre_study+:} false; then :
13669  
13670   else
13671 <  libpcre=no
13671 >  ac_cv_search_pcre_study=no
13672 > fi
13673 > rm conftest.$ac_ext
13674 > LIBS=$ac_func_search_save_LIBS
13675   fi
13676 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13677 + $as_echo "$ac_cv_search_pcre_study" >&6; }
13678 + ac_res=$ac_cv_search_pcre_study
13679 + if test "$ac_res" != no; then :
13680 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13681  
13682 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13683  
12799 else
12800  libpcre=no
13684   fi
13685  
13686 + fi
13687  
13688  
13689   fi
12806 if test "$libpcre" = yes; then
12807  ENABLE_PCRE_TRUE=
12808  ENABLE_PCRE_FALSE='#'
12809 else
12810  ENABLE_PCRE_TRUE='#'
12811  ENABLE_PCRE_FALSE=
12812 fi
12813
13690  
13691  
13692   # Check whether --enable-openssl was given.
# Line 12852 | Line 13728 | if test "$cf_enable_openssl" != "no"; th
13728    fi
13729  
13730        if test ! -z "$cf_openssl_basedir"; then
12855    LIBS="-lcrypto -lssl $LIBS"
13731      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13732   $as_echo "$cf_openssl_basedir" >&6; }
13733      cf_enable_openssl="yes"
12859
12860 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12861
13734    else
13735      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13736   $as_echo "not found. Please check your path." >&6; }
# Line 12871 | Line 13743 | $as_echo "disabled" >&6; }
13743   fi
13744  
13745   if test "$cf_enable_openssl" != "no"; then :
13746 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13747 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13746 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13747 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13748    if test "$cross_compiling" = yes; then :
13749    cf_openssl_version_ok=no
13750   else
13751    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13752   /* end confdefs.h.  */
13753  
13754 +
13755      #include <openssl/opensslv.h>
13756      #include <stdlib.h>
13757   int
13758   main ()
13759   {
13760 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13760 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13761    ;
13762    return 0;
13763   }
# Line 12905 | Line 13778 | $as_echo "found" >&6; }
13778  
13779      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13780   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13781 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13781 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13782    $as_echo_n "(cached) " >&6
13783   else
13784    ac_check_lib_save_LIBS=$LIBS
# Line 12939 | Line 13812 | LIBS=$ac_check_lib_save_LIBS
13812   fi
13813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13814   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13815 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
13815 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13816    cat >>confdefs.h <<_ACEOF
13817   #define HAVE_LIBCRYPTO 1
13818   _ACEOF
# Line 12949 | Line 13822 | _ACEOF
13822   fi
13823  
13824      if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13825 <  for ac_func in EVP_bf_cfb           \
13826 <                      EVP_cast5_cfb        \
13827 <                      EVP_idea_cfb         \
13828 <                      EVP_rc5_32_12_16_cfb \
13829 <                      EVP_des_ede3_cfb     \
13830 <                      EVP_des_cfb
13831 < do :
13832 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13833 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13834 < eval as_val=\$$as_ac_var
13835 <   if test "x$as_val" = x""yes; then :
13825 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13826 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13827 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13828 >  $as_echo_n "(cached) " >&6
13829 > else
13830 >  ac_check_lib_save_LIBS=$LIBS
13831 > LIBS="-lssl  $LIBS"
13832 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13833 > /* end confdefs.h.  */
13834 >
13835 > /* Override any GCC internal prototype to avoid an error.
13836 >   Use char because int might match the return type of a GCC
13837 >   builtin and then its argument prototype would still apply.  */
13838 > #ifdef __cplusplus
13839 > extern "C"
13840 > #endif
13841 > char SSL_connect ();
13842 > int
13843 > main ()
13844 > {
13845 > return SSL_connect ();
13846 >  ;
13847 >  return 0;
13848 > }
13849 > _ACEOF
13850 > if ac_fn_c_try_link "$LINENO"; then :
13851 >  ac_cv_lib_ssl_SSL_connect=yes
13852 > else
13853 >  ac_cv_lib_ssl_SSL_connect=no
13854 > fi
13855 > rm -f core conftest.err conftest.$ac_objext \
13856 >    conftest$ac_exeext conftest.$ac_ext
13857 > LIBS=$ac_check_lib_save_LIBS
13858 > fi
13859 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13860 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13861 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13862    cat >>confdefs.h <<_ACEOF
13863 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13863 > #define HAVE_LIBSSL 1
13864   _ACEOF
13865  
13866 +  LIBS="-lssl $LIBS"
13867 +
13868   fi
12968 done
13869  
13870   fi
13871  
# Line 12976 | Line 13876 | $as_echo "no - OpenSSL support disabled"
13876   fi
13877   fi
13878  
13879 < if test "$cf_enable_openssl" = yes; then
13879 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
13880    ENABLE_SSL_TRUE=
13881    ENABLE_SSL_FALSE='#'
13882   else
# Line 13001 | Line 13901 | $as_echo "#define NDEBUG 1" >>confdefs.h
13901   fi
13902  
13903  
13004 # Check whether --enable-small-net was given.
13005 if test "${enable_small_net+set}" = set; then :
13006  enableval=$enable_small_net; small_net=$enableval
13007 else
13008  small_net=no
13009 fi
13904  
13905 + $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
13906  
13012 if test "$small_net" = "yes"; then :
13907  
13908 + $as_echo "#define MP_CHUNK_SIZE_CHANNEL 64*1024" >>confdefs.h
13909  
13015 $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13910  
13911 + $as_echo "#define MP_CHUNK_SIZE_MEMBER 32*1024" >>confdefs.h
13912  
13018 $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13913  
13914 + $as_echo "#define MP_CHUNK_SIZE_BAN 16*1024" >>confdefs.h
13915  
13021 $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13916  
13917 + $as_echo "#define MP_CHUNK_SIZE_CLIENT 256*1024" >>confdefs.h
13918  
13024 $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13919  
13920 + $as_echo "#define MP_CHUNK_SIZE_LCLIENT 128*1024" >>confdefs.h
13921  
13027 $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13922  
13923 + $as_echo "#define MP_CHUNK_SIZE_DNODE 8*1024" >>confdefs.h
13924  
13030 $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
13925  
13926 + $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
13927  
13033 $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13928  
13929 + $as_echo "#define MP_CHUNK_SIZE_AUTH 32*1024" >>confdefs.h
13930  
13036 $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13931  
13932 + $as_echo "#define MP_CHUNK_SIZE_DNS 16*1024" >>confdefs.h
13933  
13039 $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13040
13041
13042 $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13043
13044 else
13934  
13935 <
13047 <
13048 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13049 <
13050 <
13051 < $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
13052 <
13053 <
13054 < $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
13055 <
13056 <
13057 < $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
13058 <
13059 <
13060 < $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
13061 <
13062 <
13063 < $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
13064 <
13065 <
13066 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13067 <
13068 <
13069 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13070 <
13071 <
13072 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13073 <
13074 <
13075 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13076 <
13077 < fi
13935 > $as_echo "#define MP_CHUNK_SIZE_WATCH 4*1024" >>confdefs.h
13936  
13937  
13938   # Argument processing.
# Line 13181 | Line 14039 | _ACEOF
14039    if test "$cross_compiling" = yes; then :
14040    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14041   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14042 < as_fn_error "cannot run test program while cross compiling
14043 < See \`config.log' for more details." "$LINENO" 5; }
14042 > as_fn_error $? "cannot run test program while cross compiling
14043 > See \`config.log' for more details" "$LINENO" 5; }
14044   else
14045    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14046   /* end confdefs.h.  */
# Line 13215 | Line 14073 | else
14073   #endif
14074   _syscall1(int, epoll_create, int, size)
14075   #endif
13218 main() { return epoll_create(256) == -1 ? 1 : 0; }
14076  
14077 + int
14078 + main ()
14079 + {
14080 + return epoll_create(256) == -1 ? 1 : 0
14081 +  ;
14082 +  return 0;
14083 + }
14084   _ACEOF
14085   if ac_fn_c_try_run "$LINENO"; then :
14086    is_epoll_mechanism_available="yes"
# Line 13286 | Line 14150 | _ACEOF
14150    if test "$cross_compiling" = yes; then :
14151    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14152   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14153 < as_fn_error "cannot run test program while cross compiling
14154 < See \`config.log' for more details." "$LINENO" 5; }
14153 > as_fn_error $? "cannot run test program while cross compiling
14154 > See \`config.log' for more details" "$LINENO" 5; }
14155   else
14156    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14157   /* end confdefs.h.  */
14158  
14159 + #define _GNU_SOURCE
14160   #include <fcntl.h>
14161 < #ifdef F_SETSIG
13297 < main () { return 0; } /* F_SETSIG defined */
13298 < #else
13299 < main () { return 1; } /* F_SETSIG not defined */
13300 < #endif
14161 > static unsigned int have_f_setsig = 0;
14162  
14163   int
14164   main ()
14165   {
14166  
14167 + #ifdef F_SETSIG
14168 +  have_f_setsig = 1;
14169 + #endif
14170 +  return have_f_setsig == 0;
14171 +
14172    ;
14173    return 0;
14174   }
# Line 13436 | Line 14302 | rm -f core conftest.err conftest.$ac_obj
14302      if test "$optimal_iopoll_mechanism" = "none" ; then
14303        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14304   $as_echo "none" >&6; }
14305 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14305 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14306      else
14307        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14308        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13451 | Line 14317 | $as_echo "$selected_iopoll_mechanism" >&
14317      else
14318        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14319   $as_echo "none" >&6; }
14320 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14320 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14321      fi
14322    fi
14323        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13472 | Line 14338 | fi
14338  
14339  
14340   cat >>confdefs.h <<_ACEOF
14341 < #define NICKLEN ($nicklen+1)
14341 > #define NICKLEN ($nicklen)
14342   _ACEOF
14343  
14344  
# Line 13492 | Line 14358 | _ACEOF
14358  
14359  
14360  
13495
13496 # Check whether --with-syslog-facility was given.
13497 if test "${with_syslog_facility+set}" = set; then :
13498  withval=$with_syslog_facility; syslog_facility="$withval"
13499 else
13500  syslog_facility="LOG_LOCAL4"
13501 fi
13502
13503
13504 cat >>confdefs.h <<_ACEOF
13505 #define LOG_FACILITY $syslog_facility
13506 _ACEOF
13507
13508
13509
13510  # Check whether --enable-efnet was given.
13511 if test "${enable_efnet+set}" = set; then :
13512  enableval=$enable_efnet; efnet="$enableval"
13513 else
13514  efnet="no"
13515 fi
13516
13517  if test "$efnet" = "yes" ; then
13518                use_efnet="yes"
13519
13520 $as_echo "#define EFNET 1" >>confdefs.h
13521
13522
13523 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13524
13525        else
13526                use_efnet="no"
13527  fi
13528   if test "$use_efnet" = "yes"; then
13529  EFNET_TRUE=
13530  EFNET_FALSE='#'
13531 else
13532  EFNET_TRUE='#'
13533  EFNET_FALSE=
13534 fi
13535
13536
13537
14361    # Check whether --enable-halfops was given.
14362   if test "${enable_halfops+set}" = set; then :
14363    enableval=$enable_halfops; halfops="$enableval"
# Line 13557 | Line 14380 | else
14380   fi
14381  
14382    if test "$debugging" = "yes" ; then
13560
13561 $as_echo "#define DEBUG 1" >>confdefs.h
13562
14383      CFLAGS="-Wall -g -O0"
13564  else
13565
13566 $as_echo "#define NDEBUG 1" >>confdefs.h
13567
14384    fi
14385  
14386  
# Line 13580 | Line 14396 | fi
14396    fi
14397  
14398  
13583  for ac_header in syslog.h sys/syslog.h
13584 do :
13585  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13586 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13587 eval as_val=\$$as_ac_Header
13588   if test "x$as_val" = x""yes; then :
13589  cat >>confdefs.h <<_ACEOF
13590 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13591 _ACEOF
13592
13593 fi
13594
13595 done
13596
13597  # Check whether --enable-syslog was given.
13598 if test "${enable_syslog+set}" = set; then :
13599  enableval=$enable_syslog; syslog="$enableval"
13600 else
13601  syslog="no"
13602 fi
13603
13604  if test "$enableval" != "no" ; then
13605    for option in $enableval ; do
13606      case "$option" in
13607        users)
13608 $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13609 ;;
13610        oper)
13611 $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13612 ;;
13613        yes) : ;;
13614        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13615      esac
13616    done
13617
13618 $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13619
13620  fi
13621
13622
14399  
14400    prefix_NONE=
14401    exec_prefix_NONE=
# Line 13706 | Line 14482 | _ACEOF
14482    test "$exec_prefix_NONE" && exec_prefix=NONE
14483  
14484  
14485 < ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14485 > 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"
14486  
14487  
14488   cat >confcache <<\_ACEOF
# Line 13773 | Line 14549 | $as_echo "$as_me: WARNING: cache variabl
14549       :end' >>confcache
14550   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14551    if test -w "$cache_file"; then
14552 <    test "x$cache_file" != "x/dev/null" &&
14552 >    if test "x$cache_file" != "x/dev/null"; then
14553        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14554   $as_echo "$as_me: updating cache $cache_file" >&6;}
14555 <    cat confcache >$cache_file
14555 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14556 >        cat confcache >"$cache_file"
14557 >      else
14558 >        case $cache_file in #(
14559 >        */* | ?:*)
14560 >          mv -f confcache "$cache_file"$$ &&
14561 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14562 >        *)
14563 >          mv -f confcache "$cache_file" ;;
14564 >        esac
14565 >      fi
14566 >    fi
14567    else
14568      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14569   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13792 | Line 14579 | DEFS=-DHAVE_CONFIG_H
14579  
14580   ac_libobjs=
14581   ac_ltlibobjs=
14582 + U=
14583   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14584    # 1. Remove the extension, and $U if already installed.
14585    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13806 | Line 14594 | LIBOBJS=$ac_libobjs
14594   LTLIBOBJS=$ac_ltlibobjs
14595  
14596  
14597 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14598 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
14599 +   if test -n "$am_sleep_pid"; then
14600 +     # Hide warnings about reused PIDs.
14601 +     wait $am_sleep_pid 2>/dev/null
14602 +   fi
14603 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14604 + $as_echo "done" >&6; }
14605   if test -n "$EXEEXT"; then
14606    am__EXEEXT_TRUE=
14607    am__EXEEXT_FALSE='#'
# Line 13815 | Line 14611 | else
14611   fi
14612  
14613   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14614 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14614 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14615   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14616   fi
14617   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14618 <  as_fn_error "conditional \"AMDEP\" was never defined.
14618 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14619   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14620   fi
14621   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14622 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14622 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14623   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14624   fi
14625   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14626 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14626 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14627   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14628   fi
14629   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14630 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14630 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14631   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14632   fi
14633   LT_CONFIG_H=config.h
# Line 13852 | Line 14648 | LT_CONFIG_H=config.h
14648  
14649  
14650  
13855 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13856  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13858 fi
14651   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14652 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13861 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13862 < fi
13863 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13864 <  as_fn_error "conditional \"EFNET\" was never defined.
14652 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14653   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14654   fi
14655  
14656 < : ${CONFIG_STATUS=./config.status}
14656 > : "${CONFIG_STATUS=./config.status}"
14657   ac_write_fail=0
14658   ac_clean_files_save=$ac_clean_files
14659   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13966 | Line 14754 | fi
14754   IFS=" ""        $as_nl"
14755  
14756   # Find who we are.  Look in the path if we contain no directory separator.
14757 + as_myself=
14758   case $0 in #((
14759    *[\\/]* ) as_myself=$0 ;;
14760    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14011 | Line 14800 | export LANGUAGE
14800   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14801  
14802  
14803 < # as_fn_error ERROR [LINENO LOG_FD]
14804 < # ---------------------------------
14803 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14804 > # ----------------------------------------
14805   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14806   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14807 < # script with status $?, using 1 if that was 0.
14807 > # script with STATUS, using 1 if that was 0.
14808   as_fn_error ()
14809   {
14810 <  as_status=$?; test $as_status -eq 0 && as_status=1
14811 <  if test "$3"; then
14812 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14813 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14810 >  as_status=$1; test $as_status -eq 0 && as_status=1
14811 >  if test "$4"; then
14812 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14813 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14814    fi
14815 <  $as_echo "$as_me: error: $1" >&2
14815 >  $as_echo "$as_me: error: $2" >&2
14816    as_fn_exit $as_status
14817   } # as_fn_error
14818  
# Line 14161 | Line 14950 | if (echo >conf$$.file) 2>/dev/null; then
14950      # ... but there are two gotchas:
14951      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14952      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14953 <    # In both cases, we have to default to `cp -p'.
14953 >    # In both cases, we have to default to `cp -pR'.
14954      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14955 <      as_ln_s='cp -p'
14955 >      as_ln_s='cp -pR'
14956    elif ln conf$$.file conf$$ 2>/dev/null; then
14957      as_ln_s=ln
14958    else
14959 <    as_ln_s='cp -p'
14959 >    as_ln_s='cp -pR'
14960    fi
14961   else
14962 <  as_ln_s='cp -p'
14962 >  as_ln_s='cp -pR'
14963   fi
14964   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14965   rmdir conf$$.dir 2>/dev/null
# Line 14219 | Line 15008 | $as_echo X"$as_dir" |
15008        test -d "$as_dir" && break
15009      done
15010      test -z "$as_dirs" || eval "mkdir $as_dirs"
15011 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15011 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15012  
15013  
15014   } # as_fn_mkdir_p
# Line 14230 | Line 15019 | else
15019    as_mkdir_p=false
15020   fi
15021  
15022 < if test -x / >/dev/null 2>&1; then
15023 <  as_test_x='test -x'
15024 < else
15025 <  if ls -dL / >/dev/null 2>&1; then
15026 <    as_ls_L_option=L
15027 <  else
15028 <    as_ls_L_option=
15029 <  fi
15030 <  as_test_x='
15031 <    eval sh -c '\''
14243 <      if test -d "$1"; then
14244 <        test -d "$1/.";
14245 <      else
14246 <        case $1 in #(
14247 <        -*)set "./$1";;
14248 <        esac;
14249 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14250 <        ???[sx]*):;;*)false;;esac;fi
14251 <    '\'' sh
14252 <  '
14253 < fi
14254 < as_executable_p=$as_test_x
15022 >
15023 > # as_fn_executable_p FILE
15024 > # -----------------------
15025 > # Test if FILE is an executable regular file.
15026 > as_fn_executable_p ()
15027 > {
15028 >  test -f "$1" && test -x "$1"
15029 > } # as_fn_executable_p
15030 > as_test_x='test -x'
15031 > as_executable_p=as_fn_executable_p
15032  
15033   # Sed expression to map a string onto a valid CPP name.
15034   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14272 | Line 15049 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15049   # report actual input values of CONFIG_FILES etc. instead of their
15050   # values after options handling.
15051   ac_log="
15052 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15053 < generated by GNU Autoconf 2.65.  Invocation command line was
15052 > This file was extended by ircd-hybrid $as_me 8.0.0, which was
15053 > generated by GNU Autoconf 2.69.  Invocation command line was
15054  
15055    CONFIG_FILES    = $CONFIG_FILES
15056    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14338 | Line 15115 | _ACEOF
15115   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15116   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15117   ac_cs_version="\\
15118 < ircd-hybrid config.status 7.3-rc1
15119 < configured by $0, generated by GNU Autoconf 2.65,
15118 > ircd-hybrid config.status 8.0.0
15119 > configured by $0, generated by GNU Autoconf 2.69,
15120    with options \\"\$ac_cs_config\\"
15121  
15122 < Copyright (C) 2009 Free Software Foundation, Inc.
15122 > Copyright (C) 2012 Free Software Foundation, Inc.
15123   This config.status script is free software; the Free Software Foundation
15124   gives unlimited permission to copy, distribute and modify it."
15125  
# Line 14360 | Line 15137 | ac_need_defaults=:
15137   while test $# != 0
15138   do
15139    case $1 in
15140 <  --*=*)
15140 >  --*=?*)
15141      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15142      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15143      ac_shift=:
15144      ;;
15145 +  --*=)
15146 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15147 +    ac_optarg=
15148 +    ac_shift=:
15149 +    ;;
15150    *)
15151      ac_option=$1
15152      ac_optarg=$2
# Line 14386 | Line 15168 | do
15168      $ac_shift
15169      case $ac_optarg in
15170      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15171 +    '') as_fn_error $? "missing file argument" ;;
15172      esac
15173      as_fn_append CONFIG_FILES " '$ac_optarg'"
15174      ac_need_defaults=false;;
# Line 14398 | Line 15181 | do
15181      ac_need_defaults=false;;
15182    --he | --h)
15183      # Conflict between --help and --header
15184 <    as_fn_error "ambiguous option: \`$1'
15184 >    as_fn_error $? "ambiguous option: \`$1'
15185   Try \`$0 --help' for more information.";;
15186    --help | --hel | -h )
15187      $as_echo "$ac_cs_usage"; exit ;;
# Line 14407 | Line 15190 | Try \`$0 --help' for more information.";
15190      ac_cs_silent=: ;;
15191  
15192    # This is an error.
15193 <  -*) as_fn_error "unrecognized option: \`$1'
15193 >  -*) as_fn_error $? "unrecognized option: \`$1'
15194   Try \`$0 --help' for more information." ;;
15195  
15196    *) as_fn_append ac_config_targets " $1"
# Line 14427 | Line 15210 | fi
15210   _ACEOF
15211   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15212   if \$ac_cs_recheck; then
15213 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15213 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15214    shift
15215    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15216    CONFIG_SHELL='$SHELL'
# Line 14461 | Line 15244 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
15244   sed_quote_subst='$sed_quote_subst'
15245   double_quote_subst='$double_quote_subst'
15246   delay_variable_subst='$delay_variable_subst'
15247 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15248 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15249 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15250 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15251 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15252 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15253 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15254 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15255 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15256 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15257 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15258 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15259 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15260 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15261 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15262 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15263 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15264 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15265 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15266 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15267 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15268 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15269 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15270 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15271 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15272 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15273 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15274 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15275 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15276 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15277 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15278 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15279 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15280 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15281 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15282 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15283 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15284 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15285 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15286 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15287 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15288 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15289 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15290 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15291 < 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"`'
15292 < 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"`'
15293 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15294 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15295 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15296 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15297 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15298 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15299 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15300 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15301 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15302 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15303 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15304 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15305 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15306 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15307 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15308 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15309 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15310 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15311 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15312 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15313 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15314 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15315 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15316 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15317 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15318 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15319 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15320 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15321 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15322 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15323 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15324 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15325 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15326 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15327 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15328 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15329 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15330 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15331 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15332 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15333 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15334 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15335 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15336 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15337 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15338 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15339 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15340 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15341 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15342 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15343 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15344 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15345 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15346 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15347 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15348 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15349 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15350 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15351 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15352 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15353 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15354 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15355 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15356 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15357 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15358 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15359 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15360 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15361 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15362 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15363 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15364 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15247 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15248 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15249 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15250 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15251 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15252 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15253 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15254 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15255 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15256 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15257 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15258 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15259 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15260 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15261 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15262 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15263 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15264 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15265 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15266 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15267 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15268 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15269 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15270 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15271 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15272 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15273 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15274 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15275 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15276 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15277 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15278 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15279 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15280 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15281 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15282 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15283 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15284 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15285 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15286 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15287 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15288 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15289 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15290 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15291 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15292 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15293 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15294 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15295 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15296 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15297 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15298 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15299 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15300 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15301 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15302 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15303 > 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"`'
15304 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15305 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15306 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15307 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15308 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15309 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15310 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15311 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15312 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15313 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15314 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15315 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15316 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15317 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15318 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15319 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15320 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15321 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15322 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15323 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15324 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15325 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15326 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15327 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15328 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15329 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15330 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15331 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15332 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15333 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15334 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15335 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15336 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15337 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15338 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15339 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15340 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15341 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15342 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15343 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15344 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15345 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15346 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15347 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15348 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15349 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15350 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15351 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15352 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15353 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15354 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15355 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15356 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15357 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15358 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15359 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15360 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15361 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15362 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15363 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15364 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15365 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15366 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15367 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15368 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15369 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15370 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15371 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15372 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15373 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15374 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15375 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15376 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15377  
15378   LTCC='$LTCC'
15379   LTCFLAGS='$LTCFLAGS'
15380   compiler='$compiler_DEFAULT'
15381  
15382 + # A function that is used when there is no print builtin or printf.
15383 + func_fallback_echo ()
15384 + {
15385 +  eval 'cat <<_LTECHO_EOF
15386 + \$1
15387 + _LTECHO_EOF'
15388 + }
15389 +
15390   # Quote evaled strings.
15391 < for var in SED \
15391 > for var in SHELL \
15392 > ECHO \
15393 > PATH_SEPARATOR \
15394 > SED \
15395   GREP \
15396   EGREP \
15397   FGREP \
# Line 14598 | Line 15404 | reload_flag \
15404   OBJDUMP \
15405   deplibs_check_method \
15406   file_magic_cmd \
15407 + file_magic_glob \
15408 + want_nocaseglob \
15409 + DLLTOOL \
15410 + sharedlib_from_linklib_cmd \
15411   AR \
15412   AR_FLAGS \
15413 + archiver_list_spec \
15414   STRIP \
15415   RANLIB \
15416   CC \
# Line 14609 | Line 15420 | lt_cv_sys_global_symbol_pipe \
15420   lt_cv_sys_global_symbol_to_cdecl \
15421   lt_cv_sys_global_symbol_to_c_name_address \
15422   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15423 < SHELL \
14613 < ECHO \
15423 > nm_file_list_spec \
15424   lt_prog_compiler_no_builtin_flag \
14615 lt_prog_compiler_wl \
15425   lt_prog_compiler_pic \
15426 + lt_prog_compiler_wl \
15427   lt_prog_compiler_static \
15428   lt_cv_prog_compiler_c_o \
15429   need_locks \
15430 + MANIFEST_TOOL \
15431   DSYMUTIL \
15432   NMEDIT \
15433   LIPO \
# Line 14630 | Line 15441 | with_gnu_ld \
15441   allow_undefined_flag \
15442   no_undefined_flag \
15443   hardcode_libdir_flag_spec \
14633 hardcode_libdir_flag_spec_ld \
15444   hardcode_libdir_separator \
14635 fix_srcfile_path \
15445   exclude_expsyms \
15446   include_expsyms \
15447   file_list_spec \
# Line 14640 | Line 15449 | variables_saved_for_relink \
15449   libname_spec \
15450   library_names_spec \
15451   soname_spec \
15452 + install_override_mode \
15453   finish_eval \
15454   old_striplib \
15455   striplib; do
15456 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15456 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15457      *[\\\\\\\`\\"\\\$]*)
15458 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15458 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15459        ;;
15460      *)
15461        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14667 | Line 15477 | module_cmds \
15477   module_expsym_cmds \
15478   export_symbols_cmds \
15479   prelink_cmds \
15480 + postlink_cmds \
15481   postinstall_cmds \
15482   postuninstall_cmds \
15483   finish_cmds \
15484   sys_lib_search_path_spec \
15485   sys_lib_dlsearch_path_spec; do
15486 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15486 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15487      *[\\\\\\\`\\"\\\$]*)
15488 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15488 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15489        ;;
15490      *)
15491        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14682 | Line 15493 | sys_lib_dlsearch_path_spec; do
15493      esac
15494   done
15495  
14685 # Fix-up fallback echo if it was mangled by the above quoting rules.
14686 case \$lt_ECHO in
14687 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14688  ;;
14689 esac
14690
15496   ac_aux_dir='$ac_aux_dir'
15497   xsi_shell='$xsi_shell'
15498   lt_shell_append='$lt_shell_append'
# Line 14720 | Line 15525 | do
15525      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15526      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15527      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14723    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14724    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14725    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14726    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15528      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15529      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15530      "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
# Line 14735 | Line 15536 | do
15536      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
15537      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15538  
15539 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15539 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15540    esac
15541   done
15542  
# Line 14758 | Line 15559 | fi
15559   # after its creation but before its name has been assigned to `$tmp'.
15560   $debug ||
15561   {
15562 <  tmp=
15562 >  tmp= ac_tmp=
15563    trap 'exit_status=$?
15564 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15564 >  : "${ac_tmp:=$tmp}"
15565 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15566   ' 0
15567    trap 'as_fn_exit 1' 1 2 13 15
15568   }
# Line 14768 | Line 15570 | $debug ||
15570  
15571   {
15572    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15573 <  test -n "$tmp" && test -d "$tmp"
15573 >  test -d "$tmp"
15574   }  ||
15575   {
15576    tmp=./conf$$-$RANDOM
15577    (umask 077 && mkdir "$tmp")
15578 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15578 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15579 > ac_tmp=$tmp
15580  
15581   # Set up the scripts for CONFIG_FILES section.
15582   # No need to generate them if there are no CONFIG_FILES.
# Line 14790 | Line 15593 | if test "x$ac_cr" = x; then
15593   fi
15594   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15595   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15596 <  ac_cs_awk_cr='\r'
15596 >  ac_cs_awk_cr='\\r'
15597   else
15598    ac_cs_awk_cr=$ac_cr
15599   fi
15600  
15601 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15601 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15602   _ACEOF
15603  
15604  
# Line 14804 | Line 15607 | _ACEOF
15607    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15608    echo "_ACEOF"
15609   } >conf$$subs.sh ||
15610 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15611 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15610 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15611 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15612   ac_delim='%!_!# '
15613   for ac_last_try in false false false false false :; do
15614    . ./conf$$subs.sh ||
15615 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15615 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15616  
15617    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15618    if test $ac_delim_n = $ac_delim_num; then
15619      break
15620    elif $ac_last_try; then
15621 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15621 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15622    else
15623      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15624    fi
# Line 14823 | Line 15626 | done
15626   rm -f conf$$subs.sh
15627  
15628   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15629 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15629 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15630   _ACEOF
15631   sed -n '
15632   h
# Line 14871 | Line 15674 | t delim
15674   rm -f conf$$subs.awk
15675   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15676   _ACAWK
15677 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15677 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15678    for (key in S) S_is_set[key] = 1
15679    FS = ""
15680  
# Line 14903 | Line 15706 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15706    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15707   else
15708    cat
15709 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15710 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15709 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15710 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15711   _ACEOF
15712  
15713 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15714 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15713 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15714 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15715   # trailing colons and then remove the whole line if VPATH becomes empty
15716   # (actually we leave an empty line to preserve line numbers).
15717   if test "x$srcdir" = x.; then
15718 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15719 < s/:*\$(srcdir):*/:/
15720 < s/:*\${srcdir}:*/:/
15721 < s/:*@srcdir@:*/:/
15722 < s/^\([^=]*=[     ]*\):*/\1/
15718 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15719 > h
15720 > s///
15721 > s/^/:/
15722 > s/[      ]*$/:/
15723 > s/:\$(srcdir):/:/g
15724 > s/:\${srcdir}:/:/g
15725 > s/:@srcdir@:/:/g
15726 > s/^:*//
15727   s/:*$//
15728 + x
15729 + s/\(=[   ]*\).*/\1/
15730 + G
15731 + s/\n//
15732   s/^[^=]*=[       ]*$//
15733   }'
15734   fi
# Line 14929 | Line 15740 | fi # test -n "$CONFIG_FILES"
15740   # No need to generate them if there are no CONFIG_HEADERS.
15741   # This happens for instance with `./config.status Makefile'.
15742   if test -n "$CONFIG_HEADERS"; then
15743 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15743 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15744   BEGIN {
15745   _ACEOF
15746  
# Line 14941 | Line 15752 | _ACEOF
15752   # handling of long lines.
15753   ac_delim='%!_!# '
15754   for ac_last_try in false false :; do
15755 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15756 <  if test -z "$ac_t"; then
15755 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15756 >  if test -z "$ac_tt"; then
15757      break
15758    elif $ac_last_try; then
15759 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15759 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15760    else
15761      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15762    fi
# Line 15030 | Line 15841 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15841   _ACAWK
15842   _ACEOF
15843   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15844 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15844 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15845   fi # test -n "$CONFIG_HEADERS"
15846  
15847  
# Line 15043 | Line 15854 | do
15854    esac
15855    case $ac_mode$ac_tag in
15856    :[FHL]*:*);;
15857 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15857 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15858    :[FH]-) ac_tag=-:-;;
15859    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15860    esac
# Line 15062 | Line 15873 | do
15873      for ac_f
15874      do
15875        case $ac_f in
15876 <      -) ac_f="$tmp/stdin";;
15876 >      -) ac_f="$ac_tmp/stdin";;
15877        *) # Look for the file first in the build tree, then in the source tree
15878           # (if the path is not absolute).  The absolute path cannot be DOS-style,
15879           # because $ac_f cannot contain `:'.
# Line 15071 | Line 15882 | do
15882             [\\/$]*) false;;
15883             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15884             esac ||
15885 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15885 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15886        esac
15887        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15888        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15097 | Line 15908 | $as_echo "$as_me: creating $ac_file" >&6
15908      esac
15909  
15910      case $ac_tag in
15911 <    *:-:* | *:-) cat >"$tmp/stdin" \
15912 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15911 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15912 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15913      esac
15914      ;;
15915    esac
# Line 15234 | Line 16045 | s&@INSTALL@&$ac_INSTALL&;t t
16045   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16046   $ac_datarootdir_hack
16047   "
16048 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16049 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16048 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16049 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16050  
16051   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16052 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16053 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16052 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16053 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16054 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16055    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16056 < which seems to be undefined.  Please make sure it is defined." >&5
16056 > which seems to be undefined.  Please make sure it is defined" >&5
16057   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16058 < which seems to be undefined.  Please make sure it is defined." >&2;}
16058 > which seems to be undefined.  Please make sure it is defined" >&2;}
16059  
16060 <  rm -f "$tmp/stdin"
16060 >  rm -f "$ac_tmp/stdin"
16061    case $ac_file in
16062 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16063 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16062 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16063 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16064    esac \
16065 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16065 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16066   ;;
16067    :H)
16068    #
# Line 15259 | Line 16071 | which seems to be undefined.  Please mak
16071    if test x"$ac_file" != x-; then
16072      {
16073        $as_echo "/* $configure_input  */" \
16074 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16075 <    } >"$tmp/config.h" \
16076 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16077 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16074 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16075 >    } >"$ac_tmp/config.h" \
16076 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16077 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16078        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16079   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16080      else
16081        rm -f "$ac_file"
16082 <      mv "$tmp/config.h" "$ac_file" \
16083 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16082 >      mv "$ac_tmp/config.h" "$ac_file" \
16083 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16084      fi
16085    else
16086      $as_echo "/* $configure_input  */" \
16087 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16088 <      || as_fn_error "could not create -" "$LINENO" 5
16087 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16088 >      || as_fn_error $? "could not create -" "$LINENO" 5
16089    fi
16090   # Compute "$ac_file"'s index in $config_headers.
16091   _am_arg="$ac_file"
# Line 15332 | Line 16144 | $as_echo "$as_me: executing $ac_file com
16144      # Strip MF so we end up with the name of the file.
16145      mf=`echo "$mf" | sed -e 's/:.*$//'`
16146      # Check whether this is an Automake generated Makefile or not.
16147 <    # We used to match only the files named `Makefile.in', but
16147 >    # We used to match only the files named 'Makefile.in', but
16148      # some people rename them; so instead we look at the file content.
16149      # Grep'ing the first line is not enough: some people post-process
16150      # each Makefile.in and add a new line on top of each file to say so.
# Line 15366 | Line 16178 | $as_echo X"$mf" |
16178        continue
16179      fi
16180      # Extract the definition of DEPDIR, am__include, and am__quote
16181 <    # from the Makefile without running `make'.
16181 >    # from the Makefile without running 'make'.
16182      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16183      test -z "$DEPDIR" && continue
16184      am__include=`sed -n 's/^am__include = //p' < "$mf"`
16185      test -z "am__include" && continue
16186      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15375    # When using ansi2knr, U may be empty or an underscore; expand it
15376    U=`sed -n 's/^U = //p' < "$mf"`
16187      # Find all dependency output files, they are included files with
16188      # $(DEPDIR) in their names.  We invoke sed twice because it is the
16189      # simplest approach to changing $(DEPDIR) to its actual value in the
16190      # expansion.
16191      for file in `sed -n "
16192        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16193 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16193 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16194        # Make sure the directory exists.
16195        test -f "$dirpart/$file" && continue
16196        fdir=`$as_dirname -- "$file" ||
# Line 15434 | Line 16244 | $as_echo X"$file" |
16244   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16245   #
16246   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16247 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
16247 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16248 > #                 Foundation, Inc.
16249   #   Written by Gordon Matzigkeit, 1996
16250   #
16251   #   This file is part of GNU Libtool.
# Line 15482 | Line 16293 | pic_mode=$pic_mode
16293   # Whether or not to optimize for fast installation.
16294   fast_install=$enable_fast_install
16295  
16296 + # Shell to use when invoking shell scripts.
16297 + SHELL=$lt_SHELL
16298 +
16299 + # An echo program that protects backslashes.
16300 + ECHO=$lt_ECHO
16301 +
16302 + # The PATH separator for the build system.
16303 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16304 +
16305   # The host system.
16306   host_alias=$host_alias
16307   host=$host
# Line 15531 | Line 16351 | SP2NL=$lt_lt_SP2NL
16351   # turn newlines into spaces.
16352   NL2SP=$lt_lt_NL2SP
16353  
16354 < # How to create reloadable object files.
16355 < reload_flag=$lt_reload_flag
16356 < reload_cmds=$lt_reload_cmds
16354 > # convert \$build file names to \$host format.
16355 > to_host_file_cmd=$lt_cv_to_host_file_cmd
16356 >
16357 > # convert \$build files to toolchain format.
16358 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16359  
16360   # An object symbol dumper.
16361   OBJDUMP=$lt_OBJDUMP
# Line 15541 | Line 16363 | OBJDUMP=$lt_OBJDUMP
16363   # Method to check whether dependent libraries are shared objects.
16364   deplibs_check_method=$lt_deplibs_check_method
16365  
16366 < # Command to use when deplibs_check_method == "file_magic".
16366 > # Command to use when deplibs_check_method = "file_magic".
16367   file_magic_cmd=$lt_file_magic_cmd
16368  
16369 + # How to find potential files when deplibs_check_method = "file_magic".
16370 + file_magic_glob=$lt_file_magic_glob
16371 +
16372 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16373 + want_nocaseglob=$lt_want_nocaseglob
16374 +
16375 + # DLL creation program.
16376 + DLLTOOL=$lt_DLLTOOL
16377 +
16378 + # Command to associate shared and link libraries.
16379 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16380 +
16381   # The archiver.
16382   AR=$lt_AR
16383 +
16384 + # Flags to create an archive.
16385   AR_FLAGS=$lt_AR_FLAGS
16386  
16387 + # How to feed a file listing to the archiver.
16388 + archiver_list_spec=$lt_archiver_list_spec
16389 +
16390   # A symbol stripping program.
16391   STRIP=$lt_STRIP
16392  
# Line 15556 | Line 16395 | RANLIB=$lt_RANLIB
16395   old_postinstall_cmds=$lt_old_postinstall_cmds
16396   old_postuninstall_cmds=$lt_old_postuninstall_cmds
16397  
16398 + # Whether to use a lock for old archive extraction.
16399 + lock_old_archive_extraction=$lock_old_archive_extraction
16400 +
16401   # A C compiler.
16402   LTCC=$lt_CC
16403  
# Line 15574 | Line 16416 | global_symbol_to_c_name_address=$lt_lt_c
16416   # Transform the output of nm in a C name address pair when lib prefix is needed.
16417   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16418  
16419 < # The name of the directory that contains temporary libtool files.
16420 < objdir=$objdir
16419 > # Specify filename containing input files for \$NM.
16420 > nm_file_list_spec=$lt_nm_file_list_spec
16421  
16422 < # Shell to use when invoking shell scripts.
16423 < SHELL=$lt_SHELL
16422 > # The root where to search for dependent libraries,and in which our libraries should be installed.
16423 > lt_sysroot=$lt_sysroot
16424  
16425 < # An echo program that does not interpret backslashes.
16426 < ECHO=$lt_ECHO
16425 > # The name of the directory that contains temporary libtool files.
16426 > objdir=$objdir
16427  
16428   # Used to examine libraries when file_magic_cmd begins with "file".
16429   MAGIC_CMD=$MAGIC_CMD
# Line 15589 | Line 16431 | MAGIC_CMD=$MAGIC_CMD
16431   # Must we lock files when doing compilation?
16432   need_locks=$lt_need_locks
16433  
16434 + # Manifest tool.
16435 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16436 +
16437   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16438   DSYMUTIL=$lt_DSYMUTIL
16439  
# Line 15645 | Line 16490 | library_names_spec=$lt_library_names_spe
16490   # The coded name of the library, if different from the real name.
16491   soname_spec=$lt_soname_spec
16492  
16493 + # Permission mode override for installation of shared libraries.
16494 + install_override_mode=$lt_install_override_mode
16495 +
16496   # Command to use after installation of a shared archive.
16497   postinstall_cmds=$lt_postinstall_cmds
16498  
# Line 15684 | Line 16532 | striplib=$lt_striplib
16532   # The linker used to build libraries.
16533   LD=$lt_LD
16534  
16535 + # How to create reloadable object files.
16536 + reload_flag=$lt_reload_flag
16537 + reload_cmds=$lt_reload_cmds
16538 +
16539   # Commands used to build an old-style archive.
16540   old_archive_cmds=$lt_old_archive_cmds
16541  
# Line 15696 | Line 16548 | with_gcc=$GCC
16548   # Compiler flag to turn off builtin functions.
16549   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16550  
15699 # How to pass a linker flag through the compiler.
15700 wl=$lt_lt_prog_compiler_wl
15701
16551   # Additional compiler flags for building library objects.
16552   pic_flag=$lt_lt_prog_compiler_pic
16553  
16554 + # How to pass a linker flag through the compiler.
16555 + wl=$lt_lt_prog_compiler_wl
16556 +
16557   # Compiler flag to prevent dynamic linking.
16558   link_static_flag=$lt_lt_prog_compiler_static
16559  
# Line 15751 | Line 16603 | no_undefined_flag=$lt_no_undefined_flag
16603   # This must work even if \$libdir does not exist
16604   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16605  
15754 # If ld is used when linking, flag to hardcode \$libdir into a binary
15755 # during linking.  This must work even if \$libdir does not exist.
15756 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15757
16606   # Whether we need a single "-rpath" flag with a separated argument.
16607   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16608  
# Line 15788 | Line 16636 | inherit_rpath=$inherit_rpath
16636   # Whether libtool must link a program against all its dependency libraries.
16637   link_all_deplibs=$link_all_deplibs
16638  
15791 # Fix the shell variable \$srcfile for the compiler.
15792 fix_srcfile_path=$lt_fix_srcfile_path
15793
16639   # Set to "yes" if exported symbols are required.
16640   always_export_symbols=$always_export_symbols
16641  
# Line 15806 | Line 16651 | include_expsyms=$lt_include_expsyms
16651   # Commands necessary for linking programs (against libraries) with templates.
16652   prelink_cmds=$lt_prelink_cmds
16653  
16654 + # Commands necessary for finishing linking programs.
16655 + postlink_cmds=$lt_postlink_cmds
16656 +
16657   # Specify filename containing input files.
16658   file_list_spec=$lt_file_list_spec
16659  
# Line 15838 | Line 16686 | ltmain="$ac_aux_dir/ltmain.sh"
16686    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16687    # text mode, it properly converts lines to CR/LF.  This bash problem
16688    # is reportedly fixed, but why not run on old versions too?
16689 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16690 <    || (rm -f "$cfgfile"; exit 1)
15843 <
15844 <  case $xsi_shell in
15845 <  yes)
15846 <    cat << \_LT_EOF >> "$cfgfile"
15847 <
15848 < # func_dirname file append nondir_replacement
15849 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15850 < # otherwise set result to NONDIR_REPLACEMENT.
15851 < func_dirname ()
15852 < {
15853 <  case ${1} in
15854 <    */*) func_dirname_result="${1%/*}${2}" ;;
15855 <    *  ) func_dirname_result="${3}" ;;
15856 <  esac
15857 < }
15858 <
15859 < # func_basename file
15860 < func_basename ()
15861 < {
15862 <  func_basename_result="${1##*/}"
15863 < }
15864 <
15865 < # func_dirname_and_basename file append nondir_replacement
15866 < # perform func_basename and func_dirname in a single function
15867 < # call:
15868 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15869 < #             add APPEND to the result, otherwise set result
15870 < #             to NONDIR_REPLACEMENT.
15871 < #             value returned in "$func_dirname_result"
15872 < #   basename: Compute filename of FILE.
15873 < #             value retuned in "$func_basename_result"
15874 < # Implementation must be kept synchronized with func_dirname
15875 < # and func_basename. For efficiency, we do not delegate to
15876 < # those functions but instead duplicate the functionality here.
15877 < func_dirname_and_basename ()
15878 < {
15879 <  case ${1} in
15880 <    */*) func_dirname_result="${1%/*}${2}" ;;
15881 <    *  ) func_dirname_result="${3}" ;;
15882 <  esac
15883 <  func_basename_result="${1##*/}"
15884 < }
15885 <
15886 < # func_stripname prefix suffix name
15887 < # strip PREFIX and SUFFIX off of NAME.
15888 < # PREFIX and SUFFIX must not contain globbing or regex special
15889 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15890 < # dot (in which case that matches only a dot).
15891 < func_stripname ()
15892 < {
15893 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15894 <  # positional parameters, so assign one to ordinary parameter first.
15895 <  func_stripname_result=${3}
15896 <  func_stripname_result=${func_stripname_result#"${1}"}
15897 <  func_stripname_result=${func_stripname_result%"${2}"}
15898 < }
15899 <
15900 < # func_opt_split
15901 < func_opt_split ()
15902 < {
15903 <  func_opt_split_opt=${1%%=*}
15904 <  func_opt_split_arg=${1#*=}
15905 < }
15906 <
15907 < # func_lo2o object
15908 < func_lo2o ()
15909 < {
15910 <  case ${1} in
15911 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15912 <    *)    func_lo2o_result=${1} ;;
15913 <  esac
15914 < }
15915 <
15916 < # func_xform libobj-or-source
15917 < func_xform ()
15918 < {
15919 <  func_xform_result=${1%.*}.lo
15920 < }
15921 <
15922 < # func_arith arithmetic-term...
15923 < func_arith ()
15924 < {
15925 <  func_arith_result=$(( $* ))
15926 < }
15927 <
15928 < # func_len string
15929 < # STRING may not start with a hyphen.
15930 < func_len ()
15931 < {
15932 <  func_len_result=${#1}
15933 < }
15934 <
15935 < _LT_EOF
15936 <    ;;
15937 <  *) # Bourne compatible functions.
15938 <    cat << \_LT_EOF >> "$cfgfile"
15939 <
15940 < # func_dirname file append nondir_replacement
15941 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15942 < # otherwise set result to NONDIR_REPLACEMENT.
15943 < func_dirname ()
15944 < {
15945 <  # Extract subdirectory from the argument.
15946 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15947 <  if test "X$func_dirname_result" = "X${1}"; then
15948 <    func_dirname_result="${3}"
15949 <  else
15950 <    func_dirname_result="$func_dirname_result${2}"
15951 <  fi
15952 < }
15953 <
15954 < # func_basename file
15955 < func_basename ()
15956 < {
15957 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15958 < }
15959 <
15960 <
15961 < # func_stripname prefix suffix name
15962 < # strip PREFIX and SUFFIX off of NAME.
15963 < # PREFIX and SUFFIX must not contain globbing or regex special
15964 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15965 < # dot (in which case that matches only a dot).
15966 < # func_strip_suffix prefix name
15967 < func_stripname ()
15968 < {
15969 <  case ${2} in
15970 <    .*) func_stripname_result=`$ECHO "X${3}" \
15971 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15972 <    *)  func_stripname_result=`$ECHO "X${3}" \
15973 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15974 <  esac
15975 < }
15976 <
15977 < # sed scripts:
15978 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15979 < my_sed_long_arg='1s/^-[^=]*=//'
15980 <
15981 < # func_opt_split
15982 < func_opt_split ()
15983 < {
15984 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15985 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15986 < }
15987 <
15988 < # func_lo2o object
15989 < func_lo2o ()
15990 < {
15991 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15992 < }
15993 <
15994 < # func_xform libobj-or-source
15995 < func_xform ()
15996 < {
15997 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15998 < }
15999 <
16000 < # func_arith arithmetic-term...
16001 < func_arith ()
16002 < {
16003 <  func_arith_result=`expr "$@"`
16004 < }
16005 <
16006 < # func_len string
16007 < # STRING may not start with a hyphen.
16008 < func_len ()
16009 < {
16010 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16011 < }
16012 <
16013 < _LT_EOF
16014 < esac
16015 <
16016 < case $lt_shell_append in
16017 <  yes)
16018 <    cat << \_LT_EOF >> "$cfgfile"
16019 <
16020 < # func_append var value
16021 < # Append VALUE to the end of shell variable VAR.
16022 < func_append ()
16023 < {
16024 <  eval "$1+=\$2"
16025 < }
16026 < _LT_EOF
16027 <    ;;
16028 <  *)
16029 <    cat << \_LT_EOF >> "$cfgfile"
16030 <
16031 < # func_append var value
16032 < # Append VALUE to the end of shell variable VAR.
16033 < func_append ()
16034 < {
16035 <  eval "$1=\$$1\$2"
16036 < }
16037 <
16038 < _LT_EOF
16039 <    ;;
16040 <  esac
16689 >  sed '$q' "$ltmain" >> "$cfgfile" \
16690 >     || (rm -f "$cfgfile"; exit 1)
16691  
16692 +  if test x"$xsi_shell" = xyes; then
16693 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16694 + func_dirname ()\
16695 + {\
16696 + \    case ${1} in\
16697 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16698 + \      *  ) func_dirname_result="${3}" ;;\
16699 + \    esac\
16700 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16701 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16702 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16703 + test 0 -eq $? || _lt_function_replace_fail=:
16704 +
16705 +
16706 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16707 + func_basename ()\
16708 + {\
16709 + \    func_basename_result="${1##*/}"\
16710 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16711 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16712 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16713 + test 0 -eq $? || _lt_function_replace_fail=:
16714 +
16715 +
16716 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16717 + func_dirname_and_basename ()\
16718 + {\
16719 + \    case ${1} in\
16720 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16721 + \      *  ) func_dirname_result="${3}" ;;\
16722 + \    esac\
16723 + \    func_basename_result="${1##*/}"\
16724 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16725 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16726 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16727 + test 0 -eq $? || _lt_function_replace_fail=:
16728 +
16729 +
16730 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16731 + func_stripname ()\
16732 + {\
16733 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16734 + \    # positional parameters, so assign one to ordinary parameter first.\
16735 + \    func_stripname_result=${3}\
16736 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16737 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16738 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16739 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16740 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16741 + test 0 -eq $? || _lt_function_replace_fail=:
16742 +
16743 +
16744 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16745 + func_split_long_opt ()\
16746 + {\
16747 + \    func_split_long_opt_name=${1%%=*}\
16748 + \    func_split_long_opt_arg=${1#*=}\
16749 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16750 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16751 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16752 + test 0 -eq $? || _lt_function_replace_fail=:
16753 +
16754 +
16755 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16756 + func_split_short_opt ()\
16757 + {\
16758 + \    func_split_short_opt_arg=${1#??}\
16759 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16760 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16761 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16762 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16763 + test 0 -eq $? || _lt_function_replace_fail=:
16764 +
16765 +
16766 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16767 + func_lo2o ()\
16768 + {\
16769 + \    case ${1} in\
16770 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16771 + \      *)    func_lo2o_result=${1} ;;\
16772 + \    esac\
16773 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16774 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16775 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16776 + test 0 -eq $? || _lt_function_replace_fail=:
16777 +
16778 +
16779 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16780 + func_xform ()\
16781 + {\
16782 +    func_xform_result=${1%.*}.lo\
16783 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16784 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16785 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16786 + test 0 -eq $? || _lt_function_replace_fail=:
16787 +
16788 +
16789 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16790 + func_arith ()\
16791 + {\
16792 +    func_arith_result=$(( $* ))\
16793 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16794 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16795 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16796 + test 0 -eq $? || _lt_function_replace_fail=:
16797 +
16798 +
16799 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16800 + func_len ()\
16801 + {\
16802 +    func_len_result=${#1}\
16803 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16804 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16805 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16806 + test 0 -eq $? || _lt_function_replace_fail=:
16807 +
16808 + fi
16809 +
16810 + if test x"$lt_shell_append" = xyes; then
16811 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16812 + func_append ()\
16813 + {\
16814 +    eval "${1}+=\\${2}"\
16815 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16816 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16817 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16818 + test 0 -eq $? || _lt_function_replace_fail=:
16819 +
16820 +
16821 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16822 + func_append_quoted ()\
16823 + {\
16824 + \    func_quote_for_eval "${2}"\
16825 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16826 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16827 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16828 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16829 + test 0 -eq $? || _lt_function_replace_fail=:
16830 +
16831 +
16832 +  # Save a `func_append' function call where possible by direct use of '+='
16833 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16834 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16835 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16836 +  test 0 -eq $? || _lt_function_replace_fail=:
16837 + else
16838 +  # Save a `func_append' function call even when '+=' is not available
16839 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16840 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16841 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16842 +  test 0 -eq $? || _lt_function_replace_fail=:
16843 + fi
16844 +
16845 + if test x"$_lt_function_replace_fail" = x":"; then
16846 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16847 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16848 + fi
16849  
16043  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16044    || (rm -f "$cfgfile"; exit 1)
16850  
16851 <  mv -f "$cfgfile" "$ofile" ||
16851 >   mv -f "$cfgfile" "$ofile" ||
16852      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16853    chmod +x "$ofile"
16854  
# Line 16058 | Line 16863 | _ACEOF
16863   ac_clean_files=$ac_clean_files_save
16864  
16865   test $ac_write_fail = 0 ||
16866 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16866 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16867  
16868  
16869   # configure is writing to config.log, and then calls config.status.
# Line 16079 | Line 16884 | if test "$no_create" != yes; then
16884    exec 5>>config.log
16885    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16886    # would make configure fail if this is the last instruction.
16887 <  $ac_cs_success || as_fn_exit $?
16887 >  $ac_cs_success || as_fn_exit 1
16888   fi
16889   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16890    { $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 1092 by michael, Thu Mar 25 11:10:59 2010 UTC vs.
ircd-hybrid/trunk/configure (property svn:eol-style), Revision 1662 by michael, Sat Nov 17 20:11:33 2012 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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