"Fossies" - the Fresh Open Source Software Archive

Member "dbtool-1.9.1/autom4te.cache/output.3" (15 May 2015, 575754 Bytes) of package /linux/privat/dbtool-1.9.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 @%:@! /bin/sh
    2 @%:@ Guess values for system-dependent variables and create Makefiles.
    3 @%:@ Generated by GNU Autoconf 2.69 for dbtool 1.9.1
    4 .
    5 @%:@
    6 @%:@ Report bugs to <tlinden@cpan.org>.
    7 @%:@ 
    8 @%:@ 
    9 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
   10 @%:@ 
   11 @%:@ 
   12 @%:@ This configure script is free software; the Free Software Foundation
   13 @%:@ gives unlimited permission to copy, distribute and modify it.
   14 ## -------------------- ##
   15 ## M4sh Initialization. ##
   16 ## -------------------- ##
   17 
   18 # Be more Bourne compatible
   19 DUALCASE=1; export DUALCASE # for MKS sh
   20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   21   emulate sh
   22   NULLCMD=:
   23   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   24   # is contrary to our usage.  Disable this feature.
   25   alias -g '${1+"$@"}'='"$@"'
   26   setopt NO_GLOB_SUBST
   27 else
   28   case `(set -o) 2>/dev/null` in @%:@(
   29   *posix*) :
   30     set -o posix ;; @%:@(
   31   *) :
   32      ;;
   33 esac
   34 fi
   35 
   36 
   37 as_nl='
   38 '
   39 export as_nl
   40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   44 # Prefer a ksh shell builtin over an external printf program on Solaris,
   45 # but without wasting forks for bash or zsh.
   46 if test -z "$BASH_VERSION$ZSH_VERSION" \
   47     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   48   as_echo='print -r --'
   49   as_echo_n='print -rn --'
   50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   51   as_echo='printf %s\n'
   52   as_echo_n='printf %s'
   53 else
   54   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   55     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   56     as_echo_n='/usr/ucb/echo -n'
   57   else
   58     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   59     as_echo_n_body='eval
   60       arg=$1;
   61       case $arg in @%:@(
   62       *"$as_nl"*)
   63 	expr "X$arg" : "X\\(.*\\)$as_nl";
   64 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   65       esac;
   66       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   67     '
   68     export as_echo_n_body
   69     as_echo_n='sh -c $as_echo_n_body as_echo'
   70   fi
   71   export as_echo_body
   72   as_echo='sh -c $as_echo_body as_echo'
   73 fi
   74 
   75 # The user is always right.
   76 if test "${PATH_SEPARATOR+set}" != set; then
   77   PATH_SEPARATOR=:
   78   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   79     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   80       PATH_SEPARATOR=';'
   81   }
   82 fi
   83 
   84 
   85 # IFS
   86 # We need space, tab and new line, in precisely that order.  Quoting is
   87 # there to prevent editors from complaining about space-tab.
   88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   89 # splitting by setting IFS to empty value.)
   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
   97 for as_dir in $PATH
   98 do
   99   IFS=$as_save_IFS
  100   test -z "$as_dir" && as_dir=.
  101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  102   done
  103 IFS=$as_save_IFS
  104 
  105      ;;
  106 esac
  107 # We did not find ourselves, most probably we were run as `sh COMMAND'
  108 # in which case we are not to be found in the path.
  109 if test "x$as_myself" = x; then
  110   as_myself=$0
  111 fi
  112 if test ! -f "$as_myself"; then
  113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  114   exit 1
  115 fi
  116 
  117 # Unset variables that we do not need and which cause bugs (e.g. in
  118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  119 # suppresses any "Segmentation fault" message there.  '((' could
  120 # trigger a bug in pdksh 5.2.14.
  121 for as_var in BASH_ENV ENV MAIL MAILPATH
  122 do eval test x\${$as_var+set} = xset \
  123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  124 done
  125 PS1='$ '
  126 PS2='> '
  127 PS4='+ '
  128 
  129 # NLS nuisances.
  130 LC_ALL=C
  131 export LC_ALL
  132 LANGUAGE=C
  133 export LANGUAGE
  134 
  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
  166   NULLCMD=:
  167   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  168   # is contrary to our usage.  Disable this feature.
  169   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  170   setopt NO_GLOB_SUBST
  171 else
  172   case \`(set -o) 2>/dev/null\` in @%:@(
  173   *posix*) :
  174     set -o posix ;; @%:@(
  175   *) :
  176      ;;
  177 esac
  178 fi
  179 "
  180   as_required="as_fn_return () { (exit \$1); }
  181 as_fn_success () { as_fn_return 0; }
  182 as_fn_failure () { as_fn_return 1; }
  183 as_fn_ret_success () { return 0; }
  184 as_fn_ret_failure () { return 1; }
  185 
  186 exitcode=0
  187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  192   
  193 else
  194   exitcode=1; echo positional parameters were not saved.
  195 fi
  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
  213 else
  214   as_have_required=no
  215 fi
  216   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  217   
  218 else
  219   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  220 as_found=false
  221 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  222 do
  223   IFS=$as_save_IFS
  224   test -z "$as_dir" && as_dir=.
  225   as_found=:
  226   case $as_dir in @%:@(
  227 	 /*)
  228 	   for as_base in sh bash ksh sh5; do
  229 	     # Try only shells that exist, to save several forks.
  230 	     as_shell=$as_dir/$as_base
  231 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  232 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  233   CONFIG_SHELL=$as_shell as_have_required=yes
  234 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  235   break 2
  236 fi
  237 fi
  238 	   done;;
  239        esac
  240   as_found=false
  241 done
  242 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  243 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  244   CONFIG_SHELL=$SHELL as_have_required=yes
  245 fi; }
  246 IFS=$as_save_IFS
  247 
  248 
  249       if test "x$CONFIG_SHELL" != x; then :
  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 :
  272   $as_echo "$0: This script requires a shell more modern than all"
  273   $as_echo "$0: the shells that I found on your system."
  274   if test x${ZSH_VERSION+set} = xset ; then
  275     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  276     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  277   else
  278     $as_echo "$0: Please tell bug-autoconf@gnu.org and tlinden@cpan.org
  279 $0: about your system, including any error possibly output
  280 $0: before this message. Then install a modern shell, or
  281 $0: manually run the script under such a shell if you do
  282 $0: have one."
  283   fi
  284   exit 1
  285 fi
  286 fi
  287 fi
  288 SHELL=${CONFIG_SHELL-/bin/sh}
  289 export SHELL
  290 # Unset more variables known to interfere with behavior of common tools.
  291 CLICOLOR_FORCE= GREP_OPTIONS=
  292 unset CLICOLOR_FORCE GREP_OPTIONS
  293 
  294 ## --------------------- ##
  295 ## M4sh Shell Functions. ##
  296 ## --------------------- ##
  297 @%:@ as_fn_unset VAR
  298 @%:@ ---------------
  299 @%:@ Portably unset VAR.
  300 as_fn_unset ()
  301 {
  302   { eval $1=; unset $1;}
  303 }
  304 as_unset=as_fn_unset
  305 
  306 @%:@ as_fn_set_status STATUS
  307 @%:@ -----------------------
  308 @%:@ Set @S|@? to STATUS, without forking.
  309 as_fn_set_status ()
  310 {
  311   return $1
  312 } @%:@ as_fn_set_status
  313 
  314 @%:@ as_fn_exit STATUS
  315 @%:@ -----------------
  316 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  317 as_fn_exit ()
  318 {
  319   set +e
  320   as_fn_set_status $1
  321   exit $1
  322 } @%:@ as_fn_exit
  323 
  324 @%:@ as_fn_mkdir_p
  325 @%:@ -------------
  326 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  327 as_fn_mkdir_p ()
  328 {
  329 
  330   case $as_dir in #(
  331   -*) as_dir=./$as_dir;;
  332   esac
  333   test -d "$as_dir" || eval $as_mkdir_p || {
  334     as_dirs=
  335     while :; do
  336       case $as_dir in #(
  337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  338       *) as_qdir=$as_dir;;
  339       esac
  340       as_dirs="'$as_qdir' $as_dirs"
  341       as_dir=`$as_dirname -- "$as_dir" ||
  342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  344 	 X"$as_dir" : 'X\(//\)$' \| \
  345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  346 $as_echo X"$as_dir" |
  347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  348 	    s//\1/
  349 	    q
  350 	  }
  351 	  /^X\(\/\/\)[^/].*/{
  352 	    s//\1/
  353 	    q
  354 	  }
  355 	  /^X\(\/\/\)$/{
  356 	    s//\1/
  357 	    q
  358 	  }
  359 	  /^X\(\/\).*/{
  360 	    s//\1/
  361 	    q
  362 	  }
  363 	  s/.*/./; q'`
  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"
  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
  382 @%:@ advantage of any shell optimizations that allow amortized linear growth over
  383 @%:@ repeated appends, instead of the typical quadratic growth present in naive
  384 @%:@ implementations.
  385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  386   eval 'as_fn_append ()
  387   {
  388     eval $1+=\$2
  389   }'
  390 else
  391   as_fn_append ()
  392   {
  393     eval $1=\$$1\$2
  394   }
  395 fi # as_fn_append
  396 
  397 @%:@ as_fn_arith ARG...
  398 @%:@ ------------------
  399 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  400 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  401 @%:@ must be portable across @S|@(()) and expr.
  402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  403   eval 'as_fn_arith ()
  404   {
  405     as_val=$(( $* ))
  406   }'
  407 else
  408   as_fn_arith ()
  409   {
  410     as_val=`expr "$@" || test $? -eq 1`
  411   }
  412 fi # as_fn_arith
  413 
  414 
  415 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  416 @%:@ ----------------------------------------
  417 @%:@ Output "`basename @S|@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.
  420 as_fn_error ()
  421 {
  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: $2" >&2
  428   as_fn_exit $as_status
  429 } @%:@ as_fn_error
  430 
  431 if expr a : '\(a\)' >/dev/null 2>&1 &&
  432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  433   as_expr=expr
  434 else
  435   as_expr=false
  436 fi
  437 
  438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  439   as_basename=basename
  440 else
  441   as_basename=false
  442 fi
  443 
  444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  445   as_dirname=dirname
  446 else
  447   as_dirname=false
  448 fi
  449 
  450 as_me=`$as_basename -- "$0" ||
  451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  452 	 X"$0" : 'X\(//\)$' \| \
  453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  454 $as_echo X/"$0" |
  455     sed '/^.*\/\([^/][^/]*\)\/*$/{
  456 	    s//\1/
  457 	    q
  458 	  }
  459 	  /^X\/\(\/\/\)$/{
  460 	    s//\1/
  461 	    q
  462 	  }
  463 	  /^X\/\(\/\).*/{
  464 	    s//\1/
  465 	    q
  466 	  }
  467 	  s/.*/./; q'`
  468 
  469 # Avoid depending upon Character Ranges.
  470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  473 as_cr_digits='0123456789'
  474 as_cr_alnum=$as_cr_Letters$as_cr_digits
  475 
  476 
  477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  482   sed -n '
  483     p
  484     /[$]LINENO/=
  485   ' <$as_myself |
  486     sed '
  487       s/[$]LINENO.*/&-/
  488       t lineno
  489       b
  490       :lineno
  491       N
  492       :loop
  493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  494       t loop
  495       s/-\n.*//
  496     ' >$as_me.lineno &&
  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).
  507   . "./$as_me.lineno"
  508   # Exit status is that of the last command.
  509   exit
  510 }
  511 
  512 ECHO_C= ECHO_N= ECHO_T=
  513 case `echo -n x` in @%:@(((((
  514 -n*)
  515   case `echo 'xy\c'` in
  516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  517   xy)  ECHO_C='\c';;
  518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  519        ECHO_T='	';;
  520   esac;;
  521 *)
  522   ECHO_N='-n';;
  523 esac
  524 
  525 rm -f conf$$ conf$$.exe conf$$.file
  526 if test -d conf$$.dir; then
  527   rm -f conf$$.dir/conf$$.file
  528 else
  529   rm -f conf$$.dir
  530   mkdir conf$$.dir 2>/dev/null
  531 fi
  532 if (echo >conf$$.file) 2>/dev/null; then
  533   if ln -s conf$$.file conf$$ 2>/dev/null; then
  534     as_ln_s='ln -s'
  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 -pR'.
  539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  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 -pR'
  545   fi
  546 else
  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
  551 
  552 if mkdir -p . 2>/dev/null; then
  553   as_mkdir_p='mkdir -p "$as_dir"'
  554 else
  555   test -d ./-p && rmdir ./-p
  556   as_mkdir_p=false
  557 fi
  558 
  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'"
  564 
  565 # Sed expression to map a string onto a valid variable name.
  566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  567 
  568 SHELL=${CONFIG_SHELL-/bin/sh}
  569 
  570 
  571 test -n "$DJDIR" || exec 7<&0 </dev/null
  572 exec 6>&1
  573 
  574 # Name of the host.
  575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  576 # so uname gets run too.
  577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  578 
  579 #
  580 # Initializations.
  581 #
  582 ac_default_prefix=/usr/local
  583 ac_clean_files=
  584 ac_config_libobj_dir=.
  585 LIB@&t@OBJS=
  586 cross_compiling=no
  587 subdirs=
  588 MFLAGS=
  589 MAKEFLAGS=
  590 
  591 # Identity of this package.
  592 PACKAGE_NAME='dbtool'
  593 PACKAGE_TARNAME='dbtool'
  594 PACKAGE_VERSION='1.9.1
  595 '
  596 PACKAGE_STRING='dbtool 1.9.1
  597 '
  598 PACKAGE_BUGREPORT='tlinden@cpan.org'
  599 PACKAGE_URL=''
  600 
  601 # Factoring default headers for most tests.
  602 ac_includes_default="\
  603 #include <stdio.h>
  604 #ifdef HAVE_SYS_TYPES_H
  605 # include <sys/types.h>
  606 #endif
  607 #ifdef HAVE_SYS_STAT_H
  608 # include <sys/stat.h>
  609 #endif
  610 #ifdef STDC_HEADERS
  611 # include <stdlib.h>
  612 # include <stddef.h>
  613 #else
  614 # ifdef HAVE_STDLIB_H
  615 #  include <stdlib.h>
  616 # endif
  617 #endif
  618 #ifdef HAVE_STRING_H
  619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  620 #  include <memory.h>
  621 # endif
  622 # include <string.h>
  623 #endif
  624 #ifdef HAVE_STRINGS_H
  625 # include <strings.h>
  626 #endif
  627 #ifdef HAVE_INTTYPES_H
  628 # include <inttypes.h>
  629 #endif
  630 #ifdef HAVE_STDINT_H
  631 # include <stdint.h>
  632 #endif
  633 #ifdef HAVE_UNISTD_H
  634 # include <unistd.h>
  635 #endif"
  636 
  637 ac_default_prefix=/usr/local
  638 ac_subst_vars='am__EXEEXT_FALSE
  639 am__EXEEXT_TRUE
  640 LTLIBOBJS
  641 LIB@&t@OBJS
  642 DB_CXX_CPPFLAGS
  643 DB_CXX_LDFLAGS
  644 DB_CXX_LIBS
  645 GDBM_CXXFLAGS
  646 GDBM_LIBS
  647 GDBM_CFLAGS
  648 PKG_CONFIG_LIBDIR
  649 PKG_CONFIG_PATH
  650 PKG_CONFIG
  651 CXXCPP
  652 am__fastdepCXX_FALSE
  653 am__fastdepCXX_TRUE
  654 CXXDEPMODE
  655 ac_ct_CXX
  656 CXXFLAGS
  657 CXX
  658 CPP
  659 OTOOL64
  660 OTOOL
  661 LIPO
  662 NMEDIT
  663 DSYMUTIL
  664 MANIFEST_TOOL
  665 RANLIB
  666 ac_ct_AR
  667 AR
  668 DLLTOOL
  669 OBJDUMP
  670 LN_S
  671 NM
  672 ac_ct_DUMPBIN
  673 DUMPBIN
  674 LD
  675 FGREP
  676 EGREP
  677 GREP
  678 SED
  679 am__fastdepCC_FALSE
  680 am__fastdepCC_TRUE
  681 CCDEPMODE
  682 am__nodep
  683 AMDEPBACKSLASH
  684 AMDEP_FALSE
  685 AMDEP_TRUE
  686 am__quote
  687 am__include
  688 DEPDIR
  689 OBJEXT
  690 EXEEXT
  691 ac_ct_CC
  692 CPPFLAGS
  693 LDFLAGS
  694 CFLAGS
  695 CC
  696 host_os
  697 host_vendor
  698 host_cpu
  699 host
  700 build_os
  701 build_vendor
  702 build_cpu
  703 build
  704 LIBTOOL
  705 am__untar
  706 am__tar
  707 AMTAR
  708 am__leading_dot
  709 SET_MAKE
  710 AWK
  711 mkdir_p
  712 MKDIR_P
  713 INSTALL_STRIP_PROGRAM
  714 STRIP
  715 install_sh
  716 MAKEINFO
  717 AUTOHEADER
  718 AUTOMAKE
  719 AUTOCONF
  720 ACLOCAL
  721 VERSION
  722 PACKAGE
  723 CYGPATH_W
  724 am__isrc
  725 INSTALL_DATA
  726 INSTALL_SCRIPT
  727 INSTALL_PROGRAM
  728 target_alias
  729 host_alias
  730 build_alias
  731 LIBS
  732 ECHO_T
  733 ECHO_N
  734 ECHO_C
  735 DEFS
  736 mandir
  737 localedir
  738 libdir
  739 psdir
  740 pdfdir
  741 dvidir
  742 htmldir
  743 infodir
  744 docdir
  745 oldincludedir
  746 includedir
  747 localstatedir
  748 sharedstatedir
  749 sysconfdir
  750 datadir
  751 datarootdir
  752 libexecdir
  753 sbindir
  754 bindir
  755 program_transform_name
  756 prefix
  757 exec_prefix
  758 PACKAGE_URL
  759 PACKAGE_BUGREPORT
  760 PACKAGE_STRING
  761 PACKAGE_VERSION
  762 PACKAGE_TARNAME
  763 PACKAGE_NAME
  764 PATH_SEPARATOR
  765 SHELL'
  766 ac_subst_files=''
  767 ac_user_opts='
  768 enable_option_checking
  769 enable_shared
  770 enable_static
  771 with_pic
  772 enable_fast_install
  773 enable_dependency_tracking
  774 with_gnu_ld
  775 with_sysroot
  776 enable_libtool_lock
  777 enable_static_binary
  778 enable_debug
  779 with_berkeley
  780 with_gdbm
  781 with_gdbm_dir
  782 with_pcre_dir
  783 with_bdb_include_dir
  784 with_bdb_lib_dir
  785 with_libdb
  786 '
  787       ac_precious_vars='build_alias
  788 host_alias
  789 target_alias
  790 CC
  791 CFLAGS
  792 LDFLAGS
  793 LIBS
  794 CPPFLAGS
  795 CPP
  796 CXX
  797 CXXFLAGS
  798 CCC
  799 CXXCPP
  800 PKG_CONFIG
  801 PKG_CONFIG_PATH
  802 PKG_CONFIG_LIBDIR
  803 GDBM_CFLAGS
  804 GDBM_LIBS'
  805 
  806 
  807 # Initialize some variables set by options.
  808 ac_init_help=
  809 ac_init_version=false
  810 ac_unrecognized_opts=
  811 ac_unrecognized_sep=
  812 # The variables have the same names as the options, with
  813 # dashes changed to underlines.
  814 cache_file=/dev/null
  815 exec_prefix=NONE
  816 no_create=
  817 no_recursion=
  818 prefix=NONE
  819 program_prefix=NONE
  820 program_suffix=NONE
  821 program_transform_name=s,x,x,
  822 silent=
  823 site=
  824 srcdir=
  825 verbose=
  826 x_includes=NONE
  827 x_libraries=NONE
  828 
  829 # Installation directory options.
  830 # These are left unexpanded so users can "make install exec_prefix=/foo"
  831 # and all the variables that are supposed to be based on exec_prefix
  832 # by default will actually change.
  833 # Use braces instead of parens because sh, perl, etc. also accept them.
  834 # (The list follows the same order as the GNU Coding Standards.)
  835 bindir='${exec_prefix}/bin'
  836 sbindir='${exec_prefix}/sbin'
  837 libexecdir='${exec_prefix}/libexec'
  838 datarootdir='${prefix}/share'
  839 datadir='${datarootdir}'
  840 sysconfdir='${prefix}/etc'
  841 sharedstatedir='${prefix}/com'
  842 localstatedir='${prefix}/var'
  843 includedir='${prefix}/include'
  844 oldincludedir='/usr/include'
  845 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  846 infodir='${datarootdir}/info'
  847 htmldir='${docdir}'
  848 dvidir='${docdir}'
  849 pdfdir='${docdir}'
  850 psdir='${docdir}'
  851 libdir='${exec_prefix}/lib'
  852 localedir='${datarootdir}/locale'
  853 mandir='${datarootdir}/man'
  854 
  855 ac_prev=
  856 ac_dashdash=
  857 for ac_option
  858 do
  859   # If the previous option needs an argument, assign it.
  860   if test -n "$ac_prev"; then
  861     eval $ac_prev=\$ac_option
  862     ac_prev=
  863     continue
  864   fi
  865 
  866   case $ac_option in
  867   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  868   *=)   ac_optarg= ;;
  869   *)    ac_optarg=yes ;;
  870   esac
  871 
  872   # Accept the important Cygnus configure options, so we can diagnose typos.
  873 
  874   case $ac_dashdash$ac_option in
  875   --)
  876     ac_dashdash=yes ;;
  877 
  878   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  879     ac_prev=bindir ;;
  880   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  881     bindir=$ac_optarg ;;
  882 
  883   -build | --build | --buil | --bui | --bu)
  884     ac_prev=build_alias ;;
  885   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  886     build_alias=$ac_optarg ;;
  887 
  888   -cache-file | --cache-file | --cache-fil | --cache-fi \
  889   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  890     ac_prev=cache_file ;;
  891   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  892   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  893     cache_file=$ac_optarg ;;
  894 
  895   --config-cache | -C)
  896     cache_file=config.cache ;;
  897 
  898   -datadir | --datadir | --datadi | --datad)
  899     ac_prev=datadir ;;
  900   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  901     datadir=$ac_optarg ;;
  902 
  903   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  904   | --dataroo | --dataro | --datar)
  905     ac_prev=datarootdir ;;
  906   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  907   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  908     datarootdir=$ac_optarg ;;
  909 
  910   -disable-* | --disable-*)
  911     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  912     # Reject names that are not valid shell variable names.
  913     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  914       as_fn_error $? "invalid feature name: $ac_useropt"
  915     ac_useropt_orig=$ac_useropt
  916     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  917     case $ac_user_opts in
  918       *"
  919 "enable_$ac_useropt"
  920 "*) ;;
  921       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  922 	 ac_unrecognized_sep=', ';;
  923     esac
  924     eval enable_$ac_useropt=no ;;
  925 
  926   -docdir | --docdir | --docdi | --doc | --do)
  927     ac_prev=docdir ;;
  928   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  929     docdir=$ac_optarg ;;
  930 
  931   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  932     ac_prev=dvidir ;;
  933   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  934     dvidir=$ac_optarg ;;
  935 
  936   -enable-* | --enable-*)
  937     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  938     # Reject names that are not valid shell variable names.
  939     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  940       as_fn_error $? "invalid feature name: $ac_useropt"
  941     ac_useropt_orig=$ac_useropt
  942     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  943     case $ac_user_opts in
  944       *"
  945 "enable_$ac_useropt"
  946 "*) ;;
  947       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  948 	 ac_unrecognized_sep=', ';;
  949     esac
  950     eval enable_$ac_useropt=\$ac_optarg ;;
  951 
  952   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  953   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  954   | --exec | --exe | --ex)
  955     ac_prev=exec_prefix ;;
  956   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  957   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  958   | --exec=* | --exe=* | --ex=*)
  959     exec_prefix=$ac_optarg ;;
  960 
  961   -gas | --gas | --ga | --g)
  962     # Obsolete; use --with-gas.
  963     with_gas=yes ;;
  964 
  965   -help | --help | --hel | --he | -h)
  966     ac_init_help=long ;;
  967   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  968     ac_init_help=recursive ;;
  969   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  970     ac_init_help=short ;;
  971 
  972   -host | --host | --hos | --ho)
  973     ac_prev=host_alias ;;
  974   -host=* | --host=* | --hos=* | --ho=*)
  975     host_alias=$ac_optarg ;;
  976 
  977   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  978     ac_prev=htmldir ;;
  979   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  980   | --ht=*)
  981     htmldir=$ac_optarg ;;
  982 
  983   -includedir | --includedir | --includedi | --included | --include \
  984   | --includ | --inclu | --incl | --inc)
  985     ac_prev=includedir ;;
  986   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  987   | --includ=* | --inclu=* | --incl=* | --inc=*)
  988     includedir=$ac_optarg ;;
  989 
  990   -infodir | --infodir | --infodi | --infod | --info | --inf)
  991     ac_prev=infodir ;;
  992   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  993     infodir=$ac_optarg ;;
  994 
  995   -libdir | --libdir | --libdi | --libd)
  996     ac_prev=libdir ;;
  997   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  998     libdir=$ac_optarg ;;
  999 
 1000   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1001   | --libexe | --libex | --libe)
 1002     ac_prev=libexecdir ;;
 1003   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1004   | --libexe=* | --libex=* | --libe=*)
 1005     libexecdir=$ac_optarg ;;
 1006 
 1007   -localedir | --localedir | --localedi | --localed | --locale)
 1008     ac_prev=localedir ;;
 1009   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1010     localedir=$ac_optarg ;;
 1011 
 1012   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1013   | --localstate | --localstat | --localsta | --localst | --locals)
 1014     ac_prev=localstatedir ;;
 1015   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1016   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1017     localstatedir=$ac_optarg ;;
 1018 
 1019   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1020     ac_prev=mandir ;;
 1021   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1022     mandir=$ac_optarg ;;
 1023 
 1024   -nfp | --nfp | --nf)
 1025     # Obsolete; use --without-fp.
 1026     with_fp=no ;;
 1027 
 1028   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1029   | --no-cr | --no-c | -n)
 1030     no_create=yes ;;
 1031 
 1032   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1033   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1034     no_recursion=yes ;;
 1035 
 1036   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1037   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1038   | --oldin | --oldi | --old | --ol | --o)
 1039     ac_prev=oldincludedir ;;
 1040   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1041   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1042   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1043     oldincludedir=$ac_optarg ;;
 1044 
 1045   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1046     ac_prev=prefix ;;
 1047   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1048     prefix=$ac_optarg ;;
 1049 
 1050   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1051   | --program-pre | --program-pr | --program-p)
 1052     ac_prev=program_prefix ;;
 1053   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1054   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1055     program_prefix=$ac_optarg ;;
 1056 
 1057   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1058   | --program-suf | --program-su | --program-s)
 1059     ac_prev=program_suffix ;;
 1060   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1061   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1062     program_suffix=$ac_optarg ;;
 1063 
 1064   -program-transform-name | --program-transform-name \
 1065   | --program-transform-nam | --program-transform-na \
 1066   | --program-transform-n | --program-transform- \
 1067   | --program-transform | --program-transfor \
 1068   | --program-transfo | --program-transf \
 1069   | --program-trans | --program-tran \
 1070   | --progr-tra | --program-tr | --program-t)
 1071     ac_prev=program_transform_name ;;
 1072   -program-transform-name=* | --program-transform-name=* \
 1073   | --program-transform-nam=* | --program-transform-na=* \
 1074   | --program-transform-n=* | --program-transform-=* \
 1075   | --program-transform=* | --program-transfor=* \
 1076   | --program-transfo=* | --program-transf=* \
 1077   | --program-trans=* | --program-tran=* \
 1078   | --progr-tra=* | --program-tr=* | --program-t=*)
 1079     program_transform_name=$ac_optarg ;;
 1080 
 1081   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1082     ac_prev=pdfdir ;;
 1083   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1084     pdfdir=$ac_optarg ;;
 1085 
 1086   -psdir | --psdir | --psdi | --psd | --ps)
 1087     ac_prev=psdir ;;
 1088   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1089     psdir=$ac_optarg ;;
 1090 
 1091   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1092   | -silent | --silent | --silen | --sile | --sil)
 1093     silent=yes ;;
 1094 
 1095   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1096     ac_prev=sbindir ;;
 1097   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1098   | --sbi=* | --sb=*)
 1099     sbindir=$ac_optarg ;;
 1100 
 1101   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1102   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1103   | --sharedst | --shareds | --shared | --share | --shar \
 1104   | --sha | --sh)
 1105     ac_prev=sharedstatedir ;;
 1106   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1107   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1108   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1109   | --sha=* | --sh=*)
 1110     sharedstatedir=$ac_optarg ;;
 1111 
 1112   -site | --site | --sit)
 1113     ac_prev=site ;;
 1114   -site=* | --site=* | --sit=*)
 1115     site=$ac_optarg ;;
 1116 
 1117   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1118     ac_prev=srcdir ;;
 1119   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1120     srcdir=$ac_optarg ;;
 1121 
 1122   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1123   | --syscon | --sysco | --sysc | --sys | --sy)
 1124     ac_prev=sysconfdir ;;
 1125   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1126   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1127     sysconfdir=$ac_optarg ;;
 1128 
 1129   -target | --target | --targe | --targ | --tar | --ta | --t)
 1130     ac_prev=target_alias ;;
 1131   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1132     target_alias=$ac_optarg ;;
 1133 
 1134   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1135     verbose=yes ;;
 1136 
 1137   -version | --version | --versio | --versi | --vers | -V)
 1138     ac_init_version=: ;;
 1139 
 1140   -with-* | --with-*)
 1141     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1142     # Reject names that are not valid shell variable names.
 1143     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1144       as_fn_error $? "invalid package name: $ac_useropt"
 1145     ac_useropt_orig=$ac_useropt
 1146     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1147     case $ac_user_opts in
 1148       *"
 1149 "with_$ac_useropt"
 1150 "*) ;;
 1151       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1152 	 ac_unrecognized_sep=', ';;
 1153     esac
 1154     eval with_$ac_useropt=\$ac_optarg ;;
 1155 
 1156   -without-* | --without-*)
 1157     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1158     # Reject names that are not valid shell variable names.
 1159     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1160       as_fn_error $? "invalid package name: $ac_useropt"
 1161     ac_useropt_orig=$ac_useropt
 1162     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1163     case $ac_user_opts in
 1164       *"
 1165 "with_$ac_useropt"
 1166 "*) ;;
 1167       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1168 	 ac_unrecognized_sep=', ';;
 1169     esac
 1170     eval with_$ac_useropt=no ;;
 1171 
 1172   --x)
 1173     # Obsolete; use --with-x.
 1174     with_x=yes ;;
 1175 
 1176   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1177   | --x-incl | --x-inc | --x-in | --x-i)
 1178     ac_prev=x_includes ;;
 1179   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1180   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1181     x_includes=$ac_optarg ;;
 1182 
 1183   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1184   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1185     ac_prev=x_libraries ;;
 1186   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1187   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1188     x_libraries=$ac_optarg ;;
 1189 
 1190   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1191 Try \`$0 --help' for more information"
 1192     ;;
 1193 
 1194   *=*)
 1195     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1196     # Reject names that are not valid shell variable names.
 1197     case $ac_envvar in #(
 1198       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1199       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1200     esac
 1201     eval $ac_envvar=\$ac_optarg
 1202     export $ac_envvar ;;
 1203 
 1204   *)
 1205     # FIXME: should be removed in autoconf 3.0.
 1206     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1207     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1208       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1209     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1210     ;;
 1211 
 1212   esac
 1213 done
 1214 
 1215 if test -n "$ac_prev"; then
 1216   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1217   as_fn_error $? "missing argument to $ac_option"
 1218 fi
 1219 
 1220 if test -n "$ac_unrecognized_opts"; then
 1221   case $enable_option_checking in
 1222     no) ;;
 1223     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1224     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1225   esac
 1226 fi
 1227 
 1228 # Check all directory arguments for consistency.
 1229 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1230 		datadir sysconfdir sharedstatedir localstatedir includedir \
 1231 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1232 		libdir localedir mandir
 1233 do
 1234   eval ac_val=\$$ac_var
 1235   # Remove trailing slashes.
 1236   case $ac_val in
 1237     */ )
 1238       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1239       eval $ac_var=\$ac_val;;
 1240   esac
 1241   # Be sure to have absolute directory names.
 1242   case $ac_val in
 1243     [\\/$]* | ?:[\\/]* )  continue;;
 1244     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1245   esac
 1246   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1247 done
 1248 
 1249 # There might be people who depend on the old broken behavior: `$host'
 1250 # used to hold the argument of --host etc.
 1251 # FIXME: To remove some day.
 1252 build=$build_alias
 1253 host=$host_alias
 1254 target=$target_alias
 1255 
 1256 # FIXME: To remove some day.
 1257 if test "x$host_alias" != x; then
 1258   if test "x$build_alias" = x; then
 1259     cross_compiling=maybe
 1260   elif test "x$build_alias" != "x$host_alias"; then
 1261     cross_compiling=yes
 1262   fi
 1263 fi
 1264 
 1265 ac_tool_prefix=
 1266 test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1267 
 1268 test "$silent" = yes && exec 6>/dev/null
 1269 
 1270 
 1271 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1272 ac_ls_di=`ls -di .` &&
 1273 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1274   as_fn_error $? "working directory cannot be determined"
 1275 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1276   as_fn_error $? "pwd does not report name of working directory"
 1277 
 1278 
 1279 # Find the source files, if location was not specified.
 1280 if test -z "$srcdir"; then
 1281   ac_srcdir_defaulted=yes
 1282   # Try the directory containing this script, then the parent directory.
 1283   ac_confdir=`$as_dirname -- "$as_myself" ||
 1284 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1285 	 X"$as_myself" : 'X\(//\)[^/]' \| \
 1286 	 X"$as_myself" : 'X\(//\)$' \| \
 1287 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1288 $as_echo X"$as_myself" |
 1289     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1290 	    s//\1/
 1291 	    q
 1292 	  }
 1293 	  /^X\(\/\/\)[^/].*/{
 1294 	    s//\1/
 1295 	    q
 1296 	  }
 1297 	  /^X\(\/\/\)$/{
 1298 	    s//\1/
 1299 	    q
 1300 	  }
 1301 	  /^X\(\/\).*/{
 1302 	    s//\1/
 1303 	    q
 1304 	  }
 1305 	  s/.*/./; q'`
 1306   srcdir=$ac_confdir
 1307   if test ! -r "$srcdir/$ac_unique_file"; then
 1308     srcdir=..
 1309   fi
 1310 else
 1311   ac_srcdir_defaulted=no
 1312 fi
 1313 if test ! -r "$srcdir/$ac_unique_file"; then
 1314   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1315   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1316 fi
 1317 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1318 ac_abs_confdir=`(
 1319 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1320 	pwd)`
 1321 # When building in place, set srcdir=.
 1322 if test "$ac_abs_confdir" = "$ac_pwd"; then
 1323   srcdir=.
 1324 fi
 1325 # Remove unnecessary trailing slashes from srcdir.
 1326 # Double slashes in file names in object file debugging info
 1327 # mess up M-x gdb in Emacs.
 1328 case $srcdir in
 1329 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1330 esac
 1331 for ac_var in $ac_precious_vars; do
 1332   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1333   eval ac_env_${ac_var}_value=\$${ac_var}
 1334   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1335   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1336 done
 1337 
 1338 #
 1339 # Report the --help message.
 1340 #
 1341 if test "$ac_init_help" = "long"; then
 1342   # Omit some internal or obsolete options to make the list less imposing.
 1343   # This message is too long to be a string in the A/UX 3.1 sh.
 1344   cat <<_ACEOF
 1345 \`configure' configures dbtool 1.9.1
 1346  to adapt to many kinds of systems.
 1347 
 1348 Usage: $0 [OPTION]... [VAR=VALUE]...
 1349 
 1350 To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1351 VAR=VALUE.  See below for descriptions of some of the useful variables.
 1352 
 1353 Defaults for the options are specified in brackets.
 1354 
 1355 Configuration:
 1356   -h, --help              display this help and exit
 1357       --help=short        display options specific to this package
 1358       --help=recursive    display the short help of all the included packages
 1359   -V, --version           display version information and exit
 1360   -q, --quiet, --silent   do not print \`checking ...' messages
 1361       --cache-file=FILE   cache test results in FILE [disabled]
 1362   -C, --config-cache      alias for \`--cache-file=config.cache'
 1363   -n, --no-create         do not create output files
 1364       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1365 
 1366 Installation directories:
 1367   --prefix=PREFIX         install architecture-independent files in PREFIX
 1368                           @<:@@S|@ac_default_prefix@:>@
 1369   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1370                           @<:@PREFIX@:>@
 1371 
 1372 By default, \`make install' will install all the files in
 1373 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1374 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1375 for instance \`--prefix=\$HOME'.
 1376 
 1377 For better control, use the options below.
 1378 
 1379 Fine tuning of the installation directories:
 1380   --bindir=DIR            user executables [EPREFIX/bin]
 1381   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1382   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1383   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1384   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1385   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1386   --libdir=DIR            object code libraries [EPREFIX/lib]
 1387   --includedir=DIR        C header files [PREFIX/include]
 1388   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1389   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1390   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1391   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1392   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1393   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1394   --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/dbtool@:>@
 1395   --htmldir=DIR           html documentation [DOCDIR]
 1396   --dvidir=DIR            dvi documentation [DOCDIR]
 1397   --pdfdir=DIR            pdf documentation [DOCDIR]
 1398   --psdir=DIR             ps documentation [DOCDIR]
 1399 _ACEOF
 1400 
 1401   cat <<\_ACEOF
 1402 
 1403 Program names:
 1404   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1405   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1406   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1407 
 1408 System types:
 1409   --build=BUILD     configure for building on BUILD [guessed]
 1410   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1411 _ACEOF
 1412 fi
 1413 
 1414 if test -n "$ac_init_help"; then
 1415   case $ac_init_help in
 1416      short | recursive ) echo "Configuration of dbtool 1.9.1
 1417 :";;
 1418    esac
 1419   cat <<\_ACEOF
 1420 
 1421 Optional Features:
 1422   --disable-option-checking  ignore unrecognized --enable/--with options
 1423   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1424   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1425   --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
 1426   --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
 1427   --enable-fast-install@<:@=PKGS@:>@ 
 1428                           optimize for fast installation @<:@default=yes@:>@
 1429   --enable-dependency-tracking 
 1430                           do not reject slow dependency extractors
 1431   --disable-dependency-tracking 
 1432                           speeds up one-time build
 1433   --disable-libtool-lock  avoid locking (might break parallel builds)
 1434   --enable-static-binary  create a statically linked binary
 1435   --disable-debug         Disable debugging
 1436 
 1437 Optional Packages:
 1438   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1439   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1440   --with-pic@<:@=PKGS@:>@       try to use only PIC/non-PIC objects @<:@default=use
 1441                           both@:>@
 1442   --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
 1443   --with-sysroot=DIR Search for dependent libraries within DIR
 1444                         (or the compiler's sysroot if not specified).
 1445   --with-berkeley         Use berkeley library
 1446   --with-gdbm             Use GNU gdbm library
 1447   --with-gdbm-dir=DIR     Use GNU gdbm library in DIR
 1448   --with-pcre-dir=DIR     Use GNU pcre library in DIR
 1449   --with-bdb-include-dir  Specify bdb include prefix
 1450   --with-bdb-lib-dir      Specify bdb library prefix
 1451   --with-libdb=DIR        root of the Berkeley DB directory
 1452 
 1453 Some influential environment variables:
 1454   CC          C compiler command
 1455   CFLAGS      C compiler flags
 1456   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1457               nonstandard directory <lib dir>
 1458   LIBS        libraries to pass to the linker, e.g. -l<library>
 1459   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1460               you have headers in a nonstandard directory <include dir>
 1461   CPP         C preprocessor
 1462   CXX         C++ compiler command
 1463   CXXFLAGS    C++ compiler flags
 1464   CXXCPP      C++ preprocessor
 1465   PKG_CONFIG  path to pkg-config utility
 1466   PKG_CONFIG_PATH 
 1467               directories to add to pkg-config's search path
 1468   PKG_CONFIG_LIBDIR 
 1469               path overriding pkg-config's built-in search path
 1470   GDBM_CFLAGS C compiler flags for GDBM, overriding pkg-config
 1471   GDBM_LIBS   linker flags for GDBM, overriding pkg-config
 1472 
 1473 Use these variables to override the choices made by `configure' or to help
 1474 it to find libraries and programs with nonstandard names/locations.
 1475 
 1476 Report bugs to <tlinden@cpan.org>.
 1477 _ACEOF
 1478 ac_status=$?
 1479 fi
 1480 
 1481 if test "$ac_init_help" = "recursive"; then
 1482   # If there are subdirs, report their specific --help.
 1483   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1484     test -d "$ac_dir" ||
 1485       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1486       continue
 1487     ac_builddir=.
 1488 
 1489 case "$ac_dir" in
 1490 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1491 *)
 1492   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1493   # A ".." for each directory in $ac_dir_suffix.
 1494   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1495   case $ac_top_builddir_sub in
 1496   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1497   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1498   esac ;;
 1499 esac
 1500 ac_abs_top_builddir=$ac_pwd
 1501 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1502 # for backward compatibility:
 1503 ac_top_builddir=$ac_top_build_prefix
 1504 
 1505 case $srcdir in
 1506   .)  # We are building in place.
 1507     ac_srcdir=.
 1508     ac_top_srcdir=$ac_top_builddir_sub
 1509     ac_abs_top_srcdir=$ac_pwd ;;
 1510   [\\/]* | ?:[\\/]* )  # Absolute name.
 1511     ac_srcdir=$srcdir$ac_dir_suffix;
 1512     ac_top_srcdir=$srcdir
 1513     ac_abs_top_srcdir=$srcdir ;;
 1514   *) # Relative name.
 1515     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1516     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1517     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1518 esac
 1519 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1520 
 1521     cd "$ac_dir" || { ac_status=$?; continue; }
 1522     # Check for guested configure.
 1523     if test -f "$ac_srcdir/configure.gnu"; then
 1524       echo &&
 1525       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1526     elif test -f "$ac_srcdir/configure"; then
 1527       echo &&
 1528       $SHELL "$ac_srcdir/configure" --help=recursive
 1529     else
 1530       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1531     fi || ac_status=$?
 1532     cd "$ac_pwd" || { ac_status=$?; break; }
 1533   done
 1534 fi
 1535 
 1536 test -n "$ac_init_help" && exit $ac_status
 1537 if $ac_init_version; then
 1538   cat <<\_ACEOF
 1539 dbtool configure 1.9.1
 1540 
 1541 generated by GNU Autoconf 2.69
 1542 
 1543 Copyright (C) 2012 Free Software Foundation, Inc.
 1544 This configure script is free software; the Free Software Foundation
 1545 gives unlimited permission to copy, distribute and modify it.
 1546 _ACEOF
 1547   exit
 1548 fi
 1549 
 1550 ## ------------------------ ##
 1551 ## Autoconf initialization. ##
 1552 ## ------------------------ ##
 1553 
 1554 @%:@ ac_fn_c_try_compile LINENO
 1555 @%:@ --------------------------
 1556 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
 1557 ac_fn_c_try_compile ()
 1558 {
 1559   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1560   rm -f conftest.$ac_objext
 1561   if { { ac_try="$ac_compile"
 1562 case "(($ac_try" in
 1563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1564   *) ac_try_echo=$ac_try;;
 1565 esac
 1566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1567 $as_echo "$ac_try_echo"; } >&5
 1568   (eval "$ac_compile") 2>conftest.err
 1569   ac_status=$?
 1570   if test -s conftest.err; then
 1571     grep -v '^ *+' conftest.err >conftest.er1
 1572     cat conftest.er1 >&5
 1573     mv -f conftest.er1 conftest.err
 1574   fi
 1575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1576   test $ac_status = 0; } && {
 1577 	 test -z "$ac_c_werror_flag" ||
 1578 	 test ! -s conftest.err
 1579        } && test -s conftest.$ac_objext; then :
 1580   ac_retval=0
 1581 else
 1582   $as_echo "$as_me: failed program was:" >&5
 1583 sed 's/^/| /' conftest.$ac_ext >&5
 1584 
 1585 	ac_retval=1
 1586 fi
 1587   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1588   as_fn_set_status $ac_retval
 1589 
 1590 } @%:@ ac_fn_c_try_compile
 1591 
 1592 @%:@ ac_fn_c_try_link LINENO
 1593 @%:@ -----------------------
 1594 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
 1595 ac_fn_c_try_link ()
 1596 {
 1597   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1598   rm -f conftest.$ac_objext conftest$ac_exeext
 1599   if { { ac_try="$ac_link"
 1600 case "(($ac_try" in
 1601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1602   *) ac_try_echo=$ac_try;;
 1603 esac
 1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1605 $as_echo "$ac_try_echo"; } >&5
 1606   (eval "$ac_link") 2>conftest.err
 1607   ac_status=$?
 1608   if test -s conftest.err; then
 1609     grep -v '^ *+' conftest.err >conftest.er1
 1610     cat conftest.er1 >&5
 1611     mv -f conftest.er1 conftest.err
 1612   fi
 1613   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1614   test $ac_status = 0; } && {
 1615 	 test -z "$ac_c_werror_flag" ||
 1616 	 test ! -s conftest.err
 1617        } && test -s conftest$ac_exeext && {
 1618 	 test "$cross_compiling" = yes ||
 1619 	 test -x conftest$ac_exeext
 1620        }; then :
 1621   ac_retval=0
 1622 else
 1623   $as_echo "$as_me: failed program was:" >&5
 1624 sed 's/^/| /' conftest.$ac_ext >&5
 1625 
 1626 	ac_retval=1
 1627 fi
 1628   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1629   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1630   # interfere with the next link command; also delete a directory that is
 1631   # left behind by Apple's compiler.  We do this before executing the actions.
 1632   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1633   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1634   as_fn_set_status $ac_retval
 1635 
 1636 } @%:@ ac_fn_c_try_link
 1637 
 1638 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 1639 @%:@ -------------------------------------------------------
 1640 @%:@ Tests whether HEADER exists and can be compiled using the include files in
 1641 @%:@ INCLUDES, setting the cache variable VAR accordingly.
 1642 ac_fn_c_check_header_compile ()
 1643 {
 1644   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1646 $as_echo_n "checking for $2... " >&6; }
 1647 if eval \${$3+:} false; then :
 1648   $as_echo_n "(cached) " >&6
 1649 else
 1650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1651 /* end confdefs.h.  */
 1652 $4
 1653 @%:@include <$2>
 1654 _ACEOF
 1655 if ac_fn_c_try_compile "$LINENO"; then :
 1656   eval "$3=yes"
 1657 else
 1658   eval "$3=no"
 1659 fi
 1660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1661 fi
 1662 eval ac_res=\$$3
 1663 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1664 $as_echo "$ac_res" >&6; }
 1665   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1666 
 1667 } @%:@ ac_fn_c_check_header_compile
 1668 
 1669 @%:@ ac_fn_c_try_cpp LINENO
 1670 @%:@ ----------------------
 1671 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
 1672 ac_fn_c_try_cpp ()
 1673 {
 1674   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1675   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1676 case "(($ac_try" in
 1677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1678   *) ac_try_echo=$ac_try;;
 1679 esac
 1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1681 $as_echo "$ac_try_echo"; } >&5
 1682   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1683   ac_status=$?
 1684   if test -s conftest.err; then
 1685     grep -v '^ *+' conftest.err >conftest.er1
 1686     cat conftest.er1 >&5
 1687     mv -f conftest.er1 conftest.err
 1688   fi
 1689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1690   test $ac_status = 0; } > conftest.i && {
 1691 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1692 	 test ! -s conftest.err
 1693        }; then :
 1694   ac_retval=0
 1695 else
 1696   $as_echo "$as_me: failed program was:" >&5
 1697 sed 's/^/| /' conftest.$ac_ext >&5
 1698 
 1699     ac_retval=1
 1700 fi
 1701   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1702   as_fn_set_status $ac_retval
 1703 
 1704 } @%:@ ac_fn_c_try_cpp
 1705 
 1706 @%:@ ac_fn_c_try_run LINENO
 1707 @%:@ ----------------------
 1708 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
 1709 @%:@ that executables *can* be run.
 1710 ac_fn_c_try_run ()
 1711 {
 1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1713   if { { ac_try="$ac_link"
 1714 case "(($ac_try" in
 1715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1716   *) ac_try_echo=$ac_try;;
 1717 esac
 1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1719 $as_echo "$ac_try_echo"; } >&5
 1720   (eval "$ac_link") 2>&5
 1721   ac_status=$?
 1722   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1723   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1724   { { case "(($ac_try" in
 1725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1726   *) ac_try_echo=$ac_try;;
 1727 esac
 1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1729 $as_echo "$ac_try_echo"; } >&5
 1730   (eval "$ac_try") 2>&5
 1731   ac_status=$?
 1732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1733   test $ac_status = 0; }; }; then :
 1734   ac_retval=0
 1735 else
 1736   $as_echo "$as_me: program exited with status $ac_status" >&5
 1737        $as_echo "$as_me: failed program was:" >&5
 1738 sed 's/^/| /' conftest.$ac_ext >&5
 1739 
 1740        ac_retval=$ac_status
 1741 fi
 1742   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1743   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1744   as_fn_set_status $ac_retval
 1745 
 1746 } @%:@ ac_fn_c_try_run
 1747 
 1748 @%:@ ac_fn_c_check_func LINENO FUNC VAR
 1749 @%:@ ----------------------------------
 1750 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
 1751 ac_fn_c_check_func ()
 1752 {
 1753   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1755 $as_echo_n "checking for $2... " >&6; }
 1756 if eval \${$3+:} false; then :
 1757   $as_echo_n "(cached) " >&6
 1758 else
 1759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1760 /* end confdefs.h.  */
 1761 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1762    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1763 #define $2 innocuous_$2
 1764 
 1765 /* System header to define __stub macros and hopefully few prototypes,
 1766     which can conflict with char $2 (); below.
 1767     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1768     <limits.h> exists even on freestanding compilers.  */
 1769 
 1770 #ifdef __STDC__
 1771 # include <limits.h>
 1772 #else
 1773 # include <assert.h>
 1774 #endif
 1775 
 1776 #undef $2
 1777 
 1778 /* Override any GCC internal prototype to avoid an error.
 1779    Use char because int might match the return type of a GCC
 1780    builtin and then its argument prototype would still apply.  */
 1781 #ifdef __cplusplus
 1782 extern "C"
 1783 #endif
 1784 char $2 ();
 1785 /* The GNU C library defines this for functions which it implements
 1786     to always fail with ENOSYS.  Some functions are actually named
 1787     something starting with __ and the normal name is an alias.  */
 1788 #if defined __stub_$2 || defined __stub___$2
 1789 choke me
 1790 #endif
 1791 
 1792 int
 1793 main ()
 1794 {
 1795 return $2 ();
 1796   ;
 1797   return 0;
 1798 }
 1799 _ACEOF
 1800 if ac_fn_c_try_link "$LINENO"; then :
 1801   eval "$3=yes"
 1802 else
 1803   eval "$3=no"
 1804 fi
 1805 rm -f core conftest.err conftest.$ac_objext \
 1806     conftest$ac_exeext conftest.$ac_ext
 1807 fi
 1808 eval ac_res=\$$3
 1809 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1810 $as_echo "$ac_res" >&6; }
 1811   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1812 
 1813 } @%:@ ac_fn_c_check_func
 1814 
 1815 @%:@ ac_fn_cxx_try_compile LINENO
 1816 @%:@ ----------------------------
 1817 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
 1818 ac_fn_cxx_try_compile ()
 1819 {
 1820   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1821   rm -f conftest.$ac_objext
 1822   if { { ac_try="$ac_compile"
 1823 case "(($ac_try" in
 1824   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1825   *) ac_try_echo=$ac_try;;
 1826 esac
 1827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1828 $as_echo "$ac_try_echo"; } >&5
 1829   (eval "$ac_compile") 2>conftest.err
 1830   ac_status=$?
 1831   if test -s conftest.err; then
 1832     grep -v '^ *+' conftest.err >conftest.er1
 1833     cat conftest.er1 >&5
 1834     mv -f conftest.er1 conftest.err
 1835   fi
 1836   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1837   test $ac_status = 0; } && {
 1838 	 test -z "$ac_cxx_werror_flag" ||
 1839 	 test ! -s conftest.err
 1840        } && test -s conftest.$ac_objext; then :
 1841   ac_retval=0
 1842 else
 1843   $as_echo "$as_me: failed program was:" >&5
 1844 sed 's/^/| /' conftest.$ac_ext >&5
 1845 
 1846 	ac_retval=1
 1847 fi
 1848   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1849   as_fn_set_status $ac_retval
 1850 
 1851 } @%:@ ac_fn_cxx_try_compile
 1852 
 1853 @%:@ ac_fn_cxx_try_cpp LINENO
 1854 @%:@ ------------------------
 1855 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
 1856 ac_fn_cxx_try_cpp ()
 1857 {
 1858   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1859   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1860 case "(($ac_try" in
 1861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1862   *) ac_try_echo=$ac_try;;
 1863 esac
 1864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1865 $as_echo "$ac_try_echo"; } >&5
 1866   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1867   ac_status=$?
 1868   if test -s conftest.err; then
 1869     grep -v '^ *+' conftest.err >conftest.er1
 1870     cat conftest.er1 >&5
 1871     mv -f conftest.er1 conftest.err
 1872   fi
 1873   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1874   test $ac_status = 0; } > conftest.i && {
 1875 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 1876 	 test ! -s conftest.err
 1877        }; then :
 1878   ac_retval=0
 1879 else
 1880   $as_echo "$as_me: failed program was:" >&5
 1881 sed 's/^/| /' conftest.$ac_ext >&5
 1882 
 1883     ac_retval=1
 1884 fi
 1885   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1886   as_fn_set_status $ac_retval
 1887 
 1888 } @%:@ ac_fn_cxx_try_cpp
 1889 
 1890 @%:@ ac_fn_cxx_try_link LINENO
 1891 @%:@ -------------------------
 1892 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
 1893 ac_fn_cxx_try_link ()
 1894 {
 1895   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1896   rm -f conftest.$ac_objext conftest$ac_exeext
 1897   if { { ac_try="$ac_link"
 1898 case "(($ac_try" in
 1899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1900   *) ac_try_echo=$ac_try;;
 1901 esac
 1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1903 $as_echo "$ac_try_echo"; } >&5
 1904   (eval "$ac_link") 2>conftest.err
 1905   ac_status=$?
 1906   if test -s conftest.err; then
 1907     grep -v '^ *+' conftest.err >conftest.er1
 1908     cat conftest.er1 >&5
 1909     mv -f conftest.er1 conftest.err
 1910   fi
 1911   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1912   test $ac_status = 0; } && {
 1913 	 test -z "$ac_cxx_werror_flag" ||
 1914 	 test ! -s conftest.err
 1915        } && test -s conftest$ac_exeext && {
 1916 	 test "$cross_compiling" = yes ||
 1917 	 test -x conftest$ac_exeext
 1918        }; then :
 1919   ac_retval=0
 1920 else
 1921   $as_echo "$as_me: failed program was:" >&5
 1922 sed 's/^/| /' conftest.$ac_ext >&5
 1923 
 1924 	ac_retval=1
 1925 fi
 1926   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1927   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1928   # interfere with the next link command; also delete a directory that is
 1929   # left behind by Apple's compiler.  We do this before executing the actions.
 1930   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1931   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1932   as_fn_set_status $ac_retval
 1933 
 1934 } @%:@ ac_fn_cxx_try_link
 1935 
 1936 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 1937 @%:@ -------------------------------------------------------
 1938 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
 1939 @%:@ the include files in INCLUDES and setting the cache variable VAR
 1940 @%:@ accordingly.
 1941 ac_fn_c_check_header_mongrel ()
 1942 {
 1943   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1944   if eval \${$3+:} false; then :
 1945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1946 $as_echo_n "checking for $2... " >&6; }
 1947 if eval \${$3+:} false; then :
 1948   $as_echo_n "(cached) " >&6
 1949 fi
 1950 eval ac_res=\$$3
 1951 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1952 $as_echo "$ac_res" >&6; }
 1953 else
 1954   # Is the header compilable?
 1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 1956 $as_echo_n "checking $2 usability... " >&6; }
 1957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1958 /* end confdefs.h.  */
 1959 $4
 1960 @%:@include <$2>
 1961 _ACEOF
 1962 if ac_fn_c_try_compile "$LINENO"; then :
 1963   ac_header_compiler=yes
 1964 else
 1965   ac_header_compiler=no
 1966 fi
 1967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 1969 $as_echo "$ac_header_compiler" >&6; }
 1970 
 1971 # Is the header present?
 1972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 1973 $as_echo_n "checking $2 presence... " >&6; }
 1974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1975 /* end confdefs.h.  */
 1976 @%:@include <$2>
 1977 _ACEOF
 1978 if ac_fn_c_try_cpp "$LINENO"; then :
 1979   ac_header_preproc=yes
 1980 else
 1981   ac_header_preproc=no
 1982 fi
 1983 rm -f conftest.err conftest.i conftest.$ac_ext
 1984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 1985 $as_echo "$ac_header_preproc" >&6; }
 1986 
 1987 # So?  What about this header?
 1988 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 1989   yes:no: )
 1990     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 1991 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 1992     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1993 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1994     ;;
 1995   no:yes:* )
 1996     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 1997 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 1998     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 1999 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 2000     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 2001 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 2002     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 2003 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 2004     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2005 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2006 ( $as_echo "## ------------------------------- ##
 2007 ## Report this to tlinden@cpan.org ##
 2008 ## ------------------------------- ##"
 2009      ) | sed "s/^/$as_me: WARNING:     /" >&2
 2010     ;;
 2011 esac
 2012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2013 $as_echo_n "checking for $2... " >&6; }
 2014 if eval \${$3+:} false; then :
 2015   $as_echo_n "(cached) " >&6
 2016 else
 2017   eval "$3=\$ac_header_compiler"
 2018 fi
 2019 eval ac_res=\$$3
 2020 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2021 $as_echo "$ac_res" >&6; }
 2022 fi
 2023   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2024 
 2025 } @%:@ ac_fn_c_check_header_mongrel
 2026 
 2027 @%:@ ac_fn_cxx_check_func LINENO FUNC VAR
 2028 @%:@ ------------------------------------
 2029 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
 2030 ac_fn_cxx_check_func ()
 2031 {
 2032   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2034 $as_echo_n "checking for $2... " >&6; }
 2035 if eval \${$3+:} false; then :
 2036   $as_echo_n "(cached) " >&6
 2037 else
 2038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2039 /* end confdefs.h.  */
 2040 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 2041    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 2042 #define $2 innocuous_$2
 2043 
 2044 /* System header to define __stub macros and hopefully few prototypes,
 2045     which can conflict with char $2 (); below.
 2046     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 2047     <limits.h> exists even on freestanding compilers.  */
 2048 
 2049 #ifdef __STDC__
 2050 # include <limits.h>
 2051 #else
 2052 # include <assert.h>
 2053 #endif
 2054 
 2055 #undef $2
 2056 
 2057 /* Override any GCC internal prototype to avoid an error.
 2058    Use char because int might match the return type of a GCC
 2059    builtin and then its argument prototype would still apply.  */
 2060 #ifdef __cplusplus
 2061 extern "C"
 2062 #endif
 2063 char $2 ();
 2064 /* The GNU C library defines this for functions which it implements
 2065     to always fail with ENOSYS.  Some functions are actually named
 2066     something starting with __ and the normal name is an alias.  */
 2067 #if defined __stub_$2 || defined __stub___$2
 2068 choke me
 2069 #endif
 2070 
 2071 int
 2072 main ()
 2073 {
 2074 return $2 ();
 2075   ;
 2076   return 0;
 2077 }
 2078 _ACEOF
 2079 if ac_fn_cxx_try_link "$LINENO"; then :
 2080   eval "$3=yes"
 2081 else
 2082   eval "$3=no"
 2083 fi
 2084 rm -f core conftest.err conftest.$ac_objext \
 2085     conftest$ac_exeext conftest.$ac_ext
 2086 fi
 2087 eval ac_res=\$$3
 2088 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2089 $as_echo "$ac_res" >&6; }
 2090   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2091 
 2092 } @%:@ ac_fn_cxx_check_func
 2093 cat >config.log <<_ACEOF
 2094 This file contains any messages produced by compilers while
 2095 running configure, to aid debugging if configure makes a mistake.
 2096 
 2097 It was created by dbtool $as_me 1.9.1
 2098 , which was
 2099 generated by GNU Autoconf 2.69.  Invocation command line was
 2100 
 2101   $ $0 $@
 2102 
 2103 _ACEOF
 2104 exec 5>>config.log
 2105 {
 2106 cat <<_ASUNAME
 2107 ## --------- ##
 2108 ## Platform. ##
 2109 ## --------- ##
 2110 
 2111 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2112 uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2113 uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2114 uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2115 uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2116 
 2117 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2118 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2119 
 2120 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2121 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2122 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2123 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2124 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2125 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2126 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2127 
 2128 _ASUNAME
 2129 
 2130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2131 for as_dir in $PATH
 2132 do
 2133   IFS=$as_save_IFS
 2134   test -z "$as_dir" && as_dir=.
 2135     $as_echo "PATH: $as_dir"
 2136   done
 2137 IFS=$as_save_IFS
 2138 
 2139 } >&5
 2140 
 2141 cat >&5 <<_ACEOF
 2142 
 2143 
 2144 ## ----------- ##
 2145 ## Core tests. ##
 2146 ## ----------- ##
 2147 
 2148 _ACEOF
 2149 
 2150 
 2151 # Keep a trace of the command line.
 2152 # Strip out --no-create and --no-recursion so they do not pile up.
 2153 # Strip out --silent because we don't want to record it for future runs.
 2154 # Also quote any args containing shell meta-characters.
 2155 # Make two passes to allow for proper duplicate-argument suppression.
 2156 ac_configure_args=
 2157 ac_configure_args0=
 2158 ac_configure_args1=
 2159 ac_must_keep_next=false
 2160 for ac_pass in 1 2
 2161 do
 2162   for ac_arg
 2163   do
 2164     case $ac_arg in
 2165     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2166     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2167     | -silent | --silent | --silen | --sile | --sil)
 2168       continue ;;
 2169     *\'*)
 2170       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2171     esac
 2172     case $ac_pass in
 2173     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2174     2)
 2175       as_fn_append ac_configure_args1 " '$ac_arg'"
 2176       if test $ac_must_keep_next = true; then
 2177 	ac_must_keep_next=false # Got value, back to normal.
 2178       else
 2179 	case $ac_arg in
 2180 	  *=* | --config-cache | -C | -disable-* | --disable-* \
 2181 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2182 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2183 	  | -with-* | --with-* | -without-* | --without-* | --x)
 2184 	    case "$ac_configure_args0 " in
 2185 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2186 	    esac
 2187 	    ;;
 2188 	  -* ) ac_must_keep_next=true ;;
 2189 	esac
 2190       fi
 2191       as_fn_append ac_configure_args " '$ac_arg'"
 2192       ;;
 2193     esac
 2194   done
 2195 done
 2196 { ac_configure_args0=; unset ac_configure_args0;}
 2197 { ac_configure_args1=; unset ac_configure_args1;}
 2198 
 2199 # When interrupted or exit'd, cleanup temporary files, and complete
 2200 # config.log.  We remove comments because anyway the quotes in there
 2201 # would cause problems or look ugly.
 2202 # WARNING: Use '\'' to represent an apostrophe within the trap.
 2203 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2204 trap 'exit_status=$?
 2205   # Save into config.log some information that might help in debugging.
 2206   {
 2207     echo
 2208 
 2209     $as_echo "## ---------------- ##
 2210 ## Cache variables. ##
 2211 ## ---------------- ##"
 2212     echo
 2213     # The following way of writing the cache mishandles newlines in values,
 2214 (
 2215   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2216     eval ac_val=\$$ac_var
 2217     case $ac_val in #(
 2218     *${as_nl}*)
 2219       case $ac_var in #(
 2220       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2221 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2222       esac
 2223       case $ac_var in #(
 2224       _ | IFS | as_nl) ;; #(
 2225       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2226       *) { eval $ac_var=; unset $ac_var;} ;;
 2227       esac ;;
 2228     esac
 2229   done
 2230   (set) 2>&1 |
 2231     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2232     *${as_nl}ac_space=\ *)
 2233       sed -n \
 2234 	"s/'\''/'\''\\\\'\'''\''/g;
 2235 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2236       ;; #(
 2237     *)
 2238       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2239       ;;
 2240     esac |
 2241     sort
 2242 )
 2243     echo
 2244 
 2245     $as_echo "## ----------------- ##
 2246 ## Output variables. ##
 2247 ## ----------------- ##"
 2248     echo
 2249     for ac_var in $ac_subst_vars
 2250     do
 2251       eval ac_val=\$$ac_var
 2252       case $ac_val in
 2253       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2254       esac
 2255       $as_echo "$ac_var='\''$ac_val'\''"
 2256     done | sort
 2257     echo
 2258 
 2259     if test -n "$ac_subst_files"; then
 2260       $as_echo "## ------------------- ##
 2261 ## File substitutions. ##
 2262 ## ------------------- ##"
 2263       echo
 2264       for ac_var in $ac_subst_files
 2265       do
 2266 	eval ac_val=\$$ac_var
 2267 	case $ac_val in
 2268 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2269 	esac
 2270 	$as_echo "$ac_var='\''$ac_val'\''"
 2271       done | sort
 2272       echo
 2273     fi
 2274 
 2275     if test -s confdefs.h; then
 2276       $as_echo "## ----------- ##
 2277 ## confdefs.h. ##
 2278 ## ----------- ##"
 2279       echo
 2280       cat confdefs.h
 2281       echo
 2282     fi
 2283     test "$ac_signal" != 0 &&
 2284       $as_echo "$as_me: caught signal $ac_signal"
 2285     $as_echo "$as_me: exit $exit_status"
 2286   } >&5
 2287   rm -f core *.core core.conftest.* &&
 2288     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2289     exit $exit_status
 2290 ' 0
 2291 for ac_signal in 1 2 13 15; do
 2292   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2293 done
 2294 ac_signal=0
 2295 
 2296 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2297 rm -f -r conftest* confdefs.h
 2298 
 2299 $as_echo "/* confdefs.h */" > confdefs.h
 2300 
 2301 # Predefined preprocessor variables.
 2302 
 2303 cat >>confdefs.h <<_ACEOF
 2304 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
 2305 _ACEOF
 2306 
 2307 cat >>confdefs.h <<_ACEOF
 2308 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2309 _ACEOF
 2310 
 2311 cat >>confdefs.h <<_ACEOF
 2312 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
 2313 _ACEOF
 2314 
 2315 cat >>confdefs.h <<_ACEOF
 2316 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
 2317 _ACEOF
 2318 
 2319 cat >>confdefs.h <<_ACEOF
 2320 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2321 _ACEOF
 2322 
 2323 cat >>confdefs.h <<_ACEOF
 2324 @%:@define PACKAGE_URL "$PACKAGE_URL"
 2325 _ACEOF
 2326 
 2327 
 2328 # Let the site file select an alternate cache file if it wants to.
 2329 # Prefer an explicitly selected file to automatically selected ones.
 2330 ac_site_file1=NONE
 2331 ac_site_file2=NONE
 2332 if test -n "$CONFIG_SITE"; then
 2333   # We do not want a PATH search for config.site.
 2334   case $CONFIG_SITE in @%:@((
 2335     -*)  ac_site_file1=./$CONFIG_SITE;;
 2336     */*) ac_site_file1=$CONFIG_SITE;;
 2337     *)   ac_site_file1=./$CONFIG_SITE;;
 2338   esac
 2339 elif test "x$prefix" != xNONE; then
 2340   ac_site_file1=$prefix/share/config.site
 2341   ac_site_file2=$prefix/etc/config.site
 2342 else
 2343   ac_site_file1=$ac_default_prefix/share/config.site
 2344   ac_site_file2=$ac_default_prefix/etc/config.site
 2345 fi
 2346 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2347 do
 2348   test "x$ac_site_file" = xNONE && continue
 2349   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2350     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2351 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2352     sed 's/^/| /' "$ac_site_file" >&5
 2353     . "$ac_site_file" \
 2354       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2356 as_fn_error $? "failed to load site script $ac_site_file
 2357 See \`config.log' for more details" "$LINENO" 5; }
 2358   fi
 2359 done
 2360 
 2361 if test -r "$cache_file"; then
 2362   # Some versions of bash will fail to source /dev/null (special files
 2363   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2364   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2365     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2366 $as_echo "$as_me: loading cache $cache_file" >&6;}
 2367     case $cache_file in
 2368       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2369       *)                      . "./$cache_file";;
 2370     esac
 2371   fi
 2372 else
 2373   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2374 $as_echo "$as_me: creating cache $cache_file" >&6;}
 2375   >$cache_file
 2376 fi
 2377 
 2378 # Check that the precious variables saved in the cache have kept the same
 2379 # value.
 2380 ac_cache_corrupted=false
 2381 for ac_var in $ac_precious_vars; do
 2382   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2383   eval ac_new_set=\$ac_env_${ac_var}_set
 2384   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2385   eval ac_new_val=\$ac_env_${ac_var}_value
 2386   case $ac_old_set,$ac_new_set in
 2387     set,)
 2388       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2389 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2390       ac_cache_corrupted=: ;;
 2391     ,set)
 2392       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2393 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2394       ac_cache_corrupted=: ;;
 2395     ,);;
 2396     *)
 2397       if test "x$ac_old_val" != "x$ac_new_val"; then
 2398 	# differences in whitespace do not lead to failure.
 2399 	ac_old_val_w=`echo x $ac_old_val`
 2400 	ac_new_val_w=`echo x $ac_new_val`
 2401 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2402 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2403 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2404 	  ac_cache_corrupted=:
 2405 	else
 2406 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2407 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2408 	  eval $ac_var=\$ac_old_val
 2409 	fi
 2410 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2411 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2412 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2413 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2414       fi;;
 2415   esac
 2416   # Pass precious variables to config.status.
 2417   if test "$ac_new_set" = set; then
 2418     case $ac_new_val in
 2419     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2420     *) ac_arg=$ac_var=$ac_new_val ;;
 2421     esac
 2422     case " $ac_configure_args " in
 2423       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2424       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2425     esac
 2426   fi
 2427 done
 2428 if $ac_cache_corrupted; then
 2429   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2431   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2432 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2433   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2434 fi
 2435 ## -------------------- ##
 2436 ## Main body of script. ##
 2437 ## -------------------- ##
 2438 
 2439 ac_ext=c
 2440 ac_cpp='$CPP $CPPFLAGS'
 2441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2444 
 2445 
 2446 
 2447 ac_aux_dir=
 2448 for ac_dir in config "$srcdir"/config; do
 2449   if test -f "$ac_dir/install-sh"; then
 2450     ac_aux_dir=$ac_dir
 2451     ac_install_sh="$ac_aux_dir/install-sh -c"
 2452     break
 2453   elif test -f "$ac_dir/install.sh"; then
 2454     ac_aux_dir=$ac_dir
 2455     ac_install_sh="$ac_aux_dir/install.sh -c"
 2456     break
 2457   elif test -f "$ac_dir/shtool"; then
 2458     ac_aux_dir=$ac_dir
 2459     ac_install_sh="$ac_aux_dir/shtool install -c"
 2460     break
 2461   fi
 2462 done
 2463 if test -z "$ac_aux_dir"; then
 2464   as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
 2465 fi
 2466 
 2467 # These three variables are undocumented and unsupported,
 2468 # and are intended to be withdrawn in a future Autoconf release.
 2469 # They can cause serious problems if a builder's source tree is in a directory
 2470 # whose full name contains unusual characters.
 2471 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2472 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2473 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2474 
 2475 
 2476 
 2477 ac_config_headers="$ac_config_headers platform.h"
 2478 
 2479 
 2480 am__api_version='1.12'
 2481 
 2482 # Find a good install program.  We prefer a C program (faster),
 2483 # so one script is as good as another.  But avoid the broken or
 2484 # incompatible versions:
 2485 # SysV /etc/install, /usr/sbin/install
 2486 # SunOS /usr/etc/install
 2487 # IRIX /sbin/install
 2488 # AIX /bin/install
 2489 # AmigaOS /C/install, which installs bootblocks on floppy discs
 2490 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2491 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2492 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2493 # OS/2's system install, which has a completely different semantic
 2494 # ./install, which can be erroneously created by make from ./install.sh.
 2495 # Reject install programs that cannot install multiple files.
 2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2497 $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2498 if test -z "$INSTALL"; then
 2499 if ${ac_cv_path_install+:} false; then :
 2500   $as_echo_n "(cached) " >&6
 2501 else
 2502   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2503 for as_dir in $PATH
 2504 do
 2505   IFS=$as_save_IFS
 2506   test -z "$as_dir" && as_dir=.
 2507     # Account for people who put trailing slashes in PATH elements.
 2508 case $as_dir/ in @%:@((
 2509   ./ | .// | /[cC]/* | \
 2510   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2511   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2512   /usr/ucb/* ) ;;
 2513   *)
 2514     # OSF1 and SCO ODT 3.0 have their own names for install.
 2515     # Don't use installbsd from OSF since it installs stuff as root
 2516     # by default.
 2517     for ac_prog in ginstall scoinst install; do
 2518       for ac_exec_ext in '' $ac_executable_extensions; do
 2519 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 2520 	  if test $ac_prog = install &&
 2521 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2522 	    # AIX install.  It has an incompatible calling convention.
 2523 	    :
 2524 	  elif test $ac_prog = install &&
 2525 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2526 	    # program-specific install script used by HP pwplus--don't use.
 2527 	    :
 2528 	  else
 2529 	    rm -rf conftest.one conftest.two conftest.dir
 2530 	    echo one > conftest.one
 2531 	    echo two > conftest.two
 2532 	    mkdir conftest.dir
 2533 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2534 	      test -s conftest.one && test -s conftest.two &&
 2535 	      test -s conftest.dir/conftest.one &&
 2536 	      test -s conftest.dir/conftest.two
 2537 	    then
 2538 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2539 	      break 3
 2540 	    fi
 2541 	  fi
 2542 	fi
 2543       done
 2544     done
 2545     ;;
 2546 esac
 2547 
 2548   done
 2549 IFS=$as_save_IFS
 2550 
 2551 rm -rf conftest.one conftest.two conftest.dir
 2552 
 2553 fi
 2554   if test "${ac_cv_path_install+set}" = set; then
 2555     INSTALL=$ac_cv_path_install
 2556   else
 2557     # As a last resort, use the slow shell script.  Don't cache a
 2558     # value for INSTALL within a source directory, because that will
 2559     # break other packages using the cache if that directory is
 2560     # removed, or if the value is a relative name.
 2561     INSTALL=$ac_install_sh
 2562   fi
 2563 fi
 2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2565 $as_echo "$INSTALL" >&6; }
 2566 
 2567 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2568 # It thinks the first close brace ends the variable substitution.
 2569 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2570 
 2571 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2572 
 2573 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2574 
 2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2576 $as_echo_n "checking whether build environment is sane... " >&6; }
 2577 # Reject unsafe characters in $srcdir or the absolute working directory
 2578 # name.  Accept space and tab only in the latter.
 2579 am_lf='
 2580 '
 2581 case `pwd` in
 2582   *[\\\"\#\$\&\'\`$am_lf]*)
 2583     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 2584 esac
 2585 case $srcdir in
 2586   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
 2587     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
 2588 esac
 2589 
 2590 # Do 'set' in a subshell so we don't clobber the current shell's
 2591 # arguments.  Must try -L first in case configure is actually a
 2592 # symlink; some systems play weird games with the mod time of symlinks
 2593 # (eg FreeBSD returns the mod time of the symlink's containing
 2594 # directory).
 2595 if (
 2596    am_has_slept=no
 2597    for am_try in 1 2; do
 2598      echo "timestamp, slept: $am_has_slept" > conftest.file
 2599      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2600      if test "$*" = "X"; then
 2601 	# -L didn't work.
 2602 	set X `ls -t "$srcdir/configure" conftest.file`
 2603      fi
 2604      if test "$*" != "X $srcdir/configure conftest.file" \
 2605 	&& test "$*" != "X conftest.file $srcdir/configure"; then
 2606 
 2607 	# If neither matched, then we have a broken ls.  This can happen
 2608 	# if, for instance, CONFIG_SHELL is bash and it inherits a
 2609 	# broken ls alias from the environment.  This has actually
 2610 	# happened.  Such a system could not be considered "sane".
 2611 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 2612   alias in your environment" "$LINENO" 5
 2613      fi
 2614      if test "$2" = conftest.file || test $am_try -eq 2; then
 2615        break
 2616      fi
 2617      # Just in case.
 2618      sleep 1
 2619      am_has_slept=yes
 2620    done
 2621    test "$2" = conftest.file
 2622    )
 2623 then
 2624    # Ok.
 2625    :
 2626 else
 2627    as_fn_error $? "newly created file is older than distributed files!
 2628 Check your system clock" "$LINENO" 5
 2629 fi
 2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2631 $as_echo "yes" >&6; }
 2632 # If we didn't sleep, we still need to ensure time stamps of config.status and
 2633 # generated files are strictly newer.
 2634 am_sleep_pid=
 2635 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 2636   ( sleep 1 ) &
 2637   am_sleep_pid=$!
 2638 fi
 2639 
 2640 rm -f conftest.file
 2641 
 2642 test "$program_prefix" != NONE &&
 2643   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2644 # Use a double $ so make ignores it.
 2645 test "$program_suffix" != NONE &&
 2646   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2647 # Double any \ or $.
 2648 # By default was `s,x,x', remove it if useless.
 2649 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2650 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2651 
 2652 # expand $ac_aux_dir to an absolute path
 2653 am_aux_dir=`cd $ac_aux_dir && pwd`
 2654 
 2655 if test x"${MISSING+set}" != xset; then
 2656   case $am_aux_dir in
 2657   *\ * | *\	*)
 2658     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2659   *)
 2660     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2661   esac
 2662 fi
 2663 # Use eval to expand $SHELL
 2664 if eval "$MISSING --run true"; then
 2665   am_missing_run="$MISSING --run "
 2666 else
 2667   am_missing_run=
 2668   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 2669 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 2670 fi
 2671 
 2672 if test x"${install_sh}" != xset; then
 2673   case $am_aux_dir in
 2674   *\ * | *\	*)
 2675     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2676   *)
 2677     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2678   esac
 2679 fi
 2680 
 2681 # Installed binaries are usually stripped using 'strip' when the user
 2682 # run "make install-strip".  However 'strip' might not be the right
 2683 # tool to use in cross-compilation environments, therefore Automake
 2684 # will honor the 'STRIP' environment variable to overrule this program.
 2685 if test "$cross_compiling" != no; then
 2686   if test -n "$ac_tool_prefix"; then
 2687   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2688 set dummy ${ac_tool_prefix}strip; ac_word=$2
 2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2690 $as_echo_n "checking for $ac_word... " >&6; }
 2691 if ${ac_cv_prog_STRIP+:} false; then :
 2692   $as_echo_n "(cached) " >&6
 2693 else
 2694   if test -n "$STRIP"; then
 2695   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2696 else
 2697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2698 for as_dir in $PATH
 2699 do
 2700   IFS=$as_save_IFS
 2701   test -z "$as_dir" && as_dir=.
 2702     for ac_exec_ext in '' $ac_executable_extensions; do
 2703   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2704     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2705     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2706     break 2
 2707   fi
 2708 done
 2709   done
 2710 IFS=$as_save_IFS
 2711 
 2712 fi
 2713 fi
 2714 STRIP=$ac_cv_prog_STRIP
 2715 if test -n "$STRIP"; then
 2716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 2717 $as_echo "$STRIP" >&6; }
 2718 else
 2719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2720 $as_echo "no" >&6; }
 2721 fi
 2722 
 2723 
 2724 fi
 2725 if test -z "$ac_cv_prog_STRIP"; then
 2726   ac_ct_STRIP=$STRIP
 2727   # Extract the first word of "strip", so it can be a program name with args.
 2728 set dummy strip; ac_word=$2
 2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2730 $as_echo_n "checking for $ac_word... " >&6; }
 2731 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 2732   $as_echo_n "(cached) " >&6
 2733 else
 2734   if test -n "$ac_ct_STRIP"; then
 2735   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2736 else
 2737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2738 for as_dir in $PATH
 2739 do
 2740   IFS=$as_save_IFS
 2741   test -z "$as_dir" && as_dir=.
 2742     for ac_exec_ext in '' $ac_executable_extensions; do
 2743   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2744     ac_cv_prog_ac_ct_STRIP="strip"
 2745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2746     break 2
 2747   fi
 2748 done
 2749   done
 2750 IFS=$as_save_IFS
 2751 
 2752 fi
 2753 fi
 2754 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2755 if test -n "$ac_ct_STRIP"; then
 2756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 2757 $as_echo "$ac_ct_STRIP" >&6; }
 2758 else
 2759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2760 $as_echo "no" >&6; }
 2761 fi
 2762 
 2763   if test "x$ac_ct_STRIP" = x; then
 2764     STRIP=":"
 2765   else
 2766     case $cross_compiling:$ac_tool_warned in
 2767 yes:)
 2768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2770 ac_tool_warned=yes ;;
 2771 esac
 2772     STRIP=$ac_ct_STRIP
 2773   fi
 2774 else
 2775   STRIP="$ac_cv_prog_STRIP"
 2776 fi
 2777 
 2778 fi
 2779 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 2780 
 2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 2782 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 2783 if test -z "$MKDIR_P"; then
 2784   if ${ac_cv_path_mkdir+:} false; then :
 2785   $as_echo_n "(cached) " >&6
 2786 else
 2787   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2788 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 2789 do
 2790   IFS=$as_save_IFS
 2791   test -z "$as_dir" && as_dir=.
 2792     for ac_prog in mkdir gmkdir; do
 2793 	 for ac_exec_ext in '' $ac_executable_extensions; do
 2794 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 2795 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 2796 	     'mkdir (GNU coreutils) '* | \
 2797 	     'mkdir (coreutils) '* | \
 2798 	     'mkdir (fileutils) '4.1*)
 2799 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 2800 	       break 3;;
 2801 	   esac
 2802 	 done
 2803        done
 2804   done
 2805 IFS=$as_save_IFS
 2806 
 2807 fi
 2808 
 2809   test -d ./--version && rmdir ./--version
 2810   if test "${ac_cv_path_mkdir+set}" = set; then
 2811     MKDIR_P="$ac_cv_path_mkdir -p"
 2812   else
 2813     # As a last resort, use the slow shell script.  Don't cache a
 2814     # value for MKDIR_P within a source directory, because that will
 2815     # break other packages using the cache if that directory is
 2816     # removed, or if the value is a relative name.
 2817     MKDIR_P="$ac_install_sh -d"
 2818   fi
 2819 fi
 2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 2821 $as_echo "$MKDIR_P" >&6; }
 2822 
 2823 for ac_prog in gawk mawk nawk awk
 2824 do
 2825   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2826 set dummy $ac_prog; ac_word=$2
 2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2828 $as_echo_n "checking for $ac_word... " >&6; }
 2829 if ${ac_cv_prog_AWK+:} false; then :
 2830   $as_echo_n "(cached) " >&6
 2831 else
 2832   if test -n "$AWK"; then
 2833   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 2834 else
 2835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2836 for as_dir in $PATH
 2837 do
 2838   IFS=$as_save_IFS
 2839   test -z "$as_dir" && as_dir=.
 2840     for ac_exec_ext in '' $ac_executable_extensions; do
 2841   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2842     ac_cv_prog_AWK="$ac_prog"
 2843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2844     break 2
 2845   fi
 2846 done
 2847   done
 2848 IFS=$as_save_IFS
 2849 
 2850 fi
 2851 fi
 2852 AWK=$ac_cv_prog_AWK
 2853 if test -n "$AWK"; then
 2854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 2855 $as_echo "$AWK" >&6; }
 2856 else
 2857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2858 $as_echo "no" >&6; }
 2859 fi
 2860 
 2861 
 2862   test -n "$AWK" && break
 2863 done
 2864 
 2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 2866 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 2867 set x ${MAKE-make}
 2868 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 2869 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 2870   $as_echo_n "(cached) " >&6
 2871 else
 2872   cat >conftest.make <<\_ACEOF
 2873 SHELL = /bin/sh
 2874 all:
 2875 	@echo '@@@%%%=$(MAKE)=@@@%%%'
 2876 _ACEOF
 2877 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 2878 case `${MAKE-make} -f conftest.make 2>/dev/null` in
 2879   *@@@%%%=?*=@@@%%%*)
 2880     eval ac_cv_prog_make_${ac_make}_set=yes;;
 2881   *)
 2882     eval ac_cv_prog_make_${ac_make}_set=no;;
 2883 esac
 2884 rm -f conftest.make
 2885 fi
 2886 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 2887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2888 $as_echo "yes" >&6; }
 2889   SET_MAKE=
 2890 else
 2891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2892 $as_echo "no" >&6; }
 2893   SET_MAKE="MAKE=${MAKE-make}"
 2894 fi
 2895 
 2896 rm -rf .tst 2>/dev/null
 2897 mkdir .tst 2>/dev/null
 2898 if test -d .tst; then
 2899   am__leading_dot=.
 2900 else
 2901   am__leading_dot=_
 2902 fi
 2903 rmdir .tst 2>/dev/null
 2904 
 2905 if test "`cd $srcdir && pwd`" != "`pwd`"; then
 2906   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 2907   # is not polluted with repeated "-I."
 2908   am__isrc=' -I$(srcdir)'
 2909   # test to see if srcdir already configured
 2910   if test -f $srcdir/config.status; then
 2911     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 2912   fi
 2913 fi
 2914 
 2915 # test whether we have cygpath
 2916 if test -z "$CYGPATH_W"; then
 2917   if (cygpath --version) >/dev/null 2>/dev/null; then
 2918     CYGPATH_W='cygpath -w'
 2919   else
 2920     CYGPATH_W=echo
 2921   fi
 2922 fi
 2923 
 2924 
 2925 # Define the identity of the package.
 2926  PACKAGE='dbtool'
 2927  VERSION='1.9.1
 2928 '
 2929 
 2930 
 2931 cat >>confdefs.h <<_ACEOF
 2932 @%:@define PACKAGE "$PACKAGE"
 2933 _ACEOF
 2934 
 2935  
 2936 cat >>confdefs.h <<_ACEOF
 2937 @%:@define VERSION "$VERSION"
 2938 _ACEOF
 2939 
 2940 # Some tools Automake needs.
 2941 
 2942 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 2943 
 2944 
 2945 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 2946 
 2947 
 2948 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 2949 
 2950 
 2951 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 2952 
 2953 
 2954 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 2955 
 2956 # For better backward compatibility.  To be removed once Automake 1.9.x
 2957 # dies out for good.  For more background, see:
 2958 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 2959 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 2960 mkdir_p='$(MKDIR_P)'
 2961 
 2962 # We need awk for the "check" target.  The system "awk" is bad on
 2963 # some platforms.
 2964 # Always define AMTAR for backward compatibility.  Yes, it's still used
 2965 # in the wild :-(  We should find a proper way to deprecate it ...
 2966 AMTAR='$${TAR-tar}'
 2967 
 2968 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 2969 
 2970 
 2971 
 2972 
 2973 
 2974 case `pwd` in
 2975   *\ * | *\	*)
 2976     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 2977 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 2978 esac
 2979 
 2980 
 2981 
 2982 macro_version='2.4.2'
 2983 macro_revision='1.3337'
 2984 
 2985     
 2986     
 2987     
 2988 
 2989 
 2990     
 2991     
 2992     
 2993 
 2994 
 2995 
 2996 
 2997 ltmain="$ac_aux_dir/ltmain.sh"
 2998 
 2999 # Make sure we can run config.sub.
 3000 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 3001   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 3002 
 3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 3004 $as_echo_n "checking build system type... " >&6; }
 3005 if ${ac_cv_build+:} false; then :
 3006   $as_echo_n "(cached) " >&6
 3007 else
 3008   ac_build_alias=$build_alias
 3009 test "x$ac_build_alias" = x &&
 3010   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 3011 test "x$ac_build_alias" = x &&
 3012   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 3013 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 3014   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 3015 
 3016 fi
 3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 3018 $as_echo "$ac_cv_build" >&6; }
 3019 case $ac_cv_build in
 3020 *-*-*) ;;
 3021 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 3022 esac
 3023 build=$ac_cv_build
 3024 ac_save_IFS=$IFS; IFS='-'
 3025 set x $ac_cv_build
 3026 shift
 3027 build_cpu=$1
 3028 build_vendor=$2
 3029 shift; shift
 3030 # Remember, the first character of IFS is used to create $*,
 3031 # except with old shells:
 3032 build_os=$*
 3033 IFS=$ac_save_IFS
 3034 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 3035 
 3036 
 3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 3038 $as_echo_n "checking host system type... " >&6; }
 3039 if ${ac_cv_host+:} false; then :
 3040   $as_echo_n "(cached) " >&6
 3041 else
 3042   if test "x$host_alias" = x; then
 3043   ac_cv_host=$ac_cv_build
 3044 else
 3045   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 3046     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 3047 fi
 3048 
 3049 fi
 3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 3051 $as_echo "$ac_cv_host" >&6; }
 3052 case $ac_cv_host in
 3053 *-*-*) ;;
 3054 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 3055 esac
 3056 host=$ac_cv_host
 3057 ac_save_IFS=$IFS; IFS='-'
 3058 set x $ac_cv_host
 3059 shift
 3060 host_cpu=$1
 3061 host_vendor=$2
 3062 shift; shift
 3063 # Remember, the first character of IFS is used to create $*,
 3064 # except with old shells:
 3065 host_os=$*
 3066 IFS=$ac_save_IFS
 3067 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 3068 
 3069 
 3070 # Backslashify metacharacters that are still active within
 3071 # double-quoted strings.
 3072 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 3073 
 3074 # Same as above, but do not quote variable references.
 3075 double_quote_subst='s/\(["`\\]\)/\\\1/g'
 3076 
 3077 # Sed substitution to delay expansion of an escaped shell variable in a
 3078 # double_quote_subst'ed string.
 3079 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 3080 
 3081 # Sed substitution to delay expansion of an escaped single quote.
 3082 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 3083 
 3084 # Sed substitution to avoid accidental globbing in evaled expressions
 3085 no_glob_subst='s/\*/\\\*/g'
 3086 
 3087 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 3088 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 3089 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 3090 
 3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 3092 $as_echo_n "checking how to print strings... " >&6; }
 3093 # Test print first, because it will be a builtin if present.
 3094 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 3095    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 3096   ECHO='print -r --'
 3097 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 3098   ECHO='printf %s\n'
 3099 else
 3100   # Use this function as a fallback that always works.
 3101   func_fallback_echo ()
 3102   {
 3103     eval 'cat <<_LTECHO_EOF
 3104 $1
 3105 _LTECHO_EOF'
 3106   }
 3107   ECHO='func_fallback_echo'
 3108 fi
 3109 
 3110 # func_echo_all arg...
 3111 # Invoke $ECHO with all args, space-separated.
 3112 func_echo_all ()
 3113 {
 3114     $ECHO "" 
 3115 }
 3116 
 3117 case "$ECHO" in
 3118   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 3119 $as_echo "printf" >&6; } ;;
 3120   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 3121 $as_echo "print -r" >&6; } ;;
 3122   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 3123 $as_echo "cat" >&6; } ;;
 3124 esac
 3125 
 3126 
 3127 
 3128 
 3129     
 3130     
 3131     
 3132 
 3133 
 3134     
 3135     
 3136     
 3137 
 3138 
 3139 DEPDIR="${am__leading_dot}deps"
 3140 
 3141 ac_config_commands="$ac_config_commands depfiles"
 3142 
 3143 
 3144 am_make=${MAKE-make}
 3145 cat > confinc << 'END'
 3146 am__doit:
 3147 	@echo this is the am__doit target
 3148 .PHONY: am__doit
 3149 END
 3150 # If we don't find an include directive, just comment out the code.
 3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 3152 $as_echo_n "checking for style of include used by $am_make... " >&6; }
 3153 am__include="#"
 3154 am__quote=
 3155 _am_result=none
 3156 # First try GNU make style include.
 3157 echo "include confinc" > confmf
 3158 # Ignore all kinds of additional output from 'make'.
 3159 case `$am_make -s -f confmf 2> /dev/null` in #(
 3160 *the\ am__doit\ target*)
 3161   am__include=include
 3162   am__quote=
 3163   _am_result=GNU
 3164   ;;
 3165 esac
 3166 # Now try BSD make style include.
 3167 if test "$am__include" = "#"; then
 3168    echo '.include "confinc"' > confmf
 3169    case `$am_make -s -f confmf 2> /dev/null` in #(
 3170    *the\ am__doit\ target*)
 3171      am__include=.include
 3172      am__quote="\""
 3173      _am_result=BSD
 3174      ;;
 3175    esac
 3176 fi
 3177 
 3178 
 3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 3180 $as_echo "$_am_result" >&6; }
 3181 rm -f confinc confmf
 3182 
 3183 @%:@ Check whether --enable-dependency-tracking was given.
 3184 if test "${enable_dependency_tracking+set}" = set; then :
 3185   enableval=$enable_dependency_tracking; 
 3186 fi
 3187 
 3188 if test "x$enable_dependency_tracking" != xno; then
 3189   am_depcomp="$ac_aux_dir/depcomp"
 3190   AMDEPBACKSLASH='\'
 3191   am__nodep='_no'
 3192 fi
 3193  if test "x$enable_dependency_tracking" != xno; then
 3194   AMDEP_TRUE=
 3195   AMDEP_FALSE='#'
 3196 else
 3197   AMDEP_TRUE='#'
 3198   AMDEP_FALSE=
 3199 fi
 3200 
 3201 
 3202 ac_ext=c
 3203 ac_cpp='$CPP $CPPFLAGS'
 3204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3207 if test -n "$ac_tool_prefix"; then
 3208   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 3209 set dummy ${ac_tool_prefix}gcc; 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 ${ac_cv_prog_CC+:} false; then :
 3213   $as_echo_n "(cached) " >&6
 3214 else
 3215   if test -n "$CC"; then
 3216   ac_cv_prog_CC="$CC" # Let the user override the test.
 3217 else
 3218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3219 for as_dir in $PATH
 3220 do
 3221   IFS=$as_save_IFS
 3222   test -z "$as_dir" && as_dir=.
 3223     for ac_exec_ext in '' $ac_executable_extensions; do
 3224   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3225     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 3226     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3227     break 2
 3228   fi
 3229 done
 3230   done
 3231 IFS=$as_save_IFS
 3232 
 3233 fi
 3234 fi
 3235 CC=$ac_cv_prog_CC
 3236 if test -n "$CC"; then
 3237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3238 $as_echo "$CC" >&6; }
 3239 else
 3240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3241 $as_echo "no" >&6; }
 3242 fi
 3243 
 3244 
 3245 fi
 3246 if test -z "$ac_cv_prog_CC"; then
 3247   ac_ct_CC=$CC
 3248   # Extract the first word of "gcc", so it can be a program name with args.
 3249 set dummy gcc; ac_word=$2
 3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3251 $as_echo_n "checking for $ac_word... " >&6; }
 3252 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3253   $as_echo_n "(cached) " >&6
 3254 else
 3255   if test -n "$ac_ct_CC"; then
 3256   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3257 else
 3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3259 for as_dir in $PATH
 3260 do
 3261   IFS=$as_save_IFS
 3262   test -z "$as_dir" && as_dir=.
 3263     for ac_exec_ext in '' $ac_executable_extensions; do
 3264   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3265     ac_cv_prog_ac_ct_CC="gcc"
 3266     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3267     break 2
 3268   fi
 3269 done
 3270   done
 3271 IFS=$as_save_IFS
 3272 
 3273 fi
 3274 fi
 3275 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3276 if test -n "$ac_ct_CC"; then
 3277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3278 $as_echo "$ac_ct_CC" >&6; }
 3279 else
 3280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3281 $as_echo "no" >&6; }
 3282 fi
 3283 
 3284   if test "x$ac_ct_CC" = x; then
 3285     CC=""
 3286   else
 3287     case $cross_compiling:$ac_tool_warned in
 3288 yes:)
 3289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3291 ac_tool_warned=yes ;;
 3292 esac
 3293     CC=$ac_ct_CC
 3294   fi
 3295 else
 3296   CC="$ac_cv_prog_CC"
 3297 fi
 3298 
 3299 if test -z "$CC"; then
 3300           if test -n "$ac_tool_prefix"; then
 3301     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 3302 set dummy ${ac_tool_prefix}cc; ac_word=$2
 3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3304 $as_echo_n "checking for $ac_word... " >&6; }
 3305 if ${ac_cv_prog_CC+:} false; then :
 3306   $as_echo_n "(cached) " >&6
 3307 else
 3308   if test -n "$CC"; then
 3309   ac_cv_prog_CC="$CC" # Let the user override the test.
 3310 else
 3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3312 for as_dir in $PATH
 3313 do
 3314   IFS=$as_save_IFS
 3315   test -z "$as_dir" && as_dir=.
 3316     for ac_exec_ext in '' $ac_executable_extensions; do
 3317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3318     ac_cv_prog_CC="${ac_tool_prefix}cc"
 3319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3320     break 2
 3321   fi
 3322 done
 3323   done
 3324 IFS=$as_save_IFS
 3325 
 3326 fi
 3327 fi
 3328 CC=$ac_cv_prog_CC
 3329 if test -n "$CC"; then
 3330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3331 $as_echo "$CC" >&6; }
 3332 else
 3333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3334 $as_echo "no" >&6; }
 3335 fi
 3336 
 3337 
 3338   fi
 3339 fi
 3340 if test -z "$CC"; then
 3341   # Extract the first word of "cc", so it can be a program name with args.
 3342 set dummy cc; ac_word=$2
 3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3344 $as_echo_n "checking for $ac_word... " >&6; }
 3345 if ${ac_cv_prog_CC+:} false; then :
 3346   $as_echo_n "(cached) " >&6
 3347 else
 3348   if test -n "$CC"; then
 3349   ac_cv_prog_CC="$CC" # Let the user override the test.
 3350 else
 3351   ac_prog_rejected=no
 3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3353 for as_dir in $PATH
 3354 do
 3355   IFS=$as_save_IFS
 3356   test -z "$as_dir" && as_dir=.
 3357     for ac_exec_ext in '' $ac_executable_extensions; do
 3358   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3359     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 3360        ac_prog_rejected=yes
 3361        continue
 3362      fi
 3363     ac_cv_prog_CC="cc"
 3364     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3365     break 2
 3366   fi
 3367 done
 3368   done
 3369 IFS=$as_save_IFS
 3370 
 3371 if test $ac_prog_rejected = yes; then
 3372   # We found a bogon in the path, so make sure we never use it.
 3373   set dummy $ac_cv_prog_CC
 3374   shift
 3375   if test $@%:@ != 0; then
 3376     # We chose a different compiler from the bogus one.
 3377     # However, it has the same basename, so the bogon will be chosen
 3378     # first if we set CC to just the basename; use the full file name.
 3379     shift
 3380     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 3381   fi
 3382 fi
 3383 fi
 3384 fi
 3385 CC=$ac_cv_prog_CC
 3386 if test -n "$CC"; then
 3387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3388 $as_echo "$CC" >&6; }
 3389 else
 3390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3391 $as_echo "no" >&6; }
 3392 fi
 3393 
 3394 
 3395 fi
 3396 if test -z "$CC"; then
 3397   if test -n "$ac_tool_prefix"; then
 3398   for ac_prog in cl.exe
 3399   do
 3400     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3401 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3403 $as_echo_n "checking for $ac_word... " >&6; }
 3404 if ${ac_cv_prog_CC+:} false; then :
 3405   $as_echo_n "(cached) " >&6
 3406 else
 3407   if test -n "$CC"; then
 3408   ac_cv_prog_CC="$CC" # Let the user override the test.
 3409 else
 3410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3411 for as_dir in $PATH
 3412 do
 3413   IFS=$as_save_IFS
 3414   test -z "$as_dir" && as_dir=.
 3415     for ac_exec_ext in '' $ac_executable_extensions; do
 3416   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3417     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3419     break 2
 3420   fi
 3421 done
 3422   done
 3423 IFS=$as_save_IFS
 3424 
 3425 fi
 3426 fi
 3427 CC=$ac_cv_prog_CC
 3428 if test -n "$CC"; then
 3429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3430 $as_echo "$CC" >&6; }
 3431 else
 3432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3433 $as_echo "no" >&6; }
 3434 fi
 3435 
 3436 
 3437     test -n "$CC" && break
 3438   done
 3439 fi
 3440 if test -z "$CC"; then
 3441   ac_ct_CC=$CC
 3442   for ac_prog in cl.exe
 3443 do
 3444   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3445 set dummy $ac_prog; ac_word=$2
 3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3447 $as_echo_n "checking for $ac_word... " >&6; }
 3448 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3449   $as_echo_n "(cached) " >&6
 3450 else
 3451   if test -n "$ac_ct_CC"; then
 3452   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3453 else
 3454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3455 for as_dir in $PATH
 3456 do
 3457   IFS=$as_save_IFS
 3458   test -z "$as_dir" && as_dir=.
 3459     for ac_exec_ext in '' $ac_executable_extensions; do
 3460   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3461     ac_cv_prog_ac_ct_CC="$ac_prog"
 3462     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3463     break 2
 3464   fi
 3465 done
 3466   done
 3467 IFS=$as_save_IFS
 3468 
 3469 fi
 3470 fi
 3471 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3472 if test -n "$ac_ct_CC"; then
 3473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3474 $as_echo "$ac_ct_CC" >&6; }
 3475 else
 3476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3477 $as_echo "no" >&6; }
 3478 fi
 3479 
 3480 
 3481   test -n "$ac_ct_CC" && break
 3482 done
 3483 
 3484   if test "x$ac_ct_CC" = x; then
 3485     CC=""
 3486   else
 3487     case $cross_compiling:$ac_tool_warned in
 3488 yes:)
 3489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3491 ac_tool_warned=yes ;;
 3492 esac
 3493     CC=$ac_ct_CC
 3494   fi
 3495 fi
 3496 
 3497 fi
 3498 
 3499 
 3500 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3502 as_fn_error $? "no acceptable C compiler found in \$PATH
 3503 See \`config.log' for more details" "$LINENO" 5; }
 3504 
 3505 # Provide some information about the compiler.
 3506 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3507 set X $ac_compile
 3508 ac_compiler=$2
 3509 for ac_option in --version -v -V -qversion; do
 3510   { { ac_try="$ac_compiler $ac_option >&5"
 3511 case "(($ac_try" in
 3512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3513   *) ac_try_echo=$ac_try;;
 3514 esac
 3515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3516 $as_echo "$ac_try_echo"; } >&5
 3517   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3518   ac_status=$?
 3519   if test -s conftest.err; then
 3520     sed '10a\
 3521 ... rest of stderr output deleted ...
 3522          10q' conftest.err >conftest.er1
 3523     cat conftest.er1 >&5
 3524   fi
 3525   rm -f conftest.er1 conftest.err
 3526   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3527   test $ac_status = 0; }
 3528 done
 3529 
 3530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3531 /* end confdefs.h.  */
 3532 
 3533 int
 3534 main ()
 3535 {
 3536 
 3537   ;
 3538   return 0;
 3539 }
 3540 _ACEOF
 3541 ac_clean_files_save=$ac_clean_files
 3542 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3543 # Try to create an executable without -o first, disregard a.out.
 3544 # It will help us diagnose broken compilers, and finding out an intuition
 3545 # of exeext.
 3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3547 $as_echo_n "checking whether the C compiler works... " >&6; }
 3548 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3549 
 3550 # The possible output files:
 3551 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3552 
 3553 ac_rmfiles=
 3554 for ac_file in $ac_files
 3555 do
 3556   case $ac_file in
 3557     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3558     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3559   esac
 3560 done
 3561 rm -f $ac_rmfiles
 3562 
 3563 if { { ac_try="$ac_link_default"
 3564 case "(($ac_try" in
 3565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3566   *) ac_try_echo=$ac_try;;
 3567 esac
 3568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3569 $as_echo "$ac_try_echo"; } >&5
 3570   (eval "$ac_link_default") 2>&5
 3571   ac_status=$?
 3572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3573   test $ac_status = 0; }; then :
 3574   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3575 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3576 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3577 # so that the user can short-circuit this test for compilers unknown to
 3578 # Autoconf.
 3579 for ac_file in $ac_files ''
 3580 do
 3581   test -f "$ac_file" || continue
 3582   case $ac_file in
 3583     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3584 	;;
 3585     [ab].out )
 3586 	# We found the default executable, but exeext='' is most
 3587 	# certainly right.
 3588 	break;;
 3589     *.* )
 3590 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3591 	then :; else
 3592 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3593 	fi
 3594 	# We set ac_cv_exeext here because the later test for it is not
 3595 	# safe: cross compilers may not add the suffix if given an `-o'
 3596 	# argument, so we may need to know it at that point already.
 3597 	# Even if this section looks crufty: it has the advantage of
 3598 	# actually working.
 3599 	break;;
 3600     * )
 3601 	break;;
 3602   esac
 3603 done
 3604 test "$ac_cv_exeext" = no && ac_cv_exeext=
 3605 
 3606 else
 3607   ac_file=''
 3608 fi
 3609 if test -z "$ac_file"; then :
 3610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3611 $as_echo "no" >&6; }
 3612 $as_echo "$as_me: failed program was:" >&5
 3613 sed 's/^/| /' conftest.$ac_ext >&5
 3614 
 3615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3617 as_fn_error 77 "C compiler cannot create executables
 3618 See \`config.log' for more details" "$LINENO" 5; }
 3619 else
 3620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3621 $as_echo "yes" >&6; }
 3622 fi
 3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3624 $as_echo_n "checking for C compiler default output file name... " >&6; }
 3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3626 $as_echo "$ac_file" >&6; }
 3627 ac_exeext=$ac_cv_exeext
 3628 
 3629 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3630 ac_clean_files=$ac_clean_files_save
 3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3632 $as_echo_n "checking for suffix of executables... " >&6; }
 3633 if { { ac_try="$ac_link"
 3634 case "(($ac_try" in
 3635   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3636   *) ac_try_echo=$ac_try;;
 3637 esac
 3638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3639 $as_echo "$ac_try_echo"; } >&5
 3640   (eval "$ac_link") 2>&5
 3641   ac_status=$?
 3642   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3643   test $ac_status = 0; }; then :
 3644   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3645 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3646 # work properly (i.e., refer to `conftest.exe'), while it won't with
 3647 # `rm'.
 3648 for ac_file in conftest.exe conftest conftest.*; do
 3649   test -f "$ac_file" || continue
 3650   case $ac_file in
 3651     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3652     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3653 	  break;;
 3654     * ) break;;
 3655   esac
 3656 done
 3657 else
 3658   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3660 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 3661 See \`config.log' for more details" "$LINENO" 5; }
 3662 fi
 3663 rm -f conftest conftest$ac_cv_exeext
 3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3665 $as_echo "$ac_cv_exeext" >&6; }
 3666 
 3667 rm -f conftest.$ac_ext
 3668 EXEEXT=$ac_cv_exeext
 3669 ac_exeext=$EXEEXT
 3670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3671 /* end confdefs.h.  */
 3672 @%:@include <stdio.h>
 3673 int
 3674 main ()
 3675 {
 3676 FILE *f = fopen ("conftest.out", "w");
 3677  return ferror (f) || fclose (f) != 0;
 3678 
 3679   ;
 3680   return 0;
 3681 }
 3682 _ACEOF
 3683 ac_clean_files="$ac_clean_files conftest.out"
 3684 # Check that the compiler produces executables we can run.  If not, either
 3685 # the compiler is broken, or we cross compile.
 3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3687 $as_echo_n "checking whether we are cross compiling... " >&6; }
 3688 if test "$cross_compiling" != yes; then
 3689   { { ac_try="$ac_link"
 3690 case "(($ac_try" in
 3691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3692   *) ac_try_echo=$ac_try;;
 3693 esac
 3694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3695 $as_echo "$ac_try_echo"; } >&5
 3696   (eval "$ac_link") 2>&5
 3697   ac_status=$?
 3698   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3699   test $ac_status = 0; }
 3700   if { ac_try='./conftest$ac_cv_exeext'
 3701   { { case "(($ac_try" in
 3702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3703   *) ac_try_echo=$ac_try;;
 3704 esac
 3705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3706 $as_echo "$ac_try_echo"; } >&5
 3707   (eval "$ac_try") 2>&5
 3708   ac_status=$?
 3709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3710   test $ac_status = 0; }; }; then
 3711     cross_compiling=no
 3712   else
 3713     if test "$cross_compiling" = maybe; then
 3714 	cross_compiling=yes
 3715     else
 3716 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3718 as_fn_error $? "cannot run C compiled programs.
 3719 If you meant to cross compile, use \`--host'.
 3720 See \`config.log' for more details" "$LINENO" 5; }
 3721     fi
 3722   fi
 3723 fi
 3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3725 $as_echo "$cross_compiling" >&6; }
 3726 
 3727 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3728 ac_clean_files=$ac_clean_files_save
 3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3730 $as_echo_n "checking for suffix of object files... " >&6; }
 3731 if ${ac_cv_objext+:} false; then :
 3732   $as_echo_n "(cached) " >&6
 3733 else
 3734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3735 /* end confdefs.h.  */
 3736 
 3737 int
 3738 main ()
 3739 {
 3740 
 3741   ;
 3742   return 0;
 3743 }
 3744 _ACEOF
 3745 rm -f conftest.o conftest.obj
 3746 if { { ac_try="$ac_compile"
 3747 case "(($ac_try" in
 3748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3749   *) ac_try_echo=$ac_try;;
 3750 esac
 3751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3752 $as_echo "$ac_try_echo"; } >&5
 3753   (eval "$ac_compile") 2>&5
 3754   ac_status=$?
 3755   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3756   test $ac_status = 0; }; then :
 3757   for ac_file in conftest.o conftest.obj conftest.*; do
 3758   test -f "$ac_file" || continue;
 3759   case $ac_file in
 3760     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3761     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3762        break;;
 3763   esac
 3764 done
 3765 else
 3766   $as_echo "$as_me: failed program was:" >&5
 3767 sed 's/^/| /' conftest.$ac_ext >&5
 3768 
 3769 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3770 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3771 as_fn_error $? "cannot compute suffix of object files: cannot compile
 3772 See \`config.log' for more details" "$LINENO" 5; }
 3773 fi
 3774 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3775 fi
 3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3777 $as_echo "$ac_cv_objext" >&6; }
 3778 OBJEXT=$ac_cv_objext
 3779 ac_objext=$OBJEXT
 3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3781 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3782 if ${ac_cv_c_compiler_gnu+:} false; then :
 3783   $as_echo_n "(cached) " >&6
 3784 else
 3785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3786 /* end confdefs.h.  */
 3787 
 3788 int
 3789 main ()
 3790 {
 3791 #ifndef __GNUC__
 3792        choke me
 3793 #endif
 3794 
 3795   ;
 3796   return 0;
 3797 }
 3798 _ACEOF
 3799 if ac_fn_c_try_compile "$LINENO"; then :
 3800   ac_compiler_gnu=yes
 3801 else
 3802   ac_compiler_gnu=no
 3803 fi
 3804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3805 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3806 
 3807 fi
 3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3809 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3810 if test $ac_compiler_gnu = yes; then
 3811   GCC=yes
 3812 else
 3813   GCC=
 3814 fi
 3815 ac_test_CFLAGS=${CFLAGS+set}
 3816 ac_save_CFLAGS=$CFLAGS
 3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3818 $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3819 if ${ac_cv_prog_cc_g+:} false; then :
 3820   $as_echo_n "(cached) " >&6
 3821 else
 3822   ac_save_c_werror_flag=$ac_c_werror_flag
 3823    ac_c_werror_flag=yes
 3824    ac_cv_prog_cc_g=no
 3825    CFLAGS="-g"
 3826    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3827 /* end confdefs.h.  */
 3828 
 3829 int
 3830 main ()
 3831 {
 3832 
 3833   ;
 3834   return 0;
 3835 }
 3836 _ACEOF
 3837 if ac_fn_c_try_compile "$LINENO"; then :
 3838   ac_cv_prog_cc_g=yes
 3839 else
 3840   CFLAGS=""
 3841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3842 /* end confdefs.h.  */
 3843 
 3844 int
 3845 main ()
 3846 {
 3847 
 3848   ;
 3849   return 0;
 3850 }
 3851 _ACEOF
 3852 if ac_fn_c_try_compile "$LINENO"; then :
 3853   
 3854 else
 3855   ac_c_werror_flag=$ac_save_c_werror_flag
 3856 	 CFLAGS="-g"
 3857 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3858 /* end confdefs.h.  */
 3859 
 3860 int
 3861 main ()
 3862 {
 3863 
 3864   ;
 3865   return 0;
 3866 }
 3867 _ACEOF
 3868 if ac_fn_c_try_compile "$LINENO"; then :
 3869   ac_cv_prog_cc_g=yes
 3870 fi
 3871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3872 fi
 3873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3874 fi
 3875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3876    ac_c_werror_flag=$ac_save_c_werror_flag
 3877 fi
 3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3879 $as_echo "$ac_cv_prog_cc_g" >&6; }
 3880 if test "$ac_test_CFLAGS" = set; then
 3881   CFLAGS=$ac_save_CFLAGS
 3882 elif test $ac_cv_prog_cc_g = yes; then
 3883   if test "$GCC" = yes; then
 3884     CFLAGS="-g -O2"
 3885   else
 3886     CFLAGS="-g"
 3887   fi
 3888 else
 3889   if test "$GCC" = yes; then
 3890     CFLAGS="-O2"
 3891   else
 3892     CFLAGS=
 3893   fi
 3894 fi
 3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3896 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3897 if ${ac_cv_prog_cc_c89+:} false; then :
 3898   $as_echo_n "(cached) " >&6
 3899 else
 3900   ac_cv_prog_cc_c89=no
 3901 ac_save_CC=$CC
 3902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3903 /* end confdefs.h.  */
 3904 #include <stdarg.h>
 3905 #include <stdio.h>
 3906 struct stat;
 3907 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3908 struct buf { int x; };
 3909 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3910 static char *e (p, i)
 3911      char **p;
 3912      int i;
 3913 {
 3914   return p[i];
 3915 }
 3916 static char *f (char * (*g) (char **, int), char **p, ...)
 3917 {
 3918   char *s;
 3919   va_list v;
 3920   va_start (v,p);
 3921   s = g (p, va_arg (v,int));
 3922   va_end (v);
 3923   return s;
 3924 }
 3925 
 3926 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3927    function prototypes and stuff, but not '\xHH' hex character constants.
 3928    These don't provoke an error unfortunately, instead are silently treated
 3929    as 'x'.  The following induces an error, until -std is added to get
 3930    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3931    array size at least.  It's necessary to write '\x00'==0 to get something
 3932    that's true only with -std.  */
 3933 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3934 
 3935 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3936    inside strings and character constants.  */
 3937 #define FOO(x) 'x'
 3938 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3939 
 3940 int test (int i, double x);
 3941 struct s1 {int (*f) (int a);};
 3942 struct s2 {int (*f) (double a);};
 3943 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3944 int argc;
 3945 char **argv;
 3946 int
 3947 main ()
 3948 {
 3949 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3950   ;
 3951   return 0;
 3952 }
 3953 _ACEOF
 3954 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3955 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3956 do
 3957   CC="$ac_save_CC $ac_arg"
 3958   if ac_fn_c_try_compile "$LINENO"; then :
 3959   ac_cv_prog_cc_c89=$ac_arg
 3960 fi
 3961 rm -f core conftest.err conftest.$ac_objext
 3962   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3963 done
 3964 rm -f conftest.$ac_ext
 3965 CC=$ac_save_CC
 3966 
 3967 fi
 3968 # AC_CACHE_VAL
 3969 case "x$ac_cv_prog_cc_c89" in
 3970   x)
 3971     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3972 $as_echo "none needed" >&6; } ;;
 3973   xno)
 3974     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3975 $as_echo "unsupported" >&6; } ;;
 3976   *)
 3977     CC="$CC $ac_cv_prog_cc_c89"
 3978     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3979 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3980 esac
 3981 if test "x$ac_cv_prog_cc_c89" != xno; then :
 3982   
 3983 fi
 3984 
 3985 ac_ext=c
 3986 ac_cpp='$CPP $CPPFLAGS'
 3987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3990 
 3991 depcc="$CC"   am_compiler_list=
 3992 
 3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 3994 $as_echo_n "checking dependency style of $depcc... " >&6; }
 3995 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 3996   $as_echo_n "(cached) " >&6
 3997 else
 3998   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3999   # We make a subdir and do the tests there.  Otherwise we can end up
 4000   # making bogus files that we don't know about and never remove.  For
 4001   # instance it was reported that on HP-UX the gcc test will end up
 4002   # making a dummy file named 'D' -- because '-MD' means "put the output
 4003   # in D".
 4004   rm -rf conftest.dir
 4005   mkdir conftest.dir
 4006   # Copy depcomp to subdir because otherwise we won't find it if we're
 4007   # using a relative directory.
 4008   cp "$am_depcomp" conftest.dir
 4009   cd conftest.dir
 4010   # We will build objects and dependencies in a subdirectory because
 4011   # it helps to detect inapplicable dependency modes.  For instance
 4012   # both Tru64's cc and ICC support -MD to output dependencies as a
 4013   # side effect of compilation, but ICC will put the dependencies in
 4014   # the current directory while Tru64 will put them in the object
 4015   # directory.
 4016   mkdir sub
 4017 
 4018   am_cv_CC_dependencies_compiler_type=none
 4019   if test "$am_compiler_list" = ""; then
 4020      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4021   fi
 4022   am__universal=false
 4023   case " $depcc " in #(
 4024      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4025      esac
 4026 
 4027   for depmode in $am_compiler_list; do
 4028     # Setup a source with many dependencies, because some compilers
 4029     # like to wrap large dependency lists on column 80 (with \), and
 4030     # we should not choose a depcomp mode which is confused by this.
 4031     #
 4032     # We need to recreate these files for each test, as the compiler may
 4033     # overwrite some of them when testing with obscure command lines.
 4034     # This happens at least with the AIX C compiler.
 4035     : > sub/conftest.c
 4036     for i in 1 2 3 4 5 6; do
 4037       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4038       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 4039       # Solaris 10 /bin/sh.
 4040       echo '/* dummy */' > sub/conftst$i.h
 4041     done
 4042     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4043 
 4044     # We check with '-c' and '-o' for the sake of the "dashmstdout"
 4045     # mode.  It turns out that the SunPro C++ compiler does not properly
 4046     # handle '-M -o', and we need to detect this.  Also, some Intel
 4047     # versions had trouble with output in subdirs.
 4048     am__obj=sub/conftest.${OBJEXT-o}
 4049     am__minus_obj="-o $am__obj"
 4050     case $depmode in
 4051     gcc)
 4052       # This depmode causes a compiler race in universal mode.
 4053       test "$am__universal" = false || continue
 4054       ;;
 4055     nosideeffect)
 4056       # After this tag, mechanisms are not by side-effect, so they'll
 4057       # only be used when explicitly requested.
 4058       if test "x$enable_dependency_tracking" = xyes; then
 4059 	continue
 4060       else
 4061 	break
 4062       fi
 4063       ;;
 4064     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 4065       # This compiler won't grok '-c -o', but also, the minuso test has
 4066       # not run yet.  These depmodes are late enough in the game, and
 4067       # so weak that their functioning should not be impacted.
 4068       am__obj=conftest.${OBJEXT-o}
 4069       am__minus_obj=
 4070       ;;
 4071     none) break ;;
 4072     esac
 4073     if depmode=$depmode \
 4074        source=sub/conftest.c object=$am__obj \
 4075        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4076        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4077          >/dev/null 2>conftest.err &&
 4078        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4079        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4080        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4081        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4082       # icc doesn't choke on unknown options, it will just issue warnings
 4083       # or remarks (even with -Werror).  So we grep stderr for any message
 4084       # that says an option was ignored or not supported.
 4085       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4086       #   icc: Command line warning: ignoring option '-M'; no argument required
 4087       # The diagnosis changed in icc 8.0:
 4088       #   icc: Command line remark: option '-MP' not supported
 4089       if (grep 'ignoring option' conftest.err ||
 4090           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4091         am_cv_CC_dependencies_compiler_type=$depmode
 4092         break
 4093       fi
 4094     fi
 4095   done
 4096 
 4097   cd ..
 4098   rm -rf conftest.dir
 4099 else
 4100   am_cv_CC_dependencies_compiler_type=none
 4101 fi
 4102 
 4103 fi
 4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 4105 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 4106 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 4107 
 4108  if 
 4109   test "x$enable_dependency_tracking" != xno \
 4110   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 4111   am__fastdepCC_TRUE=
 4112   am__fastdepCC_FALSE='#'
 4113 else
 4114   am__fastdepCC_TRUE='#'
 4115   am__fastdepCC_FALSE=
 4116 fi
 4117 
 4118 
 4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 4120 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
 4121 if ${ac_cv_path_SED+:} false; then :
 4122   $as_echo_n "(cached) " >&6
 4123 else
 4124             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 4125      for ac_i in 1 2 3 4 5 6 7; do
 4126        ac_script="$ac_script$as_nl$ac_script"
 4127      done
 4128      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 4129      { ac_script=; unset ac_script;}
 4130      if test -z "$SED"; then
 4131   ac_path_SED_found=false
 4132   # Loop through the user's path and test for each of PROGNAME-LIST
 4133   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4134 for as_dir in $PATH
 4135 do
 4136   IFS=$as_save_IFS
 4137   test -z "$as_dir" && as_dir=.
 4138     for ac_prog in sed gsed; do
 4139     for ac_exec_ext in '' $ac_executable_extensions; do
 4140       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 4141       as_fn_executable_p "$ac_path_SED" || continue
 4142 # Check for GNU ac_path_SED and select it if it is found.
 4143   # Check for GNU $ac_path_SED
 4144 case `"$ac_path_SED" --version 2>&1` in
 4145 *GNU*)
 4146   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 4147 *)
 4148   ac_count=0
 4149   $as_echo_n 0123456789 >"conftest.in"
 4150   while :
 4151   do
 4152     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4153     mv "conftest.tmp" "conftest.in"
 4154     cp "conftest.in" "conftest.nl"
 4155     $as_echo '' >> "conftest.nl"
 4156     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4157     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4158     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4159     if test $ac_count -gt ${ac_path_SED_max-0}; then
 4160       # Best one so far, save it but keep looking for a better one
 4161       ac_cv_path_SED="$ac_path_SED"
 4162       ac_path_SED_max=$ac_count
 4163     fi
 4164     # 10*(2^10) chars as input seems more than enough
 4165     test $ac_count -gt 10 && break
 4166   done
 4167   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4168 esac
 4169 
 4170       $ac_path_SED_found && break 3
 4171     done
 4172   done
 4173   done
 4174 IFS=$as_save_IFS
 4175   if test -z "$ac_cv_path_SED"; then
 4176     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 4177   fi
 4178 else
 4179   ac_cv_path_SED=$SED
 4180 fi
 4181 
 4182 fi
 4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 4184 $as_echo "$ac_cv_path_SED" >&6; }
 4185  SED="$ac_cv_path_SED"
 4186   rm -f conftest.sed
 4187 
 4188 test -z "$SED" && SED=sed
 4189 Xsed="$SED -e 1s/^X//"
 4190 
 4191     
 4192     
 4193     
 4194 
 4195 
 4196     
 4197     
 4198     
 4199 
 4200 
 4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 4202 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 4203 if ${ac_cv_path_GREP+:} false; then :
 4204   $as_echo_n "(cached) " >&6
 4205 else
 4206   if test -z "$GREP"; then
 4207   ac_path_GREP_found=false
 4208   # Loop through the user's path and test for each of PROGNAME-LIST
 4209   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4210 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4211 do
 4212   IFS=$as_save_IFS
 4213   test -z "$as_dir" && as_dir=.
 4214     for ac_prog in grep ggrep; do
 4215     for ac_exec_ext in '' $ac_executable_extensions; do
 4216       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 4217       as_fn_executable_p "$ac_path_GREP" || continue
 4218 # Check for GNU ac_path_GREP and select it if it is found.
 4219   # Check for GNU $ac_path_GREP
 4220 case `"$ac_path_GREP" --version 2>&1` in
 4221 *GNU*)
 4222   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 4223 *)
 4224   ac_count=0
 4225   $as_echo_n 0123456789 >"conftest.in"
 4226   while :
 4227   do
 4228     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4229     mv "conftest.tmp" "conftest.in"
 4230     cp "conftest.in" "conftest.nl"
 4231     $as_echo 'GREP' >> "conftest.nl"
 4232     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4233     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4234     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4235     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 4236       # Best one so far, save it but keep looking for a better one
 4237       ac_cv_path_GREP="$ac_path_GREP"
 4238       ac_path_GREP_max=$ac_count
 4239     fi
 4240     # 10*(2^10) chars as input seems more than enough
 4241     test $ac_count -gt 10 && break
 4242   done
 4243   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4244 esac
 4245 
 4246       $ac_path_GREP_found && break 3
 4247     done
 4248   done
 4249   done
 4250 IFS=$as_save_IFS
 4251   if test -z "$ac_cv_path_GREP"; then
 4252     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4253   fi
 4254 else
 4255   ac_cv_path_GREP=$GREP
 4256 fi
 4257 
 4258 fi
 4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 4260 $as_echo "$ac_cv_path_GREP" >&6; }
 4261  GREP="$ac_cv_path_GREP"
 4262  
 4263 
 4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 4265 $as_echo_n "checking for egrep... " >&6; }
 4266 if ${ac_cv_path_EGREP+:} false; then :
 4267   $as_echo_n "(cached) " >&6
 4268 else
 4269   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 4270    then ac_cv_path_EGREP="$GREP -E"
 4271    else
 4272      if test -z "$EGREP"; then
 4273   ac_path_EGREP_found=false
 4274   # Loop through the user's path and test for each of PROGNAME-LIST
 4275   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4276 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4277 do
 4278   IFS=$as_save_IFS
 4279   test -z "$as_dir" && as_dir=.
 4280     for ac_prog in egrep; do
 4281     for ac_exec_ext in '' $ac_executable_extensions; do
 4282       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 4283       as_fn_executable_p "$ac_path_EGREP" || continue
 4284 # Check for GNU ac_path_EGREP and select it if it is found.
 4285   # Check for GNU $ac_path_EGREP
 4286 case `"$ac_path_EGREP" --version 2>&1` in
 4287 *GNU*)
 4288   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 4289 *)
 4290   ac_count=0
 4291   $as_echo_n 0123456789 >"conftest.in"
 4292   while :
 4293   do
 4294     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4295     mv "conftest.tmp" "conftest.in"
 4296     cp "conftest.in" "conftest.nl"
 4297     $as_echo 'EGREP' >> "conftest.nl"
 4298     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4299     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4300     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4301     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 4302       # Best one so far, save it but keep looking for a better one
 4303       ac_cv_path_EGREP="$ac_path_EGREP"
 4304       ac_path_EGREP_max=$ac_count
 4305     fi
 4306     # 10*(2^10) chars as input seems more than enough
 4307     test $ac_count -gt 10 && break
 4308   done
 4309   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4310 esac
 4311 
 4312       $ac_path_EGREP_found && break 3
 4313     done
 4314   done
 4315   done
 4316 IFS=$as_save_IFS
 4317   if test -z "$ac_cv_path_EGREP"; then
 4318     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4319   fi
 4320 else
 4321   ac_cv_path_EGREP=$EGREP
 4322 fi
 4323 
 4324    fi
 4325 fi
 4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 4327 $as_echo "$ac_cv_path_EGREP" >&6; }
 4328  EGREP="$ac_cv_path_EGREP"
 4329  
 4330 
 4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 4332 $as_echo_n "checking for fgrep... " >&6; }
 4333 if ${ac_cv_path_FGREP+:} false; then :
 4334   $as_echo_n "(cached) " >&6
 4335 else
 4336   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 4337    then ac_cv_path_FGREP="$GREP -F"
 4338    else
 4339      if test -z "$FGREP"; then
 4340   ac_path_FGREP_found=false
 4341   # Loop through the user's path and test for each of PROGNAME-LIST
 4342   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4343 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4344 do
 4345   IFS=$as_save_IFS
 4346   test -z "$as_dir" && as_dir=.
 4347     for ac_prog in fgrep; do
 4348     for ac_exec_ext in '' $ac_executable_extensions; do
 4349       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 4350       as_fn_executable_p "$ac_path_FGREP" || continue
 4351 # Check for GNU ac_path_FGREP and select it if it is found.
 4352   # Check for GNU $ac_path_FGREP
 4353 case `"$ac_path_FGREP" --version 2>&1` in
 4354 *GNU*)
 4355   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 4356 *)
 4357   ac_count=0
 4358   $as_echo_n 0123456789 >"conftest.in"
 4359   while :
 4360   do
 4361     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4362     mv "conftest.tmp" "conftest.in"
 4363     cp "conftest.in" "conftest.nl"
 4364     $as_echo 'FGREP' >> "conftest.nl"
 4365     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4366     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4367     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4368     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 4369       # Best one so far, save it but keep looking for a better one
 4370       ac_cv_path_FGREP="$ac_path_FGREP"
 4371       ac_path_FGREP_max=$ac_count
 4372     fi
 4373     # 10*(2^10) chars as input seems more than enough
 4374     test $ac_count -gt 10 && break
 4375   done
 4376   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4377 esac
 4378 
 4379       $ac_path_FGREP_found && break 3
 4380     done
 4381   done
 4382   done
 4383 IFS=$as_save_IFS
 4384   if test -z "$ac_cv_path_FGREP"; then
 4385     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4386   fi
 4387 else
 4388   ac_cv_path_FGREP=$FGREP
 4389 fi
 4390 
 4391    fi
 4392 fi
 4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 4394 $as_echo "$ac_cv_path_FGREP" >&6; }
 4395  FGREP="$ac_cv_path_FGREP"
 4396  
 4397 
 4398 test -z "$GREP" && GREP=grep
 4399 
 4400     
 4401     
 4402     
 4403 
 4404 
 4405     
 4406     
 4407     
 4408 
 4409 
 4410     
 4411     
 4412     
 4413 
 4414 
 4415 
 4416 
 4417 
 4418 @%:@ Check whether --with-gnu-ld was given.
 4419 if test "${with_gnu_ld+set}" = set; then :
 4420   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 4421 else
 4422   with_gnu_ld=no
 4423 fi
 4424 
 4425 ac_prog=ld
 4426 if test "$GCC" = yes; then
 4427   # Check if gcc -print-prog-name=ld gives a path.
 4428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 4429 $as_echo_n "checking for ld used by $CC... " >&6; }
 4430   case $host in
 4431   *-*-mingw*)
 4432     # gcc leaves a trailing carriage return which upsets mingw
 4433     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 4434   *)
 4435     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 4436   esac
 4437   case $ac_prog in
 4438     # Accept absolute paths.
 4439     [\\/]* | ?:[\\/]*)
 4440       re_direlt='/[^/][^/]*/\.\./'
 4441       # Canonicalize the pathname of ld
 4442       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 4443       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 4444 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 4445       done
 4446       test -z "$LD" && LD="$ac_prog"
 4447       ;;
 4448   "")
 4449     # If it fails, then pretend we aren't using GCC.
 4450     ac_prog=ld
 4451     ;;
 4452   *)
 4453     # If it is relative, then search for the first ld in PATH.
 4454     with_gnu_ld=unknown
 4455     ;;
 4456   esac
 4457 elif test "$with_gnu_ld" = yes; then
 4458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 4459 $as_echo_n "checking for GNU ld... " >&6; }
 4460 else
 4461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 4462 $as_echo_n "checking for non-GNU ld... " >&6; }
 4463 fi
 4464 if ${lt_cv_path_LD+:} false; then :
 4465   $as_echo_n "(cached) " >&6
 4466 else
 4467   if test -z "$LD"; then
 4468   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 4469   for ac_dir in $PATH; do
 4470     IFS="$lt_save_ifs"
 4471     test -z "$ac_dir" && ac_dir=.
 4472     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 4473       lt_cv_path_LD="$ac_dir/$ac_prog"
 4474       # Check to see if the program is GNU ld.  I'd rather use --version,
 4475       # but apparently some variants of GNU ld only accept -v.
 4476       # Break only if it was the GNU/non-GNU ld that we prefer.
 4477       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 4478       *GNU* | *'with BFD'*)
 4479 	test "$with_gnu_ld" != no && break
 4480 	;;
 4481       *)
 4482 	test "$with_gnu_ld" != yes && break
 4483 	;;
 4484       esac
 4485     fi
 4486   done
 4487   IFS="$lt_save_ifs"
 4488 else
 4489   lt_cv_path_LD="$LD" # Let the user override the test with a path.
 4490 fi
 4491 fi
 4492 
 4493 LD="$lt_cv_path_LD"
 4494 if test -n "$LD"; then
 4495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 4496 $as_echo "$LD" >&6; }
 4497 else
 4498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4499 $as_echo "no" >&6; }
 4500 fi
 4501 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 4503 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 4504 if ${lt_cv_prog_gnu_ld+:} false; then :
 4505   $as_echo_n "(cached) " >&6
 4506 else
 4507   # I'd rather use --version here, but apparently some GNU lds only accept -v.
 4508 case `$LD -v 2>&1 </dev/null` in
 4509 *GNU* | *'with BFD'*)
 4510   lt_cv_prog_gnu_ld=yes
 4511   ;;
 4512 *)
 4513   lt_cv_prog_gnu_ld=no
 4514   ;;
 4515 esac
 4516 fi
 4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 4518 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
 4519 with_gnu_ld=$lt_cv_prog_gnu_ld
 4520 
 4521 
 4522 
 4523 
 4524     
 4525     
 4526     
 4527 
 4528 
 4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 4530 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 4531 if ${lt_cv_path_NM+:} false; then :
 4532   $as_echo_n "(cached) " >&6
 4533 else
 4534   if test -n "$NM"; then
 4535   # Let the user override the test.
 4536   lt_cv_path_NM="$NM"
 4537 else
 4538   lt_nm_to_check="${ac_tool_prefix}nm"
 4539   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 4540     lt_nm_to_check="$lt_nm_to_check nm"
 4541   fi
 4542   for lt_tmp_nm in $lt_nm_to_check; do
 4543     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 4544     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 4545       IFS="$lt_save_ifs"
 4546       test -z "$ac_dir" && ac_dir=.
 4547       tmp_nm="$ac_dir/$lt_tmp_nm"
 4548       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 4549 	# Check to see if the nm accepts a BSD-compat flag.
 4550 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
 4551 	#   nm: unknown option "B" ignored
 4552 	# Tru64's nm complains that /dev/null is an invalid object file
 4553 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 4554 	*/dev/null* | *'Invalid file or object type'*)
 4555 	  lt_cv_path_NM="$tmp_nm -B"
 4556 	  break
 4557 	  ;;
 4558 	*)
 4559 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 4560 	  */dev/null*)
 4561 	    lt_cv_path_NM="$tmp_nm -p"
 4562 	    break
 4563 	    ;;
 4564 	  *)
 4565 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 4566 	    continue # so that we can try to find one that supports BSD flags
 4567 	    ;;
 4568 	  esac
 4569 	  ;;
 4570 	esac
 4571       fi
 4572     done
 4573     IFS="$lt_save_ifs"
 4574   done
 4575   : ${lt_cv_path_NM=no}
 4576 fi
 4577 fi
 4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 4579 $as_echo "$lt_cv_path_NM" >&6; }
 4580 if test "$lt_cv_path_NM" != "no"; then
 4581   NM="$lt_cv_path_NM"
 4582 else
 4583   # Didn't find any BSD compatible name lister, look for dumpbin.
 4584   if test -n "$DUMPBIN"; then :
 4585     # Let the user override the test.
 4586   else
 4587     if test -n "$ac_tool_prefix"; then
 4588   for ac_prog in dumpbin "link -dump"
 4589   do
 4590     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4591 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4593 $as_echo_n "checking for $ac_word... " >&6; }
 4594 if ${ac_cv_prog_DUMPBIN+:} false; then :
 4595   $as_echo_n "(cached) " >&6
 4596 else
 4597   if test -n "$DUMPBIN"; then
 4598   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 4599 else
 4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4601 for as_dir in $PATH
 4602 do
 4603   IFS=$as_save_IFS
 4604   test -z "$as_dir" && as_dir=.
 4605     for ac_exec_ext in '' $ac_executable_extensions; do
 4606   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4607     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 4608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4609     break 2
 4610   fi
 4611 done
 4612   done
 4613 IFS=$as_save_IFS
 4614 
 4615 fi
 4616 fi
 4617 DUMPBIN=$ac_cv_prog_DUMPBIN
 4618 if test -n "$DUMPBIN"; then
 4619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 4620 $as_echo "$DUMPBIN" >&6; }
 4621 else
 4622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4623 $as_echo "no" >&6; }
 4624 fi
 4625 
 4626 
 4627     test -n "$DUMPBIN" && break
 4628   done
 4629 fi
 4630 if test -z "$DUMPBIN"; then
 4631   ac_ct_DUMPBIN=$DUMPBIN
 4632   for ac_prog in dumpbin "link -dump"
 4633 do
 4634   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4635 set dummy $ac_prog; ac_word=$2
 4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4637 $as_echo_n "checking for $ac_word... " >&6; }
 4638 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 4639   $as_echo_n "(cached) " >&6
 4640 else
 4641   if test -n "$ac_ct_DUMPBIN"; then
 4642   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 4643 else
 4644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4645 for as_dir in $PATH
 4646 do
 4647   IFS=$as_save_IFS
 4648   test -z "$as_dir" && as_dir=.
 4649     for ac_exec_ext in '' $ac_executable_extensions; do
 4650   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4651     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 4652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4653     break 2
 4654   fi
 4655 done
 4656   done
 4657 IFS=$as_save_IFS
 4658 
 4659 fi
 4660 fi
 4661 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 4662 if test -n "$ac_ct_DUMPBIN"; then
 4663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 4664 $as_echo "$ac_ct_DUMPBIN" >&6; }
 4665 else
 4666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4667 $as_echo "no" >&6; }
 4668 fi
 4669 
 4670 
 4671   test -n "$ac_ct_DUMPBIN" && break
 4672 done
 4673 
 4674   if test "x$ac_ct_DUMPBIN" = x; then
 4675     DUMPBIN=":"
 4676   else
 4677     case $cross_compiling:$ac_tool_warned in
 4678 yes:)
 4679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4681 ac_tool_warned=yes ;;
 4682 esac
 4683     DUMPBIN=$ac_ct_DUMPBIN
 4684   fi
 4685 fi
 4686 
 4687     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 4688     *COFF*)
 4689       DUMPBIN="$DUMPBIN -symbols"
 4690       ;;
 4691     *)
 4692       DUMPBIN=:
 4693       ;;
 4694     esac
 4695   fi
 4696   
 4697   if test "$DUMPBIN" != ":"; then
 4698     NM="$DUMPBIN"
 4699   fi
 4700 fi
 4701 test -z "$NM" && NM=nm
 4702 
 4703 
 4704     
 4705     
 4706     
 4707 
 4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 4709 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
 4710 if ${lt_cv_nm_interface+:} false; then :
 4711   $as_echo_n "(cached) " >&6
 4712 else
 4713   lt_cv_nm_interface="BSD nm"
 4714   echo "int some_variable = 0;" > conftest.$ac_ext
 4715   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 4716   (eval "$ac_compile" 2>conftest.err)
 4717   cat conftest.err >&5
 4718   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 4719   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 4720   cat conftest.err >&5
 4721   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 4722   cat conftest.out >&5
 4723   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 4724     lt_cv_nm_interface="MS dumpbin"
 4725   fi
 4726   rm -f conftest*
 4727 fi
 4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 4729 $as_echo "$lt_cv_nm_interface" >&6; }
 4730 
 4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 4732 $as_echo_n "checking whether ln -s works... " >&6; }
 4733 LN_S=$as_ln_s
 4734 if test "$LN_S" = "ln -s"; then
 4735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4736 $as_echo "yes" >&6; }
 4737 else
 4738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 4739 $as_echo "no, using $LN_S" >&6; }
 4740 fi
 4741 
 4742 # find the maximum length of command line arguments
 4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 4744 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
 4745 if ${lt_cv_sys_max_cmd_len+:} false; then :
 4746   $as_echo_n "(cached) " >&6
 4747 else
 4748     i=0
 4749   teststring="ABCD"
 4750 
 4751   case $build_os in
 4752   msdosdjgpp*)
 4753     # On DJGPP, this test can blow up pretty badly due to problems in libc
 4754     # (any single argument exceeding 2000 bytes causes a buffer overrun
 4755     # during glob expansion).  Even if it were fixed, the result of this
 4756     # check would be larger than it should be.
 4757     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 4758     ;;
 4759 
 4760   gnu*)
 4761     # Under GNU Hurd, this test is not required because there is
 4762     # no limit to the length of command line arguments.
 4763     # Libtool will interpret -1 as no limit whatsoever
 4764     lt_cv_sys_max_cmd_len=-1;
 4765     ;;
 4766 
 4767   cygwin* | mingw* | cegcc*)
 4768     # On Win9x/ME, this test blows up -- it succeeds, but takes
 4769     # about 5 minutes as the teststring grows exponentially.
 4770     # Worse, since 9x/ME are not pre-emptively multitasking,
 4771     # you end up with a "frozen" computer, even though with patience
 4772     # the test eventually succeeds (with a max line length of 256k).
 4773     # Instead, let's just punt: use the minimum linelength reported by
 4774     # all of the supported platforms: 8192 (on NT/2K/XP).
 4775     lt_cv_sys_max_cmd_len=8192;
 4776     ;;
 4777 
 4778   mint*)
 4779     # On MiNT this can take a long time and run out of memory.
 4780     lt_cv_sys_max_cmd_len=8192;
 4781     ;;
 4782 
 4783   amigaos*)
 4784     # On AmigaOS with pdksh, this test takes hours, literally.
 4785     # So we just punt and use a minimum line length of 8192.
 4786     lt_cv_sys_max_cmd_len=8192;
 4787     ;;
 4788 
 4789   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 4790     # This has been around since 386BSD, at least.  Likely further.
 4791     if test -x /sbin/sysctl; then
 4792       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 4793     elif test -x /usr/sbin/sysctl; then
 4794       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 4795     else
 4796       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
 4797     fi
 4798     # And add a safety zone
 4799     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 4800     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 4801     ;;
 4802 
 4803   interix*)
 4804     # We know the value 262144 and hardcode it with a safety zone (like BSD)
 4805     lt_cv_sys_max_cmd_len=196608
 4806     ;;
 4807 
 4808   os2*)
 4809     # The test takes a long time on OS/2.
 4810     lt_cv_sys_max_cmd_len=8192
 4811     ;;
 4812 
 4813   osf*)
 4814     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 4815     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 4816     # nice to cause kernel panics so lets avoid the loop below.
 4817     # First set a reasonable default.
 4818     lt_cv_sys_max_cmd_len=16384
 4819     #
 4820     if test -x /sbin/sysconfig; then
 4821       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 4822         *1*) lt_cv_sys_max_cmd_len=-1 ;;
 4823       esac
 4824     fi
 4825     ;;
 4826   sco3.2v5*)
 4827     lt_cv_sys_max_cmd_len=102400
 4828     ;;
 4829   sysv5* | sco5v6* | sysv4.2uw2*)
 4830     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 4831     if test -n "$kargmax"; then
 4832       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
 4833     else
 4834       lt_cv_sys_max_cmd_len=32768
 4835     fi
 4836     ;;
 4837   *)
 4838     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 4839     if test -n "$lt_cv_sys_max_cmd_len"; then
 4840       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 4841       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 4842     else
 4843       # Make teststring a little bigger before we do anything with it.
 4844       # a 1K string should be a reasonable start.
 4845       for i in 1 2 3 4 5 6 7 8 ; do
 4846         teststring=$teststring$teststring
 4847       done
 4848       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 4849       # If test is not a shell built-in, we'll probably end up computing a
 4850       # maximum length that is only half of the actual maximum length, but
 4851       # we can't tell.
 4852       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 4853 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 4854 	      test $i != 17 # 1/2 MB should be enough
 4855       do
 4856         i=`expr $i + 1`
 4857         teststring=$teststring$teststring
 4858       done
 4859       # Only check the string length outside the loop.
 4860       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 4861       teststring=
 4862       # Add a significant safety factor because C++ compilers can tack on
 4863       # massive amounts of additional arguments before passing them to the
 4864       # linker.  It appears as though 1/2 is a usable value.
 4865       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 4866     fi
 4867     ;;
 4868   esac
 4869 
 4870 fi
 4871 
 4872 if test -n $lt_cv_sys_max_cmd_len ; then
 4873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 4874 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 4875 else
 4876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 4877 $as_echo "none" >&6; }
 4878 fi
 4879 max_cmd_len=$lt_cv_sys_max_cmd_len
 4880 
 4881     
 4882     
 4883     
 4884 
 4885 
 4886 : ${CP="cp -f"}
 4887 : ${MV="mv -f"}
 4888 : ${RM="rm -f"}
 4889 
 4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 4891 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 4892 # Try some XSI features
 4893 xsi_shell=no
 4894 ( _lt_dummy="a/b/c"
 4895   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 4896       = c,a/b,b/c, \
 4897     && eval 'test $(( 1 + 1 )) -eq 2 \
 4898     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 4899   && xsi_shell=yes
 4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 4901 $as_echo "$xsi_shell" >&6; }
 4902 
 4903 
 4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 4905 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 4906 lt_shell_append=no
 4907 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 4908     >/dev/null 2>&1 \
 4909   && lt_shell_append=yes
 4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 4911 $as_echo "$lt_shell_append" >&6; }
 4912 
 4913 
 4914 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 4915   lt_unset=unset
 4916 else
 4917   lt_unset=false
 4918 fi
 4919 
 4920     
 4921     
 4922     
 4923 
 4924 # test EBCDIC or ASCII
 4925 case `echo X|tr X '\101'` in
 4926  A) # ASCII based system
 4927     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 4928   lt_SP2NL='tr \040 \012'
 4929   lt_NL2SP='tr \015\012 \040\040'
 4930   ;;
 4931  *) # EBCDIC based system
 4932   lt_SP2NL='tr \100 \n'
 4933   lt_NL2SP='tr \r\n \100\100'
 4934   ;;
 4935 esac
 4936 
 4937     
 4938     
 4939     
 4940 
 4941     
 4942     
 4943     
 4944 
 4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 4946 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 4947 if ${lt_cv_to_host_file_cmd+:} false; then :
 4948   $as_echo_n "(cached) " >&6
 4949 else
 4950   case $host in
 4951   *-*-mingw* )
 4952     case $build in
 4953       *-*-mingw* ) # actually msys
 4954         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 4955         ;;
 4956       *-*-cygwin* )
 4957         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 4958         ;;
 4959       * ) # otherwise, assume *nix
 4960         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 4961         ;;
 4962     esac
 4963     ;;
 4964   *-*-cygwin* )
 4965     case $build in
 4966       *-*-mingw* ) # actually msys
 4967         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 4968         ;;
 4969       *-*-cygwin* )
 4970         lt_cv_to_host_file_cmd=func_convert_file_noop
 4971         ;;
 4972       * ) # otherwise, assume *nix
 4973         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 4974         ;;
 4975     esac
 4976     ;;
 4977   * ) # unhandled hosts (and "normal" native builds)
 4978     lt_cv_to_host_file_cmd=func_convert_file_noop
 4979     ;;
 4980 esac
 4981 
 4982 fi
 4983 
 4984 to_host_file_cmd=$lt_cv_to_host_file_cmd
 4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 4986 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
 4987 
 4988     
 4989     
 4990     
 4991 
 4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 4993 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 4994 if ${lt_cv_to_tool_file_cmd+:} false; then :
 4995   $as_echo_n "(cached) " >&6
 4996 else
 4997   #assume ordinary cross tools, or native build.
 4998 lt_cv_to_tool_file_cmd=func_convert_file_noop
 4999 case $host in
 5000   *-*-mingw* )
 5001     case $build in
 5002       *-*-mingw* ) # actually msys
 5003         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 5004         ;;
 5005     esac
 5006     ;;
 5007 esac
 5008 
 5009 fi
 5010 
 5011 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 5013 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 5014 
 5015     
 5016     
 5017     
 5018 
 5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 5020 $as_echo_n "checking for $LD option to reload object files... " >&6; }
 5021 if ${lt_cv_ld_reload_flag+:} false; then :
 5022   $as_echo_n "(cached) " >&6
 5023 else
 5024   lt_cv_ld_reload_flag='-r'
 5025 fi
 5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 5027 $as_echo "$lt_cv_ld_reload_flag" >&6; }
 5028 reload_flag=$lt_cv_ld_reload_flag
 5029 case $reload_flag in
 5030 "" | " "*) ;;
 5031 *) reload_flag=" $reload_flag" ;;
 5032 esac
 5033 reload_cmds='$LD$reload_flag -o $output$reload_objs'
 5034 case $host_os in
 5035   cygwin* | mingw* | pw32* | cegcc*)
 5036     if test "$GCC" != yes; then
 5037       reload_cmds=false
 5038     fi
 5039     ;;
 5040   darwin*)
 5041     if test "$GCC" = yes; then
 5042       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 5043     else
 5044       reload_cmds='$LD$reload_flag -o $output$reload_objs'
 5045     fi
 5046     ;;
 5047 esac
 5048 
 5049     
 5050     
 5051     
 5052 
 5053     
 5054     
 5055     
 5056 
 5057 if test -n "$ac_tool_prefix"; then
 5058   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 5059 set dummy ${ac_tool_prefix}objdump; ac_word=$2
 5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5061 $as_echo_n "checking for $ac_word... " >&6; }
 5062 if ${ac_cv_prog_OBJDUMP+:} false; then :
 5063   $as_echo_n "(cached) " >&6
 5064 else
 5065   if test -n "$OBJDUMP"; then
 5066   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 5067 else
 5068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5069 for as_dir in $PATH
 5070 do
 5071   IFS=$as_save_IFS
 5072   test -z "$as_dir" && as_dir=.
 5073     for ac_exec_ext in '' $ac_executable_extensions; do
 5074   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5075     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 5076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5077     break 2
 5078   fi
 5079 done
 5080   done
 5081 IFS=$as_save_IFS
 5082 
 5083 fi
 5084 fi
 5085 OBJDUMP=$ac_cv_prog_OBJDUMP
 5086 if test -n "$OBJDUMP"; then
 5087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 5088 $as_echo "$OBJDUMP" >&6; }
 5089 else
 5090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5091 $as_echo "no" >&6; }
 5092 fi
 5093 
 5094 
 5095 fi
 5096 if test -z "$ac_cv_prog_OBJDUMP"; then
 5097   ac_ct_OBJDUMP=$OBJDUMP
 5098   # Extract the first word of "objdump", so it can be a program name with args.
 5099 set dummy objdump; ac_word=$2
 5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5101 $as_echo_n "checking for $ac_word... " >&6; }
 5102 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 5103   $as_echo_n "(cached) " >&6
 5104 else
 5105   if test -n "$ac_ct_OBJDUMP"; then
 5106   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 5107 else
 5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5109 for as_dir in $PATH
 5110 do
 5111   IFS=$as_save_IFS
 5112   test -z "$as_dir" && as_dir=.
 5113     for ac_exec_ext in '' $ac_executable_extensions; do
 5114   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5115     ac_cv_prog_ac_ct_OBJDUMP="objdump"
 5116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5117     break 2
 5118   fi
 5119 done
 5120   done
 5121 IFS=$as_save_IFS
 5122 
 5123 fi
 5124 fi
 5125 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 5126 if test -n "$ac_ct_OBJDUMP"; then
 5127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 5128 $as_echo "$ac_ct_OBJDUMP" >&6; }
 5129 else
 5130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5131 $as_echo "no" >&6; }
 5132 fi
 5133 
 5134   if test "x$ac_ct_OBJDUMP" = x; then
 5135     OBJDUMP="false"
 5136   else
 5137     case $cross_compiling:$ac_tool_warned in
 5138 yes:)
 5139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5141 ac_tool_warned=yes ;;
 5142 esac
 5143     OBJDUMP=$ac_ct_OBJDUMP
 5144   fi
 5145 else
 5146   OBJDUMP="$ac_cv_prog_OBJDUMP"
 5147 fi
 5148 
 5149 test -z "$OBJDUMP" && OBJDUMP=objdump
 5150 
 5151     
 5152     
 5153     
 5154 
 5155 
 5156 
 5157 
 5158 
 5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 5160 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
 5161 if ${lt_cv_deplibs_check_method+:} false; then :
 5162   $as_echo_n "(cached) " >&6
 5163 else
 5164   lt_cv_file_magic_cmd='$MAGIC_CMD'
 5165 lt_cv_file_magic_test_file=
 5166 lt_cv_deplibs_check_method='unknown'
 5167 # Need to set the preceding variable on all platforms that support
 5168 # interlibrary dependencies.
 5169 # 'none' -- dependencies not supported.
 5170 # `unknown' -- same as none, but documents that we really don't know.
 5171 # 'pass_all' -- all dependencies passed with no checks.
 5172 # 'test_compile' -- check by making test program.
 5173 # 'file_magic [[regex]]' -- check by looking for files in library path
 5174 # which responds to the $file_magic_cmd with a given extended regex.
 5175 # If you have `file' or equivalent on your system and you're not sure
 5176 # whether `pass_all' will *always* work, you probably want this one.
 5177 
 5178 case $host_os in
 5179 aix[4-9]*)
 5180   lt_cv_deplibs_check_method=pass_all
 5181   ;;
 5182 
 5183 beos*)
 5184   lt_cv_deplibs_check_method=pass_all
 5185   ;;
 5186 
 5187 bsdi[45]*)
 5188   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 5189   lt_cv_file_magic_cmd='/usr/bin/file -L'
 5190   lt_cv_file_magic_test_file=/shlib/libc.so
 5191   ;;
 5192 
 5193 cygwin*)
 5194   # func_win32_libid is a shell function defined in ltmain.sh
 5195   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 5196   lt_cv_file_magic_cmd='func_win32_libid'
 5197   ;;
 5198 
 5199 mingw* | pw32*)
 5200   # Base MSYS/MinGW do not provide the 'file' command needed by
 5201   # func_win32_libid shell function, so use a weaker test based on 'objdump',
 5202   # unless we find 'file', for example because we are cross-compiling.
 5203   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 5204   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 5205     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 5206     lt_cv_file_magic_cmd='func_win32_libid'
 5207   else
 5208     # Keep this pattern in sync with the one in func_win32_libid.
 5209     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 5210     lt_cv_file_magic_cmd='$OBJDUMP -f'
 5211   fi
 5212   ;;
 5213 
 5214 cegcc*)
 5215   # use the weaker test based on 'objdump'. See mingw*.
 5216   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 5217   lt_cv_file_magic_cmd='$OBJDUMP -f'
 5218   ;;
 5219 
 5220 darwin* | rhapsody*)
 5221   lt_cv_deplibs_check_method=pass_all
 5222   ;;
 5223 
 5224 freebsd* | dragonfly*)
 5225   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 5226     case $host_cpu in
 5227     i*86 )
 5228       # Not sure whether the presence of OpenBSD here was a mistake.
 5229       # Let's accept both of them until this is cleared up.
 5230       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 5231       lt_cv_file_magic_cmd=/usr/bin/file
 5232       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 5233       ;;
 5234     esac
 5235   else
 5236     lt_cv_deplibs_check_method=pass_all
 5237   fi
 5238   ;;
 5239 
 5240 gnu*)
 5241   lt_cv_deplibs_check_method=pass_all
 5242   ;;
 5243 
 5244 haiku*)
 5245   lt_cv_deplibs_check_method=pass_all
 5246   ;;
 5247 
 5248 hpux10.20* | hpux11*)
 5249   lt_cv_file_magic_cmd=/usr/bin/file
 5250   case $host_cpu in
 5251   ia64*)
 5252     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 5253     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 5254     ;;
 5255   hppa*64*)
 5256     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]'
 5257     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 5258     ;;
 5259   *)
 5260     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 5261     lt_cv_file_magic_test_file=/usr/lib/libc.sl
 5262     ;;
 5263   esac
 5264   ;;
 5265 
 5266 interix[3-9]*)
 5267   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 5268   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 5269   ;;
 5270 
 5271 irix5* | irix6* | nonstopux*)
 5272   case $LD in
 5273   *-32|*"-32 ") libmagic=32-bit;;
 5274   *-n32|*"-n32 ") libmagic=N32;;
 5275   *-64|*"-64 ") libmagic=64-bit;;
 5276   *) libmagic=never-match;;
 5277   esac
 5278   lt_cv_deplibs_check_method=pass_all
 5279   ;;
 5280 
 5281 # This must be glibc/ELF.
 5282 linux* | k*bsd*-gnu | kopensolaris*-gnu)
 5283   lt_cv_deplibs_check_method=pass_all
 5284   ;;
 5285 
 5286 netbsd*)
 5287   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 5288     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 5289   else
 5290     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 5291   fi
 5292   ;;
 5293 
 5294 newos6*)
 5295   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 5296   lt_cv_file_magic_cmd=/usr/bin/file
 5297   lt_cv_file_magic_test_file=/usr/lib/libnls.so
 5298   ;;
 5299 
 5300 *nto* | *qnx*)
 5301   lt_cv_deplibs_check_method=pass_all
 5302   ;;
 5303 
 5304 openbsd*)
 5305   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 5306     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 5307   else
 5308     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 5309   fi
 5310   ;;
 5311 
 5312 osf3* | osf4* | osf5*)
 5313   lt_cv_deplibs_check_method=pass_all
 5314   ;;
 5315 
 5316 rdos*)
 5317   lt_cv_deplibs_check_method=pass_all
 5318   ;;
 5319 
 5320 solaris*)
 5321   lt_cv_deplibs_check_method=pass_all
 5322   ;;
 5323 
 5324 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 5325   lt_cv_deplibs_check_method=pass_all
 5326   ;;
 5327 
 5328 sysv4 | sysv4.3*)
 5329   case $host_vendor in
 5330   motorola)
 5331     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
 5332     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 5333     ;;
 5334   ncr)
 5335     lt_cv_deplibs_check_method=pass_all
 5336     ;;
 5337   sequent)
 5338     lt_cv_file_magic_cmd='/bin/file'
 5339     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 5340     ;;
 5341   sni)
 5342     lt_cv_file_magic_cmd='/bin/file'
 5343     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 5344     lt_cv_file_magic_test_file=/lib/libc.so
 5345     ;;
 5346   siemens)
 5347     lt_cv_deplibs_check_method=pass_all
 5348     ;;
 5349   pc)
 5350     lt_cv_deplibs_check_method=pass_all
 5351     ;;
 5352   esac
 5353   ;;
 5354 
 5355 tpf*)
 5356   lt_cv_deplibs_check_method=pass_all
 5357   ;;
 5358 esac
 5359 
 5360 fi
 5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 5362 $as_echo "$lt_cv_deplibs_check_method" >&6; }
 5363 
 5364 file_magic_glob=
 5365 want_nocaseglob=no
 5366 if test "$build" = "$host"; then
 5367   case $host_os in
 5368   mingw* | pw32*)
 5369     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 5370       want_nocaseglob=yes
 5371     else
 5372       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 5373     fi
 5374     ;;
 5375   esac
 5376 fi
 5377 
 5378 file_magic_cmd=$lt_cv_file_magic_cmd
 5379 deplibs_check_method=$lt_cv_deplibs_check_method
 5380 test -z "$deplibs_check_method" && deplibs_check_method=unknown
 5381 
 5382 
 5383     
 5384     
 5385     
 5386 
 5387 
 5388     
 5389     
 5390     
 5391 
 5392 
 5393     
 5394     
 5395     
 5396 
 5397 
 5398     
 5399     
 5400     
 5401 
 5402 
 5403 if test -n "$ac_tool_prefix"; then
 5404   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 5405 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5407 $as_echo_n "checking for $ac_word... " >&6; }
 5408 if ${ac_cv_prog_DLLTOOL+:} false; then :
 5409   $as_echo_n "(cached) " >&6
 5410 else
 5411   if test -n "$DLLTOOL"; then
 5412   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 5413 else
 5414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5415 for as_dir in $PATH
 5416 do
 5417   IFS=$as_save_IFS
 5418   test -z "$as_dir" && as_dir=.
 5419     for ac_exec_ext in '' $ac_executable_extensions; do
 5420   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5421     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 5422     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5423     break 2
 5424   fi
 5425 done
 5426   done
 5427 IFS=$as_save_IFS
 5428 
 5429 fi
 5430 fi
 5431 DLLTOOL=$ac_cv_prog_DLLTOOL
 5432 if test -n "$DLLTOOL"; then
 5433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 5434 $as_echo "$DLLTOOL" >&6; }
 5435 else
 5436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5437 $as_echo "no" >&6; }
 5438 fi
 5439 
 5440 
 5441 fi
 5442 if test -z "$ac_cv_prog_DLLTOOL"; then
 5443   ac_ct_DLLTOOL=$DLLTOOL
 5444   # Extract the first word of "dlltool", so it can be a program name with args.
 5445 set dummy dlltool; ac_word=$2
 5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5447 $as_echo_n "checking for $ac_word... " >&6; }
 5448 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 5449   $as_echo_n "(cached) " >&6
 5450 else
 5451   if test -n "$ac_ct_DLLTOOL"; then
 5452   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 5453 else
 5454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5455 for as_dir in $PATH
 5456 do
 5457   IFS=$as_save_IFS
 5458   test -z "$as_dir" && as_dir=.
 5459     for ac_exec_ext in '' $ac_executable_extensions; do
 5460   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5461     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 5462     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5463     break 2
 5464   fi
 5465 done
 5466   done
 5467 IFS=$as_save_IFS
 5468 
 5469 fi
 5470 fi
 5471 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 5472 if test -n "$ac_ct_DLLTOOL"; then
 5473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 5474 $as_echo "$ac_ct_DLLTOOL" >&6; }
 5475 else
 5476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5477 $as_echo "no" >&6; }
 5478 fi
 5479 
 5480   if test "x$ac_ct_DLLTOOL" = x; then
 5481     DLLTOOL="false"
 5482   else
 5483     case $cross_compiling:$ac_tool_warned in
 5484 yes:)
 5485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5487 ac_tool_warned=yes ;;
 5488 esac
 5489     DLLTOOL=$ac_ct_DLLTOOL
 5490   fi
 5491 else
 5492   DLLTOOL="$ac_cv_prog_DLLTOOL"
 5493 fi
 5494 
 5495 test -z "$DLLTOOL" && DLLTOOL=dlltool
 5496 
 5497     
 5498     
 5499     
 5500 
 5501 
 5502 
 5503 
 5504 
 5505 
 5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 5507 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 5508 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 5509   $as_echo_n "(cached) " >&6
 5510 else
 5511   lt_cv_sharedlib_from_linklib_cmd='unknown'
 5512 
 5513 case $host_os in
 5514 cygwin* | mingw* | pw32* | cegcc*)
 5515   # two different shell functions defined in ltmain.sh
 5516   # decide which to use based on capabilities of $DLLTOOL
 5517   case `$DLLTOOL --help 2>&1` in
 5518   *--identify-strict*)
 5519     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 5520     ;;
 5521   *)
 5522     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 5523     ;;
 5524   esac
 5525   ;;
 5526 *)
 5527   # fallback: assume linklib IS sharedlib
 5528   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 5529   ;;
 5530 esac
 5531 
 5532 fi
 5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 5534 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 5535 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 5536 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 5537 
 5538 
 5539     
 5540     
 5541     
 5542 
 5543 
 5544 
 5545 if test -n "$ac_tool_prefix"; then
 5546   for ac_prog in ar
 5547   do
 5548     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 5549 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5551 $as_echo_n "checking for $ac_word... " >&6; }
 5552 if ${ac_cv_prog_AR+:} false; then :
 5553   $as_echo_n "(cached) " >&6
 5554 else
 5555   if test -n "$AR"; then
 5556   ac_cv_prog_AR="$AR" # Let the user override the test.
 5557 else
 5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5559 for as_dir in $PATH
 5560 do
 5561   IFS=$as_save_IFS
 5562   test -z "$as_dir" && as_dir=.
 5563     for ac_exec_ext in '' $ac_executable_extensions; do
 5564   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5565     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 5566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5567     break 2
 5568   fi
 5569 done
 5570   done
 5571 IFS=$as_save_IFS
 5572 
 5573 fi
 5574 fi
 5575 AR=$ac_cv_prog_AR
 5576 if test -n "$AR"; then
 5577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 5578 $as_echo "$AR" >&6; }
 5579 else
 5580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5581 $as_echo "no" >&6; }
 5582 fi
 5583 
 5584 
 5585     test -n "$AR" && break
 5586   done
 5587 fi
 5588 if test -z "$AR"; then
 5589   ac_ct_AR=$AR
 5590   for ac_prog in ar
 5591 do
 5592   # Extract the first word of "$ac_prog", so it can be a program name with args.
 5593 set dummy $ac_prog; ac_word=$2
 5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5595 $as_echo_n "checking for $ac_word... " >&6; }
 5596 if ${ac_cv_prog_ac_ct_AR+:} false; then :
 5597   $as_echo_n "(cached) " >&6
 5598 else
 5599   if test -n "$ac_ct_AR"; then
 5600   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 5601 else
 5602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5603 for as_dir in $PATH
 5604 do
 5605   IFS=$as_save_IFS
 5606   test -z "$as_dir" && as_dir=.
 5607     for ac_exec_ext in '' $ac_executable_extensions; do
 5608   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5609     ac_cv_prog_ac_ct_AR="$ac_prog"
 5610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5611     break 2
 5612   fi
 5613 done
 5614   done
 5615 IFS=$as_save_IFS
 5616 
 5617 fi
 5618 fi
 5619 ac_ct_AR=$ac_cv_prog_ac_ct_AR
 5620 if test -n "$ac_ct_AR"; then
 5621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 5622 $as_echo "$ac_ct_AR" >&6; }
 5623 else
 5624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5625 $as_echo "no" >&6; }
 5626 fi
 5627 
 5628 
 5629   test -n "$ac_ct_AR" && break
 5630 done
 5631 
 5632   if test "x$ac_ct_AR" = x; then
 5633     AR="false"
 5634   else
 5635     case $cross_compiling:$ac_tool_warned in
 5636 yes:)
 5637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5639 ac_tool_warned=yes ;;
 5640 esac
 5641     AR=$ac_ct_AR
 5642   fi
 5643 fi
 5644 
 5645 : ${AR=ar}
 5646 : ${AR_FLAGS=cru}
 5647 
 5648     
 5649     
 5650     
 5651 
 5652 
 5653     
 5654     
 5655     
 5656 
 5657 
 5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 5659 $as_echo_n "checking for archiver @FILE support... " >&6; }
 5660 if ${lt_cv_ar_at_file+:} false; then :
 5661   $as_echo_n "(cached) " >&6
 5662 else
 5663   lt_cv_ar_at_file=no
 5664    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5665 /* end confdefs.h.  */
 5666 
 5667 int
 5668 main ()
 5669 {
 5670 
 5671   ;
 5672   return 0;
 5673 }
 5674 _ACEOF
 5675 if ac_fn_c_try_compile "$LINENO"; then :
 5676   echo conftest.$ac_objext > conftest.lst
 5677       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 5678       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 5679   (eval $lt_ar_try) 2>&5
 5680   ac_status=$?
 5681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 5682   test $ac_status = 0; }
 5683       if test "$ac_status" -eq 0; then
 5684 	# Ensure the archiver fails upon bogus file names.
 5685 	rm -f conftest.$ac_objext libconftest.a
 5686 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 5687   (eval $lt_ar_try) 2>&5
 5688   ac_status=$?
 5689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 5690   test $ac_status = 0; }
 5691 	if test "$ac_status" -ne 0; then
 5692           lt_cv_ar_at_file=@
 5693         fi
 5694       fi
 5695       rm -f conftest.* libconftest.a
 5696      
 5697 fi
 5698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5699   
 5700 fi
 5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 5702 $as_echo "$lt_cv_ar_at_file" >&6; }
 5703 
 5704 if test "x$lt_cv_ar_at_file" = xno; then
 5705   archiver_list_spec=
 5706 else
 5707   archiver_list_spec=$lt_cv_ar_at_file
 5708 fi
 5709 
 5710     
 5711     
 5712     
 5713 
 5714 
 5715 
 5716 if test -n "$ac_tool_prefix"; then
 5717   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 5718 set dummy ${ac_tool_prefix}strip; ac_word=$2
 5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5720 $as_echo_n "checking for $ac_word... " >&6; }
 5721 if ${ac_cv_prog_STRIP+:} false; then :
 5722   $as_echo_n "(cached) " >&6
 5723 else
 5724   if test -n "$STRIP"; then
 5725   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 5726 else
 5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5728 for as_dir in $PATH
 5729 do
 5730   IFS=$as_save_IFS
 5731   test -z "$as_dir" && as_dir=.
 5732     for ac_exec_ext in '' $ac_executable_extensions; do
 5733   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5734     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 5735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5736     break 2
 5737   fi
 5738 done
 5739   done
 5740 IFS=$as_save_IFS
 5741 
 5742 fi
 5743 fi
 5744 STRIP=$ac_cv_prog_STRIP
 5745 if test -n "$STRIP"; then
 5746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 5747 $as_echo "$STRIP" >&6; }
 5748 else
 5749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5750 $as_echo "no" >&6; }
 5751 fi
 5752 
 5753 
 5754 fi
 5755 if test -z "$ac_cv_prog_STRIP"; then
 5756   ac_ct_STRIP=$STRIP
 5757   # Extract the first word of "strip", so it can be a program name with args.
 5758 set dummy strip; ac_word=$2
 5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5760 $as_echo_n "checking for $ac_word... " >&6; }
 5761 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 5762   $as_echo_n "(cached) " >&6
 5763 else
 5764   if test -n "$ac_ct_STRIP"; then
 5765   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 5766 else
 5767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5768 for as_dir in $PATH
 5769 do
 5770   IFS=$as_save_IFS
 5771   test -z "$as_dir" && as_dir=.
 5772     for ac_exec_ext in '' $ac_executable_extensions; do
 5773   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5774     ac_cv_prog_ac_ct_STRIP="strip"
 5775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5776     break 2
 5777   fi
 5778 done
 5779   done
 5780 IFS=$as_save_IFS
 5781 
 5782 fi
 5783 fi
 5784 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 5785 if test -n "$ac_ct_STRIP"; then
 5786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 5787 $as_echo "$ac_ct_STRIP" >&6; }
 5788 else
 5789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5790 $as_echo "no" >&6; }
 5791 fi
 5792 
 5793   if test "x$ac_ct_STRIP" = x; then
 5794     STRIP=":"
 5795   else
 5796     case $cross_compiling:$ac_tool_warned in
 5797 yes:)
 5798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5800 ac_tool_warned=yes ;;
 5801 esac
 5802     STRIP=$ac_ct_STRIP
 5803   fi
 5804 else
 5805   STRIP="$ac_cv_prog_STRIP"
 5806 fi
 5807 
 5808 test -z "$STRIP" && STRIP=:
 5809 
 5810     
 5811     
 5812     
 5813 
 5814 
 5815 if test -n "$ac_tool_prefix"; then
 5816   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 5817 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5819 $as_echo_n "checking for $ac_word... " >&6; }
 5820 if ${ac_cv_prog_RANLIB+:} false; then :
 5821   $as_echo_n "(cached) " >&6
 5822 else
 5823   if test -n "$RANLIB"; then
 5824   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 5825 else
 5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5827 for as_dir in $PATH
 5828 do
 5829   IFS=$as_save_IFS
 5830   test -z "$as_dir" && as_dir=.
 5831     for ac_exec_ext in '' $ac_executable_extensions; do
 5832   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5833     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 5834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5835     break 2
 5836   fi
 5837 done
 5838   done
 5839 IFS=$as_save_IFS
 5840 
 5841 fi
 5842 fi
 5843 RANLIB=$ac_cv_prog_RANLIB
 5844 if test -n "$RANLIB"; then
 5845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 5846 $as_echo "$RANLIB" >&6; }
 5847 else
 5848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5849 $as_echo "no" >&6; }
 5850 fi
 5851 
 5852 
 5853 fi
 5854 if test -z "$ac_cv_prog_RANLIB"; then
 5855   ac_ct_RANLIB=$RANLIB
 5856   # Extract the first word of "ranlib", so it can be a program name with args.
 5857 set dummy ranlib; ac_word=$2
 5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5859 $as_echo_n "checking for $ac_word... " >&6; }
 5860 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 5861   $as_echo_n "(cached) " >&6
 5862 else
 5863   if test -n "$ac_ct_RANLIB"; then
 5864   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 5865 else
 5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5867 for as_dir in $PATH
 5868 do
 5869   IFS=$as_save_IFS
 5870   test -z "$as_dir" && as_dir=.
 5871     for ac_exec_ext in '' $ac_executable_extensions; do
 5872   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5873     ac_cv_prog_ac_ct_RANLIB="ranlib"
 5874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5875     break 2
 5876   fi
 5877 done
 5878   done
 5879 IFS=$as_save_IFS
 5880 
 5881 fi
 5882 fi
 5883 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 5884 if test -n "$ac_ct_RANLIB"; then
 5885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 5886 $as_echo "$ac_ct_RANLIB" >&6; }
 5887 else
 5888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5889 $as_echo "no" >&6; }
 5890 fi
 5891 
 5892   if test "x$ac_ct_RANLIB" = x; then
 5893     RANLIB=":"
 5894   else
 5895     case $cross_compiling:$ac_tool_warned in
 5896 yes:)
 5897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5899 ac_tool_warned=yes ;;
 5900 esac
 5901     RANLIB=$ac_ct_RANLIB
 5902   fi
 5903 else
 5904   RANLIB="$ac_cv_prog_RANLIB"
 5905 fi
 5906 
 5907 test -z "$RANLIB" && RANLIB=:
 5908 
 5909     
 5910     
 5911     
 5912 
 5913 
 5914 # Determine commands to create old-style static archives.
 5915 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 5916 old_postinstall_cmds='chmod 644 $oldlib'
 5917 old_postuninstall_cmds=
 5918 
 5919 if test -n "$RANLIB"; then
 5920   case $host_os in
 5921   openbsd*)
 5922     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 5923     ;;
 5924   *)
 5925     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 5926     ;;
 5927   esac
 5928   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 5929 fi
 5930 
 5931 case $host_os in
 5932   darwin*)
 5933     lock_old_archive_extraction=yes ;;
 5934   *)
 5935     lock_old_archive_extraction=no ;;
 5936 esac
 5937 
 5938     
 5939     
 5940     
 5941 
 5942 
 5943     
 5944     
 5945     
 5946 
 5947 
 5948     
 5949     
 5950     
 5951 
 5952 
 5953     
 5954     
 5955     
 5956 
 5957 
 5958 
 5959 
 5960     
 5961     
 5962     
 5963 
 5964     
 5965     
 5966     
 5967 
 5968     
 5969     
 5970     
 5971 
 5972     
 5973     
 5974     
 5975 
 5976 # If no C compiler was specified, use CC.
 5977 LTCC=${LTCC-"$CC"}
 5978 
 5979 # If no C compiler flags were specified, use CFLAGS.
 5980 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 5981 
 5982 # Allow CC to be a program name with arguments.
 5983 compiler=$CC
 5984 
 5985 
 5986 # Check for command to grab the raw symbol name followed by C symbol from nm.
 5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 5988 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 5989 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 5990   $as_echo_n "(cached) " >&6
 5991 else
 5992   
 5993 # These are sane defaults that work on at least a few old systems.
 5994 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 5995 
 5996 # Character class describing NM global symbol codes.
 5997 symcode='[BCDEGRST]'
 5998 
 5999 # Regexp to match symbols that can be accessed directly from C.
 6000 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 6001 
 6002 # Define system-specific variables.
 6003 case $host_os in
 6004 aix*)
 6005   symcode='[BCDT]'
 6006   ;;
 6007 cygwin* | mingw* | pw32* | cegcc*)
 6008   symcode='[ABCDGISTW]'
 6009   ;;
 6010 hpux*)
 6011   if test "$host_cpu" = ia64; then
 6012     symcode='[ABCDEGRST]'
 6013   fi
 6014   ;;
 6015 irix* | nonstopux*)
 6016   symcode='[BCDEGRST]'
 6017   ;;
 6018 osf*)
 6019   symcode='[BCDEGQRST]'
 6020   ;;
 6021 solaris*)
 6022   symcode='[BDRT]'
 6023   ;;
 6024 sco3.2v5*)
 6025   symcode='[DT]'
 6026   ;;
 6027 sysv4.2uw2*)
 6028   symcode='[DT]'
 6029   ;;
 6030 sysv5* | sco5v6* | unixware* | OpenUNIX*)
 6031   symcode='[ABDT]'
 6032   ;;
 6033 sysv4)
 6034   symcode='[DFNSTU]'
 6035   ;;
 6036 esac
 6037 
 6038 # If we're using GNU nm, then use its standard symbol codes.
 6039 case `$NM -V 2>&1` in
 6040 *GNU* | *'with BFD'*)
 6041   symcode='[ABCDGIRSTW]' ;;
 6042 esac
 6043 
 6044 # Transform an extracted symbol line into a proper C declaration.
 6045 # Some systems (esp. on ia64) link data and code symbols differently,
 6046 # so use this general approach.
 6047 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 6048 
 6049 # Transform an extracted symbol line into symbol name and symbol address
 6050 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 6051 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'"
 6052 
 6053 # Handle CRLF in mingw tool chain
 6054 opt_cr=
 6055 case $build_os in
 6056 mingw*)
 6057   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 6058   ;;
 6059 esac
 6060 
 6061 # Try without a prefix underscore, then with it.
 6062 for ac_symprfx in "" "_"; do
 6063 
 6064   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 6065   symxfrm="\\1 $ac_symprfx\\2 \\2"
 6066 
 6067   # Write the raw and C identifiers.
 6068   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 6069     # Fake it for dumpbin and say T for any non-static function
 6070     # and D for any global variable.
 6071     # Also find C++ and __fastcall symbols from MSVC++,
 6072     # which start with @ or ?.
 6073     lt_cv_sys_global_symbol_pipe="$AWK '"\
 6074 "     {last_section=section; section=\$ 3};"\
 6075 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 6076 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 6077 "     \$ 0!~/External *\|/{next};"\
 6078 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 6079 "     {if(hide[section]) next};"\
 6080 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 6081 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 6082 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 6083 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 6084 "     ' prfx=^$ac_symprfx"
 6085   else
 6086     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 6087   fi
 6088   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 6089 
 6090   # Check to see that the pipe works correctly.
 6091   pipe_works=no
 6092 
 6093   rm -f conftest*
 6094   cat > conftest.$ac_ext <<_LT_EOF
 6095 #ifdef __cplusplus
 6096 extern "C" {
 6097 #endif
 6098 char nm_test_var;
 6099 void nm_test_func(void);
 6100 void nm_test_func(void){}
 6101 #ifdef __cplusplus
 6102 }
 6103 #endif
 6104 int main(){nm_test_var='a';nm_test_func();return(0);}
 6105 _LT_EOF
 6106 
 6107   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6108   (eval $ac_compile) 2>&5
 6109   ac_status=$?
 6110   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6111   test $ac_status = 0; }; then
 6112     # Now try to grab the symbols.
 6113     nlist=conftest.nm
 6114     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 6115   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 6116   ac_status=$?
 6117   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6118   test $ac_status = 0; } && test -s "$nlist"; then
 6119       # Try sorting and uniquifying the output.
 6120       if sort "$nlist" | uniq > "$nlist"T; then
 6121 	mv -f "$nlist"T "$nlist"
 6122       else
 6123 	rm -f "$nlist"T
 6124       fi
 6125 
 6126       # Make sure that we snagged all the symbols we need.
 6127       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 6128 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 6129 	  cat <<_LT_EOF > conftest.$ac_ext
 6130 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 6131 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 6132 /* DATA imports from DLLs on WIN32 con't be const, because runtime
 6133    relocations are performed -- see ld's documentation on pseudo-relocs.  */
 6134 # define LT@&t@_DLSYM_CONST
 6135 #elif defined(__osf__)
 6136 /* This system does not cope well with relocations in const data.  */
 6137 # define LT@&t@_DLSYM_CONST
 6138 #else
 6139 # define LT@&t@_DLSYM_CONST const
 6140 #endif
 6141 
 6142 #ifdef __cplusplus
 6143 extern "C" {
 6144 #endif
 6145 
 6146 _LT_EOF
 6147 	  # Now generate the symbol file.
 6148 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 6149 
 6150 	  cat <<_LT_EOF >> conftest.$ac_ext
 6151 
 6152 /* The mapping between symbol names and symbols.  */
 6153 LT@&t@_DLSYM_CONST struct {
 6154   const char *name;
 6155   void       *address;
 6156 }
 6157 lt__PROGRAM__LTX_preloaded_symbols[] =
 6158 {
 6159   { "@PROGRAM@", (void *) 0 },
 6160 _LT_EOF
 6161 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 6162 	  cat <<\_LT_EOF >> conftest.$ac_ext
 6163   {0, (void *) 0}
 6164 };
 6165 
 6166 /* This works around a problem in FreeBSD linker */
 6167 #ifdef FREEBSD_WORKAROUND
 6168 static const void *lt_preloaded_setup() {
 6169   return lt__PROGRAM__LTX_preloaded_symbols;
 6170 }
 6171 #endif
 6172 
 6173 #ifdef __cplusplus
 6174 }
 6175 #endif
 6176 _LT_EOF
 6177 	  # Now try linking the two files.
 6178 	  mv conftest.$ac_objext conftstm.$ac_objext
 6179 	  lt_globsym_save_LIBS=$LIBS
 6180 	  lt_globsym_save_CFLAGS=$CFLAGS
 6181 	  LIBS="conftstm.$ac_objext"
 6182 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 6183 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 6184   (eval $ac_link) 2>&5
 6185   ac_status=$?
 6186   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6187   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 6188 	    pipe_works=yes
 6189 	  fi
 6190 	  LIBS=$lt_globsym_save_LIBS
 6191 	  CFLAGS=$lt_globsym_save_CFLAGS
 6192 	else
 6193 	  echo "cannot find nm_test_func in $nlist" >&5
 6194 	fi
 6195       else
 6196 	echo "cannot find nm_test_var in $nlist" >&5
 6197       fi
 6198     else
 6199       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 6200     fi
 6201   else
 6202     echo "$progname: failed program was:" >&5
 6203     cat conftest.$ac_ext >&5
 6204   fi
 6205   rm -rf conftest* conftst*
 6206 
 6207   # Do not use the global_symbol_pipe unless it works.
 6208   if test "$pipe_works" = yes; then
 6209     break
 6210   else
 6211     lt_cv_sys_global_symbol_pipe=
 6212   fi
 6213 done
 6214 
 6215 fi
 6216 
 6217 if test -z "$lt_cv_sys_global_symbol_pipe"; then
 6218   lt_cv_sys_global_symbol_to_cdecl=
 6219 fi
 6220 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 6221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 6222 $as_echo "failed" >&6; }
 6223 else
 6224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 6225 $as_echo "ok" >&6; }
 6226 fi
 6227 
 6228 # Response file support.
 6229 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 6230   nm_file_list_spec='@'
 6231 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 6232   nm_file_list_spec='@'
 6233 fi
 6234 
 6235 
 6236     
 6237     
 6238     
 6239 
 6240 
 6241     
 6242     
 6243     
 6244 
 6245 
 6246     
 6247     
 6248     
 6249 
 6250 
 6251     
 6252     
 6253     
 6254 
 6255 
 6256     
 6257     
 6258     
 6259 
 6260 
 6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 6262 $as_echo_n "checking for sysroot... " >&6; }
 6263 
 6264 @%:@ Check whether --with-sysroot was given.
 6265 if test "${with_sysroot+set}" = set; then :
 6266   withval=$with_sysroot; 
 6267 else
 6268   with_sysroot=no
 6269 fi
 6270 
 6271 
 6272 lt_sysroot=
 6273 case ${with_sysroot} in #(
 6274  yes)
 6275    if test "$GCC" = yes; then
 6276      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 6277    fi
 6278    ;; #(
 6279  /*)
 6280    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 6281    ;; #(
 6282  no|'')
 6283    ;; #(
 6284  *)
 6285    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 6286 $as_echo "${with_sysroot}" >&6; }
 6287    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 6288    ;;
 6289 esac
 6290 
 6291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 6292 $as_echo "${lt_sysroot:-no}" >&6; }
 6293 
 6294     
 6295     
 6296     
 6297 
 6298 @%:@ Check whether --enable-libtool-lock was given.
 6299 if test "${enable_libtool_lock+set}" = set; then :
 6300   enableval=$enable_libtool_lock; 
 6301 fi
 6302 
 6303 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 6304 
 6305 # Some flags need to be propagated to the compiler or linker for good
 6306 # libtool support.
 6307 case $host in
 6308 ia64-*-hpux*)
 6309   # Find out which ABI we are using.
 6310   echo 'int i;' > conftest.$ac_ext
 6311   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6312   (eval $ac_compile) 2>&5
 6313   ac_status=$?
 6314   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6315   test $ac_status = 0; }; then
 6316     case `/usr/bin/file conftest.$ac_objext` in
 6317       *ELF-32*)
 6318 	HPUX_IA64_MODE="32"
 6319 	;;
 6320       *ELF-64*)
 6321 	HPUX_IA64_MODE="64"
 6322 	;;
 6323     esac
 6324   fi
 6325   rm -rf conftest*
 6326   ;;
 6327 *-*-irix6*)
 6328   # Find out which ABI we are using.
 6329   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 6330   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6331   (eval $ac_compile) 2>&5
 6332   ac_status=$?
 6333   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6334   test $ac_status = 0; }; then
 6335     if test "$lt_cv_prog_gnu_ld" = yes; then
 6336       case `/usr/bin/file conftest.$ac_objext` in
 6337 	*32-bit*)
 6338 	  LD="${LD-ld} -melf32bsmip"
 6339 	  ;;
 6340 	*N32*)
 6341 	  LD="${LD-ld} -melf32bmipn32"
 6342 	  ;;
 6343 	*64-bit*)
 6344 	  LD="${LD-ld} -melf64bmip"
 6345 	;;
 6346       esac
 6347     else
 6348       case `/usr/bin/file conftest.$ac_objext` in
 6349 	*32-bit*)
 6350 	  LD="${LD-ld} -32"
 6351 	  ;;
 6352 	*N32*)
 6353 	  LD="${LD-ld} -n32"
 6354 	  ;;
 6355 	*64-bit*)
 6356 	  LD="${LD-ld} -64"
 6357 	  ;;
 6358       esac
 6359     fi
 6360   fi
 6361   rm -rf conftest*
 6362   ;;
 6363 
 6364 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 6365 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 6366   # Find out which ABI we are using.
 6367   echo 'int i;' > conftest.$ac_ext
 6368   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6369   (eval $ac_compile) 2>&5
 6370   ac_status=$?
 6371   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6372   test $ac_status = 0; }; then
 6373     case `/usr/bin/file conftest.o` in
 6374       *32-bit*)
 6375 	case $host in
 6376 	  x86_64-*kfreebsd*-gnu)
 6377 	    LD="${LD-ld} -m elf_i386_fbsd"
 6378 	    ;;
 6379 	  x86_64-*linux*)
 6380 	    LD="${LD-ld} -m elf_i386"
 6381 	    ;;
 6382 	  ppc64-*linux*|powerpc64-*linux*)
 6383 	    LD="${LD-ld} -m elf32ppclinux"
 6384 	    ;;
 6385 	  s390x-*linux*)
 6386 	    LD="${LD-ld} -m elf_s390"
 6387 	    ;;
 6388 	  sparc64-*linux*)
 6389 	    LD="${LD-ld} -m elf32_sparc"
 6390 	    ;;
 6391 	esac
 6392 	;;
 6393       *64-bit*)
 6394 	case $host in
 6395 	  x86_64-*kfreebsd*-gnu)
 6396 	    LD="${LD-ld} -m elf_x86_64_fbsd"
 6397 	    ;;
 6398 	  x86_64-*linux*)
 6399 	    LD="${LD-ld} -m elf_x86_64"
 6400 	    ;;
 6401 	  ppc*-*linux*|powerpc*-*linux*)
 6402 	    LD="${LD-ld} -m elf64ppc"
 6403 	    ;;
 6404 	  s390*-*linux*|s390*-*tpf*)
 6405 	    LD="${LD-ld} -m elf64_s390"
 6406 	    ;;
 6407 	  sparc*-*linux*)
 6408 	    LD="${LD-ld} -m elf64_sparc"
 6409 	    ;;
 6410 	esac
 6411 	;;
 6412     esac
 6413   fi
 6414   rm -rf conftest*
 6415   ;;
 6416 
 6417 *-*-sco3.2v5*)
 6418   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 6419   SAVE_CFLAGS="$CFLAGS"
 6420   CFLAGS="$CFLAGS -belf"
 6421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 6422 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 6423 if ${lt_cv_cc_needs_belf+:} false; then :
 6424   $as_echo_n "(cached) " >&6
 6425 else
 6426   ac_ext=c
 6427 ac_cpp='$CPP $CPPFLAGS'
 6428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 6429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 6430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 6431 
 6432      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6433 /* end confdefs.h.  */
 6434 
 6435 int
 6436 main ()
 6437 {
 6438 
 6439   ;
 6440   return 0;
 6441 }
 6442 _ACEOF
 6443 if ac_fn_c_try_link "$LINENO"; then :
 6444   lt_cv_cc_needs_belf=yes
 6445 else
 6446   lt_cv_cc_needs_belf=no
 6447 fi
 6448 rm -f core conftest.err conftest.$ac_objext \
 6449     conftest$ac_exeext conftest.$ac_ext
 6450      ac_ext=c
 6451 ac_cpp='$CPP $CPPFLAGS'
 6452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 6453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 6454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 6455 
 6456 fi
 6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 6458 $as_echo "$lt_cv_cc_needs_belf" >&6; }
 6459   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 6460     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 6461     CFLAGS="$SAVE_CFLAGS"
 6462   fi
 6463   ;;
 6464 *-*solaris*)
 6465   # Find out which ABI we are using.
 6466   echo 'int i;' > conftest.$ac_ext
 6467   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6468   (eval $ac_compile) 2>&5
 6469   ac_status=$?
 6470   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6471   test $ac_status = 0; }; then
 6472     case `/usr/bin/file conftest.o` in
 6473     *64-bit*)
 6474       case $lt_cv_prog_gnu_ld in
 6475       yes*)
 6476         case $host in
 6477         i?86-*-solaris*)
 6478           LD="${LD-ld} -m elf_x86_64"
 6479           ;;
 6480         sparc*-*-solaris*)
 6481           LD="${LD-ld} -m elf64_sparc"
 6482           ;;
 6483         esac
 6484         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 6485         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 6486           LD="${LD-ld}_sol2"
 6487         fi
 6488         ;;
 6489       *)
 6490 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 6491 	  LD="${LD-ld} -64"
 6492 	fi
 6493 	;;
 6494       esac
 6495       ;;
 6496     esac
 6497   fi
 6498   rm -rf conftest*
 6499   ;;
 6500 esac
 6501 
 6502 need_locks="$enable_libtool_lock"
 6503 
 6504 if test -n "$ac_tool_prefix"; then
 6505   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 6506 set dummy ${ac_tool_prefix}mt; ac_word=$2
 6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6508 $as_echo_n "checking for $ac_word... " >&6; }
 6509 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 6510   $as_echo_n "(cached) " >&6
 6511 else
 6512   if test -n "$MANIFEST_TOOL"; then
 6513   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 6514 else
 6515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6516 for as_dir in $PATH
 6517 do
 6518   IFS=$as_save_IFS
 6519   test -z "$as_dir" && as_dir=.
 6520     for ac_exec_ext in '' $ac_executable_extensions; do
 6521   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6522     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 6523     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6524     break 2
 6525   fi
 6526 done
 6527   done
 6528 IFS=$as_save_IFS
 6529 
 6530 fi
 6531 fi
 6532 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 6533 if test -n "$MANIFEST_TOOL"; then
 6534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 6535 $as_echo "$MANIFEST_TOOL" >&6; }
 6536 else
 6537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6538 $as_echo "no" >&6; }
 6539 fi
 6540 
 6541 
 6542 fi
 6543 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 6544   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 6545   # Extract the first word of "mt", so it can be a program name with args.
 6546 set dummy mt; ac_word=$2
 6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6548 $as_echo_n "checking for $ac_word... " >&6; }
 6549 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 6550   $as_echo_n "(cached) " >&6
 6551 else
 6552   if test -n "$ac_ct_MANIFEST_TOOL"; then
 6553   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 6554 else
 6555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6556 for as_dir in $PATH
 6557 do
 6558   IFS=$as_save_IFS
 6559   test -z "$as_dir" && as_dir=.
 6560     for ac_exec_ext in '' $ac_executable_extensions; do
 6561   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6562     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 6563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6564     break 2
 6565   fi
 6566 done
 6567   done
 6568 IFS=$as_save_IFS
 6569 
 6570 fi
 6571 fi
 6572 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 6573 if test -n "$ac_ct_MANIFEST_TOOL"; then
 6574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 6575 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 6576 else
 6577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6578 $as_echo "no" >&6; }
 6579 fi
 6580 
 6581   if test "x$ac_ct_MANIFEST_TOOL" = x; then
 6582     MANIFEST_TOOL=":"
 6583   else
 6584     case $cross_compiling:$ac_tool_warned in
 6585 yes:)
 6586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6588 ac_tool_warned=yes ;;
 6589 esac
 6590     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 6591   fi
 6592 else
 6593   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 6594 fi
 6595 
 6596 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 6597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 6598 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 6599 if ${lt_cv_path_mainfest_tool+:} false; then :
 6600   $as_echo_n "(cached) " >&6
 6601 else
 6602   lt_cv_path_mainfest_tool=no
 6603   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 6604   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 6605   cat conftest.err >&5
 6606   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 6607     lt_cv_path_mainfest_tool=yes
 6608   fi
 6609   rm -f conftest*
 6610 fi
 6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 6612 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
 6613 if test "x$lt_cv_path_mainfest_tool" != xyes; then
 6614   MANIFEST_TOOL=:
 6615 fi
 6616 
 6617     
 6618     
 6619     
 6620 
 6621 
 6622   case $host_os in
 6623     rhapsody* | darwin*)
 6624     if test -n "$ac_tool_prefix"; then
 6625   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 6626 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6628 $as_echo_n "checking for $ac_word... " >&6; }
 6629 if ${ac_cv_prog_DSYMUTIL+:} false; then :
 6630   $as_echo_n "(cached) " >&6
 6631 else
 6632   if test -n "$DSYMUTIL"; then
 6633   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 6634 else
 6635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6636 for as_dir in $PATH
 6637 do
 6638   IFS=$as_save_IFS
 6639   test -z "$as_dir" && as_dir=.
 6640     for ac_exec_ext in '' $ac_executable_extensions; do
 6641   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6642     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 6643     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6644     break 2
 6645   fi
 6646 done
 6647   done
 6648 IFS=$as_save_IFS
 6649 
 6650 fi
 6651 fi
 6652 DSYMUTIL=$ac_cv_prog_DSYMUTIL
 6653 if test -n "$DSYMUTIL"; then
 6654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 6655 $as_echo "$DSYMUTIL" >&6; }
 6656 else
 6657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6658 $as_echo "no" >&6; }
 6659 fi
 6660 
 6661 
 6662 fi
 6663 if test -z "$ac_cv_prog_DSYMUTIL"; then
 6664   ac_ct_DSYMUTIL=$DSYMUTIL
 6665   # Extract the first word of "dsymutil", so it can be a program name with args.
 6666 set dummy dsymutil; ac_word=$2
 6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6668 $as_echo_n "checking for $ac_word... " >&6; }
 6669 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 6670   $as_echo_n "(cached) " >&6
 6671 else
 6672   if test -n "$ac_ct_DSYMUTIL"; then
 6673   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 6674 else
 6675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6676 for as_dir in $PATH
 6677 do
 6678   IFS=$as_save_IFS
 6679   test -z "$as_dir" && as_dir=.
 6680     for ac_exec_ext in '' $ac_executable_extensions; do
 6681   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6682     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 6683     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6684     break 2
 6685   fi
 6686 done
 6687   done
 6688 IFS=$as_save_IFS
 6689 
 6690 fi
 6691 fi
 6692 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 6693 if test -n "$ac_ct_DSYMUTIL"; then
 6694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 6695 $as_echo "$ac_ct_DSYMUTIL" >&6; }
 6696 else
 6697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6698 $as_echo "no" >&6; }
 6699 fi
 6700 
 6701   if test "x$ac_ct_DSYMUTIL" = x; then
 6702     DSYMUTIL=":"
 6703   else
 6704     case $cross_compiling:$ac_tool_warned in
 6705 yes:)
 6706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6708 ac_tool_warned=yes ;;
 6709 esac
 6710     DSYMUTIL=$ac_ct_DSYMUTIL
 6711   fi
 6712 else
 6713   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 6714 fi
 6715 
 6716     if test -n "$ac_tool_prefix"; then
 6717   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 6718 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6720 $as_echo_n "checking for $ac_word... " >&6; }
 6721 if ${ac_cv_prog_NMEDIT+:} false; then :
 6722   $as_echo_n "(cached) " >&6
 6723 else
 6724   if test -n "$NMEDIT"; then
 6725   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 6726 else
 6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6728 for as_dir in $PATH
 6729 do
 6730   IFS=$as_save_IFS
 6731   test -z "$as_dir" && as_dir=.
 6732     for ac_exec_ext in '' $ac_executable_extensions; do
 6733   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6734     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 6735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6736     break 2
 6737   fi
 6738 done
 6739   done
 6740 IFS=$as_save_IFS
 6741 
 6742 fi
 6743 fi
 6744 NMEDIT=$ac_cv_prog_NMEDIT
 6745 if test -n "$NMEDIT"; then
 6746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 6747 $as_echo "$NMEDIT" >&6; }
 6748 else
 6749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6750 $as_echo "no" >&6; }
 6751 fi
 6752 
 6753 
 6754 fi
 6755 if test -z "$ac_cv_prog_NMEDIT"; then
 6756   ac_ct_NMEDIT=$NMEDIT
 6757   # Extract the first word of "nmedit", so it can be a program name with args.
 6758 set dummy nmedit; ac_word=$2
 6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6760 $as_echo_n "checking for $ac_word... " >&6; }
 6761 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 6762   $as_echo_n "(cached) " >&6
 6763 else
 6764   if test -n "$ac_ct_NMEDIT"; then
 6765   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 6766 else
 6767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6768 for as_dir in $PATH
 6769 do
 6770   IFS=$as_save_IFS
 6771   test -z "$as_dir" && as_dir=.
 6772     for ac_exec_ext in '' $ac_executable_extensions; do
 6773   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6774     ac_cv_prog_ac_ct_NMEDIT="nmedit"
 6775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6776     break 2
 6777   fi
 6778 done
 6779   done
 6780 IFS=$as_save_IFS
 6781 
 6782 fi
 6783 fi
 6784 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 6785 if test -n "$ac_ct_NMEDIT"; then
 6786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 6787 $as_echo "$ac_ct_NMEDIT" >&6; }
 6788 else
 6789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6790 $as_echo "no" >&6; }
 6791 fi
 6792 
 6793   if test "x$ac_ct_NMEDIT" = x; then
 6794     NMEDIT=":"
 6795   else
 6796     case $cross_compiling:$ac_tool_warned in
 6797 yes:)
 6798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6800 ac_tool_warned=yes ;;
 6801 esac
 6802     NMEDIT=$ac_ct_NMEDIT
 6803   fi
 6804 else
 6805   NMEDIT="$ac_cv_prog_NMEDIT"
 6806 fi
 6807 
 6808     if test -n "$ac_tool_prefix"; then
 6809   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 6810 set dummy ${ac_tool_prefix}lipo; ac_word=$2
 6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6812 $as_echo_n "checking for $ac_word... " >&6; }
 6813 if ${ac_cv_prog_LIPO+:} false; then :
 6814   $as_echo_n "(cached) " >&6
 6815 else
 6816   if test -n "$LIPO"; then
 6817   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 6818 else
 6819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6820 for as_dir in $PATH
 6821 do
 6822   IFS=$as_save_IFS
 6823   test -z "$as_dir" && as_dir=.
 6824     for ac_exec_ext in '' $ac_executable_extensions; do
 6825   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6826     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 6827     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6828     break 2
 6829   fi
 6830 done
 6831   done
 6832 IFS=$as_save_IFS
 6833 
 6834 fi
 6835 fi
 6836 LIPO=$ac_cv_prog_LIPO
 6837 if test -n "$LIPO"; then
 6838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 6839 $as_echo "$LIPO" >&6; }
 6840 else
 6841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6842 $as_echo "no" >&6; }
 6843 fi
 6844 
 6845 
 6846 fi
 6847 if test -z "$ac_cv_prog_LIPO"; then
 6848   ac_ct_LIPO=$LIPO
 6849   # Extract the first word of "lipo", so it can be a program name with args.
 6850 set dummy lipo; ac_word=$2
 6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6852 $as_echo_n "checking for $ac_word... " >&6; }
 6853 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 6854   $as_echo_n "(cached) " >&6
 6855 else
 6856   if test -n "$ac_ct_LIPO"; then
 6857   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 6858 else
 6859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6860 for as_dir in $PATH
 6861 do
 6862   IFS=$as_save_IFS
 6863   test -z "$as_dir" && as_dir=.
 6864     for ac_exec_ext in '' $ac_executable_extensions; do
 6865   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6866     ac_cv_prog_ac_ct_LIPO="lipo"
 6867     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6868     break 2
 6869   fi
 6870 done
 6871   done
 6872 IFS=$as_save_IFS
 6873 
 6874 fi
 6875 fi
 6876 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 6877 if test -n "$ac_ct_LIPO"; then
 6878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 6879 $as_echo "$ac_ct_LIPO" >&6; }
 6880 else
 6881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6882 $as_echo "no" >&6; }
 6883 fi
 6884 
 6885   if test "x$ac_ct_LIPO" = x; then
 6886     LIPO=":"
 6887   else
 6888     case $cross_compiling:$ac_tool_warned in
 6889 yes:)
 6890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6892 ac_tool_warned=yes ;;
 6893 esac
 6894     LIPO=$ac_ct_LIPO
 6895   fi
 6896 else
 6897   LIPO="$ac_cv_prog_LIPO"
 6898 fi
 6899 
 6900     if test -n "$ac_tool_prefix"; then
 6901   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 6902 set dummy ${ac_tool_prefix}otool; ac_word=$2
 6903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6904 $as_echo_n "checking for $ac_word... " >&6; }
 6905 if ${ac_cv_prog_OTOOL+:} false; then :
 6906   $as_echo_n "(cached) " >&6
 6907 else
 6908   if test -n "$OTOOL"; then
 6909   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 6910 else
 6911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6912 for as_dir in $PATH
 6913 do
 6914   IFS=$as_save_IFS
 6915   test -z "$as_dir" && as_dir=.
 6916     for ac_exec_ext in '' $ac_executable_extensions; do
 6917   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6918     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 6919     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6920     break 2
 6921   fi
 6922 done
 6923   done
 6924 IFS=$as_save_IFS
 6925 
 6926 fi
 6927 fi
 6928 OTOOL=$ac_cv_prog_OTOOL
 6929 if test -n "$OTOOL"; then
 6930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 6931 $as_echo "$OTOOL" >&6; }
 6932 else
 6933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6934 $as_echo "no" >&6; }
 6935 fi
 6936 
 6937 
 6938 fi
 6939 if test -z "$ac_cv_prog_OTOOL"; then
 6940   ac_ct_OTOOL=$OTOOL
 6941   # Extract the first word of "otool", so it can be a program name with args.
 6942 set dummy otool; ac_word=$2
 6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6944 $as_echo_n "checking for $ac_word... " >&6; }
 6945 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 6946   $as_echo_n "(cached) " >&6
 6947 else
 6948   if test -n "$ac_ct_OTOOL"; then
 6949   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 6950 else
 6951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6952 for as_dir in $PATH
 6953 do
 6954   IFS=$as_save_IFS
 6955   test -z "$as_dir" && as_dir=.
 6956     for ac_exec_ext in '' $ac_executable_extensions; do
 6957   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6958     ac_cv_prog_ac_ct_OTOOL="otool"
 6959     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6960     break 2
 6961   fi
 6962 done
 6963   done
 6964 IFS=$as_save_IFS
 6965 
 6966 fi
 6967 fi
 6968 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 6969 if test -n "$ac_ct_OTOOL"; then
 6970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 6971 $as_echo "$ac_ct_OTOOL" >&6; }
 6972 else
 6973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6974 $as_echo "no" >&6; }
 6975 fi
 6976 
 6977   if test "x$ac_ct_OTOOL" = x; then
 6978     OTOOL=":"
 6979   else
 6980     case $cross_compiling:$ac_tool_warned in
 6981 yes:)
 6982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6984 ac_tool_warned=yes ;;
 6985 esac
 6986     OTOOL=$ac_ct_OTOOL
 6987   fi
 6988 else
 6989   OTOOL="$ac_cv_prog_OTOOL"
 6990 fi
 6991 
 6992     if test -n "$ac_tool_prefix"; then
 6993   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 6994 set dummy ${ac_tool_prefix}otool64; ac_word=$2
 6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6996 $as_echo_n "checking for $ac_word... " >&6; }
 6997 if ${ac_cv_prog_OTOOL64+:} false; then :
 6998   $as_echo_n "(cached) " >&6
 6999 else
 7000   if test -n "$OTOOL64"; then
 7001   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 7002 else
 7003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7004 for as_dir in $PATH
 7005 do
 7006   IFS=$as_save_IFS
 7007   test -z "$as_dir" && as_dir=.
 7008     for ac_exec_ext in '' $ac_executable_extensions; do
 7009   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7010     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 7011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7012     break 2
 7013   fi
 7014 done
 7015   done
 7016 IFS=$as_save_IFS
 7017 
 7018 fi
 7019 fi
 7020 OTOOL64=$ac_cv_prog_OTOOL64
 7021 if test -n "$OTOOL64"; then
 7022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 7023 $as_echo "$OTOOL64" >&6; }
 7024 else
 7025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7026 $as_echo "no" >&6; }
 7027 fi
 7028 
 7029 
 7030 fi
 7031 if test -z "$ac_cv_prog_OTOOL64"; then
 7032   ac_ct_OTOOL64=$OTOOL64
 7033   # Extract the first word of "otool64", so it can be a program name with args.
 7034 set dummy otool64; ac_word=$2
 7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7036 $as_echo_n "checking for $ac_word... " >&6; }
 7037 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 7038   $as_echo_n "(cached) " >&6
 7039 else
 7040   if test -n "$ac_ct_OTOOL64"; then
 7041   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 7042 else
 7043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7044 for as_dir in $PATH
 7045 do
 7046   IFS=$as_save_IFS
 7047   test -z "$as_dir" && as_dir=.
 7048     for ac_exec_ext in '' $ac_executable_extensions; do
 7049   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7050     ac_cv_prog_ac_ct_OTOOL64="otool64"
 7051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7052     break 2
 7053   fi
 7054 done
 7055   done
 7056 IFS=$as_save_IFS
 7057 
 7058 fi
 7059 fi
 7060 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 7061 if test -n "$ac_ct_OTOOL64"; then
 7062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 7063 $as_echo "$ac_ct_OTOOL64" >&6; }
 7064 else
 7065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7066 $as_echo "no" >&6; }
 7067 fi
 7068 
 7069   if test "x$ac_ct_OTOOL64" = x; then
 7070     OTOOL64=":"
 7071   else
 7072     case $cross_compiling:$ac_tool_warned in
 7073 yes:)
 7074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7076 ac_tool_warned=yes ;;
 7077 esac
 7078     OTOOL64=$ac_ct_OTOOL64
 7079   fi
 7080 else
 7081   OTOOL64="$ac_cv_prog_OTOOL64"
 7082 fi
 7083 
 7084     
 7085     
 7086     
 7087     
 7088 
 7089     
 7090     
 7091     
 7092     
 7093 
 7094     
 7095     
 7096     
 7097     
 7098 
 7099     
 7100     
 7101     
 7102     
 7103 
 7104     
 7105     
 7106     
 7107     
 7108 
 7109 
 7110     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 7111 $as_echo_n "checking for -single_module linker flag... " >&6; }
 7112 if ${lt_cv_apple_cc_single_mod+:} false; then :
 7113   $as_echo_n "(cached) " >&6
 7114 else
 7115   lt_cv_apple_cc_single_mod=no
 7116       if test -z "${LT_MULTI_MODULE}"; then
 7117 	# By default we will add the -single_module flag. You can override
 7118 	# by either setting the environment variable LT_MULTI_MODULE
 7119 	# non-empty at configure time, or by adding -multi_module to the
 7120 	# link flags.
 7121 	rm -rf libconftest.dylib*
 7122 	echo "int foo(void){return 1;}" > conftest.c
 7123 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 7124 -dynamiclib -Wl,-single_module conftest.c" >&5
 7125 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 7126 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 7127         _lt_result=$?
 7128 	# If there is a non-empty error log, and "single_module"
 7129 	# appears in it, assume the flag caused a linker warning
 7130         if test -s conftest.err && $GREP single_module conftest.err; then
 7131 	  cat conftest.err >&5
 7132 	# Otherwise, if the output was created with a 0 exit code from
 7133 	# the compiler, it worked.
 7134 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
 7135 	  lt_cv_apple_cc_single_mod=yes
 7136 	else
 7137 	  cat conftest.err >&5
 7138 	fi
 7139 	rm -rf libconftest.dylib*
 7140 	rm -f conftest.*
 7141       fi
 7142 fi
 7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 7144 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 7145 
 7146     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 7147 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 7148 if ${lt_cv_ld_exported_symbols_list+:} false; then :
 7149   $as_echo_n "(cached) " >&6
 7150 else
 7151   lt_cv_ld_exported_symbols_list=no
 7152       save_LDFLAGS=$LDFLAGS
 7153       echo "_main" > conftest.sym
 7154       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 7155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7156 /* end confdefs.h.  */
 7157 
 7158 int
 7159 main ()
 7160 {
 7161 
 7162   ;
 7163   return 0;
 7164 }
 7165 _ACEOF
 7166 if ac_fn_c_try_link "$LINENO"; then :
 7167   lt_cv_ld_exported_symbols_list=yes
 7168 else
 7169   lt_cv_ld_exported_symbols_list=no
 7170 fi
 7171 rm -f core conftest.err conftest.$ac_objext \
 7172     conftest$ac_exeext conftest.$ac_ext
 7173 	LDFLAGS="$save_LDFLAGS"
 7174     
 7175 fi
 7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 7177 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 7178 
 7179     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 7180 $as_echo_n "checking for -force_load linker flag... " >&6; }
 7181 if ${lt_cv_ld_force_load+:} false; then :
 7182   $as_echo_n "(cached) " >&6
 7183 else
 7184   lt_cv_ld_force_load=no
 7185       cat > conftest.c << _LT_EOF
 7186 int forced_loaded() { return 2;}
 7187 _LT_EOF
 7188       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 7189       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 7190       echo "$AR cru libconftest.a conftest.o" >&5
 7191       $AR cru libconftest.a conftest.o 2>&5
 7192       echo "$RANLIB libconftest.a" >&5
 7193       $RANLIB libconftest.a 2>&5
 7194       cat > conftest.c << _LT_EOF
 7195 int main() { return 0;}
 7196 _LT_EOF
 7197       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 7198       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 7199       _lt_result=$?
 7200       if test -s conftest.err && $GREP force_load conftest.err; then
 7201 	cat conftest.err >&5
 7202       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 7203 	lt_cv_ld_force_load=yes
 7204       else
 7205 	cat conftest.err >&5
 7206       fi
 7207         rm -f conftest.err libconftest.a conftest conftest.c
 7208         rm -rf conftest.dSYM
 7209     
 7210 fi
 7211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 7212 $as_echo "$lt_cv_ld_force_load" >&6; }
 7213     case $host_os in
 7214     rhapsody* | darwin1.[012])
 7215       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 7216     darwin1.*)
 7217       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 7218     darwin*) # darwin 5.x on
 7219       # if running on 10.5 or later, the deployment target defaults
 7220       # to the OS version, if on x86, and 10.4, the deployment
 7221       # target defaults to 10.4. Don't you love it?
 7222       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 7223 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 7224 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 7225 	10.[012]*)
 7226 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 7227 	10.*)
 7228 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 7229       esac
 7230     ;;
 7231   esac
 7232     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 7233       _lt_dar_single_mod='$single_module'
 7234     fi
 7235     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 7236       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 7237     else
 7238       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 7239     fi
 7240     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 7241       _lt_dsymutil='~$DSYMUTIL $lib || :'
 7242     else
 7243       _lt_dsymutil=
 7244     fi
 7245     ;;
 7246   esac
 7247 
 7248 ac_ext=c
 7249 ac_cpp='$CPP $CPPFLAGS'
 7250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 7251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 7252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 7253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 7254 $as_echo_n "checking how to run the C preprocessor... " >&6; }
 7255 # On Suns, sometimes $CPP names a directory.
 7256 if test -n "$CPP" && test -d "$CPP"; then
 7257   CPP=
 7258 fi
 7259 if test -z "$CPP"; then
 7260   if ${ac_cv_prog_CPP+:} false; then :
 7261   $as_echo_n "(cached) " >&6
 7262 else
 7263       # Double quotes because CPP needs to be expanded
 7264     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 7265     do
 7266       ac_preproc_ok=false
 7267 for ac_c_preproc_warn_flag in '' yes
 7268 do
 7269   # Use a header file that comes with gcc, so configuring glibc
 7270   # with a fresh cross-compiler works.
 7271   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 7272   # <limits.h> exists even on freestanding compilers.
 7273   # On the NeXT, cc -E runs the code through the compiler's parser,
 7274   # not just through cpp. "Syntax error" is here to catch this case.
 7275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7276 /* end confdefs.h.  */
 7277 @%:@ifdef __STDC__
 7278 @%:@ include <limits.h>
 7279 @%:@else
 7280 @%:@ include <assert.h>
 7281 @%:@endif
 7282 		     Syntax error
 7283 _ACEOF
 7284 if ac_fn_c_try_cpp "$LINENO"; then :
 7285   
 7286 else
 7287   # Broken: fails on valid input.
 7288 continue
 7289 fi
 7290 rm -f conftest.err conftest.i conftest.$ac_ext
 7291 
 7292   # OK, works on sane cases.  Now check whether nonexistent headers
 7293   # can be detected and how.
 7294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7295 /* end confdefs.h.  */
 7296 @%:@include <ac_nonexistent.h>
 7297 _ACEOF
 7298 if ac_fn_c_try_cpp "$LINENO"; then :
 7299   # Broken: success on invalid input.
 7300 continue
 7301 else
 7302   # Passes both tests.
 7303 ac_preproc_ok=:
 7304 break
 7305 fi
 7306 rm -f conftest.err conftest.i conftest.$ac_ext
 7307 
 7308 done
 7309 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 7310 rm -f conftest.i conftest.err conftest.$ac_ext
 7311 if $ac_preproc_ok; then :
 7312   break
 7313 fi
 7314 
 7315     done
 7316     ac_cv_prog_CPP=$CPP
 7317   
 7318 fi
 7319   CPP=$ac_cv_prog_CPP
 7320 else
 7321   ac_cv_prog_CPP=$CPP
 7322 fi
 7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 7324 $as_echo "$CPP" >&6; }
 7325 ac_preproc_ok=false
 7326 for ac_c_preproc_warn_flag in '' yes
 7327 do
 7328   # Use a header file that comes with gcc, so configuring glibc
 7329   # with a fresh cross-compiler works.
 7330   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 7331   # <limits.h> exists even on freestanding compilers.
 7332   # On the NeXT, cc -E runs the code through the compiler's parser,
 7333   # not just through cpp. "Syntax error" is here to catch this case.
 7334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7335 /* end confdefs.h.  */
 7336 @%:@ifdef __STDC__
 7337 @%:@ include <limits.h>
 7338 @%:@else
 7339 @%:@ include <assert.h>
 7340 @%:@endif
 7341 		     Syntax error
 7342 _ACEOF
 7343 if ac_fn_c_try_cpp "$LINENO"; then :
 7344   
 7345 else
 7346   # Broken: fails on valid input.
 7347 continue
 7348 fi
 7349 rm -f conftest.err conftest.i conftest.$ac_ext
 7350 
 7351   # OK, works on sane cases.  Now check whether nonexistent headers
 7352   # can be detected and how.
 7353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7354 /* end confdefs.h.  */
 7355 @%:@include <ac_nonexistent.h>
 7356 _ACEOF
 7357 if ac_fn_c_try_cpp "$LINENO"; then :
 7358   # Broken: success on invalid input.
 7359 continue
 7360 else
 7361   # Passes both tests.
 7362 ac_preproc_ok=:
 7363 break
 7364 fi
 7365 rm -f conftest.err conftest.i conftest.$ac_ext
 7366 
 7367 done
 7368 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 7369 rm -f conftest.i conftest.err conftest.$ac_ext
 7370 if $ac_preproc_ok; then :
 7371   
 7372 else
 7373   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 7374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 7375 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 7376 See \`config.log' for more details" "$LINENO" 5; }
 7377 fi
 7378 
 7379 ac_ext=c
 7380 ac_cpp='$CPP $CPPFLAGS'
 7381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 7382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 7383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 7384 
 7385 
 7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 7387 $as_echo_n "checking for ANSI C header files... " >&6; }
 7388 if ${ac_cv_header_stdc+:} false; then :
 7389   $as_echo_n "(cached) " >&6
 7390 else
 7391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7392 /* end confdefs.h.  */
 7393 #include <stdlib.h>
 7394 #include <stdarg.h>
 7395 #include <string.h>
 7396 #include <float.h>
 7397 
 7398 int
 7399 main ()
 7400 {
 7401 
 7402   ;
 7403   return 0;
 7404 }
 7405 _ACEOF
 7406 if ac_fn_c_try_compile "$LINENO"; then :
 7407   ac_cv_header_stdc=yes
 7408 else
 7409   ac_cv_header_stdc=no
 7410 fi
 7411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7412 
 7413 if test $ac_cv_header_stdc = yes; then
 7414   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 7415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7416 /* end confdefs.h.  */
 7417 #include <string.h>
 7418 
 7419 _ACEOF
 7420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 7421   $EGREP "memchr" >/dev/null 2>&1; then :
 7422   
 7423 else
 7424   ac_cv_header_stdc=no
 7425 fi
 7426 rm -f conftest*
 7427 
 7428 fi
 7429 
 7430 if test $ac_cv_header_stdc = yes; then
 7431   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 7432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7433 /* end confdefs.h.  */
 7434 #include <stdlib.h>
 7435 
 7436 _ACEOF
 7437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 7438   $EGREP "free" >/dev/null 2>&1; then :
 7439   
 7440 else
 7441   ac_cv_header_stdc=no
 7442 fi
 7443 rm -f conftest*
 7444 
 7445 fi
 7446 
 7447 if test $ac_cv_header_stdc = yes; then
 7448   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 7449   if test "$cross_compiling" = yes; then :
 7450   :
 7451 else
 7452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7453 /* end confdefs.h.  */
 7454 #include <ctype.h>
 7455 #include <stdlib.h>
 7456 #if ((' ' & 0x0FF) == 0x020)
 7457 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 7458 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 7459 #else
 7460 # define ISLOWER(c) \
 7461 		   (('a' <= (c) && (c) <= 'i') \
 7462 		     || ('j' <= (c) && (c) <= 'r') \
 7463 		     || ('s' <= (c) && (c) <= 'z'))
 7464 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 7465 #endif
 7466 
 7467 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 7468 int
 7469 main ()
 7470 {
 7471   int i;
 7472   for (i = 0; i < 256; i++)
 7473     if (XOR (islower (i), ISLOWER (i))
 7474 	|| toupper (i) != TOUPPER (i))
 7475       return 2;
 7476   return 0;
 7477 }
 7478 _ACEOF
 7479 if ac_fn_c_try_run "$LINENO"; then :
 7480   
 7481 else
 7482   ac_cv_header_stdc=no
 7483 fi
 7484 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 7485   conftest.$ac_objext conftest.beam conftest.$ac_ext
 7486 fi
 7487 
 7488 fi
 7489 fi
 7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 7491 $as_echo "$ac_cv_header_stdc" >&6; }
 7492 if test $ac_cv_header_stdc = yes; then
 7493   
 7494 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
 7495 
 7496 fi
 7497 
 7498 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 7499 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 7500 		  inttypes.h stdint.h unistd.h
 7501 do :
 7502   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 7503 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 7504 "
 7505 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 7506   cat >>confdefs.h <<_ACEOF
 7507 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 7508 _ACEOF
 7509  
 7510 fi
 7511 
 7512 done
 7513 
 7514 
 7515 for ac_header in dlfcn.h
 7516 do :
 7517   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 7518 "
 7519 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 7520   cat >>confdefs.h <<_ACEOF
 7521 @%:@define HAVE_DLFCN_H 1
 7522 _ACEOF
 7523  
 7524 fi
 7525 
 7526 done
 7527 
 7528 
 7529 
 7530 
 7531 
 7532 # Set options
 7533 
 7534 
 7535 
 7536         enable_dlopen=no
 7537   
 7538 
 7539   enable_win32_dll=no
 7540   
 7541 
 7542             @%:@ Check whether --enable-shared was given.
 7543 if test "${enable_shared+set}" = set; then :
 7544   enableval=$enable_shared; p=${PACKAGE-default}
 7545     case $enableval in
 7546     yes) enable_shared=yes ;;
 7547     no) enable_shared=no ;;
 7548     *)
 7549       enable_shared=no
 7550       # Look at the argument we got.  We use all the common list separators.
 7551       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 7552       for pkg in $enableval; do
 7553 	IFS="$lt_save_ifs"
 7554 	if test "X$pkg" = "X$p"; then
 7555 	  enable_shared=yes
 7556 	fi
 7557       done
 7558       IFS="$lt_save_ifs"
 7559       ;;
 7560     esac
 7561 else
 7562   enable_shared=yes
 7563 fi
 7564 
 7565 
 7566     
 7567     
 7568     
 7569     
 7570 
 7571 
 7572 
 7573   @%:@ Check whether --enable-static was given.
 7574 if test "${enable_static+set}" = set; then :
 7575   enableval=$enable_static; p=${PACKAGE-default}
 7576     case $enableval in
 7577     yes) enable_static=yes ;;
 7578     no) enable_static=no ;;
 7579     *)
 7580      enable_static=no
 7581       # Look at the argument we got.  We use all the common list separators.
 7582       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 7583       for pkg in $enableval; do
 7584 	IFS="$lt_save_ifs"
 7585 	if test "X$pkg" = "X$p"; then
 7586 	  enable_static=yes
 7587 	fi
 7588       done
 7589       IFS="$lt_save_ifs"
 7590       ;;
 7591     esac
 7592 else
 7593   enable_static=yes
 7594 fi
 7595 
 7596 
 7597     
 7598     
 7599     
 7600     
 7601 
 7602 
 7603 
 7604   
 7605 @%:@ Check whether --with-pic was given.
 7606 if test "${with_pic+set}" = set; then :
 7607   withval=$with_pic; lt_p=${PACKAGE-default}
 7608     case $withval in
 7609     yes|no) pic_mode=$withval ;;
 7610     *)
 7611       pic_mode=default
 7612       # Look at the argument we got.  We use all the common list separators.
 7613       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 7614       for lt_pkg in $withval; do
 7615 	IFS="$lt_save_ifs"
 7616 	if test "X$lt_pkg" = "X$lt_p"; then
 7617 	  pic_mode=yes
 7618 	fi
 7619       done
 7620       IFS="$lt_save_ifs"
 7621       ;;
 7622     esac
 7623 else
 7624   pic_mode=default
 7625 fi
 7626 
 7627 
 7628 test -z "$pic_mode" && pic_mode=default
 7629 
 7630 
 7631     
 7632     
 7633     
 7634 
 7635 
 7636   @%:@ Check whether --enable-fast-install was given.
 7637 if test "${enable_fast_install+set}" = set; then :
 7638   enableval=$enable_fast_install; p=${PACKAGE-default}
 7639     case $enableval in
 7640     yes) enable_fast_install=yes ;;
 7641     no) enable_fast_install=no ;;
 7642     *)
 7643       enable_fast_install=no
 7644       # Look at the argument we got.  We use all the common list separators.
 7645       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 7646       for pkg in $enableval; do
 7647 	IFS="$lt_save_ifs"
 7648 	if test "X$pkg" = "X$p"; then
 7649 	  enable_fast_install=yes
 7650 	fi
 7651       done
 7652       IFS="$lt_save_ifs"
 7653       ;;
 7654     esac
 7655 else
 7656   enable_fast_install=yes
 7657 fi
 7658 
 7659 
 7660 
 7661     
 7662     
 7663     
 7664 
 7665 
 7666   
 7667 
 7668 
 7669 # This can be used to rebuild libtool when needed
 7670 LIBTOOL_DEPS="$ltmain"
 7671 
 7672 # Always use our own libtool.
 7673 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 7674 
 7675 
 7676 
 7677     
 7678     
 7679     
 7680 
 7681     
 7682     
 7683     
 7684 
 7685     
 7686     
 7687     
 7688 
 7689     
 7690     
 7691     
 7692 
 7693     
 7694     
 7695     
 7696 
 7697     
 7698     
 7699     
 7700 
 7701     
 7702     
 7703     
 7704 test -z "$LN_S" && LN_S="ln -s"
 7705 
 7706     
 7707     
 7708     
 7709 
 7710     
 7711     
 7712     
 7713 
 7714     
 7715     
 7716     
 7717 
 7718 
 7719 if test -n "${ZSH_VERSION+set}" ; then
 7720    setopt NO_GLOB_SUBST
 7721 fi
 7722 
 7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 7724 $as_echo_n "checking for objdir... " >&6; }
 7725 if ${lt_cv_objdir+:} false; then :
 7726   $as_echo_n "(cached) " >&6
 7727 else
 7728   rm -f .libs 2>/dev/null
 7729 mkdir .libs 2>/dev/null
 7730 if test -d .libs; then
 7731   lt_cv_objdir=.libs
 7732 else
 7733   # MS-DOS does not allow filenames that begin with a dot.
 7734   lt_cv_objdir=_libs
 7735 fi
 7736 rmdir .libs 2>/dev/null
 7737 fi
 7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 7739 $as_echo "$lt_cv_objdir" >&6; }
 7740 objdir=$lt_cv_objdir
 7741 
 7742     
 7743     
 7744     
 7745 
 7746 cat >>confdefs.h <<_ACEOF
 7747 @%:@define LT_OBJDIR "$lt_cv_objdir/"
 7748 _ACEOF
 7749 
 7750 
 7751 
 7752 
 7753 case $host_os in
 7754 aix3*)
 7755   # AIX sometimes has problems with the GCC collect2 program.  For some
 7756   # reason, if we set the COLLECT_NAMES environment variable, the problems
 7757   # vanish in a puff of smoke.
 7758   if test "X${COLLECT_NAMES+set}" != Xset; then
 7759     COLLECT_NAMES=
 7760     export COLLECT_NAMES
 7761   fi
 7762   ;;
 7763 esac
 7764 
 7765 # Global variables:
 7766 ofile=libtool
 7767 can_build_shared=yes
 7768 
 7769 # All known linkers require a `.a' archive for static linking (except MSVC,
 7770 # which needs '.lib').
 7771 libext=a
 7772 
 7773 with_gnu_ld="$lt_cv_prog_gnu_ld"
 7774 
 7775 old_CC="$CC"
 7776 old_CFLAGS="$CFLAGS"
 7777 
 7778 # Set sane defaults for various variables
 7779 test -z "$CC" && CC=cc
 7780 test -z "$LTCC" && LTCC=$CC
 7781 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 7782 test -z "$LD" && LD=ld
 7783 test -z "$ac_objext" && ac_objext=o
 7784 
 7785 for cc_temp in $compiler""; do
 7786   case $cc_temp in
 7787     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 7788     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 7789     \-*) ;;
 7790     *) break;;
 7791   esac
 7792 done
 7793 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 7794 
 7795 
 7796 # Only perform the check for file, if the check method requires it
 7797 test -z "$MAGIC_CMD" && MAGIC_CMD=file
 7798 case $deplibs_check_method in
 7799 file_magic*)
 7800   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 7801     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 7802 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 7803 if ${lt_cv_path_MAGIC_CMD+:} false; then :
 7804   $as_echo_n "(cached) " >&6
 7805 else
 7806   case $MAGIC_CMD in
 7807 [\\/*] |  ?:[\\/]*)
 7808   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 7809   ;;
 7810 *)
 7811   lt_save_MAGIC_CMD="$MAGIC_CMD"
 7812   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 7813   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 7814   for ac_dir in $ac_dummy; do
 7815     IFS="$lt_save_ifs"
 7816     test -z "$ac_dir" && ac_dir=.
 7817     if test -f $ac_dir/${ac_tool_prefix}file; then
 7818       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 7819       if test -n "$file_magic_test_file"; then
 7820 	case $deplibs_check_method in
 7821 	"file_magic "*)
 7822 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 7823 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 7824 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 7825 	    $EGREP "$file_magic_regex" > /dev/null; then
 7826 	    :
 7827 	  else
 7828 	    cat <<_LT_EOF 1>&2
 7829 
 7830 *** Warning: the command libtool uses to detect shared libraries,
 7831 *** $file_magic_cmd, produces output that libtool cannot recognize.
 7832 *** The result is that libtool may fail to recognize shared libraries
 7833 *** as such.  This will affect the creation of libtool libraries that
 7834 *** depend on shared libraries, but programs linked with such libtool
 7835 *** libraries will work regardless of this problem.  Nevertheless, you
 7836 *** may want to report the problem to your system manager and/or to
 7837 *** bug-libtool@gnu.org
 7838 
 7839 _LT_EOF
 7840 	  fi ;;
 7841 	esac
 7842       fi
 7843       break
 7844     fi
 7845   done
 7846   IFS="$lt_save_ifs"
 7847   MAGIC_CMD="$lt_save_MAGIC_CMD"
 7848   ;;
 7849 esac
 7850 fi
 7851 
 7852 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 7853 if test -n "$MAGIC_CMD"; then
 7854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 7855 $as_echo "$MAGIC_CMD" >&6; }
 7856 else
 7857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7858 $as_echo "no" >&6; }
 7859 fi
 7860 
 7861     
 7862     
 7863     
 7864 
 7865 if test -z "$lt_cv_path_MAGIC_CMD"; then
 7866   if test -n "$ac_tool_prefix"; then
 7867     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 7868 $as_echo_n "checking for file... " >&6; }
 7869 if ${lt_cv_path_MAGIC_CMD+:} false; then :
 7870   $as_echo_n "(cached) " >&6
 7871 else
 7872   case $MAGIC_CMD in
 7873 [\\/*] |  ?:[\\/]*)
 7874   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 7875   ;;
 7876 *)
 7877   lt_save_MAGIC_CMD="$MAGIC_CMD"
 7878   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 7879   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 7880   for ac_dir in $ac_dummy; do
 7881     IFS="$lt_save_ifs"
 7882     test -z "$ac_dir" && ac_dir=.
 7883     if test -f $ac_dir/file; then
 7884       lt_cv_path_MAGIC_CMD="$ac_dir/file"
 7885       if test -n "$file_magic_test_file"; then
 7886 	case $deplibs_check_method in
 7887 	"file_magic "*)
 7888 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 7889 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 7890 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 7891 	    $EGREP "$file_magic_regex" > /dev/null; then
 7892 	    :
 7893 	  else
 7894 	    cat <<_LT_EOF 1>&2
 7895 
 7896 *** Warning: the command libtool uses to detect shared libraries,
 7897 *** $file_magic_cmd, produces output that libtool cannot recognize.
 7898 *** The result is that libtool may fail to recognize shared libraries
 7899 *** as such.  This will affect the creation of libtool libraries that
 7900 *** depend on shared libraries, but programs linked with such libtool
 7901 *** libraries will work regardless of this problem.  Nevertheless, you
 7902 *** may want to report the problem to your system manager and/or to
 7903 *** bug-libtool@gnu.org
 7904 
 7905 _LT_EOF
 7906 	  fi ;;
 7907 	esac
 7908       fi
 7909       break
 7910     fi
 7911   done
 7912   IFS="$lt_save_ifs"
 7913   MAGIC_CMD="$lt_save_MAGIC_CMD"
 7914   ;;
 7915 esac
 7916 fi
 7917 
 7918 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 7919 if test -n "$MAGIC_CMD"; then
 7920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 7921 $as_echo "$MAGIC_CMD" >&6; }
 7922 else
 7923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7924 $as_echo "no" >&6; }
 7925 fi
 7926 
 7927 
 7928   else
 7929     MAGIC_CMD=:
 7930   fi
 7931 fi
 7932 
 7933   fi
 7934   ;;
 7935 esac
 7936 
 7937 # Use C for the default configuration in the libtool script
 7938 
 7939 lt_save_CC="$CC"
 7940 ac_ext=c
 7941 ac_cpp='$CPP $CPPFLAGS'
 7942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 7943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 7944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 7945 
 7946 
 7947 # Source file extension for C test sources.
 7948 ac_ext=c
 7949 
 7950 # Object file extension for compiled C test sources.
 7951 objext=o
 7952 objext=$objext
 7953 
 7954 # Code to be used in simple compile tests
 7955 lt_simple_compile_test_code="int some_variable = 0;"
 7956 
 7957 # Code to be used in simple link tests
 7958 lt_simple_link_test_code='int main(){return(0);}'
 7959 
 7960 
 7961 
 7962 
 7963 
 7964 
 7965 
 7966 # If no C compiler was specified, use CC.
 7967 LTCC=${LTCC-"$CC"}
 7968 
 7969 # If no C compiler flags were specified, use CFLAGS.
 7970 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 7971 
 7972 # Allow CC to be a program name with arguments.
 7973 compiler=$CC
 7974 
 7975 # Save the default compiler, since it gets overwritten when the other
 7976 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 7977 compiler_DEFAULT=$CC
 7978 
 7979 # save warnings/boilerplate of simple test code
 7980 ac_outfile=conftest.$ac_objext
 7981 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 7982 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 7983 _lt_compiler_boilerplate=`cat conftest.err`
 7984 $RM conftest*
 7985 
 7986 ac_outfile=conftest.$ac_objext
 7987 echo "$lt_simple_link_test_code" >conftest.$ac_ext
 7988 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 7989 _lt_linker_boilerplate=`cat conftest.err`
 7990 $RM -r conftest*
 7991 
 7992 
 7993 ## CAVEAT EMPTOR:
 7994 ## There is no encapsulation within the following macros, do not change
 7995 ## the running order or otherwise move them around unless you know exactly
 7996 ## what you are doing...
 7997 if test -n "$compiler"; then
 7998   
 7999 lt_prog_compiler_no_builtin_flag=
 8000 
 8001 if test "$GCC" = yes; then
 8002   case $cc_basename in
 8003   nvcc*)
 8004     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 8005   *)
 8006     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 8007   esac
 8008 
 8009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 8010 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 8011 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 8012   $as_echo_n "(cached) " >&6
 8013 else
 8014   lt_cv_prog_compiler_rtti_exceptions=no
 8015    ac_outfile=conftest.$ac_objext
 8016    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 8017    lt_compiler_flag="-fno-rtti -fno-exceptions"
 8018    # Insert the option either (1) after the last *FLAGS variable, or
 8019    # (2) before a word containing "conftest.", or (3) at the end.
 8020    # Note that $ac_compile itself does not contain backslashes and begins
 8021    # with a dollar sign (not a hyphen), so the echo should work correctly.
 8022    # The option is referenced via a variable to avoid confusing sed.
 8023    lt_compile=`echo "$ac_compile" | $SED \
 8024    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 8025    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 8026    -e 's:$: $lt_compiler_flag:'`
 8027    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 8028    (eval "$lt_compile" 2>conftest.err)
 8029    ac_status=$?
 8030    cat conftest.err >&5
 8031    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8032    if (exit $ac_status) && test -s "$ac_outfile"; then
 8033      # The compiler can only warn and ignore the option if not recognized
 8034      # So say no if there are warnings other than the usual output.
 8035      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 8036      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 8037      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 8038        lt_cv_prog_compiler_rtti_exceptions=yes
 8039      fi
 8040    fi
 8041    $RM conftest*
 8042 
 8043 fi
 8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 8045 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 8046 
 8047 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 8048     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 8049 else
 8050     :
 8051 fi
 8052 
 8053 fi
 8054 
 8055     
 8056     
 8057     
 8058 
 8059 
 8060   lt_prog_compiler_wl=
 8061 lt_prog_compiler_pic=
 8062 lt_prog_compiler_static=
 8063 
 8064 
 8065   if test "$GCC" = yes; then
 8066     lt_prog_compiler_wl='-Wl,'
 8067     lt_prog_compiler_static='-static'
 8068 
 8069     case $host_os in
 8070       aix*)
 8071       # All AIX code is PIC.
 8072       if test "$host_cpu" = ia64; then
 8073 	# AIX 5 now supports IA64 processor
 8074 	lt_prog_compiler_static='-Bstatic'
 8075       fi
 8076       ;;
 8077 
 8078     amigaos*)
 8079       case $host_cpu in
 8080       powerpc)
 8081             # see comment about AmigaOS4 .so support
 8082             lt_prog_compiler_pic='-fPIC'
 8083         ;;
 8084       m68k)
 8085             # FIXME: we need at least 68020 code to build shared libraries, but
 8086             # adding the `-m68020' flag to GCC prevents building anything better,
 8087             # like `-m68040'.
 8088             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 8089         ;;
 8090       esac
 8091       ;;
 8092 
 8093     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 8094       # PIC is the default for these OSes.
 8095       ;;
 8096 
 8097     mingw* | cygwin* | pw32* | os2* | cegcc*)
 8098       # This hack is so that the source file can tell whether it is being
 8099       # built for inclusion in a dll (and should export symbols for example).
 8100       # Although the cygwin gcc ignores -fPIC, still need this for old-style
 8101       # (--disable-auto-import) libraries
 8102       lt_prog_compiler_pic='-DDLL_EXPORT'
 8103       ;;
 8104 
 8105     darwin* | rhapsody*)
 8106       # PIC is the default on this platform
 8107       # Common symbols not allowed in MH_DYLIB files
 8108       lt_prog_compiler_pic='-fno-common'
 8109       ;;
 8110 
 8111     haiku*)
 8112       # PIC is the default for Haiku.
 8113       # The "-static" flag exists, but is broken.
 8114       lt_prog_compiler_static=
 8115       ;;
 8116 
 8117     hpux*)
 8118       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 8119       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 8120       # sets the default TLS model and affects inlining.
 8121       case $host_cpu in
 8122       hppa*64*)
 8123 	# +Z the default
 8124 	;;
 8125       *)
 8126 	lt_prog_compiler_pic='-fPIC'
 8127 	;;
 8128       esac
 8129       ;;
 8130 
 8131     interix[3-9]*)
 8132       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 8133       # Instead, we relocate shared libraries at runtime.
 8134       ;;
 8135 
 8136     msdosdjgpp*)
 8137       # Just because we use GCC doesn't mean we suddenly get shared libraries
 8138       # on systems that don't support them.
 8139       lt_prog_compiler_can_build_shared=no
 8140       enable_shared=no
 8141       ;;
 8142 
 8143     *nto* | *qnx*)
 8144       # QNX uses GNU C++, but need to define -shared option too, otherwise
 8145       # it will coredump.
 8146       lt_prog_compiler_pic='-fPIC -shared'
 8147       ;;
 8148 
 8149     sysv4*MP*)
 8150       if test -d /usr/nec; then
 8151 	lt_prog_compiler_pic=-Kconform_pic
 8152       fi
 8153       ;;
 8154 
 8155     *)
 8156       lt_prog_compiler_pic='-fPIC'
 8157       ;;
 8158     esac
 8159 
 8160     case $cc_basename in
 8161     nvcc*) # Cuda Compiler Driver 2.2
 8162       lt_prog_compiler_wl='-Xlinker '
 8163       if test -n "$lt_prog_compiler_pic"; then
 8164         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 8165       fi
 8166       ;;
 8167     esac
 8168   else
 8169     # PORTME Check for flag to pass linker flags through the system compiler.
 8170     case $host_os in
 8171     aix*)
 8172       lt_prog_compiler_wl='-Wl,'
 8173       if test "$host_cpu" = ia64; then
 8174 	# AIX 5 now supports IA64 processor
 8175 	lt_prog_compiler_static='-Bstatic'
 8176       else
 8177 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 8178       fi
 8179       ;;
 8180 
 8181     mingw* | cygwin* | pw32* | os2* | cegcc*)
 8182       # This hack is so that the source file can tell whether it is being
 8183       # built for inclusion in a dll (and should export symbols for example).
 8184       lt_prog_compiler_pic='-DDLL_EXPORT'
 8185       ;;
 8186 
 8187     hpux9* | hpux10* | hpux11*)
 8188       lt_prog_compiler_wl='-Wl,'
 8189       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 8190       # not for PA HP-UX.
 8191       case $host_cpu in
 8192       hppa*64*|ia64*)
 8193 	# +Z the default
 8194 	;;
 8195       *)
 8196 	lt_prog_compiler_pic='+Z'
 8197 	;;
 8198       esac
 8199       # Is there a better lt_prog_compiler_static that works with the bundled CC?
 8200       lt_prog_compiler_static='${wl}-a ${wl}archive'
 8201       ;;
 8202 
 8203     irix5* | irix6* | nonstopux*)
 8204       lt_prog_compiler_wl='-Wl,'
 8205       # PIC (with -KPIC) is the default.
 8206       lt_prog_compiler_static='-non_shared'
 8207       ;;
 8208 
 8209     linux* | k*bsd*-gnu | kopensolaris*-gnu)
 8210       case $cc_basename in
 8211       # old Intel for x86_64 which still supported -KPIC.
 8212       ecc*)
 8213 	lt_prog_compiler_wl='-Wl,'
 8214 	lt_prog_compiler_pic='-KPIC'
 8215 	lt_prog_compiler_static='-static'
 8216         ;;
 8217       # icc used to be incompatible with GCC.
 8218       # ICC 10 doesn't accept -KPIC any more.
 8219       icc* | ifort*)
 8220 	lt_prog_compiler_wl='-Wl,'
 8221 	lt_prog_compiler_pic='-fPIC'
 8222 	lt_prog_compiler_static='-static'
 8223         ;;
 8224       # Lahey Fortran 8.1.
 8225       lf95*)
 8226 	lt_prog_compiler_wl='-Wl,'
 8227 	lt_prog_compiler_pic='--shared'
 8228 	lt_prog_compiler_static='--static'
 8229 	;;
 8230       nagfor*)
 8231 	# NAG Fortran compiler
 8232 	lt_prog_compiler_wl='-Wl,-Wl,,'
 8233 	lt_prog_compiler_pic='-PIC'
 8234 	lt_prog_compiler_static='-Bstatic'
 8235 	;;
 8236       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 8237         # Portland Group compilers (*not* the Pentium gcc compiler,
 8238 	# which looks to be a dead project)
 8239 	lt_prog_compiler_wl='-Wl,'
 8240 	lt_prog_compiler_pic='-fpic'
 8241 	lt_prog_compiler_static='-Bstatic'
 8242         ;;
 8243       ccc*)
 8244         lt_prog_compiler_wl='-Wl,'
 8245         # All Alpha code is PIC.
 8246         lt_prog_compiler_static='-non_shared'
 8247         ;;
 8248       xl* | bgxl* | bgf* | mpixl*)
 8249 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 8250 	lt_prog_compiler_wl='-Wl,'
 8251 	lt_prog_compiler_pic='-qpic'
 8252 	lt_prog_compiler_static='-qstaticlink'
 8253 	;;
 8254       *)
 8255 	case `$CC -V 2>&1 | sed 5q` in
 8256 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 8257 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
 8258 	  lt_prog_compiler_pic='-KPIC'
 8259 	  lt_prog_compiler_static='-Bstatic'
 8260 	  lt_prog_compiler_wl=''
 8261 	  ;;
 8262 	*Sun\ F* | *Sun*Fortran*)
 8263 	  lt_prog_compiler_pic='-KPIC'
 8264 	  lt_prog_compiler_static='-Bstatic'
 8265 	  lt_prog_compiler_wl='-Qoption ld '
 8266 	  ;;
 8267 	*Sun\ C*)
 8268 	  # Sun C 5.9
 8269 	  lt_prog_compiler_pic='-KPIC'
 8270 	  lt_prog_compiler_static='-Bstatic'
 8271 	  lt_prog_compiler_wl='-Wl,'
 8272 	  ;;
 8273         *Intel*\ [CF]*Compiler*)
 8274 	  lt_prog_compiler_wl='-Wl,'
 8275 	  lt_prog_compiler_pic='-fPIC'
 8276 	  lt_prog_compiler_static='-static'
 8277 	  ;;
 8278 	*Portland\ Group*)
 8279 	  lt_prog_compiler_wl='-Wl,'
 8280 	  lt_prog_compiler_pic='-fpic'
 8281 	  lt_prog_compiler_static='-Bstatic'
 8282 	  ;;
 8283 	esac
 8284 	;;
 8285       esac
 8286       ;;
 8287 
 8288     newsos6)
 8289       lt_prog_compiler_pic='-KPIC'
 8290       lt_prog_compiler_static='-Bstatic'
 8291       ;;
 8292 
 8293     *nto* | *qnx*)
 8294       # QNX uses GNU C++, but need to define -shared option too, otherwise
 8295       # it will coredump.
 8296       lt_prog_compiler_pic='-fPIC -shared'
 8297       ;;
 8298 
 8299     osf3* | osf4* | osf5*)
 8300       lt_prog_compiler_wl='-Wl,'
 8301       # All OSF/1 code is PIC.
 8302       lt_prog_compiler_static='-non_shared'
 8303       ;;
 8304 
 8305     rdos*)
 8306       lt_prog_compiler_static='-non_shared'
 8307       ;;
 8308 
 8309     solaris*)
 8310       lt_prog_compiler_pic='-KPIC'
 8311       lt_prog_compiler_static='-Bstatic'
 8312       case $cc_basename in
 8313       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 8314 	lt_prog_compiler_wl='-Qoption ld ';;
 8315       *)
 8316 	lt_prog_compiler_wl='-Wl,';;
 8317       esac
 8318       ;;
 8319 
 8320     sunos4*)
 8321       lt_prog_compiler_wl='-Qoption ld '
 8322       lt_prog_compiler_pic='-PIC'
 8323       lt_prog_compiler_static='-Bstatic'
 8324       ;;
 8325 
 8326     sysv4 | sysv4.2uw2* | sysv4.3*)
 8327       lt_prog_compiler_wl='-Wl,'
 8328       lt_prog_compiler_pic='-KPIC'
 8329       lt_prog_compiler_static='-Bstatic'
 8330       ;;
 8331 
 8332     sysv4*MP*)
 8333       if test -d /usr/nec ;then
 8334 	lt_prog_compiler_pic='-Kconform_pic'
 8335 	lt_prog_compiler_static='-Bstatic'
 8336       fi
 8337       ;;
 8338 
 8339     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 8340       lt_prog_compiler_wl='-Wl,'
 8341       lt_prog_compiler_pic='-KPIC'
 8342       lt_prog_compiler_static='-Bstatic'
 8343       ;;
 8344 
 8345     unicos*)
 8346       lt_prog_compiler_wl='-Wl,'
 8347       lt_prog_compiler_can_build_shared=no
 8348       ;;
 8349 
 8350     uts4*)
 8351       lt_prog_compiler_pic='-pic'
 8352       lt_prog_compiler_static='-Bstatic'
 8353       ;;
 8354 
 8355     *)
 8356       lt_prog_compiler_can_build_shared=no
 8357       ;;
 8358     esac
 8359   fi
 8360 
 8361 case $host_os in
 8362   # For platforms which do not support PIC, -DPIC is meaningless:
 8363   *djgpp*)
 8364     lt_prog_compiler_pic=
 8365     ;;
 8366   *)
 8367     lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
 8368     ;;
 8369 esac
 8370 
 8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 8372 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 8373 if ${lt_cv_prog_compiler_pic+:} false; then :
 8374   $as_echo_n "(cached) " >&6
 8375 else
 8376   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 8377 fi
 8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 8379 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
 8380 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 8381 
 8382 #
 8383 # Check to make sure the PIC flag actually works.
 8384 #
 8385 if test -n "$lt_prog_compiler_pic"; then
 8386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 8387 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 8388 if ${lt_cv_prog_compiler_pic_works+:} false; then :
 8389   $as_echo_n "(cached) " >&6
 8390 else
 8391   lt_cv_prog_compiler_pic_works=no
 8392    ac_outfile=conftest.$ac_objext
 8393    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 8394    lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
 8395    # Insert the option either (1) after the last *FLAGS variable, or
 8396    # (2) before a word containing "conftest.", or (3) at the end.
 8397    # Note that $ac_compile itself does not contain backslashes and begins
 8398    # with a dollar sign (not a hyphen), so the echo should work correctly.
 8399    # The option is referenced via a variable to avoid confusing sed.
 8400    lt_compile=`echo "$ac_compile" | $SED \
 8401    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 8402    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 8403    -e 's:$: $lt_compiler_flag:'`
 8404    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 8405    (eval "$lt_compile" 2>conftest.err)
 8406    ac_status=$?
 8407    cat conftest.err >&5
 8408    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8409    if (exit $ac_status) && test -s "$ac_outfile"; then
 8410      # The compiler can only warn and ignore the option if not recognized
 8411      # So say no if there are warnings other than the usual output.
 8412      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 8413      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 8414      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 8415        lt_cv_prog_compiler_pic_works=yes
 8416      fi
 8417    fi
 8418    $RM conftest*
 8419 
 8420 fi
 8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 8422 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 8423 
 8424 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 8425     case $lt_prog_compiler_pic in
 8426      "" | " "*) ;;
 8427      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 8428      esac
 8429 else
 8430     lt_prog_compiler_pic=
 8431      lt_prog_compiler_can_build_shared=no
 8432 fi
 8433 
 8434 fi
 8435 
 8436     
 8437     
 8438     
 8439 
 8440 
 8441 
 8442     
 8443     
 8444     
 8445 
 8446 #
 8447 # Check to make sure the static flag actually works.
 8448 #
 8449 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 8451 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 8452 if ${lt_cv_prog_compiler_static_works+:} false; then :
 8453   $as_echo_n "(cached) " >&6
 8454 else
 8455   lt_cv_prog_compiler_static_works=no
 8456    save_LDFLAGS="$LDFLAGS"
 8457    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 8458    echo "$lt_simple_link_test_code" > conftest.$ac_ext
 8459    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 8460      # The linker can only warn and ignore the option if not recognized
 8461      # So say no if there are warnings
 8462      if test -s conftest.err; then
 8463        # Append any errors to the config.log.
 8464        cat conftest.err 1>&5
 8465        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 8466        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 8467        if diff conftest.exp conftest.er2 >/dev/null; then
 8468          lt_cv_prog_compiler_static_works=yes
 8469        fi
 8470      else
 8471        lt_cv_prog_compiler_static_works=yes
 8472      fi
 8473    fi
 8474    $RM -r conftest*
 8475    LDFLAGS="$save_LDFLAGS"
 8476 
 8477 fi
 8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 8479 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 8480 
 8481 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 8482     :
 8483 else
 8484     lt_prog_compiler_static=
 8485 fi
 8486 
 8487 
 8488     
 8489     
 8490     
 8491 
 8492 
 8493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 8494 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 8495 if ${lt_cv_prog_compiler_c_o+:} false; then :
 8496   $as_echo_n "(cached) " >&6
 8497 else
 8498   lt_cv_prog_compiler_c_o=no
 8499    $RM -r conftest 2>/dev/null
 8500    mkdir conftest
 8501    cd conftest
 8502    mkdir out
 8503    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 8504 
 8505    lt_compiler_flag="-o out/conftest2.$ac_objext"
 8506    # Insert the option either (1) after the last *FLAGS variable, or
 8507    # (2) before a word containing "conftest.", or (3) at the end.
 8508    # Note that $ac_compile itself does not contain backslashes and begins
 8509    # with a dollar sign (not a hyphen), so the echo should work correctly.
 8510    lt_compile=`echo "$ac_compile" | $SED \
 8511    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 8512    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 8513    -e 's:$: $lt_compiler_flag:'`
 8514    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 8515    (eval "$lt_compile" 2>out/conftest.err)
 8516    ac_status=$?
 8517    cat out/conftest.err >&5
 8518    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8519    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 8520    then
 8521      # The compiler can only warn and ignore the option if not recognized
 8522      # So say no if there are warnings
 8523      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 8524      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 8525      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 8526        lt_cv_prog_compiler_c_o=yes
 8527      fi
 8528    fi
 8529    chmod u+w . 2>&5
 8530    $RM conftest*
 8531    # SGI C++ compiler will create directory out/ii_files/ for
 8532    # template instantiation
 8533    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 8534    $RM out/* && rmdir out
 8535    cd ..
 8536    $RM -r conftest
 8537    $RM conftest*
 8538 
 8539 fi
 8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 8541 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 8542 
 8543     
 8544     
 8545     
 8546 
 8547 
 8548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 8549 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 8550 if ${lt_cv_prog_compiler_c_o+:} false; then :
 8551   $as_echo_n "(cached) " >&6
 8552 else
 8553   lt_cv_prog_compiler_c_o=no
 8554    $RM -r conftest 2>/dev/null
 8555    mkdir conftest
 8556    cd conftest
 8557    mkdir out
 8558    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 8559 
 8560    lt_compiler_flag="-o out/conftest2.$ac_objext"
 8561    # Insert the option either (1) after the last *FLAGS variable, or
 8562    # (2) before a word containing "conftest.", or (3) at the end.
 8563    # Note that $ac_compile itself does not contain backslashes and begins
 8564    # with a dollar sign (not a hyphen), so the echo should work correctly.
 8565    lt_compile=`echo "$ac_compile" | $SED \
 8566    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 8567    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 8568    -e 's:$: $lt_compiler_flag:'`
 8569    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 8570    (eval "$lt_compile" 2>out/conftest.err)
 8571    ac_status=$?
 8572    cat out/conftest.err >&5
 8573    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8574    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 8575    then
 8576      # The compiler can only warn and ignore the option if not recognized
 8577      # So say no if there are warnings
 8578      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 8579      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 8580      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 8581        lt_cv_prog_compiler_c_o=yes
 8582      fi
 8583    fi
 8584    chmod u+w . 2>&5
 8585    $RM conftest*
 8586    # SGI C++ compiler will create directory out/ii_files/ for
 8587    # template instantiation
 8588    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 8589    $RM out/* && rmdir out
 8590    cd ..
 8591    $RM -r conftest
 8592    $RM conftest*
 8593 
 8594 fi
 8595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 8596 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 8597 
 8598 
 8599 
 8600 
 8601 hard_links="nottested"
 8602 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 8603   # do not overwrite the value of need_locks provided by the user
 8604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 8605 $as_echo_n "checking if we can lock with hard links... " >&6; }
 8606   hard_links=yes
 8607   $RM conftest*
 8608   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 8609   touch conftest.a
 8610   ln conftest.a conftest.b 2>&5 || hard_links=no
 8611   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 8612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 8613 $as_echo "$hard_links" >&6; }
 8614   if test "$hard_links" = no; then
 8615     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 8616 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 8617     need_locks=warn
 8618   fi
 8619 else
 8620   need_locks=no
 8621 fi
 8622 
 8623     
 8624     
 8625     
 8626 
 8627 
 8628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 8629 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 8630 
 8631   runpath_var=
 8632   allow_undefined_flag=
 8633   always_export_symbols=no
 8634   archive_cmds=
 8635   archive_expsym_cmds=
 8636   compiler_needs_object=no
 8637   enable_shared_with_static_runtimes=no
 8638   export_dynamic_flag_spec=
 8639   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 8640   hardcode_automatic=no
 8641   hardcode_direct=no
 8642   hardcode_direct_absolute=no
 8643   hardcode_libdir_flag_spec=
 8644   hardcode_libdir_separator=
 8645   hardcode_minus_L=no
 8646   hardcode_shlibpath_var=unsupported
 8647   inherit_rpath=no
 8648   link_all_deplibs=unknown
 8649   module_cmds=
 8650   module_expsym_cmds=
 8651   old_archive_from_new_cmds=
 8652   old_archive_from_expsyms_cmds=
 8653   thread_safe_flag_spec=
 8654   whole_archive_flag_spec=
 8655   # include_expsyms should be a list of space-separated symbols to be *always*
 8656   # included in the symbol list
 8657   include_expsyms=
 8658   # exclude_expsyms can be an extended regexp of symbols to exclude
 8659   # it will be wrapped by ` (' and `)$', so one must not match beginning or
 8660   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 8661   # as well as any symbol that contains `d'.
 8662   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 8663   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 8664   # platforms (ab)use it in PIC code, but their linkers get confused if
 8665   # the symbol is explicitly referenced.  Since portable code cannot
 8666   # rely on this symbol name, it's probably fine to never include it in
 8667   # preloaded symbol tables.
 8668   # Exclude shared library initialization/finalization symbols.
 8669   extract_expsyms_cmds=
 8670 
 8671   case $host_os in
 8672   cygwin* | mingw* | pw32* | cegcc*)
 8673     # FIXME: the MSVC++ port hasn't been tested in a loooong time
 8674     # When not using gcc, we currently assume that we are using
 8675     # Microsoft Visual C++.
 8676     if test "$GCC" != yes; then
 8677       with_gnu_ld=no
 8678     fi
 8679     ;;
 8680   interix*)
 8681     # we just hope/assume this is gcc and not c89 (= MSVC++)
 8682     with_gnu_ld=yes
 8683     ;;
 8684   openbsd*)
 8685     with_gnu_ld=no
 8686     ;;
 8687   esac
 8688 
 8689   ld_shlibs=yes
 8690 
 8691   # On some targets, GNU ld is compatible enough with the native linker
 8692   # that we're better off using the native interface for both.
 8693   lt_use_gnu_ld_interface=no
 8694   if test "$with_gnu_ld" = yes; then
 8695     case $host_os in
 8696       aix*)
 8697 	# The AIX port of GNU ld has always aspired to compatibility
 8698 	# with the native linker.  However, as the warning in the GNU ld
 8699 	# block says, versions before 2.19.5* couldn't really create working
 8700 	# shared libraries, regardless of the interface used.
 8701 	case `$LD -v 2>&1` in
 8702 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 8703 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 8704 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 8705 	  *)
 8706 	    lt_use_gnu_ld_interface=yes
 8707 	    ;;
 8708 	esac
 8709 	;;
 8710       *)
 8711 	lt_use_gnu_ld_interface=yes
 8712 	;;
 8713     esac
 8714   fi
 8715 
 8716   if test "$lt_use_gnu_ld_interface" = yes; then
 8717     # If archive_cmds runs LD, not CC, wlarc should be empty
 8718     wlarc='${wl}'
 8719 
 8720     # Set some defaults for GNU ld with shared library support. These
 8721     # are reset later if shared libraries are not supported. Putting them
 8722     # here allows them to be overridden if necessary.
 8723     runpath_var=LD_RUN_PATH
 8724     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 8725     export_dynamic_flag_spec='${wl}--export-dynamic'
 8726     # ancient GNU ld didn't support --whole-archive et. al.
 8727     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 8728       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 8729     else
 8730       whole_archive_flag_spec=
 8731     fi
 8732     supports_anon_versioning=no
 8733     case `$LD -v 2>&1` in
 8734       *GNU\ gold*) supports_anon_versioning=yes ;;
 8735       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 8736       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 8737       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 8738       *\ 2.11.*) ;; # other 2.11 versions
 8739       *) supports_anon_versioning=yes ;;
 8740     esac
 8741 
 8742     # See if GNU ld supports shared libraries.
 8743     case $host_os in
 8744     aix[3-9]*)
 8745       # On AIX/PPC, the GNU linker is very broken
 8746       if test "$host_cpu" != ia64; then
 8747 	ld_shlibs=no
 8748 	cat <<_LT_EOF 1>&2
 8749 
 8750 *** Warning: the GNU linker, at least up to release 2.19, is reported
 8751 *** to be unable to reliably create shared libraries on AIX.
 8752 *** Therefore, libtool is disabling shared libraries support.  If you
 8753 *** really care for shared libraries, you may want to install binutils
 8754 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 8755 *** You will then need to restart the configuration process.
 8756 
 8757 _LT_EOF
 8758       fi
 8759       ;;
 8760 
 8761     amigaos*)
 8762       case $host_cpu in
 8763       powerpc)
 8764             # see comment about AmigaOS4 .so support
 8765             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 8766             archive_expsym_cmds=''
 8767         ;;
 8768       m68k)
 8769             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 8770             hardcode_libdir_flag_spec='-L$libdir'
 8771             hardcode_minus_L=yes
 8772         ;;
 8773       esac
 8774       ;;
 8775 
 8776     beos*)
 8777       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 8778 	allow_undefined_flag=unsupported
 8779 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 8780 	# support --undefined.  This deserves some investigation.  FIXME
 8781 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 8782       else
 8783 	ld_shlibs=no
 8784       fi
 8785       ;;
 8786 
 8787     cygwin* | mingw* | pw32* | cegcc*)
 8788       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 8789       # as there is no search path for DLLs.
 8790       hardcode_libdir_flag_spec='-L$libdir'
 8791       export_dynamic_flag_spec='${wl}--export-all-symbols'
 8792       allow_undefined_flag=unsupported
 8793       always_export_symbols=no
 8794       enable_shared_with_static_runtimes=yes
 8795       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'
 8796       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 8797 
 8798       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 8799         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 8800 	# If the export-symbols file already is a .def file (1st line
 8801 	# is EXPORTS), use it as is; otherwise, prepend...
 8802 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 8803 	  cp $export_symbols $output_objdir/$soname.def;
 8804 	else
 8805 	  echo EXPORTS > $output_objdir/$soname.def;
 8806 	  cat $export_symbols >> $output_objdir/$soname.def;
 8807 	fi~
 8808 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 8809       else
 8810 	ld_shlibs=no
 8811       fi
 8812       ;;
 8813 
 8814     haiku*)
 8815       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 8816       link_all_deplibs=yes
 8817       ;;
 8818 
 8819     interix[3-9]*)
 8820       hardcode_direct=no
 8821       hardcode_shlibpath_var=no
 8822       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 8823       export_dynamic_flag_spec='${wl}-E'
 8824       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 8825       # Instead, shared libraries are loaded at an image base (0x10000000 by
 8826       # default) and relocated if they conflict, which is a slow very memory
 8827       # consuming and fragmenting process.  To avoid this, we pick a random,
 8828       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 8829       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 8830       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 8831       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'
 8832       ;;
 8833 
 8834     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 8835       tmp_diet=no
 8836       if test "$host_os" = linux-dietlibc; then
 8837 	case $cc_basename in
 8838 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
 8839 	esac
 8840       fi
 8841       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 8842 	 && test "$tmp_diet" = no
 8843       then
 8844 	tmp_addflag=' $pic_flag'
 8845 	tmp_sharedflag='-shared'
 8846 	case $cc_basename,$host_cpu in
 8847         pgcc*)				# Portland Group C compiler
 8848 	  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'
 8849 	  tmp_addflag=' $pic_flag'
 8850 	  ;;
 8851 	pgf77* | pgf90* | pgf95* | pgfortran*)
 8852 					# Portland Group f77 and f90 compilers
 8853 	  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'
 8854 	  tmp_addflag=' $pic_flag -Mnomain' ;;
 8855 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
 8856 	  tmp_addflag=' -i_dynamic' ;;
 8857 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 8858 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 8859 	ifc* | ifort*)			# Intel Fortran compiler
 8860 	  tmp_addflag=' -nofor_main' ;;
 8861 	lf95*)				# Lahey Fortran 8.1
 8862 	  whole_archive_flag_spec=
 8863 	  tmp_sharedflag='--shared' ;;
 8864 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 8865 	  tmp_sharedflag='-qmkshrobj'
 8866 	  tmp_addflag= ;;
 8867 	nvcc*)	# Cuda Compiler Driver 2.2
 8868 	  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'
 8869 	  compiler_needs_object=yes
 8870 	  ;;
 8871 	esac
 8872 	case `$CC -V 2>&1 | sed 5q` in
 8873 	*Sun\ C*)			# Sun C 5.9
 8874 	  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'
 8875 	  compiler_needs_object=yes
 8876 	  tmp_sharedflag='-G' ;;
 8877 	*Sun\ F*)			# Sun Fortran 8.3
 8878 	  tmp_sharedflag='-G' ;;
 8879 	esac
 8880 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 8881 
 8882         if test "x$supports_anon_versioning" = xyes; then
 8883           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 8884 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 8885 	    echo "local: *; };" >> $output_objdir/$libname.ver~
 8886 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 8887         fi
 8888 
 8889 	case $cc_basename in
 8890 	xlf* | bgf* | bgxlf* | mpixlf*)
 8891 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 8892 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 8893 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 8894 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 8895 	  if test "x$supports_anon_versioning" = xyes; then
 8896 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 8897 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 8898 	      echo "local: *; };" >> $output_objdir/$libname.ver~
 8899 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 8900 	  fi
 8901 	  ;;
 8902 	esac
 8903       else
 8904         ld_shlibs=no
 8905       fi
 8906       ;;
 8907 
 8908     netbsd*)
 8909       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 8910 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 8911 	wlarc=
 8912       else
 8913 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 8914 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 8915       fi
 8916       ;;
 8917 
 8918     solaris*)
 8919       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 8920 	ld_shlibs=no
 8921 	cat <<_LT_EOF 1>&2
 8922 
 8923 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
 8924 *** create shared libraries on Solaris systems.  Therefore, libtool
 8925 *** is disabling shared libraries support.  We urge you to upgrade GNU
 8926 *** binutils to release 2.9.1 or newer.  Another option is to modify
 8927 *** your PATH or compiler configuration so that the native linker is
 8928 *** used, and then restart.
 8929 
 8930 _LT_EOF
 8931       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 8932 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 8933 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 8934       else
 8935 	ld_shlibs=no
 8936       fi
 8937       ;;
 8938 
 8939     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 8940       case `$LD -v 2>&1` in
 8941         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 8942 	ld_shlibs=no
 8943 	cat <<_LT_EOF 1>&2
 8944 
 8945 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 8946 *** reliably create shared libraries on SCO systems.  Therefore, libtool
 8947 *** is disabling shared libraries support.  We urge you to upgrade GNU
 8948 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 8949 *** your PATH or compiler configuration so that the native linker is
 8950 *** used, and then restart.
 8951 
 8952 _LT_EOF
 8953 	;;
 8954 	*)
 8955 	  # For security reasons, it is highly recommended that you always
 8956 	  # use absolute paths for naming shared libraries, and exclude the
 8957 	  # DT_RUNPATH tag from executables and libraries.  But doing so
 8958 	  # requires that you compile everything twice, which is a pain.
 8959 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 8960 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 8961 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 8962 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 8963 	  else
 8964 	    ld_shlibs=no
 8965 	  fi
 8966 	;;
 8967       esac
 8968       ;;
 8969 
 8970     sunos4*)
 8971       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 8972       wlarc=
 8973       hardcode_direct=yes
 8974       hardcode_shlibpath_var=no
 8975       ;;
 8976 
 8977     *)
 8978       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 8979 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 8980 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 8981       else
 8982 	ld_shlibs=no
 8983       fi
 8984       ;;
 8985     esac
 8986 
 8987     if test "$ld_shlibs" = no; then
 8988       runpath_var=
 8989       hardcode_libdir_flag_spec=
 8990       export_dynamic_flag_spec=
 8991       whole_archive_flag_spec=
 8992     fi
 8993   else
 8994     # PORTME fill in a description of your system's linker (not GNU ld)
 8995     case $host_os in
 8996     aix3*)
 8997       allow_undefined_flag=unsupported
 8998       always_export_symbols=yes
 8999       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
 9000       # Note: this linker hardcodes the directories in LIBPATH if there
 9001       # are no directories specified by -L.
 9002       hardcode_minus_L=yes
 9003       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 9004 	# Neither direct hardcoding nor static linking is supported with a
 9005 	# broken collect2.
 9006 	hardcode_direct=unsupported
 9007       fi
 9008       ;;
 9009 
 9010     aix[4-9]*)
 9011       if test "$host_cpu" = ia64; then
 9012 	# On IA64, the linker does run time linking by default, so we don't
 9013 	# have to do anything special.
 9014 	aix_use_runtimelinking=no
 9015 	exp_sym_flag='-Bexport'
 9016 	no_entry_flag=""
 9017       else
 9018 	# If we're using GNU nm, then we don't want the "-C" option.
 9019 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
 9020 	# Also, AIX nm treats weak defined symbols like other global
 9021 	# defined symbols, whereas GNU nm marks them as "W".
 9022 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 9023 	  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'
 9024 	else
 9025 	  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'
 9026 	fi
 9027 	aix_use_runtimelinking=no
 9028 
 9029 	# Test if we are trying to use run time linking or normal
 9030 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 9031 	# need to do runtime linking.
 9032 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 9033 	  for ld_flag in $LDFLAGS; do
 9034 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 9035 	    aix_use_runtimelinking=yes
 9036 	    break
 9037 	  fi
 9038 	  done
 9039 	  ;;
 9040 	esac
 9041 
 9042 	exp_sym_flag='-bexport'
 9043 	no_entry_flag='-bnoentry'
 9044       fi
 9045 
 9046       # When large executables or shared objects are built, AIX ld can
 9047       # have problems creating the table of contents.  If linking a library
 9048       # or program results in "error TOC overflow" add -mminimal-toc to
 9049       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 9050       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 9051 
 9052       archive_cmds=''
 9053       hardcode_direct=yes
 9054       hardcode_direct_absolute=yes
 9055       hardcode_libdir_separator=':'
 9056       link_all_deplibs=yes
 9057       file_list_spec='${wl}-f,'
 9058 
 9059       if test "$GCC" = yes; then
 9060 	case $host_os in aix4.[012]|aix4.[012].*)
 9061 	# We only want to do this on AIX 4.2 and lower, the check
 9062 	# below for broken collect2 doesn't work under 4.3+
 9063 	  collect2name=`${CC} -print-prog-name=collect2`
 9064 	  if test -f "$collect2name" &&
 9065 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 9066 	  then
 9067 	  # We have reworked collect2
 9068 	  :
 9069 	  else
 9070 	  # We have old collect2
 9071 	  hardcode_direct=unsupported
 9072 	  # It fails to find uninstalled libraries when the uninstalled
 9073 	  # path is not listed in the libpath.  Setting hardcode_minus_L
 9074 	  # to unsupported forces relinking
 9075 	  hardcode_minus_L=yes
 9076 	  hardcode_libdir_flag_spec='-L$libdir'
 9077 	  hardcode_libdir_separator=
 9078 	  fi
 9079 	  ;;
 9080 	esac
 9081 	shared_flag='-shared'
 9082 	if test "$aix_use_runtimelinking" = yes; then
 9083 	  shared_flag="$shared_flag "'${wl}-G'
 9084 	fi
 9085       else
 9086 	# not using gcc
 9087 	if test "$host_cpu" = ia64; then
 9088 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 9089 	# chokes on -Wl,-G. The following line is correct:
 9090 	  shared_flag='-G'
 9091 	else
 9092 	  if test "$aix_use_runtimelinking" = yes; then
 9093 	    shared_flag='${wl}-G'
 9094 	  else
 9095 	    shared_flag='${wl}-bM:SRE'
 9096 	  fi
 9097 	fi
 9098       fi
 9099 
 9100       export_dynamic_flag_spec='${wl}-bexpall'
 9101       # It seems that -bexpall does not export symbols beginning with
 9102       # underscore (_), so it is better to generate a list of symbols to export.
 9103       always_export_symbols=yes
 9104       if test "$aix_use_runtimelinking" = yes; then
 9105 	# Warning - without using the other runtime loading flags (-brtl),
 9106 	# -berok will link without error, but may produce a broken library.
 9107 	allow_undefined_flag='-berok'
 9108         # Determine the default libpath from the value encoded in an
 9109         # empty executable.
 9110         if test "${lt_cv_aix_libpath+set}" = set; then
 9111   aix_libpath=$lt_cv_aix_libpath
 9112 else
 9113   if ${lt_cv_aix_libpath_+:} false; then :
 9114   $as_echo_n "(cached) " >&6
 9115 else
 9116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9117 /* end confdefs.h.  */
 9118 
 9119 int
 9120 main ()
 9121 {
 9122 
 9123   ;
 9124   return 0;
 9125 }
 9126 _ACEOF
 9127 if ac_fn_c_try_link "$LINENO"; then :
 9128   
 9129   lt_aix_libpath_sed='
 9130       /Import File Strings/,/^$/ {
 9131 	  /^0/ {
 9132 	      s/^0  *\([^ ]*\) *$/\1/
 9133 	      p
 9134 	  }
 9135       }'
 9136   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 9137   # Check for a 64-bit object if we didn't find anything.
 9138   if test -z "$lt_cv_aix_libpath_"; then
 9139     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 9140   fi
 9141 fi
 9142 rm -f core conftest.err conftest.$ac_objext \
 9143     conftest$ac_exeext conftest.$ac_ext
 9144   if test -z "$lt_cv_aix_libpath_"; then
 9145     lt_cv_aix_libpath_="/usr/lib:/lib"
 9146   fi
 9147   
 9148 fi
 9149 
 9150   aix_libpath=$lt_cv_aix_libpath_
 9151 fi
 9152 
 9153         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 9154         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"
 9155       else
 9156 	if test "$host_cpu" = ia64; then
 9157 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 9158 	  allow_undefined_flag="-z nodefs"
 9159 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
 9160 	else
 9161 	 # Determine the default libpath from the value encoded in an
 9162 	 # empty executable.
 9163 	 if test "${lt_cv_aix_libpath+set}" = set; then
 9164   aix_libpath=$lt_cv_aix_libpath
 9165 else
 9166   if ${lt_cv_aix_libpath_+:} false; then :
 9167   $as_echo_n "(cached) " >&6
 9168 else
 9169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9170 /* end confdefs.h.  */
 9171 
 9172 int
 9173 main ()
 9174 {
 9175 
 9176   ;
 9177   return 0;
 9178 }
 9179 _ACEOF
 9180 if ac_fn_c_try_link "$LINENO"; then :
 9181   
 9182   lt_aix_libpath_sed='
 9183       /Import File Strings/,/^$/ {
 9184 	  /^0/ {
 9185 	      s/^0  *\([^ ]*\) *$/\1/
 9186 	      p
 9187 	  }
 9188       }'
 9189   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 9190   # Check for a 64-bit object if we didn't find anything.
 9191   if test -z "$lt_cv_aix_libpath_"; then
 9192     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 9193   fi
 9194 fi
 9195 rm -f core conftest.err conftest.$ac_objext \
 9196     conftest$ac_exeext conftest.$ac_ext
 9197   if test -z "$lt_cv_aix_libpath_"; then
 9198     lt_cv_aix_libpath_="/usr/lib:/lib"
 9199   fi
 9200   
 9201 fi
 9202 
 9203   aix_libpath=$lt_cv_aix_libpath_
 9204 fi
 9205 
 9206 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 9207 	  # Warning - without using the other run time loading flags,
 9208 	  # -berok will link without error, but may produce a broken library.
 9209 	  no_undefined_flag=' ${wl}-bernotok'
 9210 	  allow_undefined_flag=' ${wl}-berok'
 9211 	  if test "$with_gnu_ld" = yes; then
 9212 	    # We only use this code for GNU lds that support --whole-archive.
 9213 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 9214 	  else
 9215 	    # Exported symbols can be pulled into shared objects from archives
 9216 	    whole_archive_flag_spec='$convenience'
 9217 	  fi
 9218 	  archive_cmds_need_lc=yes
 9219 	  # This is similar to how AIX traditionally builds its shared libraries.
 9220 	  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'
 9221 	fi
 9222       fi
 9223       ;;
 9224 
 9225     amigaos*)
 9226       case $host_cpu in
 9227       powerpc)
 9228             # see comment about AmigaOS4 .so support
 9229             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 9230             archive_expsym_cmds=''
 9231         ;;
 9232       m68k)
 9233             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 9234             hardcode_libdir_flag_spec='-L$libdir'
 9235             hardcode_minus_L=yes
 9236         ;;
 9237       esac
 9238       ;;
 9239 
 9240     bsdi[45]*)
 9241       export_dynamic_flag_spec=-rdynamic
 9242       ;;
 9243 
 9244     cygwin* | mingw* | pw32* | cegcc*)
 9245       # When not using gcc, we currently assume that we are using
 9246       # Microsoft Visual C++.
 9247       # hardcode_libdir_flag_spec is actually meaningless, as there is
 9248       # no search path for DLLs.
 9249       case $cc_basename in
 9250       cl*)
 9251 	# Native MSVC
 9252 	hardcode_libdir_flag_spec=' '
 9253 	allow_undefined_flag=unsupported
 9254 	always_export_symbols=yes
 9255 	file_list_spec='@'
 9256 	# Tell ltmain to make .lib files, not .a files.
 9257 	libext=lib
 9258 	# Tell ltmain to make .dll files, not .so files.
 9259 	shrext_cmds=".dll"
 9260 	# FIXME: Setting linknames here is a bad hack.
 9261 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 9262 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 9263 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 9264 	  else
 9265 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 9266 	  fi~
 9267 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 9268 	  linknames='
 9269 	# The linker will not automatically build a static lib if we build a DLL.
 9270 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 9271 	enable_shared_with_static_runtimes=yes
 9272 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 9273 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 9274 	# Don't use ranlib
 9275 	old_postinstall_cmds='chmod 644 $oldlib'
 9276 	postlink_cmds='lt_outputfile="@OUTPUT@"~
 9277 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
 9278 	  case $lt_outputfile in
 9279 	    *.exe|*.EXE) ;;
 9280 	    *)
 9281 	      lt_outputfile="$lt_outputfile.exe"
 9282 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
 9283 	      ;;
 9284 	  esac~
 9285 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 9286 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 9287 	    $RM "$lt_outputfile.manifest";
 9288 	  fi'
 9289 	;;
 9290       *)
 9291 	# Assume MSVC wrapper
 9292 	hardcode_libdir_flag_spec=' '
 9293 	allow_undefined_flag=unsupported
 9294 	# Tell ltmain to make .lib files, not .a files.
 9295 	libext=lib
 9296 	# Tell ltmain to make .dll files, not .so files.
 9297 	shrext_cmds=".dll"
 9298 	# FIXME: Setting linknames here is a bad hack.
 9299 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 9300 	# The linker will automatically build a .lib file if we build a DLL.
 9301 	old_archive_from_new_cmds='true'
 9302 	# FIXME: Should let the user specify the lib program.
 9303 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 9304 	enable_shared_with_static_runtimes=yes
 9305 	;;
 9306       esac
 9307       ;;
 9308 
 9309     darwin* | rhapsody*)
 9310       
 9311   
 9312   archive_cmds_need_lc=no
 9313   hardcode_direct=no
 9314   hardcode_automatic=yes
 9315   hardcode_shlibpath_var=unsupported
 9316   if test "$lt_cv_ld_force_load" = "yes"; then
 9317     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\"`'
 9318     
 9319   else
 9320     whole_archive_flag_spec=''
 9321   fi
 9322   link_all_deplibs=yes
 9323   allow_undefined_flag="$_lt_dar_allow_undefined"
 9324   case $cc_basename in
 9325      ifort*) _lt_dar_can_shared=yes ;;
 9326      *) _lt_dar_can_shared=$GCC ;;
 9327   esac
 9328   if test "$_lt_dar_can_shared" = "yes"; then
 9329     output_verbose_link_cmd=func_echo_all
 9330     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 9331     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 9332     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}"
 9333     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 9334     
 9335   else
 9336   ld_shlibs=no
 9337   fi
 9338 
 9339       ;;
 9340 
 9341     dgux*)
 9342       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 9343       hardcode_libdir_flag_spec='-L$libdir'
 9344       hardcode_shlibpath_var=no
 9345       ;;
 9346 
 9347     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 9348     # support.  Future versions do this automatically, but an explicit c++rt0.o
 9349     # does not break anything, and helps significantly (at the cost of a little
 9350     # extra space).
 9351     freebsd2.2*)
 9352       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 9353       hardcode_libdir_flag_spec='-R$libdir'
 9354       hardcode_direct=yes
 9355       hardcode_shlibpath_var=no
 9356       ;;
 9357 
 9358     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 9359     freebsd2.*)
 9360       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 9361       hardcode_direct=yes
 9362       hardcode_minus_L=yes
 9363       hardcode_shlibpath_var=no
 9364       ;;
 9365 
 9366     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 9367     freebsd* | dragonfly*)
 9368       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 9369       hardcode_libdir_flag_spec='-R$libdir'
 9370       hardcode_direct=yes
 9371       hardcode_shlibpath_var=no
 9372       ;;
 9373 
 9374     hpux9*)
 9375       if test "$GCC" = yes; then
 9376 	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'
 9377       else
 9378 	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'
 9379       fi
 9380       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 9381       hardcode_libdir_separator=:
 9382       hardcode_direct=yes
 9383 
 9384       # hardcode_minus_L: Not really in the search PATH,
 9385       # but as the default location of the library.
 9386       hardcode_minus_L=yes
 9387       export_dynamic_flag_spec='${wl}-E'
 9388       ;;
 9389 
 9390     hpux10*)
 9391       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 9392 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 9393       else
 9394 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 9395       fi
 9396       if test "$with_gnu_ld" = no; then
 9397 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 9398 	hardcode_libdir_separator=:
 9399 	hardcode_direct=yes
 9400 	hardcode_direct_absolute=yes
 9401 	export_dynamic_flag_spec='${wl}-E'
 9402 	# hardcode_minus_L: Not really in the search PATH,
 9403 	# but as the default location of the library.
 9404 	hardcode_minus_L=yes
 9405       fi
 9406       ;;
 9407 
 9408     hpux11*)
 9409       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 9410 	case $host_cpu in
 9411 	hppa*64*)
 9412 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 9413 	  ;;
 9414 	ia64*)
 9415 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 9416 	  ;;
 9417 	*)
 9418 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 9419 	  ;;
 9420 	esac
 9421       else
 9422 	case $host_cpu in
 9423 	hppa*64*)
 9424 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 9425 	  ;;
 9426 	ia64*)
 9427 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 9428 	  ;;
 9429 	*)
 9430 	
 9431 	  # Older versions of the 11.00 compiler do not understand -b yet
 9432 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 9433 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 9434 $as_echo_n "checking if $CC understands -b... " >&6; }
 9435 if ${lt_cv_prog_compiler__b+:} false; then :
 9436   $as_echo_n "(cached) " >&6
 9437 else
 9438   lt_cv_prog_compiler__b=no
 9439    save_LDFLAGS="$LDFLAGS"
 9440    LDFLAGS="$LDFLAGS -b"
 9441    echo "$lt_simple_link_test_code" > conftest.$ac_ext
 9442    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 9443      # The linker can only warn and ignore the option if not recognized
 9444      # So say no if there are warnings
 9445      if test -s conftest.err; then
 9446        # Append any errors to the config.log.
 9447        cat conftest.err 1>&5
 9448        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 9449        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 9450        if diff conftest.exp conftest.er2 >/dev/null; then
 9451          lt_cv_prog_compiler__b=yes
 9452        fi
 9453      else
 9454        lt_cv_prog_compiler__b=yes
 9455      fi
 9456    fi
 9457    $RM -r conftest*
 9458    LDFLAGS="$save_LDFLAGS"
 9459 
 9460 fi
 9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 9462 $as_echo "$lt_cv_prog_compiler__b" >&6; }
 9463 
 9464 if test x"$lt_cv_prog_compiler__b" = xyes; then
 9465     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 9466 else
 9467     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 9468 fi
 9469 
 9470 	  ;;
 9471 	esac
 9472       fi
 9473       if test "$with_gnu_ld" = no; then
 9474 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 9475 	hardcode_libdir_separator=:
 9476 
 9477 	case $host_cpu in
 9478 	hppa*64*|ia64*)
 9479 	  hardcode_direct=no
 9480 	  hardcode_shlibpath_var=no
 9481 	  ;;
 9482 	*)
 9483 	  hardcode_direct=yes
 9484 	  hardcode_direct_absolute=yes
 9485 	  export_dynamic_flag_spec='${wl}-E'
 9486 
 9487 	  # hardcode_minus_L: Not really in the search PATH,
 9488 	  # but as the default location of the library.
 9489 	  hardcode_minus_L=yes
 9490 	  ;;
 9491 	esac
 9492       fi
 9493       ;;
 9494 
 9495     irix5* | irix6* | nonstopux*)
 9496       if test "$GCC" = yes; then
 9497 	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'
 9498 	# Try to use the -exported_symbol ld option, if it does not
 9499 	# work, assume that -exports_file does not work either and
 9500 	# implicitly export all symbols.
 9501 	# This should be the same for all languages, so no per-tag cache variable.
 9502 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 9503 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 9504 if ${lt_cv_irix_exported_symbol+:} false; then :
 9505   $as_echo_n "(cached) " >&6
 9506 else
 9507   save_LDFLAGS="$LDFLAGS"
 9508 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 9509 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9510 /* end confdefs.h.  */
 9511 int foo (void) { return 0; }
 9512 _ACEOF
 9513 if ac_fn_c_try_link "$LINENO"; then :
 9514   lt_cv_irix_exported_symbol=yes
 9515 else
 9516   lt_cv_irix_exported_symbol=no
 9517 fi
 9518 rm -f core conftest.err conftest.$ac_objext \
 9519     conftest$ac_exeext conftest.$ac_ext
 9520            LDFLAGS="$save_LDFLAGS"
 9521 fi
 9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 9523 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
 9524 	if test "$lt_cv_irix_exported_symbol" = yes; then
 9525           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'
 9526 	fi
 9527       else
 9528 	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'
 9529 	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'
 9530       fi
 9531       archive_cmds_need_lc='no'
 9532       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 9533       hardcode_libdir_separator=:
 9534       inherit_rpath=yes
 9535       link_all_deplibs=yes
 9536       ;;
 9537 
 9538     netbsd*)
 9539       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 9540 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 9541       else
 9542 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 9543       fi
 9544       hardcode_libdir_flag_spec='-R$libdir'
 9545       hardcode_direct=yes
 9546       hardcode_shlibpath_var=no
 9547       ;;
 9548 
 9549     newsos6)
 9550       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 9551       hardcode_direct=yes
 9552       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 9553       hardcode_libdir_separator=:
 9554       hardcode_shlibpath_var=no
 9555       ;;
 9556 
 9557     *nto* | *qnx*)
 9558       ;;
 9559 
 9560     openbsd*)
 9561       if test -f /usr/libexec/ld.so; then
 9562 	hardcode_direct=yes
 9563 	hardcode_shlibpath_var=no
 9564 	hardcode_direct_absolute=yes
 9565 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 9566 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 9567 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 9568 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 9569 	  export_dynamic_flag_spec='${wl}-E'
 9570 	else
 9571 	  case $host_os in
 9572 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 9573 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 9574 	     hardcode_libdir_flag_spec='-R$libdir'
 9575 	     ;;
 9576 	   *)
 9577 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 9578 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 9579 	     ;;
 9580 	  esac
 9581 	fi
 9582       else
 9583 	ld_shlibs=no
 9584       fi
 9585       ;;
 9586 
 9587     os2*)
 9588       hardcode_libdir_flag_spec='-L$libdir'
 9589       hardcode_minus_L=yes
 9590       allow_undefined_flag=unsupported
 9591       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'
 9592       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 9593       ;;
 9594 
 9595     osf3*)
 9596       if test "$GCC" = yes; then
 9597 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 9598 	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'
 9599       else
 9600 	allow_undefined_flag=' -expect_unresolved \*'
 9601 	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'
 9602       fi
 9603       archive_cmds_need_lc='no'
 9604       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 9605       hardcode_libdir_separator=:
 9606       ;;
 9607 
 9608     osf4* | osf5*)	# as osf3* with the addition of -msym flag
 9609       if test "$GCC" = yes; then
 9610 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 9611 	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'
 9612 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 9613       else
 9614 	allow_undefined_flag=' -expect_unresolved \*'
 9615 	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'
 9616 	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~
 9617 	$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'
 9618 
 9619 	# Both c and cxx compiler support -rpath directly
 9620 	hardcode_libdir_flag_spec='-rpath $libdir'
 9621       fi
 9622       archive_cmds_need_lc='no'
 9623       hardcode_libdir_separator=:
 9624       ;;
 9625 
 9626     solaris*)
 9627       no_undefined_flag=' -z defs'
 9628       if test "$GCC" = yes; then
 9629 	wlarc='${wl}'
 9630 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 9631 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 9632 	  $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'
 9633       else
 9634 	case `$CC -V 2>&1` in
 9635 	*"Compilers 5.0"*)
 9636 	  wlarc=''
 9637 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 9638 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 9639 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 9640 	  ;;
 9641 	*)
 9642 	  wlarc='${wl}'
 9643 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 9644 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 9645 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 9646 	  ;;
 9647 	esac
 9648       fi
 9649       hardcode_libdir_flag_spec='-R$libdir'
 9650       hardcode_shlibpath_var=no
 9651       case $host_os in
 9652       solaris2.[0-5] | solaris2.[0-5].*) ;;
 9653       *)
 9654 	# The compiler driver will combine and reorder linker options,
 9655 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
 9656 	# but is careful enough not to reorder.
 9657 	# Supported since Solaris 2.6 (maybe 2.5.1?)
 9658 	if test "$GCC" = yes; then
 9659 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 9660 	else
 9661 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 9662 	fi
 9663 	;;
 9664       esac
 9665       link_all_deplibs=yes
 9666       ;;
 9667 
 9668     sunos4*)
 9669       if test "x$host_vendor" = xsequent; then
 9670 	# Use $CC to link under sequent, because it throws in some extra .o
 9671 	# files that make .init and .fini sections work.
 9672 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 9673       else
 9674 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 9675       fi
 9676       hardcode_libdir_flag_spec='-L$libdir'
 9677       hardcode_direct=yes
 9678       hardcode_minus_L=yes
 9679       hardcode_shlibpath_var=no
 9680       ;;
 9681 
 9682     sysv4)
 9683       case $host_vendor in
 9684 	sni)
 9685 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 9686 	  hardcode_direct=yes # is this really true???
 9687 	;;
 9688 	siemens)
 9689 	  ## LD is ld it makes a PLAMLIB
 9690 	  ## CC just makes a GrossModule.
 9691 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 9692 	  reload_cmds='$CC -r -o $output$reload_objs'
 9693 	  hardcode_direct=no
 9694         ;;
 9695 	motorola)
 9696 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 9697 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 9698 	;;
 9699       esac
 9700       runpath_var='LD_RUN_PATH'
 9701       hardcode_shlibpath_var=no
 9702       ;;
 9703 
 9704     sysv4.3*)
 9705       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 9706       hardcode_shlibpath_var=no
 9707       export_dynamic_flag_spec='-Bexport'
 9708       ;;
 9709 
 9710     sysv4*MP*)
 9711       if test -d /usr/nec; then
 9712 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 9713 	hardcode_shlibpath_var=no
 9714 	runpath_var=LD_RUN_PATH
 9715 	hardcode_runpath_var=yes
 9716 	ld_shlibs=yes
 9717       fi
 9718       ;;
 9719 
 9720     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 9721       no_undefined_flag='${wl}-z,text'
 9722       archive_cmds_need_lc=no
 9723       hardcode_shlibpath_var=no
 9724       runpath_var='LD_RUN_PATH'
 9725 
 9726       if test "$GCC" = yes; then
 9727 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 9728 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 9729       else
 9730 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 9731 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 9732       fi
 9733       ;;
 9734 
 9735     sysv5* | sco3.2v5* | sco5v6*)
 9736       # Note: We can NOT use -z defs as we might desire, because we do not
 9737       # link with -lc, and that would cause any symbols used from libc to
 9738       # always be unresolved, which means just about no library would
 9739       # ever link correctly.  If we're not using GNU ld we use -z text
 9740       # though, which does catch some bad symbols but isn't as heavy-handed
 9741       # as -z defs.
 9742       no_undefined_flag='${wl}-z,text'
 9743       allow_undefined_flag='${wl}-z,nodefs'
 9744       archive_cmds_need_lc=no
 9745       hardcode_shlibpath_var=no
 9746       hardcode_libdir_flag_spec='${wl}-R,$libdir'
 9747       hardcode_libdir_separator=':'
 9748       link_all_deplibs=yes
 9749       export_dynamic_flag_spec='${wl}-Bexport'
 9750       runpath_var='LD_RUN_PATH'
 9751 
 9752       if test "$GCC" = yes; then
 9753 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 9754 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 9755       else
 9756 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 9757 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 9758       fi
 9759       ;;
 9760 
 9761     uts4*)
 9762       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 9763       hardcode_libdir_flag_spec='-L$libdir'
 9764       hardcode_shlibpath_var=no
 9765       ;;
 9766 
 9767     *)
 9768       ld_shlibs=no
 9769       ;;
 9770     esac
 9771 
 9772     if test x$host_vendor = xsni; then
 9773       case $host in
 9774       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 9775 	export_dynamic_flag_spec='${wl}-Blargedynsym'
 9776 	;;
 9777       esac
 9778     fi
 9779   fi
 9780 
 9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 9782 $as_echo "$ld_shlibs" >&6; }
 9783 test "$ld_shlibs" = no && can_build_shared=no
 9784 
 9785 with_gnu_ld=$with_gnu_ld
 9786 
 9787 
 9788     
 9789     
 9790     
 9791 
 9792     
 9793     
 9794     
 9795 
 9796     
 9797     
 9798     
 9799 
 9800 
 9801 #
 9802 # Do we need to explicitly link libc?
 9803 #
 9804 case "x$archive_cmds_need_lc" in
 9805 x|xyes)
 9806   # Assume -lc should be added
 9807   archive_cmds_need_lc=yes
 9808 
 9809   if test "$enable_shared" = yes && test "$GCC" = yes; then
 9810     case $archive_cmds in
 9811     *'~'*)
 9812       # FIXME: we may have to deal with multi-command sequences.
 9813       ;;
 9814     '$CC '*)
 9815       # Test whether the compiler implicitly links with -lc since on some
 9816       # systems, -lgcc has to come before -lc. If gcc already passes -lc
 9817       # to ld, don't add -lc before -lgcc.
 9818       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 9819 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 9820 if ${lt_cv_archive_cmds_need_lc+:} false; then :
 9821   $as_echo_n "(cached) " >&6
 9822 else
 9823   $RM conftest*
 9824 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 9825 
 9826 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 9827   (eval $ac_compile) 2>&5
 9828   ac_status=$?
 9829   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 9830   test $ac_status = 0; } 2>conftest.err; then
 9831 	  soname=conftest
 9832 	  lib=conftest
 9833 	  libobjs=conftest.$ac_objext
 9834 	  deplibs=
 9835 	  wl=$lt_prog_compiler_wl
 9836 	  pic_flag=$lt_prog_compiler_pic
 9837 	  compiler_flags=-v
 9838 	  linker_flags=-v
 9839 	  verstring=
 9840 	  output_objdir=.
 9841 	  libname=conftest
 9842 	  lt_save_allow_undefined_flag=$allow_undefined_flag
 9843 	  allow_undefined_flag=
 9844 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 9845   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 9846   ac_status=$?
 9847   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 9848   test $ac_status = 0; }
 9849 	  then
 9850 	    lt_cv_archive_cmds_need_lc=no
 9851 	  else
 9852 	    lt_cv_archive_cmds_need_lc=yes
 9853 	  fi
 9854 	  allow_undefined_flag=$lt_save_allow_undefined_flag
 9855 	else
 9856 	  cat conftest.err 1>&5
 9857 	fi
 9858 	$RM conftest*
 9859 	
 9860 fi
 9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 9862 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 9863       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 9864       ;;
 9865     esac
 9866   fi
 9867   ;;
 9868 esac
 9869 
 9870 
 9871     
 9872     
 9873     
 9874 
 9875 
 9876     
 9877     
 9878     
 9879 
 9880 
 9881     
 9882     
 9883     
 9884 
 9885 
 9886     
 9887     
 9888     
 9889 
 9890 
 9891     
 9892     
 9893     
 9894 
 9895 
 9896     
 9897     
 9898     
 9899 
 9900 
 9901     
 9902     
 9903     
 9904 
 9905 
 9906     
 9907     
 9908     
 9909 
 9910 
 9911     
 9912     
 9913     
 9914 
 9915 
 9916     
 9917     
 9918     
 9919 
 9920 
 9921     
 9922     
 9923     
 9924 
 9925 
 9926     
 9927     
 9928     
 9929 
 9930 
 9931     
 9932     
 9933     
 9934 
 9935 
 9936     
 9937     
 9938     
 9939 
 9940 
 9941     
 9942     
 9943     
 9944 
 9945 
 9946     
 9947     
 9948     
 9949 
 9950 
 9951     
 9952     
 9953     
 9954 
 9955 
 9956     
 9957     
 9958     
 9959 
 9960 
 9961     
 9962     
 9963     
 9964 
 9965 
 9966     
 9967     
 9968     
 9969 
 9970 
 9971     
 9972     
 9973     
 9974 
 9975 
 9976     
 9977     
 9978     
 9979 
 9980 
 9981     
 9982     
 9983     
 9984 
 9985 
 9986     
 9987     
 9988     
 9989 
 9990 
 9991     
 9992     
 9993     
 9994 
 9995 
 9996     
 9997     
 9998     
 9999 
10000 
10001     
10002     
10003     
10004 
10005 
10006     
10007     
10008     
10009 
10010 
10011     
10012     
10013     
10014 
10015 
10016     
10017     
10018     
10019 
10020 
10021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10022 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10023 
10024 if test "$GCC" = yes; then
10025   case $host_os in
10026     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10027     *) lt_awk_arg="/^libraries:/" ;;
10028   esac
10029   case $host_os in
10030     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10031     *) lt_sed_strip_eq="s,=/,/,g" ;;
10032   esac
10033   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10034   case $lt_search_path_spec in
10035   *\;*)
10036     # if the path contains ";" then we assume it to be the separator
10037     # otherwise default to the standard path separator (i.e. ":") - it is
10038     # assumed that no part of a normal pathname contains ";" but that should
10039     # okay in the real world where ";" in dirpaths is itself problematic.
10040     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10041     ;;
10042   *)
10043     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10044     ;;
10045   esac
10046   # Ok, now we have the path, separated by spaces, we can step through it
10047   # and add multilib dir if necessary.
10048   lt_tmp_lt_search_path_spec=
10049   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10050   for lt_sys_path in $lt_search_path_spec; do
10051     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10052       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10053     else
10054       test -d "$lt_sys_path" && \
10055 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10056     fi
10057   done
10058   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10059 BEGIN {RS=" "; FS="/|\n";} {
10060   lt_foo="";
10061   lt_count=0;
10062   for (lt_i = NF; lt_i > 0; lt_i--) {
10063     if ($lt_i != "" && $lt_i != ".") {
10064       if ($lt_i == "..") {
10065         lt_count++;
10066       } else {
10067         if (lt_count == 0) {
10068           lt_foo="/" $lt_i lt_foo;
10069         } else {
10070           lt_count--;
10071         }
10072       }
10073     }
10074   }
10075   if (lt_foo != "") { lt_freq[lt_foo]++; }
10076   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10077 }'`
10078   # AWK program above erroneously prepends '/' to C:/dos/paths
10079   # for these hosts.
10080   case $host_os in
10081     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10082       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10083   esac
10084   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10085 else
10086   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10087 fi
10088 library_names_spec=
10089 libname_spec='lib$name'
10090 soname_spec=
10091 shrext_cmds=".so"
10092 postinstall_cmds=
10093 postuninstall_cmds=
10094 finish_cmds=
10095 finish_eval=
10096 shlibpath_var=
10097 shlibpath_overrides_runpath=unknown
10098 version_type=none
10099 dynamic_linker="$host_os ld.so"
10100 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10101 need_lib_prefix=unknown
10102 hardcode_into_libs=no
10103 
10104 # when you set need_version to no, make sure it does not cause -set_version
10105 # flags to be left without arguments
10106 need_version=unknown
10107 
10108 case $host_os in
10109 aix3*)
10110   version_type=linux # correct to gnu/linux during the next big refactor
10111   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10112   shlibpath_var=LIBPATH
10113 
10114   # AIX 3 has no versioning support, so we append a major version to the name.
10115   soname_spec='${libname}${release}${shared_ext}$major'
10116   ;;
10117 
10118 aix[4-9]*)
10119   version_type=linux # correct to gnu/linux during the next big refactor
10120   need_lib_prefix=no
10121   need_version=no
10122   hardcode_into_libs=yes
10123   if test "$host_cpu" = ia64; then
10124     # AIX 5 supports IA64
10125     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10126     shlibpath_var=LD_LIBRARY_PATH
10127   else
10128     # With GCC up to 2.95.x, collect2 would create an import file
10129     # for dependence libraries.  The import file would start with
10130     # the line `#! .'.  This would cause the generated library to
10131     # depend on `.', always an invalid library.  This was fixed in
10132     # development snapshots of GCC prior to 3.0.
10133     case $host_os in
10134       aix4 | aix4.[01] | aix4.[01].*)
10135       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10136 	   echo ' yes '
10137 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10138 	:
10139       else
10140 	can_build_shared=no
10141       fi
10142       ;;
10143     esac
10144     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10145     # soname into executable. Probably we can add versioning support to
10146     # collect2, so additional links can be useful in future.
10147     if test "$aix_use_runtimelinking" = yes; then
10148       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10149       # instead of lib<name>.a to let people know that these are not
10150       # typical AIX shared libraries.
10151       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10152     else
10153       # We preserve .a as extension for shared libraries through AIX4.2
10154       # and later when we are not doing run time linking.
10155       library_names_spec='${libname}${release}.a $libname.a'
10156       soname_spec='${libname}${release}${shared_ext}$major'
10157     fi
10158     shlibpath_var=LIBPATH
10159   fi
10160   ;;
10161 
10162 amigaos*)
10163   case $host_cpu in
10164   powerpc)
10165     # Since July 2007 AmigaOS4 officially supports .so libraries.
10166     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10167     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10168     ;;
10169   m68k)
10170     library_names_spec='$libname.ixlibrary $libname.a'
10171     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10172     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'
10173     ;;
10174   esac
10175   ;;
10176 
10177 beos*)
10178   library_names_spec='${libname}${shared_ext}'
10179   dynamic_linker="$host_os ld.so"
10180   shlibpath_var=LIBRARY_PATH
10181   ;;
10182 
10183 bsdi[45]*)
10184   version_type=linux # correct to gnu/linux during the next big refactor
10185   need_version=no
10186   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10187   soname_spec='${libname}${release}${shared_ext}$major'
10188   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10189   shlibpath_var=LD_LIBRARY_PATH
10190   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10191   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10192   # the default ld.so.conf also contains /usr/contrib/lib and
10193   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10194   # libtool to hard-code these into programs
10195   ;;
10196 
10197 cygwin* | mingw* | pw32* | cegcc*)
10198   version_type=windows
10199   shrext_cmds=".dll"
10200   need_version=no
10201   need_lib_prefix=no
10202 
10203   case $GCC,$cc_basename in
10204   yes,*)
10205     # gcc
10206     library_names_spec='$libname.dll.a'
10207     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10208     postinstall_cmds='base_file=`basename \${file}`~
10209       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10210       dldir=$destdir/`dirname \$dlpath`~
10211       test -d \$dldir || mkdir -p \$dldir~
10212       $install_prog $dir/$dlname \$dldir/$dlname~
10213       chmod a+x \$dldir/$dlname~
10214       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10215         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10216       fi'
10217     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10218       dlpath=$dir/\$dldll~
10219        $RM \$dlpath'
10220     shlibpath_overrides_runpath=yes
10221 
10222     case $host_os in
10223     cygwin*)
10224       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10225       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10226 
10227       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10228       ;;
10229     mingw* | cegcc*)
10230       # MinGW DLLs use traditional 'lib' prefix
10231       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10232       ;;
10233     pw32*)
10234       # pw32 DLLs use 'pw' prefix rather than 'lib'
10235       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10236       ;;
10237     esac
10238     dynamic_linker='Win32 ld.exe'
10239     ;;
10240 
10241   *,cl*)
10242     # Native MSVC
10243     libname_spec='$name'
10244     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10245     library_names_spec='${libname}.dll.lib'
10246 
10247     case $build_os in
10248     mingw*)
10249       sys_lib_search_path_spec=
10250       lt_save_ifs=$IFS
10251       IFS=';'
10252       for lt_path in $LIB
10253       do
10254         IFS=$lt_save_ifs
10255         # Let DOS variable expansion print the short 8.3 style file name.
10256         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10257         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10258       done
10259       IFS=$lt_save_ifs
10260       # Convert to MSYS style.
10261       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10262       ;;
10263     cygwin*)
10264       # Convert to unix form, then to dos form, then back to unix form
10265       # but this time dos style (no spaces!) so that the unix form looks
10266       # like /cygdrive/c/PROGRA~1:/cygdr...
10267       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10268       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10269       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10270       ;;
10271     *)
10272       sys_lib_search_path_spec="$LIB"
10273       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10274         # It is most probably a Windows format PATH.
10275         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10276       else
10277         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10278       fi
10279       # FIXME: find the short name or the path components, as spaces are
10280       # common. (e.g. "Program Files" -> "PROGRA~1")
10281       ;;
10282     esac
10283 
10284     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10285     postinstall_cmds='base_file=`basename \${file}`~
10286       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10287       dldir=$destdir/`dirname \$dlpath`~
10288       test -d \$dldir || mkdir -p \$dldir~
10289       $install_prog $dir/$dlname \$dldir/$dlname'
10290     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10291       dlpath=$dir/\$dldll~
10292        $RM \$dlpath'
10293     shlibpath_overrides_runpath=yes
10294     dynamic_linker='Win32 link.exe'
10295     ;;
10296 
10297   *)
10298     # Assume MSVC wrapper
10299     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10300     dynamic_linker='Win32 ld.exe'
10301     ;;
10302   esac
10303   # FIXME: first we should search . and the directory the executable is in
10304   shlibpath_var=PATH
10305   ;;
10306 
10307 darwin* | rhapsody*)
10308   dynamic_linker="$host_os dyld"
10309   version_type=darwin
10310   need_lib_prefix=no
10311   need_version=no
10312   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10313   soname_spec='${libname}${release}${major}$shared_ext'
10314   shlibpath_overrides_runpath=yes
10315   shlibpath_var=DYLD_LIBRARY_PATH
10316   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10317 
10318   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10319   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10320   ;;
10321 
10322 dgux*)
10323   version_type=linux # correct to gnu/linux during the next big refactor
10324   need_lib_prefix=no
10325   need_version=no
10326   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10327   soname_spec='${libname}${release}${shared_ext}$major'
10328   shlibpath_var=LD_LIBRARY_PATH
10329   ;;
10330 
10331 freebsd* | dragonfly*)
10332   # DragonFly does not have aout.  When/if they implement a new
10333   # versioning mechanism, adjust this.
10334   if test -x /usr/bin/objformat; then
10335     objformat=`/usr/bin/objformat`
10336   else
10337     case $host_os in
10338     freebsd[23].*) objformat=aout ;;
10339     *) objformat=elf ;;
10340     esac
10341   fi
10342   version_type=freebsd-$objformat
10343   case $version_type in
10344     freebsd-elf*)
10345       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10346       need_version=no
10347       need_lib_prefix=no
10348       ;;
10349     freebsd-*)
10350       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10351       need_version=yes
10352       ;;
10353   esac
10354   shlibpath_var=LD_LIBRARY_PATH
10355   case $host_os in
10356   freebsd2.*)
10357     shlibpath_overrides_runpath=yes
10358     ;;
10359   freebsd3.[01]* | freebsdelf3.[01]*)
10360     shlibpath_overrides_runpath=yes
10361     hardcode_into_libs=yes
10362     ;;
10363   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10364   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10365     shlibpath_overrides_runpath=no
10366     hardcode_into_libs=yes
10367     ;;
10368   *) # from 4.6 on, and DragonFly
10369     shlibpath_overrides_runpath=yes
10370     hardcode_into_libs=yes
10371     ;;
10372   esac
10373   ;;
10374 
10375 gnu*)
10376   version_type=linux # correct to gnu/linux during the next big refactor
10377   need_lib_prefix=no
10378   need_version=no
10379   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10380   soname_spec='${libname}${release}${shared_ext}$major'
10381   shlibpath_var=LD_LIBRARY_PATH
10382   shlibpath_overrides_runpath=no
10383   hardcode_into_libs=yes
10384   ;;
10385 
10386 haiku*)
10387   version_type=linux # correct to gnu/linux during the next big refactor
10388   need_lib_prefix=no
10389   need_version=no
10390   dynamic_linker="$host_os runtime_loader"
10391   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10392   soname_spec='${libname}${release}${shared_ext}$major'
10393   shlibpath_var=LIBRARY_PATH
10394   shlibpath_overrides_runpath=yes
10395   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10396   hardcode_into_libs=yes
10397   ;;
10398 
10399 hpux9* | hpux10* | hpux11*)
10400   # Give a soname corresponding to the major version so that dld.sl refuses to
10401   # link against other versions.
10402   version_type=sunos
10403   need_lib_prefix=no
10404   need_version=no
10405   case $host_cpu in
10406   ia64*)
10407     shrext_cmds='.so'
10408     hardcode_into_libs=yes
10409     dynamic_linker="$host_os dld.so"
10410     shlibpath_var=LD_LIBRARY_PATH
10411     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10412     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10413     soname_spec='${libname}${release}${shared_ext}$major'
10414     if test "X$HPUX_IA64_MODE" = X32; then
10415       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10416     else
10417       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10418     fi
10419     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10420     ;;
10421   hppa*64*)
10422     shrext_cmds='.sl'
10423     hardcode_into_libs=yes
10424     dynamic_linker="$host_os dld.sl"
10425     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10426     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10427     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10428     soname_spec='${libname}${release}${shared_ext}$major'
10429     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10430     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10431     ;;
10432   *)
10433     shrext_cmds='.sl'
10434     dynamic_linker="$host_os dld.sl"
10435     shlibpath_var=SHLIB_PATH
10436     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10437     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10438     soname_spec='${libname}${release}${shared_ext}$major'
10439     ;;
10440   esac
10441   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10442   postinstall_cmds='chmod 555 $lib'
10443   # or fails outright, so override atomically:
10444   install_override_mode=555
10445   ;;
10446 
10447 interix[3-9]*)
10448   version_type=linux # correct to gnu/linux during the next big refactor
10449   need_lib_prefix=no
10450   need_version=no
10451   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10452   soname_spec='${libname}${release}${shared_ext}$major'
10453   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10454   shlibpath_var=LD_LIBRARY_PATH
10455   shlibpath_overrides_runpath=no
10456   hardcode_into_libs=yes
10457   ;;
10458 
10459 irix5* | irix6* | nonstopux*)
10460   case $host_os in
10461     nonstopux*) version_type=nonstopux ;;
10462     *)
10463 	if test "$lt_cv_prog_gnu_ld" = yes; then
10464 		version_type=linux # correct to gnu/linux during the next big refactor
10465 	else
10466 		version_type=irix
10467 	fi ;;
10468   esac
10469   need_lib_prefix=no
10470   need_version=no
10471   soname_spec='${libname}${release}${shared_ext}$major'
10472   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10473   case $host_os in
10474   irix5* | nonstopux*)
10475     libsuff= shlibsuff=
10476     ;;
10477   *)
10478     case $LD in # libtool.m4 will add one of these switches to LD
10479     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10480       libsuff= shlibsuff= libmagic=32-bit;;
10481     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10482       libsuff=32 shlibsuff=N32 libmagic=N32;;
10483     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10484       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10485     *) libsuff= shlibsuff= libmagic=never-match;;
10486     esac
10487     ;;
10488   esac
10489   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10490   shlibpath_overrides_runpath=no
10491   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10492   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10493   hardcode_into_libs=yes
10494   ;;
10495 
10496 # No shared lib support for Linux oldld, aout, or coff.
10497 linux*oldld* | linux*aout* | linux*coff*)
10498   dynamic_linker=no
10499   ;;
10500 
10501 # This must be glibc/ELF.
10502 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10503   version_type=linux # correct to gnu/linux during the next big refactor
10504   need_lib_prefix=no
10505   need_version=no
10506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10507   soname_spec='${libname}${release}${shared_ext}$major'
10508   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10509   shlibpath_var=LD_LIBRARY_PATH
10510   shlibpath_overrides_runpath=no
10511 
10512   # Some binutils ld are patched to set DT_RUNPATH
10513   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10514   $as_echo_n "(cached) " >&6
10515 else
10516   lt_cv_shlibpath_overrides_runpath=no
10517     save_LDFLAGS=$LDFLAGS
10518     save_libdir=$libdir
10519     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10520 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10521     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h.  */
10523 
10524 int
10525 main ()
10526 {
10527 
10528   ;
10529   return 0;
10530 }
10531 _ACEOF
10532 if ac_fn_c_try_link "$LINENO"; then :
10533   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10534   lt_cv_shlibpath_overrides_runpath=yes
10535 fi
10536 fi
10537 rm -f core conftest.err conftest.$ac_objext \
10538     conftest$ac_exeext conftest.$ac_ext
10539     LDFLAGS=$save_LDFLAGS
10540     libdir=$save_libdir
10541     
10542 fi
10543 
10544   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10545 
10546   # This implies no fast_install, which is unacceptable.
10547   # Some rework will be needed to allow for fast_install
10548   # before this can be enabled.
10549   hardcode_into_libs=yes
10550 
10551   # Append ld.so.conf contents to the search path
10552   if test -f /etc/ld.so.conf; then
10553     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' ' '`
10554     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10555   fi
10556 
10557   # We used to test for /lib/ld.so.1 and disable shared libraries on
10558   # powerpc, because MkLinux only supported shared libraries with the
10559   # GNU dynamic linker.  Since this was broken with cross compilers,
10560   # most powerpc-linux boxes support dynamic linking these days and
10561   # people can always --disable-shared, the test was removed, and we
10562   # assume the GNU/Linux dynamic linker is in use.
10563   dynamic_linker='GNU/Linux ld.so'
10564   ;;
10565 
10566 netbsd*)
10567   version_type=sunos
10568   need_lib_prefix=no
10569   need_version=no
10570   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10571     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10572     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10573     dynamic_linker='NetBSD (a.out) ld.so'
10574   else
10575     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10576     soname_spec='${libname}${release}${shared_ext}$major'
10577     dynamic_linker='NetBSD ld.elf_so'
10578   fi
10579   shlibpath_var=LD_LIBRARY_PATH
10580   shlibpath_overrides_runpath=yes
10581   hardcode_into_libs=yes
10582   ;;
10583 
10584 newsos6)
10585   version_type=linux # correct to gnu/linux during the next big refactor
10586   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10587   shlibpath_var=LD_LIBRARY_PATH
10588   shlibpath_overrides_runpath=yes
10589   ;;
10590 
10591 *nto* | *qnx*)
10592   version_type=qnx
10593   need_lib_prefix=no
10594   need_version=no
10595   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10596   soname_spec='${libname}${release}${shared_ext}$major'
10597   shlibpath_var=LD_LIBRARY_PATH
10598   shlibpath_overrides_runpath=no
10599   hardcode_into_libs=yes
10600   dynamic_linker='ldqnx.so'
10601   ;;
10602 
10603 openbsd*)
10604   version_type=sunos
10605   sys_lib_dlsearch_path_spec="/usr/lib"
10606   need_lib_prefix=no
10607   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10608   case $host_os in
10609     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10610     *)				need_version=no  ;;
10611   esac
10612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10613   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10614   shlibpath_var=LD_LIBRARY_PATH
10615   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10616     case $host_os in
10617       openbsd2.[89] | openbsd2.[89].*)
10618 	shlibpath_overrides_runpath=no
10619 	;;
10620       *)
10621 	shlibpath_overrides_runpath=yes
10622 	;;
10623       esac
10624   else
10625     shlibpath_overrides_runpath=yes
10626   fi
10627   ;;
10628 
10629 os2*)
10630   libname_spec='$name'
10631   shrext_cmds=".dll"
10632   need_lib_prefix=no
10633   library_names_spec='$libname${shared_ext} $libname.a'
10634   dynamic_linker='OS/2 ld.exe'
10635   shlibpath_var=LIBPATH
10636   ;;
10637 
10638 osf3* | osf4* | osf5*)
10639   version_type=osf
10640   need_lib_prefix=no
10641   need_version=no
10642   soname_spec='${libname}${release}${shared_ext}$major'
10643   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10644   shlibpath_var=LD_LIBRARY_PATH
10645   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10646   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10647   ;;
10648 
10649 rdos*)
10650   dynamic_linker=no
10651   ;;
10652 
10653 solaris*)
10654   version_type=linux # correct to gnu/linux during the next big refactor
10655   need_lib_prefix=no
10656   need_version=no
10657   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10658   soname_spec='${libname}${release}${shared_ext}$major'
10659   shlibpath_var=LD_LIBRARY_PATH
10660   shlibpath_overrides_runpath=yes
10661   hardcode_into_libs=yes
10662   # ldd complains unless libraries are executable
10663   postinstall_cmds='chmod +x $lib'
10664   ;;
10665 
10666 sunos4*)
10667   version_type=sunos
10668   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10669   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10670   shlibpath_var=LD_LIBRARY_PATH
10671   shlibpath_overrides_runpath=yes
10672   if test "$with_gnu_ld" = yes; then
10673     need_lib_prefix=no
10674   fi
10675   need_version=yes
10676   ;;
10677 
10678 sysv4 | sysv4.3*)
10679   version_type=linux # correct to gnu/linux during the next big refactor
10680   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10681   soname_spec='${libname}${release}${shared_ext}$major'
10682   shlibpath_var=LD_LIBRARY_PATH
10683   case $host_vendor in
10684     sni)
10685       shlibpath_overrides_runpath=no
10686       need_lib_prefix=no
10687       runpath_var=LD_RUN_PATH
10688       ;;
10689     siemens)
10690       need_lib_prefix=no
10691       ;;
10692     motorola)
10693       need_lib_prefix=no
10694       need_version=no
10695       shlibpath_overrides_runpath=no
10696       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10697       ;;
10698   esac
10699   ;;
10700 
10701 sysv4*MP*)
10702   if test -d /usr/nec ;then
10703     version_type=linux # correct to gnu/linux during the next big refactor
10704     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10705     soname_spec='$libname${shared_ext}.$major'
10706     shlibpath_var=LD_LIBRARY_PATH
10707   fi
10708   ;;
10709 
10710 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10711   version_type=freebsd-elf
10712   need_lib_prefix=no
10713   need_version=no
10714   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10715   soname_spec='${libname}${release}${shared_ext}$major'
10716   shlibpath_var=LD_LIBRARY_PATH
10717   shlibpath_overrides_runpath=yes
10718   hardcode_into_libs=yes
10719   if test "$with_gnu_ld" = yes; then
10720     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10721   else
10722     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10723     case $host_os in
10724       sco3.2v5*)
10725         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10726 	;;
10727     esac
10728   fi
10729   sys_lib_dlsearch_path_spec='/usr/lib'
10730   ;;
10731 
10732 tpf*)
10733   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10734   version_type=linux # correct to gnu/linux during the next big refactor
10735   need_lib_prefix=no
10736   need_version=no
10737   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10738   shlibpath_var=LD_LIBRARY_PATH
10739   shlibpath_overrides_runpath=no
10740   hardcode_into_libs=yes
10741   ;;
10742 
10743 uts4*)
10744   version_type=linux # correct to gnu/linux during the next big refactor
10745   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10746   soname_spec='${libname}${release}${shared_ext}$major'
10747   shlibpath_var=LD_LIBRARY_PATH
10748   ;;
10749 
10750 *)
10751   dynamic_linker=no
10752   ;;
10753 esac
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10755 $as_echo "$dynamic_linker" >&6; }
10756 test "$dynamic_linker" = no && can_build_shared=no
10757 
10758 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10759 if test "$GCC" = yes; then
10760   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10761 fi
10762 
10763 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10764   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10765 fi
10766 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10767   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10768 fi
10769 
10770 
10771     
10772     
10773     
10774 
10775 
10776     
10777     
10778     
10779 
10780 
10781     
10782     
10783     
10784 
10785 
10786     
10787     
10788     
10789 
10790 
10791     
10792     
10793     
10794 
10795 
10796     
10797     
10798     
10799 
10800 
10801     
10802     
10803     
10804 
10805 
10806     
10807     
10808     
10809 
10810 
10811     
10812     
10813     
10814 
10815 
10816     
10817     
10818     
10819 
10820 
10821     
10822     
10823     
10824 
10825 
10826     
10827     
10828     
10829 
10830 
10831     
10832     
10833     
10834 
10835 
10836     
10837     
10838     
10839 
10840 
10841     
10842     
10843     
10844 
10845 
10846     
10847     
10848     
10849 
10850 
10851     
10852     
10853     
10854 
10855 
10856     
10857     
10858     
10859 
10860 
10861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10862 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10863 hardcode_action=
10864 if test -n "$hardcode_libdir_flag_spec" ||
10865    test -n "$runpath_var" ||
10866    test "X$hardcode_automatic" = "Xyes" ; then
10867 
10868   # We can hardcode non-existent directories.
10869   if test "$hardcode_direct" != no &&
10870      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10871      # have to relink, otherwise we might link with an installed library
10872      # when we should be linking with a yet-to-be-installed one
10873      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10874      test "$hardcode_minus_L" != no; then
10875     # Linking always hardcodes the temporary library directory.
10876     hardcode_action=relink
10877   else
10878     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10879     hardcode_action=immediate
10880   fi
10881 else
10882   # We cannot hardcode anything, or else we can only hardcode existing
10883   # directories.
10884   hardcode_action=unsupported
10885 fi
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10887 $as_echo "$hardcode_action" >&6; }
10888 
10889 if test "$hardcode_action" = relink ||
10890    test "$inherit_rpath" = yes; then
10891   # Fast installation is not supported
10892   enable_fast_install=no
10893 elif test "$shlibpath_overrides_runpath" = yes ||
10894      test "$enable_shared" = no; then
10895   # Fast installation is not necessary
10896   enable_fast_install=needless
10897 fi
10898 
10899     
10900     
10901     
10902 
10903 
10904   if test "x$enable_dlopen" != xyes; then
10905   enable_dlopen=unknown
10906   enable_dlopen_self=unknown
10907   enable_dlopen_self_static=unknown
10908 else
10909   lt_cv_dlopen=no
10910   lt_cv_dlopen_libs=
10911 
10912   case $host_os in
10913   beos*)
10914     lt_cv_dlopen="load_add_on"
10915     lt_cv_dlopen_libs=
10916     lt_cv_dlopen_self=yes
10917     ;;
10918 
10919   mingw* | pw32* | cegcc*)
10920     lt_cv_dlopen="LoadLibrary"
10921     lt_cv_dlopen_libs=
10922     ;;
10923 
10924   cygwin*)
10925     lt_cv_dlopen="dlopen"
10926     lt_cv_dlopen_libs=
10927     ;;
10928 
10929   darwin*)
10930   # if libdl is installed we need to link against it
10931     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10932 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10933 if ${ac_cv_lib_dl_dlopen+:} false; then :
10934   $as_echo_n "(cached) " >&6
10935 else
10936   ac_check_lib_save_LIBS=$LIBS
10937 LIBS="-ldl  $LIBS"
10938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10939 /* end confdefs.h.  */
10940 
10941 /* Override any GCC internal prototype to avoid an error.
10942    Use char because int might match the return type of a GCC
10943    builtin and then its argument prototype would still apply.  */
10944 #ifdef __cplusplus
10945 extern "C"
10946 #endif
10947 char dlopen ();
10948 int
10949 main ()
10950 {
10951 return dlopen ();
10952   ;
10953   return 0;
10954 }
10955 _ACEOF
10956 if ac_fn_c_try_link "$LINENO"; then :
10957   ac_cv_lib_dl_dlopen=yes
10958 else
10959   ac_cv_lib_dl_dlopen=no
10960 fi
10961 rm -f core conftest.err conftest.$ac_objext \
10962     conftest$ac_exeext conftest.$ac_ext
10963 LIBS=$ac_check_lib_save_LIBS
10964 fi
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10966 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10967 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10968   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10969 else
10970   
10971     lt_cv_dlopen="dyld"
10972     lt_cv_dlopen_libs=
10973     lt_cv_dlopen_self=yes
10974     
10975 fi
10976 
10977     ;;
10978 
10979   *)
10980     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10981 if test "x$ac_cv_func_shl_load" = xyes; then :
10982   lt_cv_dlopen="shl_load"
10983 else
10984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10985 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10986 if ${ac_cv_lib_dld_shl_load+:} false; then :
10987   $as_echo_n "(cached) " >&6
10988 else
10989   ac_check_lib_save_LIBS=$LIBS
10990 LIBS="-ldld  $LIBS"
10991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10992 /* end confdefs.h.  */
10993 
10994 /* Override any GCC internal prototype to avoid an error.
10995    Use char because int might match the return type of a GCC
10996    builtin and then its argument prototype would still apply.  */
10997 #ifdef __cplusplus
10998 extern "C"
10999 #endif
11000 char shl_load ();
11001 int
11002 main ()
11003 {
11004 return shl_load ();
11005   ;
11006   return 0;
11007 }
11008 _ACEOF
11009 if ac_fn_c_try_link "$LINENO"; then :
11010   ac_cv_lib_dld_shl_load=yes
11011 else
11012   ac_cv_lib_dld_shl_load=no
11013 fi
11014 rm -f core conftest.err conftest.$ac_objext \
11015     conftest$ac_exeext conftest.$ac_ext
11016 LIBS=$ac_check_lib_save_LIBS
11017 fi
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11019 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11020 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11021   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11022 else
11023   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11024 if test "x$ac_cv_func_dlopen" = xyes; then :
11025   lt_cv_dlopen="dlopen"
11026 else
11027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11028 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11029 if ${ac_cv_lib_dl_dlopen+:} false; then :
11030   $as_echo_n "(cached) " >&6
11031 else
11032   ac_check_lib_save_LIBS=$LIBS
11033 LIBS="-ldl  $LIBS"
11034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11035 /* end confdefs.h.  */
11036 
11037 /* Override any GCC internal prototype to avoid an error.
11038    Use char because int might match the return type of a GCC
11039    builtin and then its argument prototype would still apply.  */
11040 #ifdef __cplusplus
11041 extern "C"
11042 #endif
11043 char dlopen ();
11044 int
11045 main ()
11046 {
11047 return dlopen ();
11048   ;
11049   return 0;
11050 }
11051 _ACEOF
11052 if ac_fn_c_try_link "$LINENO"; then :
11053   ac_cv_lib_dl_dlopen=yes
11054 else
11055   ac_cv_lib_dl_dlopen=no
11056 fi
11057 rm -f core conftest.err conftest.$ac_objext \
11058     conftest$ac_exeext conftest.$ac_ext
11059 LIBS=$ac_check_lib_save_LIBS
11060 fi
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11062 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11063 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11064   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11065 else
11066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11067 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11068 if ${ac_cv_lib_svld_dlopen+:} false; then :
11069   $as_echo_n "(cached) " >&6
11070 else
11071   ac_check_lib_save_LIBS=$LIBS
11072 LIBS="-lsvld  $LIBS"
11073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11074 /* end confdefs.h.  */
11075 
11076 /* Override any GCC internal prototype to avoid an error.
11077    Use char because int might match the return type of a GCC
11078    builtin and then its argument prototype would still apply.  */
11079 #ifdef __cplusplus
11080 extern "C"
11081 #endif
11082 char dlopen ();
11083 int
11084 main ()
11085 {
11086 return dlopen ();
11087   ;
11088   return 0;
11089 }
11090 _ACEOF
11091 if ac_fn_c_try_link "$LINENO"; then :
11092   ac_cv_lib_svld_dlopen=yes
11093 else
11094   ac_cv_lib_svld_dlopen=no
11095 fi
11096 rm -f core conftest.err conftest.$ac_objext \
11097     conftest$ac_exeext conftest.$ac_ext
11098 LIBS=$ac_check_lib_save_LIBS
11099 fi
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11101 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11102 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11103   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11104 else
11105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11106 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11107 if ${ac_cv_lib_dld_dld_link+:} false; then :
11108   $as_echo_n "(cached) " >&6
11109 else
11110   ac_check_lib_save_LIBS=$LIBS
11111 LIBS="-ldld  $LIBS"
11112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h.  */
11114 
11115 /* Override any GCC internal prototype to avoid an error.
11116    Use char because int might match the return type of a GCC
11117    builtin and then its argument prototype would still apply.  */
11118 #ifdef __cplusplus
11119 extern "C"
11120 #endif
11121 char dld_link ();
11122 int
11123 main ()
11124 {
11125 return dld_link ();
11126   ;
11127   return 0;
11128 }
11129 _ACEOF
11130 if ac_fn_c_try_link "$LINENO"; then :
11131   ac_cv_lib_dld_dld_link=yes
11132 else
11133   ac_cv_lib_dld_dld_link=no
11134 fi
11135 rm -f core conftest.err conftest.$ac_objext \
11136     conftest$ac_exeext conftest.$ac_ext
11137 LIBS=$ac_check_lib_save_LIBS
11138 fi
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11140 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11141 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11142   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11143 fi
11144 
11145 	      
11146 fi
11147 
11148 	    
11149 fi
11150 
11151 	  
11152 fi
11153 
11154 	
11155 fi
11156 
11157       
11158 fi
11159 
11160     ;;
11161   esac
11162 
11163   if test "x$lt_cv_dlopen" != xno; then
11164     enable_dlopen=yes
11165   else
11166     enable_dlopen=no
11167   fi
11168 
11169   case $lt_cv_dlopen in
11170   dlopen)
11171     save_CPPFLAGS="$CPPFLAGS"
11172     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11173 
11174     save_LDFLAGS="$LDFLAGS"
11175     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11176 
11177     save_LIBS="$LIBS"
11178     LIBS="$lt_cv_dlopen_libs $LIBS"
11179 
11180     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11181 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11182 if ${lt_cv_dlopen_self+:} false; then :
11183   $as_echo_n "(cached) " >&6
11184 else
11185   	  if test "$cross_compiling" = yes; then :
11186   lt_cv_dlopen_self=cross
11187 else
11188   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11189   lt_status=$lt_dlunknown
11190   cat > conftest.$ac_ext <<_LT_EOF
11191 #line $LINENO "configure"
11192 #include "confdefs.h"
11193 
11194 #if HAVE_DLFCN_H
11195 #include <dlfcn.h>
11196 #endif
11197 
11198 #include <stdio.h>
11199 
11200 #ifdef RTLD_GLOBAL
11201 #  define LT_DLGLOBAL		RTLD_GLOBAL
11202 #else
11203 #  ifdef DL_GLOBAL
11204 #    define LT_DLGLOBAL		DL_GLOBAL
11205 #  else
11206 #    define LT_DLGLOBAL		0
11207 #  endif
11208 #endif
11209 
11210 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11211    find out it does not work in some platform. */
11212 #ifndef LT_DLLAZY_OR_NOW
11213 #  ifdef RTLD_LAZY
11214 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11215 #  else
11216 #    ifdef DL_LAZY
11217 #      define LT_DLLAZY_OR_NOW		DL_LAZY
11218 #    else
11219 #      ifdef RTLD_NOW
11220 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
11221 #      else
11222 #        ifdef DL_NOW
11223 #          define LT_DLLAZY_OR_NOW	DL_NOW
11224 #        else
11225 #          define LT_DLLAZY_OR_NOW	0
11226 #        endif
11227 #      endif
11228 #    endif
11229 #  endif
11230 #endif
11231 
11232 /* When -fvisbility=hidden is used, assume the code has been annotated
11233    correspondingly for the symbols needed.  */
11234 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11235 int fnord () __attribute__((visibility("default")));
11236 #endif
11237 
11238 int fnord () { return 42; }
11239 int main ()
11240 {
11241   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11242   int status = $lt_dlunknown;
11243 
11244   if (self)
11245     {
11246       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11247       else
11248         {
11249 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11250           else puts (dlerror ());
11251 	}
11252       /* dlclose (self); */
11253     }
11254   else
11255     puts (dlerror ());
11256 
11257   return status;
11258 }
11259 _LT_EOF
11260   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11261   (eval $ac_link) 2>&5
11262   ac_status=$?
11263   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11264   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11265     (./conftest; exit; ) >&5 2>/dev/null
11266     lt_status=$?
11267     case x$lt_status in
11268       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11269       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11270       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11271     esac
11272   else :
11273     # compilation failed
11274     lt_cv_dlopen_self=no
11275   fi
11276 fi
11277 rm -fr conftest*
11278 
11279     
11280 fi
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11282 $as_echo "$lt_cv_dlopen_self" >&6; }
11283 
11284     if test "x$lt_cv_dlopen_self" = xyes; then
11285       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11286       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11287 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11288 if ${lt_cv_dlopen_self_static+:} false; then :
11289   $as_echo_n "(cached) " >&6
11290 else
11291   	  if test "$cross_compiling" = yes; then :
11292   lt_cv_dlopen_self_static=cross
11293 else
11294   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11295   lt_status=$lt_dlunknown
11296   cat > conftest.$ac_ext <<_LT_EOF
11297 #line $LINENO "configure"
11298 #include "confdefs.h"
11299 
11300 #if HAVE_DLFCN_H
11301 #include <dlfcn.h>
11302 #endif
11303 
11304 #include <stdio.h>
11305 
11306 #ifdef RTLD_GLOBAL
11307 #  define LT_DLGLOBAL		RTLD_GLOBAL
11308 #else
11309 #  ifdef DL_GLOBAL
11310 #    define LT_DLGLOBAL		DL_GLOBAL
11311 #  else
11312 #    define LT_DLGLOBAL		0
11313 #  endif
11314 #endif
11315 
11316 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11317    find out it does not work in some platform. */
11318 #ifndef LT_DLLAZY_OR_NOW
11319 #  ifdef RTLD_LAZY
11320 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11321 #  else
11322 #    ifdef DL_LAZY
11323 #      define LT_DLLAZY_OR_NOW		DL_LAZY
11324 #    else
11325 #      ifdef RTLD_NOW
11326 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
11327 #      else
11328 #        ifdef DL_NOW
11329 #          define LT_DLLAZY_OR_NOW	DL_NOW
11330 #        else
11331 #          define LT_DLLAZY_OR_NOW	0
11332 #        endif
11333 #      endif
11334 #    endif
11335 #  endif
11336 #endif
11337 
11338 /* When -fvisbility=hidden is used, assume the code has been annotated
11339    correspondingly for the symbols needed.  */
11340 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11341 int fnord () __attribute__((visibility("default")));
11342 #endif
11343 
11344 int fnord () { return 42; }
11345 int main ()
11346 {
11347   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11348   int status = $lt_dlunknown;
11349 
11350   if (self)
11351     {
11352       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11353       else
11354         {
11355 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11356           else puts (dlerror ());
11357 	}
11358       /* dlclose (self); */
11359     }
11360   else
11361     puts (dlerror ());
11362 
11363   return status;
11364 }
11365 _LT_EOF
11366   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11367   (eval $ac_link) 2>&5
11368   ac_status=$?
11369   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11370   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11371     (./conftest; exit; ) >&5 2>/dev/null
11372     lt_status=$?
11373     case x$lt_status in
11374       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11375       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11376       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11377     esac
11378   else :
11379     # compilation failed
11380     lt_cv_dlopen_self_static=no
11381   fi
11382 fi
11383 rm -fr conftest*
11384 
11385       
11386 fi
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11388 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11389     fi
11390 
11391     CPPFLAGS="$save_CPPFLAGS"
11392     LDFLAGS="$save_LDFLAGS"
11393     LIBS="$save_LIBS"
11394     ;;
11395   esac
11396 
11397   case $lt_cv_dlopen_self in
11398   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11399   *) enable_dlopen_self=unknown ;;
11400   esac
11401 
11402   case $lt_cv_dlopen_self_static in
11403   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11404   *) enable_dlopen_self_static=unknown ;;
11405   esac
11406 fi
11407 
11408     
11409     
11410     
11411 
11412 
11413     
11414     
11415     
11416 
11417 
11418     
11419     
11420     
11421 
11422 
11423   
11424 striplib=
11425 old_striplib=
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11427 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11428 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11429   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11430   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11432 $as_echo "yes" >&6; }
11433 else
11434 # FIXME - insert some real tests, host_os isn't really good enough
11435   case $host_os in
11436   darwin*)
11437     if test -n "$STRIP" ; then
11438       striplib="$STRIP -x"
11439       old_striplib="$STRIP -S"
11440       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11441 $as_echo "yes" >&6; }
11442     else
11443       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11444 $as_echo "no" >&6; }
11445     fi
11446     ;;
11447   *)
11448     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11449 $as_echo "no" >&6; }
11450     ;;
11451   esac
11452 fi
11453 
11454     
11455     
11456     
11457 
11458 
11459     
11460     
11461     
11462 
11463 
11464 
11465   # Report which library types will actually be built
11466   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11467 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11469 $as_echo "$can_build_shared" >&6; }
11470 
11471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11472 $as_echo_n "checking whether to build shared libraries... " >&6; }
11473   test "$can_build_shared" = "no" && enable_shared=no
11474 
11475   # On AIX, shared libraries and static libraries use the same namespace, and
11476   # are all built from PIC.
11477   case $host_os in
11478   aix3*)
11479     test "$enable_shared" = yes && enable_static=no
11480     if test -n "$RANLIB"; then
11481       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11482       postinstall_cmds='$RANLIB $lib'
11483     fi
11484     ;;
11485 
11486   aix[4-9]*)
11487     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11488       test "$enable_shared" = yes && enable_static=no
11489     fi
11490     ;;
11491   esac
11492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11493 $as_echo "$enable_shared" >&6; }
11494 
11495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11496 $as_echo_n "checking whether to build static libraries... " >&6; }
11497   # Make sure either enable_shared or enable_static is yes.
11498   test "$enable_shared" = yes || enable_static=yes
11499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11500 $as_echo "$enable_static" >&6; }
11501 
11502   
11503 
11504 
11505 fi
11506 ac_ext=c
11507 ac_cpp='$CPP $CPPFLAGS'
11508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11511 
11512 CC="$lt_save_CC"
11513 
11514 
11515 
11516 
11517 
11518 
11519 
11520 
11521        
11522        
11523 
11524 
11525 
11526 
11527 
11528         ac_config_commands="$ac_config_commands libtool"
11529 
11530 
11531 
11532 
11533 # Only expand once:
11534 
11535 
11536 
11537 # default values, dynamically linking and stripped binary
11538 STATIC="no"
11539 
11540 
11541 # provide flag --enable-static
11542 @%:@ Check whether --enable-static-binary was given.
11543 if test "${enable_static_binary+set}" = set; then :
11544   enableval=$enable_static_binary; 
11545 	if test "x$enableval" = "xyes"; then
11546 	    STATIC="yes"
11547 	    LDFLAGS="$LDFLAGS -static"
11548 	fi
11549 
11550 fi
11551 
11552 
11553 @%:@ Check whether --enable-debug was given.
11554 if test "${enable_debug+set}" = set; then :
11555   enableval=$enable_debug; 
11556 fi
11557 
11558 if test "x$enable_debug" != "xno"; then :
11559   
11560           CXXFLAGS="$CFLAGS -g -DDEBUG"
11561           enable_debug="yes"
11562 
11563 fi
11564 
11565 
11566 
11567 
11568 
11569 # look for the existence of install
11570 
11571 
11572 # look if c++ compiler exists
11573 ac_ext=cpp
11574 ac_cpp='$CXXCPP $CPPFLAGS'
11575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11578 if test -z "$CXX"; then
11579   if test -n "$CCC"; then
11580     CXX=$CCC
11581   else
11582     if test -n "$ac_tool_prefix"; then
11583   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11584   do
11585     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11586 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11588 $as_echo_n "checking for $ac_word... " >&6; }
11589 if ${ac_cv_prog_CXX+:} false; then :
11590   $as_echo_n "(cached) " >&6
11591 else
11592   if test -n "$CXX"; then
11593   ac_cv_prog_CXX="$CXX" # Let the user override the test.
11594 else
11595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11596 for as_dir in $PATH
11597 do
11598   IFS=$as_save_IFS
11599   test -z "$as_dir" && as_dir=.
11600     for ac_exec_ext in '' $ac_executable_extensions; do
11601   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11602     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11603     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11604     break 2
11605   fi
11606 done
11607   done
11608 IFS=$as_save_IFS
11609 
11610 fi
11611 fi
11612 CXX=$ac_cv_prog_CXX
11613 if test -n "$CXX"; then
11614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11615 $as_echo "$CXX" >&6; }
11616 else
11617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11618 $as_echo "no" >&6; }
11619 fi
11620 
11621 
11622     test -n "$CXX" && break
11623   done
11624 fi
11625 if test -z "$CXX"; then
11626   ac_ct_CXX=$CXX
11627   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11628 do
11629   # Extract the first word of "$ac_prog", so it can be a program name with args.
11630 set dummy $ac_prog; ac_word=$2
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11632 $as_echo_n "checking for $ac_word... " >&6; }
11633 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
11634   $as_echo_n "(cached) " >&6
11635 else
11636   if test -n "$ac_ct_CXX"; then
11637   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11638 else
11639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11640 for as_dir in $PATH
11641 do
11642   IFS=$as_save_IFS
11643   test -z "$as_dir" && as_dir=.
11644     for ac_exec_ext in '' $ac_executable_extensions; do
11645   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11646     ac_cv_prog_ac_ct_CXX="$ac_prog"
11647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11648     break 2
11649   fi
11650 done
11651   done
11652 IFS=$as_save_IFS
11653 
11654 fi
11655 fi
11656 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11657 if test -n "$ac_ct_CXX"; then
11658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11659 $as_echo "$ac_ct_CXX" >&6; }
11660 else
11661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11662 $as_echo "no" >&6; }
11663 fi
11664 
11665 
11666   test -n "$ac_ct_CXX" && break
11667 done
11668 
11669   if test "x$ac_ct_CXX" = x; then
11670     CXX="g++"
11671   else
11672     case $cross_compiling:$ac_tool_warned in
11673 yes:)
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11675 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11676 ac_tool_warned=yes ;;
11677 esac
11678     CXX=$ac_ct_CXX
11679   fi
11680 fi
11681 
11682   fi
11683 fi
11684 # Provide some information about the compiler.
11685 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11686 set X $ac_compile
11687 ac_compiler=$2
11688 for ac_option in --version -v -V -qversion; do
11689   { { ac_try="$ac_compiler $ac_option >&5"
11690 case "(($ac_try" in
11691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11692   *) ac_try_echo=$ac_try;;
11693 esac
11694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11695 $as_echo "$ac_try_echo"; } >&5
11696   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11697   ac_status=$?
11698   if test -s conftest.err; then
11699     sed '10a\
11700 ... rest of stderr output deleted ...
11701          10q' conftest.err >conftest.er1
11702     cat conftest.er1 >&5
11703   fi
11704   rm -f conftest.er1 conftest.err
11705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11706   test $ac_status = 0; }
11707 done
11708 
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11710 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11711 if ${ac_cv_cxx_compiler_gnu+:} false; then :
11712   $as_echo_n "(cached) " >&6
11713 else
11714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11715 /* end confdefs.h.  */
11716 
11717 int
11718 main ()
11719 {
11720 #ifndef __GNUC__
11721        choke me
11722 #endif
11723 
11724   ;
11725   return 0;
11726 }
11727 _ACEOF
11728 if ac_fn_cxx_try_compile "$LINENO"; then :
11729   ac_compiler_gnu=yes
11730 else
11731   ac_compiler_gnu=no
11732 fi
11733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11734 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11735 
11736 fi
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11738 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11739 if test $ac_compiler_gnu = yes; then
11740   GXX=yes
11741 else
11742   GXX=
11743 fi
11744 ac_test_CXXFLAGS=${CXXFLAGS+set}
11745 ac_save_CXXFLAGS=$CXXFLAGS
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11747 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11748 if ${ac_cv_prog_cxx_g+:} false; then :
11749   $as_echo_n "(cached) " >&6
11750 else
11751   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11752    ac_cxx_werror_flag=yes
11753    ac_cv_prog_cxx_g=no
11754    CXXFLAGS="-g"
11755    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11756 /* end confdefs.h.  */
11757 
11758 int
11759 main ()
11760 {
11761 
11762   ;
11763   return 0;
11764 }
11765 _ACEOF
11766 if ac_fn_cxx_try_compile "$LINENO"; then :
11767   ac_cv_prog_cxx_g=yes
11768 else
11769   CXXFLAGS=""
11770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11771 /* end confdefs.h.  */
11772 
11773 int
11774 main ()
11775 {
11776 
11777   ;
11778   return 0;
11779 }
11780 _ACEOF
11781 if ac_fn_cxx_try_compile "$LINENO"; then :
11782   
11783 else
11784   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11785 	 CXXFLAGS="-g"
11786 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11787 /* end confdefs.h.  */
11788 
11789 int
11790 main ()
11791 {
11792 
11793   ;
11794   return 0;
11795 }
11796 _ACEOF
11797 if ac_fn_cxx_try_compile "$LINENO"; then :
11798   ac_cv_prog_cxx_g=yes
11799 fi
11800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11801 fi
11802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11803 fi
11804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11805    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11806 fi
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11808 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11809 if test "$ac_test_CXXFLAGS" = set; then
11810   CXXFLAGS=$ac_save_CXXFLAGS
11811 elif test $ac_cv_prog_cxx_g = yes; then
11812   if test "$GXX" = yes; then
11813     CXXFLAGS="-g -O2"
11814   else
11815     CXXFLAGS="-g"
11816   fi
11817 else
11818   if test "$GXX" = yes; then
11819     CXXFLAGS="-O2"
11820   else
11821     CXXFLAGS=
11822   fi
11823 fi
11824 ac_ext=c
11825 ac_cpp='$CPP $CPPFLAGS'
11826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11829 
11830 depcc="$CXX"  am_compiler_list=
11831 
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11833 $as_echo_n "checking dependency style of $depcc... " >&6; }
11834 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
11835   $as_echo_n "(cached) " >&6
11836 else
11837   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11838   # We make a subdir and do the tests there.  Otherwise we can end up
11839   # making bogus files that we don't know about and never remove.  For
11840   # instance it was reported that on HP-UX the gcc test will end up
11841   # making a dummy file named 'D' -- because '-MD' means "put the output
11842   # in D".
11843   rm -rf conftest.dir
11844   mkdir conftest.dir
11845   # Copy depcomp to subdir because otherwise we won't find it if we're
11846   # using a relative directory.
11847   cp "$am_depcomp" conftest.dir
11848   cd conftest.dir
11849   # We will build objects and dependencies in a subdirectory because
11850   # it helps to detect inapplicable dependency modes.  For instance
11851   # both Tru64's cc and ICC support -MD to output dependencies as a
11852   # side effect of compilation, but ICC will put the dependencies in
11853   # the current directory while Tru64 will put them in the object
11854   # directory.
11855   mkdir sub
11856 
11857   am_cv_CXX_dependencies_compiler_type=none
11858   if test "$am_compiler_list" = ""; then
11859      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11860   fi
11861   am__universal=false
11862   case " $depcc " in #(
11863      *\ -arch\ *\ -arch\ *) am__universal=true ;;
11864      esac
11865 
11866   for depmode in $am_compiler_list; do
11867     # Setup a source with many dependencies, because some compilers
11868     # like to wrap large dependency lists on column 80 (with \), and
11869     # we should not choose a depcomp mode which is confused by this.
11870     #
11871     # We need to recreate these files for each test, as the compiler may
11872     # overwrite some of them when testing with obscure command lines.
11873     # This happens at least with the AIX C compiler.
11874     : > sub/conftest.c
11875     for i in 1 2 3 4 5 6; do
11876       echo '#include "conftst'$i'.h"' >> sub/conftest.c
11877       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
11878       # Solaris 10 /bin/sh.
11879       echo '/* dummy */' > sub/conftst$i.h
11880     done
11881     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11882 
11883     # We check with '-c' and '-o' for the sake of the "dashmstdout"
11884     # mode.  It turns out that the SunPro C++ compiler does not properly
11885     # handle '-M -o', and we need to detect this.  Also, some Intel
11886     # versions had trouble with output in subdirs.
11887     am__obj=sub/conftest.${OBJEXT-o}
11888     am__minus_obj="-o $am__obj"
11889     case $depmode in
11890     gcc)
11891       # This depmode causes a compiler race in universal mode.
11892       test "$am__universal" = false || continue
11893       ;;
11894     nosideeffect)
11895       # After this tag, mechanisms are not by side-effect, so they'll
11896       # only be used when explicitly requested.
11897       if test "x$enable_dependency_tracking" = xyes; then
11898 	continue
11899       else
11900 	break
11901       fi
11902       ;;
11903     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
11904       # This compiler won't grok '-c -o', but also, the minuso test has
11905       # not run yet.  These depmodes are late enough in the game, and
11906       # so weak that their functioning should not be impacted.
11907       am__obj=conftest.${OBJEXT-o}
11908       am__minus_obj=
11909       ;;
11910     none) break ;;
11911     esac
11912     if depmode=$depmode \
11913        source=sub/conftest.c object=$am__obj \
11914        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11915        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11916          >/dev/null 2>conftest.err &&
11917        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11918        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11919        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11920        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11921       # icc doesn't choke on unknown options, it will just issue warnings
11922       # or remarks (even with -Werror).  So we grep stderr for any message
11923       # that says an option was ignored or not supported.
11924       # When given -MP, icc 7.0 and 7.1 complain thusly:
11925       #   icc: Command line warning: ignoring option '-M'; no argument required
11926       # The diagnosis changed in icc 8.0:
11927       #   icc: Command line remark: option '-MP' not supported
11928       if (grep 'ignoring option' conftest.err ||
11929           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11930         am_cv_CXX_dependencies_compiler_type=$depmode
11931         break
11932       fi
11933     fi
11934   done
11935 
11936   cd ..
11937   rm -rf conftest.dir
11938 else
11939   am_cv_CXX_dependencies_compiler_type=none
11940 fi
11941 
11942 fi
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11944 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11945 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11946 
11947  if 
11948   test "x$enable_dependency_tracking" != xno \
11949   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
11950   am__fastdepCXX_TRUE=
11951   am__fastdepCXX_FALSE='#'
11952 else
11953   am__fastdepCXX_TRUE='#'
11954   am__fastdepCXX_FALSE=
11955 fi
11956 
11957 
11958 
11959 
11960 func_stripname_cnf ()
11961 {
11962   case ${2} in
11963   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
11964   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
11965   esac
11966 } # func_stripname_cnf
11967 
11968       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11969     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11970     (test "X$CXX" != "Xg++"))) ; then
11971   ac_ext=cpp
11972 ac_cpp='$CXXCPP $CPPFLAGS'
11973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11977 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11978 if test -z "$CXXCPP"; then
11979   if ${ac_cv_prog_CXXCPP+:} false; then :
11980   $as_echo_n "(cached) " >&6
11981 else
11982       # Double quotes because CXXCPP needs to be expanded
11983     for CXXCPP in "$CXX -E" "/lib/cpp"
11984     do
11985       ac_preproc_ok=false
11986 for ac_cxx_preproc_warn_flag in '' yes
11987 do
11988   # Use a header file that comes with gcc, so configuring glibc
11989   # with a fresh cross-compiler works.
11990   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11991   # <limits.h> exists even on freestanding compilers.
11992   # On the NeXT, cc -E runs the code through the compiler's parser,
11993   # not just through cpp. "Syntax error" is here to catch this case.
11994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11995 /* end confdefs.h.  */
11996 @%:@ifdef __STDC__
11997 @%:@ include <limits.h>
11998 @%:@else
11999 @%:@ include <assert.h>
12000 @%:@endif
12001 		     Syntax error
12002 _ACEOF
12003 if ac_fn_cxx_try_cpp "$LINENO"; then :
12004   
12005 else
12006   # Broken: fails on valid input.
12007 continue
12008 fi
12009 rm -f conftest.err conftest.i conftest.$ac_ext
12010 
12011   # OK, works on sane cases.  Now check whether nonexistent headers
12012   # can be detected and how.
12013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h.  */
12015 @%:@include <ac_nonexistent.h>
12016 _ACEOF
12017 if ac_fn_cxx_try_cpp "$LINENO"; then :
12018   # Broken: success on invalid input.
12019 continue
12020 else
12021   # Passes both tests.
12022 ac_preproc_ok=:
12023 break
12024 fi
12025 rm -f conftest.err conftest.i conftest.$ac_ext
12026 
12027 done
12028 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12029 rm -f conftest.i conftest.err conftest.$ac_ext
12030 if $ac_preproc_ok; then :
12031   break
12032 fi
12033 
12034     done
12035     ac_cv_prog_CXXCPP=$CXXCPP
12036   
12037 fi
12038   CXXCPP=$ac_cv_prog_CXXCPP
12039 else
12040   ac_cv_prog_CXXCPP=$CXXCPP
12041 fi
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12043 $as_echo "$CXXCPP" >&6; }
12044 ac_preproc_ok=false
12045 for ac_cxx_preproc_warn_flag in '' yes
12046 do
12047   # Use a header file that comes with gcc, so configuring glibc
12048   # with a fresh cross-compiler works.
12049   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12050   # <limits.h> exists even on freestanding compilers.
12051   # On the NeXT, cc -E runs the code through the compiler's parser,
12052   # not just through cpp. "Syntax error" is here to catch this case.
12053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h.  */
12055 @%:@ifdef __STDC__
12056 @%:@ include <limits.h>
12057 @%:@else
12058 @%:@ include <assert.h>
12059 @%:@endif
12060 		     Syntax error
12061 _ACEOF
12062 if ac_fn_cxx_try_cpp "$LINENO"; then :
12063   
12064 else
12065   # Broken: fails on valid input.
12066 continue
12067 fi
12068 rm -f conftest.err conftest.i conftest.$ac_ext
12069 
12070   # OK, works on sane cases.  Now check whether nonexistent headers
12071   # can be detected and how.
12072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h.  */
12074 @%:@include <ac_nonexistent.h>
12075 _ACEOF
12076 if ac_fn_cxx_try_cpp "$LINENO"; then :
12077   # Broken: success on invalid input.
12078 continue
12079 else
12080   # Passes both tests.
12081 ac_preproc_ok=:
12082 break
12083 fi
12084 rm -f conftest.err conftest.i conftest.$ac_ext
12085 
12086 done
12087 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12088 rm -f conftest.i conftest.err conftest.$ac_ext
12089 if $ac_preproc_ok; then :
12090   
12091 else
12092   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12094 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12095 See \`config.log' for more details" "$LINENO" 5; }
12096 fi
12097 
12098 ac_ext=c
12099 ac_cpp='$CPP $CPPFLAGS'
12100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12103 
12104 else
12105   _lt_caught_CXX_error=yes
12106 fi
12107 
12108 ac_ext=cpp
12109 ac_cpp='$CXXCPP $CPPFLAGS'
12110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12113 
12114 archive_cmds_need_lc_CXX=no
12115 allow_undefined_flag_CXX=
12116 always_export_symbols_CXX=no
12117 archive_expsym_cmds_CXX=
12118 compiler_needs_object_CXX=no
12119 export_dynamic_flag_spec_CXX=
12120 hardcode_direct_CXX=no
12121 hardcode_direct_absolute_CXX=no
12122 hardcode_libdir_flag_spec_CXX=
12123 hardcode_libdir_separator_CXX=
12124 hardcode_minus_L_CXX=no
12125 hardcode_shlibpath_var_CXX=unsupported
12126 hardcode_automatic_CXX=no
12127 inherit_rpath_CXX=no
12128 module_cmds_CXX=
12129 module_expsym_cmds_CXX=
12130 link_all_deplibs_CXX=unknown
12131 old_archive_cmds_CXX=$old_archive_cmds
12132 reload_flag_CXX=$reload_flag
12133 reload_cmds_CXX=$reload_cmds
12134 no_undefined_flag_CXX=
12135 whole_archive_flag_spec_CXX=
12136 enable_shared_with_static_runtimes_CXX=no
12137 
12138 # Source file extension for C++ test sources.
12139 ac_ext=cpp
12140 
12141 # Object file extension for compiled C++ test sources.
12142 objext=o
12143 objext_CXX=$objext
12144 
12145 # No sense in running all these tests if we already determined that
12146 # the CXX compiler isn't working.  Some variables (like enable_shared)
12147 # are currently assumed to apply to all compilers on this platform,
12148 # and will be corrupted by setting them based on a non-working compiler.
12149 if test "$_lt_caught_CXX_error" != yes; then
12150   # Code to be used in simple compile tests
12151   lt_simple_compile_test_code="int some_variable = 0;"
12152 
12153   # Code to be used in simple link tests
12154   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12155 
12156   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12157   
12158 
12159 
12160 
12161 
12162 
12163 # If no C compiler was specified, use CC.
12164 LTCC=${LTCC-"$CC"}
12165 
12166 # If no C compiler flags were specified, use CFLAGS.
12167 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12168 
12169 # Allow CC to be a program name with arguments.
12170 compiler=$CC
12171 
12172 
12173   # save warnings/boilerplate of simple test code
12174   ac_outfile=conftest.$ac_objext
12175 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12176 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12177 _lt_compiler_boilerplate=`cat conftest.err`
12178 $RM conftest*
12179 
12180   ac_outfile=conftest.$ac_objext
12181 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12182 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12183 _lt_linker_boilerplate=`cat conftest.err`
12184 $RM -r conftest*
12185 
12186 
12187   # Allow CC to be a program name with arguments.
12188   lt_save_CC=$CC
12189   lt_save_CFLAGS=$CFLAGS
12190   lt_save_LD=$LD
12191   lt_save_GCC=$GCC
12192   GCC=$GXX
12193   lt_save_with_gnu_ld=$with_gnu_ld
12194   lt_save_path_LD=$lt_cv_path_LD
12195   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12196     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12197   else
12198     $as_unset lt_cv_prog_gnu_ld
12199   fi
12200   if test -n "${lt_cv_path_LDCXX+set}"; then
12201     lt_cv_path_LD=$lt_cv_path_LDCXX
12202   else
12203     $as_unset lt_cv_path_LD
12204   fi
12205   test -z "${LDCXX+set}" || LD=$LDCXX
12206   CC=${CXX-"c++"}
12207   CFLAGS=$CXXFLAGS
12208   compiler=$CC
12209   compiler_CXX=$CC
12210   for cc_temp in $compiler""; do
12211   case $cc_temp in
12212     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12213     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12214     \-*) ;;
12215     *) break;;
12216   esac
12217 done
12218 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12219 
12220 
12221   if test -n "$compiler"; then
12222     # We don't want -fno-exception when compiling C++ code, so set the
12223     # no_builtin_flag separately
12224     if test "$GXX" = yes; then
12225       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12226     else
12227       lt_prog_compiler_no_builtin_flag_CXX=
12228     fi
12229 
12230     if test "$GXX" = yes; then
12231       # Set up default GNU C++ configuration
12232 
12233       
12234 
12235 @%:@ Check whether --with-gnu-ld was given.
12236 if test "${with_gnu_ld+set}" = set; then :
12237   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12238 else
12239   with_gnu_ld=no
12240 fi
12241 
12242 ac_prog=ld
12243 if test "$GCC" = yes; then
12244   # Check if gcc -print-prog-name=ld gives a path.
12245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12246 $as_echo_n "checking for ld used by $CC... " >&6; }
12247   case $host in
12248   *-*-mingw*)
12249     # gcc leaves a trailing carriage return which upsets mingw
12250     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12251   *)
12252     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12253   esac
12254   case $ac_prog in
12255     # Accept absolute paths.
12256     [\\/]* | ?:[\\/]*)
12257       re_direlt='/[^/][^/]*/\.\./'
12258       # Canonicalize the pathname of ld
12259       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12260       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12261 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12262       done
12263       test -z "$LD" && LD="$ac_prog"
12264       ;;
12265   "")
12266     # If it fails, then pretend we aren't using GCC.
12267     ac_prog=ld
12268     ;;
12269   *)
12270     # If it is relative, then search for the first ld in PATH.
12271     with_gnu_ld=unknown
12272     ;;
12273   esac
12274 elif test "$with_gnu_ld" = yes; then
12275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12276 $as_echo_n "checking for GNU ld... " >&6; }
12277 else
12278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12279 $as_echo_n "checking for non-GNU ld... " >&6; }
12280 fi
12281 if ${lt_cv_path_LD+:} false; then :
12282   $as_echo_n "(cached) " >&6
12283 else
12284   if test -z "$LD"; then
12285   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12286   for ac_dir in $PATH; do
12287     IFS="$lt_save_ifs"
12288     test -z "$ac_dir" && ac_dir=.
12289     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12290       lt_cv_path_LD="$ac_dir/$ac_prog"
12291       # Check to see if the program is GNU ld.  I'd rather use --version,
12292       # but apparently some variants of GNU ld only accept -v.
12293       # Break only if it was the GNU/non-GNU ld that we prefer.
12294       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12295       *GNU* | *'with BFD'*)
12296 	test "$with_gnu_ld" != no && break
12297 	;;
12298       *)
12299 	test "$with_gnu_ld" != yes && break
12300 	;;
12301       esac
12302     fi
12303   done
12304   IFS="$lt_save_ifs"
12305 else
12306   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12307 fi
12308 fi
12309 
12310 LD="$lt_cv_path_LD"
12311 if test -n "$LD"; then
12312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12313 $as_echo "$LD" >&6; }
12314 else
12315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12316 $as_echo "no" >&6; }
12317 fi
12318 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12320 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12321 if ${lt_cv_prog_gnu_ld+:} false; then :
12322   $as_echo_n "(cached) " >&6
12323 else
12324   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12325 case `$LD -v 2>&1 </dev/null` in
12326 *GNU* | *'with BFD'*)
12327   lt_cv_prog_gnu_ld=yes
12328   ;;
12329 *)
12330   lt_cv_prog_gnu_ld=no
12331   ;;
12332 esac
12333 fi
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12335 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12336 with_gnu_ld=$lt_cv_prog_gnu_ld
12337 
12338 
12339 
12340 
12341 
12342 
12343 
12344       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12345       # archiving commands below assume that GNU ld is being used.
12346       if test "$with_gnu_ld" = yes; then
12347         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12348         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12349 
12350         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12351         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12352 
12353         # If archive_cmds runs LD, not CC, wlarc should be empty
12354         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12355         #     investigate it a little bit more. (MM)
12356         wlarc='${wl}'
12357 
12358         # ancient GNU ld didn't support --whole-archive et. al.
12359         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12360 	  $GREP 'no-whole-archive' > /dev/null; then
12361           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12362         else
12363           whole_archive_flag_spec_CXX=
12364         fi
12365       else
12366         with_gnu_ld=no
12367         wlarc=
12368 
12369         # A generic and very simple default shared library creation
12370         # command for GNU C++ for the case where it uses the native
12371         # linker, instead of GNU ld.  If possible, this setting should
12372         # overridden to take advantage of the native linker features on
12373         # the platform it is being used on.
12374         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12375       fi
12376 
12377       # Commands to make compiler produce verbose output that lists
12378       # what "hidden" libraries, object files and flags are used when
12379       # linking a shared library.
12380       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12381 
12382     else
12383       GXX=no
12384       with_gnu_ld=no
12385       wlarc=
12386     fi
12387 
12388     # PORTME: fill in a description of your system's C++ link characteristics
12389     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12390 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12391     ld_shlibs_CXX=yes
12392     case $host_os in
12393       aix3*)
12394         # FIXME: insert proper C++ library support
12395         ld_shlibs_CXX=no
12396         ;;
12397       aix[4-9]*)
12398         if test "$host_cpu" = ia64; then
12399           # On IA64, the linker does run time linking by default, so we don't
12400           # have to do anything special.
12401           aix_use_runtimelinking=no
12402           exp_sym_flag='-Bexport'
12403           no_entry_flag=""
12404         else
12405           aix_use_runtimelinking=no
12406 
12407           # Test if we are trying to use run time linking or normal
12408           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12409           # need to do runtime linking.
12410           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12411 	    for ld_flag in $LDFLAGS; do
12412 	      case $ld_flag in
12413 	      *-brtl*)
12414 	        aix_use_runtimelinking=yes
12415 	        break
12416 	        ;;
12417 	      esac
12418 	    done
12419 	    ;;
12420           esac
12421 
12422           exp_sym_flag='-bexport'
12423           no_entry_flag='-bnoentry'
12424         fi
12425 
12426         # When large executables or shared objects are built, AIX ld can
12427         # have problems creating the table of contents.  If linking a library
12428         # or program results in "error TOC overflow" add -mminimal-toc to
12429         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12430         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12431 
12432         archive_cmds_CXX=''
12433         hardcode_direct_CXX=yes
12434         hardcode_direct_absolute_CXX=yes
12435         hardcode_libdir_separator_CXX=':'
12436         link_all_deplibs_CXX=yes
12437         file_list_spec_CXX='${wl}-f,'
12438 
12439         if test "$GXX" = yes; then
12440           case $host_os in aix4.[012]|aix4.[012].*)
12441           # We only want to do this on AIX 4.2 and lower, the check
12442           # below for broken collect2 doesn't work under 4.3+
12443 	  collect2name=`${CC} -print-prog-name=collect2`
12444 	  if test -f "$collect2name" &&
12445 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12446 	  then
12447 	    # We have reworked collect2
12448 	    :
12449 	  else
12450 	    # We have old collect2
12451 	    hardcode_direct_CXX=unsupported
12452 	    # It fails to find uninstalled libraries when the uninstalled
12453 	    # path is not listed in the libpath.  Setting hardcode_minus_L
12454 	    # to unsupported forces relinking
12455 	    hardcode_minus_L_CXX=yes
12456 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
12457 	    hardcode_libdir_separator_CXX=
12458 	  fi
12459           esac
12460           shared_flag='-shared'
12461 	  if test "$aix_use_runtimelinking" = yes; then
12462 	    shared_flag="$shared_flag "'${wl}-G'
12463 	  fi
12464         else
12465           # not using gcc
12466           if test "$host_cpu" = ia64; then
12467 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12468 	  # chokes on -Wl,-G. The following line is correct:
12469 	  shared_flag='-G'
12470           else
12471 	    if test "$aix_use_runtimelinking" = yes; then
12472 	      shared_flag='${wl}-G'
12473 	    else
12474 	      shared_flag='${wl}-bM:SRE'
12475 	    fi
12476           fi
12477         fi
12478 
12479         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12480         # It seems that -bexpall does not export symbols beginning with
12481         # underscore (_), so it is better to generate a list of symbols to
12482 	# export.
12483         always_export_symbols_CXX=yes
12484         if test "$aix_use_runtimelinking" = yes; then
12485           # Warning - without using the other runtime loading flags (-brtl),
12486           # -berok will link without error, but may produce a broken library.
12487           allow_undefined_flag_CXX='-berok'
12488           # Determine the default libpath from the value encoded in an empty
12489           # executable.
12490           if test "${lt_cv_aix_libpath+set}" = set; then
12491   aix_libpath=$lt_cv_aix_libpath
12492 else
12493   if ${lt_cv_aix_libpath__CXX+:} false; then :
12494   $as_echo_n "(cached) " >&6
12495 else
12496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12497 /* end confdefs.h.  */
12498 
12499 int
12500 main ()
12501 {
12502 
12503   ;
12504   return 0;
12505 }
12506 _ACEOF
12507 if ac_fn_cxx_try_link "$LINENO"; then :
12508   
12509   lt_aix_libpath_sed='
12510       /Import File Strings/,/^$/ {
12511 	  /^0/ {
12512 	      s/^0  *\([^ ]*\) *$/\1/
12513 	      p
12514 	  }
12515       }'
12516   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12517   # Check for a 64-bit object if we didn't find anything.
12518   if test -z "$lt_cv_aix_libpath__CXX"; then
12519     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12520   fi
12521 fi
12522 rm -f core conftest.err conftest.$ac_objext \
12523     conftest$ac_exeext conftest.$ac_ext
12524   if test -z "$lt_cv_aix_libpath__CXX"; then
12525     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12526   fi
12527   
12528 fi
12529 
12530   aix_libpath=$lt_cv_aix_libpath__CXX
12531 fi
12532 
12533           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12534 
12535           archive_expsym_cmds_CXX='$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"
12536         else
12537           if test "$host_cpu" = ia64; then
12538 	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12539 	    allow_undefined_flag_CXX="-z nodefs"
12540 	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12541           else
12542 	    # Determine the default libpath from the value encoded in an
12543 	    # empty executable.
12544 	    if test "${lt_cv_aix_libpath+set}" = set; then
12545   aix_libpath=$lt_cv_aix_libpath
12546 else
12547   if ${lt_cv_aix_libpath__CXX+:} false; then :
12548   $as_echo_n "(cached) " >&6
12549 else
12550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12551 /* end confdefs.h.  */
12552 
12553 int
12554 main ()
12555 {
12556 
12557   ;
12558   return 0;
12559 }
12560 _ACEOF
12561 if ac_fn_cxx_try_link "$LINENO"; then :
12562   
12563   lt_aix_libpath_sed='
12564       /Import File Strings/,/^$/ {
12565 	  /^0/ {
12566 	      s/^0  *\([^ ]*\) *$/\1/
12567 	      p
12568 	  }
12569       }'
12570   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12571   # Check for a 64-bit object if we didn't find anything.
12572   if test -z "$lt_cv_aix_libpath__CXX"; then
12573     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12574   fi
12575 fi
12576 rm -f core conftest.err conftest.$ac_objext \
12577     conftest$ac_exeext conftest.$ac_ext
12578   if test -z "$lt_cv_aix_libpath__CXX"; then
12579     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12580   fi
12581   
12582 fi
12583 
12584   aix_libpath=$lt_cv_aix_libpath__CXX
12585 fi
12586 
12587 	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12588 	    # Warning - without using the other run time loading flags,
12589 	    # -berok will link without error, but may produce a broken library.
12590 	    no_undefined_flag_CXX=' ${wl}-bernotok'
12591 	    allow_undefined_flag_CXX=' ${wl}-berok'
12592 	    if test "$with_gnu_ld" = yes; then
12593 	      # We only use this code for GNU lds that support --whole-archive.
12594 	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12595 	    else
12596 	      # Exported symbols can be pulled into shared objects from archives
12597 	      whole_archive_flag_spec_CXX='$convenience'
12598 	    fi
12599 	    archive_cmds_need_lc_CXX=yes
12600 	    # This is similar to how AIX traditionally builds its shared
12601 	    # libraries.
12602 	    archive_expsym_cmds_CXX="\$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'
12603           fi
12604         fi
12605         ;;
12606 
12607       beos*)
12608 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12609 	  allow_undefined_flag_CXX=unsupported
12610 	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12611 	  # support --undefined.  This deserves some investigation.  FIXME
12612 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12613 	else
12614 	  ld_shlibs_CXX=no
12615 	fi
12616 	;;
12617 
12618       chorus*)
12619         case $cc_basename in
12620           *)
12621 	  # FIXME: insert proper C++ library support
12622 	  ld_shlibs_CXX=no
12623 	  ;;
12624         esac
12625         ;;
12626 
12627       cygwin* | mingw* | pw32* | cegcc*)
12628 	case $GXX,$cc_basename in
12629 	,cl* | no,cl*)
12630 	  # Native MSVC
12631 	  # hardcode_libdir_flag_spec is actually meaningless, as there is
12632 	  # no search path for DLLs.
12633 	  hardcode_libdir_flag_spec_CXX=' '
12634 	  allow_undefined_flag_CXX=unsupported
12635 	  always_export_symbols_CXX=yes
12636 	  file_list_spec_CXX='@'
12637 	  # Tell ltmain to make .lib files, not .a files.
12638 	  libext=lib
12639 	  # Tell ltmain to make .dll files, not .so files.
12640 	  shrext_cmds=".dll"
12641 	  # FIXME: Setting linknames here is a bad hack.
12642 	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12643 	  archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12644 	      $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12645 	    else
12646 	      $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12647 	    fi~
12648 	    $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12649 	    linknames='
12650 	  # The linker will not automatically build a static lib if we build a DLL.
12651 	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12652 	  enable_shared_with_static_runtimes_CXX=yes
12653 	  # Don't use ranlib
12654 	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
12655 	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12656 	    lt_tool_outputfile="@TOOL_OUTPUT@"~
12657 	    case $lt_outputfile in
12658 	      *.exe|*.EXE) ;;
12659 	      *)
12660 		lt_outputfile="$lt_outputfile.exe"
12661 		lt_tool_outputfile="$lt_tool_outputfile.exe"
12662 		;;
12663 	    esac~
12664 	    func_to_tool_file "$lt_outputfile"~
12665 	    if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12666 	      $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12667 	      $RM "$lt_outputfile.manifest";
12668 	    fi'
12669 	  ;;
12670 	*)
12671 	  # g++
12672 	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12673 	  # as there is no search path for DLLs.
12674 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
12675 	  export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12676 	  allow_undefined_flag_CXX=unsupported
12677 	  always_export_symbols_CXX=no
12678 	  enable_shared_with_static_runtimes_CXX=yes
12679 
12680 	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12681 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12682 	    # If the export-symbols file already is a .def file (1st line
12683 	    # is EXPORTS), use it as is; otherwise, prepend...
12684 	    archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12685 	      cp $export_symbols $output_objdir/$soname.def;
12686 	    else
12687 	      echo EXPORTS > $output_objdir/$soname.def;
12688 	      cat $export_symbols >> $output_objdir/$soname.def;
12689 	    fi~
12690 	    $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12691 	  else
12692 	    ld_shlibs_CXX=no
12693 	  fi
12694 	  ;;
12695 	esac
12696 	;;
12697       darwin* | rhapsody*)
12698         
12699   
12700   archive_cmds_need_lc_CXX=no
12701   hardcode_direct_CXX=no
12702   hardcode_automatic_CXX=yes
12703   hardcode_shlibpath_var_CXX=unsupported
12704   if test "$lt_cv_ld_force_load" = "yes"; then
12705     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12706     
12707   else
12708     whole_archive_flag_spec_CXX=''
12709   fi
12710   link_all_deplibs_CXX=yes
12711   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12712   case $cc_basename in
12713      ifort*) _lt_dar_can_shared=yes ;;
12714      *) _lt_dar_can_shared=$GCC ;;
12715   esac
12716   if test "$_lt_dar_can_shared" = "yes"; then
12717     output_verbose_link_cmd=func_echo_all
12718     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12719     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12720     archive_expsym_cmds_CXX="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}"
12721     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12722        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12723       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12724       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12725     fi
12726 
12727   else
12728   ld_shlibs_CXX=no
12729   fi
12730 
12731 	;;
12732 
12733       dgux*)
12734         case $cc_basename in
12735           ec++*)
12736 	    # FIXME: insert proper C++ library support
12737 	    ld_shlibs_CXX=no
12738 	    ;;
12739           ghcx*)
12740 	    # Green Hills C++ Compiler
12741 	    # FIXME: insert proper C++ library support
12742 	    ld_shlibs_CXX=no
12743 	    ;;
12744           *)
12745 	    # FIXME: insert proper C++ library support
12746 	    ld_shlibs_CXX=no
12747 	    ;;
12748         esac
12749         ;;
12750 
12751       freebsd2.*)
12752         # C++ shared libraries reported to be fairly broken before
12753 	# switch to ELF
12754         ld_shlibs_CXX=no
12755         ;;
12756 
12757       freebsd-elf*)
12758         archive_cmds_need_lc_CXX=no
12759         ;;
12760 
12761       freebsd* | dragonfly*)
12762         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12763         # conventions
12764         ld_shlibs_CXX=yes
12765         ;;
12766 
12767       gnu*)
12768         ;;
12769 
12770       haiku*)
12771         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12772         link_all_deplibs_CXX=yes
12773         ;;
12774 
12775       hpux9*)
12776         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12777         hardcode_libdir_separator_CXX=:
12778         export_dynamic_flag_spec_CXX='${wl}-E'
12779         hardcode_direct_CXX=yes
12780         hardcode_minus_L_CXX=yes # Not in the search PATH,
12781 				             # but as the default
12782 				             # location of the library.
12783 
12784         case $cc_basename in
12785           CC*)
12786             # FIXME: insert proper C++ library support
12787             ld_shlibs_CXX=no
12788             ;;
12789           aCC*)
12790             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12791             # Commands to make compiler produce verbose output that lists
12792             # what "hidden" libraries, object files and flags are used when
12793             # linking a shared library.
12794             #
12795             # There doesn't appear to be a way to prevent this compiler from
12796             # explicitly linking system object files so we need to strip them
12797             # from the output so that they don't get included in the library
12798             # dependencies.
12799             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12800             ;;
12801           *)
12802             if test "$GXX" = yes; then
12803               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12804             else
12805               # FIXME: insert proper C++ library support
12806               ld_shlibs_CXX=no
12807             fi
12808             ;;
12809         esac
12810         ;;
12811 
12812       hpux10*|hpux11*)
12813         if test $with_gnu_ld = no; then
12814 	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12815 	  hardcode_libdir_separator_CXX=:
12816 
12817           case $host_cpu in
12818             hppa*64*|ia64*)
12819               ;;
12820             *)
12821 	      export_dynamic_flag_spec_CXX='${wl}-E'
12822               ;;
12823           esac
12824         fi
12825         case $host_cpu in
12826           hppa*64*|ia64*)
12827             hardcode_direct_CXX=no
12828             hardcode_shlibpath_var_CXX=no
12829             ;;
12830           *)
12831             hardcode_direct_CXX=yes
12832             hardcode_direct_absolute_CXX=yes
12833             hardcode_minus_L_CXX=yes # Not in the search PATH,
12834 					         # but as the default
12835 					         # location of the library.
12836             ;;
12837         esac
12838 
12839         case $cc_basename in
12840           CC*)
12841 	    # FIXME: insert proper C++ library support
12842 	    ld_shlibs_CXX=no
12843 	    ;;
12844           aCC*)
12845 	    case $host_cpu in
12846 	      hppa*64*)
12847 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12848 	        ;;
12849 	      ia64*)
12850 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12851 	        ;;
12852 	      *)
12853 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12854 	        ;;
12855 	    esac
12856 	    # Commands to make compiler produce verbose output that lists
12857 	    # what "hidden" libraries, object files and flags are used when
12858 	    # linking a shared library.
12859 	    #
12860 	    # There doesn't appear to be a way to prevent this compiler from
12861 	    # explicitly linking system object files so we need to strip them
12862 	    # from the output so that they don't get included in the library
12863 	    # dependencies.
12864 	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12865 	    ;;
12866           *)
12867 	    if test "$GXX" = yes; then
12868 	      if test $with_gnu_ld = no; then
12869 	        case $host_cpu in
12870 	          hppa*64*)
12871 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12872 	            ;;
12873 	          ia64*)
12874 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12875 	            ;;
12876 	          *)
12877 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12878 	            ;;
12879 	        esac
12880 	      fi
12881 	    else
12882 	      # FIXME: insert proper C++ library support
12883 	      ld_shlibs_CXX=no
12884 	    fi
12885 	    ;;
12886         esac
12887         ;;
12888 
12889       interix[3-9]*)
12890 	hardcode_direct_CXX=no
12891 	hardcode_shlibpath_var_CXX=no
12892 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12893 	export_dynamic_flag_spec_CXX='${wl}-E'
12894 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12895 	# Instead, shared libraries are loaded at an image base (0x10000000 by
12896 	# default) and relocated if they conflict, which is a slow very memory
12897 	# consuming and fragmenting process.  To avoid this, we pick a random,
12898 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12899 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12900 	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12901 	archive_expsym_cmds_CXX='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'
12902 	;;
12903       irix5* | irix6*)
12904         case $cc_basename in
12905           CC*)
12906 	    # SGI C++
12907 	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12908 
12909 	    # Archives containing C++ object files must be created using
12910 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12911 	    # necessary to make sure instantiated templates are included
12912 	    # in the archive.
12913 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12914 	    ;;
12915           *)
12916 	    if test "$GXX" = yes; then
12917 	      if test "$with_gnu_ld" = no; then
12918 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
12919 	      else
12920 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12921 	      fi
12922 	    fi
12923 	    link_all_deplibs_CXX=yes
12924 	    ;;
12925         esac
12926         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12927         hardcode_libdir_separator_CXX=:
12928         inherit_rpath_CXX=yes
12929         ;;
12930 
12931       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12932         case $cc_basename in
12933           KCC*)
12934 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
12935 
12936 	    # KCC will only create a shared library if the output file
12937 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
12938 	    # to its proper name (with version) after linking.
12939 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12940 	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12941 	    # Commands to make compiler produce verbose output that lists
12942 	    # what "hidden" libraries, object files and flags are used when
12943 	    # linking a shared library.
12944 	    #
12945 	    # There doesn't appear to be a way to prevent this compiler from
12946 	    # explicitly linking system object files so we need to strip them
12947 	    # from the output so that they don't get included in the library
12948 	    # dependencies.
12949 	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12950 
12951 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12952 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12953 
12954 	    # Archives containing C++ object files must be created using
12955 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12956 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12957 	    ;;
12958 	  icpc* | ecpc* )
12959 	    # Intel C++
12960 	    with_gnu_ld=yes
12961 	    # version 8.0 and above of icpc choke on multiply defined symbols
12962 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
12963 	    # earlier do not add the objects themselves.