Home | History | Annotate | Line # | Download | only in bfd
configure revision 1.12
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for bfd 2.35.50.
      4 #
      5 #
      6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      7 #
      8 #
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## -------------------- ##
     12 ## M4sh Initialization. ##
     13 ## -------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in #(
     26   *posix*) :
     27     set -o posix ;; #(
     28   *) :
     29      ;;
     30 esac
     31 fi
     32 
     33 
     34 as_nl='
     35 '
     36 export as_nl
     37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     41 # Prefer a ksh shell builtin over an external printf program on Solaris,
     42 # but without wasting forks for bash or zsh.
     43 if test -z "$BASH_VERSION$ZSH_VERSION" \
     44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     45   as_echo='print -r --'
     46   as_echo_n='print -rn --'
     47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     48   as_echo='printf %s\n'
     49   as_echo_n='printf %s'
     50 else
     51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     53     as_echo_n='/usr/ucb/echo -n'
     54   else
     55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     56     as_echo_n_body='eval
     57       arg=$1;
     58       case $arg in #(
     59       *"$as_nl"*)
     60 	expr "X$arg" : "X\\(.*\\)$as_nl";
     61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     62       esac;
     63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     64     '
     65     export as_echo_n_body
     66     as_echo_n='sh -c $as_echo_n_body as_echo'
     67   fi
     68   export as_echo_body
     69   as_echo='sh -c $as_echo_body as_echo'
     70 fi
     71 
     72 # The user is always right.
     73 if test "${PATH_SEPARATOR+set}" != set; then
     74   PATH_SEPARATOR=:
     75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     77       PATH_SEPARATOR=';'
     78   }
     79 fi
     80 
     81 
     82 # IFS
     83 # We need space, tab and new line, in precisely that order.  Quoting is
     84 # there to prevent editors from complaining about space-tab.
     85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     86 # splitting by setting IFS to empty value.)
     87 IFS=" ""	$as_nl"
     88 
     89 # Find who we are.  Look in the path if we contain no directory separator.
     90 as_myself=
     91 case $0 in #((
     92   *[\\/]* ) as_myself=$0 ;;
     93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     94 for as_dir in $PATH
     95 do
     96   IFS=$as_save_IFS
     97   test -z "$as_dir" && as_dir=.
     98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     99   done
    100 IFS=$as_save_IFS
    101 
    102      ;;
    103 esac
    104 # We did not find ourselves, most probably we were run as `sh COMMAND'
    105 # in which case we are not to be found in the path.
    106 if test "x$as_myself" = x; then
    107   as_myself=$0
    108 fi
    109 if test ! -f "$as_myself"; then
    110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    111   exit 1
    112 fi
    113 
    114 # Unset variables that we do not need and which cause bugs (e.g. in
    115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    116 # suppresses any "Segmentation fault" message there.  '((' could
    117 # trigger a bug in pdksh 5.2.14.
    118 for as_var in BASH_ENV ENV MAIL MAILPATH
    119 do eval test x\${$as_var+set} = xset \
    120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    121 done
    122 PS1='$ '
    123 PS2='> '
    124 PS4='+ '
    125 
    126 # NLS nuisances.
    127 LC_ALL=C
    128 export LC_ALL
    129 LANGUAGE=C
    130 export LANGUAGE
    131 
    132 # CDPATH.
    133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    134 
    135 # Use a proper internal environment variable to ensure we don't fall
    136   # into an infinite loop, continuously re-executing ourselves.
    137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    138     _as_can_reexec=no; export _as_can_reexec;
    139     # We cannot yet assume a decent shell, so we have to provide a
    140 # neutralization value for shells without unset; and this also
    141 # works around shells that cannot unset nonexistent variables.
    142 # Preserve -v and -x to the replacement shell.
    143 BASH_ENV=/dev/null
    144 ENV=/dev/null
    145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    146 case $- in # ((((
    147   *v*x* | *x*v* ) as_opts=-vx ;;
    148   *v* ) as_opts=-v ;;
    149   *x* ) as_opts=-x ;;
    150   * ) as_opts= ;;
    151 esac
    152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    153 # Admittedly, this is quite paranoid, since all the known shells bail
    154 # out after a failed `exec'.
    155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    156 as_fn_exit 255
    157   fi
    158   # We don't want this to propagate to other subprocesses.
    159           { _as_can_reexec=; unset _as_can_reexec;}
    160 if test "x$CONFIG_SHELL" = x; then
    161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    162   emulate sh
    163   NULLCMD=:
    164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    165   # is contrary to our usage.  Disable this feature.
    166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    167   setopt NO_GLOB_SUBST
    168 else
    169   case \`(set -o) 2>/dev/null\` in #(
    170   *posix*) :
    171     set -o posix ;; #(
    172   *) :
    173      ;;
    174 esac
    175 fi
    176 "
    177   as_required="as_fn_return () { (exit \$1); }
    178 as_fn_success () { as_fn_return 0; }
    179 as_fn_failure () { as_fn_return 1; }
    180 as_fn_ret_success () { return 0; }
    181 as_fn_ret_failure () { return 1; }
    182 
    183 exitcode=0
    184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    189 
    190 else
    191   exitcode=1; echo positional parameters were not saved.
    192 fi
    193 test x\$exitcode = x0 || exit 1
    194 test -x / || exit 1"
    195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    199 test \$(( 1 + 1 )) = 2 || exit 1
    200 
    201   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    202     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     PATH=/empty FPATH=/empty; export PATH FPATH
    206     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    207       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    208   if (eval "$as_required") 2>/dev/null; then :
    209   as_have_required=yes
    210 else
    211   as_have_required=no
    212 fi
    213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    214 
    215 else
    216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    217 as_found=false
    218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    219 do
    220   IFS=$as_save_IFS
    221   test -z "$as_dir" && as_dir=.
    222   as_found=:
    223   case $as_dir in #(
    224 	 /*)
    225 	   for as_base in sh bash ksh sh5; do
    226 	     # Try only shells that exist, to save several forks.
    227 	     as_shell=$as_dir/$as_base
    228 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    229 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    230   CONFIG_SHELL=$as_shell as_have_required=yes
    231 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   break 2
    233 fi
    234 fi
    235 	   done;;
    236        esac
    237   as_found=false
    238 done
    239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    241   CONFIG_SHELL=$SHELL as_have_required=yes
    242 fi; }
    243 IFS=$as_save_IFS
    244 
    245 
    246       if test "x$CONFIG_SHELL" != x; then :
    247   export CONFIG_SHELL
    248              # We cannot yet assume a decent shell, so we have to provide a
    249 # neutralization value for shells without unset; and this also
    250 # works around shells that cannot unset nonexistent variables.
    251 # Preserve -v and -x to the replacement shell.
    252 BASH_ENV=/dev/null
    253 ENV=/dev/null
    254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    255 case $- in # ((((
    256   *v*x* | *x*v* ) as_opts=-vx ;;
    257   *v* ) as_opts=-v ;;
    258   *x* ) as_opts=-x ;;
    259   * ) as_opts= ;;
    260 esac
    261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    262 # Admittedly, this is quite paranoid, since all the known shells bail
    263 # out after a failed `exec'.
    264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    265 exit 255
    266 fi
    267 
    268     if test x$as_have_required = xno; then :
    269   $as_echo "$0: This script requires a shell more modern than all"
    270   $as_echo "$0: the shells that I found on your system."
    271   if test x${ZSH_VERSION+set} = xset ; then
    272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    274   else
    275     $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system,
    276 $0: including any error possibly output before this
    277 $0: message. Then install a modern shell, or manually run
    278 $0: the script under such a shell if you do have one."
    279   fi
    280   exit 1
    281 fi
    282 fi
    283 fi
    284 SHELL=${CONFIG_SHELL-/bin/sh}
    285 export SHELL
    286 # Unset more variables known to interfere with behavior of common tools.
    287 CLICOLOR_FORCE= GREP_OPTIONS=
    288 unset CLICOLOR_FORCE GREP_OPTIONS
    289 
    290 ## --------------------- ##
    291 ## M4sh Shell Functions. ##
    292 ## --------------------- ##
    293 # as_fn_unset VAR
    294 # ---------------
    295 # Portably unset VAR.
    296 as_fn_unset ()
    297 {
    298   { eval $1=; unset $1;}
    299 }
    300 as_unset=as_fn_unset
    301 
    302 # as_fn_set_status STATUS
    303 # -----------------------
    304 # Set $? to STATUS, without forking.
    305 as_fn_set_status ()
    306 {
    307   return $1
    308 } # as_fn_set_status
    309 
    310 # as_fn_exit STATUS
    311 # -----------------
    312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    313 as_fn_exit ()
    314 {
    315   set +e
    316   as_fn_set_status $1
    317   exit $1
    318 } # as_fn_exit
    319 
    320 # as_fn_mkdir_p
    321 # -------------
    322 # Create "$as_dir" as a directory, including parents if necessary.
    323 as_fn_mkdir_p ()
    324 {
    325 
    326   case $as_dir in #(
    327   -*) as_dir=./$as_dir;;
    328   esac
    329   test -d "$as_dir" || eval $as_mkdir_p || {
    330     as_dirs=
    331     while :; do
    332       case $as_dir in #(
    333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    334       *) as_qdir=$as_dir;;
    335       esac
    336       as_dirs="'$as_qdir' $as_dirs"
    337       as_dir=`$as_dirname -- "$as_dir" ||
    338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    339 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    340 	 X"$as_dir" : 'X\(//\)$' \| \
    341 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    342 $as_echo X"$as_dir" |
    343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)[^/].*/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)$/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\).*/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  s/.*/./; q'`
    360       test -d "$as_dir" && break
    361     done
    362     test -z "$as_dirs" || eval "mkdir $as_dirs"
    363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    364 
    365 
    366 } # as_fn_mkdir_p
    367 
    368 # as_fn_executable_p FILE
    369 # -----------------------
    370 # Test if FILE is an executable regular file.
    371 as_fn_executable_p ()
    372 {
    373   test -f "$1" && test -x "$1"
    374 } # as_fn_executable_p
    375 # as_fn_append VAR VALUE
    376 # ----------------------
    377 # Append the text in VALUE to the end of the definition contained in VAR. Take
    378 # advantage of any shell optimizations that allow amortized linear growth over
    379 # repeated appends, instead of the typical quadratic growth present in naive
    380 # implementations.
    381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    382   eval 'as_fn_append ()
    383   {
    384     eval $1+=\$2
    385   }'
    386 else
    387   as_fn_append ()
    388   {
    389     eval $1=\$$1\$2
    390   }
    391 fi # as_fn_append
    392 
    393 # as_fn_arith ARG...
    394 # ------------------
    395 # Perform arithmetic evaluation on the ARGs, and store the result in the
    396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    397 # must be portable across $(()) and expr.
    398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    399   eval 'as_fn_arith ()
    400   {
    401     as_val=$(( $* ))
    402   }'
    403 else
    404   as_fn_arith ()
    405   {
    406     as_val=`expr "$@" || test $? -eq 1`
    407   }
    408 fi # as_fn_arith
    409 
    410 
    411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    412 # ----------------------------------------
    413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    415 # script with STATUS, using 1 if that was 0.
    416 as_fn_error ()
    417 {
    418   as_status=$1; test $as_status -eq 0 && as_status=1
    419   if test "$4"; then
    420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    422   fi
    423   $as_echo "$as_me: error: $2" >&2
    424   as_fn_exit $as_status
    425 } # as_fn_error
    426 
    427 if expr a : '\(a\)' >/dev/null 2>&1 &&
    428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    429   as_expr=expr
    430 else
    431   as_expr=false
    432 fi
    433 
    434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    435   as_basename=basename
    436 else
    437   as_basename=false
    438 fi
    439 
    440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    441   as_dirname=dirname
    442 else
    443   as_dirname=false
    444 fi
    445 
    446 as_me=`$as_basename -- "$0" ||
    447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    448 	 X"$0" : 'X\(//\)$' \| \
    449 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    450 $as_echo X/"$0" |
    451     sed '/^.*\/\([^/][^/]*\)\/*$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\/\)$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\).*/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  s/.*/./; q'`
    464 
    465 # Avoid depending upon Character Ranges.
    466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    469 as_cr_digits='0123456789'
    470 as_cr_alnum=$as_cr_Letters$as_cr_digits
    471 
    472 
    473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    477   as_me=bfd_$as_me # XXX don't overwrite our caller's configure.lineno
    478   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    479   sed -n '
    480     p
    481     /[$]LINENO/=
    482   ' <$as_myself |
    483     sed '
    484       s/[$]LINENO.*/&-/
    485       t lineno
    486       b
    487       :lineno
    488       N
    489       :loop
    490       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    491       t loop
    492       s/-\n.*//
    493     ' >$as_me.lineno &&
    494   chmod +x "$as_me.lineno" ||
    495     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    496 
    497   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    498   # already done that, so ensure we don't try to do so again and fall
    499   # in an infinite loop.  This has already happened in practice.
    500   _as_can_reexec=no; export _as_can_reexec
    501   # Don't try to exec as it changes $[0], causing all sort of problems
    502   # (the dirname of $[0] is not the place where we might find the
    503   # original and so on.  Autoconf is especially sensitive to this).
    504   . "./$as_me.lineno"
    505   # Exit status is that of the last command.
    506   exit
    507 }
    508 
    509 ECHO_C= ECHO_N= ECHO_T=
    510 case `echo -n x` in #(((((
    511 -n*)
    512   case `echo 'xy\c'` in
    513   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    514   xy)  ECHO_C='\c';;
    515   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    516        ECHO_T='	';;
    517   esac;;
    518 *)
    519   ECHO_N='-n';;
    520 esac
    521 
    522 rm -f conf$$ conf$$.exe conf$$.file
    523 if test -d conf$$.dir; then
    524   rm -f conf$$.dir/conf$$.file
    525 else
    526   rm -f conf$$.dir
    527   mkdir conf$$.dir 2>/dev/null
    528 fi
    529 if (echo >conf$$.file) 2>/dev/null; then
    530   if ln -s conf$$.file conf$$ 2>/dev/null; then
    531     as_ln_s='ln -s'
    532     # ... but there are two gotchas:
    533     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    534     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    535     # In both cases, we have to default to `cp -pR'.
    536     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    537       as_ln_s='cp -pR'
    538   elif ln conf$$.file conf$$ 2>/dev/null; then
    539     as_ln_s=ln
    540   else
    541     as_ln_s='cp -pR'
    542   fi
    543 else
    544   as_ln_s='cp -pR'
    545 fi
    546 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    547 rmdir conf$$.dir 2>/dev/null
    548 
    549 if mkdir -p . 2>/dev/null; then
    550   as_mkdir_p='mkdir -p "$as_dir"'
    551 else
    552   test -d ./-p && rmdir ./-p
    553   as_mkdir_p=false
    554 fi
    555 
    556 as_test_x='test -x'
    557 as_executable_p=as_fn_executable_p
    558 
    559 # Sed expression to map a string onto a valid CPP name.
    560 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    561 
    562 # Sed expression to map a string onto a valid variable name.
    563 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 SHELL=${CONFIG_SHELL-/bin/sh}
    566 
    567 
    568 test -n "$DJDIR" || exec 7<&0 </dev/null
    569 exec 6>&1
    570 
    571 # Name of the host.
    572 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    573 # so uname gets run too.
    574 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    575 
    576 #
    577 # Initializations.
    578 #
    579 ac_default_prefix=/usr/local
    580 ac_clean_files=
    581 ac_config_libobj_dir=.
    582 LIBOBJS=
    583 cross_compiling=no
    584 subdirs=
    585 MFLAGS=
    586 MAKEFLAGS=
    587 
    588 # Identity of this package.
    589 PACKAGE_NAME='bfd'
    590 PACKAGE_TARNAME='bfd'
    591 PACKAGE_VERSION='2.35.50'
    592 PACKAGE_STRING='bfd 2.35.50'
    593 PACKAGE_BUGREPORT=''
    594 PACKAGE_URL=''
    595 
    596 ac_unique_file="libbfd.c"
    597 # Factoring default headers for most tests.
    598 ac_includes_default="\
    599 #include <stdio.h>
    600 #ifdef HAVE_SYS_TYPES_H
    601 # include <sys/types.h>
    602 #endif
    603 #ifdef HAVE_SYS_STAT_H
    604 # include <sys/stat.h>
    605 #endif
    606 #ifdef STDC_HEADERS
    607 # include <stdlib.h>
    608 # include <stddef.h>
    609 #else
    610 # ifdef HAVE_STDLIB_H
    611 #  include <stdlib.h>
    612 # endif
    613 #endif
    614 #ifdef HAVE_STRING_H
    615 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    616 #  include <memory.h>
    617 # endif
    618 # include <string.h>
    619 #endif
    620 #ifdef HAVE_STRINGS_H
    621 # include <strings.h>
    622 #endif
    623 #ifdef HAVE_INTTYPES_H
    624 # include <inttypes.h>
    625 #endif
    626 #ifdef HAVE_STDINT_H
    627 # include <stdint.h>
    628 #endif
    629 #ifdef HAVE_UNISTD_H
    630 # include <unistd.h>
    631 #endif"
    632 
    633 ac_header_list=
    634 ac_subst_vars='am__EXEEXT_FALSE
    635 am__EXEEXT_TRUE
    636 LTLIBOBJS
    637 LIBOBJS
    638 bfd_ufile_ptr
    639 bfd_file_ptr
    640 lt_cv_dlopen_libs
    641 supports_plugins
    642 COREFLAG
    643 COREFILE
    644 havevecs
    645 tdefaults
    646 bfd_default_target_size
    647 bfd_machines
    648 bfd_backends
    649 all_backends
    650 bfd64_libs
    651 wordsize
    652 TDEFINES
    653 SHARED_LIBADD
    654 SHARED_LDFLAGS
    655 LIBM
    656 zlibinc
    657 zlibdir
    658 EXEEXT_FOR_BUILD
    659 CC_FOR_BUILD
    660 BFD_HOSTPTR_T
    661 BFD_HOST_U_64_BIT
    662 BFD_HOST_64_BIT
    663 BFD_HOST_64_BIT_DEFINED
    664 BFD_HOST_64BIT_LONG_LONG
    665 BFD_HOST_64BIT_LONG
    666 HDEFINES
    667 MSGMERGE
    668 MSGFMT
    669 MKINSTALLDIRS
    670 CATOBJEXT
    671 GENCAT
    672 INSTOBJEXT
    673 DATADIRNAME
    674 CATALOGS
    675 POSUB
    676 GMSGFMT
    677 XGETTEXT
    678 INCINTL
    679 LIBINTL_DEP
    680 LIBINTL
    681 USE_NLS
    682 bfdincludedir
    683 bfdlibdir
    684 target_noncanonical
    685 host_noncanonical
    686 INSTALL_LIBBFD_FALSE
    687 INSTALL_LIBBFD_TRUE
    688 GENINSRC_NEVER_FALSE
    689 GENINSRC_NEVER_TRUE
    690 MAINT
    691 MAINTAINER_MODE_FALSE
    692 MAINTAINER_MODE_TRUE
    693 WARN_WRITE_STRINGS
    694 NO_WERROR
    695 WARN_CFLAGS_FOR_BUILD
    696 WARN_CFLAGS
    697 REPORT_BUGS_TEXI
    698 REPORT_BUGS_TO
    699 PKGVERSION
    700 DEBUGDIR
    701 PLUGINS_FALSE
    702 PLUGINS_TRUE
    703 LARGEFILE_CPPFLAGS
    704 OTOOL64
    705 OTOOL
    706 LIPO
    707 NMEDIT
    708 DSYMUTIL
    709 OBJDUMP
    710 LN_S
    711 NM
    712 ac_ct_DUMPBIN
    713 DUMPBIN
    714 LD
    715 FGREP
    716 SED
    717 LIBTOOL
    718 EGREP
    719 GREP
    720 CPP
    721 RANLIB
    722 AR
    723 AM_BACKSLASH
    724 AM_DEFAULT_VERBOSITY
    725 AM_DEFAULT_V
    726 AM_V
    727 am__fastdepCC_FALSE
    728 am__fastdepCC_TRUE
    729 CCDEPMODE
    730 am__nodep
    731 AMDEPBACKSLASH
    732 AMDEP_FALSE
    733 AMDEP_TRUE
    734 am__quote
    735 am__include
    736 DEPDIR
    737 am__untar
    738 am__tar
    739 AMTAR
    740 am__leading_dot
    741 SET_MAKE
    742 AWK
    743 mkdir_p
    744 MKDIR_P
    745 INSTALL_STRIP_PROGRAM
    746 STRIP
    747 install_sh
    748 MAKEINFO
    749 AUTOHEADER
    750 AUTOMAKE
    751 AUTOCONF
    752 ACLOCAL
    753 VERSION
    754 PACKAGE
    755 CYGPATH_W
    756 am__isrc
    757 INSTALL_DATA
    758 INSTALL_SCRIPT
    759 INSTALL_PROGRAM
    760 OBJEXT
    761 EXEEXT
    762 ac_ct_CC
    763 CPPFLAGS
    764 LDFLAGS
    765 CFLAGS
    766 CC
    767 target_os
    768 target_vendor
    769 target_cpu
    770 target
    771 host_os
    772 host_vendor
    773 host_cpu
    774 host
    775 build_os
    776 build_vendor
    777 build_cpu
    778 build
    779 target_alias
    780 host_alias
    781 build_alias
    782 LIBS
    783 ECHO_T
    784 ECHO_N
    785 ECHO_C
    786 DEFS
    787 mandir
    788 localedir
    789 libdir
    790 psdir
    791 pdfdir
    792 dvidir
    793 htmldir
    794 infodir
    795 docdir
    796 oldincludedir
    797 includedir
    798 localstatedir
    799 sharedstatedir
    800 sysconfdir
    801 datadir
    802 datarootdir
    803 libexecdir
    804 sbindir
    805 bindir
    806 program_transform_name
    807 prefix
    808 exec_prefix
    809 PACKAGE_URL
    810 PACKAGE_BUGREPORT
    811 PACKAGE_STRING
    812 PACKAGE_VERSION
    813 PACKAGE_TARNAME
    814 PACKAGE_NAME
    815 PATH_SEPARATOR
    816 SHELL'
    817 ac_subst_files=''
    818 ac_user_opts='
    819 enable_option_checking
    820 enable_dependency_tracking
    821 enable_silent_rules
    822 enable_shared
    823 enable_static
    824 with_pic
    825 enable_fast_install
    826 with_gnu_ld
    827 enable_libtool_lock
    828 enable_plugins
    829 enable_largefile
    830 enable_64_bit_bfd
    831 enable_targets
    832 enable_64_bit_archive
    833 with_mmap
    834 enable_secureplt
    835 enable_separate_code
    836 enable_leading_mingw64_underscores
    837 with_separate_debug_dir
    838 with_pkgversion
    839 with_bugurl
    840 enable_werror
    841 enable_build_warnings
    842 enable_maintainer_mode
    843 enable_install_libbfd
    844 enable_nls
    845 with_system_zlib
    846 '
    847       ac_precious_vars='build_alias
    848 host_alias
    849 target_alias
    850 CC
    851 CFLAGS
    852 LDFLAGS
    853 LIBS
    854 CPPFLAGS
    855 CPP'
    856 
    857 
    858 # Initialize some variables set by options.
    859 ac_init_help=
    860 ac_init_version=false
    861 ac_unrecognized_opts=
    862 ac_unrecognized_sep=
    863 # The variables have the same names as the options, with
    864 # dashes changed to underlines.
    865 cache_file=/dev/null
    866 exec_prefix=NONE
    867 no_create=
    868 no_recursion=
    869 prefix=NONE
    870 program_prefix=NONE
    871 program_suffix=NONE
    872 program_transform_name=s,x,x,
    873 silent=
    874 site=
    875 srcdir=
    876 verbose=
    877 x_includes=NONE
    878 x_libraries=NONE
    879 
    880 # Installation directory options.
    881 # These are left unexpanded so users can "make install exec_prefix=/foo"
    882 # and all the variables that are supposed to be based on exec_prefix
    883 # by default will actually change.
    884 # Use braces instead of parens because sh, perl, etc. also accept them.
    885 # (The list follows the same order as the GNU Coding Standards.)
    886 bindir='${exec_prefix}/bin'
    887 sbindir='${exec_prefix}/sbin'
    888 libexecdir='${exec_prefix}/libexec'
    889 datarootdir='${prefix}/share'
    890 datadir='${datarootdir}'
    891 sysconfdir='${prefix}/etc'
    892 sharedstatedir='${prefix}/com'
    893 localstatedir='${prefix}/var'
    894 includedir='${prefix}/include'
    895 oldincludedir='/usr/include'
    896 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    897 infodir='${datarootdir}/info'
    898 htmldir='${docdir}'
    899 dvidir='${docdir}'
    900 pdfdir='${docdir}'
    901 psdir='${docdir}'
    902 libdir='${exec_prefix}/lib'
    903 localedir='${datarootdir}/locale'
    904 mandir='${datarootdir}/man'
    905 
    906 ac_prev=
    907 ac_dashdash=
    908 for ac_option
    909 do
    910   # If the previous option needs an argument, assign it.
    911   if test -n "$ac_prev"; then
    912     eval $ac_prev=\$ac_option
    913     ac_prev=
    914     continue
    915   fi
    916 
    917   case $ac_option in
    918   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    919   *=)   ac_optarg= ;;
    920   *)    ac_optarg=yes ;;
    921   esac
    922 
    923   # Accept the important Cygnus configure options, so we can diagnose typos.
    924 
    925   case $ac_dashdash$ac_option in
    926   --)
    927     ac_dashdash=yes ;;
    928 
    929   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    930     ac_prev=bindir ;;
    931   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    932     bindir=$ac_optarg ;;
    933 
    934   -build | --build | --buil | --bui | --bu)
    935     ac_prev=build_alias ;;
    936   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    937     build_alias=$ac_optarg ;;
    938 
    939   -cache-file | --cache-file | --cache-fil | --cache-fi \
    940   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    941     ac_prev=cache_file ;;
    942   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    943   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    944     cache_file=$ac_optarg ;;
    945 
    946   --config-cache | -C)
    947     cache_file=config.cache ;;
    948 
    949   -datadir | --datadir | --datadi | --datad)
    950     ac_prev=datadir ;;
    951   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    952     datadir=$ac_optarg ;;
    953 
    954   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    955   | --dataroo | --dataro | --datar)
    956     ac_prev=datarootdir ;;
    957   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    958   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    959     datarootdir=$ac_optarg ;;
    960 
    961   -disable-* | --disable-*)
    962     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    963     # Reject names that are not valid shell variable names.
    964     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    965       as_fn_error $? "invalid feature name: $ac_useropt"
    966     ac_useropt_orig=$ac_useropt
    967     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    968     case $ac_user_opts in
    969       *"
    970 "enable_$ac_useropt"
    971 "*) ;;
    972       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    973 	 ac_unrecognized_sep=', ';;
    974     esac
    975     eval enable_$ac_useropt=no ;;
    976 
    977   -docdir | --docdir | --docdi | --doc | --do)
    978     ac_prev=docdir ;;
    979   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    980     docdir=$ac_optarg ;;
    981 
    982   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    983     ac_prev=dvidir ;;
    984   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    985     dvidir=$ac_optarg ;;
    986 
    987   -enable-* | --enable-*)
    988     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    989     # Reject names that are not valid shell variable names.
    990     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    991       as_fn_error $? "invalid feature name: $ac_useropt"
    992     ac_useropt_orig=$ac_useropt
    993     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    994     case $ac_user_opts in
    995       *"
    996 "enable_$ac_useropt"
    997 "*) ;;
    998       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    999 	 ac_unrecognized_sep=', ';;
   1000     esac
   1001     eval enable_$ac_useropt=\$ac_optarg ;;
   1002 
   1003   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1004   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1005   | --exec | --exe | --ex)
   1006     ac_prev=exec_prefix ;;
   1007   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1008   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1009   | --exec=* | --exe=* | --ex=*)
   1010     exec_prefix=$ac_optarg ;;
   1011 
   1012   -gas | --gas | --ga | --g)
   1013     # Obsolete; use --with-gas.
   1014     with_gas=yes ;;
   1015 
   1016   -help | --help | --hel | --he | -h)
   1017     ac_init_help=long ;;
   1018   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1019     ac_init_help=recursive ;;
   1020   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1021     ac_init_help=short ;;
   1022 
   1023   -host | --host | --hos | --ho)
   1024     ac_prev=host_alias ;;
   1025   -host=* | --host=* | --hos=* | --ho=*)
   1026     host_alias=$ac_optarg ;;
   1027 
   1028   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1029     ac_prev=htmldir ;;
   1030   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1031   | --ht=*)
   1032     htmldir=$ac_optarg ;;
   1033 
   1034   -includedir | --includedir | --includedi | --included | --include \
   1035   | --includ | --inclu | --incl | --inc)
   1036     ac_prev=includedir ;;
   1037   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1038   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1039     includedir=$ac_optarg ;;
   1040 
   1041   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1042     ac_prev=infodir ;;
   1043   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1044     infodir=$ac_optarg ;;
   1045 
   1046   -libdir | --libdir | --libdi | --libd)
   1047     ac_prev=libdir ;;
   1048   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1049     libdir=$ac_optarg ;;
   1050 
   1051   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1052   | --libexe | --libex | --libe)
   1053     ac_prev=libexecdir ;;
   1054   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1055   | --libexe=* | --libex=* | --libe=*)
   1056     libexecdir=$ac_optarg ;;
   1057 
   1058   -localedir | --localedir | --localedi | --localed | --locale)
   1059     ac_prev=localedir ;;
   1060   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1061     localedir=$ac_optarg ;;
   1062 
   1063   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1064   | --localstate | --localstat | --localsta | --localst | --locals)
   1065     ac_prev=localstatedir ;;
   1066   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1067   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1068     localstatedir=$ac_optarg ;;
   1069 
   1070   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1071     ac_prev=mandir ;;
   1072   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1073     mandir=$ac_optarg ;;
   1074 
   1075   -nfp | --nfp | --nf)
   1076     # Obsolete; use --without-fp.
   1077     with_fp=no ;;
   1078 
   1079   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1080   | --no-cr | --no-c | -n)
   1081     no_create=yes ;;
   1082 
   1083   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1084   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1085     no_recursion=yes ;;
   1086 
   1087   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1088   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1089   | --oldin | --oldi | --old | --ol | --o)
   1090     ac_prev=oldincludedir ;;
   1091   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1092   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1093   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1094     oldincludedir=$ac_optarg ;;
   1095 
   1096   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1097     ac_prev=prefix ;;
   1098   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1099     prefix=$ac_optarg ;;
   1100 
   1101   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1102   | --program-pre | --program-pr | --program-p)
   1103     ac_prev=program_prefix ;;
   1104   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1105   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1106     program_prefix=$ac_optarg ;;
   1107 
   1108   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1109   | --program-suf | --program-su | --program-s)
   1110     ac_prev=program_suffix ;;
   1111   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1112   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1113     program_suffix=$ac_optarg ;;
   1114 
   1115   -program-transform-name | --program-transform-name \
   1116   | --program-transform-nam | --program-transform-na \
   1117   | --program-transform-n | --program-transform- \
   1118   | --program-transform | --program-transfor \
   1119   | --program-transfo | --program-transf \
   1120   | --program-trans | --program-tran \
   1121   | --progr-tra | --program-tr | --program-t)
   1122     ac_prev=program_transform_name ;;
   1123   -program-transform-name=* | --program-transform-name=* \
   1124   | --program-transform-nam=* | --program-transform-na=* \
   1125   | --program-transform-n=* | --program-transform-=* \
   1126   | --program-transform=* | --program-transfor=* \
   1127   | --program-transfo=* | --program-transf=* \
   1128   | --program-trans=* | --program-tran=* \
   1129   | --progr-tra=* | --program-tr=* | --program-t=*)
   1130     program_transform_name=$ac_optarg ;;
   1131 
   1132   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1133     ac_prev=pdfdir ;;
   1134   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1135     pdfdir=$ac_optarg ;;
   1136 
   1137   -psdir | --psdir | --psdi | --psd | --ps)
   1138     ac_prev=psdir ;;
   1139   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1140     psdir=$ac_optarg ;;
   1141 
   1142   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1143   | -silent | --silent | --silen | --sile | --sil)
   1144     silent=yes ;;
   1145 
   1146   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1147     ac_prev=sbindir ;;
   1148   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1149   | --sbi=* | --sb=*)
   1150     sbindir=$ac_optarg ;;
   1151 
   1152   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1153   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1154   | --sharedst | --shareds | --shared | --share | --shar \
   1155   | --sha | --sh)
   1156     ac_prev=sharedstatedir ;;
   1157   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1158   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1159   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1160   | --sha=* | --sh=*)
   1161     sharedstatedir=$ac_optarg ;;
   1162 
   1163   -site | --site | --sit)
   1164     ac_prev=site ;;
   1165   -site=* | --site=* | --sit=*)
   1166     site=$ac_optarg ;;
   1167 
   1168   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1169     ac_prev=srcdir ;;
   1170   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1171     srcdir=$ac_optarg ;;
   1172 
   1173   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1174   | --syscon | --sysco | --sysc | --sys | --sy)
   1175     ac_prev=sysconfdir ;;
   1176   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1177   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1178     sysconfdir=$ac_optarg ;;
   1179 
   1180   -target | --target | --targe | --targ | --tar | --ta | --t)
   1181     ac_prev=target_alias ;;
   1182   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1183     target_alias=$ac_optarg ;;
   1184 
   1185   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1186     verbose=yes ;;
   1187 
   1188   -version | --version | --versio | --versi | --vers | -V)
   1189     ac_init_version=: ;;
   1190 
   1191   -with-* | --with-*)
   1192     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1193     # Reject names that are not valid shell variable names.
   1194     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1195       as_fn_error $? "invalid package name: $ac_useropt"
   1196     ac_useropt_orig=$ac_useropt
   1197     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1198     case $ac_user_opts in
   1199       *"
   1200 "with_$ac_useropt"
   1201 "*) ;;
   1202       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1203 	 ac_unrecognized_sep=', ';;
   1204     esac
   1205     eval with_$ac_useropt=\$ac_optarg ;;
   1206 
   1207   -without-* | --without-*)
   1208     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1209     # Reject names that are not valid shell variable names.
   1210     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1211       as_fn_error $? "invalid package name: $ac_useropt"
   1212     ac_useropt_orig=$ac_useropt
   1213     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1214     case $ac_user_opts in
   1215       *"
   1216 "with_$ac_useropt"
   1217 "*) ;;
   1218       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1219 	 ac_unrecognized_sep=', ';;
   1220     esac
   1221     eval with_$ac_useropt=no ;;
   1222 
   1223   --x)
   1224     # Obsolete; use --with-x.
   1225     with_x=yes ;;
   1226 
   1227   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1228   | --x-incl | --x-inc | --x-in | --x-i)
   1229     ac_prev=x_includes ;;
   1230   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1231   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1232     x_includes=$ac_optarg ;;
   1233 
   1234   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1235   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1236     ac_prev=x_libraries ;;
   1237   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1238   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1239     x_libraries=$ac_optarg ;;
   1240 
   1241   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1242 Try \`$0 --help' for more information"
   1243     ;;
   1244 
   1245   *=*)
   1246     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1247     # Reject names that are not valid shell variable names.
   1248     case $ac_envvar in #(
   1249       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1250       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1251     esac
   1252     eval $ac_envvar=\$ac_optarg
   1253     export $ac_envvar ;;
   1254 
   1255   *)
   1256     # FIXME: should be removed in autoconf 3.0.
   1257     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1258     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1259       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1260     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1261     ;;
   1262 
   1263   esac
   1264 done
   1265 
   1266 if test -n "$ac_prev"; then
   1267   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1268   as_fn_error $? "missing argument to $ac_option"
   1269 fi
   1270 
   1271 if test -n "$ac_unrecognized_opts"; then
   1272   case $enable_option_checking in
   1273     no) ;;
   1274     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1275     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1276   esac
   1277 fi
   1278 
   1279 # Check all directory arguments for consistency.
   1280 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1281 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1282 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1283 		libdir localedir mandir
   1284 do
   1285   eval ac_val=\$$ac_var
   1286   # Remove trailing slashes.
   1287   case $ac_val in
   1288     */ )
   1289       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1290       eval $ac_var=\$ac_val;;
   1291   esac
   1292   # Be sure to have absolute directory names.
   1293   case $ac_val in
   1294     [\\/$]* | ?:[\\/]* )  continue;;
   1295     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1296   esac
   1297   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1298 done
   1299 
   1300 # There might be people who depend on the old broken behavior: `$host'
   1301 # used to hold the argument of --host etc.
   1302 # FIXME: To remove some day.
   1303 build=$build_alias
   1304 host=$host_alias
   1305 target=$target_alias
   1306 
   1307 # FIXME: To remove some day.
   1308 if test "x$host_alias" != x; then
   1309   if test "x$build_alias" = x; then
   1310     cross_compiling=maybe
   1311   elif test "x$build_alias" != "x$host_alias"; then
   1312     cross_compiling=yes
   1313   fi
   1314 fi
   1315 
   1316 ac_tool_prefix=
   1317 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1318 
   1319 test "$silent" = yes && exec 6>/dev/null
   1320 
   1321 
   1322 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1323 ac_ls_di=`ls -di .` &&
   1324 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1325   as_fn_error $? "working directory cannot be determined"
   1326 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1327   as_fn_error $? "pwd does not report name of working directory"
   1328 
   1329 
   1330 # Find the source files, if location was not specified.
   1331 if test -z "$srcdir"; then
   1332   ac_srcdir_defaulted=yes
   1333   # Try the directory containing this script, then the parent directory.
   1334   ac_confdir=`$as_dirname -- "$as_myself" ||
   1335 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1336 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1337 	 X"$as_myself" : 'X\(//\)$' \| \
   1338 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1339 $as_echo X"$as_myself" |
   1340     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1341 	    s//\1/
   1342 	    q
   1343 	  }
   1344 	  /^X\(\/\/\)[^/].*/{
   1345 	    s//\1/
   1346 	    q
   1347 	  }
   1348 	  /^X\(\/\/\)$/{
   1349 	    s//\1/
   1350 	    q
   1351 	  }
   1352 	  /^X\(\/\).*/{
   1353 	    s//\1/
   1354 	    q
   1355 	  }
   1356 	  s/.*/./; q'`
   1357   srcdir=$ac_confdir
   1358   if test ! -r "$srcdir/$ac_unique_file"; then
   1359     srcdir=..
   1360   fi
   1361 else
   1362   ac_srcdir_defaulted=no
   1363 fi
   1364 if test ! -r "$srcdir/$ac_unique_file"; then
   1365   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1366   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1367 fi
   1368 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1369 ac_abs_confdir=`(
   1370 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1371 	pwd)`
   1372 # When building in place, set srcdir=.
   1373 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1374   srcdir=.
   1375 fi
   1376 # Remove unnecessary trailing slashes from srcdir.
   1377 # Double slashes in file names in object file debugging info
   1378 # mess up M-x gdb in Emacs.
   1379 case $srcdir in
   1380 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1381 esac
   1382 for ac_var in $ac_precious_vars; do
   1383   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1384   eval ac_env_${ac_var}_value=\$${ac_var}
   1385   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1386   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1387 done
   1388 
   1389 #
   1390 # Report the --help message.
   1391 #
   1392 if test "$ac_init_help" = "long"; then
   1393   # Omit some internal or obsolete options to make the list less imposing.
   1394   # This message is too long to be a string in the A/UX 3.1 sh.
   1395   cat <<_ACEOF
   1396 \`configure' configures bfd 2.35.50 to adapt to many kinds of systems.
   1397 
   1398 Usage: $0 [OPTION]... [VAR=VALUE]...
   1399 
   1400 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1401 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1402 
   1403 Defaults for the options are specified in brackets.
   1404 
   1405 Configuration:
   1406   -h, --help              display this help and exit
   1407       --help=short        display options specific to this package
   1408       --help=recursive    display the short help of all the included packages
   1409   -V, --version           display version information and exit
   1410   -q, --quiet, --silent   do not print \`checking ...' messages
   1411       --cache-file=FILE   cache test results in FILE [disabled]
   1412   -C, --config-cache      alias for \`--cache-file=config.cache'
   1413   -n, --no-create         do not create output files
   1414       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1415 
   1416 Installation directories:
   1417   --prefix=PREFIX         install architecture-independent files in PREFIX
   1418                           [$ac_default_prefix]
   1419   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1420                           [PREFIX]
   1421 
   1422 By default, \`make install' will install all the files in
   1423 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1424 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1425 for instance \`--prefix=\$HOME'.
   1426 
   1427 For better control, use the options below.
   1428 
   1429 Fine tuning of the installation directories:
   1430   --bindir=DIR            user executables [EPREFIX/bin]
   1431   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1432   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1433   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1434   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1435   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1436   --libdir=DIR            object code libraries [EPREFIX/lib]
   1437   --includedir=DIR        C header files [PREFIX/include]
   1438   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1439   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1440   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1441   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1442   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1443   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1444   --docdir=DIR            documentation root [DATAROOTDIR/doc/bfd]
   1445   --htmldir=DIR           html documentation [DOCDIR]
   1446   --dvidir=DIR            dvi documentation [DOCDIR]
   1447   --pdfdir=DIR            pdf documentation [DOCDIR]
   1448   --psdir=DIR             ps documentation [DOCDIR]
   1449 _ACEOF
   1450 
   1451   cat <<\_ACEOF
   1452 
   1453 Program names:
   1454   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1455   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1456   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1457 
   1458 System types:
   1459   --build=BUILD     configure for building on BUILD [guessed]
   1460   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1461   --target=TARGET   configure for building compilers for TARGET [HOST]
   1462 _ACEOF
   1463 fi
   1464 
   1465 if test -n "$ac_init_help"; then
   1466   case $ac_init_help in
   1467      short | recursive ) echo "Configuration of bfd 2.35.50:";;
   1468    esac
   1469   cat <<\_ACEOF
   1470 
   1471 Optional Features:
   1472   --disable-option-checking  ignore unrecognized --enable/--with options
   1473   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1474   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1475   --enable-dependency-tracking
   1476                           do not reject slow dependency extractors
   1477   --disable-dependency-tracking
   1478                           speeds up one-time build
   1479   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1480   --disable-silent-rules  verbose build output (undo: "make V=0")
   1481   --enable-shared[=PKGS]  build shared libraries [default=no]
   1482   --enable-static[=PKGS]  build static libraries [default=yes]
   1483   --enable-fast-install[=PKGS]
   1484                           optimize for fast installation [default=yes]
   1485   --disable-libtool-lock  avoid locking (might break parallel builds)
   1486   --enable-plugins        Enable support for plugins
   1487   --disable-largefile     omit support for large files
   1488   --enable-64-bit-bfd     64-bit support (on hosts with narrower word sizes)
   1489   --enable-targets        alternative target configurations
   1490   --enable-64-bit-archive force 64-bit archives
   1491   --enable-secureplt      Default to creating read-only plt entries
   1492   --enable-separate-code  enable -z separate-code in ELF linker by default
   1493   --enable-leading-mingw64-underscores
   1494                           Enable leading underscores on 64 bit mingw targets
   1495   --enable-werror         treat compile warnings as errors
   1496   --enable-build-warnings enable build-time compiler warnings
   1497   --enable-maintainer-mode
   1498                           enable make rules and dependencies not useful (and
   1499                           sometimes confusing) to the casual installer
   1500   --enable-install-libbfd controls installation of libbfd and related headers
   1501   --disable-nls           do not use Native Language Support
   1502 
   1503 Optional Packages:
   1504   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1505   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1506   --with-pic              try to use only PIC/non-PIC objects [default=use
   1507                           both]
   1508   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1509   --with-mmap             try using mmap for BFD input files if available
   1510   --with-separate-debug-dir=DIR
   1511                           Look for global separate debug info in DIR
   1512                           [[default=LIBDIR/debug]]
   1513   --with-pkgversion=PKG   Use PKG in the version string in place of "GNU
   1514                           Binutils"
   1515   --with-bugurl=URL       Direct users to URL to report a bug
   1516   --with-system-zlib      use installed libz
   1517 
   1518 Some influential environment variables:
   1519   CC          C compiler command
   1520   CFLAGS      C compiler flags
   1521   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1522               nonstandard directory <lib dir>
   1523   LIBS        libraries to pass to the linker, e.g. -l<library>
   1524   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1525               you have headers in a nonstandard directory <include dir>
   1526   CPP         C preprocessor
   1527 
   1528 Use these variables to override the choices made by `configure' or to help
   1529 it to find libraries and programs with nonstandard names/locations.
   1530 
   1531 Report bugs to the package provider.
   1532 _ACEOF
   1533 ac_status=$?
   1534 fi
   1535 
   1536 if test "$ac_init_help" = "recursive"; then
   1537   # If there are subdirs, report their specific --help.
   1538   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1539     test -d "$ac_dir" ||
   1540       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1541       continue
   1542     ac_builddir=.
   1543 
   1544 case "$ac_dir" in
   1545 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1546 *)
   1547   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1548   # A ".." for each directory in $ac_dir_suffix.
   1549   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1550   case $ac_top_builddir_sub in
   1551   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1552   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1553   esac ;;
   1554 esac
   1555 ac_abs_top_builddir=$ac_pwd
   1556 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1557 # for backward compatibility:
   1558 ac_top_builddir=$ac_top_build_prefix
   1559 
   1560 case $srcdir in
   1561   .)  # We are building in place.
   1562     ac_srcdir=.
   1563     ac_top_srcdir=$ac_top_builddir_sub
   1564     ac_abs_top_srcdir=$ac_pwd ;;
   1565   [\\/]* | ?:[\\/]* )  # Absolute name.
   1566     ac_srcdir=$srcdir$ac_dir_suffix;
   1567     ac_top_srcdir=$srcdir
   1568     ac_abs_top_srcdir=$srcdir ;;
   1569   *) # Relative name.
   1570     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1571     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1572     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1573 esac
   1574 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1575 
   1576     cd "$ac_dir" || { ac_status=$?; continue; }
   1577     # Check for guested configure.
   1578     if test -f "$ac_srcdir/configure.gnu"; then
   1579       echo &&
   1580       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1581     elif test -f "$ac_srcdir/configure"; then
   1582       echo &&
   1583       $SHELL "$ac_srcdir/configure" --help=recursive
   1584     else
   1585       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1586     fi || ac_status=$?
   1587     cd "$ac_pwd" || { ac_status=$?; break; }
   1588   done
   1589 fi
   1590 
   1591 test -n "$ac_init_help" && exit $ac_status
   1592 if $ac_init_version; then
   1593   cat <<\_ACEOF
   1594 bfd configure 2.35.50
   1595 generated by GNU Autoconf 2.69
   1596 
   1597 Copyright (C) 2012 Free Software Foundation, Inc.
   1598 This configure script is free software; the Free Software Foundation
   1599 gives unlimited permission to copy, distribute and modify it.
   1600 _ACEOF
   1601   exit
   1602 fi
   1603 
   1604 ## ------------------------ ##
   1605 ## Autoconf initialization. ##
   1606 ## ------------------------ ##
   1607 
   1608 # ac_fn_c_try_compile LINENO
   1609 # --------------------------
   1610 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1611 ac_fn_c_try_compile ()
   1612 {
   1613   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1614   rm -f conftest.$ac_objext
   1615   if { { ac_try="$ac_compile"
   1616 case "(($ac_try" in
   1617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1618   *) ac_try_echo=$ac_try;;
   1619 esac
   1620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1621 $as_echo "$ac_try_echo"; } >&5
   1622   (eval "$ac_compile") 2>conftest.err
   1623   ac_status=$?
   1624   if test -s conftest.err; then
   1625     grep -v '^ *+' conftest.err >conftest.er1
   1626     cat conftest.er1 >&5
   1627     mv -f conftest.er1 conftest.err
   1628   fi
   1629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1630   test $ac_status = 0; } && {
   1631 	 test -z "$ac_c_werror_flag" ||
   1632 	 test ! -s conftest.err
   1633        } && test -s conftest.$ac_objext; then :
   1634   ac_retval=0
   1635 else
   1636   $as_echo "$as_me: failed program was:" >&5
   1637 sed 's/^/| /' conftest.$ac_ext >&5
   1638 
   1639 	ac_retval=1
   1640 fi
   1641   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1642   as_fn_set_status $ac_retval
   1643 
   1644 } # ac_fn_c_try_compile
   1645 
   1646 # ac_fn_c_try_link LINENO
   1647 # -----------------------
   1648 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1649 ac_fn_c_try_link ()
   1650 {
   1651   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1652   rm -f conftest.$ac_objext conftest$ac_exeext
   1653   if { { ac_try="$ac_link"
   1654 case "(($ac_try" in
   1655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1656   *) ac_try_echo=$ac_try;;
   1657 esac
   1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1659 $as_echo "$ac_try_echo"; } >&5
   1660   (eval "$ac_link") 2>conftest.err
   1661   ac_status=$?
   1662   if test -s conftest.err; then
   1663     grep -v '^ *+' conftest.err >conftest.er1
   1664     cat conftest.er1 >&5
   1665     mv -f conftest.er1 conftest.err
   1666   fi
   1667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1668   test $ac_status = 0; } && {
   1669 	 test -z "$ac_c_werror_flag" ||
   1670 	 test ! -s conftest.err
   1671        } && test -s conftest$ac_exeext && {
   1672 	 test "$cross_compiling" = yes ||
   1673 	 test -x conftest$ac_exeext
   1674        }; then :
   1675   ac_retval=0
   1676 else
   1677   $as_echo "$as_me: failed program was:" >&5
   1678 sed 's/^/| /' conftest.$ac_ext >&5
   1679 
   1680 	ac_retval=1
   1681 fi
   1682   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1683   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1684   # interfere with the next link command; also delete a directory that is
   1685   # left behind by Apple's compiler.  We do this before executing the actions.
   1686   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1687   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1688   as_fn_set_status $ac_retval
   1689 
   1690 } # ac_fn_c_try_link
   1691 
   1692 # ac_fn_c_try_cpp LINENO
   1693 # ----------------------
   1694 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1695 ac_fn_c_try_cpp ()
   1696 {
   1697   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1698   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1699 case "(($ac_try" in
   1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1701   *) ac_try_echo=$ac_try;;
   1702 esac
   1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1704 $as_echo "$ac_try_echo"; } >&5
   1705   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1706   ac_status=$?
   1707   if test -s conftest.err; then
   1708     grep -v '^ *+' conftest.err >conftest.er1
   1709     cat conftest.er1 >&5
   1710     mv -f conftest.er1 conftest.err
   1711   fi
   1712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1713   test $ac_status = 0; } > conftest.i && {
   1714 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1715 	 test ! -s conftest.err
   1716        }; then :
   1717   ac_retval=0
   1718 else
   1719   $as_echo "$as_me: failed program was:" >&5
   1720 sed 's/^/| /' conftest.$ac_ext >&5
   1721 
   1722     ac_retval=1
   1723 fi
   1724   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1725   as_fn_set_status $ac_retval
   1726 
   1727 } # ac_fn_c_try_cpp
   1728 
   1729 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1730 # -------------------------------------------------------
   1731 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1732 # the include files in INCLUDES and setting the cache variable VAR
   1733 # accordingly.
   1734 ac_fn_c_check_header_mongrel ()
   1735 {
   1736   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1737   if eval \${$3+:} false; then :
   1738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1739 $as_echo_n "checking for $2... " >&6; }
   1740 if eval \${$3+:} false; then :
   1741   $as_echo_n "(cached) " >&6
   1742 fi
   1743 eval ac_res=\$$3
   1744 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1745 $as_echo "$ac_res" >&6; }
   1746 else
   1747   # Is the header compilable?
   1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1749 $as_echo_n "checking $2 usability... " >&6; }
   1750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1751 /* end confdefs.h.  */
   1752 $4
   1753 #include <$2>
   1754 _ACEOF
   1755 if ac_fn_c_try_compile "$LINENO"; then :
   1756   ac_header_compiler=yes
   1757 else
   1758   ac_header_compiler=no
   1759 fi
   1760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1762 $as_echo "$ac_header_compiler" >&6; }
   1763 
   1764 # Is the header present?
   1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1766 $as_echo_n "checking $2 presence... " >&6; }
   1767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1768 /* end confdefs.h.  */
   1769 #include <$2>
   1770 _ACEOF
   1771 if ac_fn_c_try_cpp "$LINENO"; then :
   1772   ac_header_preproc=yes
   1773 else
   1774   ac_header_preproc=no
   1775 fi
   1776 rm -f conftest.err conftest.i conftest.$ac_ext
   1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1778 $as_echo "$ac_header_preproc" >&6; }
   1779 
   1780 # So?  What about this header?
   1781 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1782   yes:no: )
   1783     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1784 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1785     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1786 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1787     ;;
   1788   no:yes:* )
   1789     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1790 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1791     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1792 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1793     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1794 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1795     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1796 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1797     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1798 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1799     ;;
   1800 esac
   1801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1802 $as_echo_n "checking for $2... " >&6; }
   1803 if eval \${$3+:} false; then :
   1804   $as_echo_n "(cached) " >&6
   1805 else
   1806   eval "$3=\$ac_header_compiler"
   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 fi
   1812   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1813 
   1814 } # ac_fn_c_check_header_mongrel
   1815 
   1816 # ac_fn_c_try_run LINENO
   1817 # ----------------------
   1818 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1819 # that executables *can* be run.
   1820 ac_fn_c_try_run ()
   1821 {
   1822   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1823   if { { ac_try="$ac_link"
   1824 case "(($ac_try" in
   1825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1826   *) ac_try_echo=$ac_try;;
   1827 esac
   1828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1829 $as_echo "$ac_try_echo"; } >&5
   1830   (eval "$ac_link") 2>&5
   1831   ac_status=$?
   1832   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1833   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1834   { { case "(($ac_try" in
   1835   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1836   *) ac_try_echo=$ac_try;;
   1837 esac
   1838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1839 $as_echo "$ac_try_echo"; } >&5
   1840   (eval "$ac_try") 2>&5
   1841   ac_status=$?
   1842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1843   test $ac_status = 0; }; }; then :
   1844   ac_retval=0
   1845 else
   1846   $as_echo "$as_me: program exited with status $ac_status" >&5
   1847        $as_echo "$as_me: failed program was:" >&5
   1848 sed 's/^/| /' conftest.$ac_ext >&5
   1849 
   1850        ac_retval=$ac_status
   1851 fi
   1852   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1853   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1854   as_fn_set_status $ac_retval
   1855 
   1856 } # ac_fn_c_try_run
   1857 
   1858 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1859 # -------------------------------------------------------
   1860 # Tests whether HEADER exists and can be compiled using the include files in
   1861 # INCLUDES, setting the cache variable VAR accordingly.
   1862 ac_fn_c_check_header_compile ()
   1863 {
   1864   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1866 $as_echo_n "checking for $2... " >&6; }
   1867 if eval \${$3+:} false; then :
   1868   $as_echo_n "(cached) " >&6
   1869 else
   1870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1871 /* end confdefs.h.  */
   1872 $4
   1873 #include <$2>
   1874 _ACEOF
   1875 if ac_fn_c_try_compile "$LINENO"; then :
   1876   eval "$3=yes"
   1877 else
   1878   eval "$3=no"
   1879 fi
   1880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1881 fi
   1882 eval ac_res=\$$3
   1883 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1884 $as_echo "$ac_res" >&6; }
   1885   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1886 
   1887 } # ac_fn_c_check_header_compile
   1888 
   1889 # ac_fn_c_check_func LINENO FUNC VAR
   1890 # ----------------------------------
   1891 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1892 ac_fn_c_check_func ()
   1893 {
   1894   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1896 $as_echo_n "checking for $2... " >&6; }
   1897 if eval \${$3+:} false; then :
   1898   $as_echo_n "(cached) " >&6
   1899 else
   1900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1901 /* end confdefs.h.  */
   1902 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1903    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1904 #define $2 innocuous_$2
   1905 
   1906 /* System header to define __stub macros and hopefully few prototypes,
   1907     which can conflict with char $2 (); below.
   1908     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1909     <limits.h> exists even on freestanding compilers.  */
   1910 
   1911 #ifdef __STDC__
   1912 # include <limits.h>
   1913 #else
   1914 # include <assert.h>
   1915 #endif
   1916 
   1917 #undef $2
   1918 
   1919 /* Override any GCC internal prototype to avoid an error.
   1920    Use char because int might match the return type of a GCC
   1921    builtin and then its argument prototype would still apply.  */
   1922 #ifdef __cplusplus
   1923 extern "C"
   1924 #endif
   1925 char $2 ();
   1926 /* The GNU C library defines this for functions which it implements
   1927     to always fail with ENOSYS.  Some functions are actually named
   1928     something starting with __ and the normal name is an alias.  */
   1929 #if defined __stub_$2 || defined __stub___$2
   1930 choke me
   1931 #endif
   1932 
   1933 int
   1934 main ()
   1935 {
   1936 return $2 ();
   1937   ;
   1938   return 0;
   1939 }
   1940 _ACEOF
   1941 if ac_fn_c_try_link "$LINENO"; then :
   1942   eval "$3=yes"
   1943 else
   1944   eval "$3=no"
   1945 fi
   1946 rm -f core conftest.err conftest.$ac_objext \
   1947     conftest$ac_exeext conftest.$ac_ext
   1948 fi
   1949 eval ac_res=\$$3
   1950 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1951 $as_echo "$ac_res" >&6; }
   1952   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1953 
   1954 } # ac_fn_c_check_func
   1955 
   1956 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1957 # -------------------------------------------
   1958 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1959 # variable VAR accordingly.
   1960 ac_fn_c_check_type ()
   1961 {
   1962   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1964 $as_echo_n "checking for $2... " >&6; }
   1965 if eval \${$3+:} false; then :
   1966   $as_echo_n "(cached) " >&6
   1967 else
   1968   eval "$3=no"
   1969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1970 /* end confdefs.h.  */
   1971 $4
   1972 int
   1973 main ()
   1974 {
   1975 if (sizeof ($2))
   1976 	 return 0;
   1977   ;
   1978   return 0;
   1979 }
   1980 _ACEOF
   1981 if ac_fn_c_try_compile "$LINENO"; then :
   1982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1983 /* end confdefs.h.  */
   1984 $4
   1985 int
   1986 main ()
   1987 {
   1988 if (sizeof (($2)))
   1989 	    return 0;
   1990   ;
   1991   return 0;
   1992 }
   1993 _ACEOF
   1994 if ac_fn_c_try_compile "$LINENO"; then :
   1995 
   1996 else
   1997   eval "$3=yes"
   1998 fi
   1999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2000 fi
   2001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2002 fi
   2003 eval ac_res=\$$3
   2004 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2005 $as_echo "$ac_res" >&6; }
   2006   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2007 
   2008 } # ac_fn_c_check_type
   2009 
   2010 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2011 # --------------------------------------------
   2012 # Tries to find the compile-time value of EXPR in a program that includes
   2013 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2014 # computed
   2015 ac_fn_c_compute_int ()
   2016 {
   2017   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2018   if test "$cross_compiling" = yes; then
   2019     # Depending upon the size, compute the lo and hi bounds.
   2020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2021 /* end confdefs.h.  */
   2022 $4
   2023 int
   2024 main ()
   2025 {
   2026 static int test_array [1 - 2 * !(($2) >= 0)];
   2027 test_array [0] = 0;
   2028 return test_array [0];
   2029 
   2030   ;
   2031   return 0;
   2032 }
   2033 _ACEOF
   2034 if ac_fn_c_try_compile "$LINENO"; then :
   2035   ac_lo=0 ac_mid=0
   2036   while :; do
   2037     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2038 /* end confdefs.h.  */
   2039 $4
   2040 int
   2041 main ()
   2042 {
   2043 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2044 test_array [0] = 0;
   2045 return test_array [0];
   2046 
   2047   ;
   2048   return 0;
   2049 }
   2050 _ACEOF
   2051 if ac_fn_c_try_compile "$LINENO"; then :
   2052   ac_hi=$ac_mid; break
   2053 else
   2054   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2055 			if test $ac_lo -le $ac_mid; then
   2056 			  ac_lo= ac_hi=
   2057 			  break
   2058 			fi
   2059 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2060 fi
   2061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2062   done
   2063 else
   2064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2065 /* end confdefs.h.  */
   2066 $4
   2067 int
   2068 main ()
   2069 {
   2070 static int test_array [1 - 2 * !(($2) < 0)];
   2071 test_array [0] = 0;
   2072 return test_array [0];
   2073 
   2074   ;
   2075   return 0;
   2076 }
   2077 _ACEOF
   2078 if ac_fn_c_try_compile "$LINENO"; then :
   2079   ac_hi=-1 ac_mid=-1
   2080   while :; do
   2081     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2082 /* end confdefs.h.  */
   2083 $4
   2084 int
   2085 main ()
   2086 {
   2087 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2088 test_array [0] = 0;
   2089 return test_array [0];
   2090 
   2091   ;
   2092   return 0;
   2093 }
   2094 _ACEOF
   2095 if ac_fn_c_try_compile "$LINENO"; then :
   2096   ac_lo=$ac_mid; break
   2097 else
   2098   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2099 			if test $ac_mid -le $ac_hi; then
   2100 			  ac_lo= ac_hi=
   2101 			  break
   2102 			fi
   2103 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2104 fi
   2105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2106   done
   2107 else
   2108   ac_lo= ac_hi=
   2109 fi
   2110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2111 fi
   2112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2113 # Binary search between lo and hi bounds.
   2114 while test "x$ac_lo" != "x$ac_hi"; do
   2115   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2117 /* end confdefs.h.  */
   2118 $4
   2119 int
   2120 main ()
   2121 {
   2122 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2123 test_array [0] = 0;
   2124 return test_array [0];
   2125 
   2126   ;
   2127   return 0;
   2128 }
   2129 _ACEOF
   2130 if ac_fn_c_try_compile "$LINENO"; then :
   2131   ac_hi=$ac_mid
   2132 else
   2133   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2134 fi
   2135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2136 done
   2137 case $ac_lo in #((
   2138 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2139 '') ac_retval=1 ;;
   2140 esac
   2141   else
   2142     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2143 /* end confdefs.h.  */
   2144 $4
   2145 static long int longval () { return $2; }
   2146 static unsigned long int ulongval () { return $2; }
   2147 #include <stdio.h>
   2148 #include <stdlib.h>
   2149 int
   2150 main ()
   2151 {
   2152 
   2153   FILE *f = fopen ("conftest.val", "w");
   2154   if (! f)
   2155     return 1;
   2156   if (($2) < 0)
   2157     {
   2158       long int i = longval ();
   2159       if (i != ($2))
   2160 	return 1;
   2161       fprintf (f, "%ld", i);
   2162     }
   2163   else
   2164     {
   2165       unsigned long int i = ulongval ();
   2166       if (i != ($2))
   2167 	return 1;
   2168       fprintf (f, "%lu", i);
   2169     }
   2170   /* Do not output a trailing newline, as this causes \r\n confusion
   2171      on some platforms.  */
   2172   return ferror (f) || fclose (f) != 0;
   2173 
   2174   ;
   2175   return 0;
   2176 }
   2177 _ACEOF
   2178 if ac_fn_c_try_run "$LINENO"; then :
   2179   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2180 else
   2181   ac_retval=1
   2182 fi
   2183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2184   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2185 rm -f conftest.val
   2186 
   2187   fi
   2188   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2189   as_fn_set_status $ac_retval
   2190 
   2191 } # ac_fn_c_compute_int
   2192 
   2193 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2194 # ---------------------------------------------
   2195 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2196 # accordingly.
   2197 ac_fn_c_check_decl ()
   2198 {
   2199   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2200   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2201   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2203 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2204 if eval \${$3+:} false; then :
   2205   $as_echo_n "(cached) " >&6
   2206 else
   2207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2208 /* end confdefs.h.  */
   2209 $4
   2210 int
   2211 main ()
   2212 {
   2213 #ifndef $as_decl_name
   2214 #ifdef __cplusplus
   2215   (void) $as_decl_use;
   2216 #else
   2217   (void) $as_decl_name;
   2218 #endif
   2219 #endif
   2220 
   2221   ;
   2222   return 0;
   2223 }
   2224 _ACEOF
   2225 if ac_fn_c_try_compile "$LINENO"; then :
   2226   eval "$3=yes"
   2227 else
   2228   eval "$3=no"
   2229 fi
   2230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2231 fi
   2232 eval ac_res=\$$3
   2233 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2234 $as_echo "$ac_res" >&6; }
   2235   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2236 
   2237 } # ac_fn_c_check_decl
   2238 cat >config.log <<_ACEOF
   2239 This file contains any messages produced by compilers while
   2240 running configure, to aid debugging if configure makes a mistake.
   2241 
   2242 It was created by bfd $as_me 2.35.50, which was
   2243 generated by GNU Autoconf 2.69.  Invocation command line was
   2244 
   2245   $ $0 $@
   2246 
   2247 _ACEOF
   2248 exec 5>>config.log
   2249 {
   2250 cat <<_ASUNAME
   2251 ## --------- ##
   2252 ## Platform. ##
   2253 ## --------- ##
   2254 
   2255 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2256 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2257 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2258 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2259 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2260 
   2261 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2262 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2263 
   2264 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2265 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2266 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2267 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2268 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2269 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2270 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2271 
   2272 _ASUNAME
   2273 
   2274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2275 for as_dir in $PATH
   2276 do
   2277   IFS=$as_save_IFS
   2278   test -z "$as_dir" && as_dir=.
   2279     $as_echo "PATH: $as_dir"
   2280   done
   2281 IFS=$as_save_IFS
   2282 
   2283 } >&5
   2284 
   2285 cat >&5 <<_ACEOF
   2286 
   2287 
   2288 ## ----------- ##
   2289 ## Core tests. ##
   2290 ## ----------- ##
   2291 
   2292 _ACEOF
   2293 
   2294 
   2295 # Keep a trace of the command line.
   2296 # Strip out --no-create and --no-recursion so they do not pile up.
   2297 # Strip out --silent because we don't want to record it for future runs.
   2298 # Also quote any args containing shell meta-characters.
   2299 # Make two passes to allow for proper duplicate-argument suppression.
   2300 ac_configure_args=
   2301 ac_configure_args0=
   2302 ac_configure_args1=
   2303 ac_must_keep_next=false
   2304 for ac_pass in 1 2
   2305 do
   2306   for ac_arg
   2307   do
   2308     case $ac_arg in
   2309     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2310     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2311     | -silent | --silent | --silen | --sile | --sil)
   2312       continue ;;
   2313     *\'*)
   2314       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2315     esac
   2316     case $ac_pass in
   2317     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2318     2)
   2319       as_fn_append ac_configure_args1 " '$ac_arg'"
   2320       if test $ac_must_keep_next = true; then
   2321 	ac_must_keep_next=false # Got value, back to normal.
   2322       else
   2323 	case $ac_arg in
   2324 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2325 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2326 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2327 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2328 	    case "$ac_configure_args0 " in
   2329 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2330 	    esac
   2331 	    ;;
   2332 	  -* ) ac_must_keep_next=true ;;
   2333 	esac
   2334       fi
   2335       as_fn_append ac_configure_args " '$ac_arg'"
   2336       ;;
   2337     esac
   2338   done
   2339 done
   2340 { ac_configure_args0=; unset ac_configure_args0;}
   2341 { ac_configure_args1=; unset ac_configure_args1;}
   2342 
   2343 # When interrupted or exit'd, cleanup temporary files, and complete
   2344 # config.log.  We remove comments because anyway the quotes in there
   2345 # would cause problems or look ugly.
   2346 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2347 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2348 trap 'exit_status=$?
   2349   # Save into config.log some information that might help in debugging.
   2350   {
   2351     echo
   2352 
   2353     $as_echo "## ---------------- ##
   2354 ## Cache variables. ##
   2355 ## ---------------- ##"
   2356     echo
   2357     # The following way of writing the cache mishandles newlines in values,
   2358 (
   2359   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2360     eval ac_val=\$$ac_var
   2361     case $ac_val in #(
   2362     *${as_nl}*)
   2363       case $ac_var in #(
   2364       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2365 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2366       esac
   2367       case $ac_var in #(
   2368       _ | IFS | as_nl) ;; #(
   2369       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2370       *) { eval $ac_var=; unset $ac_var;} ;;
   2371       esac ;;
   2372     esac
   2373   done
   2374   (set) 2>&1 |
   2375     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2376     *${as_nl}ac_space=\ *)
   2377       sed -n \
   2378 	"s/'\''/'\''\\\\'\'''\''/g;
   2379 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2380       ;; #(
   2381     *)
   2382       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2383       ;;
   2384     esac |
   2385     sort
   2386 )
   2387     echo
   2388 
   2389     $as_echo "## ----------------- ##
   2390 ## Output variables. ##
   2391 ## ----------------- ##"
   2392     echo
   2393     for ac_var in $ac_subst_vars
   2394     do
   2395       eval ac_val=\$$ac_var
   2396       case $ac_val in
   2397       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2398       esac
   2399       $as_echo "$ac_var='\''$ac_val'\''"
   2400     done | sort
   2401     echo
   2402 
   2403     if test -n "$ac_subst_files"; then
   2404       $as_echo "## ------------------- ##
   2405 ## File substitutions. ##
   2406 ## ------------------- ##"
   2407       echo
   2408       for ac_var in $ac_subst_files
   2409       do
   2410 	eval ac_val=\$$ac_var
   2411 	case $ac_val in
   2412 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2413 	esac
   2414 	$as_echo "$ac_var='\''$ac_val'\''"
   2415       done | sort
   2416       echo
   2417     fi
   2418 
   2419     if test -s confdefs.h; then
   2420       $as_echo "## ----------- ##
   2421 ## confdefs.h. ##
   2422 ## ----------- ##"
   2423       echo
   2424       cat confdefs.h
   2425       echo
   2426     fi
   2427     test "$ac_signal" != 0 &&
   2428       $as_echo "$as_me: caught signal $ac_signal"
   2429     $as_echo "$as_me: exit $exit_status"
   2430   } >&5
   2431   rm -f core *.core core.conftest.* &&
   2432     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2433     exit $exit_status
   2434 ' 0
   2435 for ac_signal in 1 2 13 15; do
   2436   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2437 done
   2438 ac_signal=0
   2439 
   2440 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2441 rm -f -r conftest* confdefs.h
   2442 
   2443 $as_echo "/* confdefs.h */" > confdefs.h
   2444 
   2445 # Predefined preprocessor variables.
   2446 
   2447 cat >>confdefs.h <<_ACEOF
   2448 #define PACKAGE_NAME "$PACKAGE_NAME"
   2449 _ACEOF
   2450 
   2451 cat >>confdefs.h <<_ACEOF
   2452 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2453 _ACEOF
   2454 
   2455 cat >>confdefs.h <<_ACEOF
   2456 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2457 _ACEOF
   2458 
   2459 cat >>confdefs.h <<_ACEOF
   2460 #define PACKAGE_STRING "$PACKAGE_STRING"
   2461 _ACEOF
   2462 
   2463 cat >>confdefs.h <<_ACEOF
   2464 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2465 _ACEOF
   2466 
   2467 cat >>confdefs.h <<_ACEOF
   2468 #define PACKAGE_URL "$PACKAGE_URL"
   2469 _ACEOF
   2470 
   2471 
   2472 # Let the site file select an alternate cache file if it wants to.
   2473 # Prefer an explicitly selected file to automatically selected ones.
   2474 ac_site_file1=NONE
   2475 ac_site_file2=NONE
   2476 if test -n "$CONFIG_SITE"; then
   2477   # We do not want a PATH search for config.site.
   2478   case $CONFIG_SITE in #((
   2479     -*)  ac_site_file1=./$CONFIG_SITE;;
   2480     */*) ac_site_file1=$CONFIG_SITE;;
   2481     *)   ac_site_file1=./$CONFIG_SITE;;
   2482   esac
   2483 elif test "x$prefix" != xNONE; then
   2484   ac_site_file1=$prefix/share/config.site
   2485   ac_site_file2=$prefix/etc/config.site
   2486 else
   2487   ac_site_file1=$ac_default_prefix/share/config.site
   2488   ac_site_file2=$ac_default_prefix/etc/config.site
   2489 fi
   2490 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2491 do
   2492   test "x$ac_site_file" = xNONE && continue
   2493   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2494     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2495 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2496     sed 's/^/| /' "$ac_site_file" >&5
   2497     . "$ac_site_file" \
   2498       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2500 as_fn_error $? "failed to load site script $ac_site_file
   2501 See \`config.log' for more details" "$LINENO" 5; }
   2502   fi
   2503 done
   2504 
   2505 if test -r "$cache_file"; then
   2506   # Some versions of bash will fail to source /dev/null (special files
   2507   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2508   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2509     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2510 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2511     case $cache_file in
   2512       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2513       *)                      . "./$cache_file";;
   2514     esac
   2515   fi
   2516 else
   2517   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2518 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2519   >$cache_file
   2520 fi
   2521 
   2522 as_fn_append ac_header_list " stdlib.h"
   2523 as_fn_append ac_header_list " unistd.h"
   2524 as_fn_append ac_header_list " sys/param.h"
   2525 # Check that the precious variables saved in the cache have kept the same
   2526 # value.
   2527 ac_cache_corrupted=false
   2528 for ac_var in $ac_precious_vars; do
   2529   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2530   eval ac_new_set=\$ac_env_${ac_var}_set
   2531   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2532   eval ac_new_val=\$ac_env_${ac_var}_value
   2533   case $ac_old_set,$ac_new_set in
   2534     set,)
   2535       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2536 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2537       ac_cache_corrupted=: ;;
   2538     ,set)
   2539       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2540 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2541       ac_cache_corrupted=: ;;
   2542     ,);;
   2543     *)
   2544       if test "x$ac_old_val" != "x$ac_new_val"; then
   2545 	# differences in whitespace do not lead to failure.
   2546 	ac_old_val_w=`echo x $ac_old_val`
   2547 	ac_new_val_w=`echo x $ac_new_val`
   2548 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2549 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2550 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2551 	  ac_cache_corrupted=:
   2552 	else
   2553 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2554 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2555 	  eval $ac_var=\$ac_old_val
   2556 	fi
   2557 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2558 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2559 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2560 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2561       fi;;
   2562   esac
   2563   # Pass precious variables to config.status.
   2564   if test "$ac_new_set" = set; then
   2565     case $ac_new_val in
   2566     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2567     *) ac_arg=$ac_var=$ac_new_val ;;
   2568     esac
   2569     case " $ac_configure_args " in
   2570       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2571       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2572     esac
   2573   fi
   2574 done
   2575 if $ac_cache_corrupted; then
   2576   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2578   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2579 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2580   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2581 fi
   2582 ## -------------------- ##
   2583 ## Main body of script. ##
   2584 ## -------------------- ##
   2585 
   2586 ac_ext=c
   2587 ac_cpp='$CPP $CPPFLAGS'
   2588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2591 
   2592 
   2593 
   2594 
   2595 
   2596 
   2597 
   2598 ac_aux_dir=
   2599 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2600   if test -f "$ac_dir/install-sh"; then
   2601     ac_aux_dir=$ac_dir
   2602     ac_install_sh="$ac_aux_dir/install-sh -c"
   2603     break
   2604   elif test -f "$ac_dir/install.sh"; then
   2605     ac_aux_dir=$ac_dir
   2606     ac_install_sh="$ac_aux_dir/install.sh -c"
   2607     break
   2608   elif test -f "$ac_dir/shtool"; then
   2609     ac_aux_dir=$ac_dir
   2610     ac_install_sh="$ac_aux_dir/shtool install -c"
   2611     break
   2612   fi
   2613 done
   2614 if test -z "$ac_aux_dir"; then
   2615   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2616 fi
   2617 
   2618 # These three variables are undocumented and unsupported,
   2619 # and are intended to be withdrawn in a future Autoconf release.
   2620 # They can cause serious problems if a builder's source tree is in a directory
   2621 # whose full name contains unusual characters.
   2622 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2623 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2624 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2625 
   2626 
   2627 # Make sure we can run config.sub.
   2628 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2629   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2630 
   2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2632 $as_echo_n "checking build system type... " >&6; }
   2633 if ${ac_cv_build+:} false; then :
   2634   $as_echo_n "(cached) " >&6
   2635 else
   2636   ac_build_alias=$build_alias
   2637 test "x$ac_build_alias" = x &&
   2638   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2639 test "x$ac_build_alias" = x &&
   2640   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2641 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2642   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2643 
   2644 fi
   2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2646 $as_echo "$ac_cv_build" >&6; }
   2647 case $ac_cv_build in
   2648 *-*-*) ;;
   2649 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2650 esac
   2651 build=$ac_cv_build
   2652 ac_save_IFS=$IFS; IFS='-'
   2653 set x $ac_cv_build
   2654 shift
   2655 build_cpu=$1
   2656 build_vendor=$2
   2657 shift; shift
   2658 # Remember, the first character of IFS is used to create $*,
   2659 # except with old shells:
   2660 build_os=$*
   2661 IFS=$ac_save_IFS
   2662 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2663 
   2664 
   2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2666 $as_echo_n "checking host system type... " >&6; }
   2667 if ${ac_cv_host+:} false; then :
   2668   $as_echo_n "(cached) " >&6
   2669 else
   2670   if test "x$host_alias" = x; then
   2671   ac_cv_host=$ac_cv_build
   2672 else
   2673   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2674     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2675 fi
   2676 
   2677 fi
   2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2679 $as_echo "$ac_cv_host" >&6; }
   2680 case $ac_cv_host in
   2681 *-*-*) ;;
   2682 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2683 esac
   2684 host=$ac_cv_host
   2685 ac_save_IFS=$IFS; IFS='-'
   2686 set x $ac_cv_host
   2687 shift
   2688 host_cpu=$1
   2689 host_vendor=$2
   2690 shift; shift
   2691 # Remember, the first character of IFS is used to create $*,
   2692 # except with old shells:
   2693 host_os=$*
   2694 IFS=$ac_save_IFS
   2695 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2696 
   2697 
   2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2699 $as_echo_n "checking target system type... " >&6; }
   2700 if ${ac_cv_target+:} false; then :
   2701   $as_echo_n "(cached) " >&6
   2702 else
   2703   if test "x$target_alias" = x; then
   2704   ac_cv_target=$ac_cv_host
   2705 else
   2706   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2707     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2708 fi
   2709 
   2710 fi
   2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2712 $as_echo "$ac_cv_target" >&6; }
   2713 case $ac_cv_target in
   2714 *-*-*) ;;
   2715 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2716 esac
   2717 target=$ac_cv_target
   2718 ac_save_IFS=$IFS; IFS='-'
   2719 set x $ac_cv_target
   2720 shift
   2721 target_cpu=$1
   2722 target_vendor=$2
   2723 shift; shift
   2724 # Remember, the first character of IFS is used to create $*,
   2725 # except with old shells:
   2726 target_os=$*
   2727 IFS=$ac_save_IFS
   2728 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2729 
   2730 
   2731 # The aliases save the names the user supplied, while $host etc.
   2732 # will get canonicalized.
   2733 test -n "$target_alias" &&
   2734   test "$program_prefix$program_suffix$program_transform_name" = \
   2735     NONENONEs,x,x, &&
   2736   program_prefix=${target_alias}-
   2737 # Expand $ac_aux_dir to an absolute path.
   2738 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2739 
   2740 ac_ext=c
   2741 ac_cpp='$CPP $CPPFLAGS'
   2742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2745 if test -n "$ac_tool_prefix"; then
   2746   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2747 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2749 $as_echo_n "checking for $ac_word... " >&6; }
   2750 if ${ac_cv_prog_CC+:} false; then :
   2751   $as_echo_n "(cached) " >&6
   2752 else
   2753   if test -n "$CC"; then
   2754   ac_cv_prog_CC="$CC" # Let the user override the test.
   2755 else
   2756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2757 for as_dir in $PATH
   2758 do
   2759   IFS=$as_save_IFS
   2760   test -z "$as_dir" && as_dir=.
   2761     for ac_exec_ext in '' $ac_executable_extensions; do
   2762   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2763     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2765     break 2
   2766   fi
   2767 done
   2768   done
   2769 IFS=$as_save_IFS
   2770 
   2771 fi
   2772 fi
   2773 CC=$ac_cv_prog_CC
   2774 if test -n "$CC"; then
   2775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2776 $as_echo "$CC" >&6; }
   2777 else
   2778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2779 $as_echo "no" >&6; }
   2780 fi
   2781 
   2782 
   2783 fi
   2784 if test -z "$ac_cv_prog_CC"; then
   2785   ac_ct_CC=$CC
   2786   # Extract the first word of "gcc", so it can be a program name with args.
   2787 set dummy gcc; ac_word=$2
   2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2789 $as_echo_n "checking for $ac_word... " >&6; }
   2790 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2791   $as_echo_n "(cached) " >&6
   2792 else
   2793   if test -n "$ac_ct_CC"; then
   2794   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2795 else
   2796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2797 for as_dir in $PATH
   2798 do
   2799   IFS=$as_save_IFS
   2800   test -z "$as_dir" && as_dir=.
   2801     for ac_exec_ext in '' $ac_executable_extensions; do
   2802   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2803     ac_cv_prog_ac_ct_CC="gcc"
   2804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2805     break 2
   2806   fi
   2807 done
   2808   done
   2809 IFS=$as_save_IFS
   2810 
   2811 fi
   2812 fi
   2813 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2814 if test -n "$ac_ct_CC"; then
   2815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2816 $as_echo "$ac_ct_CC" >&6; }
   2817 else
   2818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2819 $as_echo "no" >&6; }
   2820 fi
   2821 
   2822   if test "x$ac_ct_CC" = x; then
   2823     CC=""
   2824   else
   2825     case $cross_compiling:$ac_tool_warned in
   2826 yes:)
   2827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2829 ac_tool_warned=yes ;;
   2830 esac
   2831     CC=$ac_ct_CC
   2832   fi
   2833 else
   2834   CC="$ac_cv_prog_CC"
   2835 fi
   2836 
   2837 if test -z "$CC"; then
   2838           if test -n "$ac_tool_prefix"; then
   2839     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2840 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2842 $as_echo_n "checking for $ac_word... " >&6; }
   2843 if ${ac_cv_prog_CC+:} false; then :
   2844   $as_echo_n "(cached) " >&6
   2845 else
   2846   if test -n "$CC"; then
   2847   ac_cv_prog_CC="$CC" # Let the user override the test.
   2848 else
   2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2850 for as_dir in $PATH
   2851 do
   2852   IFS=$as_save_IFS
   2853   test -z "$as_dir" && as_dir=.
   2854     for ac_exec_ext in '' $ac_executable_extensions; do
   2855   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2856     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2857     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2858     break 2
   2859   fi
   2860 done
   2861   done
   2862 IFS=$as_save_IFS
   2863 
   2864 fi
   2865 fi
   2866 CC=$ac_cv_prog_CC
   2867 if test -n "$CC"; then
   2868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2869 $as_echo "$CC" >&6; }
   2870 else
   2871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2872 $as_echo "no" >&6; }
   2873 fi
   2874 
   2875 
   2876   fi
   2877 fi
   2878 if test -z "$CC"; then
   2879   # Extract the first word of "cc", so it can be a program name with args.
   2880 set dummy cc; ac_word=$2
   2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2882 $as_echo_n "checking for $ac_word... " >&6; }
   2883 if ${ac_cv_prog_CC+:} false; then :
   2884   $as_echo_n "(cached) " >&6
   2885 else
   2886   if test -n "$CC"; then
   2887   ac_cv_prog_CC="$CC" # Let the user override the test.
   2888 else
   2889   ac_prog_rejected=no
   2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2891 for as_dir in $PATH
   2892 do
   2893   IFS=$as_save_IFS
   2894   test -z "$as_dir" && as_dir=.
   2895     for ac_exec_ext in '' $ac_executable_extensions; do
   2896   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2897     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2898        ac_prog_rejected=yes
   2899        continue
   2900      fi
   2901     ac_cv_prog_CC="cc"
   2902     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2903     break 2
   2904   fi
   2905 done
   2906   done
   2907 IFS=$as_save_IFS
   2908 
   2909 if test $ac_prog_rejected = yes; then
   2910   # We found a bogon in the path, so make sure we never use it.
   2911   set dummy $ac_cv_prog_CC
   2912   shift
   2913   if test $# != 0; then
   2914     # We chose a different compiler from the bogus one.
   2915     # However, it has the same basename, so the bogon will be chosen
   2916     # first if we set CC to just the basename; use the full file name.
   2917     shift
   2918     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2919   fi
   2920 fi
   2921 fi
   2922 fi
   2923 CC=$ac_cv_prog_CC
   2924 if test -n "$CC"; then
   2925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2926 $as_echo "$CC" >&6; }
   2927 else
   2928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2929 $as_echo "no" >&6; }
   2930 fi
   2931 
   2932 
   2933 fi
   2934 if test -z "$CC"; then
   2935   if test -n "$ac_tool_prefix"; then
   2936   for ac_prog in cl.exe
   2937   do
   2938     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2939 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2941 $as_echo_n "checking for $ac_word... " >&6; }
   2942 if ${ac_cv_prog_CC+:} false; then :
   2943   $as_echo_n "(cached) " >&6
   2944 else
   2945   if test -n "$CC"; then
   2946   ac_cv_prog_CC="$CC" # Let the user override the test.
   2947 else
   2948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2949 for as_dir in $PATH
   2950 do
   2951   IFS=$as_save_IFS
   2952   test -z "$as_dir" && as_dir=.
   2953     for ac_exec_ext in '' $ac_executable_extensions; do
   2954   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2955     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2956     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2957     break 2
   2958   fi
   2959 done
   2960   done
   2961 IFS=$as_save_IFS
   2962 
   2963 fi
   2964 fi
   2965 CC=$ac_cv_prog_CC
   2966 if test -n "$CC"; then
   2967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2968 $as_echo "$CC" >&6; }
   2969 else
   2970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2971 $as_echo "no" >&6; }
   2972 fi
   2973 
   2974 
   2975     test -n "$CC" && break
   2976   done
   2977 fi
   2978 if test -z "$CC"; then
   2979   ac_ct_CC=$CC
   2980   for ac_prog in cl.exe
   2981 do
   2982   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2983 set dummy $ac_prog; ac_word=$2
   2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2985 $as_echo_n "checking for $ac_word... " >&6; }
   2986 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2987   $as_echo_n "(cached) " >&6
   2988 else
   2989   if test -n "$ac_ct_CC"; then
   2990   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2991 else
   2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2993 for as_dir in $PATH
   2994 do
   2995   IFS=$as_save_IFS
   2996   test -z "$as_dir" && as_dir=.
   2997     for ac_exec_ext in '' $ac_executable_extensions; do
   2998   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2999     ac_cv_prog_ac_ct_CC="$ac_prog"
   3000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3001     break 2
   3002   fi
   3003 done
   3004   done
   3005 IFS=$as_save_IFS
   3006 
   3007 fi
   3008 fi
   3009 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3010 if test -n "$ac_ct_CC"; then
   3011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3012 $as_echo "$ac_ct_CC" >&6; }
   3013 else
   3014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3015 $as_echo "no" >&6; }
   3016 fi
   3017 
   3018 
   3019   test -n "$ac_ct_CC" && break
   3020 done
   3021 
   3022   if test "x$ac_ct_CC" = x; then
   3023     CC=""
   3024   else
   3025     case $cross_compiling:$ac_tool_warned in
   3026 yes:)
   3027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3029 ac_tool_warned=yes ;;
   3030 esac
   3031     CC=$ac_ct_CC
   3032   fi
   3033 fi
   3034 
   3035 fi
   3036 
   3037 
   3038 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3039 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3040 as_fn_error $? "no acceptable C compiler found in \$PATH
   3041 See \`config.log' for more details" "$LINENO" 5; }
   3042 
   3043 # Provide some information about the compiler.
   3044 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3045 set X $ac_compile
   3046 ac_compiler=$2
   3047 for ac_option in --version -v -V -qversion; do
   3048   { { ac_try="$ac_compiler $ac_option >&5"
   3049 case "(($ac_try" in
   3050   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3051   *) ac_try_echo=$ac_try;;
   3052 esac
   3053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3054 $as_echo "$ac_try_echo"; } >&5
   3055   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3056   ac_status=$?
   3057   if test -s conftest.err; then
   3058     sed '10a\
   3059 ... rest of stderr output deleted ...
   3060          10q' conftest.err >conftest.er1
   3061     cat conftest.er1 >&5
   3062   fi
   3063   rm -f conftest.er1 conftest.err
   3064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3065   test $ac_status = 0; }
   3066 done
   3067 
   3068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3069 /* end confdefs.h.  */
   3070 
   3071 int
   3072 main ()
   3073 {
   3074 
   3075   ;
   3076   return 0;
   3077 }
   3078 _ACEOF
   3079 ac_clean_files_save=$ac_clean_files
   3080 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3081 # Try to create an executable without -o first, disregard a.out.
   3082 # It will help us diagnose broken compilers, and finding out an intuition
   3083 # of exeext.
   3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3085 $as_echo_n "checking whether the C compiler works... " >&6; }
   3086 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3087 
   3088 # The possible output files:
   3089 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3090 
   3091 ac_rmfiles=
   3092 for ac_file in $ac_files
   3093 do
   3094   case $ac_file in
   3095     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3096     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3097   esac
   3098 done
   3099 rm -f $ac_rmfiles
   3100 
   3101 if { { ac_try="$ac_link_default"
   3102 case "(($ac_try" in
   3103   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3104   *) ac_try_echo=$ac_try;;
   3105 esac
   3106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3107 $as_echo "$ac_try_echo"; } >&5
   3108   (eval "$ac_link_default") 2>&5
   3109   ac_status=$?
   3110   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3111   test $ac_status = 0; }; then :
   3112   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3113 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3114 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3115 # so that the user can short-circuit this test for compilers unknown to
   3116 # Autoconf.
   3117 for ac_file in $ac_files ''
   3118 do
   3119   test -f "$ac_file" || continue
   3120   case $ac_file in
   3121     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3122 	;;
   3123     [ab].out )
   3124 	# We found the default executable, but exeext='' is most
   3125 	# certainly right.
   3126 	break;;
   3127     *.* )
   3128 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3129 	then :; else
   3130 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3131 	fi
   3132 	# We set ac_cv_exeext here because the later test for it is not
   3133 	# safe: cross compilers may not add the suffix if given an `-o'
   3134 	# argument, so we may need to know it at that point already.
   3135 	# Even if this section looks crufty: it has the advantage of
   3136 	# actually working.
   3137 	break;;
   3138     * )
   3139 	break;;
   3140   esac
   3141 done
   3142 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3143 
   3144 else
   3145   ac_file=''
   3146 fi
   3147 if test -z "$ac_file"; then :
   3148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3149 $as_echo "no" >&6; }
   3150 $as_echo "$as_me: failed program was:" >&5
   3151 sed 's/^/| /' conftest.$ac_ext >&5
   3152 
   3153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3155 as_fn_error 77 "C compiler cannot create executables
   3156 See \`config.log' for more details" "$LINENO" 5; }
   3157 else
   3158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3159 $as_echo "yes" >&6; }
   3160 fi
   3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3162 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3164 $as_echo "$ac_file" >&6; }
   3165 ac_exeext=$ac_cv_exeext
   3166 
   3167 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3168 ac_clean_files=$ac_clean_files_save
   3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3170 $as_echo_n "checking for suffix of executables... " >&6; }
   3171 if { { ac_try="$ac_link"
   3172 case "(($ac_try" in
   3173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3174   *) ac_try_echo=$ac_try;;
   3175 esac
   3176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3177 $as_echo "$ac_try_echo"; } >&5
   3178   (eval "$ac_link") 2>&5
   3179   ac_status=$?
   3180   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3181   test $ac_status = 0; }; then :
   3182   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3183 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3184 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3185 # `rm'.
   3186 for ac_file in conftest.exe conftest conftest.*; do
   3187   test -f "$ac_file" || continue
   3188   case $ac_file in
   3189     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3190     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3191 	  break;;
   3192     * ) break;;
   3193   esac
   3194 done
   3195 else
   3196   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3198 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3199 See \`config.log' for more details" "$LINENO" 5; }
   3200 fi
   3201 rm -f conftest conftest$ac_cv_exeext
   3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3203 $as_echo "$ac_cv_exeext" >&6; }
   3204 
   3205 rm -f conftest.$ac_ext
   3206 EXEEXT=$ac_cv_exeext
   3207 ac_exeext=$EXEEXT
   3208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3209 /* end confdefs.h.  */
   3210 #include <stdio.h>
   3211 int
   3212 main ()
   3213 {
   3214 FILE *f = fopen ("conftest.out", "w");
   3215  return ferror (f) || fclose (f) != 0;
   3216 
   3217   ;
   3218   return 0;
   3219 }
   3220 _ACEOF
   3221 ac_clean_files="$ac_clean_files conftest.out"
   3222 # Check that the compiler produces executables we can run.  If not, either
   3223 # the compiler is broken, or we cross compile.
   3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3225 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3226 if test "$cross_compiling" != yes; then
   3227   { { ac_try="$ac_link"
   3228 case "(($ac_try" in
   3229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3230   *) ac_try_echo=$ac_try;;
   3231 esac
   3232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3233 $as_echo "$ac_try_echo"; } >&5
   3234   (eval "$ac_link") 2>&5
   3235   ac_status=$?
   3236   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3237   test $ac_status = 0; }
   3238   if { ac_try='./conftest$ac_cv_exeext'
   3239   { { case "(($ac_try" in
   3240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3241   *) ac_try_echo=$ac_try;;
   3242 esac
   3243 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3244 $as_echo "$ac_try_echo"; } >&5
   3245   (eval "$ac_try") 2>&5
   3246   ac_status=$?
   3247   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3248   test $ac_status = 0; }; }; then
   3249     cross_compiling=no
   3250   else
   3251     if test "$cross_compiling" = maybe; then
   3252 	cross_compiling=yes
   3253     else
   3254 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3256 as_fn_error $? "cannot run C compiled programs.
   3257 If you meant to cross compile, use \`--host'.
   3258 See \`config.log' for more details" "$LINENO" 5; }
   3259     fi
   3260   fi
   3261 fi
   3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3263 $as_echo "$cross_compiling" >&6; }
   3264 
   3265 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3266 ac_clean_files=$ac_clean_files_save
   3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3268 $as_echo_n "checking for suffix of object files... " >&6; }
   3269 if ${ac_cv_objext+:} false; then :
   3270   $as_echo_n "(cached) " >&6
   3271 else
   3272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3273 /* end confdefs.h.  */
   3274 
   3275 int
   3276 main ()
   3277 {
   3278 
   3279   ;
   3280   return 0;
   3281 }
   3282 _ACEOF
   3283 rm -f conftest.o conftest.obj
   3284 if { { ac_try="$ac_compile"
   3285 case "(($ac_try" in
   3286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3287   *) ac_try_echo=$ac_try;;
   3288 esac
   3289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3290 $as_echo "$ac_try_echo"; } >&5
   3291   (eval "$ac_compile") 2>&5
   3292   ac_status=$?
   3293   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3294   test $ac_status = 0; }; then :
   3295   for ac_file in conftest.o conftest.obj conftest.*; do
   3296   test -f "$ac_file" || continue;
   3297   case $ac_file in
   3298     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3299     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3300        break;;
   3301   esac
   3302 done
   3303 else
   3304   $as_echo "$as_me: failed program was:" >&5
   3305 sed 's/^/| /' conftest.$ac_ext >&5
   3306 
   3307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3309 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3310 See \`config.log' for more details" "$LINENO" 5; }
   3311 fi
   3312 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3313 fi
   3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3315 $as_echo "$ac_cv_objext" >&6; }
   3316 OBJEXT=$ac_cv_objext
   3317 ac_objext=$OBJEXT
   3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3319 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3320 if ${ac_cv_c_compiler_gnu+:} false; then :
   3321   $as_echo_n "(cached) " >&6
   3322 else
   3323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3324 /* end confdefs.h.  */
   3325 
   3326 int
   3327 main ()
   3328 {
   3329 #ifndef __GNUC__
   3330        choke me
   3331 #endif
   3332 
   3333   ;
   3334   return 0;
   3335 }
   3336 _ACEOF
   3337 if ac_fn_c_try_compile "$LINENO"; then :
   3338   ac_compiler_gnu=yes
   3339 else
   3340   ac_compiler_gnu=no
   3341 fi
   3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3343 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3344 
   3345 fi
   3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3347 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3348 if test $ac_compiler_gnu = yes; then
   3349   GCC=yes
   3350 else
   3351   GCC=
   3352 fi
   3353 ac_test_CFLAGS=${CFLAGS+set}
   3354 ac_save_CFLAGS=$CFLAGS
   3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3356 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3357 if ${ac_cv_prog_cc_g+:} false; then :
   3358   $as_echo_n "(cached) " >&6
   3359 else
   3360   ac_save_c_werror_flag=$ac_c_werror_flag
   3361    ac_c_werror_flag=yes
   3362    ac_cv_prog_cc_g=no
   3363    CFLAGS="-g"
   3364    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3365 /* end confdefs.h.  */
   3366 
   3367 int
   3368 main ()
   3369 {
   3370 
   3371   ;
   3372   return 0;
   3373 }
   3374 _ACEOF
   3375 if ac_fn_c_try_compile "$LINENO"; then :
   3376   ac_cv_prog_cc_g=yes
   3377 else
   3378   CFLAGS=""
   3379       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3380 /* end confdefs.h.  */
   3381 
   3382 int
   3383 main ()
   3384 {
   3385 
   3386   ;
   3387   return 0;
   3388 }
   3389 _ACEOF
   3390 if ac_fn_c_try_compile "$LINENO"; then :
   3391 
   3392 else
   3393   ac_c_werror_flag=$ac_save_c_werror_flag
   3394 	 CFLAGS="-g"
   3395 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3396 /* end confdefs.h.  */
   3397 
   3398 int
   3399 main ()
   3400 {
   3401 
   3402   ;
   3403   return 0;
   3404 }
   3405 _ACEOF
   3406 if ac_fn_c_try_compile "$LINENO"; then :
   3407   ac_cv_prog_cc_g=yes
   3408 fi
   3409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3410 fi
   3411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3412 fi
   3413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3414    ac_c_werror_flag=$ac_save_c_werror_flag
   3415 fi
   3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3417 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3418 if test "$ac_test_CFLAGS" = set; then
   3419   CFLAGS=$ac_save_CFLAGS
   3420 elif test $ac_cv_prog_cc_g = yes; then
   3421   if test "$GCC" = yes; then
   3422     CFLAGS="-g -O2"
   3423   else
   3424     CFLAGS="-g"
   3425   fi
   3426 else
   3427   if test "$GCC" = yes; then
   3428     CFLAGS="-O2"
   3429   else
   3430     CFLAGS=
   3431   fi
   3432 fi
   3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3434 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3435 if ${ac_cv_prog_cc_c89+:} false; then :
   3436   $as_echo_n "(cached) " >&6
   3437 else
   3438   ac_cv_prog_cc_c89=no
   3439 ac_save_CC=$CC
   3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3441 /* end confdefs.h.  */
   3442 #include <stdarg.h>
   3443 #include <stdio.h>
   3444 struct stat;
   3445 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3446 struct buf { int x; };
   3447 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3448 static char *e (p, i)
   3449      char **p;
   3450      int i;
   3451 {
   3452   return p[i];
   3453 }
   3454 static char *f (char * (*g) (char **, int), char **p, ...)
   3455 {
   3456   char *s;
   3457   va_list v;
   3458   va_start (v,p);
   3459   s = g (p, va_arg (v,int));
   3460   va_end (v);
   3461   return s;
   3462 }
   3463 
   3464 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3465    function prototypes and stuff, but not '\xHH' hex character constants.
   3466    These don't provoke an error unfortunately, instead are silently treated
   3467    as 'x'.  The following induces an error, until -std is added to get
   3468    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3469    array size at least.  It's necessary to write '\x00'==0 to get something
   3470    that's true only with -std.  */
   3471 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3472 
   3473 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3474    inside strings and character constants.  */
   3475 #define FOO(x) 'x'
   3476 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3477 
   3478 int test (int i, double x);
   3479 struct s1 {int (*f) (int a);};
   3480 struct s2 {int (*f) (double a);};
   3481 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3482 int argc;
   3483 char **argv;
   3484 int
   3485 main ()
   3486 {
   3487 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3488   ;
   3489   return 0;
   3490 }
   3491 _ACEOF
   3492 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3493 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3494 do
   3495   CC="$ac_save_CC $ac_arg"
   3496   if ac_fn_c_try_compile "$LINENO"; then :
   3497   ac_cv_prog_cc_c89=$ac_arg
   3498 fi
   3499 rm -f core conftest.err conftest.$ac_objext
   3500   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3501 done
   3502 rm -f conftest.$ac_ext
   3503 CC=$ac_save_CC
   3504 
   3505 fi
   3506 # AC_CACHE_VAL
   3507 case "x$ac_cv_prog_cc_c89" in
   3508   x)
   3509     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3510 $as_echo "none needed" >&6; } ;;
   3511   xno)
   3512     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3513 $as_echo "unsupported" >&6; } ;;
   3514   *)
   3515     CC="$CC $ac_cv_prog_cc_c89"
   3516     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3517 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3518 esac
   3519 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3520 
   3521 fi
   3522 
   3523 ac_ext=c
   3524 ac_cpp='$CPP $CPPFLAGS'
   3525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3528 
   3529 ac_ext=c
   3530 ac_cpp='$CPP $CPPFLAGS'
   3531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3535 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3536 if ${am_cv_prog_cc_c_o+:} false; then :
   3537   $as_echo_n "(cached) " >&6
   3538 else
   3539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3540 /* end confdefs.h.  */
   3541 
   3542 int
   3543 main ()
   3544 {
   3545 
   3546   ;
   3547   return 0;
   3548 }
   3549 _ACEOF
   3550   # Make sure it works both with $CC and with simple cc.
   3551   # Following AC_PROG_CC_C_O, we do the test twice because some
   3552   # compilers refuse to overwrite an existing .o file with -o,
   3553   # though they will create one.
   3554   am_cv_prog_cc_c_o=yes
   3555   for am_i in 1 2; do
   3556     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3557    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3558    ac_status=$?
   3559    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3560    (exit $ac_status); } \
   3561          && test -f conftest2.$ac_objext; then
   3562       : OK
   3563     else
   3564       am_cv_prog_cc_c_o=no
   3565       break
   3566     fi
   3567   done
   3568   rm -f core conftest*
   3569   unset am_i
   3570 fi
   3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3572 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3573 if test "$am_cv_prog_cc_c_o" != yes; then
   3574    # Losing compiler, so override with the script.
   3575    # FIXME: It is wrong to rewrite CC.
   3576    # But if we don't then we get into trouble of one sort or another.
   3577    # A longer-term fix would be to have automake use am__CC in this case,
   3578    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3579    CC="$am_aux_dir/compile $CC"
   3580 fi
   3581 ac_ext=c
   3582 ac_cpp='$CPP $CPPFLAGS'
   3583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3586 
   3587 
   3588 
   3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
   3590 $as_echo_n "checking for library containing strerror... " >&6; }
   3591 if ${ac_cv_search_strerror+:} false; then :
   3592   $as_echo_n "(cached) " >&6
   3593 else
   3594   ac_func_search_save_LIBS=$LIBS
   3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3596 /* end confdefs.h.  */
   3597 
   3598 /* Override any GCC internal prototype to avoid an error.
   3599    Use char because int might match the return type of a GCC
   3600    builtin and then its argument prototype would still apply.  */
   3601 #ifdef __cplusplus
   3602 extern "C"
   3603 #endif
   3604 char strerror ();
   3605 int
   3606 main ()
   3607 {
   3608 return strerror ();
   3609   ;
   3610   return 0;
   3611 }
   3612 _ACEOF
   3613 for ac_lib in '' cposix; do
   3614   if test -z "$ac_lib"; then
   3615     ac_res="none required"
   3616   else
   3617     ac_res=-l$ac_lib
   3618     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   3619   fi
   3620   if ac_fn_c_try_link "$LINENO"; then :
   3621   ac_cv_search_strerror=$ac_res
   3622 fi
   3623 rm -f core conftest.err conftest.$ac_objext \
   3624     conftest$ac_exeext
   3625   if ${ac_cv_search_strerror+:} false; then :
   3626   break
   3627 fi
   3628 done
   3629 if ${ac_cv_search_strerror+:} false; then :
   3630 
   3631 else
   3632   ac_cv_search_strerror=no
   3633 fi
   3634 rm conftest.$ac_ext
   3635 LIBS=$ac_func_search_save_LIBS
   3636 fi
   3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
   3638 $as_echo "$ac_cv_search_strerror" >&6; }
   3639 ac_res=$ac_cv_search_strerror
   3640 if test "$ac_res" != no; then :
   3641   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   3642 
   3643 fi
   3644 
   3645 
   3646 am__api_version='1.15'
   3647 
   3648 # Find a good install program.  We prefer a C program (faster),
   3649 # so one script is as good as another.  But avoid the broken or
   3650 # incompatible versions:
   3651 # SysV /etc/install, /usr/sbin/install
   3652 # SunOS /usr/etc/install
   3653 # IRIX /sbin/install
   3654 # AIX /bin/install
   3655 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3656 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3657 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3658 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3659 # OS/2's system install, which has a completely different semantic
   3660 # ./install, which can be erroneously created by make from ./install.sh.
   3661 # Reject install programs that cannot install multiple files.
   3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3663 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3664 if test -z "$INSTALL"; then
   3665 if ${ac_cv_path_install+:} false; then :
   3666   $as_echo_n "(cached) " >&6
   3667 else
   3668   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3669 for as_dir in $PATH
   3670 do
   3671   IFS=$as_save_IFS
   3672   test -z "$as_dir" && as_dir=.
   3673     # Account for people who put trailing slashes in PATH elements.
   3674 case $as_dir/ in #((
   3675   ./ | .// | /[cC]/* | \
   3676   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3677   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3678   /usr/ucb/* ) ;;
   3679   *)
   3680     # OSF1 and SCO ODT 3.0 have their own names for install.
   3681     # Don't use installbsd from OSF since it installs stuff as root
   3682     # by default.
   3683     for ac_prog in ginstall scoinst install; do
   3684       for ac_exec_ext in '' $ac_executable_extensions; do
   3685 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3686 	  if test $ac_prog = install &&
   3687 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3688 	    # AIX install.  It has an incompatible calling convention.
   3689 	    :
   3690 	  elif test $ac_prog = install &&
   3691 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3692 	    # program-specific install script used by HP pwplus--don't use.
   3693 	    :
   3694 	  else
   3695 	    rm -rf conftest.one conftest.two conftest.dir
   3696 	    echo one > conftest.one
   3697 	    echo two > conftest.two
   3698 	    mkdir conftest.dir
   3699 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3700 	      test -s conftest.one && test -s conftest.two &&
   3701 	      test -s conftest.dir/conftest.one &&
   3702 	      test -s conftest.dir/conftest.two
   3703 	    then
   3704 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3705 	      break 3
   3706 	    fi
   3707 	  fi
   3708 	fi
   3709       done
   3710     done
   3711     ;;
   3712 esac
   3713 
   3714   done
   3715 IFS=$as_save_IFS
   3716 
   3717 rm -rf conftest.one conftest.two conftest.dir
   3718 
   3719 fi
   3720   if test "${ac_cv_path_install+set}" = set; then
   3721     INSTALL=$ac_cv_path_install
   3722   else
   3723     # As a last resort, use the slow shell script.  Don't cache a
   3724     # value for INSTALL within a source directory, because that will
   3725     # break other packages using the cache if that directory is
   3726     # removed, or if the value is a relative name.
   3727     INSTALL=$ac_install_sh
   3728   fi
   3729 fi
   3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3731 $as_echo "$INSTALL" >&6; }
   3732 
   3733 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3734 # It thinks the first close brace ends the variable substitution.
   3735 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3736 
   3737 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3738 
   3739 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3740 
   3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3742 $as_echo_n "checking whether build environment is sane... " >&6; }
   3743 # Reject unsafe characters in $srcdir or the absolute working directory
   3744 # name.  Accept space and tab only in the latter.
   3745 am_lf='
   3746 '
   3747 case `pwd` in
   3748   *[\\\"\#\$\&\'\`$am_lf]*)
   3749     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3750 esac
   3751 case $srcdir in
   3752   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3753     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3754 esac
   3755 
   3756 # Do 'set' in a subshell so we don't clobber the current shell's
   3757 # arguments.  Must try -L first in case configure is actually a
   3758 # symlink; some systems play weird games with the mod time of symlinks
   3759 # (eg FreeBSD returns the mod time of the symlink's containing
   3760 # directory).
   3761 if (
   3762    am_has_slept=no
   3763    for am_try in 1 2; do
   3764      echo "timestamp, slept: $am_has_slept" > conftest.file
   3765      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3766      if test "$*" = "X"; then
   3767 	# -L didn't work.
   3768 	set X `ls -t "$srcdir/configure" conftest.file`
   3769      fi
   3770      if test "$*" != "X $srcdir/configure conftest.file" \
   3771 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3772 
   3773 	# If neither matched, then we have a broken ls.  This can happen
   3774 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3775 	# broken ls alias from the environment.  This has actually
   3776 	# happened.  Such a system could not be considered "sane".
   3777 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3778   alias in your environment" "$LINENO" 5
   3779      fi
   3780      if test "$2" = conftest.file || test $am_try -eq 2; then
   3781        break
   3782      fi
   3783      # Just in case.
   3784      sleep 1
   3785      am_has_slept=yes
   3786    done
   3787    test "$2" = conftest.file
   3788    )
   3789 then
   3790    # Ok.
   3791    :
   3792 else
   3793    as_fn_error $? "newly created file is older than distributed files!
   3794 Check your system clock" "$LINENO" 5
   3795 fi
   3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3797 $as_echo "yes" >&6; }
   3798 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3799 # generated files are strictly newer.
   3800 am_sleep_pid=
   3801 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3802   ( sleep 1 ) &
   3803   am_sleep_pid=$!
   3804 fi
   3805 
   3806 rm -f conftest.file
   3807 
   3808 test "$program_prefix" != NONE &&
   3809   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3810 # Use a double $ so make ignores it.
   3811 test "$program_suffix" != NONE &&
   3812   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3813 # Double any \ or $.
   3814 # By default was `s,x,x', remove it if useless.
   3815 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3816 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3817 
   3818 if test x"${MISSING+set}" != xset; then
   3819   case $am_aux_dir in
   3820   *\ * | *\	*)
   3821     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3822   *)
   3823     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3824   esac
   3825 fi
   3826 # Use eval to expand $SHELL
   3827 if eval "$MISSING --is-lightweight"; then
   3828   am_missing_run="$MISSING "
   3829 else
   3830   am_missing_run=
   3831   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3832 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3833 fi
   3834 
   3835 if test x"${install_sh+set}" != xset; then
   3836   case $am_aux_dir in
   3837   *\ * | *\	*)
   3838     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3839   *)
   3840     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3841   esac
   3842 fi
   3843 
   3844 # Installed binaries are usually stripped using 'strip' when the user
   3845 # run "make install-strip".  However 'strip' might not be the right
   3846 # tool to use in cross-compilation environments, therefore Automake
   3847 # will honor the 'STRIP' environment variable to overrule this program.
   3848 if test "$cross_compiling" != no; then
   3849   if test -n "$ac_tool_prefix"; then
   3850   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3851 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3853 $as_echo_n "checking for $ac_word... " >&6; }
   3854 if ${ac_cv_prog_STRIP+:} false; then :
   3855   $as_echo_n "(cached) " >&6
   3856 else
   3857   if test -n "$STRIP"; then
   3858   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3859 else
   3860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3861 for as_dir in $PATH
   3862 do
   3863   IFS=$as_save_IFS
   3864   test -z "$as_dir" && as_dir=.
   3865     for ac_exec_ext in '' $ac_executable_extensions; do
   3866   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3867     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3868     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3869     break 2
   3870   fi
   3871 done
   3872   done
   3873 IFS=$as_save_IFS
   3874 
   3875 fi
   3876 fi
   3877 STRIP=$ac_cv_prog_STRIP
   3878 if test -n "$STRIP"; then
   3879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3880 $as_echo "$STRIP" >&6; }
   3881 else
   3882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3883 $as_echo "no" >&6; }
   3884 fi
   3885 
   3886 
   3887 fi
   3888 if test -z "$ac_cv_prog_STRIP"; then
   3889   ac_ct_STRIP=$STRIP
   3890   # Extract the first word of "strip", so it can be a program name with args.
   3891 set dummy strip; ac_word=$2
   3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3893 $as_echo_n "checking for $ac_word... " >&6; }
   3894 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3895   $as_echo_n "(cached) " >&6
   3896 else
   3897   if test -n "$ac_ct_STRIP"; then
   3898   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3899 else
   3900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3901 for as_dir in $PATH
   3902 do
   3903   IFS=$as_save_IFS
   3904   test -z "$as_dir" && as_dir=.
   3905     for ac_exec_ext in '' $ac_executable_extensions; do
   3906   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3907     ac_cv_prog_ac_ct_STRIP="strip"
   3908     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3909     break 2
   3910   fi
   3911 done
   3912   done
   3913 IFS=$as_save_IFS
   3914 
   3915 fi
   3916 fi
   3917 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3918 if test -n "$ac_ct_STRIP"; then
   3919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3920 $as_echo "$ac_ct_STRIP" >&6; }
   3921 else
   3922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3923 $as_echo "no" >&6; }
   3924 fi
   3925 
   3926   if test "x$ac_ct_STRIP" = x; then
   3927     STRIP=":"
   3928   else
   3929     case $cross_compiling:$ac_tool_warned in
   3930 yes:)
   3931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3932 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3933 ac_tool_warned=yes ;;
   3934 esac
   3935     STRIP=$ac_ct_STRIP
   3936   fi
   3937 else
   3938   STRIP="$ac_cv_prog_STRIP"
   3939 fi
   3940 
   3941 fi
   3942 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3943 
   3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3945 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3946 if test -z "$MKDIR_P"; then
   3947   if ${ac_cv_path_mkdir+:} false; then :
   3948   $as_echo_n "(cached) " >&6
   3949 else
   3950   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3951 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3952 do
   3953   IFS=$as_save_IFS
   3954   test -z "$as_dir" && as_dir=.
   3955     for ac_prog in mkdir gmkdir; do
   3956 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3957 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3958 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3959 	     'mkdir (GNU coreutils) '* | \
   3960 	     'mkdir (coreutils) '* | \
   3961 	     'mkdir (fileutils) '4.1*)
   3962 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3963 	       break 3;;
   3964 	   esac
   3965 	 done
   3966        done
   3967   done
   3968 IFS=$as_save_IFS
   3969 
   3970 fi
   3971 
   3972   test -d ./--version && rmdir ./--version
   3973   if test "${ac_cv_path_mkdir+set}" = set; then
   3974     MKDIR_P="$ac_cv_path_mkdir -p"
   3975   else
   3976     # As a last resort, use the slow shell script.  Don't cache a
   3977     # value for MKDIR_P within a source directory, because that will
   3978     # break other packages using the cache if that directory is
   3979     # removed, or if the value is a relative name.
   3980     MKDIR_P="$ac_install_sh -d"
   3981   fi
   3982 fi
   3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3984 $as_echo "$MKDIR_P" >&6; }
   3985 
   3986 for ac_prog in gawk mawk nawk awk
   3987 do
   3988   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3989 set dummy $ac_prog; ac_word=$2
   3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3991 $as_echo_n "checking for $ac_word... " >&6; }
   3992 if ${ac_cv_prog_AWK+:} false; then :
   3993   $as_echo_n "(cached) " >&6
   3994 else
   3995   if test -n "$AWK"; then
   3996   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3997 else
   3998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3999 for as_dir in $PATH
   4000 do
   4001   IFS=$as_save_IFS
   4002   test -z "$as_dir" && as_dir=.
   4003     for ac_exec_ext in '' $ac_executable_extensions; do
   4004   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4005     ac_cv_prog_AWK="$ac_prog"
   4006     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4007     break 2
   4008   fi
   4009 done
   4010   done
   4011 IFS=$as_save_IFS
   4012 
   4013 fi
   4014 fi
   4015 AWK=$ac_cv_prog_AWK
   4016 if test -n "$AWK"; then
   4017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4018 $as_echo "$AWK" >&6; }
   4019 else
   4020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4021 $as_echo "no" >&6; }
   4022 fi
   4023 
   4024 
   4025   test -n "$AWK" && break
   4026 done
   4027 
   4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4029 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4030 set x ${MAKE-make}
   4031 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4032 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4033   $as_echo_n "(cached) " >&6
   4034 else
   4035   cat >conftest.make <<\_ACEOF
   4036 SHELL = /bin/sh
   4037 all:
   4038 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4039 _ACEOF
   4040 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4041 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4042   *@@@%%%=?*=@@@%%%*)
   4043     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4044   *)
   4045     eval ac_cv_prog_make_${ac_make}_set=no;;
   4046 esac
   4047 rm -f conftest.make
   4048 fi
   4049 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4051 $as_echo "yes" >&6; }
   4052   SET_MAKE=
   4053 else
   4054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4055 $as_echo "no" >&6; }
   4056   SET_MAKE="MAKE=${MAKE-make}"
   4057 fi
   4058 
   4059 rm -rf .tst 2>/dev/null
   4060 mkdir .tst 2>/dev/null
   4061 if test -d .tst; then
   4062   am__leading_dot=.
   4063 else
   4064   am__leading_dot=_
   4065 fi
   4066 rmdir .tst 2>/dev/null
   4067 
   4068 DEPDIR="${am__leading_dot}deps"
   4069 
   4070 ac_config_commands="$ac_config_commands depfiles"
   4071 
   4072 
   4073 am_make=${MAKE-make}
   4074 cat > confinc << 'END'
   4075 am__doit:
   4076 	@echo this is the am__doit target
   4077 .PHONY: am__doit
   4078 END
   4079 # If we don't find an include directive, just comment out the code.
   4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4081 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4082 am__include="#"
   4083 am__quote=
   4084 _am_result=none
   4085 # First try GNU make style include.
   4086 echo "include confinc" > confmf
   4087 # Ignore all kinds of additional output from 'make'.
   4088 case `$am_make -s -f confmf 2> /dev/null` in #(
   4089 *the\ am__doit\ target*)
   4090   am__include=include
   4091   am__quote=
   4092   _am_result=GNU
   4093   ;;
   4094 esac
   4095 # Now try BSD make style include.
   4096 if test "$am__include" = "#"; then
   4097    echo '.include "confinc"' > confmf
   4098    case `$am_make -s -f confmf 2> /dev/null` in #(
   4099    *the\ am__doit\ target*)
   4100      am__include=.include
   4101      am__quote="\""
   4102      _am_result=BSD
   4103      ;;
   4104    esac
   4105 fi
   4106 
   4107 
   4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4109 $as_echo "$_am_result" >&6; }
   4110 rm -f confinc confmf
   4111 
   4112 # Check whether --enable-dependency-tracking was given.
   4113 if test "${enable_dependency_tracking+set}" = set; then :
   4114   enableval=$enable_dependency_tracking;
   4115 fi
   4116 
   4117 if test "x$enable_dependency_tracking" != xno; then
   4118   am_depcomp="$ac_aux_dir/depcomp"
   4119   AMDEPBACKSLASH='\'
   4120   am__nodep='_no'
   4121 fi
   4122  if test "x$enable_dependency_tracking" != xno; then
   4123   AMDEP_TRUE=
   4124   AMDEP_FALSE='#'
   4125 else
   4126   AMDEP_TRUE='#'
   4127   AMDEP_FALSE=
   4128 fi
   4129 
   4130 
   4131 # Check whether --enable-silent-rules was given.
   4132 if test "${enable_silent_rules+set}" = set; then :
   4133   enableval=$enable_silent_rules;
   4134 fi
   4135 
   4136 case $enable_silent_rules in # (((
   4137   yes) AM_DEFAULT_VERBOSITY=0;;
   4138    no) AM_DEFAULT_VERBOSITY=1;;
   4139     *) AM_DEFAULT_VERBOSITY=1;;
   4140 esac
   4141 am_make=${MAKE-make}
   4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4143 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4144 if ${am_cv_make_support_nested_variables+:} false; then :
   4145   $as_echo_n "(cached) " >&6
   4146 else
   4147   if $as_echo 'TRUE=$(BAR$(V))
   4148 BAR0=false
   4149 BAR1=true
   4150 V=1
   4151 am__doit:
   4152 	@$(TRUE)
   4153 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4154   am_cv_make_support_nested_variables=yes
   4155 else
   4156   am_cv_make_support_nested_variables=no
   4157 fi
   4158 fi
   4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4160 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4161 if test $am_cv_make_support_nested_variables = yes; then
   4162     AM_V='$(V)'
   4163   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4164 else
   4165   AM_V=$AM_DEFAULT_VERBOSITY
   4166   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4167 fi
   4168 AM_BACKSLASH='\'
   4169 
   4170 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4171   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4172   # is not polluted with repeated "-I."
   4173   am__isrc=' -I$(srcdir)'
   4174   # test to see if srcdir already configured
   4175   if test -f $srcdir/config.status; then
   4176     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4177   fi
   4178 fi
   4179 
   4180 # test whether we have cygpath
   4181 if test -z "$CYGPATH_W"; then
   4182   if (cygpath --version) >/dev/null 2>/dev/null; then
   4183     CYGPATH_W='cygpath -w'
   4184   else
   4185     CYGPATH_W=echo
   4186   fi
   4187 fi
   4188 
   4189 
   4190 # Define the identity of the package.
   4191  PACKAGE='bfd'
   4192  VERSION='2.35.50'
   4193 
   4194 
   4195 cat >>confdefs.h <<_ACEOF
   4196 #define PACKAGE "$PACKAGE"
   4197 _ACEOF
   4198 
   4199 
   4200 cat >>confdefs.h <<_ACEOF
   4201 #define VERSION "$VERSION"
   4202 _ACEOF
   4203 
   4204 # Some tools Automake needs.
   4205 
   4206 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4207 
   4208 
   4209 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4210 
   4211 
   4212 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4213 
   4214 
   4215 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4216 
   4217 
   4218 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4219 
   4220 # For better backward compatibility.  To be removed once Automake 1.9.x
   4221 # dies out for good.  For more background, see:
   4222 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4223 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4224 mkdir_p='$(MKDIR_P)'
   4225 
   4226 # We need awk for the "check" target (and possibly the TAP driver).  The
   4227 # system "awk" is bad on some platforms.
   4228 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4229 # in the wild :-(  We should find a proper way to deprecate it ...
   4230 AMTAR='$${TAR-tar}'
   4231 
   4232 
   4233 # We'll loop over all known methods to create a tar archive until one works.
   4234 _am_tools='gnutar  pax cpio none'
   4235 
   4236 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4237 
   4238 
   4239 
   4240 
   4241 
   4242 depcc="$CC"   am_compiler_list=
   4243 
   4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4245 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4246 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4247   $as_echo_n "(cached) " >&6
   4248 else
   4249   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4250   # We make a subdir and do the tests there.  Otherwise we can end up
   4251   # making bogus files that we don't know about and never remove.  For
   4252   # instance it was reported that on HP-UX the gcc test will end up
   4253   # making a dummy file named 'D' -- because '-MD' means "put the output
   4254   # in D".
   4255   rm -rf conftest.dir
   4256   mkdir conftest.dir
   4257   # Copy depcomp to subdir because otherwise we won't find it if we're
   4258   # using a relative directory.
   4259   cp "$am_depcomp" conftest.dir
   4260   cd conftest.dir
   4261   # We will build objects and dependencies in a subdirectory because
   4262   # it helps to detect inapplicable dependency modes.  For instance
   4263   # both Tru64's cc and ICC support -MD to output dependencies as a
   4264   # side effect of compilation, but ICC will put the dependencies in
   4265   # the current directory while Tru64 will put them in the object
   4266   # directory.
   4267   mkdir sub
   4268 
   4269   am_cv_CC_dependencies_compiler_type=none
   4270   if test "$am_compiler_list" = ""; then
   4271      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4272   fi
   4273   am__universal=false
   4274   case " $depcc " in #(
   4275      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4276      esac
   4277 
   4278   for depmode in $am_compiler_list; do
   4279     # Setup a source with many dependencies, because some compilers
   4280     # like to wrap large dependency lists on column 80 (with \), and
   4281     # we should not choose a depcomp mode which is confused by this.
   4282     #
   4283     # We need to recreate these files for each test, as the compiler may
   4284     # overwrite some of them when testing with obscure command lines.
   4285     # This happens at least with the AIX C compiler.
   4286     : > sub/conftest.c
   4287     for i in 1 2 3 4 5 6; do
   4288       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4289       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4290       # Solaris 10 /bin/sh.
   4291       echo '/* dummy */' > sub/conftst$i.h
   4292     done
   4293     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4294 
   4295     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4296     # mode.  It turns out that the SunPro C++ compiler does not properly
   4297     # handle '-M -o', and we need to detect this.  Also, some Intel
   4298     # versions had trouble with output in subdirs.
   4299     am__obj=sub/conftest.${OBJEXT-o}
   4300     am__minus_obj="-o $am__obj"
   4301     case $depmode in
   4302     gcc)
   4303       # This depmode causes a compiler race in universal mode.
   4304       test "$am__universal" = false || continue
   4305       ;;
   4306     nosideeffect)
   4307       # After this tag, mechanisms are not by side-effect, so they'll
   4308       # only be used when explicitly requested.
   4309       if test "x$enable_dependency_tracking" = xyes; then
   4310 	continue
   4311       else
   4312 	break
   4313       fi
   4314       ;;
   4315     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4316       # This compiler won't grok '-c -o', but also, the minuso test has
   4317       # not run yet.  These depmodes are late enough in the game, and
   4318       # so weak that their functioning should not be impacted.
   4319       am__obj=conftest.${OBJEXT-o}
   4320       am__minus_obj=
   4321       ;;
   4322     none) break ;;
   4323     esac
   4324     if depmode=$depmode \
   4325        source=sub/conftest.c object=$am__obj \
   4326        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4327        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4328          >/dev/null 2>conftest.err &&
   4329        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4330        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4331        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4332        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4333       # icc doesn't choke on unknown options, it will just issue warnings
   4334       # or remarks (even with -Werror).  So we grep stderr for any message
   4335       # that says an option was ignored or not supported.
   4336       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4337       #   icc: Command line warning: ignoring option '-M'; no argument required
   4338       # The diagnosis changed in icc 8.0:
   4339       #   icc: Command line remark: option '-MP' not supported
   4340       if (grep 'ignoring option' conftest.err ||
   4341           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4342         am_cv_CC_dependencies_compiler_type=$depmode
   4343         break
   4344       fi
   4345     fi
   4346   done
   4347 
   4348   cd ..
   4349   rm -rf conftest.dir
   4350 else
   4351   am_cv_CC_dependencies_compiler_type=none
   4352 fi
   4353 
   4354 fi
   4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4356 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4357 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4358 
   4359  if
   4360   test "x$enable_dependency_tracking" != xno \
   4361   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4362   am__fastdepCC_TRUE=
   4363   am__fastdepCC_FALSE='#'
   4364 else
   4365   am__fastdepCC_TRUE='#'
   4366   am__fastdepCC_FALSE=
   4367 fi
   4368 
   4369 
   4370 
   4371 # POSIX will say in a future version that running "rm -f" with no argument
   4372 # is OK; and we want to be able to make that assumption in our Makefile
   4373 # recipes.  So use an aggressive probe to check that the usage we want is
   4374 # actually supported "in the wild" to an acceptable degree.
   4375 # See automake bug#10828.
   4376 # To make any issue more visible, cause the running configure to be aborted
   4377 # by default if the 'rm' program in use doesn't match our expectations; the
   4378 # user can still override this though.
   4379 if rm -f && rm -fr && rm -rf; then : OK; else
   4380   cat >&2 <<'END'
   4381 Oops!
   4382 
   4383 Your 'rm' program seems unable to run without file operands specified
   4384 on the command line, even when the '-f' option is present.  This is contrary
   4385 to the behaviour of most rm programs out there, and not conforming with
   4386 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4387 
   4388 Please tell bug-automake@gnu.org about your system, including the value
   4389 of your $PATH and any error possibly output before this message.  This
   4390 can help us improve future automake versions.
   4391 
   4392 END
   4393   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4394     echo 'Configuration will proceed anyway, since you have set the' >&2
   4395     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4396     echo >&2
   4397   else
   4398     cat >&2 <<'END'
   4399 Aborting the configuration process, to ensure you take notice of the issue.
   4400 
   4401 You can download and install GNU coreutils to get an 'rm' implementation
   4402 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4403 
   4404 If you want to complete the configuration process using your problematic
   4405 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4406 to "yes", and re-run configure.
   4407 
   4408 END
   4409     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4410   fi
   4411 fi
   4412 
   4413 
   4414 if test -n "$ac_tool_prefix"; then
   4415   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   4416 set dummy ${ac_tool_prefix}ar; ac_word=$2
   4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4418 $as_echo_n "checking for $ac_word... " >&6; }
   4419 if ${ac_cv_prog_AR+:} false; then :
   4420   $as_echo_n "(cached) " >&6
   4421 else
   4422   if test -n "$AR"; then
   4423   ac_cv_prog_AR="$AR" # Let the user override the test.
   4424 else
   4425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4426 for as_dir in $PATH
   4427 do
   4428   IFS=$as_save_IFS
   4429   test -z "$as_dir" && as_dir=.
   4430     for ac_exec_ext in '' $ac_executable_extensions; do
   4431   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4432     ac_cv_prog_AR="${ac_tool_prefix}ar"
   4433     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4434     break 2
   4435   fi
   4436 done
   4437   done
   4438 IFS=$as_save_IFS
   4439 
   4440 fi
   4441 fi
   4442 AR=$ac_cv_prog_AR
   4443 if test -n "$AR"; then
   4444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   4445 $as_echo "$AR" >&6; }
   4446 else
   4447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4448 $as_echo "no" >&6; }
   4449 fi
   4450 
   4451 
   4452 fi
   4453 if test -z "$ac_cv_prog_AR"; then
   4454   ac_ct_AR=$AR
   4455   # Extract the first word of "ar", so it can be a program name with args.
   4456 set dummy ar; ac_word=$2
   4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4458 $as_echo_n "checking for $ac_word... " >&6; }
   4459 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   4460   $as_echo_n "(cached) " >&6
   4461 else
   4462   if test -n "$ac_ct_AR"; then
   4463   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   4464 else
   4465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4466 for as_dir in $PATH
   4467 do
   4468   IFS=$as_save_IFS
   4469   test -z "$as_dir" && as_dir=.
   4470     for ac_exec_ext in '' $ac_executable_extensions; do
   4471   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4472     ac_cv_prog_ac_ct_AR="ar"
   4473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4474     break 2
   4475   fi
   4476 done
   4477   done
   4478 IFS=$as_save_IFS
   4479 
   4480 fi
   4481 fi
   4482 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   4483 if test -n "$ac_ct_AR"; then
   4484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   4485 $as_echo "$ac_ct_AR" >&6; }
   4486 else
   4487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4488 $as_echo "no" >&6; }
   4489 fi
   4490 
   4491   if test "x$ac_ct_AR" = x; then
   4492     AR=""
   4493   else
   4494     case $cross_compiling:$ac_tool_warned in
   4495 yes:)
   4496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4498 ac_tool_warned=yes ;;
   4499 esac
   4500     AR=$ac_ct_AR
   4501   fi
   4502 else
   4503   AR="$ac_cv_prog_AR"
   4504 fi
   4505 
   4506 if test -n "$ac_tool_prefix"; then
   4507   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   4508 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4510 $as_echo_n "checking for $ac_word... " >&6; }
   4511 if ${ac_cv_prog_RANLIB+:} false; then :
   4512   $as_echo_n "(cached) " >&6
   4513 else
   4514   if test -n "$RANLIB"; then
   4515   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   4516 else
   4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4518 for as_dir in $PATH
   4519 do
   4520   IFS=$as_save_IFS
   4521   test -z "$as_dir" && as_dir=.
   4522     for ac_exec_ext in '' $ac_executable_extensions; do
   4523   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4524     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   4525     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4526     break 2
   4527   fi
   4528 done
   4529   done
   4530 IFS=$as_save_IFS
   4531 
   4532 fi
   4533 fi
   4534 RANLIB=$ac_cv_prog_RANLIB
   4535 if test -n "$RANLIB"; then
   4536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   4537 $as_echo "$RANLIB" >&6; }
   4538 else
   4539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4540 $as_echo "no" >&6; }
   4541 fi
   4542 
   4543 
   4544 fi
   4545 if test -z "$ac_cv_prog_RANLIB"; then
   4546   ac_ct_RANLIB=$RANLIB
   4547   # Extract the first word of "ranlib", so it can be a program name with args.
   4548 set dummy ranlib; ac_word=$2
   4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4550 $as_echo_n "checking for $ac_word... " >&6; }
   4551 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   4552   $as_echo_n "(cached) " >&6
   4553 else
   4554   if test -n "$ac_ct_RANLIB"; then
   4555   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   4556 else
   4557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4558 for as_dir in $PATH
   4559 do
   4560   IFS=$as_save_IFS
   4561   test -z "$as_dir" && as_dir=.
   4562     for ac_exec_ext in '' $ac_executable_extensions; do
   4563   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4564     ac_cv_prog_ac_ct_RANLIB="ranlib"
   4565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4566     break 2
   4567   fi
   4568 done
   4569   done
   4570 IFS=$as_save_IFS
   4571 
   4572 fi
   4573 fi
   4574 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   4575 if test -n "$ac_ct_RANLIB"; then
   4576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   4577 $as_echo "$ac_ct_RANLIB" >&6; }
   4578 else
   4579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4580 $as_echo "no" >&6; }
   4581 fi
   4582 
   4583   if test "x$ac_ct_RANLIB" = x; then
   4584     RANLIB=":"
   4585   else
   4586     case $cross_compiling:$ac_tool_warned in
   4587 yes:)
   4588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4590 ac_tool_warned=yes ;;
   4591 esac
   4592     RANLIB=$ac_ct_RANLIB
   4593   fi
   4594 else
   4595   RANLIB="$ac_cv_prog_RANLIB"
   4596 fi
   4597 
   4598 
   4599 # Check whether --enable-shared was given.
   4600 if test "${enable_shared+set}" = set; then :
   4601   enableval=$enable_shared; p=${PACKAGE-default}
   4602     case $enableval in
   4603     yes) enable_shared=yes ;;
   4604     no) enable_shared=no ;;
   4605     *)
   4606       enable_shared=no
   4607       # Look at the argument we got.  We use all the common list separators.
   4608       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4609       for pkg in $enableval; do
   4610 	IFS="$lt_save_ifs"
   4611 	if test "X$pkg" = "X$p"; then
   4612 	  enable_shared=yes
   4613 	fi
   4614       done
   4615       IFS="$lt_save_ifs"
   4616       ;;
   4617     esac
   4618 else
   4619   enable_shared=no
   4620 fi
   4621 
   4622 
   4623 
   4624 
   4625 
   4626 
   4627 
   4628 
   4629 
   4630 
   4631 ac_ext=c
   4632 ac_cpp='$CPP $CPPFLAGS'
   4633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4636 if test -n "$ac_tool_prefix"; then
   4637   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4638 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4640 $as_echo_n "checking for $ac_word... " >&6; }
   4641 if ${ac_cv_prog_CC+:} false; then :
   4642   $as_echo_n "(cached) " >&6
   4643 else
   4644   if test -n "$CC"; then
   4645   ac_cv_prog_CC="$CC" # Let the user override the test.
   4646 else
   4647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4648 for as_dir in $PATH
   4649 do
   4650   IFS=$as_save_IFS
   4651   test -z "$as_dir" && as_dir=.
   4652     for ac_exec_ext in '' $ac_executable_extensions; do
   4653   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4654     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4655     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4656     break 2
   4657   fi
   4658 done
   4659   done
   4660 IFS=$as_save_IFS
   4661 
   4662 fi
   4663 fi
   4664 CC=$ac_cv_prog_CC
   4665 if test -n "$CC"; then
   4666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4667 $as_echo "$CC" >&6; }
   4668 else
   4669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4670 $as_echo "no" >&6; }
   4671 fi
   4672 
   4673 
   4674 fi
   4675 if test -z "$ac_cv_prog_CC"; then
   4676   ac_ct_CC=$CC
   4677   # Extract the first word of "gcc", so it can be a program name with args.
   4678 set dummy gcc; ac_word=$2
   4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4680 $as_echo_n "checking for $ac_word... " >&6; }
   4681 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4682   $as_echo_n "(cached) " >&6
   4683 else
   4684   if test -n "$ac_ct_CC"; then
   4685   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4686 else
   4687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4688 for as_dir in $PATH
   4689 do
   4690   IFS=$as_save_IFS
   4691   test -z "$as_dir" && as_dir=.
   4692     for ac_exec_ext in '' $ac_executable_extensions; do
   4693   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4694     ac_cv_prog_ac_ct_CC="gcc"
   4695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4696     break 2
   4697   fi
   4698 done
   4699   done
   4700 IFS=$as_save_IFS
   4701 
   4702 fi
   4703 fi
   4704 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4705 if test -n "$ac_ct_CC"; then
   4706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4707 $as_echo "$ac_ct_CC" >&6; }
   4708 else
   4709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4710 $as_echo "no" >&6; }
   4711 fi
   4712 
   4713   if test "x$ac_ct_CC" = x; then
   4714     CC=""
   4715   else
   4716     case $cross_compiling:$ac_tool_warned in
   4717 yes:)
   4718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4720 ac_tool_warned=yes ;;
   4721 esac
   4722     CC=$ac_ct_CC
   4723   fi
   4724 else
   4725   CC="$ac_cv_prog_CC"
   4726 fi
   4727 
   4728 if test -z "$CC"; then
   4729           if test -n "$ac_tool_prefix"; then
   4730     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4731 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4733 $as_echo_n "checking for $ac_word... " >&6; }
   4734 if ${ac_cv_prog_CC+:} false; then :
   4735   $as_echo_n "(cached) " >&6
   4736 else
   4737   if test -n "$CC"; then
   4738   ac_cv_prog_CC="$CC" # Let the user override the test.
   4739 else
   4740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4741 for as_dir in $PATH
   4742 do
   4743   IFS=$as_save_IFS
   4744   test -z "$as_dir" && as_dir=.
   4745     for ac_exec_ext in '' $ac_executable_extensions; do
   4746   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4747     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4749     break 2
   4750   fi
   4751 done
   4752   done
   4753 IFS=$as_save_IFS
   4754 
   4755 fi
   4756 fi
   4757 CC=$ac_cv_prog_CC
   4758 if test -n "$CC"; then
   4759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4760 $as_echo "$CC" >&6; }
   4761 else
   4762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4763 $as_echo "no" >&6; }
   4764 fi
   4765 
   4766 
   4767   fi
   4768 fi
   4769 if test -z "$CC"; then
   4770   # Extract the first word of "cc", so it can be a program name with args.
   4771 set dummy cc; ac_word=$2
   4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4773 $as_echo_n "checking for $ac_word... " >&6; }
   4774 if ${ac_cv_prog_CC+:} false; then :
   4775   $as_echo_n "(cached) " >&6
   4776 else
   4777   if test -n "$CC"; then
   4778   ac_cv_prog_CC="$CC" # Let the user override the test.
   4779 else
   4780   ac_prog_rejected=no
   4781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4782 for as_dir in $PATH
   4783 do
   4784   IFS=$as_save_IFS
   4785   test -z "$as_dir" && as_dir=.
   4786     for ac_exec_ext in '' $ac_executable_extensions; do
   4787   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4788     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4789        ac_prog_rejected=yes
   4790        continue
   4791      fi
   4792     ac_cv_prog_CC="cc"
   4793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4794     break 2
   4795   fi
   4796 done
   4797   done
   4798 IFS=$as_save_IFS
   4799 
   4800 if test $ac_prog_rejected = yes; then
   4801   # We found a bogon in the path, so make sure we never use it.
   4802   set dummy $ac_cv_prog_CC
   4803   shift
   4804   if test $# != 0; then
   4805     # We chose a different compiler from the bogus one.
   4806     # However, it has the same basename, so the bogon will be chosen
   4807     # first if we set CC to just the basename; use the full file name.
   4808     shift
   4809     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4810   fi
   4811 fi
   4812 fi
   4813 fi
   4814 CC=$ac_cv_prog_CC
   4815 if test -n "$CC"; then
   4816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4817 $as_echo "$CC" >&6; }
   4818 else
   4819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4820 $as_echo "no" >&6; }
   4821 fi
   4822 
   4823 
   4824 fi
   4825 if test -z "$CC"; then
   4826   if test -n "$ac_tool_prefix"; then
   4827   for ac_prog in cl.exe
   4828   do
   4829     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4830 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4832 $as_echo_n "checking for $ac_word... " >&6; }
   4833 if ${ac_cv_prog_CC+:} false; then :
   4834   $as_echo_n "(cached) " >&6
   4835 else
   4836   if test -n "$CC"; then
   4837   ac_cv_prog_CC="$CC" # Let the user override the test.
   4838 else
   4839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4840 for as_dir in $PATH
   4841 do
   4842   IFS=$as_save_IFS
   4843   test -z "$as_dir" && as_dir=.
   4844     for ac_exec_ext in '' $ac_executable_extensions; do
   4845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4846     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4848     break 2
   4849   fi
   4850 done
   4851   done
   4852 IFS=$as_save_IFS
   4853 
   4854 fi
   4855 fi
   4856 CC=$ac_cv_prog_CC
   4857 if test -n "$CC"; then
   4858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4859 $as_echo "$CC" >&6; }
   4860 else
   4861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4862 $as_echo "no" >&6; }
   4863 fi
   4864 
   4865 
   4866     test -n "$CC" && break
   4867   done
   4868 fi
   4869 if test -z "$CC"; then
   4870   ac_ct_CC=$CC
   4871   for ac_prog in cl.exe
   4872 do
   4873   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4874 set dummy $ac_prog; ac_word=$2
   4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4876 $as_echo_n "checking for $ac_word... " >&6; }
   4877 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4878   $as_echo_n "(cached) " >&6
   4879 else
   4880   if test -n "$ac_ct_CC"; then
   4881   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4882 else
   4883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4884 for as_dir in $PATH
   4885 do
   4886   IFS=$as_save_IFS
   4887   test -z "$as_dir" && as_dir=.
   4888     for ac_exec_ext in '' $ac_executable_extensions; do
   4889   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4890     ac_cv_prog_ac_ct_CC="$ac_prog"
   4891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4892     break 2
   4893   fi
   4894 done
   4895   done
   4896 IFS=$as_save_IFS
   4897 
   4898 fi
   4899 fi
   4900 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4901 if test -n "$ac_ct_CC"; then
   4902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4903 $as_echo "$ac_ct_CC" >&6; }
   4904 else
   4905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4906 $as_echo "no" >&6; }
   4907 fi
   4908 
   4909 
   4910   test -n "$ac_ct_CC" && break
   4911 done
   4912 
   4913   if test "x$ac_ct_CC" = x; then
   4914     CC=""
   4915   else
   4916     case $cross_compiling:$ac_tool_warned in
   4917 yes:)
   4918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4920 ac_tool_warned=yes ;;
   4921 esac
   4922     CC=$ac_ct_CC
   4923   fi
   4924 fi
   4925 
   4926 fi
   4927 
   4928 
   4929 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4931 as_fn_error $? "no acceptable C compiler found in \$PATH
   4932 See \`config.log' for more details" "$LINENO" 5; }
   4933 
   4934 # Provide some information about the compiler.
   4935 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4936 set X $ac_compile
   4937 ac_compiler=$2
   4938 for ac_option in --version -v -V -qversion; do
   4939   { { ac_try="$ac_compiler $ac_option >&5"
   4940 case "(($ac_try" in
   4941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4942   *) ac_try_echo=$ac_try;;
   4943 esac
   4944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4945 $as_echo "$ac_try_echo"; } >&5
   4946   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4947   ac_status=$?
   4948   if test -s conftest.err; then
   4949     sed '10a\
   4950 ... rest of stderr output deleted ...
   4951          10q' conftest.err >conftest.er1
   4952     cat conftest.er1 >&5
   4953   fi
   4954   rm -f conftest.er1 conftest.err
   4955   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4956   test $ac_status = 0; }
   4957 done
   4958 
   4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4960 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4961 if ${ac_cv_c_compiler_gnu+:} false; then :
   4962   $as_echo_n "(cached) " >&6
   4963 else
   4964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4965 /* end confdefs.h.  */
   4966 
   4967 int
   4968 main ()
   4969 {
   4970 #ifndef __GNUC__
   4971        choke me
   4972 #endif
   4973 
   4974   ;
   4975   return 0;
   4976 }
   4977 _ACEOF
   4978 if ac_fn_c_try_compile "$LINENO"; then :
   4979   ac_compiler_gnu=yes
   4980 else
   4981   ac_compiler_gnu=no
   4982 fi
   4983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4984 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4985 
   4986 fi
   4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4988 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4989 if test $ac_compiler_gnu = yes; then
   4990   GCC=yes
   4991 else
   4992   GCC=
   4993 fi
   4994 ac_test_CFLAGS=${CFLAGS+set}
   4995 ac_save_CFLAGS=$CFLAGS
   4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4997 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4998 if ${ac_cv_prog_cc_g+:} false; then :
   4999   $as_echo_n "(cached) " >&6
   5000 else
   5001   ac_save_c_werror_flag=$ac_c_werror_flag
   5002    ac_c_werror_flag=yes
   5003    ac_cv_prog_cc_g=no
   5004    CFLAGS="-g"
   5005    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5006 /* end confdefs.h.  */
   5007 
   5008 int
   5009 main ()
   5010 {
   5011 
   5012   ;
   5013   return 0;
   5014 }
   5015 _ACEOF
   5016 if ac_fn_c_try_compile "$LINENO"; then :
   5017   ac_cv_prog_cc_g=yes
   5018 else
   5019   CFLAGS=""
   5020       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5021 /* end confdefs.h.  */
   5022 
   5023 int
   5024 main ()
   5025 {
   5026 
   5027   ;
   5028   return 0;
   5029 }
   5030 _ACEOF
   5031 if ac_fn_c_try_compile "$LINENO"; then :
   5032 
   5033 else
   5034   ac_c_werror_flag=$ac_save_c_werror_flag
   5035 	 CFLAGS="-g"
   5036 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5037 /* end confdefs.h.  */
   5038 
   5039 int
   5040 main ()
   5041 {
   5042 
   5043   ;
   5044   return 0;
   5045 }
   5046 _ACEOF
   5047 if ac_fn_c_try_compile "$LINENO"; then :
   5048   ac_cv_prog_cc_g=yes
   5049 fi
   5050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5051 fi
   5052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5053 fi
   5054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5055    ac_c_werror_flag=$ac_save_c_werror_flag
   5056 fi
   5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   5058 $as_echo "$ac_cv_prog_cc_g" >&6; }
   5059 if test "$ac_test_CFLAGS" = set; then
   5060   CFLAGS=$ac_save_CFLAGS
   5061 elif test $ac_cv_prog_cc_g = yes; then
   5062   if test "$GCC" = yes; then
   5063     CFLAGS="-g -O2"
   5064   else
   5065     CFLAGS="-g"
   5066   fi
   5067 else
   5068   if test "$GCC" = yes; then
   5069     CFLAGS="-O2"
   5070   else
   5071     CFLAGS=
   5072   fi
   5073 fi
   5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   5075 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   5076 if ${ac_cv_prog_cc_c89+:} false; then :
   5077   $as_echo_n "(cached) " >&6
   5078 else
   5079   ac_cv_prog_cc_c89=no
   5080 ac_save_CC=$CC
   5081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5082 /* end confdefs.h.  */
   5083 #include <stdarg.h>
   5084 #include <stdio.h>
   5085 struct stat;
   5086 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   5087 struct buf { int x; };
   5088 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   5089 static char *e (p, i)
   5090      char **p;
   5091      int i;
   5092 {
   5093   return p[i];
   5094 }
   5095 static char *f (char * (*g) (char **, int), char **p, ...)
   5096 {
   5097   char *s;
   5098   va_list v;
   5099   va_start (v,p);
   5100   s = g (p, va_arg (v,int));
   5101   va_end (v);
   5102   return s;
   5103 }
   5104 
   5105 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   5106    function prototypes and stuff, but not '\xHH' hex character constants.
   5107    These don't provoke an error unfortunately, instead are silently treated
   5108    as 'x'.  The following induces an error, until -std is added to get
   5109    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   5110    array size at least.  It's necessary to write '\x00'==0 to get something
   5111    that's true only with -std.  */
   5112 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   5113 
   5114 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   5115    inside strings and character constants.  */
   5116 #define FOO(x) 'x'
   5117 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   5118 
   5119 int test (int i, double x);
   5120 struct s1 {int (*f) (int a);};
   5121 struct s2 {int (*f) (double a);};
   5122 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   5123 int argc;
   5124 char **argv;
   5125 int
   5126 main ()
   5127 {
   5128 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   5129   ;
   5130   return 0;
   5131 }
   5132 _ACEOF
   5133 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   5134 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5135 do
   5136   CC="$ac_save_CC $ac_arg"
   5137   if ac_fn_c_try_compile "$LINENO"; then :
   5138   ac_cv_prog_cc_c89=$ac_arg
   5139 fi
   5140 rm -f core conftest.err conftest.$ac_objext
   5141   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5142 done
   5143 rm -f conftest.$ac_ext
   5144 CC=$ac_save_CC
   5145 
   5146 fi
   5147 # AC_CACHE_VAL
   5148 case "x$ac_cv_prog_cc_c89" in
   5149   x)
   5150     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5151 $as_echo "none needed" >&6; } ;;
   5152   xno)
   5153     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5154 $as_echo "unsupported" >&6; } ;;
   5155   *)
   5156     CC="$CC $ac_cv_prog_cc_c89"
   5157     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5158 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   5159 esac
   5160 if test "x$ac_cv_prog_cc_c89" != xno; then :
   5161 
   5162 fi
   5163 
   5164 ac_ext=c
   5165 ac_cpp='$CPP $CPPFLAGS'
   5166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5169 
   5170 ac_ext=c
   5171 ac_cpp='$CPP $CPPFLAGS'
   5172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   5176 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   5177 if ${am_cv_prog_cc_c_o+:} false; then :
   5178   $as_echo_n "(cached) " >&6
   5179 else
   5180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5181 /* end confdefs.h.  */
   5182 
   5183 int
   5184 main ()
   5185 {
   5186 
   5187   ;
   5188   return 0;
   5189 }
   5190 _ACEOF
   5191   # Make sure it works both with $CC and with simple cc.
   5192   # Following AC_PROG_CC_C_O, we do the test twice because some
   5193   # compilers refuse to overwrite an existing .o file with -o,
   5194   # though they will create one.
   5195   am_cv_prog_cc_c_o=yes
   5196   for am_i in 1 2; do
   5197     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5198    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5199    ac_status=$?
   5200    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5201    (exit $ac_status); } \
   5202          && test -f conftest2.$ac_objext; then
   5203       : OK
   5204     else
   5205       am_cv_prog_cc_c_o=no
   5206       break
   5207     fi
   5208   done
   5209   rm -f core conftest*
   5210   unset am_i
   5211 fi
   5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5213 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   5214 if test "$am_cv_prog_cc_c_o" != yes; then
   5215    # Losing compiler, so override with the script.
   5216    # FIXME: It is wrong to rewrite CC.
   5217    # But if we don't then we get into trouble of one sort or another.
   5218    # A longer-term fix would be to have automake use am__CC in this case,
   5219    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5220    CC="$am_aux_dir/compile $CC"
   5221 fi
   5222 ac_ext=c
   5223 ac_cpp='$CPP $CPPFLAGS'
   5224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5227 
   5228 
   5229 ac_ext=c
   5230 ac_cpp='$CPP $CPPFLAGS'
   5231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   5235 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   5236 # On Suns, sometimes $CPP names a directory.
   5237 if test -n "$CPP" && test -d "$CPP"; then
   5238   CPP=
   5239 fi
   5240 if test -z "$CPP"; then
   5241   if ${ac_cv_prog_CPP+:} false; then :
   5242   $as_echo_n "(cached) " >&6
   5243 else
   5244       # Double quotes because CPP needs to be expanded
   5245     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   5246     do
   5247       ac_preproc_ok=false
   5248 for ac_c_preproc_warn_flag in '' yes
   5249 do
   5250   # Use a header file that comes with gcc, so configuring glibc
   5251   # with a fresh cross-compiler works.
   5252   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5253   # <limits.h> exists even on freestanding compilers.
   5254   # On the NeXT, cc -E runs the code through the compiler's parser,
   5255   # not just through cpp. "Syntax error" is here to catch this case.
   5256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5257 /* end confdefs.h.  */
   5258 #ifdef __STDC__
   5259 # include <limits.h>
   5260 #else
   5261 # include <assert.h>
   5262 #endif
   5263 		     Syntax error
   5264 _ACEOF
   5265 if ac_fn_c_try_cpp "$LINENO"; then :
   5266 
   5267 else
   5268   # Broken: fails on valid input.
   5269 continue
   5270 fi
   5271 rm -f conftest.err conftest.i conftest.$ac_ext
   5272 
   5273   # OK, works on sane cases.  Now check whether nonexistent headers
   5274   # can be detected and how.
   5275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5276 /* end confdefs.h.  */
   5277 #include <ac_nonexistent.h>
   5278 _ACEOF
   5279 if ac_fn_c_try_cpp "$LINENO"; then :
   5280   # Broken: success on invalid input.
   5281 continue
   5282 else
   5283   # Passes both tests.
   5284 ac_preproc_ok=:
   5285 break
   5286 fi
   5287 rm -f conftest.err conftest.i conftest.$ac_ext
   5288 
   5289 done
   5290 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5291 rm -f conftest.i conftest.err conftest.$ac_ext
   5292 if $ac_preproc_ok; then :
   5293   break
   5294 fi
   5295 
   5296     done
   5297     ac_cv_prog_CPP=$CPP
   5298 
   5299 fi
   5300   CPP=$ac_cv_prog_CPP
   5301 else
   5302   ac_cv_prog_CPP=$CPP
   5303 fi
   5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   5305 $as_echo "$CPP" >&6; }
   5306 ac_preproc_ok=false
   5307 for ac_c_preproc_warn_flag in '' yes
   5308 do
   5309   # Use a header file that comes with gcc, so configuring glibc
   5310   # with a fresh cross-compiler works.
   5311   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5312   # <limits.h> exists even on freestanding compilers.
   5313   # On the NeXT, cc -E runs the code through the compiler's parser,
   5314   # not just through cpp. "Syntax error" is here to catch this case.
   5315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5316 /* end confdefs.h.  */
   5317 #ifdef __STDC__
   5318 # include <limits.h>
   5319 #else
   5320 # include <assert.h>
   5321 #endif
   5322 		     Syntax error
   5323 _ACEOF
   5324 if ac_fn_c_try_cpp "$LINENO"; then :
   5325 
   5326 else
   5327   # Broken: fails on valid input.
   5328 continue
   5329 fi
   5330 rm -f conftest.err conftest.i conftest.$ac_ext
   5331 
   5332   # OK, works on sane cases.  Now check whether nonexistent headers
   5333   # can be detected and how.
   5334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5335 /* end confdefs.h.  */
   5336 #include <ac_nonexistent.h>
   5337 _ACEOF
   5338 if ac_fn_c_try_cpp "$LINENO"; then :
   5339   # Broken: success on invalid input.
   5340 continue
   5341 else
   5342   # Passes both tests.
   5343 ac_preproc_ok=:
   5344 break
   5345 fi
   5346 rm -f conftest.err conftest.i conftest.$ac_ext
   5347 
   5348 done
   5349 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5350 rm -f conftest.i conftest.err conftest.$ac_ext
   5351 if $ac_preproc_ok; then :
   5352 
   5353 else
   5354   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5356 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   5357 See \`config.log' for more details" "$LINENO" 5; }
   5358 fi
   5359 
   5360 ac_ext=c
   5361 ac_cpp='$CPP $CPPFLAGS'
   5362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5365 
   5366 
   5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5368 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   5369 if ${ac_cv_path_GREP+:} false; then :
   5370   $as_echo_n "(cached) " >&6
   5371 else
   5372   if test -z "$GREP"; then
   5373   ac_path_GREP_found=false
   5374   # Loop through the user's path and test for each of PROGNAME-LIST
   5375   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5376 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5377 do
   5378   IFS=$as_save_IFS
   5379   test -z "$as_dir" && as_dir=.
   5380     for ac_prog in grep ggrep; do
   5381     for ac_exec_ext in '' $ac_executable_extensions; do
   5382       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   5383       as_fn_executable_p "$ac_path_GREP" || continue
   5384 # Check for GNU ac_path_GREP and select it if it is found.
   5385   # Check for GNU $ac_path_GREP
   5386 case `"$ac_path_GREP" --version 2>&1` in
   5387 *GNU*)
   5388   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5389 *)
   5390   ac_count=0
   5391   $as_echo_n 0123456789 >"conftest.in"
   5392   while :
   5393   do
   5394     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5395     mv "conftest.tmp" "conftest.in"
   5396     cp "conftest.in" "conftest.nl"
   5397     $as_echo 'GREP' >> "conftest.nl"
   5398     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5399     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5400     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5401     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5402       # Best one so far, save it but keep looking for a better one
   5403       ac_cv_path_GREP="$ac_path_GREP"
   5404       ac_path_GREP_max=$ac_count
   5405     fi
   5406     # 10*(2^10) chars as input seems more than enough
   5407     test $ac_count -gt 10 && break
   5408   done
   5409   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5410 esac
   5411 
   5412       $ac_path_GREP_found && break 3
   5413     done
   5414   done
   5415   done
   5416 IFS=$as_save_IFS
   5417   if test -z "$ac_cv_path_GREP"; then
   5418     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5419   fi
   5420 else
   5421   ac_cv_path_GREP=$GREP
   5422 fi
   5423 
   5424 fi
   5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5426 $as_echo "$ac_cv_path_GREP" >&6; }
   5427  GREP="$ac_cv_path_GREP"
   5428 
   5429 
   5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5431 $as_echo_n "checking for egrep... " >&6; }
   5432 if ${ac_cv_path_EGREP+:} false; then :
   5433   $as_echo_n "(cached) " >&6
   5434 else
   5435   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5436    then ac_cv_path_EGREP="$GREP -E"
   5437    else
   5438      if test -z "$EGREP"; then
   5439   ac_path_EGREP_found=false
   5440   # Loop through the user's path and test for each of PROGNAME-LIST
   5441   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5442 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5443 do
   5444   IFS=$as_save_IFS
   5445   test -z "$as_dir" && as_dir=.
   5446     for ac_prog in egrep; do
   5447     for ac_exec_ext in '' $ac_executable_extensions; do
   5448       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   5449       as_fn_executable_p "$ac_path_EGREP" || continue
   5450 # Check for GNU ac_path_EGREP and select it if it is found.
   5451   # Check for GNU $ac_path_EGREP
   5452 case `"$ac_path_EGREP" --version 2>&1` in
   5453 *GNU*)
   5454   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5455 *)
   5456   ac_count=0
   5457   $as_echo_n 0123456789 >"conftest.in"
   5458   while :
   5459   do
   5460     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5461     mv "conftest.tmp" "conftest.in"
   5462     cp "conftest.in" "conftest.nl"
   5463     $as_echo 'EGREP' >> "conftest.nl"
   5464     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5465     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5466     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5467     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5468       # Best one so far, save it but keep looking for a better one
   5469       ac_cv_path_EGREP="$ac_path_EGREP"
   5470       ac_path_EGREP_max=$ac_count
   5471     fi
   5472     # 10*(2^10) chars as input seems more than enough
   5473     test $ac_count -gt 10 && break
   5474   done
   5475   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5476 esac
   5477 
   5478       $ac_path_EGREP_found && break 3
   5479     done
   5480   done
   5481   done
   5482 IFS=$as_save_IFS
   5483   if test -z "$ac_cv_path_EGREP"; then
   5484     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5485   fi
   5486 else
   5487   ac_cv_path_EGREP=$EGREP
   5488 fi
   5489 
   5490    fi
   5491 fi
   5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5493 $as_echo "$ac_cv_path_EGREP" >&6; }
   5494  EGREP="$ac_cv_path_EGREP"
   5495 
   5496 
   5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   5498 $as_echo_n "checking for ANSI C header files... " >&6; }
   5499 if ${ac_cv_header_stdc+:} false; then :
   5500   $as_echo_n "(cached) " >&6
   5501 else
   5502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5503 /* end confdefs.h.  */
   5504 #include <stdlib.h>
   5505 #include <stdarg.h>
   5506 #include <string.h>
   5507 #include <float.h>
   5508 
   5509 int
   5510 main ()
   5511 {
   5512 
   5513   ;
   5514   return 0;
   5515 }
   5516 _ACEOF
   5517 if ac_fn_c_try_compile "$LINENO"; then :
   5518   ac_cv_header_stdc=yes
   5519 else
   5520   ac_cv_header_stdc=no
   5521 fi
   5522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5523 
   5524 if test $ac_cv_header_stdc = yes; then
   5525   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5527 /* end confdefs.h.  */
   5528 #include <string.h>
   5529 
   5530 _ACEOF
   5531 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5532   $EGREP "memchr" >/dev/null 2>&1; then :
   5533 
   5534 else
   5535   ac_cv_header_stdc=no
   5536 fi
   5537 rm -f conftest*
   5538 
   5539 fi
   5540 
   5541 if test $ac_cv_header_stdc = yes; then
   5542   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5544 /* end confdefs.h.  */
   5545 #include <stdlib.h>
   5546 
   5547 _ACEOF
   5548 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5549   $EGREP "free" >/dev/null 2>&1; then :
   5550 
   5551 else
   5552   ac_cv_header_stdc=no
   5553 fi
   5554 rm -f conftest*
   5555 
   5556 fi
   5557 
   5558 if test $ac_cv_header_stdc = yes; then
   5559   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5560   if test "$cross_compiling" = yes; then :
   5561   :
   5562 else
   5563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5564 /* end confdefs.h.  */
   5565 #include <ctype.h>
   5566 #include <stdlib.h>
   5567 #if ((' ' & 0x0FF) == 0x020)
   5568 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5569 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5570 #else
   5571 # define ISLOWER(c) \
   5572 		   (('a' <= (c) && (c) <= 'i') \
   5573 		     || ('j' <= (c) && (c) <= 'r') \
   5574 		     || ('s' <= (c) && (c) <= 'z'))
   5575 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5576 #endif
   5577 
   5578 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5579 int
   5580 main ()
   5581 {
   5582   int i;
   5583   for (i = 0; i < 256; i++)
   5584     if (XOR (islower (i), ISLOWER (i))
   5585 	|| toupper (i) != TOUPPER (i))
   5586       return 2;
   5587   return 0;
   5588 }
   5589 _ACEOF
   5590 if ac_fn_c_try_run "$LINENO"; then :
   5591 
   5592 else
   5593   ac_cv_header_stdc=no
   5594 fi
   5595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   5596   conftest.$ac_objext conftest.beam conftest.$ac_ext
   5597 fi
   5598 
   5599 fi
   5600 fi
   5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   5602 $as_echo "$ac_cv_header_stdc" >&6; }
   5603 if test $ac_cv_header_stdc = yes; then
   5604 
   5605 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   5606 
   5607 fi
   5608 
   5609 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5610 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5611 		  inttypes.h stdint.h unistd.h
   5612 do :
   5613   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5614 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   5615 "
   5616 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   5617   cat >>confdefs.h <<_ACEOF
   5618 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5619 _ACEOF
   5620 
   5621 fi
   5622 
   5623 done
   5624 
   5625 
   5626 
   5627   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   5628 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   5629   MINIX=yes
   5630 else
   5631   MINIX=
   5632 fi
   5633 
   5634 
   5635   if test "$MINIX" = yes; then
   5636 
   5637 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   5638 
   5639 
   5640 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   5641 
   5642 
   5643 $as_echo "#define _MINIX 1" >>confdefs.h
   5644 
   5645   fi
   5646 
   5647 
   5648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   5649 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   5650 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   5651   $as_echo_n "(cached) " >&6
   5652 else
   5653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5654 /* end confdefs.h.  */
   5655 
   5656 #         define __EXTENSIONS__ 1
   5657           $ac_includes_default
   5658 int
   5659 main ()
   5660 {
   5661 
   5662   ;
   5663   return 0;
   5664 }
   5665 _ACEOF
   5666 if ac_fn_c_try_compile "$LINENO"; then :
   5667   ac_cv_safe_to_define___extensions__=yes
   5668 else
   5669   ac_cv_safe_to_define___extensions__=no
   5670 fi
   5671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5672 fi
   5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   5674 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   5675   test $ac_cv_safe_to_define___extensions__ = yes &&
   5676     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   5677 
   5678   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   5679 
   5680   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   5681 
   5682   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   5683 
   5684   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   5685 
   5686 
   5687 
   5688 
   5689 
   5690 case `pwd` in
   5691   *\ * | *\	*)
   5692     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5693 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5694 esac
   5695 
   5696 
   5697 
   5698 macro_version='2.2.7a'
   5699 macro_revision='1.3134'
   5700 
   5701 
   5702 
   5703 
   5704 
   5705 
   5706 
   5707 
   5708 
   5709 
   5710 
   5711 
   5712 
   5713 ltmain="$ac_aux_dir/ltmain.sh"
   5714 
   5715 # Backslashify metacharacters that are still active within
   5716 # double-quoted strings.
   5717 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5718 
   5719 # Same as above, but do not quote variable references.
   5720 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5721 
   5722 # Sed substitution to delay expansion of an escaped shell variable in a
   5723 # double_quote_subst'ed string.
   5724 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5725 
   5726 # Sed substitution to delay expansion of an escaped single quote.
   5727 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5728 
   5729 # Sed substitution to avoid accidental globbing in evaled expressions
   5730 no_glob_subst='s/\*/\\\*/g'
   5731 
   5732 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5733 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5734 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5735 
   5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5737 $as_echo_n "checking how to print strings... " >&6; }
   5738 # Test print first, because it will be a builtin if present.
   5739 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   5740    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5741   ECHO='print -r --'
   5742 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5743   ECHO='printf %s\n'
   5744 else
   5745   # Use this function as a fallback that always works.
   5746   func_fallback_echo ()
   5747   {
   5748     eval 'cat <<_LTECHO_EOF
   5749 $1
   5750 _LTECHO_EOF'
   5751   }
   5752   ECHO='func_fallback_echo'
   5753 fi
   5754 
   5755 # func_echo_all arg...
   5756 # Invoke $ECHO with all args, space-separated.
   5757 func_echo_all ()
   5758 {
   5759     $ECHO ""
   5760 }
   5761 
   5762 case "$ECHO" in
   5763   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5764 $as_echo "printf" >&6; } ;;
   5765   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5766 $as_echo "print -r" >&6; } ;;
   5767   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5768 $as_echo "cat" >&6; } ;;
   5769 esac
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5785 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5786 if ${ac_cv_path_SED+:} false; then :
   5787   $as_echo_n "(cached) " >&6
   5788 else
   5789             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5790      for ac_i in 1 2 3 4 5 6 7; do
   5791        ac_script="$ac_script$as_nl$ac_script"
   5792      done
   5793      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5794      { ac_script=; unset ac_script;}
   5795      if test -z "$SED"; then
   5796   ac_path_SED_found=false
   5797   # Loop through the user's path and test for each of PROGNAME-LIST
   5798   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5799 for as_dir in $PATH
   5800 do
   5801   IFS=$as_save_IFS
   5802   test -z "$as_dir" && as_dir=.
   5803     for ac_prog in sed gsed; do
   5804     for ac_exec_ext in '' $ac_executable_extensions; do
   5805       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5806       as_fn_executable_p "$ac_path_SED" || continue
   5807 # Check for GNU ac_path_SED and select it if it is found.
   5808   # Check for GNU $ac_path_SED
   5809 case `"$ac_path_SED" --version 2>&1` in
   5810 *GNU*)
   5811   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5812 *)
   5813   ac_count=0
   5814   $as_echo_n 0123456789 >"conftest.in"
   5815   while :
   5816   do
   5817     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5818     mv "conftest.tmp" "conftest.in"
   5819     cp "conftest.in" "conftest.nl"
   5820     $as_echo '' >> "conftest.nl"
   5821     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5822     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5823     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5824     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5825       # Best one so far, save it but keep looking for a better one
   5826       ac_cv_path_SED="$ac_path_SED"
   5827       ac_path_SED_max=$ac_count
   5828     fi
   5829     # 10*(2^10) chars as input seems more than enough
   5830     test $ac_count -gt 10 && break
   5831   done
   5832   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5833 esac
   5834 
   5835       $ac_path_SED_found && break 3
   5836     done
   5837   done
   5838   done
   5839 IFS=$as_save_IFS
   5840   if test -z "$ac_cv_path_SED"; then
   5841     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5842   fi
   5843 else
   5844   ac_cv_path_SED=$SED
   5845 fi
   5846 
   5847 fi
   5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5849 $as_echo "$ac_cv_path_SED" >&6; }
   5850  SED="$ac_cv_path_SED"
   5851   rm -f conftest.sed
   5852 
   5853 test -z "$SED" && SED=sed
   5854 Xsed="$SED -e 1s/^X//"
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5867 $as_echo_n "checking for fgrep... " >&6; }
   5868 if ${ac_cv_path_FGREP+:} false; then :
   5869   $as_echo_n "(cached) " >&6
   5870 else
   5871   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5872    then ac_cv_path_FGREP="$GREP -F"
   5873    else
   5874      if test -z "$FGREP"; then
   5875   ac_path_FGREP_found=false
   5876   # Loop through the user's path and test for each of PROGNAME-LIST
   5877   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5878 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5879 do
   5880   IFS=$as_save_IFS
   5881   test -z "$as_dir" && as_dir=.
   5882     for ac_prog in fgrep; do
   5883     for ac_exec_ext in '' $ac_executable_extensions; do
   5884       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5885       as_fn_executable_p "$ac_path_FGREP" || continue
   5886 # Check for GNU ac_path_FGREP and select it if it is found.
   5887   # Check for GNU $ac_path_FGREP
   5888 case `"$ac_path_FGREP" --version 2>&1` in
   5889 *GNU*)
   5890   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5891 *)
   5892   ac_count=0
   5893   $as_echo_n 0123456789 >"conftest.in"
   5894   while :
   5895   do
   5896     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5897     mv "conftest.tmp" "conftest.in"
   5898     cp "conftest.in" "conftest.nl"
   5899     $as_echo 'FGREP' >> "conftest.nl"
   5900     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5901     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5902     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5903     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5904       # Best one so far, save it but keep looking for a better one
   5905       ac_cv_path_FGREP="$ac_path_FGREP"
   5906       ac_path_FGREP_max=$ac_count
   5907     fi
   5908     # 10*(2^10) chars as input seems more than enough
   5909     test $ac_count -gt 10 && break
   5910   done
   5911   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5912 esac
   5913 
   5914       $ac_path_FGREP_found && break 3
   5915     done
   5916   done
   5917   done
   5918 IFS=$as_save_IFS
   5919   if test -z "$ac_cv_path_FGREP"; then
   5920     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5921   fi
   5922 else
   5923   ac_cv_path_FGREP=$FGREP
   5924 fi
   5925 
   5926    fi
   5927 fi
   5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5929 $as_echo "$ac_cv_path_FGREP" >&6; }
   5930  FGREP="$ac_cv_path_FGREP"
   5931 
   5932 
   5933 test -z "$GREP" && GREP=grep
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 # Check whether --with-gnu-ld was given.
   5954 if test "${with_gnu_ld+set}" = set; then :
   5955   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5956 else
   5957   with_gnu_ld=no
   5958 fi
   5959 
   5960 ac_prog=ld
   5961 if test "$GCC" = yes; then
   5962   # Check if gcc -print-prog-name=ld gives a path.
   5963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5964 $as_echo_n "checking for ld used by $CC... " >&6; }
   5965   case $host in
   5966   *-*-mingw*)
   5967     # gcc leaves a trailing carriage return which upsets mingw
   5968     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5969   *)
   5970     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5971   esac
   5972   case $ac_prog in
   5973     # Accept absolute paths.
   5974     [\\/]* | ?:[\\/]*)
   5975       re_direlt='/[^/][^/]*/\.\./'
   5976       # Canonicalize the pathname of ld
   5977       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5978       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5979 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5980       done
   5981       test -z "$LD" && LD="$ac_prog"
   5982       ;;
   5983   "")
   5984     # If it fails, then pretend we aren't using GCC.
   5985     ac_prog=ld
   5986     ;;
   5987   *)
   5988     # If it is relative, then search for the first ld in PATH.
   5989     with_gnu_ld=unknown
   5990     ;;
   5991   esac
   5992 elif test "$with_gnu_ld" = yes; then
   5993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5994 $as_echo_n "checking for GNU ld... " >&6; }
   5995 else
   5996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5997 $as_echo_n "checking for non-GNU ld... " >&6; }
   5998 fi
   5999 if ${lt_cv_path_LD+:} false; then :
   6000   $as_echo_n "(cached) " >&6
   6001 else
   6002   if test -z "$LD"; then
   6003   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6004   for ac_dir in $PATH; do
   6005     IFS="$lt_save_ifs"
   6006     test -z "$ac_dir" && ac_dir=.
   6007     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6008       lt_cv_path_LD="$ac_dir/$ac_prog"
   6009       # Check to see if the program is GNU ld.  I'd rather use --version,
   6010       # but apparently some variants of GNU ld only accept -v.
   6011       # Break only if it was the GNU/non-GNU ld that we prefer.
   6012       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   6013       *GNU* | *'with BFD'*)
   6014 	test "$with_gnu_ld" != no && break
   6015 	;;
   6016       *)
   6017 	test "$with_gnu_ld" != yes && break
   6018 	;;
   6019       esac
   6020     fi
   6021   done
   6022   IFS="$lt_save_ifs"
   6023 else
   6024   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   6025 fi
   6026 fi
   6027 
   6028 LD="$lt_cv_path_LD"
   6029 if test -n "$LD"; then
   6030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6031 $as_echo "$LD" >&6; }
   6032 else
   6033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6034 $as_echo "no" >&6; }
   6035 fi
   6036 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6038 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   6039 if ${lt_cv_prog_gnu_ld+:} false; then :
   6040   $as_echo_n "(cached) " >&6
   6041 else
   6042   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6043 case `$LD -v 2>&1 </dev/null` in
   6044 *GNU* | *'with BFD'*)
   6045   lt_cv_prog_gnu_ld=yes
   6046   ;;
   6047 *)
   6048   lt_cv_prog_gnu_ld=no
   6049   ;;
   6050 esac
   6051 fi
   6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6053 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   6054 with_gnu_ld=$lt_cv_prog_gnu_ld
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6065 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6066 if ${lt_cv_path_NM+:} false; then :
   6067   $as_echo_n "(cached) " >&6
   6068 else
   6069   if test -n "$NM"; then
   6070   # Let the user override the test.
   6071   lt_cv_path_NM="$NM"
   6072 else
   6073   lt_nm_to_check="${ac_tool_prefix}nm"
   6074   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6075     lt_nm_to_check="$lt_nm_to_check nm"
   6076   fi
   6077   for lt_tmp_nm in $lt_nm_to_check; do
   6078     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6079     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6080       IFS="$lt_save_ifs"
   6081       test -z "$ac_dir" && ac_dir=.
   6082       tmp_nm="$ac_dir/$lt_tmp_nm"
   6083       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   6084 	# Check to see if the nm accepts a BSD-compat flag.
   6085 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   6086 	#   nm: unknown option "B" ignored
   6087 	# Tru64's nm complains that /dev/null is an invalid object file
   6088 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   6089 	*/dev/null* | *'Invalid file or object type'*)
   6090 	  lt_cv_path_NM="$tmp_nm -B"
   6091 	  break
   6092 	  ;;
   6093 	*)
   6094 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   6095 	  */dev/null*)
   6096 	    lt_cv_path_NM="$tmp_nm -p"
   6097 	    break
   6098 	    ;;
   6099 	  *)
   6100 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6101 	    continue # so that we can try to find one that supports BSD flags
   6102 	    ;;
   6103 	  esac
   6104 	  ;;
   6105 	esac
   6106       fi
   6107     done
   6108     IFS="$lt_save_ifs"
   6109   done
   6110   : ${lt_cv_path_NM=no}
   6111 fi
   6112 fi
   6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6114 $as_echo "$lt_cv_path_NM" >&6; }
   6115 if test "$lt_cv_path_NM" != "no"; then
   6116   NM="$lt_cv_path_NM"
   6117 else
   6118   # Didn't find any BSD compatible name lister, look for dumpbin.
   6119   if test -n "$DUMPBIN"; then :
   6120     # Let the user override the test.
   6121   else
   6122     if test -n "$ac_tool_prefix"; then
   6123   for ac_prog in dumpbin "link -dump"
   6124   do
   6125     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6126 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6128 $as_echo_n "checking for $ac_word... " >&6; }
   6129 if ${ac_cv_prog_DUMPBIN+:} false; then :
   6130   $as_echo_n "(cached) " >&6
   6131 else
   6132   if test -n "$DUMPBIN"; then
   6133   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6134 else
   6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6136 for as_dir in $PATH
   6137 do
   6138   IFS=$as_save_IFS
   6139   test -z "$as_dir" && as_dir=.
   6140     for ac_exec_ext in '' $ac_executable_extensions; do
   6141   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6142     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6144     break 2
   6145   fi
   6146 done
   6147   done
   6148 IFS=$as_save_IFS
   6149 
   6150 fi
   6151 fi
   6152 DUMPBIN=$ac_cv_prog_DUMPBIN
   6153 if test -n "$DUMPBIN"; then
   6154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6155 $as_echo "$DUMPBIN" >&6; }
   6156 else
   6157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6158 $as_echo "no" >&6; }
   6159 fi
   6160 
   6161 
   6162     test -n "$DUMPBIN" && break
   6163   done
   6164 fi
   6165 if test -z "$DUMPBIN"; then
   6166   ac_ct_DUMPBIN=$DUMPBIN
   6167   for ac_prog in dumpbin "link -dump"
   6168 do
   6169   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6170 set dummy $ac_prog; ac_word=$2
   6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6172 $as_echo_n "checking for $ac_word... " >&6; }
   6173 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   6174   $as_echo_n "(cached) " >&6
   6175 else
   6176   if test -n "$ac_ct_DUMPBIN"; then
   6177   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6178 else
   6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6180 for as_dir in $PATH
   6181 do
   6182   IFS=$as_save_IFS
   6183   test -z "$as_dir" && as_dir=.
   6184     for ac_exec_ext in '' $ac_executable_extensions; do
   6185   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6186     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6188     break 2
   6189   fi
   6190 done
   6191   done
   6192 IFS=$as_save_IFS
   6193 
   6194 fi
   6195 fi
   6196 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6197 if test -n "$ac_ct_DUMPBIN"; then
   6198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6199 $as_echo "$ac_ct_DUMPBIN" >&6; }
   6200 else
   6201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6202 $as_echo "no" >&6; }
   6203 fi
   6204 
   6205 
   6206   test -n "$ac_ct_DUMPBIN" && break
   6207 done
   6208 
   6209   if test "x$ac_ct_DUMPBIN" = x; then
   6210     DUMPBIN=":"
   6211   else
   6212     case $cross_compiling:$ac_tool_warned in
   6213 yes:)
   6214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6216 ac_tool_warned=yes ;;
   6217 esac
   6218     DUMPBIN=$ac_ct_DUMPBIN
   6219   fi
   6220 fi
   6221 
   6222     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   6223     *COFF*)
   6224       DUMPBIN="$DUMPBIN -symbols"
   6225       ;;
   6226     *)
   6227       DUMPBIN=:
   6228       ;;
   6229     esac
   6230   fi
   6231 
   6232   if test "$DUMPBIN" != ":"; then
   6233     NM="$DUMPBIN"
   6234   fi
   6235 fi
   6236 test -z "$NM" && NM=nm
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6244 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   6245 if ${lt_cv_nm_interface+:} false; then :
   6246   $as_echo_n "(cached) " >&6
   6247 else
   6248   lt_cv_nm_interface="BSD nm"
   6249   echo "int some_variable = 0;" > conftest.$ac_ext
   6250   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6251   (eval "$ac_compile" 2>conftest.err)
   6252   cat conftest.err >&5
   6253   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6254   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6255   cat conftest.err >&5
   6256   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6257   cat conftest.out >&5
   6258   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6259     lt_cv_nm_interface="MS dumpbin"
   6260   fi
   6261   rm -f conftest*
   6262 fi
   6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6264 $as_echo "$lt_cv_nm_interface" >&6; }
   6265 
   6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6267 $as_echo_n "checking whether ln -s works... " >&6; }
   6268 LN_S=$as_ln_s
   6269 if test "$LN_S" = "ln -s"; then
   6270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6271 $as_echo "yes" >&6; }
   6272 else
   6273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6274 $as_echo "no, using $LN_S" >&6; }
   6275 fi
   6276 
   6277 # find the maximum length of command line arguments
   6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6279 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6280 if ${lt_cv_sys_max_cmd_len+:} false; then :
   6281   $as_echo_n "(cached) " >&6
   6282 else
   6283     i=0
   6284   teststring="ABCD"
   6285 
   6286   case $build_os in
   6287   msdosdjgpp*)
   6288     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6289     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6290     # during glob expansion).  Even if it were fixed, the result of this
   6291     # check would be larger than it should be.
   6292     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6293     ;;
   6294 
   6295   gnu*)
   6296     # Under GNU Hurd, this test is not required because there is
   6297     # no limit to the length of command line arguments.
   6298     # Libtool will interpret -1 as no limit whatsoever
   6299     lt_cv_sys_max_cmd_len=-1;
   6300     ;;
   6301 
   6302   cygwin* | mingw* | cegcc*)
   6303     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6304     # about 5 minutes as the teststring grows exponentially.
   6305     # Worse, since 9x/ME are not pre-emptively multitasking,
   6306     # you end up with a "frozen" computer, even though with patience
   6307     # the test eventually succeeds (with a max line length of 256k).
   6308     # Instead, let's just punt: use the minimum linelength reported by
   6309     # all of the supported platforms: 8192 (on NT/2K/XP).
   6310     lt_cv_sys_max_cmd_len=8192;
   6311     ;;
   6312 
   6313   mint*)
   6314     # On MiNT this can take a long time and run out of memory.
   6315     lt_cv_sys_max_cmd_len=8192;
   6316     ;;
   6317 
   6318   amigaos*)
   6319     # On AmigaOS with pdksh, this test takes hours, literally.
   6320     # So we just punt and use a minimum line length of 8192.
   6321     lt_cv_sys_max_cmd_len=8192;
   6322     ;;
   6323 
   6324   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6325     # This has been around since 386BSD, at least.  Likely further.
   6326     if test -x /sbin/sysctl; then
   6327       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6328     elif test -x /usr/sbin/sysctl; then
   6329       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6330     else
   6331       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6332     fi
   6333     # And add a safety zone
   6334     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6335     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6336     ;;
   6337 
   6338   interix*)
   6339     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6340     lt_cv_sys_max_cmd_len=196608
   6341     ;;
   6342 
   6343   osf*)
   6344     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6345     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6346     # nice to cause kernel panics so lets avoid the loop below.
   6347     # First set a reasonable default.
   6348     lt_cv_sys_max_cmd_len=16384
   6349     #
   6350     if test -x /sbin/sysconfig; then
   6351       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6352         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6353       esac
   6354     fi
   6355     ;;
   6356   sco3.2v5*)
   6357     lt_cv_sys_max_cmd_len=102400
   6358     ;;
   6359   sysv5* | sco5v6* | sysv4.2uw2*)
   6360     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6361     if test -n "$kargmax"; then
   6362       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6363     else
   6364       lt_cv_sys_max_cmd_len=32768
   6365     fi
   6366     ;;
   6367   *)
   6368     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6369     if test -n "$lt_cv_sys_max_cmd_len"; then
   6370       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6371       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6372     else
   6373       # Make teststring a little bigger before we do anything with it.
   6374       # a 1K string should be a reasonable start.
   6375       for i in 1 2 3 4 5 6 7 8 ; do
   6376         teststring=$teststring$teststring
   6377       done
   6378       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6379       # If test is not a shell built-in, we'll probably end up computing a
   6380       # maximum length that is only half of the actual maximum length, but
   6381       # we can't tell.
   6382       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   6383 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6384 	      test $i != 17 # 1/2 MB should be enough
   6385       do
   6386         i=`expr $i + 1`
   6387         teststring=$teststring$teststring
   6388       done
   6389       # Only check the string length outside the loop.
   6390       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6391       teststring=
   6392       # Add a significant safety factor because C++ compilers can tack on
   6393       # massive amounts of additional arguments before passing them to the
   6394       # linker.  It appears as though 1/2 is a usable value.
   6395       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6396     fi
   6397     ;;
   6398   esac
   6399 
   6400 fi
   6401 
   6402 if test -n $lt_cv_sys_max_cmd_len ; then
   6403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6404 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6405 else
   6406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6407 $as_echo "none" >&6; }
   6408 fi
   6409 max_cmd_len=$lt_cv_sys_max_cmd_len
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 : ${CP="cp -f"}
   6417 : ${MV="mv -f"}
   6418 : ${RM="rm -f"}
   6419 
   6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   6421 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   6422 # Try some XSI features
   6423 xsi_shell=no
   6424 ( _lt_dummy="a/b/c"
   6425   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   6426       = c,a/b,, \
   6427     && eval 'test $(( 1 + 1 )) -eq 2 \
   6428     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   6429   && xsi_shell=yes
   6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   6431 $as_echo "$xsi_shell" >&6; }
   6432 
   6433 
   6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   6435 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   6436 lt_shell_append=no
   6437 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   6438     >/dev/null 2>&1 \
   6439   && lt_shell_append=yes
   6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   6441 $as_echo "$lt_shell_append" >&6; }
   6442 
   6443 
   6444 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6445   lt_unset=unset
   6446 else
   6447   lt_unset=false
   6448 fi
   6449 
   6450 
   6451 
   6452 
   6453 
   6454 # test EBCDIC or ASCII
   6455 case `echo X|tr X '\101'` in
   6456  A) # ASCII based system
   6457     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6458   lt_SP2NL='tr \040 \012'
   6459   lt_NL2SP='tr \015\012 \040\040'
   6460   ;;
   6461  *) # EBCDIC based system
   6462   lt_SP2NL='tr \100 \n'
   6463   lt_NL2SP='tr \r\n \100\100'
   6464   ;;
   6465 esac
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6476 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6477 if ${lt_cv_ld_reload_flag+:} false; then :
   6478   $as_echo_n "(cached) " >&6
   6479 else
   6480   lt_cv_ld_reload_flag='-r'
   6481 fi
   6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6483 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6484 reload_flag=$lt_cv_ld_reload_flag
   6485 case $reload_flag in
   6486 "" | " "*) ;;
   6487 *) reload_flag=" $reload_flag" ;;
   6488 esac
   6489 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6490 case $host_os in
   6491   darwin*)
   6492     if test "$GCC" = yes; then
   6493       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6494     else
   6495       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6496     fi
   6497     ;;
   6498 esac
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 if test -n "$ac_tool_prefix"; then
   6509   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6510 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6512 $as_echo_n "checking for $ac_word... " >&6; }
   6513 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6514   $as_echo_n "(cached) " >&6
   6515 else
   6516   if test -n "$OBJDUMP"; then
   6517   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6518 else
   6519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6520 for as_dir in $PATH
   6521 do
   6522   IFS=$as_save_IFS
   6523   test -z "$as_dir" && as_dir=.
   6524     for ac_exec_ext in '' $ac_executable_extensions; do
   6525   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6526     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6527     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6528     break 2
   6529   fi
   6530 done
   6531   done
   6532 IFS=$as_save_IFS
   6533 
   6534 fi
   6535 fi
   6536 OBJDUMP=$ac_cv_prog_OBJDUMP
   6537 if test -n "$OBJDUMP"; then
   6538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6539 $as_echo "$OBJDUMP" >&6; }
   6540 else
   6541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6542 $as_echo "no" >&6; }
   6543 fi
   6544 
   6545 
   6546 fi
   6547 if test -z "$ac_cv_prog_OBJDUMP"; then
   6548   ac_ct_OBJDUMP=$OBJDUMP
   6549   # Extract the first word of "objdump", so it can be a program name with args.
   6550 set dummy objdump; ac_word=$2
   6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6552 $as_echo_n "checking for $ac_word... " >&6; }
   6553 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6554   $as_echo_n "(cached) " >&6
   6555 else
   6556   if test -n "$ac_ct_OBJDUMP"; then
   6557   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6558 else
   6559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6560 for as_dir in $PATH
   6561 do
   6562   IFS=$as_save_IFS
   6563   test -z "$as_dir" && as_dir=.
   6564     for ac_exec_ext in '' $ac_executable_extensions; do
   6565   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6566     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6567     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6568     break 2
   6569   fi
   6570 done
   6571   done
   6572 IFS=$as_save_IFS
   6573 
   6574 fi
   6575 fi
   6576 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6577 if test -n "$ac_ct_OBJDUMP"; then
   6578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6579 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6580 else
   6581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6582 $as_echo "no" >&6; }
   6583 fi
   6584 
   6585   if test "x$ac_ct_OBJDUMP" = x; then
   6586     OBJDUMP="false"
   6587   else
   6588     case $cross_compiling:$ac_tool_warned in
   6589 yes:)
   6590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6591 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6592 ac_tool_warned=yes ;;
   6593 esac
   6594     OBJDUMP=$ac_ct_OBJDUMP
   6595   fi
   6596 else
   6597   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6598 fi
   6599 
   6600 test -z "$OBJDUMP" && OBJDUMP=objdump
   6601 
   6602 
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 
   6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6611 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6612 if ${lt_cv_deplibs_check_method+:} false; then :
   6613   $as_echo_n "(cached) " >&6
   6614 else
   6615   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6616 lt_cv_file_magic_test_file=
   6617 lt_cv_deplibs_check_method='unknown'
   6618 # Need to set the preceding variable on all platforms that support
   6619 # interlibrary dependencies.
   6620 # 'none' -- dependencies not supported.
   6621 # `unknown' -- same as none, but documents that we really don't know.
   6622 # 'pass_all' -- all dependencies passed with no checks.
   6623 # 'test_compile' -- check by making test program.
   6624 # 'file_magic [[regex]]' -- check by looking for files in library path
   6625 # which responds to the $file_magic_cmd with a given extended regex.
   6626 # If you have `file' or equivalent on your system and you're not sure
   6627 # whether `pass_all' will *always* work, you probably want this one.
   6628 
   6629 case $host_os in
   6630 aix[4-9]*)
   6631   lt_cv_deplibs_check_method=pass_all
   6632   ;;
   6633 
   6634 beos*)
   6635   lt_cv_deplibs_check_method=pass_all
   6636   ;;
   6637 
   6638 bsdi[45]*)
   6639   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6640   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6641   lt_cv_file_magic_test_file=/shlib/libc.so
   6642   ;;
   6643 
   6644 cygwin*)
   6645   # func_win32_libid is a shell function defined in ltmain.sh
   6646   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6647   lt_cv_file_magic_cmd='func_win32_libid'
   6648   ;;
   6649 
   6650 mingw* | pw32*)
   6651   # Base MSYS/MinGW do not provide the 'file' command needed by
   6652   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6653   # unless we find 'file', for example because we are cross-compiling.
   6654   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6655   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6656     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6657     lt_cv_file_magic_cmd='func_win32_libid'
   6658   else
   6659     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6660     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6661   fi
   6662   ;;
   6663 
   6664 cegcc*)
   6665   # use the weaker test based on 'objdump'. See mingw*.
   6666   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6667   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6668   ;;
   6669 
   6670 darwin* | rhapsody*)
   6671   lt_cv_deplibs_check_method=pass_all
   6672   ;;
   6673 
   6674 freebsd* | dragonfly*)
   6675   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6676     case $host_cpu in
   6677     i*86 )
   6678       # Not sure whether the presence of OpenBSD here was a mistake.
   6679       # Let's accept both of them until this is cleared up.
   6680       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6681       lt_cv_file_magic_cmd=/usr/bin/file
   6682       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6683       ;;
   6684     esac
   6685   else
   6686     lt_cv_deplibs_check_method=pass_all
   6687   fi
   6688   ;;
   6689 
   6690 gnu*)
   6691   lt_cv_deplibs_check_method=pass_all
   6692   ;;
   6693 
   6694 haiku*)
   6695   lt_cv_deplibs_check_method=pass_all
   6696   ;;
   6697 
   6698 hpux10.20* | hpux11*)
   6699   lt_cv_file_magic_cmd=/usr/bin/file
   6700   case $host_cpu in
   6701   ia64*)
   6702     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6703     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6704     ;;
   6705   hppa*64*)
   6706     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]'
   6707     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6708     ;;
   6709   *)
   6710     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6711     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6712     ;;
   6713   esac
   6714   ;;
   6715 
   6716 interix[3-9]*)
   6717   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6718   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6719   ;;
   6720 
   6721 irix5* | irix6* | nonstopux*)
   6722   case $LD in
   6723   *-32|*"-32 ") libmagic=32-bit;;
   6724   *-n32|*"-n32 ") libmagic=N32;;
   6725   *-64|*"-64 ") libmagic=64-bit;;
   6726   *) libmagic=never-match;;
   6727   esac
   6728   lt_cv_deplibs_check_method=pass_all
   6729   ;;
   6730 
   6731 # This must be Linux ELF.
   6732 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   6733   lt_cv_deplibs_check_method=pass_all
   6734   ;;
   6735 
   6736 netbsd*)
   6737   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6738     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6739   else
   6740     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6741   fi
   6742   ;;
   6743 
   6744 newos6*)
   6745   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6746   lt_cv_file_magic_cmd=/usr/bin/file
   6747   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6748   ;;
   6749 
   6750 *nto* | *qnx*)
   6751   lt_cv_deplibs_check_method=pass_all
   6752   ;;
   6753 
   6754 openbsd*)
   6755   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6756     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6757   else
   6758     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6759   fi
   6760   ;;
   6761 
   6762 osf3* | osf4* | osf5*)
   6763   lt_cv_deplibs_check_method=pass_all
   6764   ;;
   6765 
   6766 rdos*)
   6767   lt_cv_deplibs_check_method=pass_all
   6768   ;;
   6769 
   6770 solaris*)
   6771   lt_cv_deplibs_check_method=pass_all
   6772   ;;
   6773 
   6774 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6775   lt_cv_deplibs_check_method=pass_all
   6776   ;;
   6777 
   6778 sysv4 | sysv4.3*)
   6779   case $host_vendor in
   6780   motorola)
   6781     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]'
   6782     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6783     ;;
   6784   ncr)
   6785     lt_cv_deplibs_check_method=pass_all
   6786     ;;
   6787   sequent)
   6788     lt_cv_file_magic_cmd='/bin/file'
   6789     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6790     ;;
   6791   sni)
   6792     lt_cv_file_magic_cmd='/bin/file'
   6793     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6794     lt_cv_file_magic_test_file=/lib/libc.so
   6795     ;;
   6796   siemens)
   6797     lt_cv_deplibs_check_method=pass_all
   6798     ;;
   6799   pc)
   6800     lt_cv_deplibs_check_method=pass_all
   6801     ;;
   6802   esac
   6803   ;;
   6804 
   6805 tpf*)
   6806   lt_cv_deplibs_check_method=pass_all
   6807   ;;
   6808 esac
   6809 
   6810 fi
   6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6812 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6813 file_magic_cmd=$lt_cv_file_magic_cmd
   6814 deplibs_check_method=$lt_cv_deplibs_check_method
   6815 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6816 
   6817 
   6818 
   6819 
   6820 
   6821 
   6822 
   6823 
   6824 
   6825 
   6826 
   6827 
   6828 if test -n "$ac_tool_prefix"; then
   6829   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6830 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6832 $as_echo_n "checking for $ac_word... " >&6; }
   6833 if ${ac_cv_prog_AR+:} false; then :
   6834   $as_echo_n "(cached) " >&6
   6835 else
   6836   if test -n "$AR"; then
   6837   ac_cv_prog_AR="$AR" # Let the user override the test.
   6838 else
   6839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6840 for as_dir in $PATH
   6841 do
   6842   IFS=$as_save_IFS
   6843   test -z "$as_dir" && as_dir=.
   6844     for ac_exec_ext in '' $ac_executable_extensions; do
   6845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6846     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6848     break 2
   6849   fi
   6850 done
   6851   done
   6852 IFS=$as_save_IFS
   6853 
   6854 fi
   6855 fi
   6856 AR=$ac_cv_prog_AR
   6857 if test -n "$AR"; then
   6858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6859 $as_echo "$AR" >&6; }
   6860 else
   6861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6862 $as_echo "no" >&6; }
   6863 fi
   6864 
   6865 
   6866 fi
   6867 if test -z "$ac_cv_prog_AR"; then
   6868   ac_ct_AR=$AR
   6869   # Extract the first word of "ar", so it can be a program name with args.
   6870 set dummy ar; ac_word=$2
   6871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6872 $as_echo_n "checking for $ac_word... " >&6; }
   6873 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6874   $as_echo_n "(cached) " >&6
   6875 else
   6876   if test -n "$ac_ct_AR"; then
   6877   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6878 else
   6879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6880 for as_dir in $PATH
   6881 do
   6882   IFS=$as_save_IFS
   6883   test -z "$as_dir" && as_dir=.
   6884     for ac_exec_ext in '' $ac_executable_extensions; do
   6885   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6886     ac_cv_prog_ac_ct_AR="ar"
   6887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6888     break 2
   6889   fi
   6890 done
   6891   done
   6892 IFS=$as_save_IFS
   6893 
   6894 fi
   6895 fi
   6896 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6897 if test -n "$ac_ct_AR"; then
   6898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6899 $as_echo "$ac_ct_AR" >&6; }
   6900 else
   6901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6902 $as_echo "no" >&6; }
   6903 fi
   6904 
   6905   if test "x$ac_ct_AR" = x; then
   6906     AR="false"
   6907   else
   6908     case $cross_compiling:$ac_tool_warned in
   6909 yes:)
   6910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6912 ac_tool_warned=yes ;;
   6913 esac
   6914     AR=$ac_ct_AR
   6915   fi
   6916 else
   6917   AR="$ac_cv_prog_AR"
   6918 fi
   6919 
   6920 test -z "$AR" && AR=ar
   6921 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 if test -n "$ac_tool_prefix"; then
   6934   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6935 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6937 $as_echo_n "checking for $ac_word... " >&6; }
   6938 if ${ac_cv_prog_STRIP+:} false; then :
   6939   $as_echo_n "(cached) " >&6
   6940 else
   6941   if test -n "$STRIP"; then
   6942   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6943 else
   6944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6945 for as_dir in $PATH
   6946 do
   6947   IFS=$as_save_IFS
   6948   test -z "$as_dir" && as_dir=.
   6949     for ac_exec_ext in '' $ac_executable_extensions; do
   6950   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6951     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6952     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6953     break 2
   6954   fi
   6955 done
   6956   done
   6957 IFS=$as_save_IFS
   6958 
   6959 fi
   6960 fi
   6961 STRIP=$ac_cv_prog_STRIP
   6962 if test -n "$STRIP"; then
   6963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6964 $as_echo "$STRIP" >&6; }
   6965 else
   6966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6967 $as_echo "no" >&6; }
   6968 fi
   6969 
   6970 
   6971 fi
   6972 if test -z "$ac_cv_prog_STRIP"; then
   6973   ac_ct_STRIP=$STRIP
   6974   # Extract the first word of "strip", so it can be a program name with args.
   6975 set dummy strip; ac_word=$2
   6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6977 $as_echo_n "checking for $ac_word... " >&6; }
   6978 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6979   $as_echo_n "(cached) " >&6
   6980 else
   6981   if test -n "$ac_ct_STRIP"; then
   6982   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6983 else
   6984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6985 for as_dir in $PATH
   6986 do
   6987   IFS=$as_save_IFS
   6988   test -z "$as_dir" && as_dir=.
   6989     for ac_exec_ext in '' $ac_executable_extensions; do
   6990   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6991     ac_cv_prog_ac_ct_STRIP="strip"
   6992     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6993     break 2
   6994   fi
   6995 done
   6996   done
   6997 IFS=$as_save_IFS
   6998 
   6999 fi
   7000 fi
   7001 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7002 if test -n "$ac_ct_STRIP"; then
   7003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7004 $as_echo "$ac_ct_STRIP" >&6; }
   7005 else
   7006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7007 $as_echo "no" >&6; }
   7008 fi
   7009 
   7010   if test "x$ac_ct_STRIP" = x; then
   7011     STRIP=":"
   7012   else
   7013     case $cross_compiling:$ac_tool_warned in
   7014 yes:)
   7015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7017 ac_tool_warned=yes ;;
   7018 esac
   7019     STRIP=$ac_ct_STRIP
   7020   fi
   7021 else
   7022   STRIP="$ac_cv_prog_STRIP"
   7023 fi
   7024 
   7025 test -z "$STRIP" && STRIP=:
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 if test -n "$ac_tool_prefix"; then
   7033   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7034 set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+:} false; then :
   7038   $as_echo_n "(cached) " >&6
   7039 else
   7040   if test -n "$RANLIB"; then
   7041   ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib"
   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 RANLIB=$ac_cv_prog_RANLIB
   7061 if test -n "$RANLIB"; then
   7062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7063 $as_echo "$RANLIB" >&6; }
   7064 else
   7065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7066 $as_echo "no" >&6; }
   7067 fi
   7068 
   7069 
   7070 fi
   7071 if test -z "$ac_cv_prog_RANLIB"; then
   7072   ac_ct_RANLIB=$RANLIB
   7073   # Extract the first word of "ranlib", so it can be a program name with args.
   7074 set dummy ranlib; ac_word=$2
   7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7076 $as_echo_n "checking for $ac_word... " >&6; }
   7077 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   7078   $as_echo_n "(cached) " >&6
   7079 else
   7080   if test -n "$ac_ct_RANLIB"; then
   7081   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7082 else
   7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7084 for as_dir in $PATH
   7085 do
   7086   IFS=$as_save_IFS
   7087   test -z "$as_dir" && as_dir=.
   7088     for ac_exec_ext in '' $ac_executable_extensions; do
   7089   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7090     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7091     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7092     break 2
   7093   fi
   7094 done
   7095   done
   7096 IFS=$as_save_IFS
   7097 
   7098 fi
   7099 fi
   7100 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7101 if test -n "$ac_ct_RANLIB"; then
   7102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7103 $as_echo "$ac_ct_RANLIB" >&6; }
   7104 else
   7105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7106 $as_echo "no" >&6; }
   7107 fi
   7108 
   7109   if test "x$ac_ct_RANLIB" = x; then
   7110     RANLIB=":"
   7111   else
   7112     case $cross_compiling:$ac_tool_warned in
   7113 yes:)
   7114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7116 ac_tool_warned=yes ;;
   7117 esac
   7118     RANLIB=$ac_ct_RANLIB
   7119   fi
   7120 else
   7121   RANLIB="$ac_cv_prog_RANLIB"
   7122 fi
   7123 
   7124 test -z "$RANLIB" && RANLIB=:
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 
   7131 # Determine commands to create old-style static archives.
   7132 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7133 old_postinstall_cmds='chmod 644 $oldlib'
   7134 old_postuninstall_cmds=
   7135 
   7136 if test -n "$RANLIB"; then
   7137   case $host_os in
   7138   openbsd*)
   7139     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7140     ;;
   7141   *)
   7142     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7143     ;;
   7144   esac
   7145   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7146 fi
   7147 
   7148 case $host_os in
   7149   darwin*)
   7150     lock_old_archive_extraction=yes ;;
   7151   *)
   7152     lock_old_archive_extraction=no ;;
   7153 esac
   7154 
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 # If no C compiler was specified, use CC.
   7194 LTCC=${LTCC-"$CC"}
   7195 
   7196 # If no C compiler flags were specified, use CFLAGS.
   7197 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7198 
   7199 # Allow CC to be a program name with arguments.
   7200 compiler=$CC
   7201 
   7202 
   7203 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7205 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7206 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   7207   $as_echo_n "(cached) " >&6
   7208 else
   7209 
   7210 # These are sane defaults that work on at least a few old systems.
   7211 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7212 
   7213 # Character class describing NM global symbol codes.
   7214 symcode='[BCDEGRST]'
   7215 
   7216 # Regexp to match symbols that can be accessed directly from C.
   7217 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7218 
   7219 # Define system-specific variables.
   7220 case $host_os in
   7221 aix*)
   7222   symcode='[BCDT]'
   7223   ;;
   7224 cygwin* | mingw* | pw32* | cegcc*)
   7225   symcode='[ABCDGISTW]'
   7226   ;;
   7227 hpux*)
   7228   if test "$host_cpu" = ia64; then
   7229     symcode='[ABCDEGRST]'
   7230   fi
   7231   ;;
   7232 irix* | nonstopux*)
   7233   symcode='[BCDEGRST]'
   7234   ;;
   7235 osf*)
   7236   symcode='[BCDEGQRST]'
   7237   ;;
   7238 solaris*)
   7239   symcode='[BDRT]'
   7240   ;;
   7241 sco3.2v5*)
   7242   symcode='[DT]'
   7243   ;;
   7244 sysv4.2uw2*)
   7245   symcode='[DT]'
   7246   ;;
   7247 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7248   symcode='[ABDT]'
   7249   ;;
   7250 sysv4)
   7251   symcode='[DFNSTU]'
   7252   ;;
   7253 esac
   7254 
   7255 # If we're using GNU nm, then use its standard symbol codes.
   7256 case `$NM -V 2>&1` in
   7257 *GNU* | *'with BFD'*)
   7258   symcode='[ABCDGIRSTW]' ;;
   7259 esac
   7260 
   7261 # Transform an extracted symbol line into a proper C declaration.
   7262 # Some systems (esp. on ia64) link data and code symbols differently,
   7263 # so use this general approach.
   7264 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7265 
   7266 # Transform an extracted symbol line into symbol name and symbol address
   7267 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7268 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'"
   7269 
   7270 # Handle CRLF in mingw tool chain
   7271 opt_cr=
   7272 case $build_os in
   7273 mingw*)
   7274   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7275   ;;
   7276 esac
   7277 
   7278 # Try without a prefix underscore, then with it.
   7279 for ac_symprfx in "" "_"; do
   7280 
   7281   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7282   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7283 
   7284   # Write the raw and C identifiers.
   7285   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7286     # Fake it for dumpbin and say T for any non-static function
   7287     # and D for any global variable.
   7288     # Also find C++ and __fastcall symbols from MSVC++,
   7289     # which start with @ or ?.
   7290     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7291 "     {last_section=section; section=\$ 3};"\
   7292 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7293 "     \$ 0!~/External *\|/{next};"\
   7294 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7295 "     {if(hide[section]) next};"\
   7296 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7297 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7298 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7299 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7300 "     ' prfx=^$ac_symprfx"
   7301   else
   7302     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7303   fi
   7304 
   7305   # Check to see that the pipe works correctly.
   7306   pipe_works=no
   7307 
   7308   rm -f conftest*
   7309   cat > conftest.$ac_ext <<_LT_EOF
   7310 #ifdef __cplusplus
   7311 extern "C" {
   7312 #endif
   7313 char nm_test_var;
   7314 void nm_test_func(void);
   7315 void nm_test_func(void){}
   7316 #ifdef __cplusplus
   7317 }
   7318 #endif
   7319 int main(){nm_test_var='a';nm_test_func();return(0);}
   7320 _LT_EOF
   7321 
   7322   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7323   (eval $ac_compile) 2>&5
   7324   ac_status=$?
   7325   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7326   test $ac_status = 0; }; then
   7327     # Now try to grab the symbols.
   7328     nlist=conftest.nm
   7329     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7330   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7331   ac_status=$?
   7332   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7333   test $ac_status = 0; } && test -s "$nlist"; then
   7334       # Try sorting and uniquifying the output.
   7335       if sort "$nlist" | uniq > "$nlist"T; then
   7336 	mv -f "$nlist"T "$nlist"
   7337       else
   7338 	rm -f "$nlist"T
   7339       fi
   7340 
   7341       # Make sure that we snagged all the symbols we need.
   7342       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7343 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7344 	  cat <<_LT_EOF > conftest.$ac_ext
   7345 #ifdef __cplusplus
   7346 extern "C" {
   7347 #endif
   7348 
   7349 _LT_EOF
   7350 	  # Now generate the symbol file.
   7351 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7352 
   7353 	  cat <<_LT_EOF >> conftest.$ac_ext
   7354 
   7355 /* The mapping between symbol names and symbols.  */
   7356 const struct {
   7357   const char *name;
   7358   void       *address;
   7359 }
   7360 lt__PROGRAM__LTX_preloaded_symbols[] =
   7361 {
   7362   { "@PROGRAM@", (void *) 0 },
   7363 _LT_EOF
   7364 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7365 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7366   {0, (void *) 0}
   7367 };
   7368 
   7369 /* This works around a problem in FreeBSD linker */
   7370 #ifdef FREEBSD_WORKAROUND
   7371 static const void *lt_preloaded_setup() {
   7372   return lt__PROGRAM__LTX_preloaded_symbols;
   7373 }
   7374 #endif
   7375 
   7376 #ifdef __cplusplus
   7377 }
   7378 #endif
   7379 _LT_EOF
   7380 	  # Now try linking the two files.
   7381 	  mv conftest.$ac_objext conftstm.$ac_objext
   7382 	  lt_save_LIBS="$LIBS"
   7383 	  lt_save_CFLAGS="$CFLAGS"
   7384 	  LIBS="conftstm.$ac_objext"
   7385 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7386 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7387   (eval $ac_link) 2>&5
   7388   ac_status=$?
   7389   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7390   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7391 	    pipe_works=yes
   7392 	  fi
   7393 	  LIBS="$lt_save_LIBS"
   7394 	  CFLAGS="$lt_save_CFLAGS"
   7395 	else
   7396 	  echo "cannot find nm_test_func in $nlist" >&5
   7397 	fi
   7398       else
   7399 	echo "cannot find nm_test_var in $nlist" >&5
   7400       fi
   7401     else
   7402       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7403     fi
   7404   else
   7405     echo "$progname: failed program was:" >&5
   7406     cat conftest.$ac_ext >&5
   7407   fi
   7408   rm -rf conftest* conftst*
   7409 
   7410   # Do not use the global_symbol_pipe unless it works.
   7411   if test "$pipe_works" = yes; then
   7412     break
   7413   else
   7414     lt_cv_sys_global_symbol_pipe=
   7415   fi
   7416 done
   7417 
   7418 fi
   7419 
   7420 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7421   lt_cv_sys_global_symbol_to_cdecl=
   7422 fi
   7423 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7425 $as_echo "failed" >&6; }
   7426 else
   7427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7428 $as_echo "ok" >&6; }
   7429 fi
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 # Check whether --enable-libtool-lock was given.
   7453 if test "${enable_libtool_lock+set}" = set; then :
   7454   enableval=$enable_libtool_lock;
   7455 fi
   7456 
   7457 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7458 
   7459 # Some flags need to be propagated to the compiler or linker for good
   7460 # libtool support.
   7461 case $host in
   7462 ia64-*-hpux*)
   7463   # Find out which ABI we are using.
   7464   echo 'int i;' > conftest.$ac_ext
   7465   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7466   (eval $ac_compile) 2>&5
   7467   ac_status=$?
   7468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7469   test $ac_status = 0; }; then
   7470     case `/usr/bin/file conftest.$ac_objext` in
   7471       *ELF-32*)
   7472 	HPUX_IA64_MODE="32"
   7473 	;;
   7474       *ELF-64*)
   7475 	HPUX_IA64_MODE="64"
   7476 	;;
   7477     esac
   7478   fi
   7479   rm -rf conftest*
   7480   ;;
   7481 *-*-irix6*)
   7482   # Find out which ABI we are using.
   7483   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7484   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7485   (eval $ac_compile) 2>&5
   7486   ac_status=$?
   7487   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7488   test $ac_status = 0; }; then
   7489     if test "$lt_cv_prog_gnu_ld" = yes; then
   7490       case `/usr/bin/file conftest.$ac_objext` in
   7491 	*32-bit*)
   7492 	  LD="${LD-ld} -melf32bsmip"
   7493 	  ;;
   7494 	*N32*)
   7495 	  LD="${LD-ld} -melf32bmipn32"
   7496 	  ;;
   7497 	*64-bit*)
   7498 	  LD="${LD-ld} -melf64bmip"
   7499 	;;
   7500       esac
   7501     else
   7502       case `/usr/bin/file conftest.$ac_objext` in
   7503 	*32-bit*)
   7504 	  LD="${LD-ld} -32"
   7505 	  ;;
   7506 	*N32*)
   7507 	  LD="${LD-ld} -n32"
   7508 	  ;;
   7509 	*64-bit*)
   7510 	  LD="${LD-ld} -64"
   7511 	  ;;
   7512       esac
   7513     fi
   7514   fi
   7515   rm -rf conftest*
   7516   ;;
   7517 
   7518 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7519 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7520   # Find out which ABI we are using.
   7521   echo 'int i;' > conftest.$ac_ext
   7522   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7523   (eval $ac_compile) 2>&5
   7524   ac_status=$?
   7525   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7526   test $ac_status = 0; }; then
   7527     case `/usr/bin/file conftest.o` in
   7528       *32-bit*)
   7529 	case $host in
   7530 	  x86_64-*kfreebsd*-gnu)
   7531 	    LD="${LD-ld} -m elf_i386_fbsd"
   7532 	    ;;
   7533 	  x86_64-*linux*)
   7534 	    case `/usr/bin/file conftest.o` in
   7535 	      *x86-64*)
   7536 		LD="${LD-ld} -m elf32_x86_64"
   7537 		;;
   7538 	      *)
   7539 		LD="${LD-ld} -m elf_i386"
   7540 		;;
   7541 	    esac
   7542 	    ;;
   7543 	  powerpc64le-*linux*)
   7544 	    LD="${LD-ld} -m elf32lppclinux"
   7545 	    ;;
   7546 	  powerpc64-*linux*)
   7547 	    LD="${LD-ld} -m elf32ppclinux"
   7548 	    ;;
   7549 	  s390x-*linux*)
   7550 	    LD="${LD-ld} -m elf_s390"
   7551 	    ;;
   7552 	  sparc64-*linux*)
   7553 	    LD="${LD-ld} -m elf32_sparc"
   7554 	    ;;
   7555 	esac
   7556 	;;
   7557       *64-bit*)
   7558 	case $host in
   7559 	  x86_64-*kfreebsd*-gnu)
   7560 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7561 	    ;;
   7562 	  x86_64-*linux*)
   7563 	    LD="${LD-ld} -m elf_x86_64"
   7564 	    ;;
   7565 	  powerpcle-*linux*)
   7566 	    LD="${LD-ld} -m elf64lppc"
   7567 	    ;;
   7568 	  powerpc-*linux*)
   7569 	    LD="${LD-ld} -m elf64ppc"
   7570 	    ;;
   7571 	  s390*-*linux*|s390*-*tpf*)
   7572 	    LD="${LD-ld} -m elf64_s390"
   7573 	    ;;
   7574 	  sparc*-*linux*)
   7575 	    LD="${LD-ld} -m elf64_sparc"
   7576 	    ;;
   7577 	esac
   7578 	;;
   7579     esac
   7580   fi
   7581   rm -rf conftest*
   7582   ;;
   7583 
   7584 *-*-sco3.2v5*)
   7585   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7586   SAVE_CFLAGS="$CFLAGS"
   7587   CFLAGS="$CFLAGS -belf"
   7588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7589 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7590 if ${lt_cv_cc_needs_belf+:} false; then :
   7591   $as_echo_n "(cached) " >&6
   7592 else
   7593   ac_ext=c
   7594 ac_cpp='$CPP $CPPFLAGS'
   7595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7598 
   7599      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7600 /* end confdefs.h.  */
   7601 
   7602 int
   7603 main ()
   7604 {
   7605 
   7606   ;
   7607   return 0;
   7608 }
   7609 _ACEOF
   7610 if ac_fn_c_try_link "$LINENO"; then :
   7611   lt_cv_cc_needs_belf=yes
   7612 else
   7613   lt_cv_cc_needs_belf=no
   7614 fi
   7615 rm -f core conftest.err conftest.$ac_objext \
   7616     conftest$ac_exeext conftest.$ac_ext
   7617      ac_ext=c
   7618 ac_cpp='$CPP $CPPFLAGS'
   7619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7622 
   7623 fi
   7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7625 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7626   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7627     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7628     CFLAGS="$SAVE_CFLAGS"
   7629   fi
   7630   ;;
   7631 sparc*-*solaris*)
   7632   # Find out which ABI we are using.
   7633   echo 'int i;' > conftest.$ac_ext
   7634   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7635   (eval $ac_compile) 2>&5
   7636   ac_status=$?
   7637   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7638   test $ac_status = 0; }; then
   7639     case `/usr/bin/file conftest.o` in
   7640     *64-bit*)
   7641       case $lt_cv_prog_gnu_ld in
   7642       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7643       *)
   7644 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7645 	  LD="${LD-ld} -64"
   7646 	fi
   7647 	;;
   7648       esac
   7649       ;;
   7650     esac
   7651   fi
   7652   rm -rf conftest*
   7653   ;;
   7654 esac
   7655 
   7656 need_locks="$enable_libtool_lock"
   7657 
   7658 
   7659   case $host_os in
   7660     rhapsody* | darwin*)
   7661     if test -n "$ac_tool_prefix"; then
   7662   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7663 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7665 $as_echo_n "checking for $ac_word... " >&6; }
   7666 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7667   $as_echo_n "(cached) " >&6
   7668 else
   7669   if test -n "$DSYMUTIL"; then
   7670   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7671 else
   7672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7673 for as_dir in $PATH
   7674 do
   7675   IFS=$as_save_IFS
   7676   test -z "$as_dir" && as_dir=.
   7677     for ac_exec_ext in '' $ac_executable_extensions; do
   7678   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7679     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7681     break 2
   7682   fi
   7683 done
   7684   done
   7685 IFS=$as_save_IFS
   7686 
   7687 fi
   7688 fi
   7689 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7690 if test -n "$DSYMUTIL"; then
   7691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7692 $as_echo "$DSYMUTIL" >&6; }
   7693 else
   7694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7695 $as_echo "no" >&6; }
   7696 fi
   7697 
   7698 
   7699 fi
   7700 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7701   ac_ct_DSYMUTIL=$DSYMUTIL
   7702   # Extract the first word of "dsymutil", so it can be a program name with args.
   7703 set dummy dsymutil; ac_word=$2
   7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7705 $as_echo_n "checking for $ac_word... " >&6; }
   7706 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7707   $as_echo_n "(cached) " >&6
   7708 else
   7709   if test -n "$ac_ct_DSYMUTIL"; then
   7710   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7711 else
   7712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7713 for as_dir in $PATH
   7714 do
   7715   IFS=$as_save_IFS
   7716   test -z "$as_dir" && as_dir=.
   7717     for ac_exec_ext in '' $ac_executable_extensions; do
   7718   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7719     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7720     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7721     break 2
   7722   fi
   7723 done
   7724   done
   7725 IFS=$as_save_IFS
   7726 
   7727 fi
   7728 fi
   7729 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7730 if test -n "$ac_ct_DSYMUTIL"; then
   7731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7732 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7733 else
   7734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7735 $as_echo "no" >&6; }
   7736 fi
   7737 
   7738   if test "x$ac_ct_DSYMUTIL" = x; then
   7739     DSYMUTIL=":"
   7740   else
   7741     case $cross_compiling:$ac_tool_warned in
   7742 yes:)
   7743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7745 ac_tool_warned=yes ;;
   7746 esac
   7747     DSYMUTIL=$ac_ct_DSYMUTIL
   7748   fi
   7749 else
   7750   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7751 fi
   7752 
   7753     if test -n "$ac_tool_prefix"; then
   7754   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7755 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7757 $as_echo_n "checking for $ac_word... " >&6; }
   7758 if ${ac_cv_prog_NMEDIT+:} false; then :
   7759   $as_echo_n "(cached) " >&6
   7760 else
   7761   if test -n "$NMEDIT"; then
   7762   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7763 else
   7764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7765 for as_dir in $PATH
   7766 do
   7767   IFS=$as_save_IFS
   7768   test -z "$as_dir" && as_dir=.
   7769     for ac_exec_ext in '' $ac_executable_extensions; do
   7770   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7771     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7772     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7773     break 2
   7774   fi
   7775 done
   7776   done
   7777 IFS=$as_save_IFS
   7778 
   7779 fi
   7780 fi
   7781 NMEDIT=$ac_cv_prog_NMEDIT
   7782 if test -n "$NMEDIT"; then
   7783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7784 $as_echo "$NMEDIT" >&6; }
   7785 else
   7786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7787 $as_echo "no" >&6; }
   7788 fi
   7789 
   7790 
   7791 fi
   7792 if test -z "$ac_cv_prog_NMEDIT"; then
   7793   ac_ct_NMEDIT=$NMEDIT
   7794   # Extract the first word of "nmedit", so it can be a program name with args.
   7795 set dummy nmedit; ac_word=$2
   7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7797 $as_echo_n "checking for $ac_word... " >&6; }
   7798 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7799   $as_echo_n "(cached) " >&6
   7800 else
   7801   if test -n "$ac_ct_NMEDIT"; then
   7802   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7803 else
   7804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7805 for as_dir in $PATH
   7806 do
   7807   IFS=$as_save_IFS
   7808   test -z "$as_dir" && as_dir=.
   7809     for ac_exec_ext in '' $ac_executable_extensions; do
   7810   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7811     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7812     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7813     break 2
   7814   fi
   7815 done
   7816   done
   7817 IFS=$as_save_IFS
   7818 
   7819 fi
   7820 fi
   7821 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7822 if test -n "$ac_ct_NMEDIT"; then
   7823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7824 $as_echo "$ac_ct_NMEDIT" >&6; }
   7825 else
   7826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7827 $as_echo "no" >&6; }
   7828 fi
   7829 
   7830   if test "x$ac_ct_NMEDIT" = x; then
   7831     NMEDIT=":"
   7832   else
   7833     case $cross_compiling:$ac_tool_warned in
   7834 yes:)
   7835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7837 ac_tool_warned=yes ;;
   7838 esac
   7839     NMEDIT=$ac_ct_NMEDIT
   7840   fi
   7841 else
   7842   NMEDIT="$ac_cv_prog_NMEDIT"
   7843 fi
   7844 
   7845     if test -n "$ac_tool_prefix"; then
   7846   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7847 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7849 $as_echo_n "checking for $ac_word... " >&6; }
   7850 if ${ac_cv_prog_LIPO+:} false; then :
   7851   $as_echo_n "(cached) " >&6
   7852 else
   7853   if test -n "$LIPO"; then
   7854   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7855 else
   7856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7857 for as_dir in $PATH
   7858 do
   7859   IFS=$as_save_IFS
   7860   test -z "$as_dir" && as_dir=.
   7861     for ac_exec_ext in '' $ac_executable_extensions; do
   7862   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7863     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7864     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7865     break 2
   7866   fi
   7867 done
   7868   done
   7869 IFS=$as_save_IFS
   7870 
   7871 fi
   7872 fi
   7873 LIPO=$ac_cv_prog_LIPO
   7874 if test -n "$LIPO"; then
   7875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7876 $as_echo "$LIPO" >&6; }
   7877 else
   7878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7879 $as_echo "no" >&6; }
   7880 fi
   7881 
   7882 
   7883 fi
   7884 if test -z "$ac_cv_prog_LIPO"; then
   7885   ac_ct_LIPO=$LIPO
   7886   # Extract the first word of "lipo", so it can be a program name with args.
   7887 set dummy lipo; ac_word=$2
   7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7889 $as_echo_n "checking for $ac_word... " >&6; }
   7890 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7891   $as_echo_n "(cached) " >&6
   7892 else
   7893   if test -n "$ac_ct_LIPO"; then
   7894   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7895 else
   7896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7897 for as_dir in $PATH
   7898 do
   7899   IFS=$as_save_IFS
   7900   test -z "$as_dir" && as_dir=.
   7901     for ac_exec_ext in '' $ac_executable_extensions; do
   7902   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7903     ac_cv_prog_ac_ct_LIPO="lipo"
   7904     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7905     break 2
   7906   fi
   7907 done
   7908   done
   7909 IFS=$as_save_IFS
   7910 
   7911 fi
   7912 fi
   7913 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7914 if test -n "$ac_ct_LIPO"; then
   7915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7916 $as_echo "$ac_ct_LIPO" >&6; }
   7917 else
   7918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7919 $as_echo "no" >&6; }
   7920 fi
   7921 
   7922   if test "x$ac_ct_LIPO" = x; then
   7923     LIPO=":"
   7924   else
   7925     case $cross_compiling:$ac_tool_warned in
   7926 yes:)
   7927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7929 ac_tool_warned=yes ;;
   7930 esac
   7931     LIPO=$ac_ct_LIPO
   7932   fi
   7933 else
   7934   LIPO="$ac_cv_prog_LIPO"
   7935 fi
   7936 
   7937     if test -n "$ac_tool_prefix"; then
   7938   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7939 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7941 $as_echo_n "checking for $ac_word... " >&6; }
   7942 if ${ac_cv_prog_OTOOL+:} false; then :
   7943   $as_echo_n "(cached) " >&6
   7944 else
   7945   if test -n "$OTOOL"; then
   7946   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7947 else
   7948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7949 for as_dir in $PATH
   7950 do
   7951   IFS=$as_save_IFS
   7952   test -z "$as_dir" && as_dir=.
   7953     for ac_exec_ext in '' $ac_executable_extensions; do
   7954   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7955     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7956     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7957     break 2
   7958   fi
   7959 done
   7960   done
   7961 IFS=$as_save_IFS
   7962 
   7963 fi
   7964 fi
   7965 OTOOL=$ac_cv_prog_OTOOL
   7966 if test -n "$OTOOL"; then
   7967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7968 $as_echo "$OTOOL" >&6; }
   7969 else
   7970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7971 $as_echo "no" >&6; }
   7972 fi
   7973 
   7974 
   7975 fi
   7976 if test -z "$ac_cv_prog_OTOOL"; then
   7977   ac_ct_OTOOL=$OTOOL
   7978   # Extract the first word of "otool", so it can be a program name with args.
   7979 set dummy otool; ac_word=$2
   7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7981 $as_echo_n "checking for $ac_word... " >&6; }
   7982 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7983   $as_echo_n "(cached) " >&6
   7984 else
   7985   if test -n "$ac_ct_OTOOL"; then
   7986   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7987 else
   7988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7989 for as_dir in $PATH
   7990 do
   7991   IFS=$as_save_IFS
   7992   test -z "$as_dir" && as_dir=.
   7993     for ac_exec_ext in '' $ac_executable_extensions; do
   7994   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7995     ac_cv_prog_ac_ct_OTOOL="otool"
   7996     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7997     break 2
   7998   fi
   7999 done
   8000   done
   8001 IFS=$as_save_IFS
   8002 
   8003 fi
   8004 fi
   8005 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8006 if test -n "$ac_ct_OTOOL"; then
   8007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8008 $as_echo "$ac_ct_OTOOL" >&6; }
   8009 else
   8010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8011 $as_echo "no" >&6; }
   8012 fi
   8013 
   8014   if test "x$ac_ct_OTOOL" = x; then
   8015     OTOOL=":"
   8016   else
   8017     case $cross_compiling:$ac_tool_warned in
   8018 yes:)
   8019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8021 ac_tool_warned=yes ;;
   8022 esac
   8023     OTOOL=$ac_ct_OTOOL
   8024   fi
   8025 else
   8026   OTOOL="$ac_cv_prog_OTOOL"
   8027 fi
   8028 
   8029     if test -n "$ac_tool_prefix"; then
   8030   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8031 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8033 $as_echo_n "checking for $ac_word... " >&6; }
   8034 if ${ac_cv_prog_OTOOL64+:} false; then :
   8035   $as_echo_n "(cached) " >&6
   8036 else
   8037   if test -n "$OTOOL64"; then
   8038   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8039 else
   8040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8041 for as_dir in $PATH
   8042 do
   8043   IFS=$as_save_IFS
   8044   test -z "$as_dir" && as_dir=.
   8045     for ac_exec_ext in '' $ac_executable_extensions; do
   8046   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8047     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8048     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8049     break 2
   8050   fi
   8051 done
   8052   done
   8053 IFS=$as_save_IFS
   8054 
   8055 fi
   8056 fi
   8057 OTOOL64=$ac_cv_prog_OTOOL64
   8058 if test -n "$OTOOL64"; then
   8059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8060 $as_echo "$OTOOL64" >&6; }
   8061 else
   8062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8063 $as_echo "no" >&6; }
   8064 fi
   8065 
   8066 
   8067 fi
   8068 if test -z "$ac_cv_prog_OTOOL64"; then
   8069   ac_ct_OTOOL64=$OTOOL64
   8070   # Extract the first word of "otool64", so it can be a program name with args.
   8071 set dummy otool64; ac_word=$2
   8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8073 $as_echo_n "checking for $ac_word... " >&6; }
   8074 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   8075   $as_echo_n "(cached) " >&6
   8076 else
   8077   if test -n "$ac_ct_OTOOL64"; then
   8078   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8079 else
   8080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8081 for as_dir in $PATH
   8082 do
   8083   IFS=$as_save_IFS
   8084   test -z "$as_dir" && as_dir=.
   8085     for ac_exec_ext in '' $ac_executable_extensions; do
   8086   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8087     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8088     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8089     break 2
   8090   fi
   8091 done
   8092   done
   8093 IFS=$as_save_IFS
   8094 
   8095 fi
   8096 fi
   8097 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8098 if test -n "$ac_ct_OTOOL64"; then
   8099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8100 $as_echo "$ac_ct_OTOOL64" >&6; }
   8101 else
   8102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8103 $as_echo "no" >&6; }
   8104 fi
   8105 
   8106   if test "x$ac_ct_OTOOL64" = x; then
   8107     OTOOL64=":"
   8108   else
   8109     case $cross_compiling:$ac_tool_warned in
   8110 yes:)
   8111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8113 ac_tool_warned=yes ;;
   8114 esac
   8115     OTOOL64=$ac_ct_OTOOL64
   8116   fi
   8117 else
   8118   OTOOL64="$ac_cv_prog_OTOOL64"
   8119 fi
   8120 
   8121 
   8122 
   8123 
   8124 
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8148 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8149 if ${lt_cv_apple_cc_single_mod+:} false; then :
   8150   $as_echo_n "(cached) " >&6
   8151 else
   8152   lt_cv_apple_cc_single_mod=no
   8153       if test -z "${LT_MULTI_MODULE}"; then
   8154 	# By default we will add the -single_module flag. You can override
   8155 	# by either setting the environment variable LT_MULTI_MODULE
   8156 	# non-empty at configure time, or by adding -multi_module to the
   8157 	# link flags.
   8158 	rm -rf libconftest.dylib*
   8159 	echo "int foo(void){return 1;}" > conftest.c
   8160 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8161 -dynamiclib -Wl,-single_module conftest.c" >&5
   8162 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8163 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8164         _lt_result=$?
   8165 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   8166 	  lt_cv_apple_cc_single_mod=yes
   8167 	else
   8168 	  cat conftest.err >&5
   8169 	fi
   8170 	rm -rf libconftest.dylib*
   8171 	rm -f conftest.*
   8172       fi
   8173 fi
   8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8175 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8176     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8177 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8178 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   8179   $as_echo_n "(cached) " >&6
   8180 else
   8181   lt_cv_ld_exported_symbols_list=no
   8182       save_LDFLAGS=$LDFLAGS
   8183       echo "_main" > conftest.sym
   8184       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8186 /* end confdefs.h.  */
   8187 
   8188 int
   8189 main ()
   8190 {
   8191 
   8192   ;
   8193   return 0;
   8194 }
   8195 _ACEOF
   8196 if ac_fn_c_try_link "$LINENO"; then :
   8197   lt_cv_ld_exported_symbols_list=yes
   8198 else
   8199   lt_cv_ld_exported_symbols_list=no
   8200 fi
   8201 rm -f core conftest.err conftest.$ac_objext \
   8202     conftest$ac_exeext conftest.$ac_ext
   8203 	LDFLAGS="$save_LDFLAGS"
   8204 
   8205 fi
   8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8207 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8208     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8209 $as_echo_n "checking for -force_load linker flag... " >&6; }
   8210 if ${lt_cv_ld_force_load+:} false; then :
   8211   $as_echo_n "(cached) " >&6
   8212 else
   8213   lt_cv_ld_force_load=no
   8214       cat > conftest.c << _LT_EOF
   8215 int forced_loaded() { return 2;}
   8216 _LT_EOF
   8217       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8218       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8219       echo "$AR cru libconftest.a conftest.o" >&5
   8220       $AR cru libconftest.a conftest.o 2>&5
   8221       cat > conftest.c << _LT_EOF
   8222 int main() { return 0;}
   8223 _LT_EOF
   8224       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8225       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8226       _lt_result=$?
   8227       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   8228 	lt_cv_ld_force_load=yes
   8229       else
   8230 	cat conftest.err >&5
   8231       fi
   8232         rm -f conftest.err libconftest.a conftest conftest.c
   8233         rm -rf conftest.dSYM
   8234 
   8235 fi
   8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8237 $as_echo "$lt_cv_ld_force_load" >&6; }
   8238     case $host_os in
   8239     rhapsody* | darwin1.[012])
   8240       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   8241     darwin1.*)
   8242       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8243     darwin*) # darwin 5.x on
   8244       # if running on 10.5 or later, the deployment target defaults
   8245       # to the OS version, if on x86, and 10.4, the deployment
   8246       # target defaults to 10.4. Don't you love it?
   8247       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8248 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8249 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8250 	10.[012][,.]*)
   8251 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8252 	10.*)
   8253 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8254       esac
   8255     ;;
   8256   esac
   8257     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   8258       _lt_dar_single_mod='$single_module'
   8259     fi
   8260     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   8261       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8262     else
   8263       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8264     fi
   8265     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   8266       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8267     else
   8268       _lt_dsymutil=
   8269     fi
   8270     ;;
   8271   esac
   8272 
   8273 for ac_header in dlfcn.h
   8274 do :
   8275   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8276 "
   8277 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8278   cat >>confdefs.h <<_ACEOF
   8279 #define HAVE_DLFCN_H 1
   8280 _ACEOF
   8281 
   8282 fi
   8283 
   8284 done
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 # Set options
   8291 enable_dlopen=yes
   8292 
   8293 
   8294 
   8295 
   8296   enable_win32_dll=no
   8297 
   8298 
   8299 
   8300   # Check whether --enable-static was given.
   8301 if test "${enable_static+set}" = set; then :
   8302   enableval=$enable_static; p=${PACKAGE-default}
   8303     case $enableval in
   8304     yes) enable_static=yes ;;
   8305     no) enable_static=no ;;
   8306     *)
   8307      enable_static=no
   8308       # Look at the argument we got.  We use all the common list separators.
   8309       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8310       for pkg in $enableval; do
   8311 	IFS="$lt_save_ifs"
   8312 	if test "X$pkg" = "X$p"; then
   8313 	  enable_static=yes
   8314 	fi
   8315       done
   8316       IFS="$lt_save_ifs"
   8317       ;;
   8318     esac
   8319 else
   8320   enable_static=yes
   8321 fi
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 # Check whether --with-pic was given.
   8333 if test "${with_pic+set}" = set; then :
   8334   withval=$with_pic; pic_mode="$withval"
   8335 else
   8336   pic_mode=default
   8337 fi
   8338 
   8339 
   8340 test -z "$pic_mode" && pic_mode=default
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348   # Check whether --enable-fast-install was given.
   8349 if test "${enable_fast_install+set}" = set; then :
   8350   enableval=$enable_fast_install; p=${PACKAGE-default}
   8351     case $enableval in
   8352     yes) enable_fast_install=yes ;;
   8353     no) enable_fast_install=no ;;
   8354     *)
   8355       enable_fast_install=no
   8356       # Look at the argument we got.  We use all the common list separators.
   8357       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8358       for pkg in $enableval; do
   8359 	IFS="$lt_save_ifs"
   8360 	if test "X$pkg" = "X$p"; then
   8361 	  enable_fast_install=yes
   8362 	fi
   8363       done
   8364       IFS="$lt_save_ifs"
   8365       ;;
   8366     esac
   8367 else
   8368   enable_fast_install=yes
   8369 fi
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 
   8378 
   8379 
   8380 
   8381 # This can be used to rebuild libtool when needed
   8382 LIBTOOL_DEPS="$ltmain"
   8383 
   8384 # Always use our own libtool.
   8385 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 test -z "$LN_S" && LN_S="ln -s"
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 if test -n "${ZSH_VERSION+set}" ; then
   8428    setopt NO_GLOB_SUBST
   8429 fi
   8430 
   8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8432 $as_echo_n "checking for objdir... " >&6; }
   8433 if ${lt_cv_objdir+:} false; then :
   8434   $as_echo_n "(cached) " >&6
   8435 else
   8436   rm -f .libs 2>/dev/null
   8437 mkdir .libs 2>/dev/null
   8438 if test -d .libs; then
   8439   lt_cv_objdir=.libs
   8440 else
   8441   # MS-DOS does not allow filenames that begin with a dot.
   8442   lt_cv_objdir=_libs
   8443 fi
   8444 rmdir .libs 2>/dev/null
   8445 fi
   8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8447 $as_echo "$lt_cv_objdir" >&6; }
   8448 objdir=$lt_cv_objdir
   8449 
   8450 
   8451 
   8452 
   8453 
   8454 cat >>confdefs.h <<_ACEOF
   8455 #define LT_OBJDIR "$lt_cv_objdir/"
   8456 _ACEOF
   8457 
   8458 
   8459 
   8460 
   8461 case $host_os in
   8462 aix3*)
   8463   # AIX sometimes has problems with the GCC collect2 program.  For some
   8464   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8465   # vanish in a puff of smoke.
   8466   if test "X${COLLECT_NAMES+set}" != Xset; then
   8467     COLLECT_NAMES=
   8468     export COLLECT_NAMES
   8469   fi
   8470   ;;
   8471 esac
   8472 
   8473 # Global variables:
   8474 ofile=libtool
   8475 can_build_shared=yes
   8476 
   8477 # All known linkers require a `.a' archive for static linking (except MSVC,
   8478 # which needs '.lib').
   8479 libext=a
   8480 
   8481 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8482 
   8483 old_CC="$CC"
   8484 old_CFLAGS="$CFLAGS"
   8485 
   8486 # Set sane defaults for various variables
   8487 test -z "$CC" && CC=cc
   8488 test -z "$LTCC" && LTCC=$CC
   8489 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8490 test -z "$LD" && LD=ld
   8491 test -z "$ac_objext" && ac_objext=o
   8492 
   8493 for cc_temp in $compiler""; do
   8494   case $cc_temp in
   8495     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8496     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8497     \-*) ;;
   8498     *) break;;
   8499   esac
   8500 done
   8501 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8502 
   8503 
   8504 # Only perform the check for file, if the check method requires it
   8505 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8506 case $deplibs_check_method in
   8507 file_magic*)
   8508   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8509     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8510 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8511 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8512   $as_echo_n "(cached) " >&6
   8513 else
   8514   case $MAGIC_CMD in
   8515 [\\/*] |  ?:[\\/]*)
   8516   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8517   ;;
   8518 *)
   8519   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8520   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8521   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8522   for ac_dir in $ac_dummy; do
   8523     IFS="$lt_save_ifs"
   8524     test -z "$ac_dir" && ac_dir=.
   8525     if test -f $ac_dir/${ac_tool_prefix}file; then
   8526       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8527       if test -n "$file_magic_test_file"; then
   8528 	case $deplibs_check_method in
   8529 	"file_magic "*)
   8530 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8531 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8532 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8533 	    $EGREP "$file_magic_regex" > /dev/null; then
   8534 	    :
   8535 	  else
   8536 	    cat <<_LT_EOF 1>&2
   8537 
   8538 *** Warning: the command libtool uses to detect shared libraries,
   8539 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8540 *** The result is that libtool may fail to recognize shared libraries
   8541 *** as such.  This will affect the creation of libtool libraries that
   8542 *** depend on shared libraries, but programs linked with such libtool
   8543 *** libraries will work regardless of this problem.  Nevertheless, you
   8544 *** may want to report the problem to your system manager and/or to
   8545 *** bug-libtool@gnu.org
   8546 
   8547 _LT_EOF
   8548 	  fi ;;
   8549 	esac
   8550       fi
   8551       break
   8552     fi
   8553   done
   8554   IFS="$lt_save_ifs"
   8555   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8556   ;;
   8557 esac
   8558 fi
   8559 
   8560 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8561 if test -n "$MAGIC_CMD"; then
   8562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8563 $as_echo "$MAGIC_CMD" >&6; }
   8564 else
   8565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8566 $as_echo "no" >&6; }
   8567 fi
   8568 
   8569 
   8570 
   8571 
   8572 
   8573 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8574   if test -n "$ac_tool_prefix"; then
   8575     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8576 $as_echo_n "checking for file... " >&6; }
   8577 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8578   $as_echo_n "(cached) " >&6
   8579 else
   8580   case $MAGIC_CMD in
   8581 [\\/*] |  ?:[\\/]*)
   8582   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8583   ;;
   8584 *)
   8585   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8586   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8587   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8588   for ac_dir in $ac_dummy; do
   8589     IFS="$lt_save_ifs"
   8590     test -z "$ac_dir" && ac_dir=.
   8591     if test -f $ac_dir/file; then
   8592       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8593       if test -n "$file_magic_test_file"; then
   8594 	case $deplibs_check_method in
   8595 	"file_magic "*)
   8596 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8597 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8598 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8599 	    $EGREP "$file_magic_regex" > /dev/null; then
   8600 	    :
   8601 	  else
   8602 	    cat <<_LT_EOF 1>&2
   8603 
   8604 *** Warning: the command libtool uses to detect shared libraries,
   8605 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8606 *** The result is that libtool may fail to recognize shared libraries
   8607 *** as such.  This will affect the creation of libtool libraries that
   8608 *** depend on shared libraries, but programs linked with such libtool
   8609 *** libraries will work regardless of this problem.  Nevertheless, you
   8610 *** may want to report the problem to your system manager and/or to
   8611 *** bug-libtool@gnu.org
   8612 
   8613 _LT_EOF
   8614 	  fi ;;
   8615 	esac
   8616       fi
   8617       break
   8618     fi
   8619   done
   8620   IFS="$lt_save_ifs"
   8621   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8622   ;;
   8623 esac
   8624 fi
   8625 
   8626 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8627 if test -n "$MAGIC_CMD"; then
   8628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8629 $as_echo "$MAGIC_CMD" >&6; }
   8630 else
   8631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8632 $as_echo "no" >&6; }
   8633 fi
   8634 
   8635 
   8636   else
   8637     MAGIC_CMD=:
   8638   fi
   8639 fi
   8640 
   8641   fi
   8642   ;;
   8643 esac
   8644 
   8645 # Use C for the default configuration in the libtool script
   8646 
   8647 lt_save_CC="$CC"
   8648 ac_ext=c
   8649 ac_cpp='$CPP $CPPFLAGS'
   8650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8653 
   8654 
   8655 # Source file extension for C test sources.
   8656 ac_ext=c
   8657 
   8658 # Object file extension for compiled C test sources.
   8659 objext=o
   8660 objext=$objext
   8661 
   8662 # Code to be used in simple compile tests
   8663 lt_simple_compile_test_code="int some_variable = 0;"
   8664 
   8665 # Code to be used in simple link tests
   8666 lt_simple_link_test_code='int main(){return(0);}'
   8667 
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 
   8674 # If no C compiler was specified, use CC.
   8675 LTCC=${LTCC-"$CC"}
   8676 
   8677 # If no C compiler flags were specified, use CFLAGS.
   8678 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8679 
   8680 # Allow CC to be a program name with arguments.
   8681 compiler=$CC
   8682 
   8683 # Save the default compiler, since it gets overwritten when the other
   8684 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8685 compiler_DEFAULT=$CC
   8686 
   8687 # save warnings/boilerplate of simple test code
   8688 ac_outfile=conftest.$ac_objext
   8689 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8690 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8691 _lt_compiler_boilerplate=`cat conftest.err`
   8692 $RM conftest*
   8693 
   8694 ac_outfile=conftest.$ac_objext
   8695 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8696 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8697 _lt_linker_boilerplate=`cat conftest.err`
   8698 $RM -r conftest*
   8699 
   8700 
   8701 ## CAVEAT EMPTOR:
   8702 ## There is no encapsulation within the following macros, do not change
   8703 ## the running order or otherwise move them around unless you know exactly
   8704 ## what you are doing...
   8705 if test -n "$compiler"; then
   8706 
   8707 lt_prog_compiler_no_builtin_flag=
   8708 
   8709 if test "$GCC" = yes; then
   8710   case $cc_basename in
   8711   nvcc*)
   8712     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8713   *)
   8714     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8715   esac
   8716 
   8717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8718 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8719 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8720   $as_echo_n "(cached) " >&6
   8721 else
   8722   lt_cv_prog_compiler_rtti_exceptions=no
   8723    ac_outfile=conftest.$ac_objext
   8724    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8725    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8726    # Insert the option either (1) after the last *FLAGS variable, or
   8727    # (2) before a word containing "conftest.", or (3) at the end.
   8728    # Note that $ac_compile itself does not contain backslashes and begins
   8729    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8730    # The option is referenced via a variable to avoid confusing sed.
   8731    lt_compile=`echo "$ac_compile" | $SED \
   8732    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8733    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8734    -e 's:$: $lt_compiler_flag:'`
   8735    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8736    (eval "$lt_compile" 2>conftest.err)
   8737    ac_status=$?
   8738    cat conftest.err >&5
   8739    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8740    if (exit $ac_status) && test -s "$ac_outfile"; then
   8741      # The compiler can only warn and ignore the option if not recognized
   8742      # So say no if there are warnings other than the usual output.
   8743      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8744      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8745      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8746        lt_cv_prog_compiler_rtti_exceptions=yes
   8747      fi
   8748    fi
   8749    $RM conftest*
   8750 
   8751 fi
   8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8753 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8754 
   8755 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8756     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8757 else
   8758     :
   8759 fi
   8760 
   8761 fi
   8762 
   8763 
   8764 
   8765 
   8766 
   8767 
   8768   lt_prog_compiler_wl=
   8769 lt_prog_compiler_pic=
   8770 lt_prog_compiler_static=
   8771 
   8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8773 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8774 
   8775   if test "$GCC" = yes; then
   8776     lt_prog_compiler_wl='-Wl,'
   8777     lt_prog_compiler_static='-static'
   8778 
   8779     case $host_os in
   8780       aix*)
   8781       # All AIX code is PIC.
   8782       if test "$host_cpu" = ia64; then
   8783 	# AIX 5 now supports IA64 processor
   8784 	lt_prog_compiler_static='-Bstatic'
   8785       fi
   8786       lt_prog_compiler_pic='-fPIC'
   8787       ;;
   8788 
   8789     amigaos*)
   8790       case $host_cpu in
   8791       powerpc)
   8792             # see comment about AmigaOS4 .so support
   8793             lt_prog_compiler_pic='-fPIC'
   8794         ;;
   8795       m68k)
   8796             # FIXME: we need at least 68020 code to build shared libraries, but
   8797             # adding the `-m68020' flag to GCC prevents building anything better,
   8798             # like `-m68040'.
   8799             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8800         ;;
   8801       esac
   8802       ;;
   8803 
   8804     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8805       # PIC is the default for these OSes.
   8806       ;;
   8807 
   8808     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8809       # This hack is so that the source file can tell whether it is being
   8810       # built for inclusion in a dll (and should export symbols for example).
   8811       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8812       # (--disable-auto-import) libraries
   8813       lt_prog_compiler_pic='-DDLL_EXPORT'
   8814       ;;
   8815 
   8816     darwin* | rhapsody*)
   8817       # PIC is the default on this platform
   8818       # Common symbols not allowed in MH_DYLIB files
   8819       lt_prog_compiler_pic='-fno-common'
   8820       ;;
   8821 
   8822     haiku*)
   8823       # PIC is the default for Haiku.
   8824       # The "-static" flag exists, but is broken.
   8825       lt_prog_compiler_static=
   8826       ;;
   8827 
   8828     hpux*)
   8829       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8830       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8831       # sets the default TLS model and affects inlining.
   8832       case $host_cpu in
   8833       hppa*64*)
   8834 	# +Z the default
   8835 	;;
   8836       *)
   8837 	lt_prog_compiler_pic='-fPIC'
   8838 	;;
   8839       esac
   8840       ;;
   8841 
   8842     interix[3-9]*)
   8843       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8844       # Instead, we relocate shared libraries at runtime.
   8845       ;;
   8846 
   8847     msdosdjgpp*)
   8848       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8849       # on systems that don't support them.
   8850       lt_prog_compiler_can_build_shared=no
   8851       enable_shared=no
   8852       ;;
   8853 
   8854     *nto* | *qnx*)
   8855       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8856       # it will coredump.
   8857       lt_prog_compiler_pic='-fPIC -shared'
   8858       ;;
   8859 
   8860     sysv4*MP*)
   8861       if test -d /usr/nec; then
   8862 	lt_prog_compiler_pic=-Kconform_pic
   8863       fi
   8864       ;;
   8865 
   8866     *)
   8867       lt_prog_compiler_pic='-fPIC'
   8868       ;;
   8869     esac
   8870 
   8871     case $cc_basename in
   8872     nvcc*) # Cuda Compiler Driver 2.2
   8873       lt_prog_compiler_wl='-Xlinker '
   8874       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8875       ;;
   8876     esac
   8877   else
   8878     # PORTME Check for flag to pass linker flags through the system compiler.
   8879     case $host_os in
   8880     aix*)
   8881       lt_prog_compiler_wl='-Wl,'
   8882       if test "$host_cpu" = ia64; then
   8883 	# AIX 5 now supports IA64 processor
   8884 	lt_prog_compiler_static='-Bstatic'
   8885       else
   8886 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8887       fi
   8888       ;;
   8889 
   8890     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8891       # This hack is so that the source file can tell whether it is being
   8892       # built for inclusion in a dll (and should export symbols for example).
   8893       lt_prog_compiler_pic='-DDLL_EXPORT'
   8894       ;;
   8895 
   8896     hpux9* | hpux10* | hpux11*)
   8897       lt_prog_compiler_wl='-Wl,'
   8898       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8899       # not for PA HP-UX.
   8900       case $host_cpu in
   8901       hppa*64*|ia64*)
   8902 	# +Z the default
   8903 	;;
   8904       *)
   8905 	lt_prog_compiler_pic='+Z'
   8906 	;;
   8907       esac
   8908       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8909       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8910       ;;
   8911 
   8912     irix5* | irix6* | nonstopux*)
   8913       lt_prog_compiler_wl='-Wl,'
   8914       # PIC (with -KPIC) is the default.
   8915       lt_prog_compiler_static='-non_shared'
   8916       ;;
   8917 
   8918     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8919       case $cc_basename in
   8920       # old Intel for x86_64 which still supported -KPIC.
   8921       ecc*)
   8922 	lt_prog_compiler_wl='-Wl,'
   8923 	lt_prog_compiler_pic='-KPIC'
   8924 	lt_prog_compiler_static='-static'
   8925         ;;
   8926       # icc used to be incompatible with GCC.
   8927       # ICC 10 doesn't accept -KPIC any more.
   8928       icc* | ifort*)
   8929 	lt_prog_compiler_wl='-Wl,'
   8930 	lt_prog_compiler_pic='-fPIC'
   8931 	lt_prog_compiler_static='-static'
   8932         ;;
   8933       # Lahey Fortran 8.1.
   8934       lf95*)
   8935 	lt_prog_compiler_wl='-Wl,'
   8936 	lt_prog_compiler_pic='--shared'
   8937 	lt_prog_compiler_static='--static'
   8938 	;;
   8939       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8940         # Portland Group compilers (*not* the Pentium gcc compiler,
   8941 	# which looks to be a dead project)
   8942 	lt_prog_compiler_wl='-Wl,'
   8943 	lt_prog_compiler_pic='-fpic'
   8944 	lt_prog_compiler_static='-Bstatic'
   8945         ;;
   8946       ccc*)
   8947         lt_prog_compiler_wl='-Wl,'
   8948         # All Alpha code is PIC.
   8949         lt_prog_compiler_static='-non_shared'
   8950         ;;
   8951       xl* | bgxl* | bgf* | mpixl*)
   8952 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8953 	lt_prog_compiler_wl='-Wl,'
   8954 	lt_prog_compiler_pic='-qpic'
   8955 	lt_prog_compiler_static='-qstaticlink'
   8956 	;;
   8957       *)
   8958 	case `$CC -V 2>&1 | sed 5q` in
   8959 	*Sun\ F* | *Sun*Fortran*)
   8960 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8961 	  lt_prog_compiler_pic='-KPIC'
   8962 	  lt_prog_compiler_static='-Bstatic'
   8963 	  lt_prog_compiler_wl=''
   8964 	  ;;
   8965 	*Sun\ C*)
   8966 	  # Sun C 5.9
   8967 	  lt_prog_compiler_pic='-KPIC'
   8968 	  lt_prog_compiler_static='-Bstatic'
   8969 	  lt_prog_compiler_wl='-Wl,'
   8970 	  ;;
   8971 	esac
   8972 	;;
   8973       esac
   8974       ;;
   8975 
   8976     newsos6)
   8977       lt_prog_compiler_pic='-KPIC'
   8978       lt_prog_compiler_static='-Bstatic'
   8979       ;;
   8980 
   8981     *nto* | *qnx*)
   8982       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8983       # it will coredump.
   8984       lt_prog_compiler_pic='-fPIC -shared'
   8985       ;;
   8986 
   8987     osf3* | osf4* | osf5*)
   8988       lt_prog_compiler_wl='-Wl,'
   8989       # All OSF/1 code is PIC.
   8990       lt_prog_compiler_static='-non_shared'
   8991       ;;
   8992 
   8993     rdos*)
   8994       lt_prog_compiler_static='-non_shared'
   8995       ;;
   8996 
   8997     solaris*)
   8998       lt_prog_compiler_pic='-KPIC'
   8999       lt_prog_compiler_static='-Bstatic'
   9000       case $cc_basename in
   9001       f77* | f90* | f95*)
   9002 	lt_prog_compiler_wl='-Qoption ld ';;
   9003       *)
   9004 	lt_prog_compiler_wl='-Wl,';;
   9005       esac
   9006       ;;
   9007 
   9008     sunos4*)
   9009       lt_prog_compiler_wl='-Qoption ld '
   9010       lt_prog_compiler_pic='-PIC'
   9011       lt_prog_compiler_static='-Bstatic'
   9012       ;;
   9013 
   9014     sysv4 | sysv4.2uw2* | sysv4.3*)
   9015       lt_prog_compiler_wl='-Wl,'
   9016       lt_prog_compiler_pic='-KPIC'
   9017       lt_prog_compiler_static='-Bstatic'
   9018       ;;
   9019 
   9020     sysv4*MP*)
   9021       if test -d /usr/nec ;then
   9022 	lt_prog_compiler_pic='-Kconform_pic'
   9023 	lt_prog_compiler_static='-Bstatic'
   9024       fi
   9025       ;;
   9026 
   9027     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9028       lt_prog_compiler_wl='-Wl,'
   9029       lt_prog_compiler_pic='-KPIC'
   9030       lt_prog_compiler_static='-Bstatic'
   9031       ;;
   9032 
   9033     unicos*)
   9034       lt_prog_compiler_wl='-Wl,'
   9035       lt_prog_compiler_can_build_shared=no
   9036       ;;
   9037 
   9038     uts4*)
   9039       lt_prog_compiler_pic='-pic'
   9040       lt_prog_compiler_static='-Bstatic'
   9041       ;;
   9042 
   9043     *)
   9044       lt_prog_compiler_can_build_shared=no
   9045       ;;
   9046     esac
   9047   fi
   9048 
   9049 case $host_os in
   9050   # For platforms which do not support PIC, -DPIC is meaningless:
   9051   *djgpp*)
   9052     lt_prog_compiler_pic=
   9053     ;;
   9054   *)
   9055     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9056     ;;
   9057 esac
   9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   9059 $as_echo "$lt_prog_compiler_pic" >&6; }
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 #
   9067 # Check to make sure the PIC flag actually works.
   9068 #
   9069 if test -n "$lt_prog_compiler_pic"; then
   9070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9071 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9072 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   9073   $as_echo_n "(cached) " >&6
   9074 else
   9075   lt_cv_prog_compiler_pic_works=no
   9076    ac_outfile=conftest.$ac_objext
   9077    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9078    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   9079    # Insert the option either (1) after the last *FLAGS variable, or
   9080    # (2) before a word containing "conftest.", or (3) at the end.
   9081    # Note that $ac_compile itself does not contain backslashes and begins
   9082    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9083    # The option is referenced via a variable to avoid confusing sed.
   9084    lt_compile=`echo "$ac_compile" | $SED \
   9085    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9086    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9087    -e 's:$: $lt_compiler_flag:'`
   9088    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9089    (eval "$lt_compile" 2>conftest.err)
   9090    ac_status=$?
   9091    cat conftest.err >&5
   9092    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9093    if (exit $ac_status) && test -s "$ac_outfile"; then
   9094      # The compiler can only warn and ignore the option if not recognized
   9095      # So say no if there are warnings other than the usual output.
   9096      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9097      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9098      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9099        lt_cv_prog_compiler_pic_works=yes
   9100      fi
   9101    fi
   9102    $RM conftest*
   9103 
   9104 fi
   9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9106 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9107 
   9108 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   9109     case $lt_prog_compiler_pic in
   9110      "" | " "*) ;;
   9111      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9112      esac
   9113 else
   9114     lt_prog_compiler_pic=
   9115      lt_prog_compiler_can_build_shared=no
   9116 fi
   9117 
   9118 fi
   9119 
   9120 
   9121 
   9122 
   9123 
   9124 
   9125 #
   9126 # Check to make sure the static flag actually works.
   9127 #
   9128 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9130 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9131 if ${lt_cv_prog_compiler_static_works+:} false; then :
   9132   $as_echo_n "(cached) " >&6
   9133 else
   9134   lt_cv_prog_compiler_static_works=no
   9135    save_LDFLAGS="$LDFLAGS"
   9136    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9137    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9138    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9139      # The linker can only warn and ignore the option if not recognized
   9140      # So say no if there are warnings
   9141      if test -s conftest.err; then
   9142        # Append any errors to the config.log.
   9143        cat conftest.err 1>&5
   9144        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9145        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9146        if diff conftest.exp conftest.er2 >/dev/null; then
   9147          lt_cv_prog_compiler_static_works=yes
   9148        fi
   9149      else
   9150        lt_cv_prog_compiler_static_works=yes
   9151      fi
   9152    fi
   9153    $RM -r conftest*
   9154    LDFLAGS="$save_LDFLAGS"
   9155 
   9156 fi
   9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9158 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9159 
   9160 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   9161     :
   9162 else
   9163     lt_prog_compiler_static=
   9164 fi
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9173 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9174 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9175   $as_echo_n "(cached) " >&6
   9176 else
   9177   lt_cv_prog_compiler_c_o=no
   9178    $RM -r conftest 2>/dev/null
   9179    mkdir conftest
   9180    cd conftest
   9181    mkdir out
   9182    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9183 
   9184    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9185    # Insert the option either (1) after the last *FLAGS variable, or
   9186    # (2) before a word containing "conftest.", or (3) at the end.
   9187    # Note that $ac_compile itself does not contain backslashes and begins
   9188    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9189    lt_compile=`echo "$ac_compile" | $SED \
   9190    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9191    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9192    -e 's:$: $lt_compiler_flag:'`
   9193    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9194    (eval "$lt_compile" 2>out/conftest.err)
   9195    ac_status=$?
   9196    cat out/conftest.err >&5
   9197    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9198    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9199    then
   9200      # The compiler can only warn and ignore the option if not recognized
   9201      # So say no if there are warnings
   9202      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9203      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9204      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9205        lt_cv_prog_compiler_c_o=yes
   9206      fi
   9207    fi
   9208    chmod u+w . 2>&5
   9209    $RM conftest*
   9210    # SGI C++ compiler will create directory out/ii_files/ for
   9211    # template instantiation
   9212    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9213    $RM out/* && rmdir out
   9214    cd ..
   9215    $RM -r conftest
   9216    $RM conftest*
   9217 
   9218 fi
   9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9220 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9221 
   9222 
   9223 
   9224 
   9225 
   9226 
   9227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9228 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9229 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9230   $as_echo_n "(cached) " >&6
   9231 else
   9232   lt_cv_prog_compiler_c_o=no
   9233    $RM -r conftest 2>/dev/null
   9234    mkdir conftest
   9235    cd conftest
   9236    mkdir out
   9237    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9238 
   9239    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9240    # Insert the option either (1) after the last *FLAGS variable, or
   9241    # (2) before a word containing "conftest.", or (3) at the end.
   9242    # Note that $ac_compile itself does not contain backslashes and begins
   9243    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9244    lt_compile=`echo "$ac_compile" | $SED \
   9245    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9246    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9247    -e 's:$: $lt_compiler_flag:'`
   9248    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9249    (eval "$lt_compile" 2>out/conftest.err)
   9250    ac_status=$?
   9251    cat out/conftest.err >&5
   9252    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9253    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9254    then
   9255      # The compiler can only warn and ignore the option if not recognized
   9256      # So say no if there are warnings
   9257      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9258      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9259      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9260        lt_cv_prog_compiler_c_o=yes
   9261      fi
   9262    fi
   9263    chmod u+w . 2>&5
   9264    $RM conftest*
   9265    # SGI C++ compiler will create directory out/ii_files/ for
   9266    # template instantiation
   9267    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9268    $RM out/* && rmdir out
   9269    cd ..
   9270    $RM -r conftest
   9271    $RM conftest*
   9272 
   9273 fi
   9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9275 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9276 
   9277 
   9278 
   9279 
   9280 hard_links="nottested"
   9281 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9282   # do not overwrite the value of need_locks provided by the user
   9283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9284 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9285   hard_links=yes
   9286   $RM conftest*
   9287   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9288   touch conftest.a
   9289   ln conftest.a conftest.b 2>&5 || hard_links=no
   9290   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9292 $as_echo "$hard_links" >&6; }
   9293   if test "$hard_links" = no; then
   9294     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9295 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9296     need_locks=warn
   9297   fi
   9298 else
   9299   need_locks=no
   9300 fi
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9308 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9309 
   9310   runpath_var=
   9311   allow_undefined_flag=
   9312   always_export_symbols=no
   9313   archive_cmds=
   9314   archive_expsym_cmds=
   9315   compiler_needs_object=no
   9316   enable_shared_with_static_runtimes=no
   9317   export_dynamic_flag_spec=
   9318   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9319   hardcode_automatic=no
   9320   hardcode_direct=no
   9321   hardcode_direct_absolute=no
   9322   hardcode_libdir_flag_spec=
   9323   hardcode_libdir_flag_spec_ld=
   9324   hardcode_libdir_separator=
   9325   hardcode_minus_L=no
   9326   hardcode_shlibpath_var=unsupported
   9327   inherit_rpath=no
   9328   link_all_deplibs=unknown
   9329   module_cmds=
   9330   module_expsym_cmds=
   9331   old_archive_from_new_cmds=
   9332   old_archive_from_expsyms_cmds=
   9333   thread_safe_flag_spec=
   9334   whole_archive_flag_spec=
   9335   # include_expsyms should be a list of space-separated symbols to be *always*
   9336   # included in the symbol list
   9337   include_expsyms=
   9338   # exclude_expsyms can be an extended regexp of symbols to exclude
   9339   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9340   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9341   # as well as any symbol that contains `d'.
   9342   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9343   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9344   # platforms (ab)use it in PIC code, but their linkers get confused if
   9345   # the symbol is explicitly referenced.  Since portable code cannot
   9346   # rely on this symbol name, it's probably fine to never include it in
   9347   # preloaded symbol tables.
   9348   # Exclude shared library initialization/finalization symbols.
   9349   extract_expsyms_cmds=
   9350 
   9351   case $host_os in
   9352   cygwin* | mingw* | pw32* | cegcc*)
   9353     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9354     # When not using gcc, we currently assume that we are using
   9355     # Microsoft Visual C++.
   9356     if test "$GCC" != yes; then
   9357       with_gnu_ld=no
   9358     fi
   9359     ;;
   9360   interix*)
   9361     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9362     with_gnu_ld=yes
   9363     ;;
   9364   openbsd*)
   9365     with_gnu_ld=no
   9366     ;;
   9367   esac
   9368 
   9369   ld_shlibs=yes
   9370 
   9371   # On some targets, GNU ld is compatible enough with the native linker
   9372   # that we're better off using the native interface for both.
   9373   lt_use_gnu_ld_interface=no
   9374   if test "$with_gnu_ld" = yes; then
   9375     case $host_os in
   9376       aix*)
   9377 	# The AIX port of GNU ld has always aspired to compatibility
   9378 	# with the native linker.  However, as the warning in the GNU ld
   9379 	# block says, versions before 2.19.5* couldn't really create working
   9380 	# shared libraries, regardless of the interface used.
   9381 	case `$LD -v 2>&1` in
   9382 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9383 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9384 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9385 	  *)
   9386 	    lt_use_gnu_ld_interface=yes
   9387 	    ;;
   9388 	esac
   9389 	;;
   9390       *)
   9391 	lt_use_gnu_ld_interface=yes
   9392 	;;
   9393     esac
   9394   fi
   9395 
   9396   if test "$lt_use_gnu_ld_interface" = yes; then
   9397     # If archive_cmds runs LD, not CC, wlarc should be empty
   9398     wlarc='${wl}'
   9399 
   9400     # Set some defaults for GNU ld with shared library support. These
   9401     # are reset later if shared libraries are not supported. Putting them
   9402     # here allows them to be overridden if necessary.
   9403     runpath_var=LD_RUN_PATH
   9404     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9405     export_dynamic_flag_spec='${wl}--export-dynamic'
   9406     # ancient GNU ld didn't support --whole-archive et. al.
   9407     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9408       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9409     else
   9410       whole_archive_flag_spec=
   9411     fi
   9412     supports_anon_versioning=no
   9413     case `$LD -v 2>&1` in
   9414       *GNU\ gold*) supports_anon_versioning=yes ;;
   9415       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9416       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9417       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9418       *\ 2.11.*) ;; # other 2.11 versions
   9419       *) supports_anon_versioning=yes ;;
   9420     esac
   9421 
   9422     # See if GNU ld supports shared libraries.
   9423     case $host_os in
   9424     aix[3-9]*)
   9425       # On AIX/PPC, the GNU linker is very broken
   9426       if test "$host_cpu" != ia64; then
   9427 	ld_shlibs=no
   9428 	cat <<_LT_EOF 1>&2
   9429 
   9430 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9431 *** to be unable to reliably create shared libraries on AIX.
   9432 *** Therefore, libtool is disabling shared libraries support.  If you
   9433 *** really care for shared libraries, you may want to install binutils
   9434 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9435 *** You will then need to restart the configuration process.
   9436 
   9437 _LT_EOF
   9438       fi
   9439       ;;
   9440 
   9441     amigaos*)
   9442       case $host_cpu in
   9443       powerpc)
   9444             # see comment about AmigaOS4 .so support
   9445             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9446             archive_expsym_cmds=''
   9447         ;;
   9448       m68k)
   9449             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)'
   9450             hardcode_libdir_flag_spec='-L$libdir'
   9451             hardcode_minus_L=yes
   9452         ;;
   9453       esac
   9454       ;;
   9455 
   9456     beos*)
   9457       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9458 	allow_undefined_flag=unsupported
   9459 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9460 	# support --undefined.  This deserves some investigation.  FIXME
   9461 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9462       else
   9463 	ld_shlibs=no
   9464       fi
   9465       ;;
   9466 
   9467     cygwin* | mingw* | pw32* | cegcc*)
   9468       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9469       # as there is no search path for DLLs.
   9470       hardcode_libdir_flag_spec='-L$libdir'
   9471       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9472       allow_undefined_flag=unsupported
   9473       always_export_symbols=no
   9474       enable_shared_with_static_runtimes=yes
   9475       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9476 
   9477       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9478         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9479 	# If the export-symbols file already is a .def file (1st line
   9480 	# is EXPORTS), use it as is; otherwise, prepend...
   9481 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9482 	  cp $export_symbols $output_objdir/$soname.def;
   9483 	else
   9484 	  echo EXPORTS > $output_objdir/$soname.def;
   9485 	  cat $export_symbols >> $output_objdir/$soname.def;
   9486 	fi~
   9487 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9488       else
   9489 	ld_shlibs=no
   9490       fi
   9491       ;;
   9492 
   9493     haiku*)
   9494       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9495       link_all_deplibs=yes
   9496       ;;
   9497 
   9498     interix[3-9]*)
   9499       hardcode_direct=no
   9500       hardcode_shlibpath_var=no
   9501       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9502       export_dynamic_flag_spec='${wl}-E'
   9503       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9504       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9505       # default) and relocated if they conflict, which is a slow very memory
   9506       # consuming and fragmenting process.  To avoid this, we pick a random,
   9507       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9508       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9509       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9510       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'
   9511       ;;
   9512 
   9513     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9514       tmp_diet=no
   9515       if test "$host_os" = linux-dietlibc; then
   9516 	case $cc_basename in
   9517 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9518 	esac
   9519       fi
   9520       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9521 	 && test "$tmp_diet" = no
   9522       then
   9523 	tmp_addflag=' $pic_flag'
   9524 	tmp_sharedflag='-shared'
   9525 	case $cc_basename,$host_cpu in
   9526         pgcc*)				# Portland Group C compiler
   9527 	  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'
   9528 	  tmp_addflag=' $pic_flag'
   9529 	  ;;
   9530 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9531 					# Portland Group f77 and f90 compilers
   9532 	  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'
   9533 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9534 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9535 	  tmp_addflag=' -i_dynamic' ;;
   9536 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9537 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9538 	ifc* | ifort*)			# Intel Fortran compiler
   9539 	  tmp_addflag=' -nofor_main' ;;
   9540 	lf95*)				# Lahey Fortran 8.1
   9541 	  whole_archive_flag_spec=
   9542 	  tmp_sharedflag='--shared' ;;
   9543 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9544 	  tmp_sharedflag='-qmkshrobj'
   9545 	  tmp_addflag= ;;
   9546 	nvcc*)	# Cuda Compiler Driver 2.2
   9547 	  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'
   9548 	  compiler_needs_object=yes
   9549 	  ;;
   9550 	esac
   9551 	case `$CC -V 2>&1 | sed 5q` in
   9552 	*Sun\ C*)			# Sun C 5.9
   9553 	  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'
   9554 	  compiler_needs_object=yes
   9555 	  tmp_sharedflag='-G' ;;
   9556 	*Sun\ F*)			# Sun Fortran 8.3
   9557 	  tmp_sharedflag='-G' ;;
   9558 	esac
   9559 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9560 
   9561         if test "x$supports_anon_versioning" = xyes; then
   9562           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9563 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9564 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9565 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9566         fi
   9567 
   9568 	case $cc_basename in
   9569 	xlf* | bgf* | bgxlf* | mpixlf*)
   9570 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9571 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9572 	  hardcode_libdir_flag_spec=
   9573 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9574 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   9575 	  if test "x$supports_anon_versioning" = xyes; then
   9576 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9577 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9578 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9579 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9580 	  fi
   9581 	  ;;
   9582 	esac
   9583       else
   9584         ld_shlibs=no
   9585       fi
   9586       ;;
   9587 
   9588     netbsd*)
   9589       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9590 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9591 	wlarc=
   9592       else
   9593 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9594 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9595       fi
   9596       ;;
   9597 
   9598     solaris*)
   9599       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9600 	ld_shlibs=no
   9601 	cat <<_LT_EOF 1>&2
   9602 
   9603 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9604 *** create shared libraries on Solaris systems.  Therefore, libtool
   9605 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9606 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9607 *** your PATH or compiler configuration so that the native linker is
   9608 *** used, and then restart.
   9609 
   9610 _LT_EOF
   9611       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9612 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9613 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9614       else
   9615 	ld_shlibs=no
   9616       fi
   9617       ;;
   9618 
   9619     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9620       case `$LD -v 2>&1` in
   9621         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9622 	ld_shlibs=no
   9623 	cat <<_LT_EOF 1>&2
   9624 
   9625 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9626 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9627 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9628 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9629 *** your PATH or compiler configuration so that the native linker is
   9630 *** used, and then restart.
   9631 
   9632 _LT_EOF
   9633 	;;
   9634 	*)
   9635 	  # For security reasons, it is highly recommended that you always
   9636 	  # use absolute paths for naming shared libraries, and exclude the
   9637 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9638 	  # requires that you compile everything twice, which is a pain.
   9639 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9640 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9641 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9642 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9643 	  else
   9644 	    ld_shlibs=no
   9645 	  fi
   9646 	;;
   9647       esac
   9648       ;;
   9649 
   9650     sunos4*)
   9651       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9652       wlarc=
   9653       hardcode_direct=yes
   9654       hardcode_shlibpath_var=no
   9655       ;;
   9656 
   9657     *)
   9658       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9659 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9660 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9661       else
   9662 	ld_shlibs=no
   9663       fi
   9664       ;;
   9665     esac
   9666 
   9667     if test "$ld_shlibs" = no; then
   9668       runpath_var=
   9669       hardcode_libdir_flag_spec=
   9670       export_dynamic_flag_spec=
   9671       whole_archive_flag_spec=
   9672     fi
   9673   else
   9674     # PORTME fill in a description of your system's linker (not GNU ld)
   9675     case $host_os in
   9676     aix3*)
   9677       allow_undefined_flag=unsupported
   9678       always_export_symbols=yes
   9679       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'
   9680       # Note: this linker hardcodes the directories in LIBPATH if there
   9681       # are no directories specified by -L.
   9682       hardcode_minus_L=yes
   9683       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9684 	# Neither direct hardcoding nor static linking is supported with a
   9685 	# broken collect2.
   9686 	hardcode_direct=unsupported
   9687       fi
   9688       ;;
   9689 
   9690     aix[4-9]*)
   9691       if test "$host_cpu" = ia64; then
   9692 	# On IA64, the linker does run time linking by default, so we don't
   9693 	# have to do anything special.
   9694 	aix_use_runtimelinking=no
   9695 	exp_sym_flag='-Bexport'
   9696 	no_entry_flag=""
   9697       else
   9698 	# If we're using GNU nm, then we don't want the "-C" option.
   9699 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9700 	# Also, AIX nm treats weak defined symbols like other global
   9701 	# defined symbols, whereas GNU nm marks them as "W".
   9702 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9703 	  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'
   9704 	else
   9705 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   9706 	fi
   9707 	aix_use_runtimelinking=no
   9708 
   9709 	# Test if we are trying to use run time linking or normal
   9710 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9711 	# need to do runtime linking.
   9712 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9713 	  for ld_flag in $LDFLAGS; do
   9714 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9715 	    aix_use_runtimelinking=yes
   9716 	    break
   9717 	  fi
   9718 	  done
   9719 	  ;;
   9720 	esac
   9721 
   9722 	exp_sym_flag='-bexport'
   9723 	no_entry_flag='-bnoentry'
   9724       fi
   9725 
   9726       # When large executables or shared objects are built, AIX ld can
   9727       # have problems creating the table of contents.  If linking a library
   9728       # or program results in "error TOC overflow" add -mminimal-toc to
   9729       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9730       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9731 
   9732       archive_cmds=''
   9733       hardcode_direct=yes
   9734       hardcode_direct_absolute=yes
   9735       hardcode_libdir_separator=':'
   9736       link_all_deplibs=yes
   9737       file_list_spec='${wl}-f,'
   9738 
   9739       if test "$GCC" = yes; then
   9740 	case $host_os in aix4.[012]|aix4.[012].*)
   9741 	# We only want to do this on AIX 4.2 and lower, the check
   9742 	# below for broken collect2 doesn't work under 4.3+
   9743 	  collect2name=`${CC} -print-prog-name=collect2`
   9744 	  if test -f "$collect2name" &&
   9745 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9746 	  then
   9747 	  # We have reworked collect2
   9748 	  :
   9749 	  else
   9750 	  # We have old collect2
   9751 	  hardcode_direct=unsupported
   9752 	  # It fails to find uninstalled libraries when the uninstalled
   9753 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9754 	  # to unsupported forces relinking
   9755 	  hardcode_minus_L=yes
   9756 	  hardcode_libdir_flag_spec='-L$libdir'
   9757 	  hardcode_libdir_separator=
   9758 	  fi
   9759 	  ;;
   9760 	esac
   9761 	shared_flag='-shared'
   9762 	if test "$aix_use_runtimelinking" = yes; then
   9763 	  shared_flag="$shared_flag "'${wl}-G'
   9764 	fi
   9765       else
   9766 	# not using gcc
   9767 	if test "$host_cpu" = ia64; then
   9768 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9769 	# chokes on -Wl,-G. The following line is correct:
   9770 	  shared_flag='-G'
   9771 	else
   9772 	  if test "$aix_use_runtimelinking" = yes; then
   9773 	    shared_flag='${wl}-G'
   9774 	  else
   9775 	    shared_flag='${wl}-bM:SRE'
   9776 	  fi
   9777 	fi
   9778       fi
   9779 
   9780       export_dynamic_flag_spec='${wl}-bexpall'
   9781       # It seems that -bexpall does not export symbols beginning with
   9782       # underscore (_), so it is better to generate a list of symbols to export.
   9783       always_export_symbols=yes
   9784       if test "$aix_use_runtimelinking" = yes; then
   9785 	# Warning - without using the other runtime loading flags (-brtl),
   9786 	# -berok will link without error, but may produce a broken library.
   9787 	allow_undefined_flag='-berok'
   9788         # Determine the default libpath from the value encoded in an
   9789         # empty executable.
   9790         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9791 /* end confdefs.h.  */
   9792 
   9793 int
   9794 main ()
   9795 {
   9796 
   9797   ;
   9798   return 0;
   9799 }
   9800 _ACEOF
   9801 if ac_fn_c_try_link "$LINENO"; then :
   9802 
   9803 lt_aix_libpath_sed='
   9804     /Import File Strings/,/^$/ {
   9805 	/^0/ {
   9806 	    s/^0  *\(.*\)$/\1/
   9807 	    p
   9808 	}
   9809     }'
   9810 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9811 # Check for a 64-bit object if we didn't find anything.
   9812 if test -z "$aix_libpath"; then
   9813   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9814 fi
   9815 fi
   9816 rm -f core conftest.err conftest.$ac_objext \
   9817     conftest$ac_exeext conftest.$ac_ext
   9818 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9819 
   9820         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9821         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"
   9822       else
   9823 	if test "$host_cpu" = ia64; then
   9824 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9825 	  allow_undefined_flag="-z nodefs"
   9826 	  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"
   9827 	else
   9828 	 # Determine the default libpath from the value encoded in an
   9829 	 # empty executable.
   9830 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9831 /* end confdefs.h.  */
   9832 
   9833 int
   9834 main ()
   9835 {
   9836 
   9837   ;
   9838   return 0;
   9839 }
   9840 _ACEOF
   9841 if ac_fn_c_try_link "$LINENO"; then :
   9842 
   9843 lt_aix_libpath_sed='
   9844     /Import File Strings/,/^$/ {
   9845 	/^0/ {
   9846 	    s/^0  *\(.*\)$/\1/
   9847 	    p
   9848 	}
   9849     }'
   9850 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9851 # Check for a 64-bit object if we didn't find anything.
   9852 if test -z "$aix_libpath"; then
   9853   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9854 fi
   9855 fi
   9856 rm -f core conftest.err conftest.$ac_objext \
   9857     conftest$ac_exeext conftest.$ac_ext
   9858 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9859 
   9860 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9861 	  # Warning - without using the other run time loading flags,
   9862 	  # -berok will link without error, but may produce a broken library.
   9863 	  no_undefined_flag=' ${wl}-bernotok'
   9864 	  allow_undefined_flag=' ${wl}-berok'
   9865 	  if test "$with_gnu_ld" = yes; then
   9866 	    # We only use this code for GNU lds that support --whole-archive.
   9867 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9868 	  else
   9869 	    # Exported symbols can be pulled into shared objects from archives
   9870 	    whole_archive_flag_spec='$convenience'
   9871 	  fi
   9872 	  archive_cmds_need_lc=yes
   9873 	  # This is similar to how AIX traditionally builds its shared libraries.
   9874 	  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'
   9875 	fi
   9876       fi
   9877       ;;
   9878 
   9879     amigaos*)
   9880       case $host_cpu in
   9881       powerpc)
   9882             # see comment about AmigaOS4 .so support
   9883             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9884             archive_expsym_cmds=''
   9885         ;;
   9886       m68k)
   9887             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)'
   9888             hardcode_libdir_flag_spec='-L$libdir'
   9889             hardcode_minus_L=yes
   9890         ;;
   9891       esac
   9892       ;;
   9893 
   9894     bsdi[45]*)
   9895       export_dynamic_flag_spec=-rdynamic
   9896       ;;
   9897 
   9898     cygwin* | mingw* | pw32* | cegcc*)
   9899       # When not using gcc, we currently assume that we are using
   9900       # Microsoft Visual C++.
   9901       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9902       # no search path for DLLs.
   9903       hardcode_libdir_flag_spec=' '
   9904       allow_undefined_flag=unsupported
   9905       # Tell ltmain to make .lib files, not .a files.
   9906       libext=lib
   9907       # Tell ltmain to make .dll files, not .so files.
   9908       shrext_cmds=".dll"
   9909       # FIXME: Setting linknames here is a bad hack.
   9910       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9911       # The linker will automatically build a .lib file if we build a DLL.
   9912       old_archive_from_new_cmds='true'
   9913       # FIXME: Should let the user specify the lib program.
   9914       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9915       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9916       enable_shared_with_static_runtimes=yes
   9917       ;;
   9918 
   9919     darwin* | rhapsody*)
   9920 
   9921 
   9922   archive_cmds_need_lc=no
   9923   hardcode_direct=no
   9924   hardcode_automatic=yes
   9925   hardcode_shlibpath_var=unsupported
   9926   if test "$lt_cv_ld_force_load" = "yes"; then
   9927     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\"`'
   9928   else
   9929     whole_archive_flag_spec=''
   9930   fi
   9931   link_all_deplibs=yes
   9932   allow_undefined_flag="$_lt_dar_allow_undefined"
   9933   case $cc_basename in
   9934      ifort*) _lt_dar_can_shared=yes ;;
   9935      *) _lt_dar_can_shared=$GCC ;;
   9936   esac
   9937   if test "$_lt_dar_can_shared" = "yes"; then
   9938     output_verbose_link_cmd=func_echo_all
   9939     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9940     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9941     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}"
   9942     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}"
   9943 
   9944   else
   9945   ld_shlibs=no
   9946   fi
   9947 
   9948       ;;
   9949 
   9950     dgux*)
   9951       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9952       hardcode_libdir_flag_spec='-L$libdir'
   9953       hardcode_shlibpath_var=no
   9954       ;;
   9955 
   9956     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9957     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9958     # does not break anything, and helps significantly (at the cost of a little
   9959     # extra space).
   9960     freebsd2.2*)
   9961       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9962       hardcode_libdir_flag_spec='-R$libdir'
   9963       hardcode_direct=yes
   9964       hardcode_shlibpath_var=no
   9965       ;;
   9966 
   9967     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9968     freebsd2.*)
   9969       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9970       hardcode_direct=yes
   9971       hardcode_minus_L=yes
   9972       hardcode_shlibpath_var=no
   9973       ;;
   9974 
   9975     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9976     freebsd* | dragonfly*)
   9977       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9978       hardcode_libdir_flag_spec='-R$libdir'
   9979       hardcode_direct=yes
   9980       hardcode_shlibpath_var=no
   9981       ;;
   9982 
   9983     hpux9*)
   9984       if test "$GCC" = yes; then
   9985 	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9986       else
   9987 	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'
   9988       fi
   9989       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9990       hardcode_libdir_separator=:
   9991       hardcode_direct=yes
   9992 
   9993       # hardcode_minus_L: Not really in the search PATH,
   9994       # but as the default location of the library.
   9995       hardcode_minus_L=yes
   9996       export_dynamic_flag_spec='${wl}-E'
   9997       ;;
   9998 
   9999     hpux10*)
   10000       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10001 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10002       else
   10003 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10004       fi
   10005       if test "$with_gnu_ld" = no; then
   10006 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10007 	hardcode_libdir_flag_spec_ld='+b $libdir'
   10008 	hardcode_libdir_separator=:
   10009 	hardcode_direct=yes
   10010 	hardcode_direct_absolute=yes
   10011 	export_dynamic_flag_spec='${wl}-E'
   10012 	# hardcode_minus_L: Not really in the search PATH,
   10013 	# but as the default location of the library.
   10014 	hardcode_minus_L=yes
   10015       fi
   10016       ;;
   10017 
   10018     hpux11*)
   10019       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10020 	case $host_cpu in
   10021 	hppa*64*)
   10022 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10023 	  ;;
   10024 	ia64*)
   10025 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10026 	  ;;
   10027 	*)
   10028 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10029 	  ;;
   10030 	esac
   10031       else
   10032 	case $host_cpu in
   10033 	hppa*64*)
   10034 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10035 	  ;;
   10036 	ia64*)
   10037 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10038 	  ;;
   10039 	*)
   10040 
   10041 	  # Older versions of the 11.00 compiler do not understand -b yet
   10042 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10043 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10044 $as_echo_n "checking if $CC understands -b... " >&6; }
   10045 if ${lt_cv_prog_compiler__b+:} false; then :
   10046   $as_echo_n "(cached) " >&6
   10047 else
   10048   lt_cv_prog_compiler__b=no
   10049    save_LDFLAGS="$LDFLAGS"
   10050    LDFLAGS="$LDFLAGS -b"
   10051    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10052    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10053      # The linker can only warn and ignore the option if not recognized
   10054      # So say no if there are warnings
   10055      if test -s conftest.err; then
   10056        # Append any errors to the config.log.
   10057        cat conftest.err 1>&5
   10058        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10059        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10060        if diff conftest.exp conftest.er2 >/dev/null; then
   10061          lt_cv_prog_compiler__b=yes
   10062        fi
   10063      else
   10064        lt_cv_prog_compiler__b=yes
   10065      fi
   10066    fi
   10067    $RM -r conftest*
   10068    LDFLAGS="$save_LDFLAGS"
   10069 
   10070 fi
   10071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10072 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10073 
   10074 if test x"$lt_cv_prog_compiler__b" = xyes; then
   10075     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10076 else
   10077     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10078 fi
   10079 
   10080 	  ;;
   10081 	esac
   10082       fi
   10083       if test "$with_gnu_ld" = no; then
   10084 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10085 	hardcode_libdir_separator=:
   10086 
   10087 	case $host_cpu in
   10088 	hppa*64*|ia64*)
   10089 	  hardcode_direct=no
   10090 	  hardcode_shlibpath_var=no
   10091 	  ;;
   10092 	*)
   10093 	  hardcode_direct=yes
   10094 	  hardcode_direct_absolute=yes
   10095 	  export_dynamic_flag_spec='${wl}-E'
   10096 
   10097 	  # hardcode_minus_L: Not really in the search PATH,
   10098 	  # but as the default location of the library.
   10099 	  hardcode_minus_L=yes
   10100 	  ;;
   10101 	esac
   10102       fi
   10103       ;;
   10104 
   10105     irix5* | irix6* | nonstopux*)
   10106       if test "$GCC" = yes; then
   10107 	archive_cmds='$CC -shared $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'
   10108 	# Try to use the -exported_symbol ld option, if it does not
   10109 	# work, assume that -exports_file does not work either and
   10110 	# implicitly export all symbols.
   10111         save_LDFLAGS="$LDFLAGS"
   10112         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   10113         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10114 /* end confdefs.h.  */
   10115 int foo(void) {}
   10116 _ACEOF
   10117 if ac_fn_c_try_link "$LINENO"; then :
   10118   archive_expsym_cmds='$CC -shared $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'
   10119 
   10120 fi
   10121 rm -f core conftest.err conftest.$ac_objext \
   10122     conftest$ac_exeext conftest.$ac_ext
   10123         LDFLAGS="$save_LDFLAGS"
   10124       else
   10125 	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'
   10126 	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'
   10127       fi
   10128       archive_cmds_need_lc='no'
   10129       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10130       hardcode_libdir_separator=:
   10131       inherit_rpath=yes
   10132       link_all_deplibs=yes
   10133       ;;
   10134 
   10135     netbsd*)
   10136       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10137 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10138       else
   10139 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10140       fi
   10141       hardcode_libdir_flag_spec='-R$libdir'
   10142       hardcode_direct=yes
   10143       hardcode_shlibpath_var=no
   10144       ;;
   10145 
   10146     newsos6)
   10147       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10148       hardcode_direct=yes
   10149       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10150       hardcode_libdir_separator=:
   10151       hardcode_shlibpath_var=no
   10152       ;;
   10153 
   10154     *nto* | *qnx*)
   10155       ;;
   10156 
   10157     openbsd*)
   10158       if test -f /usr/libexec/ld.so; then
   10159 	hardcode_direct=yes
   10160 	hardcode_shlibpath_var=no
   10161 	hardcode_direct_absolute=yes
   10162 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10163 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10164 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   10165 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10166 	  export_dynamic_flag_spec='${wl}-E'
   10167 	else
   10168 	  case $host_os in
   10169 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   10170 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10171 	     hardcode_libdir_flag_spec='-R$libdir'
   10172 	     ;;
   10173 	   *)
   10174 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10175 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10176 	     ;;
   10177 	  esac
   10178 	fi
   10179       else
   10180 	ld_shlibs=no
   10181       fi
   10182       ;;
   10183 
   10184     os2*)
   10185       hardcode_libdir_flag_spec='-L$libdir'
   10186       hardcode_minus_L=yes
   10187       allow_undefined_flag=unsupported
   10188       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'
   10189       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   10190       ;;
   10191 
   10192     osf3*)
   10193       if test "$GCC" = yes; then
   10194 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10195 	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'
   10196       else
   10197 	allow_undefined_flag=' -expect_unresolved \*'
   10198 	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'
   10199       fi
   10200       archive_cmds_need_lc='no'
   10201       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10202       hardcode_libdir_separator=:
   10203       ;;
   10204 
   10205     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10206       if test "$GCC" = yes; then
   10207 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10208 	archive_cmds='$CC -shared${allow_undefined_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'
   10209 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10210       else
   10211 	allow_undefined_flag=' -expect_unresolved \*'
   10212 	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'
   10213 	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~
   10214 	$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'
   10215 
   10216 	# Both c and cxx compiler support -rpath directly
   10217 	hardcode_libdir_flag_spec='-rpath $libdir'
   10218       fi
   10219       archive_cmds_need_lc='no'
   10220       hardcode_libdir_separator=:
   10221       ;;
   10222 
   10223     solaris*)
   10224       no_undefined_flag=' -z defs'
   10225       if test "$GCC" = yes; then
   10226 	wlarc='${wl}'
   10227 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10228 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10229 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10230       else
   10231 	case `$CC -V 2>&1` in
   10232 	*"Compilers 5.0"*)
   10233 	  wlarc=''
   10234 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10235 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10236 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10237 	  ;;
   10238 	*)
   10239 	  wlarc='${wl}'
   10240 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10241 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10242 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10243 	  ;;
   10244 	esac
   10245       fi
   10246       hardcode_libdir_flag_spec='-R$libdir'
   10247       hardcode_shlibpath_var=no
   10248       case $host_os in
   10249       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10250       *)
   10251 	# The compiler driver will combine and reorder linker options,
   10252 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10253 	# but is careful enough not to reorder.
   10254 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10255 	if test "$GCC" = yes; then
   10256 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10257 	else
   10258 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10259 	fi
   10260 	;;
   10261       esac
   10262       link_all_deplibs=yes
   10263       ;;
   10264 
   10265     sunos4*)
   10266       if test "x$host_vendor" = xsequent; then
   10267 	# Use $CC to link under sequent, because it throws in some extra .o
   10268 	# files that make .init and .fini sections work.
   10269 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10270       else
   10271 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10272       fi
   10273       hardcode_libdir_flag_spec='-L$libdir'
   10274       hardcode_direct=yes
   10275       hardcode_minus_L=yes
   10276       hardcode_shlibpath_var=no
   10277       ;;
   10278 
   10279     sysv4)
   10280       case $host_vendor in
   10281 	sni)
   10282 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10283 	  hardcode_direct=yes # is this really true???
   10284 	;;
   10285 	siemens)
   10286 	  ## LD is ld it makes a PLAMLIB
   10287 	  ## CC just makes a GrossModule.
   10288 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10289 	  reload_cmds='$CC -r -o $output$reload_objs'
   10290 	  hardcode_direct=no
   10291         ;;
   10292 	motorola)
   10293 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10294 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10295 	;;
   10296       esac
   10297       runpath_var='LD_RUN_PATH'
   10298       hardcode_shlibpath_var=no
   10299       ;;
   10300 
   10301     sysv4.3*)
   10302       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10303       hardcode_shlibpath_var=no
   10304       export_dynamic_flag_spec='-Bexport'
   10305       ;;
   10306 
   10307     sysv4*MP*)
   10308       if test -d /usr/nec; then
   10309 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10310 	hardcode_shlibpath_var=no
   10311 	runpath_var=LD_RUN_PATH
   10312 	hardcode_runpath_var=yes
   10313 	ld_shlibs=yes
   10314       fi
   10315       ;;
   10316 
   10317     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10318       no_undefined_flag='${wl}-z,text'
   10319       archive_cmds_need_lc=no
   10320       hardcode_shlibpath_var=no
   10321       runpath_var='LD_RUN_PATH'
   10322 
   10323       if test "$GCC" = yes; then
   10324 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10325 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10326       else
   10327 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10328 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10329       fi
   10330       ;;
   10331 
   10332     sysv5* | sco3.2v5* | sco5v6*)
   10333       # Note: We can NOT use -z defs as we might desire, because we do not
   10334       # link with -lc, and that would cause any symbols used from libc to
   10335       # always be unresolved, which means just about no library would
   10336       # ever link correctly.  If we're not using GNU ld we use -z text
   10337       # though, which does catch some bad symbols but isn't as heavy-handed
   10338       # as -z defs.
   10339       no_undefined_flag='${wl}-z,text'
   10340       allow_undefined_flag='${wl}-z,nodefs'
   10341       archive_cmds_need_lc=no
   10342       hardcode_shlibpath_var=no
   10343       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10344       hardcode_libdir_separator=':'
   10345       link_all_deplibs=yes
   10346       export_dynamic_flag_spec='${wl}-Bexport'
   10347       runpath_var='LD_RUN_PATH'
   10348 
   10349       if test "$GCC" = yes; then
   10350 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10351 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10352       else
   10353 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10354 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10355       fi
   10356       ;;
   10357 
   10358     uts4*)
   10359       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10360       hardcode_libdir_flag_spec='-L$libdir'
   10361       hardcode_shlibpath_var=no
   10362       ;;
   10363 
   10364     *)
   10365       ld_shlibs=no
   10366       ;;
   10367     esac
   10368 
   10369     if test x$host_vendor = xsni; then
   10370       case $host in
   10371       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10372 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10373 	;;
   10374       esac
   10375     fi
   10376   fi
   10377 
   10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10379 $as_echo "$ld_shlibs" >&6; }
   10380 test "$ld_shlibs" = no && can_build_shared=no
   10381 
   10382 with_gnu_ld=$with_gnu_ld
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 #
   10399 # Do we need to explicitly link libc?
   10400 #
   10401 case "x$archive_cmds_need_lc" in
   10402 x|xyes)
   10403   # Assume -lc should be added
   10404   archive_cmds_need_lc=yes
   10405 
   10406   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10407     case $archive_cmds in
   10408     *'~'*)
   10409       # FIXME: we may have to deal with multi-command sequences.
   10410       ;;
   10411     '$CC '*)
   10412       # Test whether the compiler implicitly links with -lc since on some
   10413       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10414       # to ld, don't add -lc before -lgcc.
   10415       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10416 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10417 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10418   $as_echo_n "(cached) " >&6
   10419 else
   10420   $RM conftest*
   10421 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10422 
   10423 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10424   (eval $ac_compile) 2>&5
   10425   ac_status=$?
   10426   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10427   test $ac_status = 0; } 2>conftest.err; then
   10428 	  soname=conftest
   10429 	  lib=conftest
   10430 	  libobjs=conftest.$ac_objext
   10431 	  deplibs=
   10432 	  wl=$lt_prog_compiler_wl
   10433 	  pic_flag=$lt_prog_compiler_pic
   10434 	  compiler_flags=-v
   10435 	  linker_flags=-v
   10436 	  verstring=
   10437 	  output_objdir=.
   10438 	  libname=conftest
   10439 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10440 	  allow_undefined_flag=
   10441 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10442   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10443   ac_status=$?
   10444   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10445   test $ac_status = 0; }
   10446 	  then
   10447 	    lt_cv_archive_cmds_need_lc=no
   10448 	  else
   10449 	    lt_cv_archive_cmds_need_lc=yes
   10450 	  fi
   10451 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10452 	else
   10453 	  cat conftest.err 1>&5
   10454 	fi
   10455 	$RM conftest*
   10456 
   10457 fi
   10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10459 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10460       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10461       ;;
   10462     esac
   10463   fi
   10464   ;;
   10465 esac
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 
   10548 
   10549 
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10624 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10625 
   10626 if test "$GCC" = yes; then
   10627   case $host_os in
   10628     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10629     *) lt_awk_arg="/^libraries:/" ;;
   10630   esac
   10631   case $host_os in
   10632     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10633     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10634   esac
   10635   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10636   case $lt_search_path_spec in
   10637   *\;*)
   10638     # if the path contains ";" then we assume it to be the separator
   10639     # otherwise default to the standard path separator (i.e. ":") - it is
   10640     # assumed that no part of a normal pathname contains ";" but that should
   10641     # okay in the real world where ";" in dirpaths is itself problematic.
   10642     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10643     ;;
   10644   *)
   10645     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10646     ;;
   10647   esac
   10648   # Ok, now we have the path, separated by spaces, we can step through it
   10649   # and add multilib dir if necessary.
   10650   lt_tmp_lt_search_path_spec=
   10651   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10652   for lt_sys_path in $lt_search_path_spec; do
   10653     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10654       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10655     else
   10656       test -d "$lt_sys_path" && \
   10657 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10658     fi
   10659   done
   10660   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10661 BEGIN {RS=" "; FS="/|\n";} {
   10662   lt_foo="";
   10663   lt_count=0;
   10664   for (lt_i = NF; lt_i > 0; lt_i--) {
   10665     if ($lt_i != "" && $lt_i != ".") {
   10666       if ($lt_i == "..") {
   10667         lt_count++;
   10668       } else {
   10669         if (lt_count == 0) {
   10670           lt_foo="/" $lt_i lt_foo;
   10671         } else {
   10672           lt_count--;
   10673         }
   10674       }
   10675     }
   10676   }
   10677   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10678   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10679 }'`
   10680   # AWK program above erroneously prepends '/' to C:/dos/paths
   10681   # for these hosts.
   10682   case $host_os in
   10683     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10684       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10685   esac
   10686   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10687 else
   10688   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10689 fi
   10690 library_names_spec=
   10691 libname_spec='lib$name'
   10692 soname_spec=
   10693 shrext_cmds=".so"
   10694 postinstall_cmds=
   10695 postuninstall_cmds=
   10696 finish_cmds=
   10697 finish_eval=
   10698 shlibpath_var=
   10699 shlibpath_overrides_runpath=unknown
   10700 version_type=none
   10701 dynamic_linker="$host_os ld.so"
   10702 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10703 need_lib_prefix=unknown
   10704 hardcode_into_libs=no
   10705 
   10706 # when you set need_version to no, make sure it does not cause -set_version
   10707 # flags to be left without arguments
   10708 need_version=unknown
   10709 
   10710 case $host_os in
   10711 aix3*)
   10712   version_type=linux
   10713   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10714   shlibpath_var=LIBPATH
   10715 
   10716   # AIX 3 has no versioning support, so we append a major version to the name.
   10717   soname_spec='${libname}${release}${shared_ext}$major'
   10718   ;;
   10719 
   10720 aix[4-9]*)
   10721   version_type=linux
   10722   need_lib_prefix=no
   10723   need_version=no
   10724   hardcode_into_libs=yes
   10725   if test "$host_cpu" = ia64; then
   10726     # AIX 5 supports IA64
   10727     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10728     shlibpath_var=LD_LIBRARY_PATH
   10729   else
   10730     # With GCC up to 2.95.x, collect2 would create an import file
   10731     # for dependence libraries.  The import file would start with
   10732     # the line `#! .'.  This would cause the generated library to
   10733     # depend on `.', always an invalid library.  This was fixed in
   10734     # development snapshots of GCC prior to 3.0.
   10735     case $host_os in
   10736       aix4 | aix4.[01] | aix4.[01].*)
   10737       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10738 	   echo ' yes '
   10739 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10740 	:
   10741       else
   10742 	can_build_shared=no
   10743       fi
   10744       ;;
   10745     esac
   10746     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10747     # soname into executable. Probably we can add versioning support to
   10748     # collect2, so additional links can be useful in future.
   10749     if test "$aix_use_runtimelinking" = yes; then
   10750       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10751       # instead of lib<name>.a to let people know that these are not
   10752       # typical AIX shared libraries.
   10753       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10754     else
   10755       # We preserve .a as extension for shared libraries through AIX4.2
   10756       # and later when we are not doing run time linking.
   10757       library_names_spec='${libname}${release}.a $libname.a'
   10758       soname_spec='${libname}${release}${shared_ext}$major'
   10759     fi
   10760     shlibpath_var=LIBPATH
   10761   fi
   10762   ;;
   10763 
   10764 amigaos*)
   10765   case $host_cpu in
   10766   powerpc)
   10767     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10768     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10769     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10770     ;;
   10771   m68k)
   10772     library_names_spec='$libname.ixlibrary $libname.a'
   10773     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10774     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'
   10775     ;;
   10776   esac
   10777   ;;
   10778 
   10779 beos*)
   10780   library_names_spec='${libname}${shared_ext}'
   10781   dynamic_linker="$host_os ld.so"
   10782   shlibpath_var=LIBRARY_PATH
   10783   ;;
   10784 
   10785 bsdi[45]*)
   10786   version_type=linux
   10787   need_version=no
   10788   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10789   soname_spec='${libname}${release}${shared_ext}$major'
   10790   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10791   shlibpath_var=LD_LIBRARY_PATH
   10792   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10793   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10794   # the default ld.so.conf also contains /usr/contrib/lib and
   10795   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10796   # libtool to hard-code these into programs
   10797   ;;
   10798 
   10799 cygwin* | mingw* | pw32* | cegcc*)
   10800   version_type=windows
   10801   shrext_cmds=".dll"
   10802   need_version=no
   10803   need_lib_prefix=no
   10804 
   10805   case $GCC,$host_os in
   10806   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10807     library_names_spec='$libname.dll.a'
   10808     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10809     postinstall_cmds='base_file=`basename \${file}`~
   10810       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10811       dldir=$destdir/`dirname \$dlpath`~
   10812       test -d \$dldir || mkdir -p \$dldir~
   10813       $install_prog $dir/$dlname \$dldir/$dlname~
   10814       chmod a+x \$dldir/$dlname~
   10815       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10816         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10817       fi'
   10818     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10819       dlpath=$dir/\$dldll~
   10820        $RM \$dlpath'
   10821     shlibpath_overrides_runpath=yes
   10822 
   10823     case $host_os in
   10824     cygwin*)
   10825       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10826       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10827 
   10828       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10829       ;;
   10830     mingw* | cegcc*)
   10831       # MinGW DLLs use traditional 'lib' prefix
   10832       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10833       ;;
   10834     pw32*)
   10835       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10836       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10837       ;;
   10838     esac
   10839     ;;
   10840 
   10841   *)
   10842     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10843     ;;
   10844   esac
   10845   dynamic_linker='Win32 ld.exe'
   10846   # FIXME: first we should search . and the directory the executable is in
   10847   shlibpath_var=PATH
   10848   ;;
   10849 
   10850 darwin* | rhapsody*)
   10851   dynamic_linker="$host_os dyld"
   10852   version_type=darwin
   10853   need_lib_prefix=no
   10854   need_version=no
   10855   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10856   soname_spec='${libname}${release}${major}$shared_ext'
   10857   shlibpath_overrides_runpath=yes
   10858   shlibpath_var=DYLD_LIBRARY_PATH
   10859   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10860 
   10861   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10862   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10863   ;;
   10864 
   10865 dgux*)
   10866   version_type=linux
   10867   need_lib_prefix=no
   10868   need_version=no
   10869   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10870   soname_spec='${libname}${release}${shared_ext}$major'
   10871   shlibpath_var=LD_LIBRARY_PATH
   10872   ;;
   10873 
   10874 freebsd* | dragonfly*)
   10875   # DragonFly does not have aout.  When/if they implement a new
   10876   # versioning mechanism, adjust this.
   10877   if test -x /usr/bin/objformat; then
   10878     objformat=`/usr/bin/objformat`
   10879   else
   10880     case $host_os in
   10881     freebsd[23].*) objformat=aout ;;
   10882     *) objformat=elf ;;
   10883     esac
   10884   fi
   10885   version_type=freebsd-$objformat
   10886   case $version_type in
   10887     freebsd-elf*)
   10888       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10889       need_version=no
   10890       need_lib_prefix=no
   10891       ;;
   10892     freebsd-*)
   10893       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10894       need_version=yes
   10895       ;;
   10896   esac
   10897   shlibpath_var=LD_LIBRARY_PATH
   10898   case $host_os in
   10899   freebsd2.*)
   10900     shlibpath_overrides_runpath=yes
   10901     ;;
   10902   freebsd3.[01]* | freebsdelf3.[01]*)
   10903     shlibpath_overrides_runpath=yes
   10904     hardcode_into_libs=yes
   10905     ;;
   10906   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10907   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10908     shlibpath_overrides_runpath=no
   10909     hardcode_into_libs=yes
   10910     ;;
   10911   *) # from 4.6 on, and DragonFly
   10912     shlibpath_overrides_runpath=yes
   10913     hardcode_into_libs=yes
   10914     ;;
   10915   esac
   10916   ;;
   10917 
   10918 gnu*)
   10919   version_type=linux
   10920   need_lib_prefix=no
   10921   need_version=no
   10922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10923   soname_spec='${libname}${release}${shared_ext}$major'
   10924   shlibpath_var=LD_LIBRARY_PATH
   10925   hardcode_into_libs=yes
   10926   ;;
   10927 
   10928 haiku*)
   10929   version_type=linux
   10930   need_lib_prefix=no
   10931   need_version=no
   10932   dynamic_linker="$host_os runtime_loader"
   10933   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10934   soname_spec='${libname}${release}${shared_ext}$major'
   10935   shlibpath_var=LIBRARY_PATH
   10936   shlibpath_overrides_runpath=yes
   10937   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
   10938   hardcode_into_libs=yes
   10939   ;;
   10940 
   10941 hpux9* | hpux10* | hpux11*)
   10942   # Give a soname corresponding to the major version so that dld.sl refuses to
   10943   # link against other versions.
   10944   version_type=sunos
   10945   need_lib_prefix=no
   10946   need_version=no
   10947   case $host_cpu in
   10948   ia64*)
   10949     shrext_cmds='.so'
   10950     hardcode_into_libs=yes
   10951     dynamic_linker="$host_os dld.so"
   10952     shlibpath_var=LD_LIBRARY_PATH
   10953     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10954     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10955     soname_spec='${libname}${release}${shared_ext}$major'
   10956     if test "X$HPUX_IA64_MODE" = X32; then
   10957       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10958     else
   10959       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10960     fi
   10961     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10962     ;;
   10963   hppa*64*)
   10964     shrext_cmds='.sl'
   10965     hardcode_into_libs=yes
   10966     dynamic_linker="$host_os dld.sl"
   10967     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10968     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10969     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10970     soname_spec='${libname}${release}${shared_ext}$major'
   10971     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10972     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10973     ;;
   10974   *)
   10975     shrext_cmds='.sl'
   10976     dynamic_linker="$host_os dld.sl"
   10977     shlibpath_var=SHLIB_PATH
   10978     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10979     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10980     soname_spec='${libname}${release}${shared_ext}$major'
   10981     ;;
   10982   esac
   10983   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10984   postinstall_cmds='chmod 555 $lib'
   10985   # or fails outright, so override atomically:
   10986   install_override_mode=555
   10987   ;;
   10988 
   10989 interix[3-9]*)
   10990   version_type=linux
   10991   need_lib_prefix=no
   10992   need_version=no
   10993   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10994   soname_spec='${libname}${release}${shared_ext}$major'
   10995   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10996   shlibpath_var=LD_LIBRARY_PATH
   10997   shlibpath_overrides_runpath=no
   10998   hardcode_into_libs=yes
   10999   ;;
   11000 
   11001 irix5* | irix6* | nonstopux*)
   11002   case $host_os in
   11003     nonstopux*) version_type=nonstopux ;;
   11004     *)
   11005 	if test "$lt_cv_prog_gnu_ld" = yes; then
   11006 		version_type=linux
   11007 	else
   11008 		version_type=irix
   11009 	fi ;;
   11010   esac
   11011   need_lib_prefix=no
   11012   need_version=no
   11013   soname_spec='${libname}${release}${shared_ext}$major'
   11014   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   11015   case $host_os in
   11016   irix5* | nonstopux*)
   11017     libsuff= shlibsuff=
   11018     ;;
   11019   *)
   11020     case $LD in # libtool.m4 will add one of these switches to LD
   11021     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11022       libsuff= shlibsuff= libmagic=32-bit;;
   11023     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11024       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11025     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11026       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11027     *) libsuff= shlibsuff= libmagic=never-match;;
   11028     esac
   11029     ;;
   11030   esac
   11031   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11032   shlibpath_overrides_runpath=no
   11033   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   11034   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   11035   hardcode_into_libs=yes
   11036   ;;
   11037 
   11038 # No shared lib support for Linux oldld, aout, or coff.
   11039 linux*oldld* | linux*aout* | linux*coff*)
   11040   dynamic_linker=no
   11041   ;;
   11042 
   11043 # This must be Linux ELF.
   11044 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   11045   version_type=linux
   11046   need_lib_prefix=no
   11047   need_version=no
   11048   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11049   soname_spec='${libname}${release}${shared_ext}$major'
   11050   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11051   shlibpath_var=LD_LIBRARY_PATH
   11052   shlibpath_overrides_runpath=no
   11053 
   11054   # Some binutils ld are patched to set DT_RUNPATH
   11055   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11056   $as_echo_n "(cached) " >&6
   11057 else
   11058   lt_cv_shlibpath_overrides_runpath=no
   11059     save_LDFLAGS=$LDFLAGS
   11060     save_libdir=$libdir
   11061     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11062 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11063     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11064 /* end confdefs.h.  */
   11065 
   11066 int
   11067 main ()
   11068 {
   11069 
   11070   ;
   11071   return 0;
   11072 }
   11073 _ACEOF
   11074 if ac_fn_c_try_link "$LINENO"; then :
   11075   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11076   lt_cv_shlibpath_overrides_runpath=yes
   11077 fi
   11078 fi
   11079 rm -f core conftest.err conftest.$ac_objext \
   11080     conftest$ac_exeext conftest.$ac_ext
   11081     LDFLAGS=$save_LDFLAGS
   11082     libdir=$save_libdir
   11083 
   11084 fi
   11085 
   11086   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11087 
   11088   # This implies no fast_install, which is unacceptable.
   11089   # Some rework will be needed to allow for fast_install
   11090   # before this can be enabled.
   11091   hardcode_into_libs=yes
   11092 
   11093   # Append ld.so.conf contents to the search path
   11094   if test -f /etc/ld.so.conf; then
   11095     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' ' '`
   11096     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11097   fi
   11098 
   11099   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11100   # powerpc, because MkLinux only supported shared libraries with the
   11101   # GNU dynamic linker.  Since this was broken with cross compilers,
   11102   # most powerpc-linux boxes support dynamic linking these days and
   11103   # people can always --disable-shared, the test was removed, and we
   11104   # assume the GNU/Linux dynamic linker is in use.
   11105   dynamic_linker='GNU/Linux ld.so'
   11106   ;;
   11107 
   11108 netbsd*)
   11109   version_type=sunos
   11110   need_lib_prefix=no
   11111   need_version=no
   11112   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11113     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11114     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11115     dynamic_linker='NetBSD (a.out) ld.so'
   11116   else
   11117     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11118     soname_spec='${libname}${release}${shared_ext}$major'
   11119     dynamic_linker='NetBSD ld.elf_so'
   11120   fi
   11121   shlibpath_var=LD_LIBRARY_PATH
   11122   shlibpath_overrides_runpath=yes
   11123   hardcode_into_libs=yes
   11124   ;;
   11125 
   11126 newsos6)
   11127   version_type=linux
   11128   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11129   shlibpath_var=LD_LIBRARY_PATH
   11130   shlibpath_overrides_runpath=yes
   11131   ;;
   11132 
   11133 *nto* | *qnx*)
   11134   version_type=qnx
   11135   need_lib_prefix=no
   11136   need_version=no
   11137   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11138   soname_spec='${libname}${release}${shared_ext}$major'
   11139   shlibpath_var=LD_LIBRARY_PATH
   11140   shlibpath_overrides_runpath=no
   11141   hardcode_into_libs=yes
   11142   dynamic_linker='ldqnx.so'
   11143   ;;
   11144 
   11145 openbsd*)
   11146   version_type=sunos
   11147   sys_lib_dlsearch_path_spec="/usr/lib"
   11148   need_lib_prefix=no
   11149   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   11150   case $host_os in
   11151     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   11152     *)				need_version=no  ;;
   11153   esac
   11154   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11155   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11156   shlibpath_var=LD_LIBRARY_PATH
   11157   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11158     case $host_os in
   11159       openbsd2.[89] | openbsd2.[89].*)
   11160 	shlibpath_overrides_runpath=no
   11161 	;;
   11162       *)
   11163 	shlibpath_overrides_runpath=yes
   11164 	;;
   11165       esac
   11166   else
   11167     shlibpath_overrides_runpath=yes
   11168   fi
   11169   ;;
   11170 
   11171 os2*)
   11172   libname_spec='$name'
   11173   shrext_cmds=".dll"
   11174   need_lib_prefix=no
   11175   library_names_spec='$libname${shared_ext} $libname.a'
   11176   dynamic_linker='OS/2 ld.exe'
   11177   shlibpath_var=LIBPATH
   11178   ;;
   11179 
   11180 osf3* | osf4* | osf5*)
   11181   version_type=osf
   11182   need_lib_prefix=no
   11183   need_version=no
   11184   soname_spec='${libname}${release}${shared_ext}$major'
   11185   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11186   shlibpath_var=LD_LIBRARY_PATH
   11187   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11188   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   11189   ;;
   11190 
   11191 rdos*)
   11192   dynamic_linker=no
   11193   ;;
   11194 
   11195 solaris*)
   11196   version_type=linux
   11197   need_lib_prefix=no
   11198   need_version=no
   11199   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11200   soname_spec='${libname}${release}${shared_ext}$major'
   11201   shlibpath_var=LD_LIBRARY_PATH
   11202   shlibpath_overrides_runpath=yes
   11203   hardcode_into_libs=yes
   11204   # ldd complains unless libraries are executable
   11205   postinstall_cmds='chmod +x $lib'
   11206   ;;
   11207 
   11208 sunos4*)
   11209   version_type=sunos
   11210   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11211   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11212   shlibpath_var=LD_LIBRARY_PATH
   11213   shlibpath_overrides_runpath=yes
   11214   if test "$with_gnu_ld" = yes; then
   11215     need_lib_prefix=no
   11216   fi
   11217   need_version=yes
   11218   ;;
   11219 
   11220 sysv4 | sysv4.3*)
   11221   version_type=linux
   11222   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11223   soname_spec='${libname}${release}${shared_ext}$major'
   11224   shlibpath_var=LD_LIBRARY_PATH
   11225   case $host_vendor in
   11226     sni)
   11227       shlibpath_overrides_runpath=no
   11228       need_lib_prefix=no
   11229       runpath_var=LD_RUN_PATH
   11230       ;;
   11231     siemens)
   11232       need_lib_prefix=no
   11233       ;;
   11234     motorola)
   11235       need_lib_prefix=no
   11236       need_version=no
   11237       shlibpath_overrides_runpath=no
   11238       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11239       ;;
   11240   esac
   11241   ;;
   11242 
   11243 sysv4*MP*)
   11244   if test -d /usr/nec ;then
   11245     version_type=linux
   11246     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11247     soname_spec='$libname${shared_ext}.$major'
   11248     shlibpath_var=LD_LIBRARY_PATH
   11249   fi
   11250   ;;
   11251 
   11252 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11253   version_type=freebsd-elf
   11254   need_lib_prefix=no
   11255   need_version=no
   11256   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11257   soname_spec='${libname}${release}${shared_ext}$major'
   11258   shlibpath_var=LD_LIBRARY_PATH
   11259   shlibpath_overrides_runpath=yes
   11260   hardcode_into_libs=yes
   11261   if test "$with_gnu_ld" = yes; then
   11262     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11263   else
   11264     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11265     case $host_os in
   11266       sco3.2v5*)
   11267         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11268 	;;
   11269     esac
   11270   fi
   11271   sys_lib_dlsearch_path_spec='/usr/lib'
   11272   ;;
   11273 
   11274 tpf*)
   11275   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11276   version_type=linux
   11277   need_lib_prefix=no
   11278   need_version=no
   11279   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11280   shlibpath_var=LD_LIBRARY_PATH
   11281   shlibpath_overrides_runpath=no
   11282   hardcode_into_libs=yes
   11283   ;;
   11284 
   11285 uts4*)
   11286   version_type=linux
   11287   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11288   soname_spec='${libname}${release}${shared_ext}$major'
   11289   shlibpath_var=LD_LIBRARY_PATH
   11290   ;;
   11291 
   11292 *)
   11293   dynamic_linker=no
   11294   ;;
   11295 esac
   11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11297 $as_echo "$dynamic_linker" >&6; }
   11298 test "$dynamic_linker" = no && can_build_shared=no
   11299 
   11300 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11301 if test "$GCC" = yes; then
   11302   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11303 fi
   11304 
   11305 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11306   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11307 fi
   11308 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11309   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11310 fi
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325 
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 
   11395 
   11396 
   11397 
   11398 
   11399 
   11400 
   11401 
   11402 
   11403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11404 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11405 hardcode_action=
   11406 if test -n "$hardcode_libdir_flag_spec" ||
   11407    test -n "$runpath_var" ||
   11408    test "X$hardcode_automatic" = "Xyes" ; then
   11409 
   11410   # We can hardcode non-existent directories.
   11411   if test "$hardcode_direct" != no &&
   11412      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11413      # have to relink, otherwise we might link with an installed library
   11414      # when we should be linking with a yet-to-be-installed one
   11415      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11416      test "$hardcode_minus_L" != no; then
   11417     # Linking always hardcodes the temporary library directory.
   11418     hardcode_action=relink
   11419   else
   11420     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11421     hardcode_action=immediate
   11422   fi
   11423 else
   11424   # We cannot hardcode anything, or else we can only hardcode existing
   11425   # directories.
   11426   hardcode_action=unsupported
   11427 fi
   11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11429 $as_echo "$hardcode_action" >&6; }
   11430 
   11431 if test "$hardcode_action" = relink ||
   11432    test "$inherit_rpath" = yes; then
   11433   # Fast installation is not supported
   11434   enable_fast_install=no
   11435 elif test "$shlibpath_overrides_runpath" = yes ||
   11436      test "$enable_shared" = no; then
   11437   # Fast installation is not necessary
   11438   enable_fast_install=needless
   11439 fi
   11440 
   11441 
   11442 
   11443 
   11444 
   11445 
   11446   if test "x$enable_dlopen" != xyes; then
   11447   enable_dlopen=unknown
   11448   enable_dlopen_self=unknown
   11449   enable_dlopen_self_static=unknown
   11450 else
   11451   lt_cv_dlopen=no
   11452   lt_cv_dlopen_libs=
   11453 
   11454   case $host_os in
   11455   beos*)
   11456     lt_cv_dlopen="load_add_on"
   11457     lt_cv_dlopen_libs=
   11458     lt_cv_dlopen_self=yes
   11459     ;;
   11460 
   11461   mingw* | pw32* | cegcc*)
   11462     lt_cv_dlopen="LoadLibrary"
   11463     lt_cv_dlopen_libs=
   11464     ;;
   11465 
   11466   cygwin*)
   11467     lt_cv_dlopen="dlopen"
   11468     lt_cv_dlopen_libs=
   11469     ;;
   11470 
   11471   darwin*)
   11472   # if libdl is installed we need to link against it
   11473     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11474 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11475 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11476   $as_echo_n "(cached) " >&6
   11477 else
   11478   ac_check_lib_save_LIBS=$LIBS
   11479 LIBS="-ldl  $LIBS"
   11480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11481 /* end confdefs.h.  */
   11482 
   11483 /* Override any GCC internal prototype to avoid an error.
   11484    Use char because int might match the return type of a GCC
   11485    builtin and then its argument prototype would still apply.  */
   11486 #ifdef __cplusplus
   11487 extern "C"
   11488 #endif
   11489 char dlopen ();
   11490 int
   11491 main ()
   11492 {
   11493 return dlopen ();
   11494   ;
   11495   return 0;
   11496 }
   11497 _ACEOF
   11498 if ac_fn_c_try_link "$LINENO"; then :
   11499   ac_cv_lib_dl_dlopen=yes
   11500 else
   11501   ac_cv_lib_dl_dlopen=no
   11502 fi
   11503 rm -f core conftest.err conftest.$ac_objext \
   11504     conftest$ac_exeext conftest.$ac_ext
   11505 LIBS=$ac_check_lib_save_LIBS
   11506 fi
   11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11508 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11509 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11510   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11511 else
   11512 
   11513     lt_cv_dlopen="dyld"
   11514     lt_cv_dlopen_libs=
   11515     lt_cv_dlopen_self=yes
   11516 
   11517 fi
   11518 
   11519     ;;
   11520 
   11521   *)
   11522     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11523 if test "x$ac_cv_func_shl_load" = xyes; then :
   11524   lt_cv_dlopen="shl_load"
   11525 else
   11526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11527 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11528 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11529   $as_echo_n "(cached) " >&6
   11530 else
   11531   ac_check_lib_save_LIBS=$LIBS
   11532 LIBS="-ldld  $LIBS"
   11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11534 /* end confdefs.h.  */
   11535 
   11536 /* Override any GCC internal prototype to avoid an error.
   11537    Use char because int might match the return type of a GCC
   11538    builtin and then its argument prototype would still apply.  */
   11539 #ifdef __cplusplus
   11540 extern "C"
   11541 #endif
   11542 char shl_load ();
   11543 int
   11544 main ()
   11545 {
   11546 return shl_load ();
   11547   ;
   11548   return 0;
   11549 }
   11550 _ACEOF
   11551 if ac_fn_c_try_link "$LINENO"; then :
   11552   ac_cv_lib_dld_shl_load=yes
   11553 else
   11554   ac_cv_lib_dld_shl_load=no
   11555 fi
   11556 rm -f core conftest.err conftest.$ac_objext \
   11557     conftest$ac_exeext conftest.$ac_ext
   11558 LIBS=$ac_check_lib_save_LIBS
   11559 fi
   11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11561 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11562 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11563   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11564 else
   11565   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11566 if test "x$ac_cv_func_dlopen" = xyes; then :
   11567   lt_cv_dlopen="dlopen"
   11568 else
   11569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11570 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11571 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11572   $as_echo_n "(cached) " >&6
   11573 else
   11574   ac_check_lib_save_LIBS=$LIBS
   11575 LIBS="-ldl  $LIBS"
   11576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11577 /* end confdefs.h.  */
   11578 
   11579 /* Override any GCC internal prototype to avoid an error.
   11580    Use char because int might match the return type of a GCC
   11581    builtin and then its argument prototype would still apply.  */
   11582 #ifdef __cplusplus
   11583 extern "C"
   11584 #endif
   11585 char dlopen ();
   11586 int
   11587 main ()
   11588 {
   11589 return dlopen ();
   11590   ;
   11591   return 0;
   11592 }
   11593 _ACEOF
   11594 if ac_fn_c_try_link "$LINENO"; then :
   11595   ac_cv_lib_dl_dlopen=yes
   11596 else
   11597   ac_cv_lib_dl_dlopen=no
   11598 fi
   11599 rm -f core conftest.err conftest.$ac_objext \
   11600     conftest$ac_exeext conftest.$ac_ext
   11601 LIBS=$ac_check_lib_save_LIBS
   11602 fi
   11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11604 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11605 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11606   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11607 else
   11608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11609 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11610 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11611   $as_echo_n "(cached) " >&6
   11612 else
   11613   ac_check_lib_save_LIBS=$LIBS
   11614 LIBS="-lsvld  $LIBS"
   11615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11616 /* end confdefs.h.  */
   11617 
   11618 /* Override any GCC internal prototype to avoid an error.
   11619    Use char because int might match the return type of a GCC
   11620    builtin and then its argument prototype would still apply.  */
   11621 #ifdef __cplusplus
   11622 extern "C"
   11623 #endif
   11624 char dlopen ();
   11625 int
   11626 main ()
   11627 {
   11628 return dlopen ();
   11629   ;
   11630   return 0;
   11631 }
   11632 _ACEOF
   11633 if ac_fn_c_try_link "$LINENO"; then :
   11634   ac_cv_lib_svld_dlopen=yes
   11635 else
   11636   ac_cv_lib_svld_dlopen=no
   11637 fi
   11638 rm -f core conftest.err conftest.$ac_objext \
   11639     conftest$ac_exeext conftest.$ac_ext
   11640 LIBS=$ac_check_lib_save_LIBS
   11641 fi
   11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11643 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11644 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11645   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11646 else
   11647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11648 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11649 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11650   $as_echo_n "(cached) " >&6
   11651 else
   11652   ac_check_lib_save_LIBS=$LIBS
   11653 LIBS="-ldld  $LIBS"
   11654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11655 /* end confdefs.h.  */
   11656 
   11657 /* Override any GCC internal prototype to avoid an error.
   11658    Use char because int might match the return type of a GCC
   11659    builtin and then its argument prototype would still apply.  */
   11660 #ifdef __cplusplus
   11661 extern "C"
   11662 #endif
   11663 char dld_link ();
   11664 int
   11665 main ()
   11666 {
   11667 return dld_link ();
   11668   ;
   11669   return 0;
   11670 }
   11671 _ACEOF
   11672 if ac_fn_c_try_link "$LINENO"; then :
   11673   ac_cv_lib_dld_dld_link=yes
   11674 else
   11675   ac_cv_lib_dld_dld_link=no
   11676 fi
   11677 rm -f core conftest.err conftest.$ac_objext \
   11678     conftest$ac_exeext conftest.$ac_ext
   11679 LIBS=$ac_check_lib_save_LIBS
   11680 fi
   11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11682 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11683 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11684   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11685 fi
   11686 
   11687 
   11688 fi
   11689 
   11690 
   11691 fi
   11692 
   11693 
   11694 fi
   11695 
   11696 
   11697 fi
   11698 
   11699 
   11700 fi
   11701 
   11702     ;;
   11703   esac
   11704 
   11705   if test "x$lt_cv_dlopen" != xno; then
   11706     enable_dlopen=yes
   11707   else
   11708     enable_dlopen=no
   11709   fi
   11710 
   11711   case $lt_cv_dlopen in
   11712   dlopen)
   11713     save_CPPFLAGS="$CPPFLAGS"
   11714     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11715 
   11716     save_LDFLAGS="$LDFLAGS"
   11717     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11718 
   11719     save_LIBS="$LIBS"
   11720     LIBS="$lt_cv_dlopen_libs $LIBS"
   11721 
   11722     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11723 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11724 if ${lt_cv_dlopen_self+:} false; then :
   11725   $as_echo_n "(cached) " >&6
   11726 else
   11727   	  if test "$cross_compiling" = yes; then :
   11728   lt_cv_dlopen_self=cross
   11729 else
   11730   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11731   lt_status=$lt_dlunknown
   11732   cat > conftest.$ac_ext <<_LT_EOF
   11733 #line 11732 "configure"
   11734 #include "confdefs.h"
   11735 
   11736 #if HAVE_DLFCN_H
   11737 #include <dlfcn.h>
   11738 #endif
   11739 
   11740 #include <stdio.h>
   11741 
   11742 #ifdef RTLD_GLOBAL
   11743 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11744 #else
   11745 #  ifdef DL_GLOBAL
   11746 #    define LT_DLGLOBAL		DL_GLOBAL
   11747 #  else
   11748 #    define LT_DLGLOBAL		0
   11749 #  endif
   11750 #endif
   11751 
   11752 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11753    find out it does not work in some platform. */
   11754 #ifndef LT_DLLAZY_OR_NOW
   11755 #  ifdef RTLD_LAZY
   11756 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11757 #  else
   11758 #    ifdef DL_LAZY
   11759 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11760 #    else
   11761 #      ifdef RTLD_NOW
   11762 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11763 #      else
   11764 #        ifdef DL_NOW
   11765 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11766 #        else
   11767 #          define LT_DLLAZY_OR_NOW	0
   11768 #        endif
   11769 #      endif
   11770 #    endif
   11771 #  endif
   11772 #endif
   11773 
   11774 /* When -fvisbility=hidden is used, assume the code has been annotated
   11775    correspondingly for the symbols needed.  */
   11776 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11777 void fnord () __attribute__((visibility("default")));
   11778 #endif
   11779 
   11780 void fnord () { int i=42; }
   11781 int main ()
   11782 {
   11783   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11784   int status = $lt_dlunknown;
   11785 
   11786   if (self)
   11787     {
   11788       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11789       else
   11790         {
   11791 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11792           else puts (dlerror ());
   11793 	}
   11794       /* dlclose (self); */
   11795     }
   11796   else
   11797     puts (dlerror ());
   11798 
   11799   return status;
   11800 }
   11801 _LT_EOF
   11802   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11803   (eval $ac_link) 2>&5
   11804   ac_status=$?
   11805   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11806   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11807     (./conftest; exit; ) >&5 2>/dev/null
   11808     lt_status=$?
   11809     case x$lt_status in
   11810       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11811       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11812       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11813     esac
   11814   else :
   11815     # compilation failed
   11816     lt_cv_dlopen_self=no
   11817   fi
   11818 fi
   11819 rm -fr conftest*
   11820 
   11821 
   11822 fi
   11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11824 $as_echo "$lt_cv_dlopen_self" >&6; }
   11825 
   11826     if test "x$lt_cv_dlopen_self" = xyes; then
   11827       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11828       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11829 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11830 if ${lt_cv_dlopen_self_static+:} false; then :
   11831   $as_echo_n "(cached) " >&6
   11832 else
   11833   	  if test "$cross_compiling" = yes; then :
   11834   lt_cv_dlopen_self_static=cross
   11835 else
   11836   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11837   lt_status=$lt_dlunknown
   11838   cat > conftest.$ac_ext <<_LT_EOF
   11839 #line 11838 "configure"
   11840 #include "confdefs.h"
   11841 
   11842 #if HAVE_DLFCN_H
   11843 #include <dlfcn.h>
   11844 #endif
   11845 
   11846 #include <stdio.h>
   11847 
   11848 #ifdef RTLD_GLOBAL
   11849 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11850 #else
   11851 #  ifdef DL_GLOBAL
   11852 #    define LT_DLGLOBAL		DL_GLOBAL
   11853 #  else
   11854 #    define LT_DLGLOBAL		0
   11855 #  endif
   11856 #endif
   11857 
   11858 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11859    find out it does not work in some platform. */
   11860 #ifndef LT_DLLAZY_OR_NOW
   11861 #  ifdef RTLD_LAZY
   11862 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11863 #  else
   11864 #    ifdef DL_LAZY
   11865 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11866 #    else
   11867 #      ifdef RTLD_NOW
   11868 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11869 #      else
   11870 #        ifdef DL_NOW
   11871 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11872 #        else
   11873 #          define LT_DLLAZY_OR_NOW	0
   11874 #        endif
   11875 #      endif
   11876 #    endif
   11877 #  endif
   11878 #endif
   11879 
   11880 /* When -fvisbility=hidden is used, assume the code has been annotated
   11881    correspondingly for the symbols needed.  */
   11882 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11883 void fnord () __attribute__((visibility("default")));
   11884 #endif
   11885 
   11886 void fnord () { int i=42; }
   11887 int main ()
   11888 {
   11889   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11890   int status = $lt_dlunknown;
   11891 
   11892   if (self)
   11893     {
   11894       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11895       else
   11896         {
   11897 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11898           else puts (dlerror ());
   11899 	}
   11900       /* dlclose (self); */
   11901     }
   11902   else
   11903     puts (dlerror ());
   11904 
   11905   return status;
   11906 }
   11907 _LT_EOF
   11908   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11909   (eval $ac_link) 2>&5
   11910   ac_status=$?
   11911   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11912   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11913     (./conftest; exit; ) >&5 2>/dev/null
   11914     lt_status=$?
   11915     case x$lt_status in
   11916       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11917       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11918       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11919     esac
   11920   else :
   11921     # compilation failed
   11922     lt_cv_dlopen_self_static=no
   11923   fi
   11924 fi
   11925 rm -fr conftest*
   11926 
   11927 
   11928 fi
   11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11930 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11931     fi
   11932 
   11933     CPPFLAGS="$save_CPPFLAGS"
   11934     LDFLAGS="$save_LDFLAGS"
   11935     LIBS="$save_LIBS"
   11936     ;;
   11937   esac
   11938 
   11939   case $lt_cv_dlopen_self in
   11940   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11941   *) enable_dlopen_self=unknown ;;
   11942   esac
   11943 
   11944   case $lt_cv_dlopen_self_static in
   11945   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11946   *) enable_dlopen_self_static=unknown ;;
   11947   esac
   11948 fi
   11949 
   11950 
   11951 
   11952 
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 striplib=
   11967 old_striplib=
   11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11969 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11970 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11971   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11972   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11974 $as_echo "yes" >&6; }
   11975 else
   11976 # FIXME - insert some real tests, host_os isn't really good enough
   11977   case $host_os in
   11978   darwin*)
   11979     if test -n "$STRIP" ; then
   11980       striplib="$STRIP -x"
   11981       old_striplib="$STRIP -S"
   11982       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11983 $as_echo "yes" >&6; }
   11984     else
   11985       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11986 $as_echo "no" >&6; }
   11987     fi
   11988     ;;
   11989   *)
   11990     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11991 $as_echo "no" >&6; }
   11992     ;;
   11993   esac
   11994 fi
   11995 
   11996 
   11997 
   11998 
   11999 
   12000 
   12001 
   12002 
   12003 
   12004 
   12005 
   12006 
   12007   # Report which library types will actually be built
   12008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12009 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12011 $as_echo "$can_build_shared" >&6; }
   12012 
   12013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12014 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12015   test "$can_build_shared" = "no" && enable_shared=no
   12016 
   12017   # On AIX, shared libraries and static libraries use the same namespace, and
   12018   # are all built from PIC.
   12019   case $host_os in
   12020   aix3*)
   12021     test "$enable_shared" = yes && enable_static=no
   12022     if test -n "$RANLIB"; then
   12023       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12024       postinstall_cmds='$RANLIB $lib'
   12025     fi
   12026     ;;
   12027 
   12028   aix[4-9]*)
   12029     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   12030       test "$enable_shared" = yes && enable_static=no
   12031     fi
   12032     ;;
   12033   esac
   12034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12035 $as_echo "$enable_shared" >&6; }
   12036 
   12037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12038 $as_echo_n "checking whether to build static libraries... " >&6; }
   12039   # Make sure either enable_shared or enable_static is yes.
   12040   test "$enable_shared" = yes || enable_static=yes
   12041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12042 $as_echo "$enable_static" >&6; }
   12043 
   12044 
   12045 
   12046 
   12047 fi
   12048 ac_ext=c
   12049 ac_cpp='$CPP $CPPFLAGS'
   12050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12053 
   12054 CC="$lt_save_CC"
   12055 
   12056 
   12057 
   12058 
   12059 
   12060 
   12061 
   12062 
   12063 
   12064 
   12065 
   12066 
   12067 
   12068         ac_config_commands="$ac_config_commands libtool"
   12069 
   12070 
   12071 
   12072 
   12073 # Only expand once:
   12074 
   12075 
   12076 
   12077 # AC_PLUGINS setting $plugins is called by ACX_LARGEFILE.
   12078 
   12079 # The tests for host and target for $enable_largefile require
   12080 # canonical names.
   12081 
   12082 
   12083 
   12084 # As the $enable_largefile decision depends on --enable-plugins we must set it
   12085 # even in directories otherwise not depending on the $plugins option.
   12086 
   12087 
   12088   maybe_plugins=no
   12089   for ac_header in dlfcn.h
   12090 do :
   12091   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   12092 "
   12093 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   12094   cat >>confdefs.h <<_ACEOF
   12095 #define HAVE_DLFCN_H 1
   12096 _ACEOF
   12097  maybe_plugins=yes
   12098 fi
   12099 
   12100 done
   12101 
   12102   for ac_header in windows.h
   12103 do :
   12104   ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
   12105 "
   12106 if test "x$ac_cv_header_windows_h" = xyes; then :
   12107   cat >>confdefs.h <<_ACEOF
   12108 #define HAVE_WINDOWS_H 1
   12109 _ACEOF
   12110  maybe_plugins=yes
   12111 fi
   12112 
   12113 done
   12114 
   12115 
   12116   # Check whether --enable-plugins was given.
   12117 if test "${enable_plugins+set}" = set; then :
   12118   enableval=$enable_plugins; case "${enableval}" in
   12119       no) plugins=no ;;
   12120       *) plugins=yes
   12121          if test "$maybe_plugins" != "yes" ; then
   12122 	   as_fn_error $? "Building with plugin support requires a host that supports dlopen." "$LINENO" 5
   12123 	 fi ;;
   12124      esac
   12125 else
   12126   plugins=$maybe_plugins
   12127 
   12128 fi
   12129 
   12130   if test "$plugins" = "yes"; then
   12131     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
   12132 $as_echo_n "checking for library containing dlsym... " >&6; }
   12133 if ${ac_cv_search_dlsym+:} false; then :
   12134   $as_echo_n "(cached) " >&6
   12135 else
   12136   ac_func_search_save_LIBS=$LIBS
   12137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12138 /* end confdefs.h.  */
   12139 
   12140 /* Override any GCC internal prototype to avoid an error.
   12141    Use char because int might match the return type of a GCC
   12142    builtin and then its argument prototype would still apply.  */
   12143 #ifdef __cplusplus
   12144 extern "C"
   12145 #endif
   12146 char dlsym ();
   12147 int
   12148 main ()
   12149 {
   12150 return dlsym ();
   12151   ;
   12152   return 0;
   12153 }
   12154 _ACEOF
   12155 for ac_lib in '' dl; do
   12156   if test -z "$ac_lib"; then
   12157     ac_res="none required"
   12158   else
   12159     ac_res=-l$ac_lib
   12160     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12161   fi
   12162   if ac_fn_c_try_link "$LINENO"; then :
   12163   ac_cv_search_dlsym=$ac_res
   12164 fi
   12165 rm -f core conftest.err conftest.$ac_objext \
   12166     conftest$ac_exeext
   12167   if ${ac_cv_search_dlsym+:} false; then :
   12168   break
   12169 fi
   12170 done
   12171 if ${ac_cv_search_dlsym+:} false; then :
   12172 
   12173 else
   12174   ac_cv_search_dlsym=no
   12175 fi
   12176 rm conftest.$ac_ext
   12177 LIBS=$ac_func_search_save_LIBS
   12178 fi
   12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
   12180 $as_echo "$ac_cv_search_dlsym" >&6; }
   12181 ac_res=$ac_cv_search_dlsym
   12182 if test "$ac_res" != no; then :
   12183   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12184 
   12185 fi
   12186 
   12187   fi
   12188 
   12189 
   12190 case "${host}" in
   12191   sparc-*-solaris*|i?86-*-solaris*)
   12192     # On native 32-bit Solaris/SPARC and x86, large-file and procfs support
   12193     # were mutually exclusive until Solaris 11.3.  Without procfs support,
   12194     # the bfd/ elf module cannot provide certain routines such as
   12195     # elfcore_write_prpsinfo or elfcore_write_prstatus.  So unless the user
   12196     # explicitly requested large-file support through the
   12197     # --enable-largefile switch, disable large-file support in favor of
   12198     # procfs support.
   12199     #
   12200     # Check if <sys/procfs.h> is incompatible with large-file support.
   12201     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12202 /* end confdefs.h.  */
   12203 #define _FILE_OFFSET_BITS 64
   12204 #define _STRUCTURED_PROC 1
   12205 #include <sys/procfs.h>
   12206 int
   12207 main ()
   12208 {
   12209 
   12210   ;
   12211   return 0;
   12212 }
   12213 _ACEOF
   12214 if ac_fn_c_try_compile "$LINENO"; then :
   12215   acx_cv_procfs_lfs=yes
   12216 else
   12217   acx_cv_procfs_lfs=no
   12218 fi
   12219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12220     #
   12221     # Forcefully disable large-file support only if necessary, gdb is in
   12222     # tree and enabled.
   12223     if test "${target}" = "${host}" -a "$acx_cv_procfs_lfs" = no \
   12224          -a -d $srcdir/../gdb -a "$enable_gdb" != no; then
   12225       : ${enable_largefile="no"}
   12226       if test "$plugins" = yes; then
   12227 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
   12228 plugin support disabled; require large-file support which is incompatible with GDB." >&5
   12229 $as_echo "$as_me: WARNING:
   12230 plugin support disabled; require large-file support which is incompatible with GDB." >&2;}
   12231 	plugins=no
   12232       fi
   12233     fi
   12234     #
   12235     # Explicitly undef _FILE_OFFSET_BITS if enable_largefile=no for the
   12236     # benefit of g++ 9+ which predefines it on Solaris.
   12237     if test "$enable_largefile" = no; then
   12238       LARGEFILE_CPPFLAGS="-U_FILE_OFFSET_BITS"
   12239 
   12240     fi
   12241     ;;
   12242 esac
   12243 
   12244 # Check whether --enable-largefile was given.
   12245 if test "${enable_largefile+set}" = set; then :
   12246   enableval=$enable_largefile;
   12247 fi
   12248 
   12249 if test "$enable_largefile" != no; then
   12250 
   12251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   12252 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   12253 if ${ac_cv_sys_largefile_CC+:} false; then :
   12254   $as_echo_n "(cached) " >&6
   12255 else
   12256   ac_cv_sys_largefile_CC=no
   12257      if test "$GCC" != yes; then
   12258        ac_save_CC=$CC
   12259        while :; do
   12260 	 # IRIX 6.2 and later do not support large files by default,
   12261 	 # so use the C compiler's -n32 option if that helps.
   12262 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12263 /* end confdefs.h.  */
   12264 #include <sys/types.h>
   12265  /* Check that off_t can represent 2**63 - 1 correctly.
   12266     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12267     since some C++ compilers masquerading as C compilers
   12268     incorrectly reject 9223372036854775807.  */
   12269 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12270   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12271 		       && LARGE_OFF_T % 2147483647 == 1)
   12272 		      ? 1 : -1];
   12273 int
   12274 main ()
   12275 {
   12276 
   12277   ;
   12278   return 0;
   12279 }
   12280 _ACEOF
   12281 	 if ac_fn_c_try_compile "$LINENO"; then :
   12282   break
   12283 fi
   12284 rm -f core conftest.err conftest.$ac_objext
   12285 	 CC="$CC -n32"
   12286 	 if ac_fn_c_try_compile "$LINENO"; then :
   12287   ac_cv_sys_largefile_CC=' -n32'; break
   12288 fi
   12289 rm -f core conftest.err conftest.$ac_objext
   12290 	 break
   12291        done
   12292        CC=$ac_save_CC
   12293        rm -f conftest.$ac_ext
   12294     fi
   12295 fi
   12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   12297 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   12298   if test "$ac_cv_sys_largefile_CC" != no; then
   12299     CC=$CC$ac_cv_sys_largefile_CC
   12300   fi
   12301 
   12302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   12303 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   12304 if ${ac_cv_sys_file_offset_bits+:} false; then :
   12305   $as_echo_n "(cached) " >&6
   12306 else
   12307   while :; do
   12308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12309 /* end confdefs.h.  */
   12310 #include <sys/types.h>
   12311  /* Check that off_t can represent 2**63 - 1 correctly.
   12312     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12313     since some C++ compilers masquerading as C compilers
   12314     incorrectly reject 9223372036854775807.  */
   12315 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12316   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12317 		       && LARGE_OFF_T % 2147483647 == 1)
   12318 		      ? 1 : -1];
   12319 int
   12320 main ()
   12321 {
   12322 
   12323   ;
   12324   return 0;
   12325 }
   12326 _ACEOF
   12327 if ac_fn_c_try_compile "$LINENO"; then :
   12328   ac_cv_sys_file_offset_bits=no; break
   12329 fi
   12330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12332 /* end confdefs.h.  */
   12333 #define _FILE_OFFSET_BITS 64
   12334 #include <sys/types.h>
   12335  /* Check that off_t can represent 2**63 - 1 correctly.
   12336     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12337     since some C++ compilers masquerading as C compilers
   12338     incorrectly reject 9223372036854775807.  */
   12339 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12340   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12341 		       && LARGE_OFF_T % 2147483647 == 1)
   12342 		      ? 1 : -1];
   12343 int
   12344 main ()
   12345 {
   12346 
   12347   ;
   12348   return 0;
   12349 }
   12350 _ACEOF
   12351 if ac_fn_c_try_compile "$LINENO"; then :
   12352   ac_cv_sys_file_offset_bits=64; break
   12353 fi
   12354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12355   ac_cv_sys_file_offset_bits=unknown
   12356   break
   12357 done
   12358 fi
   12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   12360 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   12361 case $ac_cv_sys_file_offset_bits in #(
   12362   no | unknown) ;;
   12363   *)
   12364 cat >>confdefs.h <<_ACEOF
   12365 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   12366 _ACEOF
   12367 ;;
   12368 esac
   12369 rm -rf conftest*
   12370   if test $ac_cv_sys_file_offset_bits = unknown; then
   12371     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   12372 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   12373 if ${ac_cv_sys_large_files+:} false; then :
   12374   $as_echo_n "(cached) " >&6
   12375 else
   12376   while :; do
   12377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12378 /* end confdefs.h.  */
   12379 #include <sys/types.h>
   12380  /* Check that off_t can represent 2**63 - 1 correctly.
   12381     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12382     since some C++ compilers masquerading as C compilers
   12383     incorrectly reject 9223372036854775807.  */
   12384 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12385   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12386 		       && LARGE_OFF_T % 2147483647 == 1)
   12387 		      ? 1 : -1];
   12388 int
   12389 main ()
   12390 {
   12391 
   12392   ;
   12393   return 0;
   12394 }
   12395 _ACEOF
   12396 if ac_fn_c_try_compile "$LINENO"; then :
   12397   ac_cv_sys_large_files=no; break
   12398 fi
   12399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12401 /* end confdefs.h.  */
   12402 #define _LARGE_FILES 1
   12403 #include <sys/types.h>
   12404  /* Check that off_t can represent 2**63 - 1 correctly.
   12405     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12406     since some C++ compilers masquerading as C compilers
   12407     incorrectly reject 9223372036854775807.  */
   12408 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12409   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12410 		       && LARGE_OFF_T % 2147483647 == 1)
   12411 		      ? 1 : -1];
   12412 int
   12413 main ()
   12414 {
   12415 
   12416   ;
   12417   return 0;
   12418 }
   12419 _ACEOF
   12420 if ac_fn_c_try_compile "$LINENO"; then :
   12421   ac_cv_sys_large_files=1; break
   12422 fi
   12423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12424   ac_cv_sys_large_files=unknown
   12425   break
   12426 done
   12427 fi
   12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   12429 $as_echo "$ac_cv_sys_large_files" >&6; }
   12430 case $ac_cv_sys_large_files in #(
   12431   no | unknown) ;;
   12432   *)
   12433 cat >>confdefs.h <<_ACEOF
   12434 #define _LARGE_FILES $ac_cv_sys_large_files
   12435 _ACEOF
   12436 ;;
   12437 esac
   12438 rm -rf conftest*
   12439   fi
   12440 
   12441 
   12442 fi
   12443 
   12444 
   12445 
   12446 case "${target}" in
   12447     hppa*64*-*-* | vax-*-netbsdelf*) ;;
   12448     *-*-*aout* | i[3-7]86-*-bsd* | i[3-7]86-*-msdos* | ns32k-*-* | \
   12449     pdp11-*-* | vax-*-*bsd*)
   12450 	if test "$plugins" = "yes"; then
   12451 	    if test "${enable_plugins+set}" = set; then
   12452 		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling plugins for AOUT is experimental" >&5
   12453 $as_echo "$as_me: WARNING: Enabling plugins for AOUT is experimental" >&2;}
   12454 	    else
   12455 		plugins=no
   12456 	    fi
   12457 	fi ;;
   12458     hppa*-*-hpux* | *-*-*vms* | \
   12459     powerpc*-*-aix* | powerpc-*-beos* | powerpc-*-macos* | rs6000-*-*)
   12460 	if test "$plugins" = "yes"; then
   12461 	    if test "${enable_plugins+set}" = set; then
   12462 		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling plugins may result in ar creating non-standard archives for ${target}" >&5
   12463 $as_echo "$as_me: WARNING: Enabling plugins may result in ar creating non-standard archives for ${target}" >&2;}
   12464 	    else
   12465 		plugins=no
   12466 	    fi
   12467 	fi ;;
   12468 esac
   12469 
   12470  if test "$plugins" = "yes"; then
   12471   PLUGINS_TRUE=
   12472   PLUGINS_FALSE='#'
   12473 else
   12474   PLUGINS_TRUE='#'
   12475   PLUGINS_FALSE=
   12476 fi
   12477 
   12478 
   12479 # Check whether --enable-64-bit-bfd was given.
   12480 if test "${enable_64_bit_bfd+set}" = set; then :
   12481   enableval=$enable_64_bit_bfd; case "${enableval}" in
   12482   yes)  want64=true  ;;
   12483   no)   want64=false ;;
   12484   *)    as_fn_error $? "bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;;
   12485 esac
   12486 else
   12487   want64=false
   12488 fi
   12489 
   12490 # Check whether --enable-targets was given.
   12491 if test "${enable_targets+set}" = set; then :
   12492   enableval=$enable_targets; case "${enableval}" in
   12493   yes | "") as_fn_error $? "enable-targets option must specify target names or 'all'" "$LINENO" 5
   12494             ;;
   12495   no)       enable_targets= ;;
   12496   *)        enable_targets=$enableval ;;
   12497 esac
   12498 fi
   12499 
   12500 # Check whether --enable-64_bit_archive was given.
   12501 if test "${enable_64_bit_archive+set}" = set; then :
   12502   enableval=$enable_64_bit_archive; case "${enableval}" in
   12503   yes)  want_64_bit_archive=true  ;;
   12504   no)   want_64_bit_archive=false ;;
   12505   *)    as_fn_error $? "bad value ${enableval} for 64-bit-archive option" "$LINENO" 5 ;;
   12506 esac
   12507 else
   12508   want_64_bit_archive=unset
   12509 fi
   12510 
   12511 
   12512 # Check whether --with-mmap was given.
   12513 if test "${with_mmap+set}" = set; then :
   12514   withval=$with_mmap; case "${withval}" in
   12515   yes)  want_mmap=true ;;
   12516   no)   want_mmap=false ;;
   12517   *)    as_fn_error $? "bad value ${withval} for BFD with-mmap option" "$LINENO" 5 ;;
   12518 esac
   12519 else
   12520   want_mmap=false
   12521 fi
   12522 
   12523 # Check whether --enable-secureplt was given.
   12524 if test "${enable_secureplt+set}" = set; then :
   12525   enableval=$enable_secureplt; case "${enableval}" in
   12526   yes)  use_secureplt=true  ;;
   12527   no)   use_secureplt=false ;;
   12528   *)    as_fn_error $? "bad value ${enableval} for secureplt option" "$LINENO" 5 ;;
   12529 esac
   12530 else
   12531   use_secureplt=false
   12532 fi
   12533 if test $use_secureplt = true; then
   12534 
   12535 $as_echo "#define USE_SECUREPLT 1" >>confdefs.h
   12536 
   12537 fi
   12538 
   12539 # Decide if -z separate-code should be enabled in ELF linker by default.
   12540 ac_default_ld_z_separate_code=unset
   12541 # Check whether --enable-separate-code was given.
   12542 if test "${enable_separate_code+set}" = set; then :
   12543   enableval=$enable_separate_code; case "${enableval}" in
   12544   yes) ac_default_ld_z_separate_code=1 ;;
   12545   no) ac_default_ld_z_separate_code=0 ;;
   12546 esac
   12547 fi
   12548 
   12549 # Enable -z separate-code by default for Linux/x86.
   12550 case "${target}" in
   12551 i[3-7]86-*-linux-* | x86_64-*-linux-*)
   12552   if test ${ac_default_ld_z_separate_code} = unset; then
   12553     ac_default_ld_z_separate_code=1
   12554   fi
   12555   ;;
   12556 esac
   12557 if test "${ac_default_ld_z_separate_code}" = unset; then
   12558   ac_default_ld_z_separate_code=0
   12559 fi
   12560 
   12561 cat >>confdefs.h <<_ACEOF
   12562 #define DEFAULT_LD_Z_SEPARATE_CODE $ac_default_ld_z_separate_code
   12563 _ACEOF
   12564 
   12565 
   12566 # Check whether --enable-leading-mingw64-underscores was given.
   12567 if test "${enable_leading_mingw64_underscores+set}" = set; then :
   12568   enableval=$enable_leading_mingw64_underscores;
   12569 fi
   12570 
   12571 if  test x"$enable_leading_mingw64_underscores" = xyes ; then :
   12572 
   12573 $as_echo "#define USE_MINGW64_LEADING_UNDERSCORES 1" >>confdefs.h
   12574 
   12575 fi
   12576 
   12577 DEBUGDIR=${libdir}/debug
   12578 
   12579 # Check whether --with-separate-debug-dir was given.
   12580 if test "${with_separate_debug_dir+set}" = set; then :
   12581   withval=$with_separate_debug_dir; DEBUGDIR="${withval}"
   12582 fi
   12583 
   12584 
   12585 
   12586 
   12587 
   12588 # Check whether --with-pkgversion was given.
   12589 if test "${with_pkgversion+set}" = set; then :
   12590   withval=$with_pkgversion; case "$withval" in
   12591       yes) as_fn_error $? "package version not specified" "$LINENO" 5 ;;
   12592       no)  PKGVERSION= ;;
   12593       *)   PKGVERSION="($withval) " ;;
   12594      esac
   12595 else
   12596   PKGVERSION="(GNU Binutils) "
   12597 
   12598 fi
   12599 
   12600 
   12601 
   12602 
   12603 
   12604 # Check whether --with-bugurl was given.
   12605 if test "${with_bugurl+set}" = set; then :
   12606   withval=$with_bugurl; case "$withval" in
   12607       yes) as_fn_error $? "bug URL not specified" "$LINENO" 5 ;;
   12608       no)  BUGURL=
   12609 	   ;;
   12610       *)   BUGURL="$withval"
   12611 	   ;;
   12612      esac
   12613 else
   12614   BUGURL="http://www.sourceware.org/bugzilla/"
   12615 
   12616 fi
   12617 
   12618   case ${BUGURL} in
   12619   "")
   12620     REPORT_BUGS_TO=
   12621     REPORT_BUGS_TEXI=
   12622     ;;
   12623   *)
   12624     REPORT_BUGS_TO="<$BUGURL>"
   12625     REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`}
   12626     ;;
   12627   esac;
   12628 
   12629 
   12630 
   12631 
   12632 
   12633 # Set the 'development' global.
   12634 . $srcdir/../bfd/development.sh
   12635 
   12636 # Set acp_cpp_for_build variable
   12637 ac_cpp_for_build="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
   12638 
   12639 # Default set of GCC warnings to enable.
   12640 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   12641 GCC_WARN_CFLAGS_FOR_BUILD="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   12642 
   12643 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   12644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12645 /* end confdefs.h.  */
   12646 __GNUC__
   12647 _ACEOF
   12648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12649   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12650 
   12651 else
   12652   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
   12653 fi
   12654 rm -f conftest*
   12655 
   12656 
   12657 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   12658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12659 /* end confdefs.h.  */
   12660 __GNUC__
   12661 _ACEOF
   12662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12663   $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12664 
   12665 else
   12666   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
   12667 fi
   12668 rm -f conftest*
   12669 
   12670 
   12671 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
   12672 WARN_WRITE_STRINGS=""
   12673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12674 /* end confdefs.h.  */
   12675 __GNUC__
   12676 _ACEOF
   12677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12678   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12679 
   12680 else
   12681   WARN_WRITE_STRINGS="-Wwrite-strings"
   12682 fi
   12683 rm -f conftest*
   12684 
   12685 
   12686 # Verify CC_FOR_BUILD to be compatible with warning flags
   12687 
   12688 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   12689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12690 /* end confdefs.h.  */
   12691 __GNUC__
   12692 _ACEOF
   12693 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   12694   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12695 
   12696 else
   12697   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
   12698 fi
   12699 rm -f conftest*
   12700 
   12701 
   12702 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   12703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12704 /* end confdefs.h.  */
   12705 __GNUC__
   12706 _ACEOF
   12707 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   12708   $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12709 
   12710 else
   12711   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
   12712 fi
   12713 rm -f conftest*
   12714 
   12715 
   12716 # Check whether --enable-werror was given.
   12717 if test "${enable_werror+set}" = set; then :
   12718   enableval=$enable_werror; case "${enableval}" in
   12719      yes | y) ERROR_ON_WARNING="yes" ;;
   12720      no | n)  ERROR_ON_WARNING="no" ;;
   12721      *) as_fn_error $? "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
   12722    esac
   12723 fi
   12724 
   12725 
   12726 # Disable -Wformat by default when using gcc on mingw
   12727 case "${host}" in
   12728   *-*-mingw32*)
   12729     if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
   12730       GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
   12731       GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
   12732     fi
   12733     ;;
   12734   *) ;;
   12735 esac
   12736 
   12737 # Enable -Werror by default when using gcc.  Turn it off for releases.
   12738 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then
   12739     ERROR_ON_WARNING=yes
   12740 fi
   12741 
   12742 NO_WERROR=
   12743 if test "${ERROR_ON_WARNING}" = yes ; then
   12744     GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
   12745     GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
   12746     NO_WERROR="-Wno-error"
   12747 fi
   12748 
   12749 if test "${GCC}" = yes ; then
   12750   WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   12751   WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}"
   12752 fi
   12753 
   12754 # Check whether --enable-build-warnings was given.
   12755 if test "${enable_build_warnings+set}" = set; then :
   12756   enableval=$enable_build_warnings; case "${enableval}" in
   12757   yes)	WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   12758         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}";;
   12759   no)	if test "${GCC}" = yes ; then
   12760 	  WARN_CFLAGS="-w"
   12761       WARN_CFLAGS_FOR_BUILD="-w"
   12762 	fi;;
   12763   ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   12764         WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}"
   12765         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
   12766   *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   12767         WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}"
   12768         WARN_CFLAGS_FOR_BUILD="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
   12769   *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`
   12770         WARN_CFLAGS_FOR_BUILD=`echo "${enableval}" | sed -e "s/,/ /g"`;;
   12771 esac
   12772 fi
   12773 
   12774 
   12775 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
   12776   echo "Setting warning flags = $WARN_CFLAGS" 6>&1
   12777 fi
   12778 
   12779 
   12780 
   12781 
   12782 
   12783 
   12784 
   12785 ac_config_headers="$ac_config_headers config.h:config.in"
   12786 
   12787 
   12788 # PR 14072
   12789 
   12790 
   12791 if test -z "$target" ; then
   12792     as_fn_error $? "Unrecognized target system type; please check config.sub." "$LINENO" 5
   12793 fi
   12794 
   12795 
   12796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   12797 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   12798     # Check whether --enable-maintainer-mode was given.
   12799 if test "${enable_maintainer_mode+set}" = set; then :
   12800   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   12801 else
   12802   USE_MAINTAINER_MODE=no
   12803 fi
   12804 
   12805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   12806 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   12807    if test $USE_MAINTAINER_MODE = yes; then
   12808   MAINTAINER_MODE_TRUE=
   12809   MAINTAINER_MODE_FALSE='#'
   12810 else
   12811   MAINTAINER_MODE_TRUE='#'
   12812   MAINTAINER_MODE_FALSE=
   12813 fi
   12814 
   12815   MAINT=$MAINTAINER_MODE_TRUE
   12816 
   12817 
   12818  if false; then
   12819   GENINSRC_NEVER_TRUE=
   12820   GENINSRC_NEVER_FALSE='#'
   12821 else
   12822   GENINSRC_NEVER_TRUE='#'
   12823   GENINSRC_NEVER_FALSE=
   12824 fi
   12825 
   12826  case ${build_alias} in
   12827   "") build_noncanonical=${build} ;;
   12828   *) build_noncanonical=${build_alias} ;;
   12829 esac
   12830 
   12831  case ${host_alias} in
   12832   "") host_noncanonical=${build_noncanonical} ;;
   12833   *) host_noncanonical=${host_alias} ;;
   12834 esac
   12835 
   12836  case ${target_alias} in
   12837   "") target_noncanonical=${host_noncanonical} ;;
   12838   *) target_noncanonical=${target_alias} ;;
   12839 esac
   12840 
   12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libbfd" >&5
   12842 $as_echo_n "checking whether to install libbfd... " >&6; }
   12843   # Check whether --enable-install-libbfd was given.
   12844 if test "${enable_install_libbfd+set}" = set; then :
   12845   enableval=$enable_install_libbfd; install_libbfd_p=$enableval
   12846 else
   12847   if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
   12848         install_libbfd_p=yes
   12849       else
   12850         install_libbfd_p=no
   12851       fi
   12852 fi
   12853 
   12854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_libbfd_p" >&5
   12855 $as_echo "$install_libbfd_p" >&6; }
   12856    if test $install_libbfd_p = yes; then
   12857   INSTALL_LIBBFD_TRUE=
   12858   INSTALL_LIBBFD_FALSE='#'
   12859 else
   12860   INSTALL_LIBBFD_TRUE='#'
   12861   INSTALL_LIBBFD_FALSE=
   12862 fi
   12863 
   12864   # Need _noncanonical variables for this.
   12865 
   12866 
   12867 
   12868 
   12869   # libbfd.a is a host library containing target dependent code
   12870   bfdlibdir='$(libdir)'
   12871   bfdincludedir='$(includedir)'
   12872   if test "${host}" != "${target}"; then
   12873     bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
   12874     bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
   12875   fi
   12876 
   12877 
   12878 
   12879 
   12880 
   12881 
   12882 
   12883 
   12884 host64=false
   12885 target64=false
   12886 bfd_default_target_size=32
   12887 
   12888 # host stuff:
   12889 
   12890 ALL_LINGUAS="da es fi fr hr id ja ro ru rw sr sv tr uk vi zh_CN pt"
   12891 # If we haven't got the data from the intl directory,
   12892 # assume NLS is disabled.
   12893 USE_NLS=no
   12894 LIBINTL=
   12895 LIBINTL_DEP=
   12896 INCINTL=
   12897 XGETTEXT=
   12898 GMSGFMT=
   12899 POSUB=
   12900 
   12901 if test -f  ../intl/config.intl; then
   12902   .  ../intl/config.intl
   12903 fi
   12904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   12905 $as_echo_n "checking whether NLS is requested... " >&6; }
   12906 if test x"$USE_NLS" != xyes; then
   12907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12908 $as_echo "no" >&6; }
   12909 else
   12910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12911 $as_echo "yes" >&6; }
   12912 
   12913 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   12914 
   12915 
   12916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
   12917 $as_echo_n "checking for catalogs to be installed... " >&6; }
   12918   # Look for .po and .gmo files in the source directory.
   12919   CATALOGS=
   12920   XLINGUAS=
   12921   for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
   12922     # If there aren't any .gmo files the shell will give us the
   12923     # literal string "../path/to/srcdir/po/*.gmo" which has to be
   12924     # weeded out.
   12925     case "$cat" in *\**)
   12926       continue;;
   12927     esac
   12928     # The quadruple backslash is collapsed to a double backslash
   12929     # by the backticks, then collapsed again by the double quotes,
   12930     # leaving us with one backslash in the sed expression (right
   12931     # before the dot that mustn't act as a wildcard).
   12932     cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
   12933     lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
   12934     # The user is allowed to set LINGUAS to a list of languages to
   12935     # install catalogs for.  If it's empty that means "all of them."
   12936     if test "x$LINGUAS" = x; then
   12937       CATALOGS="$CATALOGS $cat"
   12938       XLINGUAS="$XLINGUAS $lang"
   12939     else
   12940       case "$LINGUAS" in *$lang*)
   12941         CATALOGS="$CATALOGS $cat"
   12942         XLINGUAS="$XLINGUAS $lang"
   12943         ;;
   12944       esac
   12945     fi
   12946   done
   12947   LINGUAS="$XLINGUAS"
   12948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
   12949 $as_echo "$LINGUAS" >&6; }
   12950 
   12951 
   12952     DATADIRNAME=share
   12953 
   12954   INSTOBJEXT=.mo
   12955 
   12956   GENCAT=gencat
   12957 
   12958   CATOBJEXT=.gmo
   12959 
   12960 fi
   12961 
   12962         MKINSTALLDIRS=
   12963   if test -n "$ac_aux_dir"; then
   12964     case "$ac_aux_dir" in
   12965       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   12966       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   12967     esac
   12968   fi
   12969   if test -z "$MKINSTALLDIRS"; then
   12970     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   12971   fi
   12972 
   12973 
   12974 
   12975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   12976 $as_echo_n "checking whether NLS is requested... " >&6; }
   12977     # Check whether --enable-nls was given.
   12978 if test "${enable_nls+set}" = set; then :
   12979   enableval=$enable_nls; USE_NLS=$enableval
   12980 else
   12981   USE_NLS=yes
   12982 fi
   12983 
   12984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   12985 $as_echo "$USE_NLS" >&6; }
   12986 
   12987 
   12988 
   12989 
   12990 
   12991 
   12992 # Prepare PATH_SEPARATOR.
   12993 # The user is always right.
   12994 if test "${PATH_SEPARATOR+set}" != set; then
   12995   echo "#! /bin/sh" >conf$$.sh
   12996   echo  "exit 0"   >>conf$$.sh
   12997   chmod +x conf$$.sh
   12998   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   12999     PATH_SEPARATOR=';'
   13000   else
   13001     PATH_SEPARATOR=:
   13002   fi
   13003   rm -f conf$$.sh
   13004 fi
   13005 
   13006 # Find out how to test for executable files. Don't use a zero-byte file,
   13007 # as systems may use methods other than mode bits to determine executability.
   13008 cat >conf$$.file <<_ASEOF
   13009 #! /bin/sh
   13010 exit 0
   13011 _ASEOF
   13012 chmod +x conf$$.file
   13013 if test -x conf$$.file >/dev/null 2>&1; then
   13014   ac_executable_p="test -x"
   13015 else
   13016   ac_executable_p="test -f"
   13017 fi
   13018 rm -f conf$$.file
   13019 
   13020 # Extract the first word of "msgfmt", so it can be a program name with args.
   13021 set dummy msgfmt; ac_word=$2
   13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13023 $as_echo_n "checking for $ac_word... " >&6; }
   13024 if ${ac_cv_path_MSGFMT+:} false; then :
   13025   $as_echo_n "(cached) " >&6
   13026 else
   13027   case "$MSGFMT" in
   13028   [\\/]* | ?:[\\/]*)
   13029     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   13030     ;;
   13031   *)
   13032     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   13033     for ac_dir in $PATH; do
   13034       IFS="$ac_save_IFS"
   13035       test -z "$ac_dir" && ac_dir=.
   13036       for ac_exec_ext in '' $ac_executable_extensions; do
   13037         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   13038           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   13039      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   13040             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   13041             break 2
   13042           fi
   13043         fi
   13044       done
   13045     done
   13046     IFS="$ac_save_IFS"
   13047   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   13048     ;;
   13049 esac
   13050 fi
   13051 MSGFMT="$ac_cv_path_MSGFMT"
   13052 if test "$MSGFMT" != ":"; then
   13053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   13054 $as_echo "$MSGFMT" >&6; }
   13055 else
   13056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13057 $as_echo "no" >&6; }
   13058 fi
   13059 
   13060   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   13061 set dummy gmsgfmt; ac_word=$2
   13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13063 $as_echo_n "checking for $ac_word... " >&6; }
   13064 if ${ac_cv_path_GMSGFMT+:} false; then :
   13065   $as_echo_n "(cached) " >&6
   13066 else
   13067   case $GMSGFMT in
   13068   [\\/]* | ?:[\\/]*)
   13069   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   13070   ;;
   13071   *)
   13072   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13073 for as_dir in $PATH
   13074 do
   13075   IFS=$as_save_IFS
   13076   test -z "$as_dir" && as_dir=.
   13077     for ac_exec_ext in '' $ac_executable_extensions; do
   13078   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13079     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   13080     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13081     break 2
   13082   fi
   13083 done
   13084   done
   13085 IFS=$as_save_IFS
   13086 
   13087   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   13088   ;;
   13089 esac
   13090 fi
   13091 GMSGFMT=$ac_cv_path_GMSGFMT
   13092 if test -n "$GMSGFMT"; then
   13093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   13094 $as_echo "$GMSGFMT" >&6; }
   13095 else
   13096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13097 $as_echo "no" >&6; }
   13098 fi
   13099 
   13100 
   13101 
   13102 
   13103 # Prepare PATH_SEPARATOR.
   13104 # The user is always right.
   13105 if test "${PATH_SEPARATOR+set}" != set; then
   13106   echo "#! /bin/sh" >conf$$.sh
   13107   echo  "exit 0"   >>conf$$.sh
   13108   chmod +x conf$$.sh
   13109   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   13110     PATH_SEPARATOR=';'
   13111   else
   13112     PATH_SEPARATOR=:
   13113   fi
   13114   rm -f conf$$.sh
   13115 fi
   13116 
   13117 # Find out how to test for executable files. Don't use a zero-byte file,
   13118 # as systems may use methods other than mode bits to determine executability.
   13119 cat >conf$$.file <<_ASEOF
   13120 #! /bin/sh
   13121 exit 0
   13122 _ASEOF
   13123 chmod +x conf$$.file
   13124 if test -x conf$$.file >/dev/null 2>&1; then
   13125   ac_executable_p="test -x"
   13126 else
   13127   ac_executable_p="test -f"
   13128 fi
   13129 rm -f conf$$.file
   13130 
   13131 # Extract the first word of "xgettext", so it can be a program name with args.
   13132 set dummy xgettext; ac_word=$2
   13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13134 $as_echo_n "checking for $ac_word... " >&6; }
   13135 if ${ac_cv_path_XGETTEXT+:} false; then :
   13136   $as_echo_n "(cached) " >&6
   13137 else
   13138   case "$XGETTEXT" in
   13139   [\\/]* | ?:[\\/]*)
   13140     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   13141     ;;
   13142   *)
   13143     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   13144     for ac_dir in $PATH; do
   13145       IFS="$ac_save_IFS"
   13146       test -z "$ac_dir" && ac_dir=.
   13147       for ac_exec_ext in '' $ac_executable_extensions; do
   13148         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   13149           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   13150      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   13151             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   13152             break 2
   13153           fi
   13154         fi
   13155       done
   13156     done
   13157     IFS="$ac_save_IFS"
   13158   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   13159     ;;
   13160 esac
   13161 fi
   13162 XGETTEXT="$ac_cv_path_XGETTEXT"
   13163 if test "$XGETTEXT" != ":"; then
   13164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   13165 $as_echo "$XGETTEXT" >&6; }
   13166 else
   13167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13168 $as_echo "no" >&6; }
   13169 fi
   13170 
   13171     rm -f messages.po
   13172 
   13173 
   13174 # Prepare PATH_SEPARATOR.
   13175 # The user is always right.
   13176 if test "${PATH_SEPARATOR+set}" != set; then
   13177   echo "#! /bin/sh" >conf$$.sh
   13178   echo  "exit 0"   >>conf$$.sh
   13179   chmod +x conf$$.sh
   13180   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   13181     PATH_SEPARATOR=';'
   13182   else
   13183     PATH_SEPARATOR=:
   13184   fi
   13185   rm -f conf$$.sh
   13186 fi
   13187 
   13188 # Find out how to test for executable files. Don't use a zero-byte file,
   13189 # as systems may use methods other than mode bits to determine executability.
   13190 cat >conf$$.file <<_ASEOF
   13191 #! /bin/sh
   13192 exit 0
   13193 _ASEOF
   13194 chmod +x conf$$.file
   13195 if test -x conf$$.file >/dev/null 2>&1; then
   13196   ac_executable_p="test -x"
   13197 else
   13198   ac_executable_p="test -f"
   13199 fi
   13200 rm -f conf$$.file
   13201 
   13202 # Extract the first word of "msgmerge", so it can be a program name with args.
   13203 set dummy msgmerge; ac_word=$2
   13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13205 $as_echo_n "checking for $ac_word... " >&6; }
   13206 if ${ac_cv_path_MSGMERGE+:} false; then :
   13207   $as_echo_n "(cached) " >&6
   13208 else
   13209   case "$MSGMERGE" in
   13210   [\\/]* | ?:[\\/]*)
   13211     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   13212     ;;
   13213   *)
   13214     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   13215     for ac_dir in $PATH; do
   13216       IFS="$ac_save_IFS"
   13217       test -z "$ac_dir" && ac_dir=.
   13218       for ac_exec_ext in '' $ac_executable_extensions; do
   13219         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   13220           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   13221             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   13222             break 2
   13223           fi
   13224         fi
   13225       done
   13226     done
   13227     IFS="$ac_save_IFS"
   13228   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   13229     ;;
   13230 esac
   13231 fi
   13232 MSGMERGE="$ac_cv_path_MSGMERGE"
   13233 if test "$MSGMERGE" != ":"; then
   13234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   13235 $as_echo "$MSGMERGE" >&6; }
   13236 else
   13237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13238 $as_echo "no" >&6; }
   13239 fi
   13240 
   13241 
   13242       if test "$GMSGFMT" != ":"; then
   13243             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   13244        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   13245       : ;
   13246     else
   13247       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   13248       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   13249 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
   13250       GMSGFMT=":"
   13251     fi
   13252   fi
   13253 
   13254       if test "$XGETTEXT" != ":"; then
   13255             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   13256        (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   13257       : ;
   13258     else
   13259       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
   13260 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
   13261       XGETTEXT=":"
   13262     fi
   13263         rm -f messages.po
   13264   fi
   13265 
   13266   ac_config_commands="$ac_config_commands default-1"
   13267 
   13268 
   13269 
   13270 # Permit host specific settings.
   13271 . ${srcdir}/configure.host
   13272 
   13273 
   13274 
   13275 
   13276 BFD_HOST_64BIT_LONG=0
   13277 BFD_HOST_64BIT_LONG_LONG=0
   13278 BFD_HOST_64_BIT_DEFINED=0
   13279 BFD_HOST_64_BIT=
   13280 BFD_HOST_U_64_BIT=
   13281 BFD_HOSTPTR_T="unsigned long"
   13282 
   13283 
   13284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
   13285 $as_echo_n "checking for long double... " >&6; }
   13286 if ${ac_cv_type_long_double+:} false; then :
   13287   $as_echo_n "(cached) " >&6
   13288 else
   13289   if test "$GCC" = yes; then
   13290        ac_cv_type_long_double=yes
   13291      else
   13292        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13293 /* end confdefs.h.  */
   13294 /* The Stardent Vistra knows sizeof (long double), but does
   13295 		 not support it.  */
   13296 	      long double foo = 0.0L;
   13297 int
   13298 main ()
   13299 {
   13300 static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8.  */
   13301 	      sizeof (double) <= sizeof (long double))];
   13302 test_array [0] = 0;
   13303 return test_array [0];
   13304 
   13305   ;
   13306   return 0;
   13307 }
   13308 _ACEOF
   13309 if ac_fn_c_try_compile "$LINENO"; then :
   13310   ac_cv_type_long_double=yes
   13311 else
   13312   ac_cv_type_long_double=no
   13313 fi
   13314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13315      fi
   13316 fi
   13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double" >&5
   13318 $as_echo "$ac_cv_type_long_double" >&6; }
   13319   if test $ac_cv_type_long_double = yes; then
   13320 
   13321 $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
   13322 
   13323   fi
   13324 
   13325 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
   13326 if test "x$ac_cv_type_long_long" = xyes; then :
   13327 
   13328 cat >>confdefs.h <<_ACEOF
   13329 #define HAVE_LONG_LONG 1
   13330 _ACEOF
   13331 
   13332 # The cast to long int works around a bug in the HP C Compiler
   13333 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13334 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13335 # This bug is HP SR number 8606223364.
   13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
   13337 $as_echo_n "checking size of long long... " >&6; }
   13338 if ${ac_cv_sizeof_long_long+:} false; then :
   13339   $as_echo_n "(cached) " >&6
   13340 else
   13341   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
   13342 
   13343 else
   13344   if test "$ac_cv_type_long_long" = yes; then
   13345      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13347 as_fn_error 77 "cannot compute sizeof (long long)
   13348 See \`config.log' for more details" "$LINENO" 5; }
   13349    else
   13350      ac_cv_sizeof_long_long=0
   13351    fi
   13352 fi
   13353 
   13354 fi
   13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
   13356 $as_echo "$ac_cv_sizeof_long_long" >&6; }
   13357 
   13358 
   13359 
   13360 cat >>confdefs.h <<_ACEOF
   13361 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
   13362 _ACEOF
   13363 
   13364 
   13365 fi
   13366 
   13367 # The cast to long int works around a bug in the HP C Compiler
   13368 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13369 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13370 # This bug is HP SR number 8606223364.
   13371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   13372 $as_echo_n "checking size of void *... " >&6; }
   13373 if ${ac_cv_sizeof_void_p+:} false; then :
   13374   $as_echo_n "(cached) " >&6
   13375 else
   13376   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   13377 
   13378 else
   13379   if test "$ac_cv_type_void_p" = yes; then
   13380      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13382 as_fn_error 77 "cannot compute sizeof (void *)
   13383 See \`config.log' for more details" "$LINENO" 5; }
   13384    else
   13385      ac_cv_sizeof_void_p=0
   13386    fi
   13387 fi
   13388 
   13389 fi
   13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   13391 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   13392 
   13393 
   13394 
   13395 cat >>confdefs.h <<_ACEOF
   13396 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   13397 _ACEOF
   13398 
   13399 
   13400 # The cast to long int works around a bug in the HP C Compiler
   13401 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13402 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13403 # This bug is HP SR number 8606223364.
   13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   13405 $as_echo_n "checking size of long... " >&6; }
   13406 if ${ac_cv_sizeof_long+:} false; then :
   13407   $as_echo_n "(cached) " >&6
   13408 else
   13409   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   13410 
   13411 else
   13412   if test "$ac_cv_type_long" = yes; then
   13413      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13415 as_fn_error 77 "cannot compute sizeof (long)
   13416 See \`config.log' for more details" "$LINENO" 5; }
   13417    else
   13418      ac_cv_sizeof_long=0
   13419    fi
   13420 fi
   13421 
   13422 fi
   13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   13424 $as_echo "$ac_cv_sizeof_long" >&6; }
   13425 
   13426 
   13427 
   13428 cat >>confdefs.h <<_ACEOF
   13429 #define SIZEOF_LONG $ac_cv_sizeof_long
   13430 _ACEOF
   13431 
   13432 
   13433 # The cast to long int works around a bug in the HP C Compiler
   13434 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13435 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13436 # This bug is HP SR number 8606223364.
   13437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   13438 $as_echo_n "checking size of int... " >&6; }
   13439 if ${ac_cv_sizeof_int+:} false; then :
   13440   $as_echo_n "(cached) " >&6
   13441 else
   13442   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   13443 
   13444 else
   13445   if test "$ac_cv_type_int" = yes; then
   13446      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13448 as_fn_error 77 "cannot compute sizeof (int)
   13449 See \`config.log' for more details" "$LINENO" 5; }
   13450    else
   13451      ac_cv_sizeof_int=0
   13452    fi
   13453 fi
   13454 
   13455 fi
   13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   13457 $as_echo "$ac_cv_sizeof_int" >&6; }
   13458 
   13459 
   13460 
   13461 cat >>confdefs.h <<_ACEOF
   13462 #define SIZEOF_INT $ac_cv_sizeof_int
   13463 _ACEOF
   13464 
   13465 
   13466 
   13467 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
   13468   host64=true
   13469 fi
   13470 
   13471 if test "x${ac_cv_sizeof_long}" = "x8"; then
   13472   BFD_HOST_64BIT_LONG=1
   13473   test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long"
   13474   test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long"
   13475 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
   13476   BFD_HOST_64BIT_LONG_LONG=1
   13477   test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long long"
   13478   test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long long"
   13479   if test "x${ac_cv_sizeof_void_p}" = "x8"; then
   13480     BFD_HOSTPTR_T="unsigned long long"
   13481   fi
   13482 fi
   13483 
   13484 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
   13485   BFD_HOST_64_BIT_DEFINED=1
   13486   BFD_HOST_64_BIT="${HOST_64BIT_TYPE}"
   13487   BFD_HOST_U_64_BIT="${HOST_U_64BIT_TYPE}"
   13488 fi
   13489 
   13490 
   13491 
   13492 
   13493 
   13494 
   13495 
   13496 
   13497 # Put a plausible default for CC_FOR_BUILD in Makefile.
   13498 if test -z "$CC_FOR_BUILD"; then
   13499   if test "x$cross_compiling" = "xno"; then
   13500     CC_FOR_BUILD='$(CC)'
   13501   else
   13502     CC_FOR_BUILD=gcc
   13503   fi
   13504 fi
   13505 
   13506 # Also set EXEEXT_FOR_BUILD.
   13507 if test "x$cross_compiling" = "xno"; then
   13508   EXEEXT_FOR_BUILD='$(EXEEXT)'
   13509 else
   13510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
   13511 $as_echo_n "checking for build system executable suffix... " >&6; }
   13512 if ${bfd_cv_build_exeext+:} false; then :
   13513   $as_echo_n "(cached) " >&6
   13514 else
   13515   rm -f conftest*
   13516      echo 'int main () { return 0; }' > conftest.c
   13517      bfd_cv_build_exeext=
   13518      ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
   13519      for file in conftest.*; do
   13520        case $file in
   13521        *.c | *.o | *.obj | *.ilk | *.pdb) ;;
   13522        *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
   13523        esac
   13524      done
   13525      rm -f conftest*
   13526      test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
   13527 fi
   13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
   13529 $as_echo "$bfd_cv_build_exeext" >&6; }
   13530   EXEEXT_FOR_BUILD=""
   13531   test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
   13532 fi
   13533 
   13534 
   13535 for ac_header in alloca.h fcntl.h limits.h stddef.h stdlib.h string.h \
   13536 		 strings.h sys/file.h sys/resource.h sys/stat.h sys/time.h \
   13537 		 time.h unistd.h wchar.h wctype.h
   13538 do :
   13539   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   13540 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   13541 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   13542   cat >>confdefs.h <<_ACEOF
   13543 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   13544 _ACEOF
   13545 
   13546 fi
   13547 
   13548 done
   13549 
   13550 
   13551 
   13552 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
   13553 
   13554 acx_cv_header_stdint=stddef.h
   13555 acx_cv_header_stdint_kind="(already complete)"
   13556 for i in stdint.h $inttype_headers; do
   13557   unset ac_cv_type_uintptr_t
   13558   unset ac_cv_type_uintmax_t
   13559   unset ac_cv_type_int_least32_t
   13560   unset ac_cv_type_int_fast32_t
   13561   unset ac_cv_type_uint64_t
   13562   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
   13563   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
   13564 #include <$i>
   13565 "
   13566 if test "x$ac_cv_type_uintmax_t" = xyes; then :
   13567   acx_cv_header_stdint=$i
   13568 else
   13569   continue
   13570 fi
   13571 
   13572   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
   13573 #include <$i>
   13574 "
   13575 if test "x$ac_cv_type_uintptr_t" = xyes; then :
   13576 
   13577 else
   13578   acx_cv_header_stdint_kind="(mostly complete)"
   13579 fi
   13580 
   13581   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
   13582 #include <$i>
   13583 "
   13584 if test "x$ac_cv_type_int_least32_t" = xyes; then :
   13585 
   13586 else
   13587   acx_cv_header_stdint_kind="(mostly complete)"
   13588 fi
   13589 
   13590   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
   13591 #include <$i>
   13592 "
   13593 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
   13594 
   13595 else
   13596   acx_cv_header_stdint_kind="(mostly complete)"
   13597 fi
   13598 
   13599   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
   13600 #include <$i>
   13601 "
   13602 if test "x$ac_cv_type_uint64_t" = xyes; then :
   13603 
   13604 else
   13605   acx_cv_header_stdint_kind="(lacks uint64_t)"
   13606 fi
   13607 
   13608   break
   13609 done
   13610 if test "$acx_cv_header_stdint" = stddef.h; then
   13611   acx_cv_header_stdint_kind="(lacks uintmax_t)"
   13612   for i in stdint.h $inttype_headers; do
   13613     unset ac_cv_type_uintptr_t
   13614     unset ac_cv_type_uint32_t
   13615     unset ac_cv_type_uint64_t
   13616     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
   13617     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
   13618 #include <$i>
   13619 "
   13620 if test "x$ac_cv_type_uint32_t" = xyes; then :
   13621   acx_cv_header_stdint=$i
   13622 else
   13623   continue
   13624 fi
   13625 
   13626     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
   13627 #include <$i>
   13628 "
   13629 if test "x$ac_cv_type_uint64_t" = xyes; then :
   13630 
   13631 fi
   13632 
   13633     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
   13634 #include <$i>
   13635 "
   13636 if test "x$ac_cv_type_uintptr_t" = xyes; then :
   13637 
   13638 fi
   13639 
   13640     break
   13641   done
   13642 fi
   13643 if test "$acx_cv_header_stdint" = stddef.h; then
   13644   acx_cv_header_stdint_kind="(u_intXX_t style)"
   13645   for i in sys/types.h $inttype_headers; do
   13646     unset ac_cv_type_u_int32_t
   13647     unset ac_cv_type_u_int64_t
   13648     $as_echo_n "looking for u_intXX_t types in $i, " >&6
   13649     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
   13650 #include <$i>
   13651 "
   13652 if test "x$ac_cv_type_u_int32_t" = xyes; then :
   13653   acx_cv_header_stdint=$i
   13654 else
   13655   continue
   13656 fi
   13657 
   13658     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
   13659 #include <$i>
   13660 "
   13661 if test "x$ac_cv_type_u_int64_t" = xyes; then :
   13662 
   13663 fi
   13664 
   13665     break
   13666   done
   13667 fi
   13668 if test "$acx_cv_header_stdint" = stddef.h; then
   13669   acx_cv_header_stdint_kind="(using manual detection)"
   13670 fi
   13671 
   13672 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
   13673 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
   13674 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
   13675 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
   13676 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
   13677 
   13678 # ----------------- Summarize what we found so far
   13679 
   13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in bfd_stdint.h" >&5
   13681 $as_echo_n "checking what to include in bfd_stdint.h... " >&6; }
   13682 
   13683 case `$as_basename -- bfd_stdint.h ||
   13684 $as_expr X/bfd_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
   13685 	 Xbfd_stdint.h : 'X\(//\)$' \| \
   13686 	 Xbfd_stdint.h : 'X\(/\)' \| . 2>/dev/null ||
   13687 $as_echo X/bfd_stdint.h |
   13688     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13689 	    s//\1/
   13690 	    q
   13691 	  }
   13692 	  /^X\/\(\/\/\)$/{
   13693 	    s//\1/
   13694 	    q
   13695 	  }
   13696 	  /^X\/\(\/\).*/{
   13697 	    s//\1/
   13698 	    q
   13699 	  }
   13700 	  s/.*/./; q'` in
   13701   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
   13702 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
   13703   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
   13704 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
   13705   *) ;;
   13706 esac
   13707 
   13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
   13709 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
   13710 
   13711 # ----------------- done included file, check C basic types --------
   13712 
   13713 # Lacking an uintptr_t?  Test size of void *
   13714 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
   13715   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
   13716 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13717 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13718 # This bug is HP SR number 8606223364.
   13719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   13720 $as_echo_n "checking size of void *... " >&6; }
   13721 if ${ac_cv_sizeof_void_p+:} false; then :
   13722   $as_echo_n "(cached) " >&6
   13723 else
   13724   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   13725 
   13726 else
   13727   if test "$ac_cv_type_void_p" = yes; then
   13728      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13730 as_fn_error 77 "cannot compute sizeof (void *)
   13731 See \`config.log' for more details" "$LINENO" 5; }
   13732    else
   13733      ac_cv_sizeof_void_p=0
   13734    fi
   13735 fi
   13736 
   13737 fi
   13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   13739 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   13740 
   13741 
   13742 
   13743 cat >>confdefs.h <<_ACEOF
   13744 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   13745 _ACEOF
   13746 
   13747  ;;
   13748 esac
   13749 
   13750 # Lacking an uint64_t?  Test size of long
   13751 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
   13752   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
   13753 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13754 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13755 # This bug is HP SR number 8606223364.
   13756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   13757 $as_echo_n "checking size of long... " >&6; }
   13758 if ${ac_cv_sizeof_long+:} false; then :
   13759   $as_echo_n "(cached) " >&6
   13760 else
   13761   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   13762 
   13763 else
   13764   if test "$ac_cv_type_long" = yes; then
   13765      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13767 as_fn_error 77 "cannot compute sizeof (long)
   13768 See \`config.log' for more details" "$LINENO" 5; }
   13769    else
   13770      ac_cv_sizeof_long=0
   13771    fi
   13772 fi
   13773 
   13774 fi
   13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   13776 $as_echo "$ac_cv_sizeof_long" >&6; }
   13777 
   13778 
   13779 
   13780 cat >>confdefs.h <<_ACEOF
   13781 #define SIZEOF_LONG $ac_cv_sizeof_long
   13782 _ACEOF
   13783 
   13784  ;;
   13785 esac
   13786 
   13787 if test $acx_cv_header_stdint = stddef.h; then
   13788   # Lacking a good header?  Test size of everything and deduce all types.
   13789   # The cast to long int works around a bug in the HP C Compiler
   13790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13792 # This bug is HP SR number 8606223364.
   13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   13794 $as_echo_n "checking size of int... " >&6; }
   13795 if ${ac_cv_sizeof_int+:} false; then :
   13796   $as_echo_n "(cached) " >&6
   13797 else
   13798   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   13799 
   13800 else
   13801   if test "$ac_cv_type_int" = yes; then
   13802      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13804 as_fn_error 77 "cannot compute sizeof (int)
   13805 See \`config.log' for more details" "$LINENO" 5; }
   13806    else
   13807      ac_cv_sizeof_int=0
   13808    fi
   13809 fi
   13810 
   13811 fi
   13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   13813 $as_echo "$ac_cv_sizeof_int" >&6; }
   13814 
   13815 
   13816 
   13817 cat >>confdefs.h <<_ACEOF
   13818 #define SIZEOF_INT $ac_cv_sizeof_int
   13819 _ACEOF
   13820 
   13821 
   13822   # The cast to long int works around a bug in the HP C Compiler
   13823 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13824 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13825 # This bug is HP SR number 8606223364.
   13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
   13827 $as_echo_n "checking size of short... " >&6; }
   13828 if ${ac_cv_sizeof_short+:} false; then :
   13829   $as_echo_n "(cached) " >&6
   13830 else
   13831   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
   13832 
   13833 else
   13834   if test "$ac_cv_type_short" = yes; then
   13835      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13837 as_fn_error 77 "cannot compute sizeof (short)
   13838 See \`config.log' for more details" "$LINENO" 5; }
   13839    else
   13840      ac_cv_sizeof_short=0
   13841    fi
   13842 fi
   13843 
   13844 fi
   13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
   13846 $as_echo "$ac_cv_sizeof_short" >&6; }
   13847 
   13848 
   13849 
   13850 cat >>confdefs.h <<_ACEOF
   13851 #define SIZEOF_SHORT $ac_cv_sizeof_short
   13852 _ACEOF
   13853 
   13854 
   13855   # The cast to long int works around a bug in the HP C Compiler
   13856 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13857 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13858 # This bug is HP SR number 8606223364.
   13859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
   13860 $as_echo_n "checking size of char... " >&6; }
   13861 if ${ac_cv_sizeof_char+:} false; then :
   13862   $as_echo_n "(cached) " >&6
   13863 else
   13864   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
   13865 
   13866 else
   13867   if test "$ac_cv_type_char" = yes; then
   13868      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13870 as_fn_error 77 "cannot compute sizeof (char)
   13871 See \`config.log' for more details" "$LINENO" 5; }
   13872    else
   13873      ac_cv_sizeof_char=0
   13874    fi
   13875 fi
   13876 
   13877 fi
   13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
   13879 $as_echo "$ac_cv_sizeof_char" >&6; }
   13880 
   13881 
   13882 
   13883 cat >>confdefs.h <<_ACEOF
   13884 #define SIZEOF_CHAR $ac_cv_sizeof_char
   13885 _ACEOF
   13886 
   13887 
   13888 
   13889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
   13890 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
   13891   case "$ac_cv_sizeof_char" in
   13892     1) acx_cv_type_int8_t=char ;;
   13893     *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
   13894   esac
   13895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
   13896 $as_echo "$acx_cv_type_int8_t" >&6; }
   13897 
   13898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
   13899 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
   13900   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
   13901     2:*) acx_cv_type_int16_t=int ;;
   13902     *:2) acx_cv_type_int16_t=short ;;
   13903     *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
   13904   esac
   13905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
   13906 $as_echo "$acx_cv_type_int16_t" >&6; }
   13907 
   13908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
   13909 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
   13910   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
   13911     4:*) acx_cv_type_int32_t=int ;;
   13912     *:4) acx_cv_type_int32_t=long ;;
   13913     *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
   13914   esac
   13915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
   13916 $as_echo "$acx_cv_type_int32_t" >&6; }
   13917 fi
   13918 
   13919 # These tests are here to make the output prettier
   13920 
   13921 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
   13922   case "$ac_cv_sizeof_long" in
   13923     8) acx_cv_type_int64_t=long ;;
   13924   esac
   13925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
   13926 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
   13927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
   13928 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
   13929 fi
   13930 
   13931 # Now we can use the above types
   13932 
   13933 if test "$ac_cv_type_uintptr_t" != yes; then
   13934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
   13935 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
   13936   case $ac_cv_sizeof_void_p in
   13937     2) acx_cv_type_intptr_t=int16_t ;;
   13938     4) acx_cv_type_intptr_t=int32_t ;;
   13939     8) acx_cv_type_intptr_t=int64_t ;;
   13940     *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
   13941   esac
   13942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
   13943 $as_echo "$acx_cv_type_intptr_t" >&6; }
   13944 fi
   13945 
   13946 # ----------------- done all checks, emit header -------------
   13947 ac_config_commands="$ac_config_commands bfd_stdint.h"
   13948 
   13949 
   13950 
   13951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
   13952 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
   13953 if ${ac_cv_header_time+:} false; then :
   13954   $as_echo_n "(cached) " >&6
   13955 else
   13956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13957 /* end confdefs.h.  */
   13958 #include <sys/types.h>
   13959 #include <sys/time.h>
   13960 #include <time.h>
   13961 
   13962 int
   13963 main ()
   13964 {
   13965 if ((struct tm *) 0)
   13966 return 0;
   13967   ;
   13968   return 0;
   13969 }
   13970 _ACEOF
   13971 if ac_fn_c_try_compile "$LINENO"; then :
   13972   ac_cv_header_time=yes
   13973 else
   13974   ac_cv_header_time=no
   13975 fi
   13976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13977 fi
   13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
   13979 $as_echo "$ac_cv_header_time" >&6; }
   13980 if test $ac_cv_header_time = yes; then
   13981 
   13982 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
   13983 
   13984 fi
   13985 
   13986 ac_header_dirent=no
   13987 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   13988   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
   13990 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
   13991 if eval \${$as_ac_Header+:} false; then :
   13992   $as_echo_n "(cached) " >&6
   13993 else
   13994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13995 /* end confdefs.h.  */
   13996 #include <sys/types.h>
   13997 #include <$ac_hdr>
   13998 
   13999 int
   14000 main ()
   14001 {
   14002 if ((DIR *) 0)
   14003 return 0;
   14004   ;
   14005   return 0;
   14006 }
   14007 _ACEOF
   14008 if ac_fn_c_try_compile "$LINENO"; then :
   14009   eval "$as_ac_Header=yes"
   14010 else
   14011   eval "$as_ac_Header=no"
   14012 fi
   14013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14014 fi
   14015 eval ac_res=\$$as_ac_Header
   14016 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   14017 $as_echo "$ac_res" >&6; }
   14018 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   14019   cat >>confdefs.h <<_ACEOF
   14020 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
   14021 _ACEOF
   14022 
   14023 ac_header_dirent=$ac_hdr; break
   14024 fi
   14025 
   14026 done
   14027 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   14028 if test $ac_header_dirent = dirent.h; then
   14029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   14030 $as_echo_n "checking for library containing opendir... " >&6; }
   14031 if ${ac_cv_search_opendir+:} false; then :
   14032   $as_echo_n "(cached) " >&6
   14033 else
   14034   ac_func_search_save_LIBS=$LIBS
   14035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14036 /* end confdefs.h.  */
   14037 
   14038 /* Override any GCC internal prototype to avoid an error.
   14039    Use char because int might match the return type of a GCC
   14040    builtin and then its argument prototype would still apply.  */
   14041 #ifdef __cplusplus
   14042 extern "C"
   14043 #endif
   14044 char opendir ();
   14045 int
   14046 main ()
   14047 {
   14048 return opendir ();
   14049   ;
   14050   return 0;
   14051 }
   14052 _ACEOF
   14053 for ac_lib in '' dir; do
   14054   if test -z "$ac_lib"; then
   14055     ac_res="none required"
   14056   else
   14057     ac_res=-l$ac_lib
   14058     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   14059   fi
   14060   if ac_fn_c_try_link "$LINENO"; then :
   14061   ac_cv_search_opendir=$ac_res
   14062 fi
   14063 rm -f core conftest.err conftest.$ac_objext \
   14064     conftest$ac_exeext
   14065   if ${ac_cv_search_opendir+:} false; then :
   14066   break
   14067 fi
   14068 done
   14069 if ${ac_cv_search_opendir+:} false; then :
   14070 
   14071 else
   14072   ac_cv_search_opendir=no
   14073 fi
   14074 rm conftest.$ac_ext
   14075 LIBS=$ac_func_search_save_LIBS
   14076 fi
   14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   14078 $as_echo "$ac_cv_search_opendir" >&6; }
   14079 ac_res=$ac_cv_search_opendir
   14080 if test "$ac_res" != no; then :
   14081   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   14082 
   14083 fi
   14084 
   14085 else
   14086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   14087 $as_echo_n "checking for library containing opendir... " >&6; }
   14088 if ${ac_cv_search_opendir+:} false; then :
   14089   $as_echo_n "(cached) " >&6
   14090 else
   14091   ac_func_search_save_LIBS=$LIBS
   14092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14093 /* end confdefs.h.  */
   14094 
   14095 /* Override any GCC internal prototype to avoid an error.
   14096    Use char because int might match the return type of a GCC
   14097    builtin and then its argument prototype would still apply.  */
   14098 #ifdef __cplusplus
   14099 extern "C"
   14100 #endif
   14101 char opendir ();
   14102 int
   14103 main ()
   14104 {
   14105 return opendir ();
   14106   ;
   14107   return 0;
   14108 }
   14109 _ACEOF
   14110 for ac_lib in '' x; do
   14111   if test -z "$ac_lib"; then
   14112     ac_res="none required"
   14113   else
   14114     ac_res=-l$ac_lib
   14115     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   14116   fi
   14117   if ac_fn_c_try_link "$LINENO"; then :
   14118   ac_cv_search_opendir=$ac_res
   14119 fi
   14120 rm -f core conftest.err conftest.$ac_objext \
   14121     conftest$ac_exeext
   14122   if ${ac_cv_search_opendir+:} false; then :
   14123   break
   14124 fi
   14125 done
   14126 if ${ac_cv_search_opendir+:} false; then :
   14127 
   14128 else
   14129   ac_cv_search_opendir=no
   14130 fi
   14131 rm conftest.$ac_ext
   14132 LIBS=$ac_func_search_save_LIBS
   14133 fi
   14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   14135 $as_echo "$ac_cv_search_opendir" >&6; }
   14136 ac_res=$ac_cv_search_opendir
   14137 if test "$ac_res" != no; then :
   14138   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   14139 
   14140 fi
   14141 
   14142 fi
   14143 
   14144 
   14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
   14146 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
   14147 if ${gcc_cv_header_string+:} false; then :
   14148   $as_echo_n "(cached) " >&6
   14149 else
   14150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14151 /* end confdefs.h.  */
   14152 #include <string.h>
   14153 #include <strings.h>
   14154 int
   14155 main ()
   14156 {
   14157 
   14158   ;
   14159   return 0;
   14160 }
   14161 _ACEOF
   14162 if ac_fn_c_try_compile "$LINENO"; then :
   14163   gcc_cv_header_string=yes
   14164 else
   14165   gcc_cv_header_string=no
   14166 fi
   14167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14168 fi
   14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
   14170 $as_echo "$gcc_cv_header_string" >&6; }
   14171 if test $gcc_cv_header_string = yes; then
   14172 
   14173 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
   14174 
   14175 fi
   14176 
   14177 for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid fileno fls
   14178 do :
   14179   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   14180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   14181 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   14182   cat >>confdefs.h <<_ACEOF
   14183 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   14184 _ACEOF
   14185 
   14186 fi
   14187 done
   14188 
   14189 for ac_func in strtoull getrlimit
   14190 do :
   14191   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   14192 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   14193 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   14194   cat >>confdefs.h <<_ACEOF
   14195 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   14196 _ACEOF
   14197 
   14198 fi
   14199 done
   14200 
   14201 
   14202 ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
   14203 if test "x$ac_cv_have_decl_basename" = xyes; then :
   14204   ac_have_decl=1
   14205 else
   14206   ac_have_decl=0
   14207 fi
   14208 
   14209 cat >>confdefs.h <<_ACEOF
   14210 #define HAVE_DECL_BASENAME $ac_have_decl
   14211 _ACEOF
   14212 
   14213 ac_fn_c_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default"
   14214 if test "x$ac_cv_have_decl_ftello" = xyes; then :
   14215   ac_have_decl=1
   14216 else
   14217   ac_have_decl=0
   14218 fi
   14219 
   14220 cat >>confdefs.h <<_ACEOF
   14221 #define HAVE_DECL_FTELLO $ac_have_decl
   14222 _ACEOF
   14223 
   14224 ac_fn_c_check_decl "$LINENO" "ftello64" "ac_cv_have_decl_ftello64" "$ac_includes_default"
   14225 if test "x$ac_cv_have_decl_ftello64" = xyes; then :
   14226   ac_have_decl=1
   14227 else
   14228   ac_have_decl=0
   14229 fi
   14230 
   14231 cat >>confdefs.h <<_ACEOF
   14232 #define HAVE_DECL_FTELLO64 $ac_have_decl
   14233 _ACEOF
   14234 
   14235 ac_fn_c_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "$ac_includes_default"
   14236 if test "x$ac_cv_have_decl_fseeko" = xyes; then :
   14237   ac_have_decl=1
   14238 else
   14239   ac_have_decl=0
   14240 fi
   14241 
   14242 cat >>confdefs.h <<_ACEOF
   14243 #define HAVE_DECL_FSEEKO $ac_have_decl
   14244 _ACEOF
   14245 
   14246 ac_fn_c_check_decl "$LINENO" "fseeko64" "ac_cv_have_decl_fseeko64" "$ac_includes_default"
   14247 if test "x$ac_cv_have_decl_fseeko64" = xyes; then :
   14248   ac_have_decl=1
   14249 else
   14250   ac_have_decl=0
   14251 fi
   14252 
   14253 cat >>confdefs.h <<_ACEOF
   14254 #define HAVE_DECL_FSEEKO64 $ac_have_decl
   14255 _ACEOF
   14256 
   14257 
   14258 
   14259 case "${host}" in
   14260 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
   14261 
   14262 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
   14263  ;;
   14264 esac
   14265 
   14266 ac_fn_c_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
   14267 if test "x$ac_cv_have_decl_ffs" = xyes; then :
   14268   ac_have_decl=1
   14269 else
   14270   ac_have_decl=0
   14271 fi
   14272 
   14273 cat >>confdefs.h <<_ACEOF
   14274 #define HAVE_DECL_FFS $ac_have_decl
   14275 _ACEOF
   14276 
   14277 ac_fn_c_check_decl "$LINENO" "free" "ac_cv_have_decl_free" "$ac_includes_default"
   14278 if test "x$ac_cv_have_decl_free" = xyes; then :
   14279   ac_have_decl=1
   14280 else
   14281   ac_have_decl=0
   14282 fi
   14283 
   14284 cat >>confdefs.h <<_ACEOF
   14285 #define HAVE_DECL_FREE $ac_have_decl
   14286 _ACEOF
   14287 
   14288 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
   14289 if test "x$ac_cv_have_decl_getenv" = xyes; then :
   14290   ac_have_decl=1
   14291 else
   14292   ac_have_decl=0
   14293 fi
   14294 
   14295 cat >>confdefs.h <<_ACEOF
   14296 #define HAVE_DECL_GETENV $ac_have_decl
   14297 _ACEOF
   14298 
   14299 ac_fn_c_check_decl "$LINENO" "malloc" "ac_cv_have_decl_malloc" "$ac_includes_default"
   14300 if test "x$ac_cv_have_decl_malloc" = xyes; then :
   14301   ac_have_decl=1
   14302 else
   14303   ac_have_decl=0
   14304 fi
   14305 
   14306 cat >>confdefs.h <<_ACEOF
   14307 #define HAVE_DECL_MALLOC $ac_have_decl
   14308 _ACEOF
   14309 
   14310 ac_fn_c_check_decl "$LINENO" "realloc" "ac_cv_have_decl_realloc" "$ac_includes_default"
   14311 if test "x$ac_cv_have_decl_realloc" = xyes; then :
   14312   ac_have_decl=1
   14313 else
   14314   ac_have_decl=0
   14315 fi
   14316 
   14317 cat >>confdefs.h <<_ACEOF
   14318 #define HAVE_DECL_REALLOC $ac_have_decl
   14319 _ACEOF
   14320 
   14321 ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
   14322 if test "x$ac_cv_have_decl_stpcpy" = xyes; then :
   14323   ac_have_decl=1
   14324 else
   14325   ac_have_decl=0
   14326 fi
   14327 
   14328 cat >>confdefs.h <<_ACEOF
   14329 #define HAVE_DECL_STPCPY $ac_have_decl
   14330 _ACEOF
   14331 
   14332 ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
   14333 if test "x$ac_cv_have_decl_strstr" = xyes; then :
   14334   ac_have_decl=1
   14335 else
   14336   ac_have_decl=0
   14337 fi
   14338 
   14339 cat >>confdefs.h <<_ACEOF
   14340 #define HAVE_DECL_STRSTR $ac_have_decl
   14341 _ACEOF
   14342 
   14343 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
   14344 if test "x$ac_cv_have_decl_asprintf" = xyes; then :
   14345   ac_have_decl=1
   14346 else
   14347   ac_have_decl=0
   14348 fi
   14349 
   14350 cat >>confdefs.h <<_ACEOF
   14351 #define HAVE_DECL_ASPRINTF $ac_have_decl
   14352 _ACEOF
   14353 
   14354 ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
   14355 if test "x$ac_cv_have_decl_vasprintf" = xyes; then :
   14356   ac_have_decl=1
   14357 else
   14358   ac_have_decl=0
   14359 fi
   14360 
   14361 cat >>confdefs.h <<_ACEOF
   14362 #define HAVE_DECL_VASPRINTF $ac_have_decl
   14363 _ACEOF
   14364 
   14365 ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
   14366 if test "x$ac_cv_have_decl_snprintf" = xyes; then :
   14367   ac_have_decl=1
   14368 else
   14369   ac_have_decl=0
   14370 fi
   14371 
   14372 cat >>confdefs.h <<_ACEOF
   14373 #define HAVE_DECL_SNPRINTF $ac_have_decl
   14374 _ACEOF
   14375 
   14376 ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
   14377 if test "x$ac_cv_have_decl_vsnprintf" = xyes; then :
   14378   ac_have_decl=1
   14379 else
   14380   ac_have_decl=0
   14381 fi
   14382 
   14383 cat >>confdefs.h <<_ACEOF
   14384 #define HAVE_DECL_VSNPRINTF $ac_have_decl
   14385 _ACEOF
   14386 
   14387 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
   14388 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
   14389   ac_have_decl=1
   14390 else
   14391   ac_have_decl=0
   14392 fi
   14393 
   14394 cat >>confdefs.h <<_ACEOF
   14395 #define HAVE_DECL_STRNLEN $ac_have_decl
   14396 _ACEOF
   14397 
   14398 
   14399 # Link in zlib if we can.  This allows us to read compressed debug sections.
   14400 # This is used only by compress.c.
   14401 
   14402   # Use the system's zlib library.
   14403   zlibdir="-L\$(top_builddir)/../zlib"
   14404   zlibinc="-I\$(top_srcdir)/../zlib"
   14405 
   14406 # Check whether --with-system-zlib was given.
   14407 if test "${with_system_zlib+set}" = set; then :
   14408   withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
   14409     zlibdir=
   14410     zlibinc=
   14411   fi
   14412 
   14413 fi
   14414 
   14415 
   14416 
   14417 
   14418 
   14419 save_CFLAGS="$CFLAGS"
   14420 CFLAGS="$CFLAGS -Werror"
   14421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler support for hidden visibility" >&5
   14422 $as_echo_n "checking compiler support for hidden visibility... " >&6; }
   14423 if ${bfd_cv_hidden+:} false; then :
   14424   $as_echo_n "(cached) " >&6
   14425 else
   14426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14427 /* end confdefs.h.  */
   14428 
   14429 const char hw[] __attribute__ ((__visibility__ ("hidden"))) = "Hello, World\n";
   14430 extern void print (const char *) __attribute__ ((__visibility__ ("hidden")));
   14431 int
   14432 main ()
   14433 {
   14434 print (hw);
   14435   ;
   14436   return 0;
   14437 }
   14438 _ACEOF
   14439 if ac_fn_c_try_compile "$LINENO"; then :
   14440   bfd_cv_hidden=yes
   14441 else
   14442   bfd_cv_hidden=no
   14443 fi
   14444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14445 fi
   14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_hidden" >&5
   14447 $as_echo "$bfd_cv_hidden" >&6; }
   14448 CFLAGS="$save_CFLAGS"
   14449 if test $bfd_cv_hidden = yes; then
   14450 
   14451 $as_echo "#define HAVE_HIDDEN 1" >>confdefs.h
   14452 
   14453 fi
   14454 
   14455 # Check if linker supports --as-needed and --no-as-needed options
   14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
   14457 $as_echo_n "checking linker --as-needed support... " >&6; }
   14458 if ${bfd_cv_ld_as_needed+:} false; then :
   14459   $as_echo_n "(cached) " >&6
   14460 else
   14461   bfd_cv_ld_as_needed=no
   14462 	if $LD --help 2>/dev/null | grep as-needed > /dev/null; then
   14463 		bfd_cv_ld_as_needed=yes
   14464 	fi
   14465 
   14466 fi
   14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
   14468 $as_echo "$bfd_cv_ld_as_needed" >&6; }
   14469 
   14470 LIBM=
   14471 case $host in
   14472 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
   14473   # These system don't have libm, or don't need it
   14474   ;;
   14475 *-ncr-sysv4.3*)
   14476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
   14477 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
   14478 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
   14479   $as_echo_n "(cached) " >&6
   14480 else
   14481   ac_check_lib_save_LIBS=$LIBS
   14482 LIBS="-lmw  $LIBS"
   14483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14484 /* end confdefs.h.  */
   14485 
   14486 /* Override any GCC internal prototype to avoid an error.
   14487    Use char because int might match the return type of a GCC
   14488    builtin and then its argument prototype would still apply.  */
   14489 #ifdef __cplusplus
   14490 extern "C"
   14491 #endif
   14492 char _mwvalidcheckl ();
   14493 int
   14494 main ()
   14495 {
   14496 return _mwvalidcheckl ();
   14497   ;
   14498   return 0;
   14499 }
   14500 _ACEOF
   14501 if ac_fn_c_try_link "$LINENO"; then :
   14502   ac_cv_lib_mw__mwvalidcheckl=yes
   14503 else
   14504   ac_cv_lib_mw__mwvalidcheckl=no
   14505 fi
   14506 rm -f core conftest.err conftest.$ac_objext \
   14507     conftest$ac_exeext conftest.$ac_ext
   14508 LIBS=$ac_check_lib_save_LIBS
   14509 fi
   14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
   14511 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
   14512 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
   14513   LIBM="-lmw"
   14514 fi
   14515 
   14516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
   14517 $as_echo_n "checking for cos in -lm... " >&6; }
   14518 if ${ac_cv_lib_m_cos+:} false; then :
   14519   $as_echo_n "(cached) " >&6
   14520 else
   14521   ac_check_lib_save_LIBS=$LIBS
   14522 LIBS="-lm  $LIBS"
   14523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14524 /* end confdefs.h.  */
   14525 
   14526 /* Override any GCC internal prototype to avoid an error.
   14527    Use char because int might match the return type of a GCC
   14528    builtin and then its argument prototype would still apply.  */
   14529 #ifdef __cplusplus
   14530 extern "C"
   14531 #endif
   14532 char cos ();
   14533 int
   14534 main ()
   14535 {
   14536 return cos ();
   14537   ;
   14538   return 0;
   14539 }
   14540 _ACEOF
   14541 if ac_fn_c_try_link "$LINENO"; then :
   14542   ac_cv_lib_m_cos=yes
   14543 else
   14544   ac_cv_lib_m_cos=no
   14545 fi
   14546 rm -f core conftest.err conftest.$ac_objext \
   14547     conftest$ac_exeext conftest.$ac_ext
   14548 LIBS=$ac_check_lib_save_LIBS
   14549 fi
   14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
   14551 $as_echo "$ac_cv_lib_m_cos" >&6; }
   14552 if test "x$ac_cv_lib_m_cos" = xyes; then :
   14553   LIBM="$LIBM -lm"
   14554 fi
   14555 
   14556   ;;
   14557 *)
   14558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
   14559 $as_echo_n "checking for cos in -lm... " >&6; }
   14560 if ${ac_cv_lib_m_cos+:} false; then :
   14561   $as_echo_n "(cached) " >&6
   14562 else
   14563   ac_check_lib_save_LIBS=$LIBS
   14564 LIBS="-lm  $LIBS"
   14565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14566 /* end confdefs.h.  */
   14567 
   14568 /* Override any GCC internal prototype to avoid an error.
   14569    Use char because int might match the return type of a GCC
   14570    builtin and then its argument prototype would still apply.  */
   14571 #ifdef __cplusplus
   14572 extern "C"
   14573 #endif
   14574 char cos ();
   14575 int
   14576 main ()
   14577 {
   14578 return cos ();
   14579   ;
   14580   return 0;
   14581 }
   14582 _ACEOF
   14583 if ac_fn_c_try_link "$LINENO"; then :
   14584   ac_cv_lib_m_cos=yes
   14585 else
   14586   ac_cv_lib_m_cos=no
   14587 fi
   14588 rm -f core conftest.err conftest.$ac_objext \
   14589     conftest$ac_exeext conftest.$ac_ext
   14590 LIBS=$ac_check_lib_save_LIBS
   14591 fi
   14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
   14593 $as_echo "$ac_cv_lib_m_cos" >&6; }
   14594 if test "x$ac_cv_lib_m_cos" = xyes; then :
   14595   LIBM="-lm"
   14596 fi
   14597 
   14598   ;;
   14599 esac
   14600 
   14601 
   14602 
   14603 # When building a shared libbfd, link against the pic version of libiberty
   14604 # so that apps that use libbfd won't need libiberty just to satisfy any
   14605 # libbfd references.
   14606 # We can't do that if a pic libiberty is unavailable since including non-pic
   14607 # code would insert text relocations into libbfd.
   14608 SHARED_LIBADD=
   14609 SHARED_LDFLAGS=
   14610 if test "$enable_shared" = "yes"; then
   14611   x=`sed -n -e 's/^[ 	]*PICFLAG[ 	]*=[ 	]*//p' < ../libiberty/Makefile | sed -n '$p'`
   14612   if test -n "$x"; then
   14613     SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
   14614   fi
   14615 
   14616   case "${host}" in
   14617   # More hacks to build DLLs on Windows.
   14618   *-*-cygwin*)
   14619     SHARED_LDFLAGS="-no-undefined"
   14620     SHARED_LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
   14621   ;;
   14622 
   14623   # Use built-in libintl on macOS, since it is not provided by libc.
   14624   *-*-darwin*)
   14625     SHARED_LIBADD="-L`pwd`/../libiberty/pic -L`pwd`/../intl -liberty -lintl"
   14626   ;;
   14627   esac
   14628 
   14629   if test -n "$SHARED_LIBADD"; then
   14630     if test -n "$LIBM"; then
   14631       if test x"$bfd_cv_ld_as_needed" = xyes; then
   14632 	# Link against libm only when needed.  Put -lc, -lm inside -Wl
   14633 	# to stop libtool reordering these options.
   14634 	SHARED_LIBADD="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
   14635       else
   14636 	SHARED_LIBADD="$SHARED_LIBADD $LIBM"
   14637       fi
   14638     fi
   14639   fi
   14640 fi
   14641 
   14642 
   14643 
   14644 # target stuff:
   14645 
   14646 # Canonicalize the secondary target names.
   14647 if test -n "$enable_targets" ; then
   14648     for targ in `echo $enable_targets | sed 's/,/ /g'`
   14649     do
   14650 	result=`$ac_config_sub $targ 2>/dev/null`
   14651 	if test -n "$result" ; then
   14652 	    canon_targets="$canon_targets $result"
   14653 	else
   14654 	    # Allow targets that config.sub doesn't recognize, like "all".
   14655 	    canon_targets="$canon_targets $targ"
   14656 	fi
   14657     done
   14658 fi
   14659 
   14660 all_targets=false
   14661 defvec=
   14662 selvecs=
   14663 assocvecs=
   14664 selarchs=
   14665 TDEFINES=
   14666 for targ in $target $canon_targets
   14667 do
   14668     if test $targ = all; then
   14669         all_targets=true
   14670 	assocvecs="$assocvecs $targ_defvec $targ_selvecs"
   14671     elif test $targ != plugin; then
   14672 	. $srcdir/config.bfd
   14673 	if test $targ = $target; then
   14674 	    defvec=$targ_defvec
   14675 	fi
   14676 	selvecs="$selvecs $targ_defvec $targ_selvecs"
   14677 	selarchs="$selarchs $targ_archs"
   14678 	TDEFINES="$TDEFINES $targ_cflags"
   14679     fi
   14680 done
   14681 
   14682 
   14683 # This processing still needs to be done if we're to decide properly whether
   14684 # 64-bit support needs to be compiled in.  Currently, it will be included if
   14685 # the default or any other explicitly requested target requires it; it
   14686 # will not be included on a 32-bit host if no 64-bit target is requested, and
   14687 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
   14688 # used.
   14689 
   14690 # uniq the default and selected vectors in all the configured targets.
   14691 f=""
   14692 for i in $selvecs ; do
   14693     case " $f " in
   14694     *" $i "*) ;;
   14695     *) f="$f $i" ;;
   14696     esac
   14697 done
   14698 selvecs="$f"
   14699 
   14700 
   14701 # uniq the associated vectors in all the configured targets.
   14702 f=""
   14703 for i in $assocvecs ; do
   14704     case " $f " in
   14705     *" $i "*) ;;
   14706     *) f="$f $i" ;;
   14707     esac
   14708 done
   14709 assocvecs="$f"
   14710 
   14711 
   14712 # uniq the architectures in all the configured targets.
   14713 f=""
   14714 for i in $selarchs ; do
   14715     case " $f " in
   14716     *" $i "*) ;;
   14717     *) f="$f $i" ;;
   14718     esac
   14719 done
   14720 selarchs="$f"
   14721 
   14722 # Target backend .o files.
   14723 tb=
   14724 
   14725 elf="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo
   14726      dwarf1.lo dwarf2.lo"
   14727 coffgen="coffgen.lo dwarf2.lo"
   14728 coff="cofflink.lo $coffgen"
   14729 ecoff="ecofflink.lo $coffgen"
   14730 xcoff="xcofflink.lo $coffgen"
   14731 
   14732 elfxx_x86="elfxx-x86.lo elf-ifunc.lo elf-vxworks.lo"
   14733 for vec in $selvecs
   14734 do
   14735     target_size=32
   14736     case "$vec" in
   14737     # This list is alphabetized to make it easy to compare
   14738     # with the two vector lists in targets.c.  For the same reason,
   14739     # use one entry per line, even though this leads to long lines.
   14740     aarch64_elf32_be_vec)	 tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
   14741     aarch64_elf32_le_vec)	 tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
   14742     aarch64_elf64_be_vec)	   tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   14743     aarch64_elf64_be_cloudabi_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   14744     aarch64_elf64_le_vec)	   tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   14745     aarch64_elf64_le_cloudabi_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   14746     aarch64_mach_o_vec)		 tb="$tb mach-o-aarch64.lo"; target_size=64 ;;
   14747     alpha_ecoff_le_vec)		 tb="$tb coff-alpha.lo ecoff.lo $ecoff"; target_size=64 ;;
   14748     alpha_elf64_vec)		 tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
   14749     alpha_elf64_fbsd_vec)	 tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
   14750     alpha_vms_vec)		 tb="$tb vms-alpha.lo vms-misc.lo vms-lib.lo"; target_size=64 ;;
   14751     alpha_vms_lib_txt_vec)	 tb="$tb vms-lib.lo vms-misc.lo" ;;
   14752     am33_elf32_linux_vec)	 tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
   14753     aout0_be_vec)		 tb="$tb aout0.lo aout32.lo" ;;
   14754     aout64_vec)			 tb="$tb demo64.lo aout64.lo"; target_size=64 ;;
   14755     aout_vec)			 tb="$tb host-aout.lo aout32.lo" ;;
   14756     arc_elf32_be_vec)		 tb="$tb elf32-arc.lo elf32.lo $elf" ;;
   14757     arc_elf32_le_vec)		 tb="$tb elf32-arc.lo elf32.lo $elf" ;;
   14758     arm_elf32_be_vec)		 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   14759     arm_elf32_le_vec)		 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   14760     arm_elf32_fdpic_be_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   14761     arm_elf32_fdpic_le_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   14762     arm_elf32_nacl_be_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   14763     arm_elf32_nacl_le_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   14764     arm_elf32_symbian_be_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   14765     arm_elf32_symbian_le_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   14766     arm_elf32_vxworks_be_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   14767     arm_elf32_vxworks_le_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   14768     arm_pe_be_vec)		 tb="$tb pe-arm.lo peigen.lo $coff" ;;
   14769     arm_pe_le_vec)		 tb="$tb pe-arm.lo peigen.lo $coff" ;;
   14770     arm_pe_wince_be_vec)	 tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo $coff" ;;
   14771     arm_pe_wince_le_vec)	 tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo $coff" ;;
   14772     arm_pei_be_vec)		 tb="$tb pei-arm.lo peigen.lo $coff" ;;
   14773     arm_pei_le_vec)		 tb="$tb pei-arm.lo peigen.lo $coff" ;;
   14774     arm_pei_wince_be_vec)	 tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo $coff" ;;
   14775     arm_pei_wince_le_vec)	 tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo $coff" ;;
   14776     arm_mach_o_vec)		 tb="$tb mach-o-arm.lo" ;;
   14777     avr_elf32_vec)		 tb="$tb elf32-avr.lo elf32.lo $elf" ;;
   14778     bfin_elf32_vec)		 tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
   14779     bfin_elf32_fdpic_vec)	 tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
   14780     cr16_elf32_vec)		 tb="$tb elf32-cr16.lo elf32.lo $elf" ;;
   14781     cris_aout_vec)		 tb="$tb aout-cris.lo" ;;
   14782     cris_elf32_vec)		 tb="$tb elf32-cris.lo elf32.lo $elf" ;;
   14783     cris_elf32_us_vec)		 tb="$tb elf32-cris.lo elf32.lo $elf" ;;
   14784     crx_elf32_vec)		 tb="$tb elf32-crx.lo elf32.lo $elf" ;;
   14785     csky_elf32_be_vec)		 tb="$tb elf32-csky.lo elf32.lo $elf" ;;
   14786     csky_elf32_le_vec)		 tb="$tb elf32-csky.lo elf32.lo $elf" ;;
   14787     d10v_elf32_vec)		 tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
   14788     d30v_elf32_vec)		 tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
   14789     dlx_elf32_be_vec)		 tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
   14790     elf32_be_vec)		 tb="$tb elf32-gen.lo elf32.lo $elf" ;;
   14791     elf32_le_vec)		 tb="$tb elf32-gen.lo elf32.lo $elf" ;;
   14792     elf64_be_vec)		 tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
   14793     elf64_le_vec)		 tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
   14794     bpf_elf64_le_vec)		 tb="$tb elf64-bpf.lo elf64.lo $elf"; target_size=64;;
   14795     bpf_elf64_be_vec)		 tb="$tb elf64-bpf.lo elf64.lo $elf"; target_size=64 ;;
   14796     epiphany_elf32_vec)		 tb="$tb elf32-epiphany.lo elf32.lo $elf" ;;
   14797     fr30_elf32_vec)		 tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
   14798     frv_elf32_vec)		 tb="$tb elf32-frv.lo elf32.lo $elf" ;;
   14799     frv_elf32_fdpic_vec)	 tb="$tb elf32-frv.lo elf32.lo $elf" ;;
   14800     h8300_elf32_vec)		 tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
   14801     h8300_elf32_linux_vec)	 tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
   14802     hppa_elf32_vec)		 tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
   14803     hppa_elf32_linux_vec)	 tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
   14804     hppa_elf32_nbsd_vec)	 tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
   14805     hppa_elf64_vec)		 tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
   14806     hppa_elf64_linux_vec)	 tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
   14807     hppa_som_vec)		 tb="$tb som.lo" ;;
   14808     i386_aout_vec)		 tb="$tb i386aout.lo aout32.lo" ;;
   14809     i386_aout_bsd_vec)		 tb="$tb i386bsd.lo aout32.lo" ;;
   14810     i386_aout_lynx_vec)		 tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
   14811     i386_coff_vec)		 tb="$tb coff-i386.lo $coff" ;;
   14812     i386_coff_go32_vec)		 tb="$tb coff-go32.lo $coff" ;;
   14813     i386_coff_go32stubbed_vec)	 tb="$tb coff-stgo32.lo $coff" ;;
   14814     i386_coff_lynx_vec)		 tb="$tb cf-i386lynx.lo lynx-core.lo $coff" ;;
   14815     i386_elf32_vec)		 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   14816     i386_elf32_fbsd_vec)	 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   14817     i386_elf32_sol2_vec)	 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   14818     i386_elf32_vxworks_vec)	 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   14819     i386_mach_o_vec)		 tb="$tb mach-o-i386.lo" ;;
   14820     i386_msdos_vec)		 tb="$tb i386msdos.lo" ;;
   14821     i386_pe_vec)		 tb="$tb pe-i386.lo peigen.lo $coff" ;;
   14822     i386_pe_big_vec)		 tb="$tb pe-i386.lo peigen.lo $coff" ;;
   14823     i386_pei_vec)		 tb="$tb pei-i386.lo peigen.lo $coff" ;;
   14824     iamcu_elf32_vec)		 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   14825     ia64_elf32_be_vec)		 tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
   14826     ia64_elf32_hpux_be_vec)	 tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
   14827     ia64_elf64_be_vec)		 tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
   14828     ia64_elf64_le_vec)		 tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
   14829     ia64_elf64_hpux_be_vec)	 tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
   14830     ia64_elf64_vms_vec)		 tb="$tb elf64-ia64-vms.lo elf64-ia64.lo elfxx-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;;
   14831     ia64_pei_vec)		 tb="$tb pei-ia64.lo pepigen.lo $coff"; target_size=64 ;;
   14832     ip2k_elf32_vec)		 tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
   14833     iq2000_elf32_vec)		 tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
   14834     k1om_elf64_vec)		 tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   14835     k1om_elf64_fbsd_vec)	 tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   14836     l1om_elf64_vec)		 tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   14837     l1om_elf64_fbsd_vec)	 tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   14838     lm32_elf32_vec)		 tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
   14839     lm32_elf32_fdpic_vec)	 tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
   14840     m32c_elf32_vec)		 tb="$tb elf32-m32c.lo elf32.lo $elf" ;;
   14841     m32r_elf32_vec)		 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   14842     m32r_elf32_le_vec)		 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   14843     m32r_elf32_linux_vec)	 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   14844     m32r_elf32_linux_le_vec)	 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   14845     m68hc11_elf32_vec)		 tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
   14846     m68hc12_elf32_vec)		 tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
   14847     m68k_elf32_vec)		 tb="$tb elf32-m68k.lo elf32.lo $elf" ;;
   14848     s12z_elf32_vec)		 tb="$tb elf32-s12z.lo elf32.lo $elf" ;;
   14849     mach_o_be_vec)		 tb="$tb mach-o.lo dwarf2.lo" ;;
   14850     mach_o_le_vec)		 tb="$tb mach-o.lo dwarf2.lo" ;;
   14851     mach_o_fat_vec)		 tb="$tb mach-o.lo dwarf2.lo" ;;
   14852     mcore_elf32_be_vec)		 tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
   14853     mcore_elf32_le_vec)		 tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
   14854     mcore_pe_be_vec)		 tb="$tb pe-mcore.lo peigen.lo $coff" ;;
   14855     mcore_pe_le_vec)		 tb="$tb pe-mcore.lo peigen.lo $coff" ;;
   14856     mcore_pei_be_vec)		 tb="$tb pei-mcore.lo peigen.lo $coff" ;;
   14857     mcore_pei_le_vec)		 tb="$tb pei-mcore.lo peigen.lo $coff" ;;
   14858     mep_elf32_vec)		 tb="$tb elf32-mep.lo elf32.lo $elf" ;;
   14859     mep_elf32_le_vec)		 tb="$tb elf32-mep.lo elf32.lo $elf" ;;
   14860     metag_elf32_vec)		 tb="$tb elf32-metag.lo elf32.lo $elf" ;;
   14861     microblaze_elf32_vec)	 tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
   14862     microblaze_elf32_le_vec)	 tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
   14863     mips_ecoff_be_vec)		 tb="$tb coff-mips.lo ecoff.lo $ecoff" ;;
   14864     mips_ecoff_le_vec)		 tb="$tb coff-mips.lo ecoff.lo $ecoff" ;;
   14865     mips_ecoff_bele_vec)	 tb="$tb coff-mips.lo ecoff.lo $ecoff" ;;
   14866     mips_elf32_be_vec)		 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   14867     mips_elf32_le_vec)		 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   14868     mips_elf32_n_be_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   14869     mips_elf32_n_le_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   14870     mips_elf32_ntrad_be_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   14871     mips_elf32_ntrad_le_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   14872     mips_elf32_ntradfbsd_be_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   14873     mips_elf32_ntradfbsd_le_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   14874     mips_elf32_trad_be_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   14875     mips_elf32_trad_le_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   14876     mips_elf32_tradfbsd_be_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   14877     mips_elf32_tradfbsd_le_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   14878     mips_elf32_vxworks_be_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   14879     mips_elf32_vxworks_le_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   14880     mips_elf64_be_vec)		 tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   14881     mips_elf64_le_vec)		 tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   14882     mips_elf64_trad_be_vec)	 tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   14883     mips_elf64_trad_le_vec)	 tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   14884     mips_elf64_tradfbsd_be_vec)  tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   14885     mips_elf64_tradfbsd_le_vec)  tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   14886     mmix_elf64_vec)		 tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
   14887     mmix_mmo_vec)			 tb="$tb mmo.lo" target_size=64 ;;
   14888     mn10200_elf32_vec)		 tb="$tb elf-m10200.lo elf32.lo $elf" ;;
   14889     mn10300_elf32_vec)		 tb="$tb elf-m10300.lo elf32.lo $elf" ;;
   14890     moxie_elf32_be_vec)		 tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
   14891     moxie_elf32_le_vec)		 tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
   14892     msp430_elf32_vec)		 tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
   14893     msp430_elf32_ti_vec)	 tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
   14894     mt_elf32_vec)		 tb="$tb elf32-mt.lo elf32.lo $elf" ;;
   14895     nds32_elf32_be_vec)		 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   14896     nds32_elf32_le_vec)		 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   14897     nds32_elf32_linux_be_vec)	 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   14898     nds32_elf32_linux_le_vec)	 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   14899     nfp_elf64_vec)		 tb="$tb elf64-nfp.lo elf64.lo $elf" ;;
   14900     nios2_elf32_be_vec)		 tb="$tb elf32-nios2.lo elf32.lo $elf" ;;
   14901     nios2_elf32_le_vec)		 tb="$tb elf32-nios2.lo elf32.lo $elf" ;;
   14902     ns32k_aout_pc532mach_vec)	 tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
   14903     ns32k_aout_pc532nbsd_vec)	 tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
   14904     or1k_elf32_vec)		 tb="$tb elf32-or1k.lo elf32.lo $elf" ;;
   14905     pdp11_aout_vec)		 tb="$tb pdp11.lo" ;;
   14906     pef_vec)			 tb="$tb pef.lo" ;;
   14907     pef_xlib_vec)		 tb="$tb pef.lo" ;;
   14908     pj_elf32_vec)		 tb="$tb elf32-pj.lo elf32.lo $elf" ;;
   14909     pj_elf32_le_vec)		 tb="$tb elf32-pj.lo elf32.lo $elf" ;;
   14910     powerpc_boot_vec)		 tb="$tb ppcboot.lo" ;;
   14911     powerpc_elf32_vec)		 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   14912     powerpc_elf32_le_vec)	 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   14913     powerpc_elf32_fbsd_vec)	 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   14914     powerpc_elf32_vxworks_vec)	 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   14915     powerpc_elf64_vec)		 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
   14916     powerpc_elf64_le_vec)	 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
   14917     powerpc_elf64_fbsd_vec)	 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
   14918     powerpc_xcoff_vec)		 tb="$tb coff-rs6000.lo $xcoff" ;;
   14919     pru_elf32_vec)		 tb="$tb elf32-pru.lo elf32.lo $elf" ;;
   14920     riscv_elf32_vec)		 tb="$tb elf32-riscv.lo elfxx-riscv.lo elf32.lo $elf" ;;
   14921     riscv_elf64_vec)		 tb="$tb elf64-riscv.lo elf64.lo elfxx-riscv.lo elf32.lo $elf"; target_size=64 ;;
   14922     rl78_elf32_vec)		 tb="$tb elf32-rl78.lo elf32.lo $elf" ;;
   14923     rs6000_xcoff64_vec)		 tb="$tb coff64-rs6000.lo aix5ppc-core.lo $xcoff"; target_size=64 ;;
   14924     rs6000_xcoff64_aix_vec)	 tb="$tb coff64-rs6000.lo aix5ppc-core.lo $xcoff"; target_size=64 ;;
   14925     rs6000_xcoff_vec)		 tb="$tb coff-rs6000.lo $xcoff" ;;
   14926     rx_elf32_be_vec)		 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   14927     rx_elf32_be_ns_vec)		 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   14928     rx_elf32_le_vec)		 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   14929     rx_elf32_linux_le_vec)	 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   14930     s390_elf32_vec)		 tb="$tb elf32-s390.lo elf32.lo $elf" ;;
   14931     s390_elf64_vec)		 tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;;
   14932     score_elf32_be_vec)		 tb="$tb elf32-score.lo elf32-score7.lo elf32.lo elf64.lo $elf"; want64=true; target_size=64 ;;
   14933     score_elf32_le_vec)		 tb="$tb elf32-score.lo elf32-score7.lo elf32.lo elf64.lo $elf"; want64=true; target_size=64 ;;
   14934     sh_coff_vec)		 tb="$tb coff-sh.lo $coff" ;;
   14935     sh_coff_le_vec)		 tb="$tb coff-sh.lo $coff" ;;
   14936     sh_coff_small_vec)		 tb="$tb coff-sh.lo $coff" ;;
   14937     sh_coff_small_le_vec)	 tb="$tb coff-sh.lo $coff" ;;
   14938     sh_elf32_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   14939     sh_elf32_le_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   14940     sh_elf32_fdpic_be_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   14941     sh_elf32_fdpic_le_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   14942     sh_elf32_linux_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   14943     sh_elf32_linux_be_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   14944     sh_elf32_nbsd_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   14945     sh_elf32_nbsd_le_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   14946     sh_elf32_vxworks_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   14947     sh_elf32_vxworks_le_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   14948     sh_pe_le_vec)		 tb="$tb pe-sh.lo coff-sh.lo peigen.lo $coff" ;;
   14949     sh_pei_le_vec)		 tb="$tb pei-sh.lo coff-sh.lo peigen.lo $coff" ;;
   14950     sparc_elf32_vec)		 tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
   14951     sparc_elf32_sol2_vec)	 tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
   14952     sparc_elf32_vxworks_vec)	 tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
   14953     sparc_elf64_vec)		 tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
   14954     sparc_elf64_fbsd_vec)	 tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
   14955     sparc_elf64_sol2_vec)	 tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
   14956     spu_elf32_vec)		 tb="$tb elf32-spu.lo elf32.lo $elf" ;;
   14957     sym_vec)			 tb="$tb xsym.lo" ;;
   14958     tic30_coff_vec)		 tb="$tb coff-tic30.lo $coffgen" ;;
   14959     tic4x_coff0_vec)		 tb="$tb coff-tic4x.lo $coffgen" ;;
   14960     tic4x_coff0_beh_vec)	 tb="$tb coff-tic4x.lo $coffgen" ;;
   14961     tic4x_coff1_vec)		 tb="$tb coff-tic4x.lo $coffgen" ;;
   14962     tic4x_coff1_beh_vec)	 tb="$tb coff-tic4x.lo $coffgen" ;;
   14963     tic4x_coff2_vec)		 tb="$tb coff-tic4x.lo $coffgen" ;;
   14964     tic4x_coff2_beh_vec)	 tb="$tb coff-tic4x.lo $coffgen" ;;
   14965     tic54x_coff0_vec)		 tb="$tb coff-tic54x.lo $coffgen" ;;
   14966     tic54x_coff0_beh_vec)	 tb="$tb coff-tic54x.lo $coffgen" ;;
   14967     tic54x_coff1_vec)		 tb="$tb coff-tic54x.lo $coffgen" ;;
   14968     tic54x_coff1_beh_vec)	 tb="$tb coff-tic54x.lo $coffgen" ;;
   14969     tic54x_coff2_vec)		 tb="$tb coff-tic54x.lo $coffgen" ;;
   14970     tic54x_coff2_beh_vec)	 tb="$tb coff-tic54x.lo $coffgen" ;;
   14971     tic6x_elf32_be_vec)		 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   14972     tic6x_elf32_le_vec)		 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   14973     tic6x_elf32_c6000_be_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   14974     tic6x_elf32_c6000_le_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   14975     tic6x_elf32_linux_be_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   14976     tic6x_elf32_linux_le_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   14977     tilegx_elf32_be_vec)	 tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
   14978     tilegx_elf32_le_vec)	 tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
   14979     tilegx_elf64_be_vec)	 tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
   14980     tilegx_elf64_le_vec)	 tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
   14981     tilepro_elf32_vec)		 tb="$tb elf32-tilepro.lo elf32.lo $elf" ;;
   14982     v800_elf32_vec)		 tb="$tb elf32-v850.lo elf32.lo $elf" ;;
   14983     v850_elf32_vec)		 tb="$tb elf32-v850.lo elf32.lo $elf" ;;
   14984     vax_aout_1knbsd_vec)	 tb="$tb vax1knetbsd.lo aout32.lo" ;;
   14985     vax_aout_nbsd_vec)		 tb="$tb vaxnetbsd.lo aout32.lo" ;;
   14986     vax_elf32_vec)		 tb="$tb elf32-vax.lo elf32.lo $elf" ;;
   14987     ft32_elf32_vec)		 tb="$tb elf32-ft32.lo elf32.lo $elf" ;;
   14988     visium_elf32_vec)		 tb="$tb elf32-visium.lo elf32.lo $elf" ;;
   14989     wasm_vec)                    tb="$tb wasm-module.lo" ;;
   14990     wasm32_elf32_vec)            tb="$tb elf32-wasm32.lo elf32.lo $elf" ;;
   14991     x86_64_coff_vec)		 tb="$tb coff-x86_64.lo $coff"; target_size=64 ;;
   14992     x86_64_elf32_vec)		 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo elf32.lo $elf"; target_size=64 ;;
   14993     x86_64_elf64_vec)		 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   14994     x86_64_elf64_cloudabi_vec)	 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   14995     x86_64_elf64_fbsd_vec)	 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   14996     x86_64_elf64_sol2_vec)	 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   14997     x86_64_mach_o_vec)		 tb="$tb mach-o-x86-64.lo" ;;
   14998     x86_64_pe_vec)		 tb="$tb pe-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
   14999     x86_64_pe_big_vec)		 tb="$tb pe-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
   15000     x86_64_pei_vec)		 tb="$tb pei-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
   15001     xc16x_elf32_vec)		 tb="$tb elf32-xc16x.lo elf32.lo $elf" ;;
   15002     xgate_elf32_vec)		 tb="$tb elf32-xgate.lo elf32.lo $elf" ;;
   15003     xstormy16_elf32_vec)	 tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
   15004     xtensa_elf32_be_vec)	 tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
   15005     xtensa_elf32_le_vec)	 tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
   15006     z80_coff_vec)		 tb="$tb coff-z80.lo reloc16.lo $coffgen" ;;
   15007     z80_elf32_vec)		 tb="$tb elf32-z80.lo elf32.lo $elf" ;;
   15008     z8k_coff_vec)		 tb="$tb coff-z8k.lo reloc16.lo $coff" ;;
   15009 
   15010     # These appear out of order in targets.c
   15011     srec_vec)			 tb="$tb srec.lo" ;;
   15012     symbolsrec_vec)		 tb="$tb srec.lo" ;;
   15013     tekhex_vec)			 tb="$tb tekhex.lo" ;;
   15014     core_cisco_be_vec)		 tb="$tb cisco-core.lo" ;;
   15015     core_cisco_le_vec)		 tb="$tb cisco-core.lo" ;;
   15016 
   15017     "")				 ;;
   15018     *) as_fn_error $? "*** unknown target vector $vec" "$LINENO" 5 ;;
   15019     esac
   15020 
   15021     if test ${target_size} = 64; then
   15022 	target64=true
   15023     fi
   15024     if test x"${vec}" = x"${defvec}"; then
   15025 	bfd_default_target_size=${target_size}
   15026     fi
   15027 done
   15028 
   15029 if test "$plugins" = "yes"; then
   15030      tb="$tb plugin.lo"
   15031 fi
   15032 
   15033 # Target architecture .o files.
   15034 # A couple of CPUs use shorter file names to avoid problems on DOS
   15035 # filesystems.
   15036 ta=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
   15037 
   15038 # Weed out duplicate .o files.
   15039 f=""
   15040 for i in $tb ; do
   15041     case " $f " in
   15042     *" $i "*) ;;
   15043     *) f="$f $i" ;;
   15044     esac
   15045 done
   15046 tb="$f"
   15047 
   15048 f=""
   15049 for i in $ta ; do
   15050     case " $f " in
   15051     *" $i "*) ;;
   15052     *) f="$f $i" ;;
   15053     esac
   15054 done
   15055 ta="$f"
   15056 
   15057 bfd_backends="$tb"
   15058 bfd_machines="$ta"
   15059 
   15060 if test x${all_targets} = xtrue ; then
   15061   bfd_backends="${bfd_backends}"' $(ALL_BACKENDS)'
   15062   bfd_machines="${bfd_machines}"' $(ALL_MACHINES)'
   15063   selvecs=
   15064   havevecs=-DHAVE_all_vecs
   15065   selarchs=
   15066   test -n "$assocvecs" &&
   15067     assocvecs=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
   15068 else	# all_targets is true
   15069   # Only set these if they will be nonempty, for the clever echo.
   15070   havevecs=
   15071   assocvecs=
   15072   test -n "$selvecs" &&
   15073     havevecs=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
   15074   test -n "$selvecs" &&
   15075     selvecs=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
   15076   test -n "$selarchs" &&
   15077     selarchs=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
   15078 fi	# all_targets is true
   15079 
   15080 # 64-bit archives need a 64-bit bfd_vma.
   15081 if test "x$want_64_bit_archive" = xtrue; then
   15082   want64=true
   15083 
   15084 $as_echo "#define USE_64_BIT_ARCHIVE 1" >>confdefs.h
   15085 
   15086 fi
   15087 
   15088 case ${host64}-${target64}-${want64} in
   15089   *true*)
   15090     wordsize=64
   15091     bfd64_libs='$(BFD64_LIBS)'
   15092     all_backends='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
   15093     if test $BFD_HOST_64_BIT_DEFINED = 0; then
   15094       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested a 64 bit BFD configuration, but" >&5
   15095 $as_echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
   15096       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your compiler may not have a 64 bit integral type" >&5
   15097 $as_echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
   15098     fi
   15099     if test -n "$GCC" ; then
   15100        bad_64bit_gcc=no;
   15101        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc version with buggy 64-bit support" >&5
   15102 $as_echo_n "checking for gcc version with buggy 64-bit support... " >&6; }
   15103        # Add more tests for gcc versions with non-working 64-bit support here.
   15104        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15105 /* end confdefs.h.  */
   15106 :__GNUC__:__GNUC_MINOR__:__i386__:
   15107 _ACEOF
   15108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   15109   $EGREP ": 2 : 91 : 1 :" >/dev/null 2>&1; then :
   15110   bad_64bit_gcc=yes;
   15111 		    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes: egcs-1.1.2 on ix86 spotted" >&5
   15112 $as_echo "yes: egcs-1.1.2 on ix86 spotted" >&6; }
   15113 else
   15114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15115 $as_echo "no" >&6; }
   15116 fi
   15117 rm -f conftest*
   15118 
   15119        if test $bad_64bit_gcc = yes ; then
   15120 	 as_fn_error $? "A newer version of gcc is needed for the requested 64-bit BFD configuration" "$LINENO" 5
   15121        fi
   15122     fi
   15123     ;;
   15124   false-false-false)
   15125     wordsize=32
   15126     all_backends='$(BFD32_BACKENDS)'
   15127     ;;
   15128 esac
   15129 
   15130 tdefaults=""
   15131 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
   15132 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
   15133 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
   15134 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
   15135 
   15136 
   15137 
   15138 
   15139 
   15140 
   15141 
   15142 
   15143 
   15144 
   15145 # If we are configured native, pick a core file support file.
   15146 COREFILE=
   15147 COREFLAG=
   15148 CORE_HEADER=
   15149 TRAD_HEADER=
   15150 if test "${target}" = "${host}"; then
   15151   case "${host}" in
   15152   alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu | alpha*-*-*vms*)
   15153 	COREFILE=''
   15154 	;;
   15155   alpha*-*-linux-*)
   15156 	COREFILE=trad-core.lo
   15157 	TRAD_HEADER='"hosts/alphalinux.h"'
   15158 	;;
   15159   alpha*-*-netbsd* | alpha*-*-openbsd*)
   15160 	COREFILE=netbsd-core.lo
   15161 	;;
   15162   alpha*-*-*)
   15163         COREFILE=osf-core.lo
   15164 	;;
   15165   arm-*-freebsd* | arm-*-kfreebsd*-gnu)
   15166 	COREFILE='' ;;
   15167   arm*-*-netbsd* | arm-*-openbsd*)
   15168 	COREFILE=netbsd-core.lo
   15169 	;;
   15170   arm-*-riscix)		COREFILE=trad-core.lo ;;
   15171   hppa*-*-hpux*)	COREFILE=hpux-core.lo ;;
   15172   hppa*-*-hiux*)	COREFILE=hpux-core.lo ;;
   15173   hppa*-*-mpeix*)	COREFILE=hpux-core.lo ;;
   15174   hppa*-*-bsd*)		COREFILE="hpux-core.lo hppabsd-core.lo"
   15175 			COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;;
   15176   hppa*-*-netbsd* | hppa*-*-openbsd*)
   15177 	COREFILE=netbsd-core.lo
   15178 	;;
   15179 
   15180   i[3-7]86-sequent-bsd*)
   15181 	COREFILE=trad-core.lo
   15182 	TRAD_HEADER='"hosts/symmetry.h"'
   15183 	;;
   15184   i[3-7]86-sequent-sysv4*) ;;
   15185   i[3-7]86-sequent-sysv*)
   15186 	COREFILE=trad-core.lo
   15187 	TRAD_HEADER='"hosts/symmetry.h"'
   15188 	;;
   15189   i[3-7]86-*-bsdi)
   15190 	COREFILE=
   15191 	;;
   15192   i[3-7]86-*-bsd* | i[3-7]86-*-freebsd[123] | i[3-7]86-*-freebsd[123]\.* | i[3-7]86-*-freebsd4\.[01234] | i[3-7]86-*-freebsd4\.[01234]\.* | i[3-7]86-*-freebsd*aout*)
   15193 	COREFILE=trad-core.lo
   15194 	TRAD_HEADER='"hosts/i386bsd.h"'
   15195 	;;
   15196   i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu | i[3-7]86-*-dragonfly*)
   15197 	COREFILE=''
   15198 	TRAD_HEADER='"hosts/i386bsd.h"'
   15199 	;;
   15200   i[3-7]86-*-netbsd* | i[3-7]86-*-knetbsd*-gnu | i[3-7]86-*-openbsd*)
   15201 	COREFILE=netbsd-core.lo
   15202 	;;
   15203   i[3-7]86-esix-sysv3*)
   15204 	COREFILE=trad-core.lo
   15205 	TRAD_HEADER='"hosts/esix.h"'
   15206 	;;
   15207   i[3-7]86-*-sco3.2v5*)
   15208 	COREFILE=sco5-core.lo
   15209 	;;
   15210   i[3-7]86-*-sco* | i[3-7]86-*-isc*)
   15211 	COREFILE=trad-core.lo
   15212 	TRAD_HEADER='"hosts/i386sco.h"'
   15213 	;;
   15214   i[3-7]86-*-mach3*)
   15215 	COREFILE=trad-core.lo
   15216 	TRAD_HEADER='"hosts/i386mach3.h"'
   15217 	;;
   15218   i[3-7]86-*-linux-*)
   15219 	COREFILE=trad-core.lo
   15220 	TRAD_HEADER='"hosts/i386linux.h"'
   15221 	case "$enable_targets"-"$want64" in
   15222 	*x86_64-*linux*|*-true)
   15223 	  CORE_HEADER='"hosts/x86-64linux.h"'
   15224 	esac
   15225 	;;
   15226   i[3-7]86-*-isc*)	COREFILE=trad-core.lo ;;
   15227   i[3-7]86-*-aix*)	COREFILE=aix386-core.lo ;;
   15228   mips*-*-netbsd* | mips*-*-openbsd*)
   15229 	COREFILE=netbsd-core.lo
   15230 	;;
   15231   mips-sgi-irix4*)	COREFILE=irix-core.lo ;;
   15232   mips-sgi-irix5*)	COREFILE=irix-core.lo ;;
   15233   mips-sgi-irix6*)	COREFILE=irix-core.lo ;;
   15234   m68*-*-linux-*)
   15235 	COREFILE=trad-core.lo
   15236 	TRAD_HEADER='"hosts/m68klinux.h"'
   15237 	;;
   15238   m68*-*-netbsd*)
   15239 	COREFILE=netbsd-core.lo
   15240 	;;
   15241   ns32k-pc532-mach)
   15242 	COREFILE=trad-core.lo
   15243 	TRAD_HEADER='"hosts/pc532mach.h"'
   15244 	;;
   15245   ns32k-*-netbsd* | ns32k-*-openbsd*)
   15246 	COREFILE=netbsd-core.lo
   15247 	;;
   15248   rs6000-*-lynx*)
   15249 	COREFILE=lynx-core.lo
   15250 	;;
   15251   rs6000-*-aix[5-9].* | powerpc-*-aix[5-9].* | powerpc64-*-aix[5-9].*)
   15252         COREFILE=rs6000-core.lo
   15253 	COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
   15254 	;;
   15255   rs6000-*-aix4.[3-9]* | powerpc-*-aix4.[3-9]*)
   15256         COREFILE=rs6000-core.lo
   15257 	COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
   15258 	# Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
   15259 	# have c_impl as a member of struct core_dumpx
   15260 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for c_impl in struct core_dumpx" >&5
   15261 $as_echo_n "checking for c_impl in struct core_dumpx... " >&6; }
   15262 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15263 /* end confdefs.h.  */
   15264 #include <core.h>
   15265 int
   15266 main ()
   15267 {
   15268 struct core_dumpx c; c.c_impl = 0;
   15269   ;
   15270   return 0;
   15271 }
   15272 _ACEOF
   15273 if ac_fn_c_try_compile "$LINENO"; then :
   15274 
   15275 $as_echo "#define HAVE_ST_C_IMPL 1" >>confdefs.h
   15276 
   15277 	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15278 $as_echo "yes" >&6; }
   15279 else
   15280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15281 $as_echo "no" >&6; }
   15282 fi
   15283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15284 	;;
   15285   rs6000-*-aix4*)	COREFILE=rs6000-core.lo ;;
   15286   rs6000-*-*)		COREFILE=rs6000-core.lo ;;
   15287   powerpc64-*-aix*)	COREFILE=rs6000-core.lo ;;
   15288   powerpc-*-aix4*)	COREFILE=rs6000-core.lo ;;
   15289   powerpc-*-aix*)	COREFILE=rs6000-core.lo ;;
   15290   powerpc-*-beos*)	;;
   15291   powerpc-*-freebsd* | powerpc-*-kfreebsd*-gnu)
   15292 		        COREFILE='' ;;
   15293   powerpc-*-netbsd*)	COREFILE=netbsd-core.lo ;;
   15294   powerpc-*-*bsd*)	COREFILE=netbsd-core.lo ;;
   15295   s390*-*-*)            COREFILE=trad-core.lo ;;
   15296   sh*-*-netbsd* | sh*-*-openbsd*)
   15297 	COREFILE=netbsd-core.lo
   15298 	;;
   15299   sparc-*-netbsd* | sparc*-*-openbsd*)
   15300 	COREFILE=netbsd-core.lo
   15301 	;;
   15302   vax-*-netbsd* | vax-*-openbsd*)
   15303 	COREFILE=netbsd-core.lo
   15304 	;;
   15305   vax-*-ultrix2*)
   15306 	COREFILE=trad-core.lo
   15307 	TRAD_HEADER='"hosts/vaxult2.h"'
   15308 	;;
   15309   vax-*-ultrix*)
   15310 	COREFILE=trad-core.lo
   15311 	TRAD_HEADER='"hosts/vaxult2.h"'
   15312 	;;
   15313   vax-*-linux-*)
   15314 	COREFILE=trad-core.lo
   15315 	TRAD_HEADER='"hosts/vaxlinux.h"'
   15316 	;;
   15317   vax-*-*)
   15318 	COREFILE=trad-core.lo
   15319 	TRAD_HEADER='"hosts/vaxbsd.h"'
   15320 	;;
   15321   x86_64-*-linux*)
   15322 	CORE_HEADER='"hosts/x86-64linux.h"'
   15323 	;;
   15324   x86_64-*-netbsd* | x86_64-*-openbsd*)
   15325 	COREFILE=netbsd-core.lo
   15326 	;;
   15327   esac
   15328 
   15329   case "$COREFILE" in
   15330   aix386-core.lo)	COREFLAG=-DAIX386_CORE ;;
   15331   hppabsd-core.lo)	COREFLAG=-DHPPABSD_CORE ;;
   15332   hpux-core.lo)		COREFLAG=-DHPUX_CORE ;;
   15333   irix-core.lo)		COREFLAG=-DIRIX_CORE ;;
   15334   lynx-core.lo)		COREFLAG=-DLYNX_CORE ;;
   15335   netbsd-core.lo)	COREFLAG=-DNETBSD_CORE ;;
   15336   osf-core.lo)		COREFLAG=-DOSF_CORE ;;
   15337   ptrace-core.lo)	COREFLAG=-DPTRACE_CORE ;;
   15338   rs6000-core.lo)	COREFLAG="$COREFLAG -DAIX_CORE" ;;
   15339   sco5-core.lo)		COREFLAG="$COREFLAG -DSCO5_CORE" ;;
   15340   trad-core.lo)		COREFLAG="$COREFLAG -DTRAD_CORE" ;;
   15341   esac
   15342 
   15343   # ELF corefile support has several flavors, but all of
   15344   # them use something called <sys/procfs.h>
   15345 
   15346 $as_echo "#define _STRUCTURED_PROC 1" >>confdefs.h
   15347 
   15348  for ac_header in sys/procfs.h
   15349 do :
   15350   ac_fn_c_check_header_mongrel "$LINENO" "sys/procfs.h" "ac_cv_header_sys_procfs_h" "$ac_includes_default"
   15351 if test "x$ac_cv_header_sys_procfs_h" = xyes; then :
   15352   cat >>confdefs.h <<_ACEOF
   15353 #define HAVE_SYS_PROCFS_H 1
   15354 _ACEOF
   15355 
   15356 fi
   15357 
   15358 done
   15359 
   15360   if test "$ac_cv_header_sys_procfs_h" = yes; then
   15361 
   15362  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus_t in sys/procfs.h" >&5
   15363 $as_echo_n "checking for prstatus_t in sys/procfs.h... " >&6; }
   15364  if ${bfd_cv_have_sys_procfs_type_prstatus_t+:} false; then :
   15365   $as_echo_n "(cached) " >&6
   15366 else
   15367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15368 /* end confdefs.h.  */
   15369 
   15370 #define _SYSCALL32
   15371 #include <sys/procfs.h>
   15372 int
   15373 main ()
   15374 {
   15375 prstatus_t avar
   15376   ;
   15377   return 0;
   15378 }
   15379 _ACEOF
   15380 if ac_fn_c_try_compile "$LINENO"; then :
   15381   bfd_cv_have_sys_procfs_type_prstatus_t=yes
   15382 else
   15383   bfd_cv_have_sys_procfs_type_prstatus_t=no
   15384 
   15385 fi
   15386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15387 fi
   15388 
   15389  if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
   15390 
   15391 $as_echo "#define HAVE_PRSTATUS_T 1" >>confdefs.h
   15392 
   15393  fi
   15394  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
   15395 $as_echo "$bfd_cv_have_sys_procfs_type_prstatus_t" >&6; }
   15396 
   15397 
   15398  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus32_t in sys/procfs.h" >&5
   15399 $as_echo_n "checking for prstatus32_t in sys/procfs.h... " >&6; }
   15400  if ${bfd_cv_have_sys_procfs_type_prstatus32_t+:} false; then :
   15401   $as_echo_n "(cached) " >&6
   15402 else
   15403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15404 /* end confdefs.h.  */
   15405 
   15406 #define _SYSCALL32
   15407 #include <sys/procfs.h>
   15408 int
   15409 main ()
   15410 {
   15411 prstatus32_t avar
   15412   ;
   15413   return 0;
   15414 }
   15415 _ACEOF
   15416 if ac_fn_c_try_compile "$LINENO"; then :
   15417   bfd_cv_have_sys_procfs_type_prstatus32_t=yes
   15418 else
   15419   bfd_cv_have_sys_procfs_type_prstatus32_t=no
   15420 
   15421 fi
   15422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15423 fi
   15424 
   15425  if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
   15426 
   15427 $as_echo "#define HAVE_PRSTATUS32_T 1" >>confdefs.h
   15428 
   15429  fi
   15430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
   15431 $as_echo "$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6; }
   15432 
   15433 
   15434  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus_t.pr_who in sys/procfs.h" >&5
   15435 $as_echo_n "checking for prstatus_t.pr_who in sys/procfs.h... " >&6; }
   15436  if ${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+:} false; then :
   15437   $as_echo_n "(cached) " >&6
   15438 else
   15439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15440 /* end confdefs.h.  */
   15441 
   15442 #define _SYSCALL32
   15443 #include <sys/procfs.h>
   15444 int
   15445 main ()
   15446 {
   15447 prstatus_t avar; void* aref = (void*) &avar.pr_who
   15448   ;
   15449   return 0;
   15450 }
   15451 _ACEOF
   15452 if ac_fn_c_try_compile "$LINENO"; then :
   15453   bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
   15454 else
   15455   bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no
   15456 
   15457 fi
   15458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15459 fi
   15460 
   15461  if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
   15462 
   15463 $as_echo "#define HAVE_PRSTATUS_T_PR_WHO 1" >>confdefs.h
   15464 
   15465  fi
   15466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
   15467 $as_echo "$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6; }
   15468 
   15469 
   15470  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
   15471 $as_echo_n "checking for prstatus32_t.pr_who in sys/procfs.h... " >&6; }
   15472  if ${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+:} false; then :
   15473   $as_echo_n "(cached) " >&6
   15474 else
   15475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15476 /* end confdefs.h.  */
   15477 
   15478 #define _SYSCALL32
   15479 #include <sys/procfs.h>
   15480 int
   15481 main ()
   15482 {
   15483 prstatus32_t avar; void* aref = (void*) &avar.pr_who
   15484   ;
   15485   return 0;
   15486 }
   15487 _ACEOF
   15488 if ac_fn_c_try_compile "$LINENO"; then :
   15489   bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
   15490 else
   15491   bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no
   15492 
   15493 fi
   15494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15495 fi
   15496 
   15497  if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
   15498 
   15499 $as_echo "#define HAVE_PRSTATUS32_T_PR_WHO 1" >>confdefs.h
   15500 
   15501  fi
   15502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
   15503 $as_echo "$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6; }
   15504 
   15505 
   15506  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pstatus_t in sys/procfs.h" >&5
   15507 $as_echo_n "checking for pstatus_t in sys/procfs.h... " >&6; }
   15508  if ${bfd_cv_have_sys_procfs_type_pstatus_t+:} false; then :
   15509   $as_echo_n "(cached) " >&6
   15510 else
   15511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15512 /* end confdefs.h.  */
   15513 
   15514 #define _SYSCALL32
   15515 #include <sys/procfs.h>
   15516 int
   15517 main ()
   15518 {
   15519 pstatus_t avar
   15520   ;
   15521   return 0;
   15522 }
   15523 _ACEOF
   15524 if ac_fn_c_try_compile "$LINENO"; then :
   15525   bfd_cv_have_sys_procfs_type_pstatus_t=yes
   15526 else
   15527   bfd_cv_have_sys_procfs_type_pstatus_t=no
   15528 
   15529 fi
   15530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15531 fi
   15532 
   15533  if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
   15534 
   15535 $as_echo "#define HAVE_PSTATUS_T 1" >>confdefs.h
   15536 
   15537  fi
   15538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
   15539 $as_echo "$bfd_cv_have_sys_procfs_type_pstatus_t" >&6; }
   15540 
   15541 
   15542  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pxstatus_t in sys/procfs.h" >&5
   15543 $as_echo_n "checking for pxstatus_t in sys/procfs.h... " >&6; }
   15544  if ${bfd_cv_have_sys_procfs_type_pxstatus_t+:} false; then :
   15545   $as_echo_n "(cached) " >&6
   15546 else
   15547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15548 /* end confdefs.h.  */
   15549 
   15550 #define _SYSCALL32
   15551 #include <sys/procfs.h>
   15552 int
   15553 main ()
   15554 {
   15555 pxstatus_t avar
   15556   ;
   15557   return 0;
   15558 }
   15559 _ACEOF
   15560 if ac_fn_c_try_compile "$LINENO"; then :
   15561   bfd_cv_have_sys_procfs_type_pxstatus_t=yes
   15562 else
   15563   bfd_cv_have_sys_procfs_type_pxstatus_t=no
   15564 
   15565 fi
   15566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15567 fi
   15568 
   15569  if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
   15570 
   15571 $as_echo "#define HAVE_PXSTATUS_T 1" >>confdefs.h
   15572 
   15573  fi
   15574  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
   15575 $as_echo "$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6; }
   15576 
   15577 
   15578  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pstatus32_t in sys/procfs.h" >&5
   15579 $as_echo_n "checking for pstatus32_t in sys/procfs.h... " >&6; }
   15580  if ${bfd_cv_have_sys_procfs_type_pstatus32_t+:} false; then :
   15581   $as_echo_n "(cached) " >&6
   15582 else
   15583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15584 /* end confdefs.h.  */
   15585 
   15586 #define _SYSCALL32
   15587 #include <sys/procfs.h>
   15588 int
   15589 main ()
   15590 {
   15591 pstatus32_t avar
   15592   ;
   15593   return 0;
   15594 }
   15595 _ACEOF
   15596 if ac_fn_c_try_compile "$LINENO"; then :
   15597   bfd_cv_have_sys_procfs_type_pstatus32_t=yes
   15598 else
   15599   bfd_cv_have_sys_procfs_type_pstatus32_t=no
   15600 
   15601 fi
   15602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15603 fi
   15604 
   15605  if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
   15606 
   15607 $as_echo "#define HAVE_PSTATUS32_T 1" >>confdefs.h
   15608 
   15609  fi
   15610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
   15611 $as_echo "$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6; }
   15612 
   15613 
   15614  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo_t in sys/procfs.h" >&5
   15615 $as_echo_n "checking for prpsinfo_t in sys/procfs.h... " >&6; }
   15616  if ${bfd_cv_have_sys_procfs_type_prpsinfo_t+:} false; then :
   15617   $as_echo_n "(cached) " >&6
   15618 else
   15619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15620 /* end confdefs.h.  */
   15621 
   15622 #define _SYSCALL32
   15623 #include <sys/procfs.h>
   15624 int
   15625 main ()
   15626 {
   15627 prpsinfo_t avar
   15628   ;
   15629   return 0;
   15630 }
   15631 _ACEOF
   15632 if ac_fn_c_try_compile "$LINENO"; then :
   15633   bfd_cv_have_sys_procfs_type_prpsinfo_t=yes
   15634 else
   15635   bfd_cv_have_sys_procfs_type_prpsinfo_t=no
   15636 
   15637 fi
   15638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15639 fi
   15640 
   15641  if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
   15642 
   15643 $as_echo "#define HAVE_PRPSINFO_T 1" >>confdefs.h
   15644 
   15645  fi
   15646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
   15647 $as_echo "$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6; }
   15648 
   15649 
   15650  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo_t.pr_pid in sys/procfs.h" >&5
   15651 $as_echo_n "checking for prpsinfo_t.pr_pid in sys/procfs.h... " >&6; }
   15652  if ${bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid+:} false; then :
   15653   $as_echo_n "(cached) " >&6
   15654 else
   15655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15656 /* end confdefs.h.  */
   15657 
   15658 #define _SYSCALL32
   15659 #include <sys/procfs.h>
   15660 int
   15661 main ()
   15662 {
   15663 prpsinfo_t avar; void* aref = (void*) &avar.pr_pid
   15664   ;
   15665   return 0;
   15666 }
   15667 _ACEOF
   15668 if ac_fn_c_try_compile "$LINENO"; then :
   15669   bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid=yes
   15670 else
   15671   bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid=no
   15672 
   15673 fi
   15674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15675 fi
   15676 
   15677  if test $bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid = yes; then
   15678 
   15679 $as_echo "#define HAVE_PRPSINFO_T_PR_PID 1" >>confdefs.h
   15680 
   15681  fi
   15682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid" >&5
   15683 $as_echo "$bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid" >&6; }
   15684 
   15685 
   15686  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo32_t in sys/procfs.h" >&5
   15687 $as_echo_n "checking for prpsinfo32_t in sys/procfs.h... " >&6; }
   15688  if ${bfd_cv_have_sys_procfs_type_prpsinfo32_t+:} false; then :
   15689   $as_echo_n "(cached) " >&6
   15690 else
   15691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15692 /* end confdefs.h.  */
   15693 
   15694 #define _SYSCALL32
   15695 #include <sys/procfs.h>
   15696 int
   15697 main ()
   15698 {
   15699 prpsinfo32_t avar
   15700   ;
   15701   return 0;
   15702 }
   15703 _ACEOF
   15704 if ac_fn_c_try_compile "$LINENO"; then :
   15705   bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes
   15706 else
   15707   bfd_cv_have_sys_procfs_type_prpsinfo32_t=no
   15708 
   15709 fi
   15710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15711 fi
   15712 
   15713  if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
   15714 
   15715 $as_echo "#define HAVE_PRPSINFO32_T 1" >>confdefs.h
   15716 
   15717  fi
   15718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
   15719 $as_echo "$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6; }
   15720 
   15721 
   15722  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo32_t.pr_pid in sys/procfs.h" >&5
   15723 $as_echo_n "checking for prpsinfo32_t.pr_pid in sys/procfs.h... " >&6; }
   15724  if ${bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid+:} false; then :
   15725   $as_echo_n "(cached) " >&6
   15726 else
   15727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15728 /* end confdefs.h.  */
   15729 
   15730 #define _SYSCALL32
   15731 #include <sys/procfs.h>
   15732 int
   15733 main ()
   15734 {
   15735 prpsinfo32_t avar; void* aref = (void*) &avar.pr_pid
   15736   ;
   15737   return 0;
   15738 }
   15739 _ACEOF
   15740 if ac_fn_c_try_compile "$LINENO"; then :
   15741   bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid=yes
   15742 else
   15743   bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid=no
   15744 
   15745 fi
   15746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15747 fi
   15748 
   15749  if test $bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid = yes; then
   15750 
   15751 $as_echo "#define HAVE_PRPSINFO32_T_PR_PID 1" >>confdefs.h
   15752 
   15753  fi
   15754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid" >&5
   15755 $as_echo "$bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid" >&6; }
   15756 
   15757 
   15758  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo_t in sys/procfs.h" >&5
   15759 $as_echo_n "checking for psinfo_t in sys/procfs.h... " >&6; }
   15760  if ${bfd_cv_have_sys_procfs_type_psinfo_t+:} false; then :
   15761   $as_echo_n "(cached) " >&6
   15762 else
   15763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15764 /* end confdefs.h.  */
   15765 
   15766 #define _SYSCALL32
   15767 #include <sys/procfs.h>
   15768 int
   15769 main ()
   15770 {
   15771 psinfo_t avar
   15772   ;
   15773   return 0;
   15774 }
   15775 _ACEOF
   15776 if ac_fn_c_try_compile "$LINENO"; then :
   15777   bfd_cv_have_sys_procfs_type_psinfo_t=yes
   15778 else
   15779   bfd_cv_have_sys_procfs_type_psinfo_t=no
   15780 
   15781 fi
   15782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15783 fi
   15784 
   15785  if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
   15786 
   15787 $as_echo "#define HAVE_PSINFO_T 1" >>confdefs.h
   15788 
   15789  fi
   15790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
   15791 $as_echo "$bfd_cv_have_sys_procfs_type_psinfo_t" >&6; }
   15792 
   15793 
   15794  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo_t.pr_pid in sys/procfs.h" >&5
   15795 $as_echo_n "checking for psinfo_t.pr_pid in sys/procfs.h... " >&6; }
   15796  if ${bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid+:} false; then :
   15797   $as_echo_n "(cached) " >&6
   15798 else
   15799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15800 /* end confdefs.h.  */
   15801 
   15802 #define _SYSCALL32
   15803 #include <sys/procfs.h>
   15804 int
   15805 main ()
   15806 {
   15807 psinfo_t avar; void* aref = (void*) &avar.pr_pid
   15808   ;
   15809   return 0;
   15810 }
   15811 _ACEOF
   15812 if ac_fn_c_try_compile "$LINENO"; then :
   15813   bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid=yes
   15814 else
   15815   bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid=no
   15816 
   15817 fi
   15818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15819 fi
   15820 
   15821  if test $bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid = yes; then
   15822 
   15823 $as_echo "#define HAVE_PSINFO_T_PR_PID 1" >>confdefs.h
   15824 
   15825  fi
   15826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid" >&5
   15827 $as_echo "$bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid" >&6; }
   15828 
   15829 
   15830  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo32_t in sys/procfs.h" >&5
   15831 $as_echo_n "checking for psinfo32_t in sys/procfs.h... " >&6; }
   15832  if ${bfd_cv_have_sys_procfs_type_psinfo32_t+:} false; then :
   15833   $as_echo_n "(cached) " >&6
   15834 else
   15835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15836 /* end confdefs.h.  */
   15837 
   15838 #define _SYSCALL32
   15839 #include <sys/procfs.h>
   15840 int
   15841 main ()
   15842 {
   15843 psinfo32_t avar
   15844   ;
   15845   return 0;
   15846 }
   15847 _ACEOF
   15848 if ac_fn_c_try_compile "$LINENO"; then :
   15849   bfd_cv_have_sys_procfs_type_psinfo32_t=yes
   15850 else
   15851   bfd_cv_have_sys_procfs_type_psinfo32_t=no
   15852 
   15853 fi
   15854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15855 fi
   15856 
   15857  if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
   15858 
   15859 $as_echo "#define HAVE_PSINFO32_T 1" >>confdefs.h
   15860 
   15861  fi
   15862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
   15863 $as_echo "$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6; }
   15864 
   15865 
   15866  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo32_t.pr_pid in sys/procfs.h" >&5
   15867 $as_echo_n "checking for psinfo32_t.pr_pid in sys/procfs.h... " >&6; }
   15868  if ${bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid+:} false; then :
   15869   $as_echo_n "(cached) " >&6
   15870 else
   15871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15872 /* end confdefs.h.  */
   15873 
   15874 #define _SYSCALL32
   15875 #include <sys/procfs.h>
   15876 int
   15877 main ()
   15878 {
   15879 psinfo32_t avar; void* aref = (void*) &avar.pr_pid
   15880   ;
   15881   return 0;
   15882 }
   15883 _ACEOF
   15884 if ac_fn_c_try_compile "$LINENO"; then :
   15885   bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid=yes
   15886 else
   15887   bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid=no
   15888 
   15889 fi
   15890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15891 fi
   15892 
   15893  if test $bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid = yes; then
   15894 
   15895 $as_echo "#define HAVE_PSINFO32_T_PR_PID 1" >>confdefs.h
   15896 
   15897  fi
   15898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid" >&5
   15899 $as_echo "$bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid" >&6; }
   15900 
   15901 
   15902  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t in sys/procfs.h" >&5
   15903 $as_echo_n "checking for lwpstatus_t in sys/procfs.h... " >&6; }
   15904  if ${bfd_cv_have_sys_procfs_type_lwpstatus_t+:} false; then :
   15905   $as_echo_n "(cached) " >&6
   15906 else
   15907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15908 /* end confdefs.h.  */
   15909 
   15910 #define _SYSCALL32
   15911 #include <sys/procfs.h>
   15912 int
   15913 main ()
   15914 {
   15915 lwpstatus_t avar
   15916   ;
   15917   return 0;
   15918 }
   15919 _ACEOF
   15920 if ac_fn_c_try_compile "$LINENO"; then :
   15921   bfd_cv_have_sys_procfs_type_lwpstatus_t=yes
   15922 else
   15923   bfd_cv_have_sys_procfs_type_lwpstatus_t=no
   15924 
   15925 fi
   15926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15927 fi
   15928 
   15929  if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
   15930 
   15931 $as_echo "#define HAVE_LWPSTATUS_T 1" >>confdefs.h
   15932 
   15933  fi
   15934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
   15935 $as_echo "$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6; }
   15936 
   15937 
   15938  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpxstatus_t in sys/procfs.h" >&5
   15939 $as_echo_n "checking for lwpxstatus_t in sys/procfs.h... " >&6; }
   15940  if ${bfd_cv_have_sys_procfs_type_lwpxstatus_t+:} false; then :
   15941   $as_echo_n "(cached) " >&6
   15942 else
   15943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15944 /* end confdefs.h.  */
   15945 
   15946 #define _SYSCALL32
   15947 #include <sys/procfs.h>
   15948 int
   15949 main ()
   15950 {
   15951 lwpxstatus_t avar
   15952   ;
   15953   return 0;
   15954 }
   15955 _ACEOF
   15956 if ac_fn_c_try_compile "$LINENO"; then :
   15957   bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes
   15958 else
   15959   bfd_cv_have_sys_procfs_type_lwpxstatus_t=no
   15960 
   15961 fi
   15962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15963 fi
   15964 
   15965  if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
   15966 
   15967 $as_echo "#define HAVE_LWPXSTATUS_T 1" >>confdefs.h
   15968 
   15969  fi
   15970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
   15971 $as_echo "$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6; }
   15972 
   15973 
   15974  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
   15975 $as_echo_n "checking for lwpstatus_t.pr_context in sys/procfs.h... " >&6; }
   15976  if ${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+:} false; then :
   15977   $as_echo_n "(cached) " >&6
   15978 else
   15979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15980 /* end confdefs.h.  */
   15981 
   15982 #define _SYSCALL32
   15983 #include <sys/procfs.h>
   15984 int
   15985 main ()
   15986 {
   15987 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
   15988   ;
   15989   return 0;
   15990 }
   15991 _ACEOF
   15992 if ac_fn_c_try_compile "$LINENO"; then :
   15993   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes
   15994 else
   15995   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no
   15996 
   15997 fi
   15998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15999 fi
   16000 
   16001  if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
   16002 
   16003 $as_echo "#define HAVE_LWPSTATUS_T_PR_CONTEXT 1" >>confdefs.h
   16004 
   16005  fi
   16006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
   16007 $as_echo "$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6; }
   16008 
   16009 
   16010  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
   16011 $as_echo_n "checking for lwpstatus_t.pr_reg in sys/procfs.h... " >&6; }
   16012  if ${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+:} false; then :
   16013   $as_echo_n "(cached) " >&6
   16014 else
   16015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16016 /* end confdefs.h.  */
   16017 
   16018 #define _SYSCALL32
   16019 #include <sys/procfs.h>
   16020 int
   16021 main ()
   16022 {
   16023 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
   16024   ;
   16025   return 0;
   16026 }
   16027 _ACEOF
   16028 if ac_fn_c_try_compile "$LINENO"; then :
   16029   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes
   16030 else
   16031   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no
   16032 
   16033 fi
   16034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16035 fi
   16036 
   16037  if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
   16038 
   16039 $as_echo "#define HAVE_LWPSTATUS_T_PR_REG 1" >>confdefs.h
   16040 
   16041  fi
   16042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
   16043 $as_echo "$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6; }
   16044 
   16045 
   16046  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t.pr_fpreg in sys/procfs.h" >&5
   16047 $as_echo_n "checking for lwpstatus_t.pr_fpreg in sys/procfs.h... " >&6; }
   16048  if ${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg+:} false; then :
   16049   $as_echo_n "(cached) " >&6
   16050 else
   16051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16052 /* end confdefs.h.  */
   16053 
   16054 #define _SYSCALL32
   16055 #include <sys/procfs.h>
   16056 int
   16057 main ()
   16058 {
   16059 lwpstatus_t avar; void* aref = (void*) &avar.pr_fpreg
   16060   ;
   16061   return 0;
   16062 }
   16063 _ACEOF
   16064 if ac_fn_c_try_compile "$LINENO"; then :
   16065   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg=yes
   16066 else
   16067   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg=no
   16068 
   16069 fi
   16070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16071 fi
   16072 
   16073  if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg = yes; then
   16074 
   16075 $as_echo "#define HAVE_LWPSTATUS_T_PR_FPREG 1" >>confdefs.h
   16076 
   16077  fi
   16078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg" >&5
   16079 $as_echo "$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg" >&6; }
   16080 
   16081 
   16082  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for win32_pstatus_t in sys/procfs.h" >&5
   16083 $as_echo_n "checking for win32_pstatus_t in sys/procfs.h... " >&6; }
   16084  if ${bfd_cv_have_sys_procfs_type_win32_pstatus_t+:} false; then :
   16085   $as_echo_n "(cached) " >&6
   16086 else
   16087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16088 /* end confdefs.h.  */
   16089 
   16090 #define _SYSCALL32
   16091 #include <sys/procfs.h>
   16092 int
   16093 main ()
   16094 {
   16095 win32_pstatus_t avar
   16096   ;
   16097   return 0;
   16098 }
   16099 _ACEOF
   16100 if ac_fn_c_try_compile "$LINENO"; then :
   16101   bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes
   16102 else
   16103   bfd_cv_have_sys_procfs_type_win32_pstatus_t=no
   16104 
   16105 fi
   16106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16107 fi
   16108 
   16109  if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
   16110 
   16111 $as_echo "#define HAVE_WIN32_PSTATUS_T 1" >>confdefs.h
   16112 
   16113  fi
   16114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
   16115 $as_echo "$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6; }
   16116 
   16117   fi
   16118 fi
   16119 
   16120 
   16121 if test -n "$CORE_HEADER"; then
   16122 
   16123 cat >>confdefs.h <<_ACEOF
   16124 #define CORE_HEADER $CORE_HEADER
   16125 _ACEOF
   16126 
   16127 fi
   16128 if test -n "$TRAD_HEADER"; then
   16129 
   16130 cat >>confdefs.h <<_ACEOF
   16131 #define TRAD_HEADER $TRAD_HEADER
   16132 _ACEOF
   16133 
   16134 fi
   16135 
   16136 if test "$plugins" = "yes"; then
   16137   supports_plugins=1
   16138 else
   16139   supports_plugins=0
   16140 fi
   16141 
   16142 
   16143 
   16144 # Determine the host dependent file_ptr a.k.a. off_t type.  In order
   16145 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
   16146 # fseeko, long.  This assumes that sizeof off_t is .ge. sizeof long.
   16147 # Hopefully a reasonable assumption since fseeko et.al. should be
   16148 # upward compatible.
   16149 for ac_func in ftello ftello64 fseeko fseeko64 fopen64
   16150 do :
   16151   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   16152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   16153 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   16154   cat >>confdefs.h <<_ACEOF
   16155 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   16156 _ACEOF
   16157 
   16158 fi
   16159 done
   16160 
   16161 if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then
   16162     # The cast to long int works around a bug in the HP C Compiler
   16163 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   16164 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   16165 # This bug is HP SR number 8606223364.
   16166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
   16167 $as_echo_n "checking size of off_t... " >&6; }
   16168 if ${ac_cv_sizeof_off_t+:} false; then :
   16169   $as_echo_n "(cached) " >&6
   16170 else
   16171   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
   16172 
   16173 else
   16174   if test "$ac_cv_type_off_t" = yes; then
   16175      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16177 as_fn_error 77 "cannot compute sizeof (off_t)
   16178 See \`config.log' for more details" "$LINENO" 5; }
   16179    else
   16180      ac_cv_sizeof_off_t=0
   16181    fi
   16182 fi
   16183 
   16184 fi
   16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
   16186 $as_echo "$ac_cv_sizeof_off_t" >&6; }
   16187 
   16188 
   16189 
   16190 cat >>confdefs.h <<_ACEOF
   16191 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
   16192 _ACEOF
   16193 
   16194 
   16195 fi
   16196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking file_ptr type" >&5
   16197 $as_echo_n "checking file_ptr type... " >&6; }
   16198 bfd_file_ptr="long"
   16199 bfd_ufile_ptr="unsigned long"
   16200 if test x"$ac_cv_func_ftello64" = xyes -a x"$ac_cv_func_fseeko64" = xyes \
   16201 	-o x"${ac_cv_sizeof_off_t}" = x8; then
   16202     bfd_file_ptr=BFD_HOST_64_BIT
   16203     bfd_ufile_ptr=BFD_HOST_U_64_BIT
   16204 fi
   16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_file_ptr" >&5
   16206 $as_echo "$bfd_file_ptr" >&6; }
   16207 
   16208 
   16209 
   16210 
   16211 
   16212 
   16213   for ac_header in $ac_header_list
   16214 do :
   16215   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   16216 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   16217 "
   16218 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   16219   cat >>confdefs.h <<_ACEOF
   16220 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   16221 _ACEOF
   16222 
   16223 fi
   16224 
   16225 done
   16226 
   16227 
   16228 
   16229 
   16230 
   16231 
   16232 
   16233 
   16234 for ac_func in getpagesize
   16235 do :
   16236   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   16237 if test "x$ac_cv_func_getpagesize" = xyes; then :
   16238   cat >>confdefs.h <<_ACEOF
   16239 #define HAVE_GETPAGESIZE 1
   16240 _ACEOF
   16241 
   16242 fi
   16243 done
   16244 
   16245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   16246 $as_echo_n "checking for working mmap... " >&6; }
   16247 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
   16248   $as_echo_n "(cached) " >&6
   16249 else
   16250   if test "$cross_compiling" = yes; then :
   16251   ac_cv_func_mmap_fixed_mapped=no
   16252 else
   16253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16254 /* end confdefs.h.  */
   16255 $ac_includes_default
   16256 /* malloc might have been renamed as rpl_malloc. */
   16257 #undef malloc
   16258 
   16259 /* Thanks to Mike Haertel and Jim Avera for this test.
   16260    Here is a matrix of mmap possibilities:
   16261 	mmap private not fixed
   16262 	mmap private fixed at somewhere currently unmapped
   16263 	mmap private fixed at somewhere already mapped
   16264 	mmap shared not fixed
   16265 	mmap shared fixed at somewhere currently unmapped
   16266 	mmap shared fixed at somewhere already mapped
   16267    For private mappings, we should verify that changes cannot be read()
   16268    back from the file, nor mmap's back from the file at a different
   16269    address.  (There have been systems where private was not correctly
   16270    implemented like the infamous i386 svr4.0, and systems where the
   16271    VM page cache was not coherent with the file system buffer cache
   16272    like early versions of FreeBSD and possibly contemporary NetBSD.)
   16273    For shared mappings, we should conversely verify that changes get
   16274    propagated back to all the places they're supposed to be.
   16275 
   16276    Grep wants private fixed already mapped.
   16277    The main things grep needs to know about mmap are:
   16278    * does it exist and is it safe to write into the mmap'd area
   16279    * how to use it (BSD variants)  */
   16280 
   16281 #include <fcntl.h>
   16282 #include <sys/mman.h>
   16283 
   16284 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
   16285 char *malloc ();
   16286 #endif
   16287 
   16288 /* This mess was copied from the GNU getpagesize.h.  */
   16289 #ifndef HAVE_GETPAGESIZE
   16290 # ifdef _SC_PAGESIZE
   16291 #  define getpagesize() sysconf(_SC_PAGESIZE)
   16292 # else /* no _SC_PAGESIZE */
   16293 #  ifdef HAVE_SYS_PARAM_H
   16294 #   include <sys/param.h>
   16295 #   ifdef EXEC_PAGESIZE
   16296 #    define getpagesize() EXEC_PAGESIZE
   16297 #   else /* no EXEC_PAGESIZE */
   16298 #    ifdef NBPG
   16299 #     define getpagesize() NBPG * CLSIZE
   16300 #     ifndef CLSIZE
   16301 #      define CLSIZE 1
   16302 #     endif /* no CLSIZE */
   16303 #    else /* no NBPG */
   16304 #     ifdef NBPC
   16305 #      define getpagesize() NBPC
   16306 #     else /* no NBPC */
   16307 #      ifdef PAGESIZE
   16308 #       define getpagesize() PAGESIZE
   16309 #      endif /* PAGESIZE */
   16310 #     endif /* no NBPC */
   16311 #    endif /* no NBPG */
   16312 #   endif /* no EXEC_PAGESIZE */
   16313 #  else /* no HAVE_SYS_PARAM_H */
   16314 #   define getpagesize() 8192	/* punt totally */
   16315 #  endif /* no HAVE_SYS_PARAM_H */
   16316 # endif /* no _SC_PAGESIZE */
   16317 
   16318 #endif /* no HAVE_GETPAGESIZE */
   16319 
   16320 int
   16321 main ()
   16322 {
   16323   char *data, *data2, *data3;
   16324   const char *cdata2;
   16325   int i, pagesize;
   16326   int fd, fd2;
   16327 
   16328   pagesize = getpagesize ();
   16329 
   16330   /* First, make a file with some known garbage in it. */
   16331   data = (char *) malloc (pagesize);
   16332   if (!data)
   16333     return 1;
   16334   for (i = 0; i < pagesize; ++i)
   16335     *(data + i) = rand ();
   16336   umask (0);
   16337   fd = creat ("conftest.mmap", 0600);
   16338   if (fd < 0)
   16339     return 2;
   16340   if (write (fd, data, pagesize) != pagesize)
   16341     return 3;
   16342   close (fd);
   16343 
   16344   /* Next, check that the tail of a page is zero-filled.  File must have
   16345      non-zero length, otherwise we risk SIGBUS for entire page.  */
   16346   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   16347   if (fd2 < 0)
   16348     return 4;
   16349   cdata2 = "";
   16350   if (write (fd2, cdata2, 1) != 1)
   16351     return 5;
   16352   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   16353   if (data2 == MAP_FAILED)
   16354     return 6;
   16355   for (i = 0; i < pagesize; ++i)
   16356     if (*(data2 + i))
   16357       return 7;
   16358   close (fd2);
   16359   if (munmap (data2, pagesize))
   16360     return 8;
   16361 
   16362   /* Next, try to mmap the file at a fixed address which already has
   16363      something else allocated at it.  If we can, also make sure that
   16364      we see the same garbage.  */
   16365   fd = open ("conftest.mmap", O_RDWR);
   16366   if (fd < 0)
   16367     return 9;
   16368   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   16369 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   16370     return 10;
   16371   for (i = 0; i < pagesize; ++i)
   16372     if (*(data + i) != *(data2 + i))
   16373       return 11;
   16374 
   16375   /* Finally, make sure that changes to the mapped area do not
   16376      percolate back to the file as seen by read().  (This is a bug on
   16377      some variants of i386 svr4.0.)  */
   16378   for (i = 0; i < pagesize; ++i)
   16379     *(data2 + i) = *(data2 + i) + 1;
   16380   data3 = (char *) malloc (pagesize);
   16381   if (!data3)
   16382     return 12;
   16383   if (read (fd, data3, pagesize) != pagesize)
   16384     return 13;
   16385   for (i = 0; i < pagesize; ++i)
   16386     if (*(data + i) != *(data3 + i))
   16387       return 14;
   16388   close (fd);
   16389   return 0;
   16390 }
   16391 _ACEOF
   16392 if ac_fn_c_try_run "$LINENO"; then :
   16393   ac_cv_func_mmap_fixed_mapped=yes
   16394 else
   16395   ac_cv_func_mmap_fixed_mapped=no
   16396 fi
   16397 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   16398   conftest.$ac_objext conftest.beam conftest.$ac_ext
   16399 fi
   16400 
   16401 fi
   16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   16403 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
   16404 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   16405 
   16406 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
   16407 
   16408 fi
   16409 rm -f conftest.mmap conftest.txt
   16410 
   16411 for ac_func in madvise mprotect
   16412 do :
   16413   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   16414 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   16415 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   16416   cat >>confdefs.h <<_ACEOF
   16417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   16418 _ACEOF
   16419 
   16420 fi
   16421 done
   16422 
   16423 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
   16424   true+yes )
   16425 $as_echo "#define USE_MMAP 1" >>confdefs.h
   16426  ;;
   16427 esac
   16428 
   16429 rm -f doc/config.status
   16430 ac_config_files="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
   16431 
   16432 
   16433 ac_config_commands="$ac_config_commands default"
   16434 
   16435 
   16436 
   16437 
   16438 
   16439 
   16440 
   16441 cat >confcache <<\_ACEOF
   16442 # This file is a shell script that caches the results of configure
   16443 # tests run on this system so they can be shared between configure
   16444 # scripts and configure runs, see configure's option --config-cache.
   16445 # It is not useful on other systems.  If it contains results you don't
   16446 # want to keep, you may remove or edit it.
   16447 #
   16448 # config.status only pays attention to the cache file if you give it
   16449 # the --recheck option to rerun configure.
   16450 #
   16451 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   16452 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   16453 # following values.
   16454 
   16455 _ACEOF
   16456 
   16457 # The following way of writing the cache mishandles newlines in values,
   16458 # but we know of no workaround that is simple, portable, and efficient.
   16459 # So, we kill variables containing newlines.
   16460 # Ultrix sh set writes to stderr and can't be redirected directly,
   16461 # and sets the high bit in the cache file unless we assign to the vars.
   16462 (
   16463   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   16464     eval ac_val=\$$ac_var
   16465     case $ac_val in #(
   16466     *${as_nl}*)
   16467       case $ac_var in #(
   16468       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   16469 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   16470       esac
   16471       case $ac_var in #(
   16472       _ | IFS | as_nl) ;; #(
   16473       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   16474       *) { eval $ac_var=; unset $ac_var;} ;;
   16475       esac ;;
   16476     esac
   16477   done
   16478 
   16479   (set) 2>&1 |
   16480     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   16481     *${as_nl}ac_space=\ *)
   16482       # `set' does not quote correctly, so add quotes: double-quote
   16483       # substitution turns \\\\ into \\, and sed turns \\ into \.
   16484       sed -n \
   16485 	"s/'/'\\\\''/g;
   16486 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   16487       ;; #(
   16488     *)
   16489       # `set' quotes correctly as required by POSIX, so do not add quotes.
   16490       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   16491       ;;
   16492     esac |
   16493     sort
   16494 ) |
   16495   sed '
   16496      /^ac_cv_env_/b end
   16497      t clear
   16498      :clear
   16499      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   16500      t end
   16501      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   16502      :end' >>confcache
   16503 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   16504   if test -w "$cache_file"; then
   16505     if test "x$cache_file" != "x/dev/null"; then
   16506       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   16507 $as_echo "$as_me: updating cache $cache_file" >&6;}
   16508       if test ! -f "$cache_file" || test -h "$cache_file"; then
   16509 	cat confcache >"$cache_file"
   16510       else
   16511         case $cache_file in #(
   16512         */* | ?:*)
   16513 	  mv -f confcache "$cache_file"$$ &&
   16514 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   16515         *)
   16516 	  mv -f confcache "$cache_file" ;;
   16517 	esac
   16518       fi
   16519     fi
   16520   else
   16521     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   16522 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   16523   fi
   16524 fi
   16525 rm -f confcache
   16526 
   16527 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   16528 # Let make expand exec_prefix.
   16529 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   16530 
   16531 DEFS=-DHAVE_CONFIG_H
   16532 
   16533 ac_libobjs=
   16534 ac_ltlibobjs=
   16535 U=
   16536 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   16537   # 1. Remove the extension, and $U if already installed.
   16538   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   16539   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   16540   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   16541   #    will be set to the directory where LIBOBJS objects are built.
   16542   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   16543   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   16544 done
   16545 LIBOBJS=$ac_libobjs
   16546 
   16547 LTLIBOBJS=$ac_ltlibobjs
   16548 
   16549 
   16550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   16551 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   16552    if test -n "$am_sleep_pid"; then
   16553      # Hide warnings about reused PIDs.
   16554      wait $am_sleep_pid 2>/dev/null
   16555    fi
   16556    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   16557 $as_echo "done" >&6; }
   16558 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   16559   as_fn_error $? "conditional \"AMDEP\" was never defined.
   16560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16561 fi
   16562 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   16563   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   16564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16565 fi
   16566  if test -n "$EXEEXT"; then
   16567   am__EXEEXT_TRUE=
   16568   am__EXEEXT_FALSE='#'
   16569 else
   16570   am__EXEEXT_TRUE='#'
   16571   am__EXEEXT_FALSE=
   16572 fi
   16573 
   16574 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
   16575   as_fn_error $? "conditional \"PLUGINS\" was never defined.
   16576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16577 fi
   16578 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   16579   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   16580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16581 fi
   16582 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
   16583   as_fn_error $? "conditional \"GENINSRC_NEVER\" was never defined.
   16584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16585 fi
   16586 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
   16587   as_fn_error $? "conditional \"INSTALL_LIBBFD\" was never defined.
   16588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16589 fi
   16590 
   16591 : "${CONFIG_STATUS=./config.status}"
   16592 ac_write_fail=0
   16593 ac_clean_files_save=$ac_clean_files
   16594 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   16595 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   16596 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   16597 as_write_fail=0
   16598 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   16599 #! $SHELL
   16600 # Generated by $as_me.
   16601 # Run this file to recreate the current configuration.
   16602 # Compiler output produced by configure, useful for debugging
   16603 # configure, is in config.log if it exists.
   16604 
   16605 debug=false
   16606 ac_cs_recheck=false
   16607 ac_cs_silent=false
   16608 
   16609 SHELL=\${CONFIG_SHELL-$SHELL}
   16610 export SHELL
   16611 _ASEOF
   16612 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   16613 ## -------------------- ##
   16614 ## M4sh Initialization. ##
   16615 ## -------------------- ##
   16616 
   16617 # Be more Bourne compatible
   16618 DUALCASE=1; export DUALCASE # for MKS sh
   16619 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   16620   emulate sh
   16621   NULLCMD=:
   16622   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   16623   # is contrary to our usage.  Disable this feature.
   16624   alias -g '${1+"$@"}'='"$@"'
   16625   setopt NO_GLOB_SUBST
   16626 else
   16627   case `(set -o) 2>/dev/null` in #(
   16628   *posix*) :
   16629     set -o posix ;; #(
   16630   *) :
   16631      ;;
   16632 esac
   16633 fi
   16634 
   16635 
   16636 as_nl='
   16637 '
   16638 export as_nl
   16639 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   16640 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   16641 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   16642 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   16643 # Prefer a ksh shell builtin over an external printf program on Solaris,
   16644 # but without wasting forks for bash or zsh.
   16645 if test -z "$BASH_VERSION$ZSH_VERSION" \
   16646     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   16647   as_echo='print -r --'
   16648   as_echo_n='print -rn --'
   16649 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   16650   as_echo='printf %s\n'
   16651   as_echo_n='printf %s'
   16652 else
   16653   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   16654     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   16655     as_echo_n='/usr/ucb/echo -n'
   16656   else
   16657     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   16658     as_echo_n_body='eval
   16659       arg=$1;
   16660       case $arg in #(
   16661       *"$as_nl"*)
   16662 	expr "X$arg" : "X\\(.*\\)$as_nl";
   16663 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   16664       esac;
   16665       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   16666     '
   16667     export as_echo_n_body
   16668     as_echo_n='sh -c $as_echo_n_body as_echo'
   16669   fi
   16670   export as_echo_body
   16671   as_echo='sh -c $as_echo_body as_echo'
   16672 fi
   16673 
   16674 # The user is always right.
   16675 if test "${PATH_SEPARATOR+set}" != set; then
   16676   PATH_SEPARATOR=:
   16677   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   16678     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   16679       PATH_SEPARATOR=';'
   16680   }
   16681 fi
   16682 
   16683 
   16684 # IFS
   16685 # We need space, tab and new line, in precisely that order.  Quoting is
   16686 # there to prevent editors from complaining about space-tab.
   16687 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   16688 # splitting by setting IFS to empty value.)
   16689 IFS=" ""	$as_nl"
   16690 
   16691 # Find who we are.  Look in the path if we contain no directory separator.
   16692 as_myself=
   16693 case $0 in #((
   16694   *[\\/]* ) as_myself=$0 ;;
   16695   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16696 for as_dir in $PATH
   16697 do
   16698   IFS=$as_save_IFS
   16699   test -z "$as_dir" && as_dir=.
   16700     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   16701   done
   16702 IFS=$as_save_IFS
   16703 
   16704      ;;
   16705 esac
   16706 # We did not find ourselves, most probably we were run as `sh COMMAND'
   16707 # in which case we are not to be found in the path.
   16708 if test "x$as_myself" = x; then
   16709   as_myself=$0
   16710 fi
   16711 if test ! -f "$as_myself"; then
   16712   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   16713   exit 1
   16714 fi
   16715 
   16716 # Unset variables that we do not need and which cause bugs (e.g. in
   16717 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   16718 # suppresses any "Segmentation fault" message there.  '((' could
   16719 # trigger a bug in pdksh 5.2.14.
   16720 for as_var in BASH_ENV ENV MAIL MAILPATH
   16721 do eval test x\${$as_var+set} = xset \
   16722   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   16723 done
   16724 PS1='$ '
   16725 PS2='> '
   16726 PS4='+ '
   16727 
   16728 # NLS nuisances.
   16729 LC_ALL=C
   16730 export LC_ALL
   16731 LANGUAGE=C
   16732 export LANGUAGE
   16733 
   16734 # CDPATH.
   16735 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   16736 
   16737 
   16738 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   16739 # ----------------------------------------
   16740 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   16741 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   16742 # script with STATUS, using 1 if that was 0.
   16743 as_fn_error ()
   16744 {
   16745   as_status=$1; test $as_status -eq 0 && as_status=1
   16746   if test "$4"; then
   16747     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   16748     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   16749   fi
   16750   $as_echo "$as_me: error: $2" >&2
   16751   as_fn_exit $as_status
   16752 } # as_fn_error
   16753 
   16754 
   16755 # as_fn_set_status STATUS
   16756 # -----------------------
   16757 # Set $? to STATUS, without forking.
   16758 as_fn_set_status ()
   16759 {
   16760   return $1
   16761 } # as_fn_set_status
   16762 
   16763 # as_fn_exit STATUS
   16764 # -----------------
   16765 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   16766 as_fn_exit ()
   16767 {
   16768   set +e
   16769   as_fn_set_status $1
   16770   exit $1
   16771 } # as_fn_exit
   16772 
   16773 # as_fn_unset VAR
   16774 # ---------------
   16775 # Portably unset VAR.
   16776 as_fn_unset ()
   16777 {
   16778   { eval $1=; unset $1;}
   16779 }
   16780 as_unset=as_fn_unset
   16781 # as_fn_append VAR VALUE
   16782 # ----------------------
   16783 # Append the text in VALUE to the end of the definition contained in VAR. Take
   16784 # advantage of any shell optimizations that allow amortized linear growth over
   16785 # repeated appends, instead of the typical quadratic growth present in naive
   16786 # implementations.
   16787 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   16788   eval 'as_fn_append ()
   16789   {
   16790     eval $1+=\$2
   16791   }'
   16792 else
   16793   as_fn_append ()
   16794   {
   16795     eval $1=\$$1\$2
   16796   }
   16797 fi # as_fn_append
   16798 
   16799 # as_fn_arith ARG...
   16800 # ------------------
   16801 # Perform arithmetic evaluation on the ARGs, and store the result in the
   16802 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   16803 # must be portable across $(()) and expr.
   16804 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   16805   eval 'as_fn_arith ()
   16806   {
   16807     as_val=$(( $* ))
   16808   }'
   16809 else
   16810   as_fn_arith ()
   16811   {
   16812     as_val=`expr "$@" || test $? -eq 1`
   16813   }
   16814 fi # as_fn_arith
   16815 
   16816 
   16817 if expr a : '\(a\)' >/dev/null 2>&1 &&
   16818    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   16819   as_expr=expr
   16820 else
   16821   as_expr=false
   16822 fi
   16823 
   16824 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   16825   as_basename=basename
   16826 else
   16827   as_basename=false
   16828 fi
   16829 
   16830 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   16831   as_dirname=dirname
   16832 else
   16833   as_dirname=false
   16834 fi
   16835 
   16836 as_me=`$as_basename -- "$0" ||
   16837 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   16838 	 X"$0" : 'X\(//\)$' \| \
   16839 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   16840 $as_echo X/"$0" |
   16841     sed '/^.*\/\([^/][^/]*\)\/*$/{
   16842 	    s//\1/
   16843 	    q
   16844 	  }
   16845 	  /^X\/\(\/\/\)$/{
   16846 	    s//\1/
   16847 	    q
   16848 	  }
   16849 	  /^X\/\(\/\).*/{
   16850 	    s//\1/
   16851 	    q
   16852 	  }
   16853 	  s/.*/./; q'`
   16854 
   16855 # Avoid depending upon Character Ranges.
   16856 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   16857 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   16858 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   16859 as_cr_digits='0123456789'
   16860 as_cr_alnum=$as_cr_Letters$as_cr_digits
   16861 
   16862 ECHO_C= ECHO_N= ECHO_T=
   16863 case `echo -n x` in #(((((
   16864 -n*)
   16865   case `echo 'xy\c'` in
   16866   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   16867   xy)  ECHO_C='\c';;
   16868   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   16869        ECHO_T='	';;
   16870   esac;;
   16871 *)
   16872   ECHO_N='-n';;
   16873 esac
   16874 
   16875 rm -f conf$$ conf$$.exe conf$$.file
   16876 if test -d conf$$.dir; then
   16877   rm -f conf$$.dir/conf$$.file
   16878 else
   16879   rm -f conf$$.dir
   16880   mkdir conf$$.dir 2>/dev/null
   16881 fi
   16882 if (echo >conf$$.file) 2>/dev/null; then
   16883   if ln -s conf$$.file conf$$ 2>/dev/null; then
   16884     as_ln_s='ln -s'
   16885     # ... but there are two gotchas:
   16886     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   16887     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   16888     # In both cases, we have to default to `cp -pR'.
   16889     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   16890       as_ln_s='cp -pR'
   16891   elif ln conf$$.file conf$$ 2>/dev/null; then
   16892     as_ln_s=ln
   16893   else
   16894     as_ln_s='cp -pR'
   16895   fi
   16896 else
   16897   as_ln_s='cp -pR'
   16898 fi
   16899 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   16900 rmdir conf$$.dir 2>/dev/null
   16901 
   16902 
   16903 # as_fn_mkdir_p
   16904 # -------------
   16905 # Create "$as_dir" as a directory, including parents if necessary.
   16906 as_fn_mkdir_p ()
   16907 {
   16908 
   16909   case $as_dir in #(
   16910   -*) as_dir=./$as_dir;;
   16911   esac
   16912   test -d "$as_dir" || eval $as_mkdir_p || {
   16913     as_dirs=
   16914     while :; do
   16915       case $as_dir in #(
   16916       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   16917       *) as_qdir=$as_dir;;
   16918       esac
   16919       as_dirs="'$as_qdir' $as_dirs"
   16920       as_dir=`$as_dirname -- "$as_dir" ||
   16921 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16922 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   16923 	 X"$as_dir" : 'X\(//\)$' \| \
   16924 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   16925 $as_echo X"$as_dir" |
   16926     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16927 	    s//\1/
   16928 	    q
   16929 	  }
   16930 	  /^X\(\/\/\)[^/].*/{
   16931 	    s//\1/
   16932 	    q
   16933 	  }
   16934 	  /^X\(\/\/\)$/{
   16935 	    s//\1/
   16936 	    q
   16937 	  }
   16938 	  /^X\(\/\).*/{
   16939 	    s//\1/
   16940 	    q
   16941 	  }
   16942 	  s/.*/./; q'`
   16943       test -d "$as_dir" && break
   16944     done
   16945     test -z "$as_dirs" || eval "mkdir $as_dirs"
   16946   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   16947 
   16948 
   16949 } # as_fn_mkdir_p
   16950 if mkdir -p . 2>/dev/null; then
   16951   as_mkdir_p='mkdir -p "$as_dir"'
   16952 else
   16953   test -d ./-p && rmdir ./-p
   16954   as_mkdir_p=false
   16955 fi
   16956 
   16957 
   16958 # as_fn_executable_p FILE
   16959 # -----------------------
   16960 # Test if FILE is an executable regular file.
   16961 as_fn_executable_p ()
   16962 {
   16963   test -f "$1" && test -x "$1"
   16964 } # as_fn_executable_p
   16965 as_test_x='test -x'
   16966 as_executable_p=as_fn_executable_p
   16967 
   16968 # Sed expression to map a string onto a valid CPP name.
   16969 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   16970 
   16971 # Sed expression to map a string onto a valid variable name.
   16972 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   16973 
   16974 
   16975 exec 6>&1
   16976 ## ----------------------------------- ##
   16977 ## Main body of $CONFIG_STATUS script. ##
   16978 ## ----------------------------------- ##
   16979 _ASEOF
   16980 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   16981 
   16982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16983 # Save the log message, to keep $0 and so on meaningful, and to
   16984 # report actual input values of CONFIG_FILES etc. instead of their
   16985 # values after options handling.
   16986 ac_log="
   16987 This file was extended by bfd $as_me 2.35.50, which was
   16988 generated by GNU Autoconf 2.69.  Invocation command line was
   16989 
   16990   CONFIG_FILES    = $CONFIG_FILES
   16991   CONFIG_HEADERS  = $CONFIG_HEADERS
   16992   CONFIG_LINKS    = $CONFIG_LINKS
   16993   CONFIG_COMMANDS = $CONFIG_COMMANDS
   16994   $ $0 $@
   16995 
   16996 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   16997 "
   16998 
   16999 _ACEOF
   17000 
   17001 case $ac_config_files in *"
   17002 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   17003 esac
   17004 
   17005 case $ac_config_headers in *"
   17006 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   17007 esac
   17008 
   17009 
   17010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17011 # Files that config.status was made for.
   17012 config_files="$ac_config_files"
   17013 config_headers="$ac_config_headers"
   17014 config_commands="$ac_config_commands"
   17015 
   17016 _ACEOF
   17017 
   17018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17019 ac_cs_usage="\
   17020 \`$as_me' instantiates files and other configuration actions
   17021 from templates according to the current configuration.  Unless the files
   17022 and actions are specified as TAGs, all are instantiated by default.
   17023 
   17024 Usage: $0 [OPTION]... [TAG]...
   17025 
   17026   -h, --help       print this help, then exit
   17027   -V, --version    print version number and configuration settings, then exit
   17028       --config     print configuration, then exit
   17029   -q, --quiet, --silent
   17030                    do not print progress messages
   17031   -d, --debug      don't remove temporary files
   17032       --recheck    update $as_me by reconfiguring in the same conditions
   17033       --file=FILE[:TEMPLATE]
   17034                    instantiate the configuration file FILE
   17035       --header=FILE[:TEMPLATE]
   17036                    instantiate the configuration header FILE
   17037 
   17038 Configuration files:
   17039 $config_files
   17040 
   17041 Configuration headers:
   17042 $config_headers
   17043 
   17044 Configuration commands:
   17045 $config_commands
   17046 
   17047 Report bugs to the package provider."
   17048 
   17049 _ACEOF
   17050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17051 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   17052 ac_cs_version="\\
   17053 bfd config.status 2.35.50
   17054 configured by $0, generated by GNU Autoconf 2.69,
   17055   with options \\"\$ac_cs_config\\"
   17056 
   17057 Copyright (C) 2012 Free Software Foundation, Inc.
   17058 This config.status script is free software; the Free Software Foundation
   17059 gives unlimited permission to copy, distribute and modify it."
   17060 
   17061 ac_pwd='$ac_pwd'
   17062 srcdir='$srcdir'
   17063 INSTALL='$INSTALL'
   17064 MKDIR_P='$MKDIR_P'
   17065 AWK='$AWK'
   17066 test -n "\$AWK" || AWK=awk
   17067 _ACEOF
   17068 
   17069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17070 # The default lists apply if the user does not specify any file.
   17071 ac_need_defaults=:
   17072 while test $# != 0
   17073 do
   17074   case $1 in
   17075   --*=?*)
   17076     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17077     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   17078     ac_shift=:
   17079     ;;
   17080   --*=)
   17081     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17082     ac_optarg=
   17083     ac_shift=:
   17084     ;;
   17085   *)
   17086     ac_option=$1
   17087     ac_optarg=$2
   17088     ac_shift=shift
   17089     ;;
   17090   esac
   17091 
   17092   case $ac_option in
   17093   # Handling of the options.
   17094   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   17095     ac_cs_recheck=: ;;
   17096   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   17097     $as_echo "$ac_cs_version"; exit ;;
   17098   --config | --confi | --conf | --con | --co | --c )
   17099     $as_echo "$ac_cs_config"; exit ;;
   17100   --debug | --debu | --deb | --de | --d | -d )
   17101     debug=: ;;
   17102   --file | --fil | --fi | --f )
   17103     $ac_shift
   17104     case $ac_optarg in
   17105     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17106     '') as_fn_error $? "missing file argument" ;;
   17107     esac
   17108     as_fn_append CONFIG_FILES " '$ac_optarg'"
   17109     ac_need_defaults=false;;
   17110   --header | --heade | --head | --hea )
   17111     $ac_shift
   17112     case $ac_optarg in
   17113     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17114     esac
   17115     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   17116     ac_need_defaults=false;;
   17117   --he | --h)
   17118     # Conflict between --help and --header
   17119     as_fn_error $? "ambiguous option: \`$1'
   17120 Try \`$0 --help' for more information.";;
   17121   --help | --hel | -h )
   17122     $as_echo "$ac_cs_usage"; exit ;;
   17123   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   17124   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   17125     ac_cs_silent=: ;;
   17126 
   17127   # This is an error.
   17128   -*) as_fn_error $? "unrecognized option: \`$1'
   17129 Try \`$0 --help' for more information." ;;
   17130 
   17131   *) as_fn_append ac_config_targets " $1"
   17132      ac_need_defaults=false ;;
   17133 
   17134   esac
   17135   shift
   17136 done
   17137 
   17138 ac_configure_extra_args=
   17139 
   17140 if $ac_cs_silent; then
   17141   exec 6>/dev/null
   17142   ac_configure_extra_args="$ac_configure_extra_args --silent"
   17143 fi
   17144 
   17145 _ACEOF
   17146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17147 if \$ac_cs_recheck; then
   17148   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   17149   shift
   17150   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   17151   CONFIG_SHELL='$SHELL'
   17152   export CONFIG_SHELL
   17153   exec "\$@"
   17154 fi
   17155 
   17156 _ACEOF
   17157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17158 exec 5>>config.log
   17159 {
   17160   echo
   17161   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   17162 ## Running $as_me. ##
   17163 _ASBOX
   17164   $as_echo "$ac_log"
   17165 } >&5
   17166 
   17167 _ACEOF
   17168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17169 #
   17170 # INIT-COMMANDS
   17171 #
   17172 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   17173 
   17174 
   17175 # The HP-UX ksh and POSIX shell print the target directory to stdout
   17176 # if CDPATH is set.
   17177 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17178 
   17179 sed_quote_subst='$sed_quote_subst'
   17180 double_quote_subst='$double_quote_subst'
   17181 delay_variable_subst='$delay_variable_subst'
   17182 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   17183 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   17184 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   17185 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   17186 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   17187 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   17188 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   17189 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   17190 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   17191 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   17192 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   17193 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   17194 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   17195 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   17196 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   17197 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   17198 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   17199 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   17200 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   17201 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   17202 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   17203 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   17204 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   17205 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   17206 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   17207 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   17208 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   17209 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   17210 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   17211 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   17212 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   17213 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   17214 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   17215 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   17216 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   17217 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   17218 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   17219 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   17220 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   17221 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   17222 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   17223 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   17224 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   17225 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   17226 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   17227 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   17228 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   17229 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   17230 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   17231 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   17232 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   17233 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   17234 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   17235 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   17236 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   17237 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   17238 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   17239 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   17240 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   17241 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   17242 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   17243 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   17244 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   17245 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   17246 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   17247 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   17248 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   17249 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   17250 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   17251 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   17252 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   17253 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   17254 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   17255 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   17256 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   17257 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   17258 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   17259 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   17260 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   17261 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   17262 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   17263 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   17264 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   17265 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   17266 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   17267 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   17268 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   17269 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   17270 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   17271 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   17272 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   17273 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   17274 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   17275 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   17276 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   17277 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   17278 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   17279 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   17280 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   17281 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   17282 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   17283 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   17284 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   17285 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   17286 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   17287 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   17288 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   17289 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   17290 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   17291 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   17292 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   17293 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   17294 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   17295 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   17296 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   17297 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   17298 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   17299 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   17300 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   17301 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   17302 
   17303 LTCC='$LTCC'
   17304 LTCFLAGS='$LTCFLAGS'
   17305 compiler='$compiler_DEFAULT'
   17306 
   17307 # A function that is used when there is no print builtin or printf.
   17308 func_fallback_echo ()
   17309 {
   17310   eval 'cat <<_LTECHO_EOF
   17311 \$1
   17312 _LTECHO_EOF'
   17313 }
   17314 
   17315 # Quote evaled strings.
   17316 for var in SHELL \
   17317 ECHO \
   17318 SED \
   17319 GREP \
   17320 EGREP \
   17321 FGREP \
   17322 LD \
   17323 NM \
   17324 LN_S \
   17325 lt_SP2NL \
   17326 lt_NL2SP \
   17327 reload_flag \
   17328 OBJDUMP \
   17329 deplibs_check_method \
   17330 file_magic_cmd \
   17331 AR \
   17332 AR_FLAGS \
   17333 STRIP \
   17334 RANLIB \
   17335 CC \
   17336 CFLAGS \
   17337 compiler \
   17338 lt_cv_sys_global_symbol_pipe \
   17339 lt_cv_sys_global_symbol_to_cdecl \
   17340 lt_cv_sys_global_symbol_to_c_name_address \
   17341 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   17342 lt_prog_compiler_no_builtin_flag \
   17343 lt_prog_compiler_wl \
   17344 lt_prog_compiler_pic \
   17345 lt_prog_compiler_static \
   17346 lt_cv_prog_compiler_c_o \
   17347 need_locks \
   17348 DSYMUTIL \
   17349 NMEDIT \
   17350 LIPO \
   17351 OTOOL \
   17352 OTOOL64 \
   17353 shrext_cmds \
   17354 export_dynamic_flag_spec \
   17355 whole_archive_flag_spec \
   17356 compiler_needs_object \
   17357 with_gnu_ld \
   17358 allow_undefined_flag \
   17359 no_undefined_flag \
   17360 hardcode_libdir_flag_spec \
   17361 hardcode_libdir_flag_spec_ld \
   17362 hardcode_libdir_separator \
   17363 fix_srcfile_path \
   17364 exclude_expsyms \
   17365 include_expsyms \
   17366 file_list_spec \
   17367 variables_saved_for_relink \
   17368 libname_spec \
   17369 library_names_spec \
   17370 soname_spec \
   17371 install_override_mode \
   17372 finish_eval \
   17373 old_striplib \
   17374 striplib; do
   17375     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   17376     *[\\\\\\\`\\"\\\$]*)
   17377       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   17378       ;;
   17379     *)
   17380       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   17381       ;;
   17382     esac
   17383 done
   17384 
   17385 # Double-quote double-evaled strings.
   17386 for var in reload_cmds \
   17387 old_postinstall_cmds \
   17388 old_postuninstall_cmds \
   17389 old_archive_cmds \
   17390 extract_expsyms_cmds \
   17391 old_archive_from_new_cmds \
   17392 old_archive_from_expsyms_cmds \
   17393 archive_cmds \
   17394 archive_expsym_cmds \
   17395 module_cmds \
   17396 module_expsym_cmds \
   17397 export_symbols_cmds \
   17398 prelink_cmds \
   17399 postinstall_cmds \
   17400 postuninstall_cmds \
   17401 finish_cmds \
   17402 sys_lib_search_path_spec \
   17403 sys_lib_dlsearch_path_spec; do
   17404     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   17405     *[\\\\\\\`\\"\\\$]*)
   17406       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   17407       ;;
   17408     *)
   17409       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   17410       ;;
   17411     esac
   17412 done
   17413 
   17414 ac_aux_dir='$ac_aux_dir'
   17415 xsi_shell='$xsi_shell'
   17416 lt_shell_append='$lt_shell_append'
   17417 
   17418 # See if we are running on zsh, and set the options which allow our
   17419 # commands through without removal of \ escapes INIT.
   17420 if test -n "\${ZSH_VERSION+set}" ; then
   17421    setopt NO_GLOB_SUBST
   17422 fi
   17423 
   17424 
   17425     PACKAGE='$PACKAGE'
   17426     VERSION='$VERSION'
   17427     TIMESTAMP='$TIMESTAMP'
   17428     RM='$RM'
   17429     ofile='$ofile'
   17430 
   17431 
   17432 
   17433 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   17434     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
   17435     # from automake.
   17436     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   17437     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   17438     LINGUAS="${LINGUAS-%UNSET%}"
   17439 
   17440 
   17441 GCC="$GCC"
   17442 CC="$CC"
   17443 acx_cv_header_stdint="$acx_cv_header_stdint"
   17444 acx_cv_type_int8_t="$acx_cv_type_int8_t"
   17445 acx_cv_type_int16_t="$acx_cv_type_int16_t"
   17446 acx_cv_type_int32_t="$acx_cv_type_int32_t"
   17447 acx_cv_type_int64_t="$acx_cv_type_int64_t"
   17448 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
   17449 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
   17450 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
   17451 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
   17452 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
   17453 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
   17454 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
   17455 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
   17456 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
   17457 
   17458 
   17459 
   17460 _ACEOF
   17461 
   17462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17463 
   17464 # Handling of arguments.
   17465 for ac_config_target in $ac_config_targets
   17466 do
   17467   case $ac_config_target in
   17468     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   17469     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   17470     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
   17471     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   17472     "bfd_stdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS bfd_stdint.h" ;;
   17473     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   17474     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   17475     "bfd-in3.h") CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
   17476     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
   17477     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
   17478 
   17479   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   17480   esac
   17481 done
   17482 
   17483 
   17484 # If the user did not use the arguments to specify the items to instantiate,
   17485 # then the envvar interface is used.  Set only those that are not.
   17486 # We use the long form for the default assignment because of an extremely
   17487 # bizarre bug on SunOS 4.1.3.
   17488 if $ac_need_defaults; then
   17489   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   17490   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   17491   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   17492 fi
   17493 
   17494 # Have a temporary directory for convenience.  Make it in the build tree
   17495 # simply because there is no reason against having it here, and in addition,
   17496 # creating and moving files from /tmp can sometimes cause problems.
   17497 # Hook for its removal unless debugging.
   17498 # Note that there is a small window in which the directory will not be cleaned:
   17499 # after its creation but before its name has been assigned to `$tmp'.
   17500 $debug ||
   17501 {
   17502   tmp= ac_tmp=
   17503   trap 'exit_status=$?
   17504   : "${ac_tmp:=$tmp}"
   17505   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   17506 ' 0
   17507   trap 'as_fn_exit 1' 1 2 13 15
   17508 }
   17509 # Create a (secure) tmp directory for tmp files.
   17510 
   17511 {
   17512   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   17513   test -d "$tmp"
   17514 }  ||
   17515 {
   17516   tmp=./conf$$-$RANDOM
   17517   (umask 077 && mkdir "$tmp")
   17518 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   17519 ac_tmp=$tmp
   17520 
   17521 # Set up the scripts for CONFIG_FILES section.
   17522 # No need to generate them if there are no CONFIG_FILES.
   17523 # This happens for instance with `./config.status config.h'.
   17524 if test -n "$CONFIG_FILES"; then
   17525 
   17526 
   17527 ac_cr=`echo X | tr X '\015'`
   17528 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   17529 # But we know of no other shell where ac_cr would be empty at this
   17530 # point, so we can use a bashism as a fallback.
   17531 if test "x$ac_cr" = x; then
   17532   eval ac_cr=\$\'\\r\'
   17533 fi
   17534 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   17535 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   17536   ac_cs_awk_cr='\\r'
   17537 else
   17538   ac_cs_awk_cr=$ac_cr
   17539 fi
   17540 
   17541 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   17542 _ACEOF
   17543 
   17544 
   17545 {
   17546   echo "cat >conf$$subs.awk <<_ACEOF" &&
   17547   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   17548   echo "_ACEOF"
   17549 } >conf$$subs.sh ||
   17550   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   17551 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   17552 ac_delim='%!_!# '
   17553 for ac_last_try in false false false false false :; do
   17554   . ./conf$$subs.sh ||
   17555     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   17556 
   17557   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   17558   if test $ac_delim_n = $ac_delim_num; then
   17559     break
   17560   elif $ac_last_try; then
   17561     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   17562   else
   17563     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   17564   fi
   17565 done
   17566 rm -f conf$$subs.sh
   17567 
   17568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17569 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   17570 _ACEOF
   17571 sed -n '
   17572 h
   17573 s/^/S["/; s/!.*/"]=/
   17574 p
   17575 g
   17576 s/^[^!]*!//
   17577 :repl
   17578 t repl
   17579 s/'"$ac_delim"'$//
   17580 t delim
   17581 :nl
   17582 h
   17583 s/\(.\{148\}\)..*/\1/
   17584 t more1
   17585 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   17586 p
   17587 n
   17588 b repl
   17589 :more1
   17590 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   17591 p
   17592 g
   17593 s/.\{148\}//
   17594 t nl
   17595 :delim
   17596 h
   17597 s/\(.\{148\}\)..*/\1/
   17598 t more2
   17599 s/["\\]/\\&/g; s/^/"/; s/$/"/
   17600 p
   17601 b
   17602 :more2
   17603 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   17604 p
   17605 g
   17606 s/.\{148\}//
   17607 t delim
   17608 ' <conf$$subs.awk | sed '
   17609 /^[^""]/{
   17610   N
   17611   s/\n//
   17612 }
   17613 ' >>$CONFIG_STATUS || ac_write_fail=1
   17614 rm -f conf$$subs.awk
   17615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17616 _ACAWK
   17617 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   17618   for (key in S) S_is_set[key] = 1
   17619   FS = ""
   17620 
   17621 }
   17622 {
   17623   line = $ 0
   17624   nfields = split(line, field, "@")
   17625   substed = 0
   17626   len = length(field[1])
   17627   for (i = 2; i < nfields; i++) {
   17628     key = field[i]
   17629     keylen = length(key)
   17630     if (S_is_set[key]) {
   17631       value = S[key]
   17632       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   17633       len += length(value) + length(field[++i])
   17634       substed = 1
   17635     } else
   17636       len += 1 + keylen
   17637   }
   17638 
   17639   print line
   17640 }
   17641 
   17642 _ACAWK
   17643 _ACEOF
   17644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17645 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   17646   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   17647 else
   17648   cat
   17649 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   17650   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   17651 _ACEOF
   17652 
   17653 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   17654 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   17655 # trailing colons and then remove the whole line if VPATH becomes empty
   17656 # (actually we leave an empty line to preserve line numbers).
   17657 if test "x$srcdir" = x.; then
   17658   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   17659 h
   17660 s///
   17661 s/^/:/
   17662 s/[	 ]*$/:/
   17663 s/:\$(srcdir):/:/g
   17664 s/:\${srcdir}:/:/g
   17665 s/:@srcdir@:/:/g
   17666 s/^:*//
   17667 s/:*$//
   17668 x
   17669 s/\(=[	 ]*\).*/\1/
   17670 G
   17671 s/\n//
   17672 s/^[^=]*=[	 ]*$//
   17673 }'
   17674 fi
   17675 
   17676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17677 fi # test -n "$CONFIG_FILES"
   17678 
   17679 # Set up the scripts for CONFIG_HEADERS section.
   17680 # No need to generate them if there are no CONFIG_HEADERS.
   17681 # This happens for instance with `./config.status Makefile'.
   17682 if test -n "$CONFIG_HEADERS"; then
   17683 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   17684 BEGIN {
   17685 _ACEOF
   17686 
   17687 # Transform confdefs.h into an awk script `defines.awk', embedded as
   17688 # here-document in config.status, that substitutes the proper values into
   17689 # config.h.in to produce config.h.
   17690 
   17691 # Create a delimiter string that does not exist in confdefs.h, to ease
   17692 # handling of long lines.
   17693 ac_delim='%!_!# '
   17694 for ac_last_try in false false :; do
   17695   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   17696   if test -z "$ac_tt"; then
   17697     break
   17698   elif $ac_last_try; then
   17699     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   17700   else
   17701     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   17702   fi
   17703 done
   17704 
   17705 # For the awk script, D is an array of macro values keyed by name,
   17706 # likewise P contains macro parameters if any.  Preserve backslash
   17707 # newline sequences.
   17708 
   17709 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   17710 sed -n '
   17711 s/.\{148\}/&'"$ac_delim"'/g
   17712 t rset
   17713 :rset
   17714 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   17715 t def
   17716 d
   17717 :def
   17718 s/\\$//
   17719 t bsnl
   17720 s/["\\]/\\&/g
   17721 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   17722 D["\1"]=" \3"/p
   17723 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   17724 d
   17725 :bsnl
   17726 s/["\\]/\\&/g
   17727 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   17728 D["\1"]=" \3\\\\\\n"\\/p
   17729 t cont
   17730 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   17731 t cont
   17732 d
   17733 :cont
   17734 n
   17735 s/.\{148\}/&'"$ac_delim"'/g
   17736 t clear
   17737 :clear
   17738 s/\\$//
   17739 t bsnlc
   17740 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   17741 d
   17742 :bsnlc
   17743 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   17744 b cont
   17745 ' <confdefs.h | sed '
   17746 s/'"$ac_delim"'/"\\\
   17747 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   17748 
   17749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17750   for (key in D) D_is_set[key] = 1
   17751   FS = ""
   17752 }
   17753 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   17754   line = \$ 0
   17755   split(line, arg, " ")
   17756   if (arg[1] == "#") {
   17757     defundef = arg[2]
   17758     mac1 = arg[3]
   17759   } else {
   17760     defundef = substr(arg[1], 2)
   17761     mac1 = arg[2]
   17762   }
   17763   split(mac1, mac2, "(") #)
   17764   macro = mac2[1]
   17765   prefix = substr(line, 1, index(line, defundef) - 1)
   17766   if (D_is_set[macro]) {
   17767     # Preserve the white space surrounding the "#".
   17768     print prefix "define", macro P[macro] D[macro]
   17769     next
   17770   } else {
   17771     # Replace #undef with comments.  This is necessary, for example,
   17772     # in the case of _POSIX_SOURCE, which is predefined and required
   17773     # on some systems where configure will not decide to define it.
   17774     if (defundef == "undef") {
   17775       print "/*", prefix defundef, macro, "*/"
   17776       next
   17777     }
   17778   }
   17779 }
   17780 { print }
   17781 _ACAWK
   17782 _ACEOF
   17783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17784   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   17785 fi # test -n "$CONFIG_HEADERS"
   17786 
   17787 
   17788 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   17789 shift
   17790 for ac_tag
   17791 do
   17792   case $ac_tag in
   17793   :[FHLC]) ac_mode=$ac_tag; continue;;
   17794   esac
   17795   case $ac_mode$ac_tag in
   17796   :[FHL]*:*);;
   17797   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   17798   :[FH]-) ac_tag=-:-;;
   17799   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   17800   esac
   17801   ac_save_IFS=$IFS
   17802   IFS=:
   17803   set x $ac_tag
   17804   IFS=$ac_save_IFS
   17805   shift
   17806   ac_file=$1
   17807   shift
   17808 
   17809   case $ac_mode in
   17810   :L) ac_source=$1;;
   17811   :[FH])
   17812     ac_file_inputs=
   17813     for ac_f
   17814     do
   17815       case $ac_f in
   17816       -) ac_f="$ac_tmp/stdin";;
   17817       *) # Look for the file first in the build tree, then in the source tree
   17818 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   17819 	 # because $ac_f cannot contain `:'.
   17820 	 test -f "$ac_f" ||
   17821 	   case $ac_f in
   17822 	   [\\/$]*) false;;
   17823 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   17824 	   esac ||
   17825 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   17826       esac
   17827       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   17828       as_fn_append ac_file_inputs " '$ac_f'"
   17829     done
   17830 
   17831     # Let's still pretend it is `configure' which instantiates (i.e., don't
   17832     # use $as_me), people would be surprised to read:
   17833     #    /* config.h.  Generated by config.status.  */
   17834     configure_input='Generated from '`
   17835 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   17836 	`' by configure.'
   17837     if test x"$ac_file" != x-; then
   17838       configure_input="$ac_file.  $configure_input"
   17839       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   17840 $as_echo "$as_me: creating $ac_file" >&6;}
   17841     fi
   17842     # Neutralize special characters interpreted by sed in replacement strings.
   17843     case $configure_input in #(
   17844     *\&* | *\|* | *\\* )
   17845        ac_sed_conf_input=`$as_echo "$configure_input" |
   17846        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   17847     *) ac_sed_conf_input=$configure_input;;
   17848     esac
   17849 
   17850     case $ac_tag in
   17851     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   17852       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   17853     esac
   17854     ;;
   17855   esac
   17856 
   17857   ac_dir=`$as_dirname -- "$ac_file" ||
   17858 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17859 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   17860 	 X"$ac_file" : 'X\(//\)$' \| \
   17861 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   17862 $as_echo X"$ac_file" |
   17863     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17864 	    s//\1/
   17865 	    q
   17866 	  }
   17867 	  /^X\(\/\/\)[^/].*/{
   17868 	    s//\1/
   17869 	    q
   17870 	  }
   17871 	  /^X\(\/\/\)$/{
   17872 	    s//\1/
   17873 	    q
   17874 	  }
   17875 	  /^X\(\/\).*/{
   17876 	    s//\1/
   17877 	    q
   17878 	  }
   17879 	  s/.*/./; q'`
   17880   as_dir="$ac_dir"; as_fn_mkdir_p
   17881   ac_builddir=.
   17882 
   17883 case "$ac_dir" in
   17884 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17885 *)
   17886   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   17887   # A ".." for each directory in $ac_dir_suffix.
   17888   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   17889   case $ac_top_builddir_sub in
   17890   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17891   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   17892   esac ;;
   17893 esac
   17894 ac_abs_top_builddir=$ac_pwd
   17895 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   17896 # for backward compatibility:
   17897 ac_top_builddir=$ac_top_build_prefix
   17898 
   17899 case $srcdir in
   17900   .)  # We are building in place.
   17901     ac_srcdir=.
   17902     ac_top_srcdir=$ac_top_builddir_sub
   17903     ac_abs_top_srcdir=$ac_pwd ;;
   17904   [\\/]* | ?:[\\/]* )  # Absolute name.
   17905     ac_srcdir=$srcdir$ac_dir_suffix;
   17906     ac_top_srcdir=$srcdir
   17907     ac_abs_top_srcdir=$srcdir ;;
   17908   *) # Relative name.
   17909     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   17910     ac_top_srcdir=$ac_top_build_prefix$srcdir
   17911     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   17912 esac
   17913 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   17914 
   17915 
   17916   case $ac_mode in
   17917   :F)
   17918   #
   17919   # CONFIG_FILE
   17920   #
   17921 
   17922   case $INSTALL in
   17923   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   17924   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   17925   esac
   17926   ac_MKDIR_P=$MKDIR_P
   17927   case $MKDIR_P in
   17928   [\\/$]* | ?:[\\/]* ) ;;
   17929   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   17930   esac
   17931 _ACEOF
   17932 
   17933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17934 # If the template does not know about datarootdir, expand it.
   17935 # FIXME: This hack should be removed a few years after 2.60.
   17936 ac_datarootdir_hack=; ac_datarootdir_seen=
   17937 ac_sed_dataroot='
   17938 /datarootdir/ {
   17939   p
   17940   q
   17941 }
   17942 /@datadir@/p
   17943 /@docdir@/p
   17944 /@infodir@/p
   17945 /@localedir@/p
   17946 /@mandir@/p'
   17947 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   17948 *datarootdir*) ac_datarootdir_seen=yes;;
   17949 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   17950   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   17951 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   17952 _ACEOF
   17953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17954   ac_datarootdir_hack='
   17955   s&@datadir@&$datadir&g
   17956   s&@docdir@&$docdir&g
   17957   s&@infodir@&$infodir&g
   17958   s&@localedir@&$localedir&g
   17959   s&@mandir@&$mandir&g
   17960   s&\\\${datarootdir}&$datarootdir&g' ;;
   17961 esac
   17962 _ACEOF
   17963 
   17964 # Neutralize VPATH when `$srcdir' = `.'.
   17965 # Shell code in configure.ac might set extrasub.
   17966 # FIXME: do we really want to maintain this feature?
   17967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17968 ac_sed_extra="$ac_vpsub
   17969 $extrasub
   17970 _ACEOF
   17971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17972 :t
   17973 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   17974 s|@configure_input@|$ac_sed_conf_input|;t t
   17975 s&@top_builddir@&$ac_top_builddir_sub&;t t
   17976 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   17977 s&@srcdir@&$ac_srcdir&;t t
   17978 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   17979 s&@top_srcdir@&$ac_top_srcdir&;t t
   17980 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   17981 s&@builddir@&$ac_builddir&;t t
   17982 s&@abs_builddir@&$ac_abs_builddir&;t t
   17983 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   17984 s&@INSTALL@&$ac_INSTALL&;t t
   17985 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   17986 $ac_datarootdir_hack
   17987 "
   17988 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   17989   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17990 
   17991 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   17992   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   17993   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   17994       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   17995   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   17996 which seems to be undefined.  Please make sure it is defined" >&5
   17997 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   17998 which seems to be undefined.  Please make sure it is defined" >&2;}
   17999 
   18000   rm -f "$ac_tmp/stdin"
   18001   case $ac_file in
   18002   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   18003   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   18004   esac \
   18005   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18006  ;;
   18007   :H)
   18008   #
   18009   # CONFIG_HEADER
   18010   #
   18011   if test x"$ac_file" != x-; then
   18012     {
   18013       $as_echo "/* $configure_input  */" \
   18014       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   18015     } >"$ac_tmp/config.h" \
   18016       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18017     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   18018       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   18019 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   18020     else
   18021       rm -f "$ac_file"
   18022       mv "$ac_tmp/config.h" "$ac_file" \
   18023 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18024     fi
   18025   else
   18026     $as_echo "/* $configure_input  */" \
   18027       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   18028       || as_fn_error $? "could not create -" "$LINENO" 5
   18029   fi
   18030 # Compute "$ac_file"'s index in $config_headers.
   18031 _am_arg="$ac_file"
   18032 _am_stamp_count=1
   18033 for _am_header in $config_headers :; do
   18034   case $_am_header in
   18035     $_am_arg | $_am_arg:* )
   18036       break ;;
   18037     * )
   18038       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   18039   esac
   18040 done
   18041 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   18042 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18043 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   18044 	 X"$_am_arg" : 'X\(//\)$' \| \
   18045 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   18046 $as_echo X"$_am_arg" |
   18047     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18048 	    s//\1/
   18049 	    q
   18050 	  }
   18051 	  /^X\(\/\/\)[^/].*/{
   18052 	    s//\1/
   18053 	    q
   18054 	  }
   18055 	  /^X\(\/\/\)$/{
   18056 	    s//\1/
   18057 	    q
   18058 	  }
   18059 	  /^X\(\/\).*/{
   18060 	    s//\1/
   18061 	    q
   18062 	  }
   18063 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   18064  ;;
   18065 
   18066   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   18067 $as_echo "$as_me: executing $ac_file commands" >&6;}
   18068  ;;
   18069   esac
   18070 
   18071 
   18072   case $ac_file$ac_mode in
   18073     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   18074   # Older Autoconf quotes --file arguments for eval, but not when files
   18075   # are listed without --file.  Let's play safe and only enable the eval
   18076   # if we detect the quoting.
   18077   case $CONFIG_FILES in
   18078   *\'*) eval set x "$CONFIG_FILES" ;;
   18079   *)   set x $CONFIG_FILES ;;
   18080   esac
   18081   shift
   18082   for mf
   18083   do
   18084     # Strip MF so we end up with the name of the file.
   18085     mf=`echo "$mf" | sed -e 's/:.*$//'`
   18086     # Check whether this is an Automake generated Makefile or not.
   18087     # We used to match only the files named 'Makefile.in', but
   18088     # some people rename them; so instead we look at the file content.
   18089     # Grep'ing the first line is not enough: some people post-process
   18090     # each Makefile.in and add a new line on top of each file to say so.
   18091     # Grep'ing the whole file is not good either: AIX grep has a line
   18092     # limit of 2048, but all sed's we know have understand at least 4000.
   18093     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   18094       dirpart=`$as_dirname -- "$mf" ||
   18095 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18096 	 X"$mf" : 'X\(//\)[^/]' \| \
   18097 	 X"$mf" : 'X\(//\)$' \| \
   18098 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   18099 $as_echo X"$mf" |
   18100     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18101 	    s//\1/
   18102 	    q
   18103 	  }
   18104 	  /^X\(\/\/\)[^/].*/{
   18105 	    s//\1/
   18106 	    q
   18107 	  }
   18108 	  /^X\(\/\/\)$/{
   18109 	    s//\1/
   18110 	    q
   18111 	  }
   18112 	  /^X\(\/\).*/{
   18113 	    s//\1/
   18114 	    q
   18115 	  }
   18116 	  s/.*/./; q'`
   18117     else
   18118       continue
   18119     fi
   18120     # Extract the definition of DEPDIR, am__include, and am__quote
   18121     # from the Makefile without running 'make'.
   18122     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   18123     test -z "$DEPDIR" && continue
   18124     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   18125     test -z "$am__include" && continue
   18126     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   18127     # Find all dependency output files, they are included files with
   18128     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   18129     # simplest approach to changing $(DEPDIR) to its actual value in the
   18130     # expansion.
   18131     for file in `sed -n "
   18132       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   18133 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   18134       # Make sure the directory exists.
   18135       test -f "$dirpart/$file" && continue
   18136       fdir=`$as_dirname -- "$file" ||
   18137 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18138 	 X"$file" : 'X\(//\)[^/]' \| \
   18139 	 X"$file" : 'X\(//\)$' \| \
   18140 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   18141 $as_echo X"$file" |
   18142     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18143 	    s//\1/
   18144 	    q
   18145 	  }
   18146 	  /^X\(\/\/\)[^/].*/{
   18147 	    s//\1/
   18148 	    q
   18149 	  }
   18150 	  /^X\(\/\/\)$/{
   18151 	    s//\1/
   18152 	    q
   18153 	  }
   18154 	  /^X\(\/\).*/{
   18155 	    s//\1/
   18156 	    q
   18157 	  }
   18158 	  s/.*/./; q'`
   18159       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   18160       # echo "creating $dirpart/$file"
   18161       echo '# dummy' > "$dirpart/$file"
   18162     done
   18163   done
   18164 }
   18165  ;;
   18166     "libtool":C)
   18167 
   18168     # See if we are running on zsh, and set the options which allow our
   18169     # commands through without removal of \ escapes.
   18170     if test -n "${ZSH_VERSION+set}" ; then
   18171       setopt NO_GLOB_SUBST
   18172     fi
   18173 
   18174     cfgfile="${ofile}T"
   18175     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   18176     $RM "$cfgfile"
   18177 
   18178     cat <<_LT_EOF >> "$cfgfile"
   18179 #! $SHELL
   18180 
   18181 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   18182 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   18183 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18184 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   18185 #
   18186 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   18187 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   18188 #   Written by Gordon Matzigkeit, 1996
   18189 #
   18190 #   This file is part of GNU Libtool.
   18191 #
   18192 # GNU Libtool is free software; you can redistribute it and/or
   18193 # modify it under the terms of the GNU General Public License as
   18194 # published by the Free Software Foundation; either version 2 of
   18195 # the License, or (at your option) any later version.
   18196 #
   18197 # As a special exception to the GNU General Public License,
   18198 # if you distribute this file as part of a program or library that
   18199 # is built using GNU Libtool, you may include this file under the
   18200 # same distribution terms that you use for the rest of that program.
   18201 #
   18202 # GNU Libtool is distributed in the hope that it will be useful,
   18203 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   18204 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   18205 # GNU General Public License for more details.
   18206 #
   18207 # You should have received a copy of the GNU General Public License
   18208 # along with GNU Libtool; see the file COPYING.  If not, a copy
   18209 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   18210 # obtained by writing to the Free Software Foundation, Inc.,
   18211 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   18212 
   18213 
   18214 # The names of the tagged configurations supported by this script.
   18215 available_tags=""
   18216 
   18217 # ### BEGIN LIBTOOL CONFIG
   18218 
   18219 # Whether or not to build shared libraries.
   18220 build_libtool_libs=$enable_shared
   18221 
   18222 # Which release of libtool.m4 was used?
   18223 macro_version=$macro_version
   18224 macro_revision=$macro_revision
   18225 
   18226 # Whether or not to build static libraries.
   18227 build_old_libs=$enable_static
   18228 
   18229 # What type of objects to build.
   18230 pic_mode=$pic_mode
   18231 
   18232 # Whether or not to optimize for fast installation.
   18233 fast_install=$enable_fast_install
   18234 
   18235 # Shell to use when invoking shell scripts.
   18236 SHELL=$lt_SHELL
   18237 
   18238 # An echo program that protects backslashes.
   18239 ECHO=$lt_ECHO
   18240 
   18241 # The host system.
   18242 host_alias=$host_alias
   18243 host=$host
   18244 host_os=$host_os
   18245 
   18246 # The build system.
   18247 build_alias=$build_alias
   18248 build=$build
   18249 build_os=$build_os
   18250 
   18251 # A sed program that does not truncate output.
   18252 SED=$lt_SED
   18253 
   18254 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   18255 Xsed="\$SED -e 1s/^X//"
   18256 
   18257 # A grep program that handles long lines.
   18258 GREP=$lt_GREP
   18259 
   18260 # An ERE matcher.
   18261 EGREP=$lt_EGREP
   18262 
   18263 # A literal string matcher.
   18264 FGREP=$lt_FGREP
   18265 
   18266 # A BSD- or MS-compatible name lister.
   18267 NM=$lt_NM
   18268 
   18269 # Whether we need soft or hard links.
   18270 LN_S=$lt_LN_S
   18271 
   18272 # What is the maximum length of a command?
   18273 max_cmd_len=$max_cmd_len
   18274 
   18275 # Object file suffix (normally "o").
   18276 objext=$ac_objext
   18277 
   18278 # Executable file suffix (normally "").
   18279 exeext=$exeext
   18280 
   18281 # whether the shell understands "unset".
   18282 lt_unset=$lt_unset
   18283 
   18284 # turn spaces into newlines.
   18285 SP2NL=$lt_lt_SP2NL
   18286 
   18287 # turn newlines into spaces.
   18288 NL2SP=$lt_lt_NL2SP
   18289 
   18290 # An object symbol dumper.
   18291 OBJDUMP=$lt_OBJDUMP
   18292 
   18293 # Method to check whether dependent libraries are shared objects.
   18294 deplibs_check_method=$lt_deplibs_check_method
   18295 
   18296 # Command to use when deplibs_check_method == "file_magic".
   18297 file_magic_cmd=$lt_file_magic_cmd
   18298 
   18299 # The archiver.
   18300 AR=$lt_AR
   18301 AR_FLAGS=$lt_AR_FLAGS
   18302 
   18303 # A symbol stripping program.
   18304 STRIP=$lt_STRIP
   18305 
   18306 # Commands used to install an old-style archive.
   18307 RANLIB=$lt_RANLIB
   18308 old_postinstall_cmds=$lt_old_postinstall_cmds
   18309 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18310 
   18311 # Whether to use a lock for old archive extraction.
   18312 lock_old_archive_extraction=$lock_old_archive_extraction
   18313 
   18314 # A C compiler.
   18315 LTCC=$lt_CC
   18316 
   18317 # LTCC compiler flags.
   18318 LTCFLAGS=$lt_CFLAGS
   18319 
   18320 # Take the output of nm and produce a listing of raw symbols and C names.
   18321 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18322 
   18323 # Transform the output of nm in a proper C declaration.
   18324 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18325 
   18326 # Transform the output of nm in a C name address pair.
   18327 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18328 
   18329 # Transform the output of nm in a C name address pair when lib prefix is needed.
   18330 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   18331 
   18332 # The name of the directory that contains temporary libtool files.
   18333 objdir=$objdir
   18334 
   18335 # Used to examine libraries when file_magic_cmd begins with "file".
   18336 MAGIC_CMD=$MAGIC_CMD
   18337 
   18338 # Must we lock files when doing compilation?
   18339 need_locks=$lt_need_locks
   18340 
   18341 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   18342 DSYMUTIL=$lt_DSYMUTIL
   18343 
   18344 # Tool to change global to local symbols on Mac OS X.
   18345 NMEDIT=$lt_NMEDIT
   18346 
   18347 # Tool to manipulate fat objects and archives on Mac OS X.
   18348 LIPO=$lt_LIPO
   18349 
   18350 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   18351 OTOOL=$lt_OTOOL
   18352 
   18353 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   18354 OTOOL64=$lt_OTOOL64
   18355 
   18356 # Old archive suffix (normally "a").
   18357 libext=$libext
   18358 
   18359 # Shared library suffix (normally ".so").
   18360 shrext_cmds=$lt_shrext_cmds
   18361 
   18362 # The commands to extract the exported symbol list from a shared archive.
   18363 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18364 
   18365 # Variables whose values should be saved in libtool wrapper scripts and
   18366 # restored at link time.
   18367 variables_saved_for_relink=$lt_variables_saved_for_relink
   18368 
   18369 # Do we need the "lib" prefix for modules?
   18370 need_lib_prefix=$need_lib_prefix
   18371 
   18372 # Do we need a version for libraries?
   18373 need_version=$need_version
   18374 
   18375 # Library versioning type.
   18376 version_type=$version_type
   18377 
   18378 # Shared library runtime path variable.
   18379 runpath_var=$runpath_var
   18380 
   18381 # Shared library path variable.
   18382 shlibpath_var=$shlibpath_var
   18383 
   18384 # Is shlibpath searched before the hard-coded library search path?
   18385 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18386 
   18387 # Format of library name prefix.
   18388 libname_spec=$lt_libname_spec
   18389 
   18390 # List of archive names.  First name is the real one, the rest are links.
   18391 # The last name is the one that the linker finds with -lNAME
   18392 library_names_spec=$lt_library_names_spec
   18393 
   18394 # The coded name of the library, if different from the real name.
   18395 soname_spec=$lt_soname_spec
   18396 
   18397 # Permission mode override for installation of shared libraries.
   18398 install_override_mode=$lt_install_override_mode
   18399 
   18400 # Command to use after installation of a shared archive.
   18401 postinstall_cmds=$lt_postinstall_cmds
   18402 
   18403 # Command to use after uninstallation of a shared archive.
   18404 postuninstall_cmds=$lt_postuninstall_cmds
   18405 
   18406 # Commands used to finish a libtool library installation in a directory.
   18407 finish_cmds=$lt_finish_cmds
   18408 
   18409 # As "finish_cmds", except a single script fragment to be evaled but
   18410 # not shown.
   18411 finish_eval=$lt_finish_eval
   18412 
   18413 # Whether we should hardcode library paths into libraries.
   18414 hardcode_into_libs=$hardcode_into_libs
   18415 
   18416 # Compile-time system search path for libraries.
   18417 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18418 
   18419 # Run-time system search path for libraries.
   18420 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18421 
   18422 # Whether dlopen is supported.
   18423 dlopen_support=$enable_dlopen
   18424 
   18425 # Whether dlopen of programs is supported.
   18426 dlopen_self=$enable_dlopen_self
   18427 
   18428 # Whether dlopen of statically linked programs is supported.
   18429 dlopen_self_static=$enable_dlopen_self_static
   18430 
   18431 # Commands to strip libraries.
   18432 old_striplib=$lt_old_striplib
   18433 striplib=$lt_striplib
   18434 
   18435 
   18436 # The linker used to build libraries.
   18437 LD=$lt_LD
   18438 
   18439 # How to create reloadable object files.
   18440 reload_flag=$lt_reload_flag
   18441 reload_cmds=$lt_reload_cmds
   18442 
   18443 # Commands used to build an old-style archive.
   18444 old_archive_cmds=$lt_old_archive_cmds
   18445 
   18446 # A language specific compiler.
   18447 CC=$lt_compiler
   18448 
   18449 # Is the compiler the GNU compiler?
   18450 with_gcc=$GCC
   18451 
   18452 # Compiler flag to turn off builtin functions.
   18453 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   18454 
   18455 # How to pass a linker flag through the compiler.
   18456 wl=$lt_lt_prog_compiler_wl
   18457 
   18458 # Additional compiler flags for building library objects.
   18459 pic_flag=$lt_lt_prog_compiler_pic
   18460 
   18461 # Compiler flag to prevent dynamic linking.
   18462 link_static_flag=$lt_lt_prog_compiler_static
   18463 
   18464 # Does compiler simultaneously support -c and -o options?
   18465 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   18466 
   18467 # Whether or not to add -lc for building shared libraries.
   18468 build_libtool_need_lc=$archive_cmds_need_lc
   18469 
   18470 # Whether or not to disallow shared libs when runtime libs are static.
   18471 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   18472 
   18473 # Compiler flag to allow reflexive dlopens.
   18474 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   18475 
   18476 # Compiler flag to generate shared objects directly from archives.
   18477 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   18478 
   18479 # Whether the compiler copes with passing no objects directly.
   18480 compiler_needs_object=$lt_compiler_needs_object
   18481 
   18482 # Create an old-style archive from a shared archive.
   18483 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   18484 
   18485 # Create a temporary old-style archive to link instead of a shared archive.
   18486 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   18487 
   18488 # Commands used to build a shared archive.
   18489 archive_cmds=$lt_archive_cmds
   18490 archive_expsym_cmds=$lt_archive_expsym_cmds
   18491 
   18492 # Commands used to build a loadable module if different from building
   18493 # a shared archive.
   18494 module_cmds=$lt_module_cmds
   18495 module_expsym_cmds=$lt_module_expsym_cmds
   18496 
   18497 # Whether we are building with GNU ld or not.
   18498 with_gnu_ld=$lt_with_gnu_ld
   18499 
   18500 # Flag that allows shared libraries with undefined symbols to be built.
   18501 allow_undefined_flag=$lt_allow_undefined_flag
   18502 
   18503 # Flag that enforces no undefined symbols.
   18504 no_undefined_flag=$lt_no_undefined_flag
   18505 
   18506 # Flag to hardcode \$libdir into a binary during linking.
   18507 # This must work even if \$libdir does not exist
   18508 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   18509 
   18510 # If ld is used when linking, flag to hardcode \$libdir into a binary
   18511 # during linking.  This must work even if \$libdir does not exist.
   18512 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   18513 
   18514 # Whether we need a single "-rpath" flag with a separated argument.
   18515 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   18516 
   18517 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   18518 # DIR into the resulting binary.
   18519 hardcode_direct=$hardcode_direct
   18520 
   18521 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   18522 # DIR into the resulting binary and the resulting library dependency is
   18523 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   18524 # library is relocated.
   18525 hardcode_direct_absolute=$hardcode_direct_absolute
   18526 
   18527 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   18528 # into the resulting binary.
   18529 hardcode_minus_L=$hardcode_minus_L
   18530 
   18531 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   18532 # into the resulting binary.
   18533 hardcode_shlibpath_var=$hardcode_shlibpath_var
   18534 
   18535 # Set to "yes" if building a shared library automatically hardcodes DIR
   18536 # into the library and all subsequent libraries and executables linked
   18537 # against it.
   18538 hardcode_automatic=$hardcode_automatic
   18539 
   18540 # Set to yes if linker adds runtime paths of dependent libraries
   18541 # to runtime path list.
   18542 inherit_rpath=$inherit_rpath
   18543 
   18544 # Whether libtool must link a program against all its dependency libraries.
   18545 link_all_deplibs=$link_all_deplibs
   18546 
   18547 # Fix the shell variable \$srcfile for the compiler.
   18548 fix_srcfile_path=$lt_fix_srcfile_path
   18549 
   18550 # Set to "yes" if exported symbols are required.
   18551 always_export_symbols=$always_export_symbols
   18552 
   18553 # The commands to list exported symbols.
   18554 export_symbols_cmds=$lt_export_symbols_cmds
   18555 
   18556 # Symbols that should not be listed in the preloaded symbols.
   18557 exclude_expsyms=$lt_exclude_expsyms
   18558 
   18559 # Symbols that must always be exported.
   18560 include_expsyms=$lt_include_expsyms
   18561 
   18562 # Commands necessary for linking programs (against libraries) with templates.
   18563 prelink_cmds=$lt_prelink_cmds
   18564 
   18565 # Specify filename containing input files.
   18566 file_list_spec=$lt_file_list_spec
   18567 
   18568 # How to hardcode a shared library path into an executable.
   18569 hardcode_action=$hardcode_action
   18570 
   18571 # ### END LIBTOOL CONFIG
   18572 
   18573 _LT_EOF
   18574 
   18575   case $host_os in
   18576   aix3*)
   18577     cat <<\_LT_EOF >> "$cfgfile"
   18578 # AIX sometimes has problems with the GCC collect2 program.  For some
   18579 # reason, if we set the COLLECT_NAMES environment variable, the problems
   18580 # vanish in a puff of smoke.
   18581 if test "X${COLLECT_NAMES+set}" != Xset; then
   18582   COLLECT_NAMES=
   18583   export COLLECT_NAMES
   18584 fi
   18585 _LT_EOF
   18586     ;;
   18587   esac
   18588 
   18589 
   18590 ltmain="$ac_aux_dir/ltmain.sh"
   18591 
   18592 
   18593   # We use sed instead of cat because bash on DJGPP gets confused if
   18594   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   18595   # text mode, it properly converts lines to CR/LF.  This bash problem
   18596   # is reportedly fixed, but why not run on old versions too?
   18597   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   18598     || (rm -f "$cfgfile"; exit 1)
   18599 
   18600   case $xsi_shell in
   18601   yes)
   18602     cat << \_LT_EOF >> "$cfgfile"
   18603 
   18604 # func_dirname file append nondir_replacement
   18605 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   18606 # otherwise set result to NONDIR_REPLACEMENT.
   18607 func_dirname ()
   18608 {
   18609   case ${1} in
   18610     */*) func_dirname_result="${1%/*}${2}" ;;
   18611     *  ) func_dirname_result="${3}" ;;
   18612   esac
   18613 }
   18614 
   18615 # func_basename file
   18616 func_basename ()
   18617 {
   18618   func_basename_result="${1##*/}"
   18619 }
   18620 
   18621 # func_dirname_and_basename file append nondir_replacement
   18622 # perform func_basename and func_dirname in a single function
   18623 # call:
   18624 #   dirname:  Compute the dirname of FILE.  If nonempty,
   18625 #             add APPEND to the result, otherwise set result
   18626 #             to NONDIR_REPLACEMENT.
   18627 #             value returned in "$func_dirname_result"
   18628 #   basename: Compute filename of FILE.
   18629 #             value retuned in "$func_basename_result"
   18630 # Implementation must be kept synchronized with func_dirname
   18631 # and func_basename. For efficiency, we do not delegate to
   18632 # those functions but instead duplicate the functionality here.
   18633 func_dirname_and_basename ()
   18634 {
   18635   case ${1} in
   18636     */*) func_dirname_result="${1%/*}${2}" ;;
   18637     *  ) func_dirname_result="${3}" ;;
   18638   esac
   18639   func_basename_result="${1##*/}"
   18640 }
   18641 
   18642 # func_stripname prefix suffix name
   18643 # strip PREFIX and SUFFIX off of NAME.
   18644 # PREFIX and SUFFIX must not contain globbing or regex special
   18645 # characters, hashes, percent signs, but SUFFIX may contain a leading
   18646 # dot (in which case that matches only a dot).
   18647 func_stripname ()
   18648 {
   18649   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   18650   # positional parameters, so assign one to ordinary parameter first.
   18651   func_stripname_result=${3}
   18652   func_stripname_result=${func_stripname_result#"${1}"}
   18653   func_stripname_result=${func_stripname_result%"${2}"}
   18654 }
   18655 
   18656 # func_opt_split
   18657 func_opt_split ()
   18658 {
   18659   func_opt_split_opt=${1%%=*}
   18660   func_opt_split_arg=${1#*=}
   18661 }
   18662 
   18663 # func_lo2o object
   18664 func_lo2o ()
   18665 {
   18666   case ${1} in
   18667     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   18668     *)    func_lo2o_result=${1} ;;
   18669   esac
   18670 }
   18671 
   18672 # func_xform libobj-or-source
   18673 func_xform ()
   18674 {
   18675   func_xform_result=${1%.*}.lo
   18676 }
   18677 
   18678 # func_arith arithmetic-term...
   18679 func_arith ()
   18680 {
   18681   func_arith_result=$(( $* ))
   18682 }
   18683 
   18684 # func_len string
   18685 # STRING may not start with a hyphen.
   18686 func_len ()
   18687 {
   18688   func_len_result=${#1}
   18689 }
   18690 
   18691 _LT_EOF
   18692     ;;
   18693   *) # Bourne compatible functions.
   18694     cat << \_LT_EOF >> "$cfgfile"
   18695 
   18696 # func_dirname file append nondir_replacement
   18697 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   18698 # otherwise set result to NONDIR_REPLACEMENT.
   18699 func_dirname ()
   18700 {
   18701   # Extract subdirectory from the argument.
   18702   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   18703   if test "X$func_dirname_result" = "X${1}"; then
   18704     func_dirname_result="${3}"
   18705   else
   18706     func_dirname_result="$func_dirname_result${2}"
   18707   fi
   18708 }
   18709 
   18710 # func_basename file
   18711 func_basename ()
   18712 {
   18713   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   18714 }
   18715 
   18716 
   18717 # func_stripname prefix suffix name
   18718 # strip PREFIX and SUFFIX off of NAME.
   18719 # PREFIX and SUFFIX must not contain globbing or regex special
   18720 # characters, hashes, percent signs, but SUFFIX may contain a leading
   18721 # dot (in which case that matches only a dot).
   18722 # func_strip_suffix prefix name
   18723 func_stripname ()
   18724 {
   18725   case ${2} in
   18726     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   18727     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   18728   esac
   18729 }
   18730 
   18731 # sed scripts:
   18732 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   18733 my_sed_long_arg='1s/^-[^=]*=//'
   18734 
   18735 # func_opt_split
   18736 func_opt_split ()
   18737 {
   18738   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   18739   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   18740 }
   18741 
   18742 # func_lo2o object
   18743 func_lo2o ()
   18744 {
   18745   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   18746 }
   18747 
   18748 # func_xform libobj-or-source
   18749 func_xform ()
   18750 {
   18751   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   18752 }
   18753 
   18754 # func_arith arithmetic-term...
   18755 func_arith ()
   18756 {
   18757   func_arith_result=`expr "$@"`
   18758 }
   18759 
   18760 # func_len string
   18761 # STRING may not start with a hyphen.
   18762 func_len ()
   18763 {
   18764   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   18765 }
   18766 
   18767 _LT_EOF
   18768 esac
   18769 
   18770 case $lt_shell_append in
   18771   yes)
   18772     cat << \_LT_EOF >> "$cfgfile"
   18773 
   18774 # func_append var value
   18775 # Append VALUE to the end of shell variable VAR.
   18776 func_append ()
   18777 {
   18778   eval "$1+=\$2"
   18779 }
   18780 _LT_EOF
   18781     ;;
   18782   *)
   18783     cat << \_LT_EOF >> "$cfgfile"
   18784 
   18785 # func_append var value
   18786 # Append VALUE to the end of shell variable VAR.
   18787 func_append ()
   18788 {
   18789   eval "$1=\$$1\$2"
   18790 }
   18791 
   18792 _LT_EOF
   18793     ;;
   18794   esac
   18795 
   18796 
   18797   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   18798     || (rm -f "$cfgfile"; exit 1)
   18799 
   18800   mv -f "$cfgfile" "$ofile" ||
   18801     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   18802   chmod +x "$ofile"
   18803 
   18804  ;;
   18805     "default-1":C)
   18806     for ac_file in $CONFIG_FILES; do
   18807       # Support "outfile[:infile[:infile...]]"
   18808       case "$ac_file" in
   18809         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   18810       esac
   18811       # PO directories have a Makefile.in generated from Makefile.in.in.
   18812       case "$ac_file" in */Makefile.in)
   18813         # Adjust a relative srcdir.
   18814         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   18815         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
   18816         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   18817         # In autoconf-2.13 it is called $ac_given_srcdir.
   18818         # In autoconf-2.50 it is called $srcdir.
   18819         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   18820         case "$ac_given_srcdir" in
   18821           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   18822           /*) top_srcdir="$ac_given_srcdir" ;;
   18823           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   18824         esac
   18825         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   18826           rm -f "$ac_dir/POTFILES"
   18827           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   18828           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   18829           POMAKEFILEDEPS="POTFILES.in"
   18830           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
   18831           # on $ac_dir but don't depend on user-specified configuration
   18832           # parameters.
   18833           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   18834             # The LINGUAS file contains the set of available languages.
   18835             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   18836               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
   18837             fi
   18838             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   18839             # Hide the ALL_LINGUAS assigment from automake.
   18840             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   18841             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   18842           else
   18843             # The set of available languages was given in configure.ac.
   18844             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   18845           fi
   18846           case "$ac_given_srcdir" in
   18847             .) srcdirpre= ;;
   18848             *) srcdirpre='$(srcdir)/' ;;
   18849           esac
   18850           POFILES=
   18851           GMOFILES=
   18852           UPDATEPOFILES=
   18853           DUMMYPOFILES=
   18854           for lang in $ALL_LINGUAS; do
   18855             POFILES="$POFILES $srcdirpre$lang.po"
   18856             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   18857             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   18858             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   18859           done
   18860           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   18861           # environment variable.
   18862           INST_LINGUAS=
   18863           if test -n "$ALL_LINGUAS"; then
   18864             for presentlang in $ALL_LINGUAS; do
   18865               useit=no
   18866               if test "%UNSET%" != "$LINGUAS"; then
   18867                 desiredlanguages="$LINGUAS"
   18868               else
   18869                 desiredlanguages="$ALL_LINGUAS"
   18870               fi
   18871               for desiredlang in $desiredlanguages; do
   18872                 # Use the presentlang catalog if desiredlang is
   18873                 #   a. equal to presentlang, or
   18874                 #   b. a variant of presentlang (because in this case,
   18875                 #      presentlang can be used as a fallback for messages
   18876                 #      which are not translated in the desiredlang catalog).
   18877                 case "$desiredlang" in
   18878                   "$presentlang"*) useit=yes;;
   18879                 esac
   18880               done
   18881               if test $useit = yes; then
   18882                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   18883               fi
   18884             done
   18885           fi
   18886           CATALOGS=
   18887           if test -n "$INST_LINGUAS"; then
   18888             for lang in $INST_LINGUAS; do
   18889               CATALOGS="$CATALOGS $lang.gmo"
   18890             done
   18891           fi
   18892           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   18893           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
   18894           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   18895             if test -f "$f"; then
   18896               case "$f" in
   18897                 *.orig | *.bak | *~) ;;
   18898                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   18899               esac
   18900             fi
   18901           done
   18902         fi
   18903         ;;
   18904       esac
   18905     done ;;
   18906     "bfd_stdint.h":C)
   18907 if test "$GCC" = yes; then
   18908   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
   18909 else
   18910   echo "/* generated for $CC */" > tmp-stdint.h
   18911 fi
   18912 
   18913 sed 's/^ *//' >> tmp-stdint.h <<EOF
   18914 
   18915   #ifndef GCC_GENERATED_STDINT_H
   18916   #define GCC_GENERATED_STDINT_H 1
   18917 
   18918   #include <sys/types.h>
   18919 EOF
   18920 
   18921 if test "$acx_cv_header_stdint" != stdint.h; then
   18922   echo "#include <stddef.h>" >> tmp-stdint.h
   18923 fi
   18924 if test "$acx_cv_header_stdint" != stddef.h; then
   18925   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
   18926 fi
   18927 
   18928 sed 's/^ *//' >> tmp-stdint.h <<EOF
   18929   /* glibc uses these symbols as guards to prevent redefinitions.  */
   18930   #ifdef __int8_t_defined
   18931   #define _INT8_T
   18932   #define _INT16_T
   18933   #define _INT32_T
   18934   #endif
   18935   #ifdef __uint32_t_defined
   18936   #define _UINT32_T
   18937   #endif
   18938 
   18939 EOF
   18940 
   18941 # ----------------- done header, emit basic int types -------------
   18942 if test "$acx_cv_header_stdint" = stddef.h; then
   18943   sed 's/^ *//' >> tmp-stdint.h <<EOF
   18944 
   18945     #ifndef _UINT8_T
   18946     #define _UINT8_T
   18947     #ifndef __uint8_t_defined
   18948     #define __uint8_t_defined
   18949     #ifndef uint8_t
   18950     typedef unsigned $acx_cv_type_int8_t uint8_t;
   18951     #endif
   18952     #endif
   18953     #endif
   18954 
   18955     #ifndef _UINT16_T
   18956     #define _UINT16_T
   18957     #ifndef __uint16_t_defined
   18958     #define __uint16_t_defined
   18959     #ifndef uint16_t
   18960     typedef unsigned $acx_cv_type_int16_t uint16_t;
   18961     #endif
   18962     #endif
   18963     #endif
   18964 
   18965     #ifndef _UINT32_T
   18966     #define _UINT32_T
   18967     #ifndef __uint32_t_defined
   18968     #define __uint32_t_defined
   18969     #ifndef uint32_t
   18970     typedef unsigned $acx_cv_type_int32_t uint32_t;
   18971     #endif
   18972     #endif
   18973     #endif
   18974 
   18975     #ifndef _INT8_T
   18976     #define _INT8_T
   18977     #ifndef __int8_t_defined
   18978     #define __int8_t_defined
   18979     #ifndef int8_t
   18980     typedef $acx_cv_type_int8_t int8_t;
   18981     #endif
   18982     #endif
   18983     #endif
   18984 
   18985     #ifndef _INT16_T
   18986     #define _INT16_T
   18987     #ifndef __int16_t_defined
   18988     #define __int16_t_defined
   18989     #ifndef int16_t
   18990     typedef $acx_cv_type_int16_t int16_t;
   18991     #endif
   18992     #endif
   18993     #endif
   18994 
   18995     #ifndef _INT32_T
   18996     #define _INT32_T
   18997     #ifndef __int32_t_defined
   18998     #define __int32_t_defined
   18999     #ifndef int32_t
   19000     typedef $acx_cv_type_int32_t int32_t;
   19001     #endif
   19002     #endif
   19003     #endif
   19004 EOF
   19005 elif test "$ac_cv_type_u_int32_t" = yes; then
   19006   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19007 
   19008     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
   19009     #ifndef _INT8_T
   19010     #define _INT8_T
   19011     #endif
   19012     #ifndef _INT16_T
   19013     #define _INT16_T
   19014     #endif
   19015     #ifndef _INT32_T
   19016     #define _INT32_T
   19017     #endif
   19018 
   19019     #ifndef _UINT8_T
   19020     #define _UINT8_T
   19021     #ifndef __uint8_t_defined
   19022     #define __uint8_t_defined
   19023     #ifndef uint8_t
   19024     typedef u_int8_t uint8_t;
   19025     #endif
   19026     #endif
   19027     #endif
   19028 
   19029     #ifndef _UINT16_T
   19030     #define _UINT16_T
   19031     #ifndef __uint16_t_defined
   19032     #define __uint16_t_defined
   19033     #ifndef uint16_t
   19034     typedef u_int16_t uint16_t;
   19035     #endif
   19036     #endif
   19037     #endif
   19038 
   19039     #ifndef _UINT32_T
   19040     #define _UINT32_T
   19041     #ifndef __uint32_t_defined
   19042     #define __uint32_t_defined
   19043     #ifndef uint32_t
   19044     typedef u_int32_t uint32_t;
   19045     #endif
   19046     #endif
   19047     #endif
   19048 EOF
   19049 else
   19050   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19051 
   19052     /* Some systems have guard macros to prevent redefinitions, define them.  */
   19053     #ifndef _INT8_T
   19054     #define _INT8_T
   19055     #endif
   19056     #ifndef _INT16_T
   19057     #define _INT16_T
   19058     #endif
   19059     #ifndef _INT32_T
   19060     #define _INT32_T
   19061     #endif
   19062     #ifndef _UINT8_T
   19063     #define _UINT8_T
   19064     #endif
   19065     #ifndef _UINT16_T
   19066     #define _UINT16_T
   19067     #endif
   19068     #ifndef _UINT32_T
   19069     #define _UINT32_T
   19070     #endif
   19071 EOF
   19072 fi
   19073 
   19074 # ------------- done basic int types, emit int64_t types ------------
   19075 if test "$ac_cv_type_uint64_t" = yes; then
   19076   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19077 
   19078     /* system headers have good uint64_t and int64_t */
   19079     #ifndef _INT64_T
   19080     #define _INT64_T
   19081     #endif
   19082     #ifndef _UINT64_T
   19083     #define _UINT64_T
   19084     #endif
   19085 EOF
   19086 elif test "$ac_cv_type_u_int64_t" = yes; then
   19087   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19088 
   19089     /* system headers have an u_int64_t (and int64_t) */
   19090     #ifndef _INT64_T
   19091     #define _INT64_T
   19092     #endif
   19093     #ifndef _UINT64_T
   19094     #define _UINT64_T
   19095     #ifndef __uint64_t_defined
   19096     #define __uint64_t_defined
   19097     #ifndef uint64_t
   19098     typedef u_int64_t uint64_t;
   19099     #endif
   19100     #endif
   19101     #endif
   19102 EOF
   19103 elif test -n "$acx_cv_type_int64_t"; then
   19104   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19105 
   19106     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
   19107     #ifndef _INT64_T
   19108     #define _INT64_T
   19109     #ifndef int64_t
   19110     typedef $acx_cv_type_int64_t int64_t;
   19111     #endif
   19112     #endif
   19113     #ifndef _UINT64_T
   19114     #define _UINT64_T
   19115     #ifndef __uint64_t_defined
   19116     #define __uint64_t_defined
   19117     #ifndef uint64_t
   19118     typedef unsigned $acx_cv_type_int64_t uint64_t;
   19119     #endif
   19120     #endif
   19121     #endif
   19122 EOF
   19123 else
   19124   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19125 
   19126     /* some common heuristics for int64_t, using compiler-specific tests */
   19127     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
   19128     #ifndef _INT64_T
   19129     #define _INT64_T
   19130     #ifndef __int64_t_defined
   19131     #ifndef int64_t
   19132     typedef long long int64_t;
   19133     #endif
   19134     #endif
   19135     #endif
   19136     #ifndef _UINT64_T
   19137     #define _UINT64_T
   19138     #ifndef uint64_t
   19139     typedef unsigned long long uint64_t;
   19140     #endif
   19141     #endif
   19142 
   19143     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
   19144     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
   19145        does not implement __extension__.  But that compiler doesn't define
   19146        __GNUC_MINOR__.  */
   19147     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
   19148     # define __extension__
   19149     # endif
   19150 
   19151     # ifndef _INT64_T
   19152     # define _INT64_T
   19153     # ifndef int64_t
   19154     __extension__ typedef long long int64_t;
   19155     # endif
   19156     # endif
   19157     # ifndef _UINT64_T
   19158     # define _UINT64_T
   19159     # ifndef uint64_t
   19160     __extension__ typedef unsigned long long uint64_t;
   19161     # endif
   19162     # endif
   19163 
   19164     #elif !defined __STRICT_ANSI__
   19165     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
   19166 
   19167     #  ifndef _INT64_T
   19168     #  define _INT64_T
   19169     #  ifndef int64_t
   19170     typedef __int64 int64_t;
   19171     #  endif
   19172     #  endif
   19173     #  ifndef _UINT64_T
   19174     #  define _UINT64_T
   19175     #  ifndef uint64_t
   19176     typedef unsigned __int64 uint64_t;
   19177     #  endif
   19178     #  endif
   19179     # endif /* compiler */
   19180 
   19181     #endif /* ANSI version */
   19182 EOF
   19183 fi
   19184 
   19185 # ------------- done int64_t types, emit intptr types ------------
   19186 if test "$ac_cv_type_uintptr_t" != yes; then
   19187   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19188 
   19189     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
   19190     #ifndef __uintptr_t_defined
   19191     #ifndef uintptr_t
   19192     typedef u$acx_cv_type_intptr_t uintptr_t;
   19193     #endif
   19194     #endif
   19195     #ifndef __intptr_t_defined
   19196     #ifndef intptr_t
   19197     typedef $acx_cv_type_intptr_t  intptr_t;
   19198     #endif
   19199     #endif
   19200 EOF
   19201 fi
   19202 
   19203 # ------------- done intptr types, emit int_least types ------------
   19204 if test "$ac_cv_type_int_least32_t" != yes; then
   19205   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19206 
   19207     /* Define int_least types */
   19208     typedef int8_t     int_least8_t;
   19209     typedef int16_t    int_least16_t;
   19210     typedef int32_t    int_least32_t;
   19211     #ifdef _INT64_T
   19212     typedef int64_t    int_least64_t;
   19213     #endif
   19214 
   19215     typedef uint8_t    uint_least8_t;
   19216     typedef uint16_t   uint_least16_t;
   19217     typedef uint32_t   uint_least32_t;
   19218     #ifdef _UINT64_T
   19219     typedef uint64_t   uint_least64_t;
   19220     #endif
   19221 EOF
   19222 fi
   19223 
   19224 # ------------- done intptr types, emit int_fast types ------------
   19225 if test "$ac_cv_type_int_fast32_t" != yes; then
   19226       sed 's/^ *//' >> tmp-stdint.h <<EOF
   19227 
   19228     /* Define int_fast types.  short is often slow */
   19229     typedef int8_t       int_fast8_t;
   19230     typedef int          int_fast16_t;
   19231     typedef int32_t      int_fast32_t;
   19232     #ifdef _INT64_T
   19233     typedef int64_t      int_fast64_t;
   19234     #endif
   19235 
   19236     typedef uint8_t      uint_fast8_t;
   19237     typedef unsigned int uint_fast16_t;
   19238     typedef uint32_t     uint_fast32_t;
   19239     #ifdef _UINT64_T
   19240     typedef uint64_t     uint_fast64_t;
   19241     #endif
   19242 EOF
   19243 fi
   19244 
   19245 if test "$ac_cv_type_uintmax_t" != yes; then
   19246   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19247 
   19248     /* Define intmax based on what we found */
   19249     #ifndef intmax_t
   19250     #ifdef _INT64_T
   19251     typedef int64_t       intmax_t;
   19252     #else
   19253     typedef long          intmax_t;
   19254     #endif
   19255     #endif
   19256     #ifndef uintmax_t
   19257     #ifdef _UINT64_T
   19258     typedef uint64_t      uintmax_t;
   19259     #else
   19260     typedef unsigned long uintmax_t;
   19261     #endif
   19262     #endif
   19263 EOF
   19264 fi
   19265 
   19266 sed 's/^ *//' >> tmp-stdint.h <<EOF
   19267 
   19268   #endif /* GCC_GENERATED_STDINT_H */
   19269 EOF
   19270 
   19271 if test -r bfd_stdint.h && cmp -s tmp-stdint.h bfd_stdint.h; then
   19272   rm -f tmp-stdint.h
   19273 else
   19274   mv -f tmp-stdint.h bfd_stdint.h
   19275 fi
   19276 
   19277  ;;
   19278     "default":C)
   19279 case "$srcdir" in
   19280   .) srcdirpre= ;;
   19281   *) srcdirpre='$(srcdir)/' ;;
   19282 esac
   19283 POFILES=
   19284 GMOFILES=
   19285 for lang in dummy $OBSOLETE_ALL_LINGUAS; do
   19286   if test $lang != dummy; then
   19287     POFILES="$POFILES $srcdirpre$lang.po"
   19288     GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   19289   fi
   19290 done
   19291 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
   19292     -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
   19293     -e "s,@POFILES@,$POFILES," \
   19294     -e "s,@GMOFILES@,$GMOFILES," \
   19295     po/Makefile.in > po/Makefile ;;
   19296 
   19297   esac
   19298 done # for ac_tag
   19299 
   19300 
   19301 as_fn_exit 0
   19302 _ACEOF
   19303 ac_clean_files=$ac_clean_files_save
   19304 
   19305 test $ac_write_fail = 0 ||
   19306   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   19307 
   19308 
   19309 # configure is writing to config.log, and then calls config.status.
   19310 # config.status does its own redirection, appending to config.log.
   19311 # Unfortunately, on DOS this fails, as config.log is still kept open
   19312 # by configure, so config.status won't be able to write to it; its
   19313 # output is simply discarded.  So we exec the FD to /dev/null,
   19314 # effectively closing config.log, so it can be properly (re)opened and
   19315 # appended to by config.status.  When coming back to configure, we
   19316 # need to make the FD available again.
   19317 if test "$no_create" != yes; then
   19318   ac_cs_success=:
   19319   ac_config_status_args=
   19320   test "$silent" = yes &&
   19321     ac_config_status_args="$ac_config_status_args --quiet"
   19322   exec 5>/dev/null
   19323   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   19324   exec 5>>config.log
   19325   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   19326   # would make configure fail if this is the last instruction.
   19327   $ac_cs_success || as_fn_exit 1
   19328 fi
   19329 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   19330   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   19331 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   19332 fi
   19333 
   19334