Home | History | Annotate | Line # | Download | only in bfd
configure revision 1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for bfd 2.39.
      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   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    478   sed -n '
    479     p
    480     /[$]LINENO/=
    481   ' <$as_myself |
    482     sed '
    483       s/[$]LINENO.*/&-/
    484       t lineno
    485       b
    486       :lineno
    487       N
    488       :loop
    489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    490       t loop
    491       s/-\n.*//
    492     ' >$as_me.lineno &&
    493   chmod +x "$as_me.lineno" ||
    494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    495 
    496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    497   # already done that, so ensure we don't try to do so again and fall
    498   # in an infinite loop.  This has already happened in practice.
    499   _as_can_reexec=no; export _as_can_reexec
    500   # Don't try to exec as it changes $[0], causing all sort of problems
    501   # (the dirname of $[0] is not the place where we might find the
    502   # original and so on.  Autoconf is especially sensitive to this).
    503   . "./$as_me.lineno"
    504   # Exit status is that of the last command.
    505   exit
    506 }
    507 
    508 ECHO_C= ECHO_N= ECHO_T=
    509 case `echo -n x` in #(((((
    510 -n*)
    511   case `echo 'xy\c'` in
    512   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    513   xy)  ECHO_C='\c';;
    514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    515        ECHO_T='	';;
    516   esac;;
    517 *)
    518   ECHO_N='-n';;
    519 esac
    520 
    521 rm -f conf$$ conf$$.exe conf$$.file
    522 if test -d conf$$.dir; then
    523   rm -f conf$$.dir/conf$$.file
    524 else
    525   rm -f conf$$.dir
    526   mkdir conf$$.dir 2>/dev/null
    527 fi
    528 if (echo >conf$$.file) 2>/dev/null; then
    529   if ln -s conf$$.file conf$$ 2>/dev/null; then
    530     as_ln_s='ln -s'
    531     # ... but there are two gotchas:
    532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    534     # In both cases, we have to default to `cp -pR'.
    535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    536       as_ln_s='cp -pR'
    537   elif ln conf$$.file conf$$ 2>/dev/null; then
    538     as_ln_s=ln
    539   else
    540     as_ln_s='cp -pR'
    541   fi
    542 else
    543   as_ln_s='cp -pR'
    544 fi
    545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    546 rmdir conf$$.dir 2>/dev/null
    547 
    548 if mkdir -p . 2>/dev/null; then
    549   as_mkdir_p='mkdir -p "$as_dir"'
    550 else
    551   test -d ./-p && rmdir ./-p
    552   as_mkdir_p=false
    553 fi
    554 
    555 as_test_x='test -x'
    556 as_executable_p=as_fn_executable_p
    557 
    558 # Sed expression to map a string onto a valid CPP name.
    559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    560 
    561 # Sed expression to map a string onto a valid variable name.
    562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    563 
    564 SHELL=${CONFIG_SHELL-/bin/sh}
    565 
    566 
    567 test -n "$DJDIR" || exec 7<&0 </dev/null
    568 exec 6>&1
    569 
    570 # Name of the host.
    571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    572 # so uname gets run too.
    573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    574 
    575 #
    576 # Initializations.
    577 #
    578 ac_default_prefix=/usr/local
    579 ac_clean_files=
    580 ac_config_libobj_dir=.
    581 LIBOBJS=
    582 cross_compiling=no
    583 subdirs=
    584 MFLAGS=
    585 MAKEFLAGS=
    586 
    587 # Identity of this package.
    588 PACKAGE_NAME='bfd'
    589 PACKAGE_TARNAME='bfd'
    590 PACKAGE_VERSION='2.39'
    591 PACKAGE_STRING='bfd 2.39'
    592 PACKAGE_BUGREPORT=''
    593 PACKAGE_URL=''
    594 
    595 ac_unique_file="libbfd.c"
    596 # Factoring default headers for most tests.
    597 ac_includes_default="\
    598 #include <stdio.h>
    599 #ifdef HAVE_SYS_TYPES_H
    600 # include <sys/types.h>
    601 #endif
    602 #ifdef HAVE_SYS_STAT_H
    603 # include <sys/stat.h>
    604 #endif
    605 #ifdef STDC_HEADERS
    606 # include <stdlib.h>
    607 # include <stddef.h>
    608 #else
    609 # ifdef HAVE_STDLIB_H
    610 #  include <stdlib.h>
    611 # endif
    612 #endif
    613 #ifdef HAVE_STRING_H
    614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    615 #  include <memory.h>
    616 # endif
    617 # include <string.h>
    618 #endif
    619 #ifdef HAVE_STRINGS_H
    620 # include <strings.h>
    621 #endif
    622 #ifdef HAVE_INTTYPES_H
    623 # include <inttypes.h>
    624 #endif
    625 #ifdef HAVE_STDINT_H
    626 # include <stdint.h>
    627 #endif
    628 #ifdef HAVE_UNISTD_H
    629 # include <unistd.h>
    630 #endif"
    631 
    632 ac_header_list=
    633 ac_subst_vars='am__EXEEXT_FALSE
    634 am__EXEEXT_TRUE
    635 LTLIBOBJS
    636 LIBOBJS
    637 bfd_ufile_ptr
    638 bfd_file_ptr
    639 lt_cv_dlopen_libs
    640 supports_plugins
    641 COREFLAG
    642 COREFILE
    643 havevecs
    644 tdefaults
    645 bfd_default_target_size
    646 bfd_machines
    647 bfd_backends
    648 all_backends
    649 bfd64_libs
    650 wordsize
    651 TDEFINES
    652 SHARED_LIBADD
    653 SHARED_LDFLAGS
    654 LIBM
    655 BFD_INT64_FMT
    656 zlibinc
    657 zlibdir
    658 EXEEXT_FOR_BUILD
    659 CC_FOR_BUILD
    660 HDEFINES
    661 MSGMERGE
    662 MSGFMT
    663 MKINSTALLDIRS
    664 CATOBJEXT
    665 GENCAT
    666 INSTOBJEXT
    667 DATADIRNAME
    668 CATALOGS
    669 POSUB
    670 GMSGFMT
    671 XGETTEXT
    672 INCINTL
    673 LIBINTL_DEP
    674 LIBINTL
    675 USE_NLS
    676 bfdincludedir
    677 bfdlibdir
    678 target_noncanonical
    679 host_noncanonical
    680 INSTALL_LIBBFD_FALSE
    681 INSTALL_LIBBFD_TRUE
    682 GENINSRC_NEVER_FALSE
    683 GENINSRC_NEVER_TRUE
    684 MAINT
    685 MAINTAINER_MODE_FALSE
    686 MAINTAINER_MODE_TRUE
    687 WARN_WRITE_STRINGS
    688 NO_WERROR
    689 WARN_CFLAGS_FOR_BUILD
    690 WARN_CFLAGS
    691 REPORT_BUGS_TEXI
    692 REPORT_BUGS_TO
    693 PKGVERSION
    694 DEBUGDIR
    695 ENABLE_BFD_64_BIT_FALSE
    696 ENABLE_BFD_64_BIT_TRUE
    697 PLUGINS_FALSE
    698 PLUGINS_TRUE
    699 LARGEFILE_CPPFLAGS
    700 OTOOL64
    701 OTOOL
    702 LIPO
    703 NMEDIT
    704 DSYMUTIL
    705 OBJDUMP
    706 LN_S
    707 NM
    708 ac_ct_DUMPBIN
    709 DUMPBIN
    710 LD
    711 FGREP
    712 SED
    713 LIBTOOL
    714 EGREP
    715 GREP
    716 CPP
    717 am__fastdepCC_FALSE
    718 am__fastdepCC_TRUE
    719 CCDEPMODE
    720 am__nodep
    721 AMDEPBACKSLASH
    722 AMDEP_FALSE
    723 AMDEP_TRUE
    724 am__quote
    725 am__include
    726 DEPDIR
    727 OBJEXT
    728 EXEEXT
    729 ac_ct_CC
    730 CPPFLAGS
    731 LDFLAGS
    732 CFLAGS
    733 CC
    734 RANLIB
    735 AR
    736 AM_BACKSLASH
    737 AM_DEFAULT_VERBOSITY
    738 AM_DEFAULT_V
    739 AM_V
    740 am__untar
    741 am__tar
    742 AMTAR
    743 am__leading_dot
    744 SET_MAKE
    745 AWK
    746 mkdir_p
    747 MKDIR_P
    748 INSTALL_STRIP_PROGRAM
    749 STRIP
    750 install_sh
    751 MAKEINFO
    752 AUTOHEADER
    753 AUTOMAKE
    754 AUTOCONF
    755 ACLOCAL
    756 VERSION
    757 PACKAGE
    758 CYGPATH_W
    759 am__isrc
    760 INSTALL_DATA
    761 INSTALL_SCRIPT
    762 INSTALL_PROGRAM
    763 target_os
    764 target_vendor
    765 target_cpu
    766 target
    767 host_os
    768 host_vendor
    769 host_cpu
    770 host
    771 build_os
    772 build_vendor
    773 build_cpu
    774 build
    775 target_alias
    776 host_alias
    777 build_alias
    778 LIBS
    779 ECHO_T
    780 ECHO_N
    781 ECHO_C
    782 DEFS
    783 mandir
    784 localedir
    785 libdir
    786 psdir
    787 pdfdir
    788 dvidir
    789 htmldir
    790 infodir
    791 docdir
    792 oldincludedir
    793 includedir
    794 localstatedir
    795 sharedstatedir
    796 sysconfdir
    797 datadir
    798 datarootdir
    799 libexecdir
    800 sbindir
    801 bindir
    802 program_transform_name
    803 prefix
    804 exec_prefix
    805 PACKAGE_URL
    806 PACKAGE_BUGREPORT
    807 PACKAGE_STRING
    808 PACKAGE_VERSION
    809 PACKAGE_TARNAME
    810 PACKAGE_NAME
    811 PATH_SEPARATOR
    812 SHELL'
    813 ac_subst_files=''
    814 ac_user_opts='
    815 enable_option_checking
    816 enable_silent_rules
    817 enable_shared
    818 enable_dependency_tracking
    819 enable_static
    820 with_pic
    821 enable_fast_install
    822 with_gnu_ld
    823 enable_libtool_lock
    824 enable_plugins
    825 enable_largefile
    826 enable_checking
    827 enable_64_bit_bfd
    828 enable_targets
    829 enable_64_bit_archive
    830 with_mmap
    831 enable_secureplt
    832 enable_separate_code
    833 enable_leading_mingw64_underscores
    834 with_separate_debug_dir
    835 with_pkgversion
    836 with_bugurl
    837 enable_werror
    838 enable_build_warnings
    839 enable_maintainer_mode
    840 enable_install_libbfd
    841 enable_nls
    842 with_system_zlib
    843 '
    844       ac_precious_vars='build_alias
    845 host_alias
    846 target_alias
    847 CC
    848 CFLAGS
    849 LDFLAGS
    850 LIBS
    851 CPPFLAGS
    852 CPP'
    853 
    854 
    855 # Initialize some variables set by options.
    856 ac_init_help=
    857 ac_init_version=false
    858 ac_unrecognized_opts=
    859 ac_unrecognized_sep=
    860 # The variables have the same names as the options, with
    861 # dashes changed to underlines.
    862 cache_file=/dev/null
    863 exec_prefix=NONE
    864 no_create=
    865 no_recursion=
    866 prefix=NONE
    867 program_prefix=NONE
    868 program_suffix=NONE
    869 program_transform_name=s,x,x,
    870 silent=
    871 site=
    872 srcdir=
    873 verbose=
    874 x_includes=NONE
    875 x_libraries=NONE
    876 
    877 # Installation directory options.
    878 # These are left unexpanded so users can "make install exec_prefix=/foo"
    879 # and all the variables that are supposed to be based on exec_prefix
    880 # by default will actually change.
    881 # Use braces instead of parens because sh, perl, etc. also accept them.
    882 # (The list follows the same order as the GNU Coding Standards.)
    883 bindir='${exec_prefix}/bin'
    884 sbindir='${exec_prefix}/sbin'
    885 libexecdir='${exec_prefix}/libexec'
    886 datarootdir='${prefix}/share'
    887 datadir='${datarootdir}'
    888 sysconfdir='${prefix}/etc'
    889 sharedstatedir='${prefix}/com'
    890 localstatedir='${prefix}/var'
    891 includedir='${prefix}/include'
    892 oldincludedir='/usr/include'
    893 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    894 infodir='${datarootdir}/info'
    895 htmldir='${docdir}'
    896 dvidir='${docdir}'
    897 pdfdir='${docdir}'
    898 psdir='${docdir}'
    899 libdir='${exec_prefix}/lib'
    900 localedir='${datarootdir}/locale'
    901 mandir='${datarootdir}/man'
    902 
    903 ac_prev=
    904 ac_dashdash=
    905 for ac_option
    906 do
    907   # If the previous option needs an argument, assign it.
    908   if test -n "$ac_prev"; then
    909     eval $ac_prev=\$ac_option
    910     ac_prev=
    911     continue
    912   fi
    913 
    914   case $ac_option in
    915   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    916   *=)   ac_optarg= ;;
    917   *)    ac_optarg=yes ;;
    918   esac
    919 
    920   # Accept the important Cygnus configure options, so we can diagnose typos.
    921 
    922   case $ac_dashdash$ac_option in
    923   --)
    924     ac_dashdash=yes ;;
    925 
    926   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    927     ac_prev=bindir ;;
    928   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    929     bindir=$ac_optarg ;;
    930 
    931   -build | --build | --buil | --bui | --bu)
    932     ac_prev=build_alias ;;
    933   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    934     build_alias=$ac_optarg ;;
    935 
    936   -cache-file | --cache-file | --cache-fil | --cache-fi \
    937   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    938     ac_prev=cache_file ;;
    939   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    940   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    941     cache_file=$ac_optarg ;;
    942 
    943   --config-cache | -C)
    944     cache_file=config.cache ;;
    945 
    946   -datadir | --datadir | --datadi | --datad)
    947     ac_prev=datadir ;;
    948   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    949     datadir=$ac_optarg ;;
    950 
    951   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    952   | --dataroo | --dataro | --datar)
    953     ac_prev=datarootdir ;;
    954   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    955   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    956     datarootdir=$ac_optarg ;;
    957 
    958   -disable-* | --disable-*)
    959     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    960     # Reject names that are not valid shell variable names.
    961     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    962       as_fn_error $? "invalid feature name: $ac_useropt"
    963     ac_useropt_orig=$ac_useropt
    964     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    965     case $ac_user_opts in
    966       *"
    967 "enable_$ac_useropt"
    968 "*) ;;
    969       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    970 	 ac_unrecognized_sep=', ';;
    971     esac
    972     eval enable_$ac_useropt=no ;;
    973 
    974   -docdir | --docdir | --docdi | --doc | --do)
    975     ac_prev=docdir ;;
    976   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    977     docdir=$ac_optarg ;;
    978 
    979   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    980     ac_prev=dvidir ;;
    981   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    982     dvidir=$ac_optarg ;;
    983 
    984   -enable-* | --enable-*)
    985     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    986     # Reject names that are not valid shell variable names.
    987     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    988       as_fn_error $? "invalid feature name: $ac_useropt"
    989     ac_useropt_orig=$ac_useropt
    990     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    991     case $ac_user_opts in
    992       *"
    993 "enable_$ac_useropt"
    994 "*) ;;
    995       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    996 	 ac_unrecognized_sep=', ';;
    997     esac
    998     eval enable_$ac_useropt=\$ac_optarg ;;
    999 
   1000   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1001   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1002   | --exec | --exe | --ex)
   1003     ac_prev=exec_prefix ;;
   1004   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1005   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1006   | --exec=* | --exe=* | --ex=*)
   1007     exec_prefix=$ac_optarg ;;
   1008 
   1009   -gas | --gas | --ga | --g)
   1010     # Obsolete; use --with-gas.
   1011     with_gas=yes ;;
   1012 
   1013   -help | --help | --hel | --he | -h)
   1014     ac_init_help=long ;;
   1015   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1016     ac_init_help=recursive ;;
   1017   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1018     ac_init_help=short ;;
   1019 
   1020   -host | --host | --hos | --ho)
   1021     ac_prev=host_alias ;;
   1022   -host=* | --host=* | --hos=* | --ho=*)
   1023     host_alias=$ac_optarg ;;
   1024 
   1025   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1026     ac_prev=htmldir ;;
   1027   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1028   | --ht=*)
   1029     htmldir=$ac_optarg ;;
   1030 
   1031   -includedir | --includedir | --includedi | --included | --include \
   1032   | --includ | --inclu | --incl | --inc)
   1033     ac_prev=includedir ;;
   1034   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1035   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1036     includedir=$ac_optarg ;;
   1037 
   1038   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1039     ac_prev=infodir ;;
   1040   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1041     infodir=$ac_optarg ;;
   1042 
   1043   -libdir | --libdir | --libdi | --libd)
   1044     ac_prev=libdir ;;
   1045   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1046     libdir=$ac_optarg ;;
   1047 
   1048   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1049   | --libexe | --libex | --libe)
   1050     ac_prev=libexecdir ;;
   1051   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1052   | --libexe=* | --libex=* | --libe=*)
   1053     libexecdir=$ac_optarg ;;
   1054 
   1055   -localedir | --localedir | --localedi | --localed | --locale)
   1056     ac_prev=localedir ;;
   1057   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1058     localedir=$ac_optarg ;;
   1059 
   1060   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1061   | --localstate | --localstat | --localsta | --localst | --locals)
   1062     ac_prev=localstatedir ;;
   1063   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1064   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1065     localstatedir=$ac_optarg ;;
   1066 
   1067   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1068     ac_prev=mandir ;;
   1069   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1070     mandir=$ac_optarg ;;
   1071 
   1072   -nfp | --nfp | --nf)
   1073     # Obsolete; use --without-fp.
   1074     with_fp=no ;;
   1075 
   1076   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1077   | --no-cr | --no-c | -n)
   1078     no_create=yes ;;
   1079 
   1080   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1081   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1082     no_recursion=yes ;;
   1083 
   1084   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1085   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1086   | --oldin | --oldi | --old | --ol | --o)
   1087     ac_prev=oldincludedir ;;
   1088   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1089   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1090   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1091     oldincludedir=$ac_optarg ;;
   1092 
   1093   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1094     ac_prev=prefix ;;
   1095   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1096     prefix=$ac_optarg ;;
   1097 
   1098   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1099   | --program-pre | --program-pr | --program-p)
   1100     ac_prev=program_prefix ;;
   1101   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1102   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1103     program_prefix=$ac_optarg ;;
   1104 
   1105   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1106   | --program-suf | --program-su | --program-s)
   1107     ac_prev=program_suffix ;;
   1108   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1109   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1110     program_suffix=$ac_optarg ;;
   1111 
   1112   -program-transform-name | --program-transform-name \
   1113   | --program-transform-nam | --program-transform-na \
   1114   | --program-transform-n | --program-transform- \
   1115   | --program-transform | --program-transfor \
   1116   | --program-transfo | --program-transf \
   1117   | --program-trans | --program-tran \
   1118   | --progr-tra | --program-tr | --program-t)
   1119     ac_prev=program_transform_name ;;
   1120   -program-transform-name=* | --program-transform-name=* \
   1121   | --program-transform-nam=* | --program-transform-na=* \
   1122   | --program-transform-n=* | --program-transform-=* \
   1123   | --program-transform=* | --program-transfor=* \
   1124   | --program-transfo=* | --program-transf=* \
   1125   | --program-trans=* | --program-tran=* \
   1126   | --progr-tra=* | --program-tr=* | --program-t=*)
   1127     program_transform_name=$ac_optarg ;;
   1128 
   1129   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1130     ac_prev=pdfdir ;;
   1131   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1132     pdfdir=$ac_optarg ;;
   1133 
   1134   -psdir | --psdir | --psdi | --psd | --ps)
   1135     ac_prev=psdir ;;
   1136   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1137     psdir=$ac_optarg ;;
   1138 
   1139   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1140   | -silent | --silent | --silen | --sile | --sil)
   1141     silent=yes ;;
   1142 
   1143   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1144     ac_prev=sbindir ;;
   1145   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1146   | --sbi=* | --sb=*)
   1147     sbindir=$ac_optarg ;;
   1148 
   1149   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1150   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1151   | --sharedst | --shareds | --shared | --share | --shar \
   1152   | --sha | --sh)
   1153     ac_prev=sharedstatedir ;;
   1154   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1155   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1156   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1157   | --sha=* | --sh=*)
   1158     sharedstatedir=$ac_optarg ;;
   1159 
   1160   -site | --site | --sit)
   1161     ac_prev=site ;;
   1162   -site=* | --site=* | --sit=*)
   1163     site=$ac_optarg ;;
   1164 
   1165   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1166     ac_prev=srcdir ;;
   1167   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1168     srcdir=$ac_optarg ;;
   1169 
   1170   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1171   | --syscon | --sysco | --sysc | --sys | --sy)
   1172     ac_prev=sysconfdir ;;
   1173   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1174   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1175     sysconfdir=$ac_optarg ;;
   1176 
   1177   -target | --target | --targe | --targ | --tar | --ta | --t)
   1178     ac_prev=target_alias ;;
   1179   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1180     target_alias=$ac_optarg ;;
   1181 
   1182   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1183     verbose=yes ;;
   1184 
   1185   -version | --version | --versio | --versi | --vers | -V)
   1186     ac_init_version=: ;;
   1187 
   1188   -with-* | --with-*)
   1189     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1190     # Reject names that are not valid shell variable names.
   1191     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1192       as_fn_error $? "invalid package name: $ac_useropt"
   1193     ac_useropt_orig=$ac_useropt
   1194     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1195     case $ac_user_opts in
   1196       *"
   1197 "with_$ac_useropt"
   1198 "*) ;;
   1199       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1200 	 ac_unrecognized_sep=', ';;
   1201     esac
   1202     eval with_$ac_useropt=\$ac_optarg ;;
   1203 
   1204   -without-* | --without-*)
   1205     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1206     # Reject names that are not valid shell variable names.
   1207     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1208       as_fn_error $? "invalid package name: $ac_useropt"
   1209     ac_useropt_orig=$ac_useropt
   1210     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1211     case $ac_user_opts in
   1212       *"
   1213 "with_$ac_useropt"
   1214 "*) ;;
   1215       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1216 	 ac_unrecognized_sep=', ';;
   1217     esac
   1218     eval with_$ac_useropt=no ;;
   1219 
   1220   --x)
   1221     # Obsolete; use --with-x.
   1222     with_x=yes ;;
   1223 
   1224   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1225   | --x-incl | --x-inc | --x-in | --x-i)
   1226     ac_prev=x_includes ;;
   1227   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1228   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1229     x_includes=$ac_optarg ;;
   1230 
   1231   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1232   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1233     ac_prev=x_libraries ;;
   1234   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1235   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1236     x_libraries=$ac_optarg ;;
   1237 
   1238   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1239 Try \`$0 --help' for more information"
   1240     ;;
   1241 
   1242   *=*)
   1243     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1244     # Reject names that are not valid shell variable names.
   1245     case $ac_envvar in #(
   1246       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1247       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1248     esac
   1249     eval $ac_envvar=\$ac_optarg
   1250     export $ac_envvar ;;
   1251 
   1252   *)
   1253     # FIXME: should be removed in autoconf 3.0.
   1254     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1255     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1256       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1257     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1258     ;;
   1259 
   1260   esac
   1261 done
   1262 
   1263 if test -n "$ac_prev"; then
   1264   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1265   as_fn_error $? "missing argument to $ac_option"
   1266 fi
   1267 
   1268 if test -n "$ac_unrecognized_opts"; then
   1269   case $enable_option_checking in
   1270     no) ;;
   1271     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1272     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1273   esac
   1274 fi
   1275 
   1276 # Check all directory arguments for consistency.
   1277 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1278 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1279 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1280 		libdir localedir mandir
   1281 do
   1282   eval ac_val=\$$ac_var
   1283   # Remove trailing slashes.
   1284   case $ac_val in
   1285     */ )
   1286       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1287       eval $ac_var=\$ac_val;;
   1288   esac
   1289   # Be sure to have absolute directory names.
   1290   case $ac_val in
   1291     [\\/$]* | ?:[\\/]* )  continue;;
   1292     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1293   esac
   1294   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1295 done
   1296 
   1297 # There might be people who depend on the old broken behavior: `$host'
   1298 # used to hold the argument of --host etc.
   1299 # FIXME: To remove some day.
   1300 build=$build_alias
   1301 host=$host_alias
   1302 target=$target_alias
   1303 
   1304 # FIXME: To remove some day.
   1305 if test "x$host_alias" != x; then
   1306   if test "x$build_alias" = x; then
   1307     cross_compiling=maybe
   1308   elif test "x$build_alias" != "x$host_alias"; then
   1309     cross_compiling=yes
   1310   fi
   1311 fi
   1312 
   1313 ac_tool_prefix=
   1314 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1315 
   1316 test "$silent" = yes && exec 6>/dev/null
   1317 
   1318 
   1319 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1320 ac_ls_di=`ls -di .` &&
   1321 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1322   as_fn_error $? "working directory cannot be determined"
   1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1324   as_fn_error $? "pwd does not report name of working directory"
   1325 
   1326 
   1327 # Find the source files, if location was not specified.
   1328 if test -z "$srcdir"; then
   1329   ac_srcdir_defaulted=yes
   1330   # Try the directory containing this script, then the parent directory.
   1331   ac_confdir=`$as_dirname -- "$as_myself" ||
   1332 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1333 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1334 	 X"$as_myself" : 'X\(//\)$' \| \
   1335 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1336 $as_echo X"$as_myself" |
   1337     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1338 	    s//\1/
   1339 	    q
   1340 	  }
   1341 	  /^X\(\/\/\)[^/].*/{
   1342 	    s//\1/
   1343 	    q
   1344 	  }
   1345 	  /^X\(\/\/\)$/{
   1346 	    s//\1/
   1347 	    q
   1348 	  }
   1349 	  /^X\(\/\).*/{
   1350 	    s//\1/
   1351 	    q
   1352 	  }
   1353 	  s/.*/./; q'`
   1354   srcdir=$ac_confdir
   1355   if test ! -r "$srcdir/$ac_unique_file"; then
   1356     srcdir=..
   1357   fi
   1358 else
   1359   ac_srcdir_defaulted=no
   1360 fi
   1361 if test ! -r "$srcdir/$ac_unique_file"; then
   1362   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1363   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1364 fi
   1365 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1366 ac_abs_confdir=`(
   1367 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1368 	pwd)`
   1369 # When building in place, set srcdir=.
   1370 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1371   srcdir=.
   1372 fi
   1373 # Remove unnecessary trailing slashes from srcdir.
   1374 # Double slashes in file names in object file debugging info
   1375 # mess up M-x gdb in Emacs.
   1376 case $srcdir in
   1377 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1378 esac
   1379 for ac_var in $ac_precious_vars; do
   1380   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1381   eval ac_env_${ac_var}_value=\$${ac_var}
   1382   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1383   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1384 done
   1385 
   1386 #
   1387 # Report the --help message.
   1388 #
   1389 if test "$ac_init_help" = "long"; then
   1390   # Omit some internal or obsolete options to make the list less imposing.
   1391   # This message is too long to be a string in the A/UX 3.1 sh.
   1392   cat <<_ACEOF
   1393 \`configure' configures bfd 2.39 to adapt to many kinds of systems.
   1394 
   1395 Usage: $0 [OPTION]... [VAR=VALUE]...
   1396 
   1397 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1398 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1399 
   1400 Defaults for the options are specified in brackets.
   1401 
   1402 Configuration:
   1403   -h, --help              display this help and exit
   1404       --help=short        display options specific to this package
   1405       --help=recursive    display the short help of all the included packages
   1406   -V, --version           display version information and exit
   1407   -q, --quiet, --silent   do not print \`checking ...' messages
   1408       --cache-file=FILE   cache test results in FILE [disabled]
   1409   -C, --config-cache      alias for \`--cache-file=config.cache'
   1410   -n, --no-create         do not create output files
   1411       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1412 
   1413 Installation directories:
   1414   --prefix=PREFIX         install architecture-independent files in PREFIX
   1415                           [$ac_default_prefix]
   1416   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1417                           [PREFIX]
   1418 
   1419 By default, \`make install' will install all the files in
   1420 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1421 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1422 for instance \`--prefix=\$HOME'.
   1423 
   1424 For better control, use the options below.
   1425 
   1426 Fine tuning of the installation directories:
   1427   --bindir=DIR            user executables [EPREFIX/bin]
   1428   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1429   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1430   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1431   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1432   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1433   --libdir=DIR            object code libraries [EPREFIX/lib]
   1434   --includedir=DIR        C header files [PREFIX/include]
   1435   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1436   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1437   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1438   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1439   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1440   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1441   --docdir=DIR            documentation root [DATAROOTDIR/doc/bfd]
   1442   --htmldir=DIR           html documentation [DOCDIR]
   1443   --dvidir=DIR            dvi documentation [DOCDIR]
   1444   --pdfdir=DIR            pdf documentation [DOCDIR]
   1445   --psdir=DIR             ps documentation [DOCDIR]
   1446 _ACEOF
   1447 
   1448   cat <<\_ACEOF
   1449 
   1450 Program names:
   1451   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1452   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1453   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1454 
   1455 System types:
   1456   --build=BUILD     configure for building on BUILD [guessed]
   1457   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1458   --target=TARGET   configure for building compilers for TARGET [HOST]
   1459 _ACEOF
   1460 fi
   1461 
   1462 if test -n "$ac_init_help"; then
   1463   case $ac_init_help in
   1464      short | recursive ) echo "Configuration of bfd 2.39:";;
   1465    esac
   1466   cat <<\_ACEOF
   1467 
   1468 Optional Features:
   1469   --disable-option-checking  ignore unrecognized --enable/--with options
   1470   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1471   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1472   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1473   --disable-silent-rules  verbose build output (undo: "make V=0")
   1474   --enable-shared[=PKGS]  build shared libraries [default=no]
   1475   --enable-dependency-tracking
   1476                           do not reject slow dependency extractors
   1477   --disable-dependency-tracking
   1478                           speeds up one-time build
   1479   --enable-static[=PKGS]  build static libraries [default=yes]
   1480   --enable-fast-install[=PKGS]
   1481                           optimize for fast installation [default=yes]
   1482   --disable-libtool-lock  avoid locking (might break parallel builds)
   1483   --enable-plugins        Enable support for plugins
   1484   --disable-largefile     omit support for large files
   1485   --enable-checking       enable run-time checks
   1486   --enable-64-bit-bfd     64-bit support (on hosts with narrower word sizes)
   1487   --enable-targets        alternative target configurations
   1488   --enable-64-bit-archive force 64-bit archives
   1489   --enable-secureplt      Default to creating read-only plt entries
   1490   --enable-separate-code  enable -z separate-code in ELF linker by default
   1491   --enable-leading-mingw64-underscores
   1492                           Enable leading underscores on 64 bit mingw targets
   1493   --enable-werror         treat compile warnings as errors
   1494   --enable-build-warnings enable build-time compiler warnings
   1495   --enable-maintainer-mode
   1496                           enable make rules and dependencies not useful (and
   1497                           sometimes confusing) to the casual installer
   1498   --enable-install-libbfd controls installation of libbfd and related headers
   1499   --disable-nls           do not use Native Language Support
   1500 
   1501 Optional Packages:
   1502   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1503   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1504   --with-pic              try to use only PIC/non-PIC objects [default=use
   1505                           both]
   1506   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1507   --with-mmap             try using mmap for BFD input files if available
   1508   --with-separate-debug-dir=DIR
   1509                           Look for global separate debug info in DIR
   1510                           [[default=LIBDIR/debug]]
   1511   --with-pkgversion=PKG   Use PKG in the version string in place of "GNU
   1512                           Binutils"
   1513   --with-bugurl=URL       Direct users to URL to report a bug
   1514   --with-system-zlib      use installed libz
   1515 
   1516 Some influential environment variables:
   1517   CC          C compiler command
   1518   CFLAGS      C compiler flags
   1519   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1520               nonstandard directory <lib dir>
   1521   LIBS        libraries to pass to the linker, e.g. -l<library>
   1522   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1523               you have headers in a nonstandard directory <include dir>
   1524   CPP         C preprocessor
   1525 
   1526 Use these variables to override the choices made by `configure' or to help
   1527 it to find libraries and programs with nonstandard names/locations.
   1528 
   1529 Report bugs to the package provider.
   1530 _ACEOF
   1531 ac_status=$?
   1532 fi
   1533 
   1534 if test "$ac_init_help" = "recursive"; then
   1535   # If there are subdirs, report their specific --help.
   1536   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1537     test -d "$ac_dir" ||
   1538       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1539       continue
   1540     ac_builddir=.
   1541 
   1542 case "$ac_dir" in
   1543 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1544 *)
   1545   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1546   # A ".." for each directory in $ac_dir_suffix.
   1547   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1548   case $ac_top_builddir_sub in
   1549   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1550   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1551   esac ;;
   1552 esac
   1553 ac_abs_top_builddir=$ac_pwd
   1554 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1555 # for backward compatibility:
   1556 ac_top_builddir=$ac_top_build_prefix
   1557 
   1558 case $srcdir in
   1559   .)  # We are building in place.
   1560     ac_srcdir=.
   1561     ac_top_srcdir=$ac_top_builddir_sub
   1562     ac_abs_top_srcdir=$ac_pwd ;;
   1563   [\\/]* | ?:[\\/]* )  # Absolute name.
   1564     ac_srcdir=$srcdir$ac_dir_suffix;
   1565     ac_top_srcdir=$srcdir
   1566     ac_abs_top_srcdir=$srcdir ;;
   1567   *) # Relative name.
   1568     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1569     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1570     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1571 esac
   1572 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1573 
   1574     cd "$ac_dir" || { ac_status=$?; continue; }
   1575     # Check for guested configure.
   1576     if test -f "$ac_srcdir/configure.gnu"; then
   1577       echo &&
   1578       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1579     elif test -f "$ac_srcdir/configure"; then
   1580       echo &&
   1581       $SHELL "$ac_srcdir/configure" --help=recursive
   1582     else
   1583       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1584     fi || ac_status=$?
   1585     cd "$ac_pwd" || { ac_status=$?; break; }
   1586   done
   1587 fi
   1588 
   1589 test -n "$ac_init_help" && exit $ac_status
   1590 if $ac_init_version; then
   1591   cat <<\_ACEOF
   1592 bfd configure 2.39
   1593 generated by GNU Autoconf 2.69
   1594 
   1595 Copyright (C) 2012 Free Software Foundation, Inc.
   1596 This configure script is free software; the Free Software Foundation
   1597 gives unlimited permission to copy, distribute and modify it.
   1598 _ACEOF
   1599   exit
   1600 fi
   1601 
   1602 ## ------------------------ ##
   1603 ## Autoconf initialization. ##
   1604 ## ------------------------ ##
   1605 
   1606 # ac_fn_c_try_compile LINENO
   1607 # --------------------------
   1608 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1609 ac_fn_c_try_compile ()
   1610 {
   1611   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1612   rm -f conftest.$ac_objext
   1613   if { { ac_try="$ac_compile"
   1614 case "(($ac_try" in
   1615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1616   *) ac_try_echo=$ac_try;;
   1617 esac
   1618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1619 $as_echo "$ac_try_echo"; } >&5
   1620   (eval "$ac_compile") 2>conftest.err
   1621   ac_status=$?
   1622   if test -s conftest.err; then
   1623     grep -v '^ *+' conftest.err >conftest.er1
   1624     cat conftest.er1 >&5
   1625     mv -f conftest.er1 conftest.err
   1626   fi
   1627   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1628   test $ac_status = 0; } && {
   1629 	 test -z "$ac_c_werror_flag" ||
   1630 	 test ! -s conftest.err
   1631        } && test -s conftest.$ac_objext; then :
   1632   ac_retval=0
   1633 else
   1634   $as_echo "$as_me: failed program was:" >&5
   1635 sed 's/^/| /' conftest.$ac_ext >&5
   1636 
   1637 	ac_retval=1
   1638 fi
   1639   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1640   as_fn_set_status $ac_retval
   1641 
   1642 } # ac_fn_c_try_compile
   1643 
   1644 # ac_fn_c_try_cpp LINENO
   1645 # ----------------------
   1646 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1647 ac_fn_c_try_cpp ()
   1648 {
   1649   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1650   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1651 case "(($ac_try" in
   1652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1653   *) ac_try_echo=$ac_try;;
   1654 esac
   1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1656 $as_echo "$ac_try_echo"; } >&5
   1657   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1658   ac_status=$?
   1659   if test -s conftest.err; then
   1660     grep -v '^ *+' conftest.err >conftest.er1
   1661     cat conftest.er1 >&5
   1662     mv -f conftest.er1 conftest.err
   1663   fi
   1664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1665   test $ac_status = 0; } > conftest.i && {
   1666 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1667 	 test ! -s conftest.err
   1668        }; then :
   1669   ac_retval=0
   1670 else
   1671   $as_echo "$as_me: failed program was:" >&5
   1672 sed 's/^/| /' conftest.$ac_ext >&5
   1673 
   1674     ac_retval=1
   1675 fi
   1676   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1677   as_fn_set_status $ac_retval
   1678 
   1679 } # ac_fn_c_try_cpp
   1680 
   1681 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1682 # -------------------------------------------------------
   1683 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1684 # the include files in INCLUDES and setting the cache variable VAR
   1685 # accordingly.
   1686 ac_fn_c_check_header_mongrel ()
   1687 {
   1688   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1689   if eval \${$3+:} false; then :
   1690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1691 $as_echo_n "checking for $2... " >&6; }
   1692 if eval \${$3+:} false; then :
   1693   $as_echo_n "(cached) " >&6
   1694 fi
   1695 eval ac_res=\$$3
   1696 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1697 $as_echo "$ac_res" >&6; }
   1698 else
   1699   # Is the header compilable?
   1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1701 $as_echo_n "checking $2 usability... " >&6; }
   1702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1703 /* end confdefs.h.  */
   1704 $4
   1705 #include <$2>
   1706 _ACEOF
   1707 if ac_fn_c_try_compile "$LINENO"; then :
   1708   ac_header_compiler=yes
   1709 else
   1710   ac_header_compiler=no
   1711 fi
   1712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1714 $as_echo "$ac_header_compiler" >&6; }
   1715 
   1716 # Is the header present?
   1717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1718 $as_echo_n "checking $2 presence... " >&6; }
   1719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1720 /* end confdefs.h.  */
   1721 #include <$2>
   1722 _ACEOF
   1723 if ac_fn_c_try_cpp "$LINENO"; then :
   1724   ac_header_preproc=yes
   1725 else
   1726   ac_header_preproc=no
   1727 fi
   1728 rm -f conftest.err conftest.i conftest.$ac_ext
   1729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1730 $as_echo "$ac_header_preproc" >&6; }
   1731 
   1732 # So?  What about this header?
   1733 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1734   yes:no: )
   1735     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1736 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1737     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1738 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1739     ;;
   1740   no:yes:* )
   1741     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1742 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1743     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1744 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1745     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1746 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1747     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1748 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1749     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1750 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1751     ;;
   1752 esac
   1753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1754 $as_echo_n "checking for $2... " >&6; }
   1755 if eval \${$3+:} false; then :
   1756   $as_echo_n "(cached) " >&6
   1757 else
   1758   eval "$3=\$ac_header_compiler"
   1759 fi
   1760 eval ac_res=\$$3
   1761 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1762 $as_echo "$ac_res" >&6; }
   1763 fi
   1764   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1765 
   1766 } # ac_fn_c_check_header_mongrel
   1767 
   1768 # ac_fn_c_try_run LINENO
   1769 # ----------------------
   1770 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1771 # that executables *can* be run.
   1772 ac_fn_c_try_run ()
   1773 {
   1774   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1775   if { { ac_try="$ac_link"
   1776 case "(($ac_try" in
   1777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1778   *) ac_try_echo=$ac_try;;
   1779 esac
   1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1781 $as_echo "$ac_try_echo"; } >&5
   1782   (eval "$ac_link") 2>&5
   1783   ac_status=$?
   1784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1785   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1786   { { case "(($ac_try" in
   1787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1788   *) ac_try_echo=$ac_try;;
   1789 esac
   1790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1791 $as_echo "$ac_try_echo"; } >&5
   1792   (eval "$ac_try") 2>&5
   1793   ac_status=$?
   1794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1795   test $ac_status = 0; }; }; then :
   1796   ac_retval=0
   1797 else
   1798   $as_echo "$as_me: program exited with status $ac_status" >&5
   1799        $as_echo "$as_me: failed program was:" >&5
   1800 sed 's/^/| /' conftest.$ac_ext >&5
   1801 
   1802        ac_retval=$ac_status
   1803 fi
   1804   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1805   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1806   as_fn_set_status $ac_retval
   1807 
   1808 } # ac_fn_c_try_run
   1809 
   1810 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1811 # -------------------------------------------------------
   1812 # Tests whether HEADER exists and can be compiled using the include files in
   1813 # INCLUDES, setting the cache variable VAR accordingly.
   1814 ac_fn_c_check_header_compile ()
   1815 {
   1816   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1818 $as_echo_n "checking for $2... " >&6; }
   1819 if eval \${$3+:} false; then :
   1820   $as_echo_n "(cached) " >&6
   1821 else
   1822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1823 /* end confdefs.h.  */
   1824 $4
   1825 #include <$2>
   1826 _ACEOF
   1827 if ac_fn_c_try_compile "$LINENO"; then :
   1828   eval "$3=yes"
   1829 else
   1830   eval "$3=no"
   1831 fi
   1832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1833 fi
   1834 eval ac_res=\$$3
   1835 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1836 $as_echo "$ac_res" >&6; }
   1837   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1838 
   1839 } # ac_fn_c_check_header_compile
   1840 
   1841 # ac_fn_c_try_link LINENO
   1842 # -----------------------
   1843 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1844 ac_fn_c_try_link ()
   1845 {
   1846   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1847   rm -f conftest.$ac_objext conftest$ac_exeext
   1848   if { { ac_try="$ac_link"
   1849 case "(($ac_try" in
   1850   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1851   *) ac_try_echo=$ac_try;;
   1852 esac
   1853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1854 $as_echo "$ac_try_echo"; } >&5
   1855   (eval "$ac_link") 2>conftest.err
   1856   ac_status=$?
   1857   if test -s conftest.err; then
   1858     grep -v '^ *+' conftest.err >conftest.er1
   1859     cat conftest.er1 >&5
   1860     mv -f conftest.er1 conftest.err
   1861   fi
   1862   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1863   test $ac_status = 0; } && {
   1864 	 test -z "$ac_c_werror_flag" ||
   1865 	 test ! -s conftest.err
   1866        } && test -s conftest$ac_exeext && {
   1867 	 test "$cross_compiling" = yes ||
   1868 	 test -x conftest$ac_exeext
   1869        }; then :
   1870   ac_retval=0
   1871 else
   1872   $as_echo "$as_me: failed program was:" >&5
   1873 sed 's/^/| /' conftest.$ac_ext >&5
   1874 
   1875 	ac_retval=1
   1876 fi
   1877   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1878   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1879   # interfere with the next link command; also delete a directory that is
   1880   # left behind by Apple's compiler.  We do this before executing the actions.
   1881   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1882   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1883   as_fn_set_status $ac_retval
   1884 
   1885 } # ac_fn_c_try_link
   1886 
   1887 # ac_fn_c_check_func LINENO FUNC VAR
   1888 # ----------------------------------
   1889 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1890 ac_fn_c_check_func ()
   1891 {
   1892   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1894 $as_echo_n "checking for $2... " >&6; }
   1895 if eval \${$3+:} false; then :
   1896   $as_echo_n "(cached) " >&6
   1897 else
   1898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1899 /* end confdefs.h.  */
   1900 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1901    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1902 #define $2 innocuous_$2
   1903 
   1904 /* System header to define __stub macros and hopefully few prototypes,
   1905     which can conflict with char $2 (); below.
   1906     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1907     <limits.h> exists even on freestanding compilers.  */
   1908 
   1909 #ifdef __STDC__
   1910 # include <limits.h>
   1911 #else
   1912 # include <assert.h>
   1913 #endif
   1914 
   1915 #undef $2
   1916 
   1917 /* Override any GCC internal prototype to avoid an error.
   1918    Use char because int might match the return type of a GCC
   1919    builtin and then its argument prototype would still apply.  */
   1920 #ifdef __cplusplus
   1921 extern "C"
   1922 #endif
   1923 char $2 ();
   1924 /* The GNU C library defines this for functions which it implements
   1925     to always fail with ENOSYS.  Some functions are actually named
   1926     something starting with __ and the normal name is an alias.  */
   1927 #if defined __stub_$2 || defined __stub___$2
   1928 choke me
   1929 #endif
   1930 
   1931 int
   1932 main ()
   1933 {
   1934 return $2 ();
   1935   ;
   1936   return 0;
   1937 }
   1938 _ACEOF
   1939 if ac_fn_c_try_link "$LINENO"; then :
   1940   eval "$3=yes"
   1941 else
   1942   eval "$3=no"
   1943 fi
   1944 rm -f core conftest.err conftest.$ac_objext \
   1945     conftest$ac_exeext conftest.$ac_ext
   1946 fi
   1947 eval ac_res=\$$3
   1948 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1949 $as_echo "$ac_res" >&6; }
   1950   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1951 
   1952 } # ac_fn_c_check_func
   1953 
   1954 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   1955 # --------------------------------------------
   1956 # Tries to find the compile-time value of EXPR in a program that includes
   1957 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   1958 # computed
   1959 ac_fn_c_compute_int ()
   1960 {
   1961   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1962   if test "$cross_compiling" = yes; then
   1963     # Depending upon the size, compute the lo and hi bounds.
   1964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1965 /* end confdefs.h.  */
   1966 $4
   1967 int
   1968 main ()
   1969 {
   1970 static int test_array [1 - 2 * !(($2) >= 0)];
   1971 test_array [0] = 0;
   1972 return test_array [0];
   1973 
   1974   ;
   1975   return 0;
   1976 }
   1977 _ACEOF
   1978 if ac_fn_c_try_compile "$LINENO"; then :
   1979   ac_lo=0 ac_mid=0
   1980   while :; do
   1981     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1982 /* end confdefs.h.  */
   1983 $4
   1984 int
   1985 main ()
   1986 {
   1987 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   1988 test_array [0] = 0;
   1989 return test_array [0];
   1990 
   1991   ;
   1992   return 0;
   1993 }
   1994 _ACEOF
   1995 if ac_fn_c_try_compile "$LINENO"; then :
   1996   ac_hi=$ac_mid; break
   1997 else
   1998   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   1999 			if test $ac_lo -le $ac_mid; then
   2000 			  ac_lo= ac_hi=
   2001 			  break
   2002 			fi
   2003 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2004 fi
   2005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2006   done
   2007 else
   2008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2009 /* end confdefs.h.  */
   2010 $4
   2011 int
   2012 main ()
   2013 {
   2014 static int test_array [1 - 2 * !(($2) < 0)];
   2015 test_array [0] = 0;
   2016 return test_array [0];
   2017 
   2018   ;
   2019   return 0;
   2020 }
   2021 _ACEOF
   2022 if ac_fn_c_try_compile "$LINENO"; then :
   2023   ac_hi=-1 ac_mid=-1
   2024   while :; do
   2025     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2026 /* end confdefs.h.  */
   2027 $4
   2028 int
   2029 main ()
   2030 {
   2031 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2032 test_array [0] = 0;
   2033 return test_array [0];
   2034 
   2035   ;
   2036   return 0;
   2037 }
   2038 _ACEOF
   2039 if ac_fn_c_try_compile "$LINENO"; then :
   2040   ac_lo=$ac_mid; break
   2041 else
   2042   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2043 			if test $ac_mid -le $ac_hi; then
   2044 			  ac_lo= ac_hi=
   2045 			  break
   2046 			fi
   2047 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2048 fi
   2049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2050   done
   2051 else
   2052   ac_lo= ac_hi=
   2053 fi
   2054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2055 fi
   2056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2057 # Binary search between lo and hi bounds.
   2058 while test "x$ac_lo" != "x$ac_hi"; do
   2059   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2061 /* end confdefs.h.  */
   2062 $4
   2063 int
   2064 main ()
   2065 {
   2066 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2067 test_array [0] = 0;
   2068 return test_array [0];
   2069 
   2070   ;
   2071   return 0;
   2072 }
   2073 _ACEOF
   2074 if ac_fn_c_try_compile "$LINENO"; then :
   2075   ac_hi=$ac_mid
   2076 else
   2077   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2078 fi
   2079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2080 done
   2081 case $ac_lo in #((
   2082 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2083 '') ac_retval=1 ;;
   2084 esac
   2085   else
   2086     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2087 /* end confdefs.h.  */
   2088 $4
   2089 static long int longval () { return $2; }
   2090 static unsigned long int ulongval () { return $2; }
   2091 #include <stdio.h>
   2092 #include <stdlib.h>
   2093 int
   2094 main ()
   2095 {
   2096 
   2097   FILE *f = fopen ("conftest.val", "w");
   2098   if (! f)
   2099     return 1;
   2100   if (($2) < 0)
   2101     {
   2102       long int i = longval ();
   2103       if (i != ($2))
   2104 	return 1;
   2105       fprintf (f, "%ld", i);
   2106     }
   2107   else
   2108     {
   2109       unsigned long int i = ulongval ();
   2110       if (i != ($2))
   2111 	return 1;
   2112       fprintf (f, "%lu", i);
   2113     }
   2114   /* Do not output a trailing newline, as this causes \r\n confusion
   2115      on some platforms.  */
   2116   return ferror (f) || fclose (f) != 0;
   2117 
   2118   ;
   2119   return 0;
   2120 }
   2121 _ACEOF
   2122 if ac_fn_c_try_run "$LINENO"; then :
   2123   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2124 else
   2125   ac_retval=1
   2126 fi
   2127 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2128   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2129 rm -f conftest.val
   2130 
   2131   fi
   2132   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2133   as_fn_set_status $ac_retval
   2134 
   2135 } # ac_fn_c_compute_int
   2136 
   2137 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2138 # ---------------------------------------------
   2139 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2140 # accordingly.
   2141 ac_fn_c_check_decl ()
   2142 {
   2143   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2144   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2145   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2147 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2148 if eval \${$3+:} false; then :
   2149   $as_echo_n "(cached) " >&6
   2150 else
   2151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2152 /* end confdefs.h.  */
   2153 $4
   2154 int
   2155 main ()
   2156 {
   2157 #ifndef $as_decl_name
   2158 #ifdef __cplusplus
   2159   (void) $as_decl_use;
   2160 #else
   2161   (void) $as_decl_name;
   2162 #endif
   2163 #endif
   2164 
   2165   ;
   2166   return 0;
   2167 }
   2168 _ACEOF
   2169 if ac_fn_c_try_compile "$LINENO"; then :
   2170   eval "$3=yes"
   2171 else
   2172   eval "$3=no"
   2173 fi
   2174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2175 fi
   2176 eval ac_res=\$$3
   2177 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2178 $as_echo "$ac_res" >&6; }
   2179   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2180 
   2181 } # ac_fn_c_check_decl
   2182 cat >config.log <<_ACEOF
   2183 This file contains any messages produced by compilers while
   2184 running configure, to aid debugging if configure makes a mistake.
   2185 
   2186 It was created by bfd $as_me 2.39, which was
   2187 generated by GNU Autoconf 2.69.  Invocation command line was
   2188 
   2189   $ $0 $@
   2190 
   2191 _ACEOF
   2192 exec 5>>config.log
   2193 {
   2194 cat <<_ASUNAME
   2195 ## --------- ##
   2196 ## Platform. ##
   2197 ## --------- ##
   2198 
   2199 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2200 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2201 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2202 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2203 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2204 
   2205 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2206 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2207 
   2208 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2209 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2210 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2211 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2212 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2213 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2214 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2215 
   2216 _ASUNAME
   2217 
   2218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2219 for as_dir in $PATH
   2220 do
   2221   IFS=$as_save_IFS
   2222   test -z "$as_dir" && as_dir=.
   2223     $as_echo "PATH: $as_dir"
   2224   done
   2225 IFS=$as_save_IFS
   2226 
   2227 } >&5
   2228 
   2229 cat >&5 <<_ACEOF
   2230 
   2231 
   2232 ## ----------- ##
   2233 ## Core tests. ##
   2234 ## ----------- ##
   2235 
   2236 _ACEOF
   2237 
   2238 
   2239 # Keep a trace of the command line.
   2240 # Strip out --no-create and --no-recursion so they do not pile up.
   2241 # Strip out --silent because we don't want to record it for future runs.
   2242 # Also quote any args containing shell meta-characters.
   2243 # Make two passes to allow for proper duplicate-argument suppression.
   2244 ac_configure_args=
   2245 ac_configure_args0=
   2246 ac_configure_args1=
   2247 ac_must_keep_next=false
   2248 for ac_pass in 1 2
   2249 do
   2250   for ac_arg
   2251   do
   2252     case $ac_arg in
   2253     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2254     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2255     | -silent | --silent | --silen | --sile | --sil)
   2256       continue ;;
   2257     *\'*)
   2258       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2259     esac
   2260     case $ac_pass in
   2261     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2262     2)
   2263       as_fn_append ac_configure_args1 " '$ac_arg'"
   2264       if test $ac_must_keep_next = true; then
   2265 	ac_must_keep_next=false # Got value, back to normal.
   2266       else
   2267 	case $ac_arg in
   2268 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2269 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2270 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2271 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2272 	    case "$ac_configure_args0 " in
   2273 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2274 	    esac
   2275 	    ;;
   2276 	  -* ) ac_must_keep_next=true ;;
   2277 	esac
   2278       fi
   2279       as_fn_append ac_configure_args " '$ac_arg'"
   2280       ;;
   2281     esac
   2282   done
   2283 done
   2284 { ac_configure_args0=; unset ac_configure_args0;}
   2285 { ac_configure_args1=; unset ac_configure_args1;}
   2286 
   2287 # When interrupted or exit'd, cleanup temporary files, and complete
   2288 # config.log.  We remove comments because anyway the quotes in there
   2289 # would cause problems or look ugly.
   2290 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2291 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2292 trap 'exit_status=$?
   2293   # Save into config.log some information that might help in debugging.
   2294   {
   2295     echo
   2296 
   2297     $as_echo "## ---------------- ##
   2298 ## Cache variables. ##
   2299 ## ---------------- ##"
   2300     echo
   2301     # The following way of writing the cache mishandles newlines in values,
   2302 (
   2303   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2304     eval ac_val=\$$ac_var
   2305     case $ac_val in #(
   2306     *${as_nl}*)
   2307       case $ac_var in #(
   2308       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2309 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2310       esac
   2311       case $ac_var in #(
   2312       _ | IFS | as_nl) ;; #(
   2313       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2314       *) { eval $ac_var=; unset $ac_var;} ;;
   2315       esac ;;
   2316     esac
   2317   done
   2318   (set) 2>&1 |
   2319     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2320     *${as_nl}ac_space=\ *)
   2321       sed -n \
   2322 	"s/'\''/'\''\\\\'\'''\''/g;
   2323 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2324       ;; #(
   2325     *)
   2326       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2327       ;;
   2328     esac |
   2329     sort
   2330 )
   2331     echo
   2332 
   2333     $as_echo "## ----------------- ##
   2334 ## Output variables. ##
   2335 ## ----------------- ##"
   2336     echo
   2337     for ac_var in $ac_subst_vars
   2338     do
   2339       eval ac_val=\$$ac_var
   2340       case $ac_val in
   2341       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2342       esac
   2343       $as_echo "$ac_var='\''$ac_val'\''"
   2344     done | sort
   2345     echo
   2346 
   2347     if test -n "$ac_subst_files"; then
   2348       $as_echo "## ------------------- ##
   2349 ## File substitutions. ##
   2350 ## ------------------- ##"
   2351       echo
   2352       for ac_var in $ac_subst_files
   2353       do
   2354 	eval ac_val=\$$ac_var
   2355 	case $ac_val in
   2356 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2357 	esac
   2358 	$as_echo "$ac_var='\''$ac_val'\''"
   2359       done | sort
   2360       echo
   2361     fi
   2362 
   2363     if test -s confdefs.h; then
   2364       $as_echo "## ----------- ##
   2365 ## confdefs.h. ##
   2366 ## ----------- ##"
   2367       echo
   2368       cat confdefs.h
   2369       echo
   2370     fi
   2371     test "$ac_signal" != 0 &&
   2372       $as_echo "$as_me: caught signal $ac_signal"
   2373     $as_echo "$as_me: exit $exit_status"
   2374   } >&5
   2375   rm -f core *.core core.conftest.* &&
   2376     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2377     exit $exit_status
   2378 ' 0
   2379 for ac_signal in 1 2 13 15; do
   2380   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2381 done
   2382 ac_signal=0
   2383 
   2384 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2385 rm -f -r conftest* confdefs.h
   2386 
   2387 $as_echo "/* confdefs.h */" > confdefs.h
   2388 
   2389 # Predefined preprocessor variables.
   2390 
   2391 cat >>confdefs.h <<_ACEOF
   2392 #define PACKAGE_NAME "$PACKAGE_NAME"
   2393 _ACEOF
   2394 
   2395 cat >>confdefs.h <<_ACEOF
   2396 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2397 _ACEOF
   2398 
   2399 cat >>confdefs.h <<_ACEOF
   2400 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2401 _ACEOF
   2402 
   2403 cat >>confdefs.h <<_ACEOF
   2404 #define PACKAGE_STRING "$PACKAGE_STRING"
   2405 _ACEOF
   2406 
   2407 cat >>confdefs.h <<_ACEOF
   2408 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2409 _ACEOF
   2410 
   2411 cat >>confdefs.h <<_ACEOF
   2412 #define PACKAGE_URL "$PACKAGE_URL"
   2413 _ACEOF
   2414 
   2415 
   2416 # Let the site file select an alternate cache file if it wants to.
   2417 # Prefer an explicitly selected file to automatically selected ones.
   2418 ac_site_file1=NONE
   2419 ac_site_file2=NONE
   2420 if test -n "$CONFIG_SITE"; then
   2421   # We do not want a PATH search for config.site.
   2422   case $CONFIG_SITE in #((
   2423     -*)  ac_site_file1=./$CONFIG_SITE;;
   2424     */*) ac_site_file1=$CONFIG_SITE;;
   2425     *)   ac_site_file1=./$CONFIG_SITE;;
   2426   esac
   2427 elif test "x$prefix" != xNONE; then
   2428   ac_site_file1=$prefix/share/config.site
   2429   ac_site_file2=$prefix/etc/config.site
   2430 else
   2431   ac_site_file1=$ac_default_prefix/share/config.site
   2432   ac_site_file2=$ac_default_prefix/etc/config.site
   2433 fi
   2434 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2435 do
   2436   test "x$ac_site_file" = xNONE && continue
   2437   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2438     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2439 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2440     sed 's/^/| /' "$ac_site_file" >&5
   2441     . "$ac_site_file" \
   2442       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2444 as_fn_error $? "failed to load site script $ac_site_file
   2445 See \`config.log' for more details" "$LINENO" 5; }
   2446   fi
   2447 done
   2448 
   2449 if test -r "$cache_file"; then
   2450   # Some versions of bash will fail to source /dev/null (special files
   2451   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2452   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2453     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2454 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2455     case $cache_file in
   2456       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2457       *)                      . "./$cache_file";;
   2458     esac
   2459   fi
   2460 else
   2461   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2462 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2463   >$cache_file
   2464 fi
   2465 
   2466 as_fn_append ac_header_list " stdlib.h"
   2467 as_fn_append ac_header_list " unistd.h"
   2468 as_fn_append ac_header_list " sys/param.h"
   2469 # Check that the precious variables saved in the cache have kept the same
   2470 # value.
   2471 ac_cache_corrupted=false
   2472 for ac_var in $ac_precious_vars; do
   2473   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2474   eval ac_new_set=\$ac_env_${ac_var}_set
   2475   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2476   eval ac_new_val=\$ac_env_${ac_var}_value
   2477   case $ac_old_set,$ac_new_set in
   2478     set,)
   2479       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2480 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2481       ac_cache_corrupted=: ;;
   2482     ,set)
   2483       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2484 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2485       ac_cache_corrupted=: ;;
   2486     ,);;
   2487     *)
   2488       if test "x$ac_old_val" != "x$ac_new_val"; then
   2489 	# differences in whitespace do not lead to failure.
   2490 	ac_old_val_w=`echo x $ac_old_val`
   2491 	ac_new_val_w=`echo x $ac_new_val`
   2492 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2493 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2494 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2495 	  ac_cache_corrupted=:
   2496 	else
   2497 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2498 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2499 	  eval $ac_var=\$ac_old_val
   2500 	fi
   2501 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2502 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2503 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2504 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2505       fi;;
   2506   esac
   2507   # Pass precious variables to config.status.
   2508   if test "$ac_new_set" = set; then
   2509     case $ac_new_val in
   2510     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2511     *) ac_arg=$ac_var=$ac_new_val ;;
   2512     esac
   2513     case " $ac_configure_args " in
   2514       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2515       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2516     esac
   2517   fi
   2518 done
   2519 if $ac_cache_corrupted; then
   2520   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2522   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2523 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2524   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2525 fi
   2526 ## -------------------- ##
   2527 ## Main body of script. ##
   2528 ## -------------------- ##
   2529 
   2530 ac_ext=c
   2531 ac_cpp='$CPP $CPPFLAGS'
   2532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2535 
   2536 
   2537 
   2538 
   2539 
   2540 
   2541 
   2542 ac_aux_dir=
   2543 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2544   if test -f "$ac_dir/install-sh"; then
   2545     ac_aux_dir=$ac_dir
   2546     ac_install_sh="$ac_aux_dir/install-sh -c"
   2547     break
   2548   elif test -f "$ac_dir/install.sh"; then
   2549     ac_aux_dir=$ac_dir
   2550     ac_install_sh="$ac_aux_dir/install.sh -c"
   2551     break
   2552   elif test -f "$ac_dir/shtool"; then
   2553     ac_aux_dir=$ac_dir
   2554     ac_install_sh="$ac_aux_dir/shtool install -c"
   2555     break
   2556   fi
   2557 done
   2558 if test -z "$ac_aux_dir"; then
   2559   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2560 fi
   2561 
   2562 # These three variables are undocumented and unsupported,
   2563 # and are intended to be withdrawn in a future Autoconf release.
   2564 # They can cause serious problems if a builder's source tree is in a directory
   2565 # whose full name contains unusual characters.
   2566 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2567 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2568 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2569 
   2570 
   2571 # Make sure we can run config.sub.
   2572 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2573   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2574 
   2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2576 $as_echo_n "checking build system type... " >&6; }
   2577 if ${ac_cv_build+:} false; then :
   2578   $as_echo_n "(cached) " >&6
   2579 else
   2580   ac_build_alias=$build_alias
   2581 test "x$ac_build_alias" = x &&
   2582   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2583 test "x$ac_build_alias" = x &&
   2584   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2585 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2586   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2587 
   2588 fi
   2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2590 $as_echo "$ac_cv_build" >&6; }
   2591 case $ac_cv_build in
   2592 *-*-*) ;;
   2593 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2594 esac
   2595 build=$ac_cv_build
   2596 ac_save_IFS=$IFS; IFS='-'
   2597 set x $ac_cv_build
   2598 shift
   2599 build_cpu=$1
   2600 build_vendor=$2
   2601 shift; shift
   2602 # Remember, the first character of IFS is used to create $*,
   2603 # except with old shells:
   2604 build_os=$*
   2605 IFS=$ac_save_IFS
   2606 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2607 
   2608 
   2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2610 $as_echo_n "checking host system type... " >&6; }
   2611 if ${ac_cv_host+:} false; then :
   2612   $as_echo_n "(cached) " >&6
   2613 else
   2614   if test "x$host_alias" = x; then
   2615   ac_cv_host=$ac_cv_build
   2616 else
   2617   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2618     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2619 fi
   2620 
   2621 fi
   2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2623 $as_echo "$ac_cv_host" >&6; }
   2624 case $ac_cv_host in
   2625 *-*-*) ;;
   2626 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2627 esac
   2628 host=$ac_cv_host
   2629 ac_save_IFS=$IFS; IFS='-'
   2630 set x $ac_cv_host
   2631 shift
   2632 host_cpu=$1
   2633 host_vendor=$2
   2634 shift; shift
   2635 # Remember, the first character of IFS is used to create $*,
   2636 # except with old shells:
   2637 host_os=$*
   2638 IFS=$ac_save_IFS
   2639 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2640 
   2641 
   2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2643 $as_echo_n "checking target system type... " >&6; }
   2644 if ${ac_cv_target+:} false; then :
   2645   $as_echo_n "(cached) " >&6
   2646 else
   2647   if test "x$target_alias" = x; then
   2648   ac_cv_target=$ac_cv_host
   2649 else
   2650   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2651     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2652 fi
   2653 
   2654 fi
   2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2656 $as_echo "$ac_cv_target" >&6; }
   2657 case $ac_cv_target in
   2658 *-*-*) ;;
   2659 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2660 esac
   2661 target=$ac_cv_target
   2662 ac_save_IFS=$IFS; IFS='-'
   2663 set x $ac_cv_target
   2664 shift
   2665 target_cpu=$1
   2666 target_vendor=$2
   2667 shift; shift
   2668 # Remember, the first character of IFS is used to create $*,
   2669 # except with old shells:
   2670 target_os=$*
   2671 IFS=$ac_save_IFS
   2672 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2673 
   2674 
   2675 # The aliases save the names the user supplied, while $host etc.
   2676 # will get canonicalized.
   2677 test -n "$target_alias" &&
   2678   test "$program_prefix$program_suffix$program_transform_name" = \
   2679     NONENONEs,x,x, &&
   2680   program_prefix=${target_alias}-
   2681 
   2682 am__api_version='1.15'
   2683 
   2684 # Find a good install program.  We prefer a C program (faster),
   2685 # so one script is as good as another.  But avoid the broken or
   2686 # incompatible versions:
   2687 # SysV /etc/install, /usr/sbin/install
   2688 # SunOS /usr/etc/install
   2689 # IRIX /sbin/install
   2690 # AIX /bin/install
   2691 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2692 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2693 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2694 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2695 # OS/2's system install, which has a completely different semantic
   2696 # ./install, which can be erroneously created by make from ./install.sh.
   2697 # Reject install programs that cannot install multiple files.
   2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2699 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2700 if test -z "$INSTALL"; then
   2701 if ${ac_cv_path_install+:} false; then :
   2702   $as_echo_n "(cached) " >&6
   2703 else
   2704   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2705 for as_dir in $PATH
   2706 do
   2707   IFS=$as_save_IFS
   2708   test -z "$as_dir" && as_dir=.
   2709     # Account for people who put trailing slashes in PATH elements.
   2710 case $as_dir/ in #((
   2711   ./ | .// | /[cC]/* | \
   2712   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2713   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2714   /usr/ucb/* ) ;;
   2715   *)
   2716     # OSF1 and SCO ODT 3.0 have their own names for install.
   2717     # Don't use installbsd from OSF since it installs stuff as root
   2718     # by default.
   2719     for ac_prog in ginstall scoinst install; do
   2720       for ac_exec_ext in '' $ac_executable_extensions; do
   2721 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2722 	  if test $ac_prog = install &&
   2723 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2724 	    # AIX install.  It has an incompatible calling convention.
   2725 	    :
   2726 	  elif test $ac_prog = install &&
   2727 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2728 	    # program-specific install script used by HP pwplus--don't use.
   2729 	    :
   2730 	  else
   2731 	    rm -rf conftest.one conftest.two conftest.dir
   2732 	    echo one > conftest.one
   2733 	    echo two > conftest.two
   2734 	    mkdir conftest.dir
   2735 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2736 	      test -s conftest.one && test -s conftest.two &&
   2737 	      test -s conftest.dir/conftest.one &&
   2738 	      test -s conftest.dir/conftest.two
   2739 	    then
   2740 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2741 	      break 3
   2742 	    fi
   2743 	  fi
   2744 	fi
   2745       done
   2746     done
   2747     ;;
   2748 esac
   2749 
   2750   done
   2751 IFS=$as_save_IFS
   2752 
   2753 rm -rf conftest.one conftest.two conftest.dir
   2754 
   2755 fi
   2756   if test "${ac_cv_path_install+set}" = set; then
   2757     INSTALL=$ac_cv_path_install
   2758   else
   2759     # As a last resort, use the slow shell script.  Don't cache a
   2760     # value for INSTALL within a source directory, because that will
   2761     # break other packages using the cache if that directory is
   2762     # removed, or if the value is a relative name.
   2763     INSTALL=$ac_install_sh
   2764   fi
   2765 fi
   2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2767 $as_echo "$INSTALL" >&6; }
   2768 
   2769 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2770 # It thinks the first close brace ends the variable substitution.
   2771 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2772 
   2773 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2774 
   2775 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2776 
   2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2778 $as_echo_n "checking whether build environment is sane... " >&6; }
   2779 # Reject unsafe characters in $srcdir or the absolute working directory
   2780 # name.  Accept space and tab only in the latter.
   2781 am_lf='
   2782 '
   2783 case `pwd` in
   2784   *[\\\"\#\$\&\'\`$am_lf]*)
   2785     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2786 esac
   2787 case $srcdir in
   2788   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2789     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2790 esac
   2791 
   2792 # Do 'set' in a subshell so we don't clobber the current shell's
   2793 # arguments.  Must try -L first in case configure is actually a
   2794 # symlink; some systems play weird games with the mod time of symlinks
   2795 # (eg FreeBSD returns the mod time of the symlink's containing
   2796 # directory).
   2797 if (
   2798    am_has_slept=no
   2799    for am_try in 1 2; do
   2800      echo "timestamp, slept: $am_has_slept" > conftest.file
   2801      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2802      if test "$*" = "X"; then
   2803 	# -L didn't work.
   2804 	set X `ls -t "$srcdir/configure" conftest.file`
   2805      fi
   2806      if test "$*" != "X $srcdir/configure conftest.file" \
   2807 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2808 
   2809 	# If neither matched, then we have a broken ls.  This can happen
   2810 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2811 	# broken ls alias from the environment.  This has actually
   2812 	# happened.  Such a system could not be considered "sane".
   2813 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2814   alias in your environment" "$LINENO" 5
   2815      fi
   2816      if test "$2" = conftest.file || test $am_try -eq 2; then
   2817        break
   2818      fi
   2819      # Just in case.
   2820      sleep 1
   2821      am_has_slept=yes
   2822    done
   2823    test "$2" = conftest.file
   2824    )
   2825 then
   2826    # Ok.
   2827    :
   2828 else
   2829    as_fn_error $? "newly created file is older than distributed files!
   2830 Check your system clock" "$LINENO" 5
   2831 fi
   2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2833 $as_echo "yes" >&6; }
   2834 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2835 # generated files are strictly newer.
   2836 am_sleep_pid=
   2837 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2838   ( sleep 1 ) &
   2839   am_sleep_pid=$!
   2840 fi
   2841 
   2842 rm -f conftest.file
   2843 
   2844 test "$program_prefix" != NONE &&
   2845   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2846 # Use a double $ so make ignores it.
   2847 test "$program_suffix" != NONE &&
   2848   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2849 # Double any \ or $.
   2850 # By default was `s,x,x', remove it if useless.
   2851 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2852 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2853 
   2854 # Expand $ac_aux_dir to an absolute path.
   2855 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2856 
   2857 if test x"${MISSING+set}" != xset; then
   2858   case $am_aux_dir in
   2859   *\ * | *\	*)
   2860     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2861   *)
   2862     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2863   esac
   2864 fi
   2865 # Use eval to expand $SHELL
   2866 if eval "$MISSING --is-lightweight"; then
   2867   am_missing_run="$MISSING "
   2868 else
   2869   am_missing_run=
   2870   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2871 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2872 fi
   2873 
   2874 if test x"${install_sh+set}" != xset; then
   2875   case $am_aux_dir in
   2876   *\ * | *\	*)
   2877     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2878   *)
   2879     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2880   esac
   2881 fi
   2882 
   2883 # Installed binaries are usually stripped using 'strip' when the user
   2884 # run "make install-strip".  However 'strip' might not be the right
   2885 # tool to use in cross-compilation environments, therefore Automake
   2886 # will honor the 'STRIP' environment variable to overrule this program.
   2887 if test "$cross_compiling" != no; then
   2888   if test -n "$ac_tool_prefix"; then
   2889   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2890 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2892 $as_echo_n "checking for $ac_word... " >&6; }
   2893 if ${ac_cv_prog_STRIP+:} false; then :
   2894   $as_echo_n "(cached) " >&6
   2895 else
   2896   if test -n "$STRIP"; then
   2897   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2898 else
   2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2900 for as_dir in $PATH
   2901 do
   2902   IFS=$as_save_IFS
   2903   test -z "$as_dir" && as_dir=.
   2904     for ac_exec_ext in '' $ac_executable_extensions; do
   2905   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2906     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2907     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2908     break 2
   2909   fi
   2910 done
   2911   done
   2912 IFS=$as_save_IFS
   2913 
   2914 fi
   2915 fi
   2916 STRIP=$ac_cv_prog_STRIP
   2917 if test -n "$STRIP"; then
   2918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2919 $as_echo "$STRIP" >&6; }
   2920 else
   2921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2922 $as_echo "no" >&6; }
   2923 fi
   2924 
   2925 
   2926 fi
   2927 if test -z "$ac_cv_prog_STRIP"; then
   2928   ac_ct_STRIP=$STRIP
   2929   # Extract the first word of "strip", so it can be a program name with args.
   2930 set dummy strip; ac_word=$2
   2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2932 $as_echo_n "checking for $ac_word... " >&6; }
   2933 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2934   $as_echo_n "(cached) " >&6
   2935 else
   2936   if test -n "$ac_ct_STRIP"; then
   2937   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2938 else
   2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2940 for as_dir in $PATH
   2941 do
   2942   IFS=$as_save_IFS
   2943   test -z "$as_dir" && as_dir=.
   2944     for ac_exec_ext in '' $ac_executable_extensions; do
   2945   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2946     ac_cv_prog_ac_ct_STRIP="strip"
   2947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2948     break 2
   2949   fi
   2950 done
   2951   done
   2952 IFS=$as_save_IFS
   2953 
   2954 fi
   2955 fi
   2956 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2957 if test -n "$ac_ct_STRIP"; then
   2958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2959 $as_echo "$ac_ct_STRIP" >&6; }
   2960 else
   2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2962 $as_echo "no" >&6; }
   2963 fi
   2964 
   2965   if test "x$ac_ct_STRIP" = x; then
   2966     STRIP=":"
   2967   else
   2968     case $cross_compiling:$ac_tool_warned in
   2969 yes:)
   2970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2972 ac_tool_warned=yes ;;
   2973 esac
   2974     STRIP=$ac_ct_STRIP
   2975   fi
   2976 else
   2977   STRIP="$ac_cv_prog_STRIP"
   2978 fi
   2979 
   2980 fi
   2981 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2982 
   2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2984 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2985 if test -z "$MKDIR_P"; then
   2986   if ${ac_cv_path_mkdir+:} false; then :
   2987   $as_echo_n "(cached) " >&6
   2988 else
   2989   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2990 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2991 do
   2992   IFS=$as_save_IFS
   2993   test -z "$as_dir" && as_dir=.
   2994     for ac_prog in mkdir gmkdir; do
   2995 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2996 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2997 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2998 	     'mkdir (GNU coreutils) '* | \
   2999 	     'mkdir (coreutils) '* | \
   3000 	     'mkdir (fileutils) '4.1*)
   3001 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3002 	       break 3;;
   3003 	   esac
   3004 	 done
   3005        done
   3006   done
   3007 IFS=$as_save_IFS
   3008 
   3009 fi
   3010 
   3011   test -d ./--version && rmdir ./--version
   3012   if test "${ac_cv_path_mkdir+set}" = set; then
   3013     MKDIR_P="$ac_cv_path_mkdir -p"
   3014   else
   3015     # As a last resort, use the slow shell script.  Don't cache a
   3016     # value for MKDIR_P within a source directory, because that will
   3017     # break other packages using the cache if that directory is
   3018     # removed, or if the value is a relative name.
   3019     MKDIR_P="$ac_install_sh -d"
   3020   fi
   3021 fi
   3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3023 $as_echo "$MKDIR_P" >&6; }
   3024 
   3025 for ac_prog in gawk mawk nawk awk
   3026 do
   3027   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3028 set dummy $ac_prog; ac_word=$2
   3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3030 $as_echo_n "checking for $ac_word... " >&6; }
   3031 if ${ac_cv_prog_AWK+:} false; then :
   3032   $as_echo_n "(cached) " >&6
   3033 else
   3034   if test -n "$AWK"; then
   3035   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3036 else
   3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3038 for as_dir in $PATH
   3039 do
   3040   IFS=$as_save_IFS
   3041   test -z "$as_dir" && as_dir=.
   3042     for ac_exec_ext in '' $ac_executable_extensions; do
   3043   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3044     ac_cv_prog_AWK="$ac_prog"
   3045     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3046     break 2
   3047   fi
   3048 done
   3049   done
   3050 IFS=$as_save_IFS
   3051 
   3052 fi
   3053 fi
   3054 AWK=$ac_cv_prog_AWK
   3055 if test -n "$AWK"; then
   3056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3057 $as_echo "$AWK" >&6; }
   3058 else
   3059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3060 $as_echo "no" >&6; }
   3061 fi
   3062 
   3063 
   3064   test -n "$AWK" && break
   3065 done
   3066 
   3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3068 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3069 set x ${MAKE-make}
   3070 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3071 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3072   $as_echo_n "(cached) " >&6
   3073 else
   3074   cat >conftest.make <<\_ACEOF
   3075 SHELL = /bin/sh
   3076 all:
   3077 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3078 _ACEOF
   3079 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3080 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3081   *@@@%%%=?*=@@@%%%*)
   3082     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3083   *)
   3084     eval ac_cv_prog_make_${ac_make}_set=no;;
   3085 esac
   3086 rm -f conftest.make
   3087 fi
   3088 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3090 $as_echo "yes" >&6; }
   3091   SET_MAKE=
   3092 else
   3093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3094 $as_echo "no" >&6; }
   3095   SET_MAKE="MAKE=${MAKE-make}"
   3096 fi
   3097 
   3098 rm -rf .tst 2>/dev/null
   3099 mkdir .tst 2>/dev/null
   3100 if test -d .tst; then
   3101   am__leading_dot=.
   3102 else
   3103   am__leading_dot=_
   3104 fi
   3105 rmdir .tst 2>/dev/null
   3106 
   3107 # Check whether --enable-silent-rules was given.
   3108 if test "${enable_silent_rules+set}" = set; then :
   3109   enableval=$enable_silent_rules;
   3110 fi
   3111 
   3112 case $enable_silent_rules in # (((
   3113   yes) AM_DEFAULT_VERBOSITY=0;;
   3114    no) AM_DEFAULT_VERBOSITY=1;;
   3115     *) AM_DEFAULT_VERBOSITY=1;;
   3116 esac
   3117 am_make=${MAKE-make}
   3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3119 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3120 if ${am_cv_make_support_nested_variables+:} false; then :
   3121   $as_echo_n "(cached) " >&6
   3122 else
   3123   if $as_echo 'TRUE=$(BAR$(V))
   3124 BAR0=false
   3125 BAR1=true
   3126 V=1
   3127 am__doit:
   3128 	@$(TRUE)
   3129 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3130   am_cv_make_support_nested_variables=yes
   3131 else
   3132   am_cv_make_support_nested_variables=no
   3133 fi
   3134 fi
   3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3136 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3137 if test $am_cv_make_support_nested_variables = yes; then
   3138     AM_V='$(V)'
   3139   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3140 else
   3141   AM_V=$AM_DEFAULT_VERBOSITY
   3142   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3143 fi
   3144 AM_BACKSLASH='\'
   3145 
   3146 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3147   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3148   # is not polluted with repeated "-I."
   3149   am__isrc=' -I$(srcdir)'
   3150   # test to see if srcdir already configured
   3151   if test -f $srcdir/config.status; then
   3152     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3153   fi
   3154 fi
   3155 
   3156 # test whether we have cygpath
   3157 if test -z "$CYGPATH_W"; then
   3158   if (cygpath --version) >/dev/null 2>/dev/null; then
   3159     CYGPATH_W='cygpath -w'
   3160   else
   3161     CYGPATH_W=echo
   3162   fi
   3163 fi
   3164 
   3165 
   3166 # Define the identity of the package.
   3167  PACKAGE='bfd'
   3168  VERSION='2.39'
   3169 
   3170 
   3171 cat >>confdefs.h <<_ACEOF
   3172 #define PACKAGE "$PACKAGE"
   3173 _ACEOF
   3174 
   3175 
   3176 cat >>confdefs.h <<_ACEOF
   3177 #define VERSION "$VERSION"
   3178 _ACEOF
   3179 
   3180 # Some tools Automake needs.
   3181 
   3182 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3183 
   3184 
   3185 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3186 
   3187 
   3188 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3189 
   3190 
   3191 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3192 
   3193 
   3194 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3195 
   3196 # For better backward compatibility.  To be removed once Automake 1.9.x
   3197 # dies out for good.  For more background, see:
   3198 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3199 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3200 mkdir_p='$(MKDIR_P)'
   3201 
   3202 # We need awk for the "check" target (and possibly the TAP driver).  The
   3203 # system "awk" is bad on some platforms.
   3204 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3205 # in the wild :-(  We should find a proper way to deprecate it ...
   3206 AMTAR='$${TAR-tar}'
   3207 
   3208 
   3209 # We'll loop over all known methods to create a tar archive until one works.
   3210 _am_tools='gnutar  pax cpio none'
   3211 
   3212 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3213 
   3214 
   3215 
   3216 
   3217 
   3218 
   3219 # POSIX will say in a future version that running "rm -f" with no argument
   3220 # is OK; and we want to be able to make that assumption in our Makefile
   3221 # recipes.  So use an aggressive probe to check that the usage we want is
   3222 # actually supported "in the wild" to an acceptable degree.
   3223 # See automake bug#10828.
   3224 # To make any issue more visible, cause the running configure to be aborted
   3225 # by default if the 'rm' program in use doesn't match our expectations; the
   3226 # user can still override this though.
   3227 if rm -f && rm -fr && rm -rf; then : OK; else
   3228   cat >&2 <<'END'
   3229 Oops!
   3230 
   3231 Your 'rm' program seems unable to run without file operands specified
   3232 on the command line, even when the '-f' option is present.  This is contrary
   3233 to the behaviour of most rm programs out there, and not conforming with
   3234 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3235 
   3236 Please tell bug-automake@gnu.org about your system, including the value
   3237 of your $PATH and any error possibly output before this message.  This
   3238 can help us improve future automake versions.
   3239 
   3240 END
   3241   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3242     echo 'Configuration will proceed anyway, since you have set the' >&2
   3243     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3244     echo >&2
   3245   else
   3246     cat >&2 <<'END'
   3247 Aborting the configuration process, to ensure you take notice of the issue.
   3248 
   3249 You can download and install GNU coreutils to get an 'rm' implementation
   3250 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3251 
   3252 If you want to complete the configuration process using your problematic
   3253 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3254 to "yes", and re-run configure.
   3255 
   3256 END
   3257     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3258   fi
   3259 fi
   3260 
   3261 # Check whether --enable-silent-rules was given.
   3262 if test "${enable_silent_rules+set}" = set; then :
   3263   enableval=$enable_silent_rules;
   3264 fi
   3265 
   3266 case $enable_silent_rules in # (((
   3267   yes) AM_DEFAULT_VERBOSITY=0;;
   3268    no) AM_DEFAULT_VERBOSITY=1;;
   3269     *) AM_DEFAULT_VERBOSITY=0;;
   3270 esac
   3271 am_make=${MAKE-make}
   3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3273 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3274 if ${am_cv_make_support_nested_variables+:} false; then :
   3275   $as_echo_n "(cached) " >&6
   3276 else
   3277   if $as_echo 'TRUE=$(BAR$(V))
   3278 BAR0=false
   3279 BAR1=true
   3280 V=1
   3281 am__doit:
   3282 	@$(TRUE)
   3283 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3284   am_cv_make_support_nested_variables=yes
   3285 else
   3286   am_cv_make_support_nested_variables=no
   3287 fi
   3288 fi
   3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3290 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3291 if test $am_cv_make_support_nested_variables = yes; then
   3292     AM_V='$(V)'
   3293   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3294 else
   3295   AM_V=$AM_DEFAULT_VERBOSITY
   3296   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3297 fi
   3298 AM_BACKSLASH='\'
   3299 
   3300 
   3301 if test -n "$ac_tool_prefix"; then
   3302   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   3303 set dummy ${ac_tool_prefix}ar; ac_word=$2
   3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3305 $as_echo_n "checking for $ac_word... " >&6; }
   3306 if ${ac_cv_prog_AR+:} false; then :
   3307   $as_echo_n "(cached) " >&6
   3308 else
   3309   if test -n "$AR"; then
   3310   ac_cv_prog_AR="$AR" # Let the user override the test.
   3311 else
   3312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3313 for as_dir in $PATH
   3314 do
   3315   IFS=$as_save_IFS
   3316   test -z "$as_dir" && as_dir=.
   3317     for ac_exec_ext in '' $ac_executable_extensions; do
   3318   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3319     ac_cv_prog_AR="${ac_tool_prefix}ar"
   3320     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3321     break 2
   3322   fi
   3323 done
   3324   done
   3325 IFS=$as_save_IFS
   3326 
   3327 fi
   3328 fi
   3329 AR=$ac_cv_prog_AR
   3330 if test -n "$AR"; then
   3331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   3332 $as_echo "$AR" >&6; }
   3333 else
   3334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3335 $as_echo "no" >&6; }
   3336 fi
   3337 
   3338 
   3339 fi
   3340 if test -z "$ac_cv_prog_AR"; then
   3341   ac_ct_AR=$AR
   3342   # Extract the first word of "ar", so it can be a program name with args.
   3343 set dummy ar; ac_word=$2
   3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3345 $as_echo_n "checking for $ac_word... " >&6; }
   3346 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   3347   $as_echo_n "(cached) " >&6
   3348 else
   3349   if test -n "$ac_ct_AR"; then
   3350   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   3351 else
   3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3353 for as_dir in $PATH
   3354 do
   3355   IFS=$as_save_IFS
   3356   test -z "$as_dir" && as_dir=.
   3357     for ac_exec_ext in '' $ac_executable_extensions; do
   3358   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3359     ac_cv_prog_ac_ct_AR="ar"
   3360     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3361     break 2
   3362   fi
   3363 done
   3364   done
   3365 IFS=$as_save_IFS
   3366 
   3367 fi
   3368 fi
   3369 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   3370 if test -n "$ac_ct_AR"; then
   3371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   3372 $as_echo "$ac_ct_AR" >&6; }
   3373 else
   3374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3375 $as_echo "no" >&6; }
   3376 fi
   3377 
   3378   if test "x$ac_ct_AR" = x; then
   3379     AR=""
   3380   else
   3381     case $cross_compiling:$ac_tool_warned in
   3382 yes:)
   3383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3385 ac_tool_warned=yes ;;
   3386 esac
   3387     AR=$ac_ct_AR
   3388   fi
   3389 else
   3390   AR="$ac_cv_prog_AR"
   3391 fi
   3392 
   3393 if test -n "$ac_tool_prefix"; then
   3394   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   3395 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3397 $as_echo_n "checking for $ac_word... " >&6; }
   3398 if ${ac_cv_prog_RANLIB+:} false; then :
   3399   $as_echo_n "(cached) " >&6
   3400 else
   3401   if test -n "$RANLIB"; then
   3402   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   3403 else
   3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3405 for as_dir in $PATH
   3406 do
   3407   IFS=$as_save_IFS
   3408   test -z "$as_dir" && as_dir=.
   3409     for ac_exec_ext in '' $ac_executable_extensions; do
   3410   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3411     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   3412     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3413     break 2
   3414   fi
   3415 done
   3416   done
   3417 IFS=$as_save_IFS
   3418 
   3419 fi
   3420 fi
   3421 RANLIB=$ac_cv_prog_RANLIB
   3422 if test -n "$RANLIB"; then
   3423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   3424 $as_echo "$RANLIB" >&6; }
   3425 else
   3426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3427 $as_echo "no" >&6; }
   3428 fi
   3429 
   3430 
   3431 fi
   3432 if test -z "$ac_cv_prog_RANLIB"; then
   3433   ac_ct_RANLIB=$RANLIB
   3434   # Extract the first word of "ranlib", so it can be a program name with args.
   3435 set dummy ranlib; ac_word=$2
   3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3437 $as_echo_n "checking for $ac_word... " >&6; }
   3438 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   3439   $as_echo_n "(cached) " >&6
   3440 else
   3441   if test -n "$ac_ct_RANLIB"; then
   3442   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   3443 else
   3444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3445 for as_dir in $PATH
   3446 do
   3447   IFS=$as_save_IFS
   3448   test -z "$as_dir" && as_dir=.
   3449     for ac_exec_ext in '' $ac_executable_extensions; do
   3450   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3451     ac_cv_prog_ac_ct_RANLIB="ranlib"
   3452     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3453     break 2
   3454   fi
   3455 done
   3456   done
   3457 IFS=$as_save_IFS
   3458 
   3459 fi
   3460 fi
   3461 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   3462 if test -n "$ac_ct_RANLIB"; then
   3463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   3464 $as_echo "$ac_ct_RANLIB" >&6; }
   3465 else
   3466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3467 $as_echo "no" >&6; }
   3468 fi
   3469 
   3470   if test "x$ac_ct_RANLIB" = x; then
   3471     RANLIB=":"
   3472   else
   3473     case $cross_compiling:$ac_tool_warned in
   3474 yes:)
   3475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3477 ac_tool_warned=yes ;;
   3478 esac
   3479     RANLIB=$ac_ct_RANLIB
   3480   fi
   3481 else
   3482   RANLIB="$ac_cv_prog_RANLIB"
   3483 fi
   3484 
   3485 
   3486 # Check whether --enable-shared was given.
   3487 if test "${enable_shared+set}" = set; then :
   3488   enableval=$enable_shared; p=${PACKAGE-default}
   3489     case $enableval in
   3490     yes) enable_shared=yes ;;
   3491     no) enable_shared=no ;;
   3492     *)
   3493       enable_shared=no
   3494       # Look at the argument we got.  We use all the common list separators.
   3495       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3496       for pkg in $enableval; do
   3497 	IFS="$lt_save_ifs"
   3498 	if test "X$pkg" = "X$p"; then
   3499 	  enable_shared=yes
   3500 	fi
   3501       done
   3502       IFS="$lt_save_ifs"
   3503       ;;
   3504     esac
   3505 else
   3506   enable_shared=no
   3507 fi
   3508 
   3509 
   3510 
   3511 
   3512 
   3513 
   3514 
   3515 
   3516 
   3517 
   3518 ac_ext=c
   3519 ac_cpp='$CPP $CPPFLAGS'
   3520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3523 if test -n "$ac_tool_prefix"; then
   3524   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3525 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3527 $as_echo_n "checking for $ac_word... " >&6; }
   3528 if ${ac_cv_prog_CC+:} false; then :
   3529   $as_echo_n "(cached) " >&6
   3530 else
   3531   if test -n "$CC"; then
   3532   ac_cv_prog_CC="$CC" # Let the user override the test.
   3533 else
   3534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3535 for as_dir in $PATH
   3536 do
   3537   IFS=$as_save_IFS
   3538   test -z "$as_dir" && as_dir=.
   3539     for ac_exec_ext in '' $ac_executable_extensions; do
   3540   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3541     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3542     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3543     break 2
   3544   fi
   3545 done
   3546   done
   3547 IFS=$as_save_IFS
   3548 
   3549 fi
   3550 fi
   3551 CC=$ac_cv_prog_CC
   3552 if test -n "$CC"; then
   3553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3554 $as_echo "$CC" >&6; }
   3555 else
   3556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3557 $as_echo "no" >&6; }
   3558 fi
   3559 
   3560 
   3561 fi
   3562 if test -z "$ac_cv_prog_CC"; then
   3563   ac_ct_CC=$CC
   3564   # Extract the first word of "gcc", so it can be a program name with args.
   3565 set dummy gcc; ac_word=$2
   3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3567 $as_echo_n "checking for $ac_word... " >&6; }
   3568 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3569   $as_echo_n "(cached) " >&6
   3570 else
   3571   if test -n "$ac_ct_CC"; then
   3572   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3573 else
   3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3575 for as_dir in $PATH
   3576 do
   3577   IFS=$as_save_IFS
   3578   test -z "$as_dir" && as_dir=.
   3579     for ac_exec_ext in '' $ac_executable_extensions; do
   3580   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3581     ac_cv_prog_ac_ct_CC="gcc"
   3582     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3583     break 2
   3584   fi
   3585 done
   3586   done
   3587 IFS=$as_save_IFS
   3588 
   3589 fi
   3590 fi
   3591 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3592 if test -n "$ac_ct_CC"; then
   3593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3594 $as_echo "$ac_ct_CC" >&6; }
   3595 else
   3596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3597 $as_echo "no" >&6; }
   3598 fi
   3599 
   3600   if test "x$ac_ct_CC" = x; then
   3601     CC=""
   3602   else
   3603     case $cross_compiling:$ac_tool_warned in
   3604 yes:)
   3605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3607 ac_tool_warned=yes ;;
   3608 esac
   3609     CC=$ac_ct_CC
   3610   fi
   3611 else
   3612   CC="$ac_cv_prog_CC"
   3613 fi
   3614 
   3615 if test -z "$CC"; then
   3616           if test -n "$ac_tool_prefix"; then
   3617     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3618 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3620 $as_echo_n "checking for $ac_word... " >&6; }
   3621 if ${ac_cv_prog_CC+:} false; then :
   3622   $as_echo_n "(cached) " >&6
   3623 else
   3624   if test -n "$CC"; then
   3625   ac_cv_prog_CC="$CC" # Let the user override the test.
   3626 else
   3627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3628 for as_dir in $PATH
   3629 do
   3630   IFS=$as_save_IFS
   3631   test -z "$as_dir" && as_dir=.
   3632     for ac_exec_ext in '' $ac_executable_extensions; do
   3633   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3634     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3636     break 2
   3637   fi
   3638 done
   3639   done
   3640 IFS=$as_save_IFS
   3641 
   3642 fi
   3643 fi
   3644 CC=$ac_cv_prog_CC
   3645 if test -n "$CC"; then
   3646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3647 $as_echo "$CC" >&6; }
   3648 else
   3649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3650 $as_echo "no" >&6; }
   3651 fi
   3652 
   3653 
   3654   fi
   3655 fi
   3656 if test -z "$CC"; then
   3657   # Extract the first word of "cc", so it can be a program name with args.
   3658 set dummy cc; ac_word=$2
   3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3660 $as_echo_n "checking for $ac_word... " >&6; }
   3661 if ${ac_cv_prog_CC+:} false; then :
   3662   $as_echo_n "(cached) " >&6
   3663 else
   3664   if test -n "$CC"; then
   3665   ac_cv_prog_CC="$CC" # Let the user override the test.
   3666 else
   3667   ac_prog_rejected=no
   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     for ac_exec_ext in '' $ac_executable_extensions; do
   3674   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3675     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3676        ac_prog_rejected=yes
   3677        continue
   3678      fi
   3679     ac_cv_prog_CC="cc"
   3680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3681     break 2
   3682   fi
   3683 done
   3684   done
   3685 IFS=$as_save_IFS
   3686 
   3687 if test $ac_prog_rejected = yes; then
   3688   # We found a bogon in the path, so make sure we never use it.
   3689   set dummy $ac_cv_prog_CC
   3690   shift
   3691   if test $# != 0; then
   3692     # We chose a different compiler from the bogus one.
   3693     # However, it has the same basename, so the bogon will be chosen
   3694     # first if we set CC to just the basename; use the full file name.
   3695     shift
   3696     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3697   fi
   3698 fi
   3699 fi
   3700 fi
   3701 CC=$ac_cv_prog_CC
   3702 if test -n "$CC"; then
   3703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3704 $as_echo "$CC" >&6; }
   3705 else
   3706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3707 $as_echo "no" >&6; }
   3708 fi
   3709 
   3710 
   3711 fi
   3712 if test -z "$CC"; then
   3713   if test -n "$ac_tool_prefix"; then
   3714   for ac_prog in cl.exe
   3715   do
   3716     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3717 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3719 $as_echo_n "checking for $ac_word... " >&6; }
   3720 if ${ac_cv_prog_CC+:} false; then :
   3721   $as_echo_n "(cached) " >&6
   3722 else
   3723   if test -n "$CC"; then
   3724   ac_cv_prog_CC="$CC" # Let the user override the test.
   3725 else
   3726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3727 for as_dir in $PATH
   3728 do
   3729   IFS=$as_save_IFS
   3730   test -z "$as_dir" && as_dir=.
   3731     for ac_exec_ext in '' $ac_executable_extensions; do
   3732   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3733     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3734     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3735     break 2
   3736   fi
   3737 done
   3738   done
   3739 IFS=$as_save_IFS
   3740 
   3741 fi
   3742 fi
   3743 CC=$ac_cv_prog_CC
   3744 if test -n "$CC"; then
   3745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3746 $as_echo "$CC" >&6; }
   3747 else
   3748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3749 $as_echo "no" >&6; }
   3750 fi
   3751 
   3752 
   3753     test -n "$CC" && break
   3754   done
   3755 fi
   3756 if test -z "$CC"; then
   3757   ac_ct_CC=$CC
   3758   for ac_prog in cl.exe
   3759 do
   3760   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3761 set dummy $ac_prog; ac_word=$2
   3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3763 $as_echo_n "checking for $ac_word... " >&6; }
   3764 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3765   $as_echo_n "(cached) " >&6
   3766 else
   3767   if test -n "$ac_ct_CC"; then
   3768   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3769 else
   3770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3771 for as_dir in $PATH
   3772 do
   3773   IFS=$as_save_IFS
   3774   test -z "$as_dir" && as_dir=.
   3775     for ac_exec_ext in '' $ac_executable_extensions; do
   3776   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3777     ac_cv_prog_ac_ct_CC="$ac_prog"
   3778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3779     break 2
   3780   fi
   3781 done
   3782   done
   3783 IFS=$as_save_IFS
   3784 
   3785 fi
   3786 fi
   3787 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3788 if test -n "$ac_ct_CC"; then
   3789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3790 $as_echo "$ac_ct_CC" >&6; }
   3791 else
   3792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3793 $as_echo "no" >&6; }
   3794 fi
   3795 
   3796 
   3797   test -n "$ac_ct_CC" && break
   3798 done
   3799 
   3800   if test "x$ac_ct_CC" = x; then
   3801     CC=""
   3802   else
   3803     case $cross_compiling:$ac_tool_warned in
   3804 yes:)
   3805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3807 ac_tool_warned=yes ;;
   3808 esac
   3809     CC=$ac_ct_CC
   3810   fi
   3811 fi
   3812 
   3813 fi
   3814 
   3815 
   3816 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3818 as_fn_error $? "no acceptable C compiler found in \$PATH
   3819 See \`config.log' for more details" "$LINENO" 5; }
   3820 
   3821 # Provide some information about the compiler.
   3822 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3823 set X $ac_compile
   3824 ac_compiler=$2
   3825 for ac_option in --version -v -V -qversion; do
   3826   { { ac_try="$ac_compiler $ac_option >&5"
   3827 case "(($ac_try" in
   3828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3829   *) ac_try_echo=$ac_try;;
   3830 esac
   3831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3832 $as_echo "$ac_try_echo"; } >&5
   3833   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3834   ac_status=$?
   3835   if test -s conftest.err; then
   3836     sed '10a\
   3837 ... rest of stderr output deleted ...
   3838          10q' conftest.err >conftest.er1
   3839     cat conftest.er1 >&5
   3840   fi
   3841   rm -f conftest.er1 conftest.err
   3842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3843   test $ac_status = 0; }
   3844 done
   3845 
   3846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3847 /* end confdefs.h.  */
   3848 
   3849 int
   3850 main ()
   3851 {
   3852 
   3853   ;
   3854   return 0;
   3855 }
   3856 _ACEOF
   3857 ac_clean_files_save=$ac_clean_files
   3858 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3859 # Try to create an executable without -o first, disregard a.out.
   3860 # It will help us diagnose broken compilers, and finding out an intuition
   3861 # of exeext.
   3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3863 $as_echo_n "checking whether the C compiler works... " >&6; }
   3864 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3865 
   3866 # The possible output files:
   3867 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3868 
   3869 ac_rmfiles=
   3870 for ac_file in $ac_files
   3871 do
   3872   case $ac_file in
   3873     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3874     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3875   esac
   3876 done
   3877 rm -f $ac_rmfiles
   3878 
   3879 if { { ac_try="$ac_link_default"
   3880 case "(($ac_try" in
   3881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3882   *) ac_try_echo=$ac_try;;
   3883 esac
   3884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3885 $as_echo "$ac_try_echo"; } >&5
   3886   (eval "$ac_link_default") 2>&5
   3887   ac_status=$?
   3888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3889   test $ac_status = 0; }; then :
   3890   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3891 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3892 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3893 # so that the user can short-circuit this test for compilers unknown to
   3894 # Autoconf.
   3895 for ac_file in $ac_files ''
   3896 do
   3897   test -f "$ac_file" || continue
   3898   case $ac_file in
   3899     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3900 	;;
   3901     [ab].out )
   3902 	# We found the default executable, but exeext='' is most
   3903 	# certainly right.
   3904 	break;;
   3905     *.* )
   3906 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3907 	then :; else
   3908 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3909 	fi
   3910 	# We set ac_cv_exeext here because the later test for it is not
   3911 	# safe: cross compilers may not add the suffix if given an `-o'
   3912 	# argument, so we may need to know it at that point already.
   3913 	# Even if this section looks crufty: it has the advantage of
   3914 	# actually working.
   3915 	break;;
   3916     * )
   3917 	break;;
   3918   esac
   3919 done
   3920 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3921 
   3922 else
   3923   ac_file=''
   3924 fi
   3925 if test -z "$ac_file"; then :
   3926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3927 $as_echo "no" >&6; }
   3928 $as_echo "$as_me: failed program was:" >&5
   3929 sed 's/^/| /' conftest.$ac_ext >&5
   3930 
   3931 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3933 as_fn_error 77 "C compiler cannot create executables
   3934 See \`config.log' for more details" "$LINENO" 5; }
   3935 else
   3936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3937 $as_echo "yes" >&6; }
   3938 fi
   3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3940 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3942 $as_echo "$ac_file" >&6; }
   3943 ac_exeext=$ac_cv_exeext
   3944 
   3945 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3946 ac_clean_files=$ac_clean_files_save
   3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3948 $as_echo_n "checking for suffix of executables... " >&6; }
   3949 if { { ac_try="$ac_link"
   3950 case "(($ac_try" in
   3951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3952   *) ac_try_echo=$ac_try;;
   3953 esac
   3954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3955 $as_echo "$ac_try_echo"; } >&5
   3956   (eval "$ac_link") 2>&5
   3957   ac_status=$?
   3958   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3959   test $ac_status = 0; }; then :
   3960   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3961 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3962 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3963 # `rm'.
   3964 for ac_file in conftest.exe conftest conftest.*; do
   3965   test -f "$ac_file" || continue
   3966   case $ac_file in
   3967     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3968     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3969 	  break;;
   3970     * ) break;;
   3971   esac
   3972 done
   3973 else
   3974   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3976 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3977 See \`config.log' for more details" "$LINENO" 5; }
   3978 fi
   3979 rm -f conftest conftest$ac_cv_exeext
   3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3981 $as_echo "$ac_cv_exeext" >&6; }
   3982 
   3983 rm -f conftest.$ac_ext
   3984 EXEEXT=$ac_cv_exeext
   3985 ac_exeext=$EXEEXT
   3986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3987 /* end confdefs.h.  */
   3988 #include <stdio.h>
   3989 int
   3990 main ()
   3991 {
   3992 FILE *f = fopen ("conftest.out", "w");
   3993  return ferror (f) || fclose (f) != 0;
   3994 
   3995   ;
   3996   return 0;
   3997 }
   3998 _ACEOF
   3999 ac_clean_files="$ac_clean_files conftest.out"
   4000 # Check that the compiler produces executables we can run.  If not, either
   4001 # the compiler is broken, or we cross compile.
   4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4003 $as_echo_n "checking whether we are cross compiling... " >&6; }
   4004 if test "$cross_compiling" != yes; then
   4005   { { ac_try="$ac_link"
   4006 case "(($ac_try" in
   4007   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4008   *) ac_try_echo=$ac_try;;
   4009 esac
   4010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4011 $as_echo "$ac_try_echo"; } >&5
   4012   (eval "$ac_link") 2>&5
   4013   ac_status=$?
   4014   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4015   test $ac_status = 0; }
   4016   if { ac_try='./conftest$ac_cv_exeext'
   4017   { { case "(($ac_try" in
   4018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4019   *) ac_try_echo=$ac_try;;
   4020 esac
   4021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4022 $as_echo "$ac_try_echo"; } >&5
   4023   (eval "$ac_try") 2>&5
   4024   ac_status=$?
   4025   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4026   test $ac_status = 0; }; }; then
   4027     cross_compiling=no
   4028   else
   4029     if test "$cross_compiling" = maybe; then
   4030 	cross_compiling=yes
   4031     else
   4032 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4034 as_fn_error $? "cannot run C compiled programs.
   4035 If you meant to cross compile, use \`--host'.
   4036 See \`config.log' for more details" "$LINENO" 5; }
   4037     fi
   4038   fi
   4039 fi
   4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4041 $as_echo "$cross_compiling" >&6; }
   4042 
   4043 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4044 ac_clean_files=$ac_clean_files_save
   4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4046 $as_echo_n "checking for suffix of object files... " >&6; }
   4047 if ${ac_cv_objext+:} false; then :
   4048   $as_echo_n "(cached) " >&6
   4049 else
   4050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4051 /* end confdefs.h.  */
   4052 
   4053 int
   4054 main ()
   4055 {
   4056 
   4057   ;
   4058   return 0;
   4059 }
   4060 _ACEOF
   4061 rm -f conftest.o conftest.obj
   4062 if { { ac_try="$ac_compile"
   4063 case "(($ac_try" in
   4064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4065   *) ac_try_echo=$ac_try;;
   4066 esac
   4067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4068 $as_echo "$ac_try_echo"; } >&5
   4069   (eval "$ac_compile") 2>&5
   4070   ac_status=$?
   4071   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4072   test $ac_status = 0; }; then :
   4073   for ac_file in conftest.o conftest.obj conftest.*; do
   4074   test -f "$ac_file" || continue;
   4075   case $ac_file in
   4076     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4077     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4078        break;;
   4079   esac
   4080 done
   4081 else
   4082   $as_echo "$as_me: failed program was:" >&5
   4083 sed 's/^/| /' conftest.$ac_ext >&5
   4084 
   4085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4087 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4088 See \`config.log' for more details" "$LINENO" 5; }
   4089 fi
   4090 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4091 fi
   4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4093 $as_echo "$ac_cv_objext" >&6; }
   4094 OBJEXT=$ac_cv_objext
   4095 ac_objext=$OBJEXT
   4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4097 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4098 if ${ac_cv_c_compiler_gnu+:} false; then :
   4099   $as_echo_n "(cached) " >&6
   4100 else
   4101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4102 /* end confdefs.h.  */
   4103 
   4104 int
   4105 main ()
   4106 {
   4107 #ifndef __GNUC__
   4108        choke me
   4109 #endif
   4110 
   4111   ;
   4112   return 0;
   4113 }
   4114 _ACEOF
   4115 if ac_fn_c_try_compile "$LINENO"; then :
   4116   ac_compiler_gnu=yes
   4117 else
   4118   ac_compiler_gnu=no
   4119 fi
   4120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4121 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4122 
   4123 fi
   4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4125 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4126 if test $ac_compiler_gnu = yes; then
   4127   GCC=yes
   4128 else
   4129   GCC=
   4130 fi
   4131 ac_test_CFLAGS=${CFLAGS+set}
   4132 ac_save_CFLAGS=$CFLAGS
   4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4134 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4135 if ${ac_cv_prog_cc_g+:} false; then :
   4136   $as_echo_n "(cached) " >&6
   4137 else
   4138   ac_save_c_werror_flag=$ac_c_werror_flag
   4139    ac_c_werror_flag=yes
   4140    ac_cv_prog_cc_g=no
   4141    CFLAGS="-g"
   4142    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4143 /* end confdefs.h.  */
   4144 
   4145 int
   4146 main ()
   4147 {
   4148 
   4149   ;
   4150   return 0;
   4151 }
   4152 _ACEOF
   4153 if ac_fn_c_try_compile "$LINENO"; then :
   4154   ac_cv_prog_cc_g=yes
   4155 else
   4156   CFLAGS=""
   4157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4158 /* end confdefs.h.  */
   4159 
   4160 int
   4161 main ()
   4162 {
   4163 
   4164   ;
   4165   return 0;
   4166 }
   4167 _ACEOF
   4168 if ac_fn_c_try_compile "$LINENO"; then :
   4169 
   4170 else
   4171   ac_c_werror_flag=$ac_save_c_werror_flag
   4172 	 CFLAGS="-g"
   4173 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4174 /* end confdefs.h.  */
   4175 
   4176 int
   4177 main ()
   4178 {
   4179 
   4180   ;
   4181   return 0;
   4182 }
   4183 _ACEOF
   4184 if ac_fn_c_try_compile "$LINENO"; then :
   4185   ac_cv_prog_cc_g=yes
   4186 fi
   4187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4188 fi
   4189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4190 fi
   4191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4192    ac_c_werror_flag=$ac_save_c_werror_flag
   4193 fi
   4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4195 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4196 if test "$ac_test_CFLAGS" = set; then
   4197   CFLAGS=$ac_save_CFLAGS
   4198 elif test $ac_cv_prog_cc_g = yes; then
   4199   if test "$GCC" = yes; then
   4200     CFLAGS="-g -O2"
   4201   else
   4202     CFLAGS="-g"
   4203   fi
   4204 else
   4205   if test "$GCC" = yes; then
   4206     CFLAGS="-O2"
   4207   else
   4208     CFLAGS=
   4209   fi
   4210 fi
   4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4212 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4213 if ${ac_cv_prog_cc_c89+:} false; then :
   4214   $as_echo_n "(cached) " >&6
   4215 else
   4216   ac_cv_prog_cc_c89=no
   4217 ac_save_CC=$CC
   4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4219 /* end confdefs.h.  */
   4220 #include <stdarg.h>
   4221 #include <stdio.h>
   4222 struct stat;
   4223 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4224 struct buf { int x; };
   4225 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4226 static char *e (p, i)
   4227      char **p;
   4228      int i;
   4229 {
   4230   return p[i];
   4231 }
   4232 static char *f (char * (*g) (char **, int), char **p, ...)
   4233 {
   4234   char *s;
   4235   va_list v;
   4236   va_start (v,p);
   4237   s = g (p, va_arg (v,int));
   4238   va_end (v);
   4239   return s;
   4240 }
   4241 
   4242 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4243    function prototypes and stuff, but not '\xHH' hex character constants.
   4244    These don't provoke an error unfortunately, instead are silently treated
   4245    as 'x'.  The following induces an error, until -std is added to get
   4246    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4247    array size at least.  It's necessary to write '\x00'==0 to get something
   4248    that's true only with -std.  */
   4249 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4250 
   4251 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4252    inside strings and character constants.  */
   4253 #define FOO(x) 'x'
   4254 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4255 
   4256 int test (int i, double x);
   4257 struct s1 {int (*f) (int a);};
   4258 struct s2 {int (*f) (double a);};
   4259 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4260 int argc;
   4261 char **argv;
   4262 int
   4263 main ()
   4264 {
   4265 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4266   ;
   4267   return 0;
   4268 }
   4269 _ACEOF
   4270 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4271 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4272 do
   4273   CC="$ac_save_CC $ac_arg"
   4274   if ac_fn_c_try_compile "$LINENO"; then :
   4275   ac_cv_prog_cc_c89=$ac_arg
   4276 fi
   4277 rm -f core conftest.err conftest.$ac_objext
   4278   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4279 done
   4280 rm -f conftest.$ac_ext
   4281 CC=$ac_save_CC
   4282 
   4283 fi
   4284 # AC_CACHE_VAL
   4285 case "x$ac_cv_prog_cc_c89" in
   4286   x)
   4287     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4288 $as_echo "none needed" >&6; } ;;
   4289   xno)
   4290     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4291 $as_echo "unsupported" >&6; } ;;
   4292   *)
   4293     CC="$CC $ac_cv_prog_cc_c89"
   4294     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4295 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4296 esac
   4297 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4298 
   4299 fi
   4300 
   4301 ac_ext=c
   4302 ac_cpp='$CPP $CPPFLAGS'
   4303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4306 
   4307 ac_ext=c
   4308 ac_cpp='$CPP $CPPFLAGS'
   4309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4313 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4314 if ${am_cv_prog_cc_c_o+:} false; then :
   4315   $as_echo_n "(cached) " >&6
   4316 else
   4317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4318 /* end confdefs.h.  */
   4319 
   4320 int
   4321 main ()
   4322 {
   4323 
   4324   ;
   4325   return 0;
   4326 }
   4327 _ACEOF
   4328   # Make sure it works both with $CC and with simple cc.
   4329   # Following AC_PROG_CC_C_O, we do the test twice because some
   4330   # compilers refuse to overwrite an existing .o file with -o,
   4331   # though they will create one.
   4332   am_cv_prog_cc_c_o=yes
   4333   for am_i in 1 2; do
   4334     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4335    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4336    ac_status=$?
   4337    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4338    (exit $ac_status); } \
   4339          && test -f conftest2.$ac_objext; then
   4340       : OK
   4341     else
   4342       am_cv_prog_cc_c_o=no
   4343       break
   4344     fi
   4345   done
   4346   rm -f core conftest*
   4347   unset am_i
   4348 fi
   4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4350 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4351 if test "$am_cv_prog_cc_c_o" != yes; then
   4352    # Losing compiler, so override with the script.
   4353    # FIXME: It is wrong to rewrite CC.
   4354    # But if we don't then we get into trouble of one sort or another.
   4355    # A longer-term fix would be to have automake use am__CC in this case,
   4356    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4357    CC="$am_aux_dir/compile $CC"
   4358 fi
   4359 ac_ext=c
   4360 ac_cpp='$CPP $CPPFLAGS'
   4361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4364 
   4365 DEPDIR="${am__leading_dot}deps"
   4366 
   4367 ac_config_commands="$ac_config_commands depfiles"
   4368 
   4369 
   4370 am_make=${MAKE-make}
   4371 cat > confinc << 'END'
   4372 am__doit:
   4373 	@echo this is the am__doit target
   4374 .PHONY: am__doit
   4375 END
   4376 # If we don't find an include directive, just comment out the code.
   4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4378 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4379 am__include="#"
   4380 am__quote=
   4381 _am_result=none
   4382 # First try GNU make style include.
   4383 echo "include confinc" > confmf
   4384 # Ignore all kinds of additional output from 'make'.
   4385 case `$am_make -s -f confmf 2> /dev/null` in #(
   4386 *the\ am__doit\ target*)
   4387   am__include=include
   4388   am__quote=
   4389   _am_result=GNU
   4390   ;;
   4391 esac
   4392 # Now try BSD make style include.
   4393 if test "$am__include" = "#"; then
   4394    echo '.include "confinc"' > confmf
   4395    case `$am_make -s -f confmf 2> /dev/null` in #(
   4396    *the\ am__doit\ target*)
   4397      am__include=.include
   4398      am__quote="\""
   4399      _am_result=BSD
   4400      ;;
   4401    esac
   4402 fi
   4403 
   4404 
   4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4406 $as_echo "$_am_result" >&6; }
   4407 rm -f confinc confmf
   4408 
   4409 # Check whether --enable-dependency-tracking was given.
   4410 if test "${enable_dependency_tracking+set}" = set; then :
   4411   enableval=$enable_dependency_tracking;
   4412 fi
   4413 
   4414 if test "x$enable_dependency_tracking" != xno; then
   4415   am_depcomp="$ac_aux_dir/depcomp"
   4416   AMDEPBACKSLASH='\'
   4417   am__nodep='_no'
   4418 fi
   4419  if test "x$enable_dependency_tracking" != xno; then
   4420   AMDEP_TRUE=
   4421   AMDEP_FALSE='#'
   4422 else
   4423   AMDEP_TRUE='#'
   4424   AMDEP_FALSE=
   4425 fi
   4426 
   4427 
   4428 
   4429 depcc="$CC"   am_compiler_list=
   4430 
   4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4432 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4433 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4434   $as_echo_n "(cached) " >&6
   4435 else
   4436   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4437   # We make a subdir and do the tests there.  Otherwise we can end up
   4438   # making bogus files that we don't know about and never remove.  For
   4439   # instance it was reported that on HP-UX the gcc test will end up
   4440   # making a dummy file named 'D' -- because '-MD' means "put the output
   4441   # in D".
   4442   rm -rf conftest.dir
   4443   mkdir conftest.dir
   4444   # Copy depcomp to subdir because otherwise we won't find it if we're
   4445   # using a relative directory.
   4446   cp "$am_depcomp" conftest.dir
   4447   cd conftest.dir
   4448   # We will build objects and dependencies in a subdirectory because
   4449   # it helps to detect inapplicable dependency modes.  For instance
   4450   # both Tru64's cc and ICC support -MD to output dependencies as a
   4451   # side effect of compilation, but ICC will put the dependencies in
   4452   # the current directory while Tru64 will put them in the object
   4453   # directory.
   4454   mkdir sub
   4455 
   4456   am_cv_CC_dependencies_compiler_type=none
   4457   if test "$am_compiler_list" = ""; then
   4458      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4459   fi
   4460   am__universal=false
   4461   case " $depcc " in #(
   4462      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4463      esac
   4464 
   4465   for depmode in $am_compiler_list; do
   4466     # Setup a source with many dependencies, because some compilers
   4467     # like to wrap large dependency lists on column 80 (with \), and
   4468     # we should not choose a depcomp mode which is confused by this.
   4469     #
   4470     # We need to recreate these files for each test, as the compiler may
   4471     # overwrite some of them when testing with obscure command lines.
   4472     # This happens at least with the AIX C compiler.
   4473     : > sub/conftest.c
   4474     for i in 1 2 3 4 5 6; do
   4475       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4476       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4477       # Solaris 10 /bin/sh.
   4478       echo '/* dummy */' > sub/conftst$i.h
   4479     done
   4480     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4481 
   4482     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4483     # mode.  It turns out that the SunPro C++ compiler does not properly
   4484     # handle '-M -o', and we need to detect this.  Also, some Intel
   4485     # versions had trouble with output in subdirs.
   4486     am__obj=sub/conftest.${OBJEXT-o}
   4487     am__minus_obj="-o $am__obj"
   4488     case $depmode in
   4489     gcc)
   4490       # This depmode causes a compiler race in universal mode.
   4491       test "$am__universal" = false || continue
   4492       ;;
   4493     nosideeffect)
   4494       # After this tag, mechanisms are not by side-effect, so they'll
   4495       # only be used when explicitly requested.
   4496       if test "x$enable_dependency_tracking" = xyes; then
   4497 	continue
   4498       else
   4499 	break
   4500       fi
   4501       ;;
   4502     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4503       # This compiler won't grok '-c -o', but also, the minuso test has
   4504       # not run yet.  These depmodes are late enough in the game, and
   4505       # so weak that their functioning should not be impacted.
   4506       am__obj=conftest.${OBJEXT-o}
   4507       am__minus_obj=
   4508       ;;
   4509     none) break ;;
   4510     esac
   4511     if depmode=$depmode \
   4512        source=sub/conftest.c object=$am__obj \
   4513        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4514        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4515          >/dev/null 2>conftest.err &&
   4516        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4517        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4518        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4519        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4520       # icc doesn't choke on unknown options, it will just issue warnings
   4521       # or remarks (even with -Werror).  So we grep stderr for any message
   4522       # that says an option was ignored or not supported.
   4523       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4524       #   icc: Command line warning: ignoring option '-M'; no argument required
   4525       # The diagnosis changed in icc 8.0:
   4526       #   icc: Command line remark: option '-MP' not supported
   4527       if (grep 'ignoring option' conftest.err ||
   4528           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4529         am_cv_CC_dependencies_compiler_type=$depmode
   4530         break
   4531       fi
   4532     fi
   4533   done
   4534 
   4535   cd ..
   4536   rm -rf conftest.dir
   4537 else
   4538   am_cv_CC_dependencies_compiler_type=none
   4539 fi
   4540 
   4541 fi
   4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4543 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4544 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4545 
   4546  if
   4547   test "x$enable_dependency_tracking" != xno \
   4548   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4549   am__fastdepCC_TRUE=
   4550   am__fastdepCC_FALSE='#'
   4551 else
   4552   am__fastdepCC_TRUE='#'
   4553   am__fastdepCC_FALSE=
   4554 fi
   4555 
   4556 
   4557 
   4558 ac_ext=c
   4559 ac_cpp='$CPP $CPPFLAGS'
   4560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4564 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4565 # On Suns, sometimes $CPP names a directory.
   4566 if test -n "$CPP" && test -d "$CPP"; then
   4567   CPP=
   4568 fi
   4569 if test -z "$CPP"; then
   4570   if ${ac_cv_prog_CPP+:} false; then :
   4571   $as_echo_n "(cached) " >&6
   4572 else
   4573       # Double quotes because CPP needs to be expanded
   4574     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4575     do
   4576       ac_preproc_ok=false
   4577 for ac_c_preproc_warn_flag in '' yes
   4578 do
   4579   # Use a header file that comes with gcc, so configuring glibc
   4580   # with a fresh cross-compiler works.
   4581   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4582   # <limits.h> exists even on freestanding compilers.
   4583   # On the NeXT, cc -E runs the code through the compiler's parser,
   4584   # not just through cpp. "Syntax error" is here to catch this case.
   4585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4586 /* end confdefs.h.  */
   4587 #ifdef __STDC__
   4588 # include <limits.h>
   4589 #else
   4590 # include <assert.h>
   4591 #endif
   4592 		     Syntax error
   4593 _ACEOF
   4594 if ac_fn_c_try_cpp "$LINENO"; then :
   4595 
   4596 else
   4597   # Broken: fails on valid input.
   4598 continue
   4599 fi
   4600 rm -f conftest.err conftest.i conftest.$ac_ext
   4601 
   4602   # OK, works on sane cases.  Now check whether nonexistent headers
   4603   # can be detected and how.
   4604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4605 /* end confdefs.h.  */
   4606 #include <ac_nonexistent.h>
   4607 _ACEOF
   4608 if ac_fn_c_try_cpp "$LINENO"; then :
   4609   # Broken: success on invalid input.
   4610 continue
   4611 else
   4612   # Passes both tests.
   4613 ac_preproc_ok=:
   4614 break
   4615 fi
   4616 rm -f conftest.err conftest.i conftest.$ac_ext
   4617 
   4618 done
   4619 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4620 rm -f conftest.i conftest.err conftest.$ac_ext
   4621 if $ac_preproc_ok; then :
   4622   break
   4623 fi
   4624 
   4625     done
   4626     ac_cv_prog_CPP=$CPP
   4627 
   4628 fi
   4629   CPP=$ac_cv_prog_CPP
   4630 else
   4631   ac_cv_prog_CPP=$CPP
   4632 fi
   4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4634 $as_echo "$CPP" >&6; }
   4635 ac_preproc_ok=false
   4636 for ac_c_preproc_warn_flag in '' yes
   4637 do
   4638   # Use a header file that comes with gcc, so configuring glibc
   4639   # with a fresh cross-compiler works.
   4640   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4641   # <limits.h> exists even on freestanding compilers.
   4642   # On the NeXT, cc -E runs the code through the compiler's parser,
   4643   # not just through cpp. "Syntax error" is here to catch this case.
   4644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4645 /* end confdefs.h.  */
   4646 #ifdef __STDC__
   4647 # include <limits.h>
   4648 #else
   4649 # include <assert.h>
   4650 #endif
   4651 		     Syntax error
   4652 _ACEOF
   4653 if ac_fn_c_try_cpp "$LINENO"; then :
   4654 
   4655 else
   4656   # Broken: fails on valid input.
   4657 continue
   4658 fi
   4659 rm -f conftest.err conftest.i conftest.$ac_ext
   4660 
   4661   # OK, works on sane cases.  Now check whether nonexistent headers
   4662   # can be detected and how.
   4663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4664 /* end confdefs.h.  */
   4665 #include <ac_nonexistent.h>
   4666 _ACEOF
   4667 if ac_fn_c_try_cpp "$LINENO"; then :
   4668   # Broken: success on invalid input.
   4669 continue
   4670 else
   4671   # Passes both tests.
   4672 ac_preproc_ok=:
   4673 break
   4674 fi
   4675 rm -f conftest.err conftest.i conftest.$ac_ext
   4676 
   4677 done
   4678 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4679 rm -f conftest.i conftest.err conftest.$ac_ext
   4680 if $ac_preproc_ok; then :
   4681 
   4682 else
   4683   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4685 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4686 See \`config.log' for more details" "$LINENO" 5; }
   4687 fi
   4688 
   4689 ac_ext=c
   4690 ac_cpp='$CPP $CPPFLAGS'
   4691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4694 
   4695 
   4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4697 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4698 if ${ac_cv_path_GREP+:} false; then :
   4699   $as_echo_n "(cached) " >&6
   4700 else
   4701   if test -z "$GREP"; then
   4702   ac_path_GREP_found=false
   4703   # Loop through the user's path and test for each of PROGNAME-LIST
   4704   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4705 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4706 do
   4707   IFS=$as_save_IFS
   4708   test -z "$as_dir" && as_dir=.
   4709     for ac_prog in grep ggrep; do
   4710     for ac_exec_ext in '' $ac_executable_extensions; do
   4711       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4712       as_fn_executable_p "$ac_path_GREP" || continue
   4713 # Check for GNU ac_path_GREP and select it if it is found.
   4714   # Check for GNU $ac_path_GREP
   4715 case `"$ac_path_GREP" --version 2>&1` in
   4716 *GNU*)
   4717   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4718 *)
   4719   ac_count=0
   4720   $as_echo_n 0123456789 >"conftest.in"
   4721   while :
   4722   do
   4723     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4724     mv "conftest.tmp" "conftest.in"
   4725     cp "conftest.in" "conftest.nl"
   4726     $as_echo 'GREP' >> "conftest.nl"
   4727     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4728     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4729     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4730     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4731       # Best one so far, save it but keep looking for a better one
   4732       ac_cv_path_GREP="$ac_path_GREP"
   4733       ac_path_GREP_max=$ac_count
   4734     fi
   4735     # 10*(2^10) chars as input seems more than enough
   4736     test $ac_count -gt 10 && break
   4737   done
   4738   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4739 esac
   4740 
   4741       $ac_path_GREP_found && break 3
   4742     done
   4743   done
   4744   done
   4745 IFS=$as_save_IFS
   4746   if test -z "$ac_cv_path_GREP"; then
   4747     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4748   fi
   4749 else
   4750   ac_cv_path_GREP=$GREP
   4751 fi
   4752 
   4753 fi
   4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4755 $as_echo "$ac_cv_path_GREP" >&6; }
   4756  GREP="$ac_cv_path_GREP"
   4757 
   4758 
   4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4760 $as_echo_n "checking for egrep... " >&6; }
   4761 if ${ac_cv_path_EGREP+:} false; then :
   4762   $as_echo_n "(cached) " >&6
   4763 else
   4764   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4765    then ac_cv_path_EGREP="$GREP -E"
   4766    else
   4767      if test -z "$EGREP"; then
   4768   ac_path_EGREP_found=false
   4769   # Loop through the user's path and test for each of PROGNAME-LIST
   4770   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4771 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4772 do
   4773   IFS=$as_save_IFS
   4774   test -z "$as_dir" && as_dir=.
   4775     for ac_prog in egrep; do
   4776     for ac_exec_ext in '' $ac_executable_extensions; do
   4777       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4778       as_fn_executable_p "$ac_path_EGREP" || continue
   4779 # Check for GNU ac_path_EGREP and select it if it is found.
   4780   # Check for GNU $ac_path_EGREP
   4781 case `"$ac_path_EGREP" --version 2>&1` in
   4782 *GNU*)
   4783   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4784 *)
   4785   ac_count=0
   4786   $as_echo_n 0123456789 >"conftest.in"
   4787   while :
   4788   do
   4789     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4790     mv "conftest.tmp" "conftest.in"
   4791     cp "conftest.in" "conftest.nl"
   4792     $as_echo 'EGREP' >> "conftest.nl"
   4793     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4794     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4795     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4796     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4797       # Best one so far, save it but keep looking for a better one
   4798       ac_cv_path_EGREP="$ac_path_EGREP"
   4799       ac_path_EGREP_max=$ac_count
   4800     fi
   4801     # 10*(2^10) chars as input seems more than enough
   4802     test $ac_count -gt 10 && break
   4803   done
   4804   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4805 esac
   4806 
   4807       $ac_path_EGREP_found && break 3
   4808     done
   4809   done
   4810   done
   4811 IFS=$as_save_IFS
   4812   if test -z "$ac_cv_path_EGREP"; then
   4813     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4814   fi
   4815 else
   4816   ac_cv_path_EGREP=$EGREP
   4817 fi
   4818 
   4819    fi
   4820 fi
   4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4822 $as_echo "$ac_cv_path_EGREP" >&6; }
   4823  EGREP="$ac_cv_path_EGREP"
   4824 
   4825 
   4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4827 $as_echo_n "checking for ANSI C header files... " >&6; }
   4828 if ${ac_cv_header_stdc+:} false; then :
   4829   $as_echo_n "(cached) " >&6
   4830 else
   4831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4832 /* end confdefs.h.  */
   4833 #include <stdlib.h>
   4834 #include <stdarg.h>
   4835 #include <string.h>
   4836 #include <float.h>
   4837 
   4838 int
   4839 main ()
   4840 {
   4841 
   4842   ;
   4843   return 0;
   4844 }
   4845 _ACEOF
   4846 if ac_fn_c_try_compile "$LINENO"; then :
   4847   ac_cv_header_stdc=yes
   4848 else
   4849   ac_cv_header_stdc=no
   4850 fi
   4851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4852 
   4853 if test $ac_cv_header_stdc = yes; then
   4854   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4856 /* end confdefs.h.  */
   4857 #include <string.h>
   4858 
   4859 _ACEOF
   4860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4861   $EGREP "memchr" >/dev/null 2>&1; then :
   4862 
   4863 else
   4864   ac_cv_header_stdc=no
   4865 fi
   4866 rm -f conftest*
   4867 
   4868 fi
   4869 
   4870 if test $ac_cv_header_stdc = yes; then
   4871   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4873 /* end confdefs.h.  */
   4874 #include <stdlib.h>
   4875 
   4876 _ACEOF
   4877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4878   $EGREP "free" >/dev/null 2>&1; then :
   4879 
   4880 else
   4881   ac_cv_header_stdc=no
   4882 fi
   4883 rm -f conftest*
   4884 
   4885 fi
   4886 
   4887 if test $ac_cv_header_stdc = yes; then
   4888   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4889   if test "$cross_compiling" = yes; then :
   4890   :
   4891 else
   4892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4893 /* end confdefs.h.  */
   4894 #include <ctype.h>
   4895 #include <stdlib.h>
   4896 #if ((' ' & 0x0FF) == 0x020)
   4897 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4898 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4899 #else
   4900 # define ISLOWER(c) \
   4901 		   (('a' <= (c) && (c) <= 'i') \
   4902 		     || ('j' <= (c) && (c) <= 'r') \
   4903 		     || ('s' <= (c) && (c) <= 'z'))
   4904 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4905 #endif
   4906 
   4907 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4908 int
   4909 main ()
   4910 {
   4911   int i;
   4912   for (i = 0; i < 256; i++)
   4913     if (XOR (islower (i), ISLOWER (i))
   4914 	|| toupper (i) != TOUPPER (i))
   4915       return 2;
   4916   return 0;
   4917 }
   4918 _ACEOF
   4919 if ac_fn_c_try_run "$LINENO"; then :
   4920 
   4921 else
   4922   ac_cv_header_stdc=no
   4923 fi
   4924 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4925   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4926 fi
   4927 
   4928 fi
   4929 fi
   4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4931 $as_echo "$ac_cv_header_stdc" >&6; }
   4932 if test $ac_cv_header_stdc = yes; then
   4933 
   4934 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4935 
   4936 fi
   4937 
   4938 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4939 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4940 		  inttypes.h stdint.h unistd.h
   4941 do :
   4942   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4943 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4944 "
   4945 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4946   cat >>confdefs.h <<_ACEOF
   4947 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4948 _ACEOF
   4949 
   4950 fi
   4951 
   4952 done
   4953 
   4954 
   4955 
   4956   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4957 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4958   MINIX=yes
   4959 else
   4960   MINIX=
   4961 fi
   4962 
   4963 
   4964   if test "$MINIX" = yes; then
   4965 
   4966 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4967 
   4968 
   4969 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4970 
   4971 
   4972 $as_echo "#define _MINIX 1" >>confdefs.h
   4973 
   4974   fi
   4975 
   4976 
   4977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4978 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4979 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4980   $as_echo_n "(cached) " >&6
   4981 else
   4982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4983 /* end confdefs.h.  */
   4984 
   4985 #         define __EXTENSIONS__ 1
   4986           $ac_includes_default
   4987 int
   4988 main ()
   4989 {
   4990 
   4991   ;
   4992   return 0;
   4993 }
   4994 _ACEOF
   4995 if ac_fn_c_try_compile "$LINENO"; then :
   4996   ac_cv_safe_to_define___extensions__=yes
   4997 else
   4998   ac_cv_safe_to_define___extensions__=no
   4999 fi
   5000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5001 fi
   5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   5003 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   5004   test $ac_cv_safe_to_define___extensions__ = yes &&
   5005     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   5006 
   5007   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   5008 
   5009   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   5010 
   5011   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   5012 
   5013   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 case `pwd` in
   5020   *\ * | *\	*)
   5021     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5022 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5023 esac
   5024 
   5025 
   5026 
   5027 macro_version='2.2.7a'
   5028 macro_revision='1.3134'
   5029 
   5030 
   5031 
   5032 
   5033 
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 
   5041 
   5042 ltmain="$ac_aux_dir/ltmain.sh"
   5043 
   5044 # Backslashify metacharacters that are still active within
   5045 # double-quoted strings.
   5046 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5047 
   5048 # Same as above, but do not quote variable references.
   5049 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5050 
   5051 # Sed substitution to delay expansion of an escaped shell variable in a
   5052 # double_quote_subst'ed string.
   5053 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5054 
   5055 # Sed substitution to delay expansion of an escaped single quote.
   5056 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5057 
   5058 # Sed substitution to avoid accidental globbing in evaled expressions
   5059 no_glob_subst='s/\*/\\\*/g'
   5060 
   5061 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5062 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5063 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5064 
   5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5066 $as_echo_n "checking how to print strings... " >&6; }
   5067 # Test print first, because it will be a builtin if present.
   5068 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   5069    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5070   ECHO='print -r --'
   5071 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5072   ECHO='printf %s\n'
   5073 else
   5074   # Use this function as a fallback that always works.
   5075   func_fallback_echo ()
   5076   {
   5077     eval 'cat <<_LTECHO_EOF
   5078 $1
   5079 _LTECHO_EOF'
   5080   }
   5081   ECHO='func_fallback_echo'
   5082 fi
   5083 
   5084 # func_echo_all arg...
   5085 # Invoke $ECHO with all args, space-separated.
   5086 func_echo_all ()
   5087 {
   5088     $ECHO ""
   5089 }
   5090 
   5091 case "$ECHO" in
   5092   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5093 $as_echo "printf" >&6; } ;;
   5094   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5095 $as_echo "print -r" >&6; } ;;
   5096   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5097 $as_echo "cat" >&6; } ;;
   5098 esac
   5099 
   5100 
   5101 
   5102 
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 
   5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5114 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5115 if ${ac_cv_path_SED+:} false; then :
   5116   $as_echo_n "(cached) " >&6
   5117 else
   5118             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5119      for ac_i in 1 2 3 4 5 6 7; do
   5120        ac_script="$ac_script$as_nl$ac_script"
   5121      done
   5122      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5123      { ac_script=; unset ac_script;}
   5124      if test -z "$SED"; then
   5125   ac_path_SED_found=false
   5126   # Loop through the user's path and test for each of PROGNAME-LIST
   5127   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5128 for as_dir in $PATH
   5129 do
   5130   IFS=$as_save_IFS
   5131   test -z "$as_dir" && as_dir=.
   5132     for ac_prog in sed gsed; do
   5133     for ac_exec_ext in '' $ac_executable_extensions; do
   5134       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5135       as_fn_executable_p "$ac_path_SED" || continue
   5136 # Check for GNU ac_path_SED and select it if it is found.
   5137   # Check for GNU $ac_path_SED
   5138 case `"$ac_path_SED" --version 2>&1` in
   5139 *GNU*)
   5140   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5141 *)
   5142   ac_count=0
   5143   $as_echo_n 0123456789 >"conftest.in"
   5144   while :
   5145   do
   5146     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5147     mv "conftest.tmp" "conftest.in"
   5148     cp "conftest.in" "conftest.nl"
   5149     $as_echo '' >> "conftest.nl"
   5150     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5151     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5152     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5153     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5154       # Best one so far, save it but keep looking for a better one
   5155       ac_cv_path_SED="$ac_path_SED"
   5156       ac_path_SED_max=$ac_count
   5157     fi
   5158     # 10*(2^10) chars as input seems more than enough
   5159     test $ac_count -gt 10 && break
   5160   done
   5161   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5162 esac
   5163 
   5164       $ac_path_SED_found && break 3
   5165     done
   5166   done
   5167   done
   5168 IFS=$as_save_IFS
   5169   if test -z "$ac_cv_path_SED"; then
   5170     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5171   fi
   5172 else
   5173   ac_cv_path_SED=$SED
   5174 fi
   5175 
   5176 fi
   5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5178 $as_echo "$ac_cv_path_SED" >&6; }
   5179  SED="$ac_cv_path_SED"
   5180   rm -f conftest.sed
   5181 
   5182 test -z "$SED" && SED=sed
   5183 Xsed="$SED -e 1s/^X//"
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5196 $as_echo_n "checking for fgrep... " >&6; }
   5197 if ${ac_cv_path_FGREP+:} false; then :
   5198   $as_echo_n "(cached) " >&6
   5199 else
   5200   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5201    then ac_cv_path_FGREP="$GREP -F"
   5202    else
   5203      if test -z "$FGREP"; then
   5204   ac_path_FGREP_found=false
   5205   # Loop through the user's path and test for each of PROGNAME-LIST
   5206   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5207 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5208 do
   5209   IFS=$as_save_IFS
   5210   test -z "$as_dir" && as_dir=.
   5211     for ac_prog in fgrep; do
   5212     for ac_exec_ext in '' $ac_executable_extensions; do
   5213       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5214       as_fn_executable_p "$ac_path_FGREP" || continue
   5215 # Check for GNU ac_path_FGREP and select it if it is found.
   5216   # Check for GNU $ac_path_FGREP
   5217 case `"$ac_path_FGREP" --version 2>&1` in
   5218 *GNU*)
   5219   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5220 *)
   5221   ac_count=0
   5222   $as_echo_n 0123456789 >"conftest.in"
   5223   while :
   5224   do
   5225     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5226     mv "conftest.tmp" "conftest.in"
   5227     cp "conftest.in" "conftest.nl"
   5228     $as_echo 'FGREP' >> "conftest.nl"
   5229     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5230     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5231     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5232     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5233       # Best one so far, save it but keep looking for a better one
   5234       ac_cv_path_FGREP="$ac_path_FGREP"
   5235       ac_path_FGREP_max=$ac_count
   5236     fi
   5237     # 10*(2^10) chars as input seems more than enough
   5238     test $ac_count -gt 10 && break
   5239   done
   5240   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5241 esac
   5242 
   5243       $ac_path_FGREP_found && break 3
   5244     done
   5245   done
   5246   done
   5247 IFS=$as_save_IFS
   5248   if test -z "$ac_cv_path_FGREP"; then
   5249     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5250   fi
   5251 else
   5252   ac_cv_path_FGREP=$FGREP
   5253 fi
   5254 
   5255    fi
   5256 fi
   5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5258 $as_echo "$ac_cv_path_FGREP" >&6; }
   5259  FGREP="$ac_cv_path_FGREP"
   5260 
   5261 
   5262 test -z "$GREP" && GREP=grep
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 # Check whether --with-gnu-ld was given.
   5283 if test "${with_gnu_ld+set}" = set; then :
   5284   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5285 else
   5286   with_gnu_ld=no
   5287 fi
   5288 
   5289 ac_prog=ld
   5290 if test "$GCC" = yes; then
   5291   # Check if gcc -print-prog-name=ld gives a path.
   5292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5293 $as_echo_n "checking for ld used by $CC... " >&6; }
   5294   case $host in
   5295   *-*-mingw*)
   5296     # gcc leaves a trailing carriage return which upsets mingw
   5297     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5298   *)
   5299     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5300   esac
   5301   case $ac_prog in
   5302     # Accept absolute paths.
   5303     [\\/]* | ?:[\\/]*)
   5304       re_direlt='/[^/][^/]*/\.\./'
   5305       # Canonicalize the pathname of ld
   5306       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5307       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5308 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5309       done
   5310       test -z "$LD" && LD="$ac_prog"
   5311       ;;
   5312   "")
   5313     # If it fails, then pretend we aren't using GCC.
   5314     ac_prog=ld
   5315     ;;
   5316   *)
   5317     # If it is relative, then search for the first ld in PATH.
   5318     with_gnu_ld=unknown
   5319     ;;
   5320   esac
   5321 elif test "$with_gnu_ld" = yes; then
   5322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5323 $as_echo_n "checking for GNU ld... " >&6; }
   5324 else
   5325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5326 $as_echo_n "checking for non-GNU ld... " >&6; }
   5327 fi
   5328 if ${lt_cv_path_LD+:} false; then :
   5329   $as_echo_n "(cached) " >&6
   5330 else
   5331   if test -z "$LD"; then
   5332   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5333   for ac_dir in $PATH; do
   5334     IFS="$lt_save_ifs"
   5335     test -z "$ac_dir" && ac_dir=.
   5336     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5337       lt_cv_path_LD="$ac_dir/$ac_prog"
   5338       # Check to see if the program is GNU ld.  I'd rather use --version,
   5339       # but apparently some variants of GNU ld only accept -v.
   5340       # Break only if it was the GNU/non-GNU ld that we prefer.
   5341       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5342       *GNU* | *'with BFD'*)
   5343 	test "$with_gnu_ld" != no && break
   5344 	;;
   5345       *)
   5346 	test "$with_gnu_ld" != yes && break
   5347 	;;
   5348       esac
   5349     fi
   5350   done
   5351   IFS="$lt_save_ifs"
   5352 else
   5353   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5354 fi
   5355 fi
   5356 
   5357 LD="$lt_cv_path_LD"
   5358 if test -n "$LD"; then
   5359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5360 $as_echo "$LD" >&6; }
   5361 else
   5362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5363 $as_echo "no" >&6; }
   5364 fi
   5365 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5367 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5368 if ${lt_cv_prog_gnu_ld+:} false; then :
   5369   $as_echo_n "(cached) " >&6
   5370 else
   5371   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5372 case `$LD -v 2>&1 </dev/null` in
   5373 *GNU* | *'with BFD'*)
   5374   lt_cv_prog_gnu_ld=yes
   5375   ;;
   5376 *)
   5377   lt_cv_prog_gnu_ld=no
   5378   ;;
   5379 esac
   5380 fi
   5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5382 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5383 with_gnu_ld=$lt_cv_prog_gnu_ld
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5394 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5395 if ${lt_cv_path_NM+:} false; then :
   5396   $as_echo_n "(cached) " >&6
   5397 else
   5398   if test -n "$NM"; then
   5399    # Let the user override the nm to test.
   5400    lt_nm_to_check="$NM"
   5401  else
   5402    lt_nm_to_check="${ac_tool_prefix}nm"
   5403    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5404      lt_nm_to_check="$lt_nm_to_check nm"
   5405    fi
   5406  fi
   5407  for lt_tmp_nm in "$lt_nm_to_check"; do
   5408    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5409    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5410      IFS="$lt_save_ifs"
   5411      test -z "$ac_dir" && ac_dir=.
   5412      # Strip out any user-provided options from the nm to test twice,
   5413      # the first time to test to see if nm (rather than its options) has
   5414      # an explicit path, the second time to yield a file which can be
   5415      # nm'ed itself.
   5416      tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
   5417      case "$tmp_nm_path" in
   5418      */*|*\\*) tmp_nm="$lt_tmp_nm";;
   5419      *) tmp_nm="$ac_dir/$lt_tmp_nm";;
   5420      esac
   5421      tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
   5422      if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
   5423        # Check to see if the nm accepts a BSD-compat flag.
   5424        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5425        #   nm: unknown option "B" ignored
   5426        case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   5427        *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
   5428 	 break
   5429 	 ;;
   5430        *)
   5431 	 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   5432 	 *$tmp_nm*)
   5433 	   lt_cv_path_NM="$tmp_nm -p"
   5434 	   break
   5435 	   ;;
   5436 	 *)
   5437 	   lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5438 	   continue # so that we can try to find one that supports BSD flags
   5439 	   ;;
   5440 	 esac
   5441 	 ;;
   5442        esac
   5443      fi
   5444    done
   5445    IFS="$lt_save_ifs"
   5446  done
   5447  : ${lt_cv_path_NM=no}
   5448 fi
   5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5450 $as_echo "$lt_cv_path_NM" >&6; }
   5451 if test "$lt_cv_path_NM" != "no"; then
   5452   NM="$lt_cv_path_NM"
   5453 else
   5454   # Didn't find any BSD compatible name lister, look for dumpbin.
   5455   if test -n "$DUMPBIN"; then :
   5456     # Let the user override the test.
   5457   else
   5458     if test -n "$ac_tool_prefix"; then
   5459   for ac_prog in dumpbin "link -dump"
   5460   do
   5461     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5462 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5464 $as_echo_n "checking for $ac_word... " >&6; }
   5465 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5466   $as_echo_n "(cached) " >&6
   5467 else
   5468   if test -n "$DUMPBIN"; then
   5469   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5470 else
   5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5472 for as_dir in $PATH
   5473 do
   5474   IFS=$as_save_IFS
   5475   test -z "$as_dir" && as_dir=.
   5476     for ac_exec_ext in '' $ac_executable_extensions; do
   5477   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5478     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5480     break 2
   5481   fi
   5482 done
   5483   done
   5484 IFS=$as_save_IFS
   5485 
   5486 fi
   5487 fi
   5488 DUMPBIN=$ac_cv_prog_DUMPBIN
   5489 if test -n "$DUMPBIN"; then
   5490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5491 $as_echo "$DUMPBIN" >&6; }
   5492 else
   5493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5494 $as_echo "no" >&6; }
   5495 fi
   5496 
   5497 
   5498     test -n "$DUMPBIN" && break
   5499   done
   5500 fi
   5501 if test -z "$DUMPBIN"; then
   5502   ac_ct_DUMPBIN=$DUMPBIN
   5503   for ac_prog in dumpbin "link -dump"
   5504 do
   5505   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5506 set dummy $ac_prog; ac_word=$2
   5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5508 $as_echo_n "checking for $ac_word... " >&6; }
   5509 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5510   $as_echo_n "(cached) " >&6
   5511 else
   5512   if test -n "$ac_ct_DUMPBIN"; then
   5513   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5514 else
   5515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5516 for as_dir in $PATH
   5517 do
   5518   IFS=$as_save_IFS
   5519   test -z "$as_dir" && as_dir=.
   5520     for ac_exec_ext in '' $ac_executable_extensions; do
   5521   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5522     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5523     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5524     break 2
   5525   fi
   5526 done
   5527   done
   5528 IFS=$as_save_IFS
   5529 
   5530 fi
   5531 fi
   5532 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5533 if test -n "$ac_ct_DUMPBIN"; then
   5534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5535 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5536 else
   5537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5538 $as_echo "no" >&6; }
   5539 fi
   5540 
   5541 
   5542   test -n "$ac_ct_DUMPBIN" && break
   5543 done
   5544 
   5545   if test "x$ac_ct_DUMPBIN" = x; then
   5546     DUMPBIN=":"
   5547   else
   5548     case $cross_compiling:$ac_tool_warned in
   5549 yes:)
   5550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5552 ac_tool_warned=yes ;;
   5553 esac
   5554     DUMPBIN=$ac_ct_DUMPBIN
   5555   fi
   5556 fi
   5557 
   5558     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5559     *COFF*)
   5560       DUMPBIN="$DUMPBIN -symbols"
   5561       ;;
   5562     *)
   5563       DUMPBIN=:
   5564       ;;
   5565     esac
   5566   fi
   5567 
   5568   if test "$DUMPBIN" != ":"; then
   5569     NM="$DUMPBIN"
   5570   fi
   5571 fi
   5572 test -z "$NM" && NM=nm
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 
   5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5580 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5581 if ${lt_cv_nm_interface+:} false; then :
   5582   $as_echo_n "(cached) " >&6
   5583 else
   5584   lt_cv_nm_interface="BSD nm"
   5585   echo "int some_variable = 0;" > conftest.$ac_ext
   5586   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5587   (eval "$ac_compile" 2>conftest.err)
   5588   cat conftest.err >&5
   5589   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5590   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5591   cat conftest.err >&5
   5592   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5593   cat conftest.out >&5
   5594   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5595     lt_cv_nm_interface="MS dumpbin"
   5596   fi
   5597   rm -f conftest*
   5598 fi
   5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5600 $as_echo "$lt_cv_nm_interface" >&6; }
   5601 
   5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5603 $as_echo_n "checking whether ln -s works... " >&6; }
   5604 LN_S=$as_ln_s
   5605 if test "$LN_S" = "ln -s"; then
   5606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5607 $as_echo "yes" >&6; }
   5608 else
   5609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5610 $as_echo "no, using $LN_S" >&6; }
   5611 fi
   5612 
   5613 # find the maximum length of command line arguments
   5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5615 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5616 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5617   $as_echo_n "(cached) " >&6
   5618 else
   5619     i=0
   5620   teststring="ABCD"
   5621 
   5622   case $build_os in
   5623   msdosdjgpp*)
   5624     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5625     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5626     # during glob expansion).  Even if it were fixed, the result of this
   5627     # check would be larger than it should be.
   5628     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5629     ;;
   5630 
   5631   gnu*)
   5632     # Under GNU Hurd, this test is not required because there is
   5633     # no limit to the length of command line arguments.
   5634     # Libtool will interpret -1 as no limit whatsoever
   5635     lt_cv_sys_max_cmd_len=-1;
   5636     ;;
   5637 
   5638   cygwin* | mingw* | cegcc*)
   5639     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5640     # about 5 minutes as the teststring grows exponentially.
   5641     # Worse, since 9x/ME are not pre-emptively multitasking,
   5642     # you end up with a "frozen" computer, even though with patience
   5643     # the test eventually succeeds (with a max line length of 256k).
   5644     # Instead, let's just punt: use the minimum linelength reported by
   5645     # all of the supported platforms: 8192 (on NT/2K/XP).
   5646     lt_cv_sys_max_cmd_len=8192;
   5647     ;;
   5648 
   5649   mint*)
   5650     # On MiNT this can take a long time and run out of memory.
   5651     lt_cv_sys_max_cmd_len=8192;
   5652     ;;
   5653 
   5654   amigaos*)
   5655     # On AmigaOS with pdksh, this test takes hours, literally.
   5656     # So we just punt and use a minimum line length of 8192.
   5657     lt_cv_sys_max_cmd_len=8192;
   5658     ;;
   5659 
   5660   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5661     # This has been around since 386BSD, at least.  Likely further.
   5662     if test -x /sbin/sysctl; then
   5663       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5664     elif test -x /usr/sbin/sysctl; then
   5665       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5666     else
   5667       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5668     fi
   5669     # And add a safety zone
   5670     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5671     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5672     ;;
   5673 
   5674   interix*)
   5675     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5676     lt_cv_sys_max_cmd_len=196608
   5677     ;;
   5678 
   5679   osf*)
   5680     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5681     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5682     # nice to cause kernel panics so lets avoid the loop below.
   5683     # First set a reasonable default.
   5684     lt_cv_sys_max_cmd_len=16384
   5685     #
   5686     if test -x /sbin/sysconfig; then
   5687       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5688         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5689       esac
   5690     fi
   5691     ;;
   5692   sco3.2v5*)
   5693     lt_cv_sys_max_cmd_len=102400
   5694     ;;
   5695   sysv5* | sco5v6* | sysv4.2uw2*)
   5696     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5697     if test -n "$kargmax"; then
   5698       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5699     else
   5700       lt_cv_sys_max_cmd_len=32768
   5701     fi
   5702     ;;
   5703   *)
   5704     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5705     if test -n "$lt_cv_sys_max_cmd_len"; then
   5706       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5707       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5708     else
   5709       # Make teststring a little bigger before we do anything with it.
   5710       # a 1K string should be a reasonable start.
   5711       for i in 1 2 3 4 5 6 7 8 ; do
   5712         teststring=$teststring$teststring
   5713       done
   5714       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5715       # If test is not a shell built-in, we'll probably end up computing a
   5716       # maximum length that is only half of the actual maximum length, but
   5717       # we can't tell.
   5718       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   5719 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5720 	      test $i != 17 # 1/2 MB should be enough
   5721       do
   5722         i=`expr $i + 1`
   5723         teststring=$teststring$teststring
   5724       done
   5725       # Only check the string length outside the loop.
   5726       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5727       teststring=
   5728       # Add a significant safety factor because C++ compilers can tack on
   5729       # massive amounts of additional arguments before passing them to the
   5730       # linker.  It appears as though 1/2 is a usable value.
   5731       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5732     fi
   5733     ;;
   5734   esac
   5735 
   5736 fi
   5737 
   5738 if test -n $lt_cv_sys_max_cmd_len ; then
   5739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5740 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5741 else
   5742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5743 $as_echo "none" >&6; }
   5744 fi
   5745 max_cmd_len=$lt_cv_sys_max_cmd_len
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 : ${CP="cp -f"}
   5753 : ${MV="mv -f"}
   5754 : ${RM="rm -f"}
   5755 
   5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5757 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5758 # Try some XSI features
   5759 xsi_shell=no
   5760 ( _lt_dummy="a/b/c"
   5761   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5762       = c,a/b,, \
   5763     && eval 'test $(( 1 + 1 )) -eq 2 \
   5764     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5765   && xsi_shell=yes
   5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5767 $as_echo "$xsi_shell" >&6; }
   5768 
   5769 
   5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5771 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5772 lt_shell_append=no
   5773 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5774     >/dev/null 2>&1 \
   5775   && lt_shell_append=yes
   5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5777 $as_echo "$lt_shell_append" >&6; }
   5778 
   5779 
   5780 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5781   lt_unset=unset
   5782 else
   5783   lt_unset=false
   5784 fi
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 # test EBCDIC or ASCII
   5791 case `echo X|tr X '\101'` in
   5792  A) # ASCII based system
   5793     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5794   lt_SP2NL='tr \040 \012'
   5795   lt_NL2SP='tr \015\012 \040\040'
   5796   ;;
   5797  *) # EBCDIC based system
   5798   lt_SP2NL='tr \100 \n'
   5799   lt_NL2SP='tr \r\n \100\100'
   5800   ;;
   5801 esac
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5812 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5813 if ${lt_cv_ld_reload_flag+:} false; then :
   5814   $as_echo_n "(cached) " >&6
   5815 else
   5816   lt_cv_ld_reload_flag='-r'
   5817 fi
   5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5819 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5820 reload_flag=$lt_cv_ld_reload_flag
   5821 case $reload_flag in
   5822 "" | " "*) ;;
   5823 *) reload_flag=" $reload_flag" ;;
   5824 esac
   5825 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5826 case $host_os in
   5827   darwin*)
   5828     if test "$GCC" = yes; then
   5829       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5830     else
   5831       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5832     fi
   5833     ;;
   5834 esac
   5835 
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 
   5842 
   5843 
   5844 if test -n "$ac_tool_prefix"; then
   5845   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5846 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5848 $as_echo_n "checking for $ac_word... " >&6; }
   5849 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5850   $as_echo_n "(cached) " >&6
   5851 else
   5852   if test -n "$OBJDUMP"; then
   5853   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5854 else
   5855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5856 for as_dir in $PATH
   5857 do
   5858   IFS=$as_save_IFS
   5859   test -z "$as_dir" && as_dir=.
   5860     for ac_exec_ext in '' $ac_executable_extensions; do
   5861   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5862     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5863     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5864     break 2
   5865   fi
   5866 done
   5867   done
   5868 IFS=$as_save_IFS
   5869 
   5870 fi
   5871 fi
   5872 OBJDUMP=$ac_cv_prog_OBJDUMP
   5873 if test -n "$OBJDUMP"; then
   5874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5875 $as_echo "$OBJDUMP" >&6; }
   5876 else
   5877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5878 $as_echo "no" >&6; }
   5879 fi
   5880 
   5881 
   5882 fi
   5883 if test -z "$ac_cv_prog_OBJDUMP"; then
   5884   ac_ct_OBJDUMP=$OBJDUMP
   5885   # Extract the first word of "objdump", so it can be a program name with args.
   5886 set dummy objdump; ac_word=$2
   5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5888 $as_echo_n "checking for $ac_word... " >&6; }
   5889 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5890   $as_echo_n "(cached) " >&6
   5891 else
   5892   if test -n "$ac_ct_OBJDUMP"; then
   5893   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5894 else
   5895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5896 for as_dir in $PATH
   5897 do
   5898   IFS=$as_save_IFS
   5899   test -z "$as_dir" && as_dir=.
   5900     for ac_exec_ext in '' $ac_executable_extensions; do
   5901   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5902     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5904     break 2
   5905   fi
   5906 done
   5907   done
   5908 IFS=$as_save_IFS
   5909 
   5910 fi
   5911 fi
   5912 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5913 if test -n "$ac_ct_OBJDUMP"; then
   5914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5915 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5916 else
   5917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5918 $as_echo "no" >&6; }
   5919 fi
   5920 
   5921   if test "x$ac_ct_OBJDUMP" = x; then
   5922     OBJDUMP="false"
   5923   else
   5924     case $cross_compiling:$ac_tool_warned in
   5925 yes:)
   5926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5928 ac_tool_warned=yes ;;
   5929 esac
   5930     OBJDUMP=$ac_ct_OBJDUMP
   5931   fi
   5932 else
   5933   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5934 fi
   5935 
   5936 test -z "$OBJDUMP" && OBJDUMP=objdump
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5947 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5948 if ${lt_cv_deplibs_check_method+:} false; then :
   5949   $as_echo_n "(cached) " >&6
   5950 else
   5951   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5952 lt_cv_file_magic_test_file=
   5953 lt_cv_deplibs_check_method='unknown'
   5954 # Need to set the preceding variable on all platforms that support
   5955 # interlibrary dependencies.
   5956 # 'none' -- dependencies not supported.
   5957 # `unknown' -- same as none, but documents that we really don't know.
   5958 # 'pass_all' -- all dependencies passed with no checks.
   5959 # 'test_compile' -- check by making test program.
   5960 # 'file_magic [[regex]]' -- check by looking for files in library path
   5961 # which responds to the $file_magic_cmd with a given extended regex.
   5962 # If you have `file' or equivalent on your system and you're not sure
   5963 # whether `pass_all' will *always* work, you probably want this one.
   5964 
   5965 case $host_os in
   5966 aix[4-9]*)
   5967   lt_cv_deplibs_check_method=pass_all
   5968   ;;
   5969 
   5970 beos*)
   5971   lt_cv_deplibs_check_method=pass_all
   5972   ;;
   5973 
   5974 bsdi[45]*)
   5975   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5976   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5977   lt_cv_file_magic_test_file=/shlib/libc.so
   5978   ;;
   5979 
   5980 cygwin*)
   5981   # func_win32_libid is a shell function defined in ltmain.sh
   5982   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5983   lt_cv_file_magic_cmd='func_win32_libid'
   5984   ;;
   5985 
   5986 mingw* | pw32*)
   5987   # Base MSYS/MinGW do not provide the 'file' command needed by
   5988   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5989   # unless we find 'file', for example because we are cross-compiling.
   5990   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5991   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5992     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5993     lt_cv_file_magic_cmd='func_win32_libid'
   5994   else
   5995     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   5996     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5997   fi
   5998   ;;
   5999 
   6000 cegcc*)
   6001   # use the weaker test based on 'objdump'. See mingw*.
   6002   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6003   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6004   ;;
   6005 
   6006 darwin* | rhapsody*)
   6007   lt_cv_deplibs_check_method=pass_all
   6008   ;;
   6009 
   6010 freebsd* | dragonfly*)
   6011   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6012     case $host_cpu in
   6013     i*86 )
   6014       # Not sure whether the presence of OpenBSD here was a mistake.
   6015       # Let's accept both of them until this is cleared up.
   6016       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6017       lt_cv_file_magic_cmd=/usr/bin/file
   6018       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6019       ;;
   6020     esac
   6021   else
   6022     lt_cv_deplibs_check_method=pass_all
   6023   fi
   6024   ;;
   6025 
   6026 gnu*)
   6027   lt_cv_deplibs_check_method=pass_all
   6028   ;;
   6029 
   6030 haiku*)
   6031   lt_cv_deplibs_check_method=pass_all
   6032   ;;
   6033 
   6034 hpux10.20* | hpux11*)
   6035   lt_cv_file_magic_cmd=/usr/bin/file
   6036   case $host_cpu in
   6037   ia64*)
   6038     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6039     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6040     ;;
   6041   hppa*64*)
   6042     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]'
   6043     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6044     ;;
   6045   *)
   6046     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6047     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6048     ;;
   6049   esac
   6050   ;;
   6051 
   6052 interix[3-9]*)
   6053   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6054   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6055   ;;
   6056 
   6057 irix5* | irix6* | nonstopux*)
   6058   case $LD in
   6059   *-32|*"-32 ") libmagic=32-bit;;
   6060   *-n32|*"-n32 ") libmagic=N32;;
   6061   *-64|*"-64 ") libmagic=64-bit;;
   6062   *) libmagic=never-match;;
   6063   esac
   6064   lt_cv_deplibs_check_method=pass_all
   6065   ;;
   6066 
   6067 # This must be Linux ELF.
   6068 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   6069   lt_cv_deplibs_check_method=pass_all
   6070   ;;
   6071 
   6072 netbsd*)
   6073   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6074     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6075   else
   6076     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6077   fi
   6078   ;;
   6079 
   6080 newos6*)
   6081   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6082   lt_cv_file_magic_cmd=/usr/bin/file
   6083   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6084   ;;
   6085 
   6086 *nto* | *qnx*)
   6087   lt_cv_deplibs_check_method=pass_all
   6088   ;;
   6089 
   6090 openbsd*)
   6091   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6092     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6093   else
   6094     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6095   fi
   6096   ;;
   6097 
   6098 osf3* | osf4* | osf5*)
   6099   lt_cv_deplibs_check_method=pass_all
   6100   ;;
   6101 
   6102 rdos*)
   6103   lt_cv_deplibs_check_method=pass_all
   6104   ;;
   6105 
   6106 solaris*)
   6107   lt_cv_deplibs_check_method=pass_all
   6108   ;;
   6109 
   6110 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6111   lt_cv_deplibs_check_method=pass_all
   6112   ;;
   6113 
   6114 sysv4 | sysv4.3*)
   6115   case $host_vendor in
   6116   motorola)
   6117     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]'
   6118     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6119     ;;
   6120   ncr)
   6121     lt_cv_deplibs_check_method=pass_all
   6122     ;;
   6123   sequent)
   6124     lt_cv_file_magic_cmd='/bin/file'
   6125     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6126     ;;
   6127   sni)
   6128     lt_cv_file_magic_cmd='/bin/file'
   6129     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6130     lt_cv_file_magic_test_file=/lib/libc.so
   6131     ;;
   6132   siemens)
   6133     lt_cv_deplibs_check_method=pass_all
   6134     ;;
   6135   pc)
   6136     lt_cv_deplibs_check_method=pass_all
   6137     ;;
   6138   esac
   6139   ;;
   6140 
   6141 tpf*)
   6142   lt_cv_deplibs_check_method=pass_all
   6143   ;;
   6144 esac
   6145 
   6146 fi
   6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6148 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6149 file_magic_cmd=$lt_cv_file_magic_cmd
   6150 deplibs_check_method=$lt_cv_deplibs_check_method
   6151 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6152 
   6153 
   6154 
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 plugin_option=
   6165 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
   6166 for plugin in $plugin_names; do
   6167   plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
   6168   if test x$plugin_so = x$plugin; then
   6169     plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
   6170   fi
   6171   if test x$plugin_so != x$plugin; then
   6172     plugin_option="--plugin $plugin_so"
   6173     break
   6174   fi
   6175 done
   6176 
   6177 if test -n "$ac_tool_prefix"; then
   6178   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6179 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6181 $as_echo_n "checking for $ac_word... " >&6; }
   6182 if ${ac_cv_prog_AR+:} false; then :
   6183   $as_echo_n "(cached) " >&6
   6184 else
   6185   if test -n "$AR"; then
   6186   ac_cv_prog_AR="$AR" # Let the user override the test.
   6187 else
   6188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6189 for as_dir in $PATH
   6190 do
   6191   IFS=$as_save_IFS
   6192   test -z "$as_dir" && as_dir=.
   6193     for ac_exec_ext in '' $ac_executable_extensions; do
   6194   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6195     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6196     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6197     break 2
   6198   fi
   6199 done
   6200   done
   6201 IFS=$as_save_IFS
   6202 
   6203 fi
   6204 fi
   6205 AR=$ac_cv_prog_AR
   6206 if test -n "$AR"; then
   6207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6208 $as_echo "$AR" >&6; }
   6209 else
   6210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6211 $as_echo "no" >&6; }
   6212 fi
   6213 
   6214 
   6215 fi
   6216 if test -z "$ac_cv_prog_AR"; then
   6217   ac_ct_AR=$AR
   6218   # Extract the first word of "ar", so it can be a program name with args.
   6219 set dummy ar; ac_word=$2
   6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6221 $as_echo_n "checking for $ac_word... " >&6; }
   6222 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6223   $as_echo_n "(cached) " >&6
   6224 else
   6225   if test -n "$ac_ct_AR"; then
   6226   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6227 else
   6228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6229 for as_dir in $PATH
   6230 do
   6231   IFS=$as_save_IFS
   6232   test -z "$as_dir" && as_dir=.
   6233     for ac_exec_ext in '' $ac_executable_extensions; do
   6234   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6235     ac_cv_prog_ac_ct_AR="ar"
   6236     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6237     break 2
   6238   fi
   6239 done
   6240   done
   6241 IFS=$as_save_IFS
   6242 
   6243 fi
   6244 fi
   6245 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6246 if test -n "$ac_ct_AR"; then
   6247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6248 $as_echo "$ac_ct_AR" >&6; }
   6249 else
   6250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6251 $as_echo "no" >&6; }
   6252 fi
   6253 
   6254   if test "x$ac_ct_AR" = x; then
   6255     AR="false"
   6256   else
   6257     case $cross_compiling:$ac_tool_warned in
   6258 yes:)
   6259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6261 ac_tool_warned=yes ;;
   6262 esac
   6263     AR=$ac_ct_AR
   6264   fi
   6265 else
   6266   AR="$ac_cv_prog_AR"
   6267 fi
   6268 
   6269 test -z "$AR" && AR=ar
   6270 if test -n "$plugin_option"; then
   6271   if $AR --help 2>&1 | grep -q "\--plugin"; then
   6272     touch conftest.c
   6273     $AR $plugin_option rc conftest.a conftest.c
   6274     if test "$?" != 0; then
   6275       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   6276 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   6277     else
   6278       AR="$AR $plugin_option"
   6279     fi
   6280     rm -f conftest.*
   6281   fi
   6282 fi
   6283 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 if test -n "$ac_tool_prefix"; then
   6296   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6297 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6299 $as_echo_n "checking for $ac_word... " >&6; }
   6300 if ${ac_cv_prog_STRIP+:} false; then :
   6301   $as_echo_n "(cached) " >&6
   6302 else
   6303   if test -n "$STRIP"; then
   6304   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6305 else
   6306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6307 for as_dir in $PATH
   6308 do
   6309   IFS=$as_save_IFS
   6310   test -z "$as_dir" && as_dir=.
   6311     for ac_exec_ext in '' $ac_executable_extensions; do
   6312   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6313     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6315     break 2
   6316   fi
   6317 done
   6318   done
   6319 IFS=$as_save_IFS
   6320 
   6321 fi
   6322 fi
   6323 STRIP=$ac_cv_prog_STRIP
   6324 if test -n "$STRIP"; then
   6325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6326 $as_echo "$STRIP" >&6; }
   6327 else
   6328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6329 $as_echo "no" >&6; }
   6330 fi
   6331 
   6332 
   6333 fi
   6334 if test -z "$ac_cv_prog_STRIP"; then
   6335   ac_ct_STRIP=$STRIP
   6336   # Extract the first word of "strip", so it can be a program name with args.
   6337 set dummy strip; ac_word=$2
   6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6339 $as_echo_n "checking for $ac_word... " >&6; }
   6340 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6341   $as_echo_n "(cached) " >&6
   6342 else
   6343   if test -n "$ac_ct_STRIP"; then
   6344   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6345 else
   6346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6347 for as_dir in $PATH
   6348 do
   6349   IFS=$as_save_IFS
   6350   test -z "$as_dir" && as_dir=.
   6351     for ac_exec_ext in '' $ac_executable_extensions; do
   6352   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6353     ac_cv_prog_ac_ct_STRIP="strip"
   6354     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6355     break 2
   6356   fi
   6357 done
   6358   done
   6359 IFS=$as_save_IFS
   6360 
   6361 fi
   6362 fi
   6363 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6364 if test -n "$ac_ct_STRIP"; then
   6365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6366 $as_echo "$ac_ct_STRIP" >&6; }
   6367 else
   6368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6369 $as_echo "no" >&6; }
   6370 fi
   6371 
   6372   if test "x$ac_ct_STRIP" = x; then
   6373     STRIP=":"
   6374   else
   6375     case $cross_compiling:$ac_tool_warned in
   6376 yes:)
   6377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6379 ac_tool_warned=yes ;;
   6380 esac
   6381     STRIP=$ac_ct_STRIP
   6382   fi
   6383 else
   6384   STRIP="$ac_cv_prog_STRIP"
   6385 fi
   6386 
   6387 test -z "$STRIP" && STRIP=:
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 if test -n "$ac_tool_prefix"; then
   6395   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6396 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6398 $as_echo_n "checking for $ac_word... " >&6; }
   6399 if ${ac_cv_prog_RANLIB+:} false; then :
   6400   $as_echo_n "(cached) " >&6
   6401 else
   6402   if test -n "$RANLIB"; then
   6403   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6404 else
   6405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6406 for as_dir in $PATH
   6407 do
   6408   IFS=$as_save_IFS
   6409   test -z "$as_dir" && as_dir=.
   6410     for ac_exec_ext in '' $ac_executable_extensions; do
   6411   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6412     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6413     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6414     break 2
   6415   fi
   6416 done
   6417   done
   6418 IFS=$as_save_IFS
   6419 
   6420 fi
   6421 fi
   6422 RANLIB=$ac_cv_prog_RANLIB
   6423 if test -n "$RANLIB"; then
   6424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6425 $as_echo "$RANLIB" >&6; }
   6426 else
   6427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6428 $as_echo "no" >&6; }
   6429 fi
   6430 
   6431 
   6432 fi
   6433 if test -z "$ac_cv_prog_RANLIB"; then
   6434   ac_ct_RANLIB=$RANLIB
   6435   # Extract the first word of "ranlib", so it can be a program name with args.
   6436 set dummy ranlib; ac_word=$2
   6437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6438 $as_echo_n "checking for $ac_word... " >&6; }
   6439 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6440   $as_echo_n "(cached) " >&6
   6441 else
   6442   if test -n "$ac_ct_RANLIB"; then
   6443   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6444 else
   6445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6446 for as_dir in $PATH
   6447 do
   6448   IFS=$as_save_IFS
   6449   test -z "$as_dir" && as_dir=.
   6450     for ac_exec_ext in '' $ac_executable_extensions; do
   6451   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6452     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6453     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6454     break 2
   6455   fi
   6456 done
   6457   done
   6458 IFS=$as_save_IFS
   6459 
   6460 fi
   6461 fi
   6462 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6463 if test -n "$ac_ct_RANLIB"; then
   6464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6465 $as_echo "$ac_ct_RANLIB" >&6; }
   6466 else
   6467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6468 $as_echo "no" >&6; }
   6469 fi
   6470 
   6471   if test "x$ac_ct_RANLIB" = x; then
   6472     RANLIB=":"
   6473   else
   6474     case $cross_compiling:$ac_tool_warned in
   6475 yes:)
   6476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6478 ac_tool_warned=yes ;;
   6479 esac
   6480     RANLIB=$ac_ct_RANLIB
   6481   fi
   6482 else
   6483   RANLIB="$ac_cv_prog_RANLIB"
   6484 fi
   6485 
   6486 test -z "$RANLIB" && RANLIB=:
   6487 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
   6488   if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
   6489     RANLIB="$RANLIB $plugin_option"
   6490   fi
   6491 fi
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 # Determine commands to create old-style static archives.
   6499 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6500 old_postinstall_cmds='chmod 644 $oldlib'
   6501 old_postuninstall_cmds=
   6502 
   6503 if test -n "$RANLIB"; then
   6504   case $host_os in
   6505   openbsd*)
   6506     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6507     ;;
   6508   *)
   6509     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6510     ;;
   6511   esac
   6512   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6513 fi
   6514 
   6515 case $host_os in
   6516   darwin*)
   6517     lock_old_archive_extraction=yes ;;
   6518   *)
   6519     lock_old_archive_extraction=no ;;
   6520 esac
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 # If no C compiler was specified, use CC.
   6561 LTCC=${LTCC-"$CC"}
   6562 
   6563 # If no C compiler flags were specified, use CFLAGS.
   6564 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6565 
   6566 # Allow CC to be a program name with arguments.
   6567 compiler=$CC
   6568 
   6569 
   6570 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6572 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6573 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6574   $as_echo_n "(cached) " >&6
   6575 else
   6576 
   6577 # These are sane defaults that work on at least a few old systems.
   6578 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6579 
   6580 # Character class describing NM global symbol codes.
   6581 symcode='[BCDEGRST]'
   6582 
   6583 # Regexp to match symbols that can be accessed directly from C.
   6584 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6585 
   6586 # Define system-specific variables.
   6587 case $host_os in
   6588 aix*)
   6589   symcode='[BCDT]'
   6590   ;;
   6591 cygwin* | mingw* | pw32* | cegcc*)
   6592   symcode='[ABCDGISTW]'
   6593   ;;
   6594 hpux*)
   6595   if test "$host_cpu" = ia64; then
   6596     symcode='[ABCDEGRST]'
   6597   fi
   6598   ;;
   6599 irix* | nonstopux*)
   6600   symcode='[BCDEGRST]'
   6601   ;;
   6602 osf*)
   6603   symcode='[BCDEGQRST]'
   6604   ;;
   6605 solaris*)
   6606   symcode='[BCDRT]'
   6607   ;;
   6608 sco3.2v5*)
   6609   symcode='[DT]'
   6610   ;;
   6611 sysv4.2uw2*)
   6612   symcode='[DT]'
   6613   ;;
   6614 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6615   symcode='[ABDT]'
   6616   ;;
   6617 sysv4)
   6618   symcode='[DFNSTU]'
   6619   ;;
   6620 esac
   6621 
   6622 # If we're using GNU nm, then use its standard symbol codes.
   6623 case `$NM -V 2>&1` in
   6624 *GNU* | *'with BFD'*)
   6625   symcode='[ABCDGIRSTW]' ;;
   6626 esac
   6627 
   6628 # Transform an extracted symbol line into a proper C declaration.
   6629 # Some systems (esp. on ia64) link data and code symbols differently,
   6630 # so use this general approach.
   6631 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6632 
   6633 # Transform an extracted symbol line into symbol name and symbol address
   6634 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6635 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'"
   6636 
   6637 # Handle CRLF in mingw tool chain
   6638 opt_cr=
   6639 case $build_os in
   6640 mingw*)
   6641   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6642   ;;
   6643 esac
   6644 
   6645 # Try without a prefix underscore, then with it.
   6646 for ac_symprfx in "" "_"; do
   6647 
   6648   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6649   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6650 
   6651   # Write the raw and C identifiers.
   6652   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6653     # Fake it for dumpbin and say T for any non-static function
   6654     # and D for any global variable.
   6655     # Also find C++ and __fastcall symbols from MSVC++,
   6656     # which start with @ or ?.
   6657     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6658 "     {last_section=section; section=\$ 3};"\
   6659 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6660 "     \$ 0!~/External *\|/{next};"\
   6661 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6662 "     {if(hide[section]) next};"\
   6663 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6664 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6665 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6666 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6667 "     ' prfx=^$ac_symprfx"
   6668   else
   6669     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6670   fi
   6671 
   6672   # Check to see that the pipe works correctly.
   6673   pipe_works=no
   6674 
   6675   rm -f conftest*
   6676   cat > conftest.$ac_ext <<_LT_EOF
   6677 #ifdef __cplusplus
   6678 extern "C" {
   6679 #endif
   6680 char nm_test_var;
   6681 void nm_test_func(void);
   6682 void nm_test_func(void){}
   6683 #ifdef __cplusplus
   6684 }
   6685 #endif
   6686 int main(){nm_test_var='a';nm_test_func();return(0);}
   6687 _LT_EOF
   6688 
   6689   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6690   (eval $ac_compile) 2>&5
   6691   ac_status=$?
   6692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6693   test $ac_status = 0; }; then
   6694     # Now try to grab the symbols.
   6695     nlist=conftest.nm
   6696     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6697   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6698   ac_status=$?
   6699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6700   test $ac_status = 0; } && test -s "$nlist"; then
   6701       # Try sorting and uniquifying the output.
   6702       if sort "$nlist" | uniq > "$nlist"T; then
   6703 	mv -f "$nlist"T "$nlist"
   6704       else
   6705 	rm -f "$nlist"T
   6706       fi
   6707 
   6708       # Make sure that we snagged all the symbols we need.
   6709       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6710 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6711 	  cat <<_LT_EOF > conftest.$ac_ext
   6712 #ifdef __cplusplus
   6713 extern "C" {
   6714 #endif
   6715 
   6716 _LT_EOF
   6717 	  # Now generate the symbol file.
   6718 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6719 
   6720 	  cat <<_LT_EOF >> conftest.$ac_ext
   6721 
   6722 /* The mapping between symbol names and symbols.  */
   6723 const struct {
   6724   const char *name;
   6725   void       *address;
   6726 }
   6727 lt__PROGRAM__LTX_preloaded_symbols[] =
   6728 {
   6729   { "@PROGRAM@", (void *) 0 },
   6730 _LT_EOF
   6731 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6732 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6733   {0, (void *) 0}
   6734 };
   6735 
   6736 /* This works around a problem in FreeBSD linker */
   6737 #ifdef FREEBSD_WORKAROUND
   6738 static const void *lt_preloaded_setup() {
   6739   return lt__PROGRAM__LTX_preloaded_symbols;
   6740 }
   6741 #endif
   6742 
   6743 #ifdef __cplusplus
   6744 }
   6745 #endif
   6746 _LT_EOF
   6747 	  # Now try linking the two files.
   6748 	  mv conftest.$ac_objext conftstm.$ac_objext
   6749 	  lt_save_LIBS="$LIBS"
   6750 	  lt_save_CFLAGS="$CFLAGS"
   6751 	  LIBS="conftstm.$ac_objext"
   6752 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6753 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6754   (eval $ac_link) 2>&5
   6755   ac_status=$?
   6756   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6757   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6758 	    pipe_works=yes
   6759 	  fi
   6760 	  LIBS="$lt_save_LIBS"
   6761 	  CFLAGS="$lt_save_CFLAGS"
   6762 	else
   6763 	  echo "cannot find nm_test_func in $nlist" >&5
   6764 	fi
   6765       else
   6766 	echo "cannot find nm_test_var in $nlist" >&5
   6767       fi
   6768     else
   6769       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6770     fi
   6771   else
   6772     echo "$progname: failed program was:" >&5
   6773     cat conftest.$ac_ext >&5
   6774   fi
   6775   rm -rf conftest* conftst*
   6776 
   6777   # Do not use the global_symbol_pipe unless it works.
   6778   if test "$pipe_works" = yes; then
   6779     break
   6780   else
   6781     lt_cv_sys_global_symbol_pipe=
   6782   fi
   6783 done
   6784 
   6785 fi
   6786 
   6787 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6788   lt_cv_sys_global_symbol_to_cdecl=
   6789 fi
   6790 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6792 $as_echo "failed" >&6; }
   6793 else
   6794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6795 $as_echo "ok" >&6; }
   6796 fi
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 
   6813 
   6814 
   6815 
   6816 
   6817 
   6818 
   6819 # Check whether --enable-libtool-lock was given.
   6820 if test "${enable_libtool_lock+set}" = set; then :
   6821   enableval=$enable_libtool_lock;
   6822 fi
   6823 
   6824 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6825 
   6826 # Some flags need to be propagated to the compiler or linker for good
   6827 # libtool support.
   6828 case $host in
   6829 ia64-*-hpux*)
   6830   # Find out which ABI we are using.
   6831   echo 'int i;' > conftest.$ac_ext
   6832   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6833   (eval $ac_compile) 2>&5
   6834   ac_status=$?
   6835   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6836   test $ac_status = 0; }; then
   6837     case `/usr/bin/file conftest.$ac_objext` in
   6838       *ELF-32*)
   6839 	HPUX_IA64_MODE="32"
   6840 	;;
   6841       *ELF-64*)
   6842 	HPUX_IA64_MODE="64"
   6843 	;;
   6844     esac
   6845   fi
   6846   rm -rf conftest*
   6847   ;;
   6848 *-*-irix6*)
   6849   # Find out which ABI we are using.
   6850   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6851   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6852   (eval $ac_compile) 2>&5
   6853   ac_status=$?
   6854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6855   test $ac_status = 0; }; then
   6856     if test "$lt_cv_prog_gnu_ld" = yes; then
   6857       case `/usr/bin/file conftest.$ac_objext` in
   6858 	*32-bit*)
   6859 	  LD="${LD-ld} -melf32bsmip"
   6860 	  ;;
   6861 	*N32*)
   6862 	  LD="${LD-ld} -melf32bmipn32"
   6863 	  ;;
   6864 	*64-bit*)
   6865 	  LD="${LD-ld} -melf64bmip"
   6866 	;;
   6867       esac
   6868     else
   6869       case `/usr/bin/file conftest.$ac_objext` in
   6870 	*32-bit*)
   6871 	  LD="${LD-ld} -32"
   6872 	  ;;
   6873 	*N32*)
   6874 	  LD="${LD-ld} -n32"
   6875 	  ;;
   6876 	*64-bit*)
   6877 	  LD="${LD-ld} -64"
   6878 	  ;;
   6879       esac
   6880     fi
   6881   fi
   6882   rm -rf conftest*
   6883   ;;
   6884 
   6885 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6886 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6887   # Find out which ABI we are using.
   6888   echo 'int i;' > conftest.$ac_ext
   6889   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6890   (eval $ac_compile) 2>&5
   6891   ac_status=$?
   6892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6893   test $ac_status = 0; }; then
   6894     case `/usr/bin/file conftest.o` in
   6895       *32-bit*)
   6896 	case $host in
   6897 	  x86_64-*kfreebsd*-gnu)
   6898 	    LD="${LD-ld} -m elf_i386_fbsd"
   6899 	    ;;
   6900 	  x86_64-*linux*)
   6901 	    case `/usr/bin/file conftest.o` in
   6902 	      *x86-64*)
   6903 		LD="${LD-ld} -m elf32_x86_64"
   6904 		;;
   6905 	      *)
   6906 		LD="${LD-ld} -m elf_i386"
   6907 		;;
   6908 	    esac
   6909 	    ;;
   6910 	  powerpc64le-*linux*)
   6911 	    LD="${LD-ld} -m elf32lppclinux"
   6912 	    ;;
   6913 	  powerpc64-*linux*)
   6914 	    LD="${LD-ld} -m elf32ppclinux"
   6915 	    ;;
   6916 	  s390x-*linux*)
   6917 	    LD="${LD-ld} -m elf_s390"
   6918 	    ;;
   6919 	  sparc64-*linux*)
   6920 	    LD="${LD-ld} -m elf32_sparc"
   6921 	    ;;
   6922 	esac
   6923 	;;
   6924       *64-bit*)
   6925 	case $host in
   6926 	  x86_64-*kfreebsd*-gnu)
   6927 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6928 	    ;;
   6929 	  x86_64-*linux*)
   6930 	    LD="${LD-ld} -m elf_x86_64"
   6931 	    ;;
   6932 	  powerpcle-*linux*)
   6933 	    LD="${LD-ld} -m elf64lppc"
   6934 	    ;;
   6935 	  powerpc-*linux*)
   6936 	    LD="${LD-ld} -m elf64ppc"
   6937 	    ;;
   6938 	  s390*-*linux*|s390*-*tpf*)
   6939 	    LD="${LD-ld} -m elf64_s390"
   6940 	    ;;
   6941 	  sparc*-*linux*)
   6942 	    LD="${LD-ld} -m elf64_sparc"
   6943 	    ;;
   6944 	esac
   6945 	;;
   6946     esac
   6947   fi
   6948   rm -rf conftest*
   6949   ;;
   6950 
   6951 *-*-sco3.2v5*)
   6952   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6953   SAVE_CFLAGS="$CFLAGS"
   6954   CFLAGS="$CFLAGS -belf"
   6955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6956 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6957 if ${lt_cv_cc_needs_belf+:} false; then :
   6958   $as_echo_n "(cached) " >&6
   6959 else
   6960   ac_ext=c
   6961 ac_cpp='$CPP $CPPFLAGS'
   6962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6965 
   6966      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6967 /* end confdefs.h.  */
   6968 
   6969 int
   6970 main ()
   6971 {
   6972 
   6973   ;
   6974   return 0;
   6975 }
   6976 _ACEOF
   6977 if ac_fn_c_try_link "$LINENO"; then :
   6978   lt_cv_cc_needs_belf=yes
   6979 else
   6980   lt_cv_cc_needs_belf=no
   6981 fi
   6982 rm -f core conftest.err conftest.$ac_objext \
   6983     conftest$ac_exeext conftest.$ac_ext
   6984      ac_ext=c
   6985 ac_cpp='$CPP $CPPFLAGS'
   6986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6989 
   6990 fi
   6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6992 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6993   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6994     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6995     CFLAGS="$SAVE_CFLAGS"
   6996   fi
   6997   ;;
   6998 sparc*-*solaris*)
   6999   # Find out which ABI we are using.
   7000   echo 'int i;' > conftest.$ac_ext
   7001   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7002   (eval $ac_compile) 2>&5
   7003   ac_status=$?
   7004   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7005   test $ac_status = 0; }; then
   7006     case `/usr/bin/file conftest.o` in
   7007     *64-bit*)
   7008       case $lt_cv_prog_gnu_ld in
   7009       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7010       *)
   7011 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7012 	  LD="${LD-ld} -64"
   7013 	fi
   7014 	;;
   7015       esac
   7016       ;;
   7017     esac
   7018   fi
   7019   rm -rf conftest*
   7020   ;;
   7021 esac
   7022 
   7023 need_locks="$enable_libtool_lock"
   7024 
   7025 
   7026   case $host_os in
   7027     rhapsody* | darwin*)
   7028     if test -n "$ac_tool_prefix"; then
   7029   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7030 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7032 $as_echo_n "checking for $ac_word... " >&6; }
   7033 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7034   $as_echo_n "(cached) " >&6
   7035 else
   7036   if test -n "$DSYMUTIL"; then
   7037   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7038 else
   7039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7040 for as_dir in $PATH
   7041 do
   7042   IFS=$as_save_IFS
   7043   test -z "$as_dir" && as_dir=.
   7044     for ac_exec_ext in '' $ac_executable_extensions; do
   7045   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7046     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7047     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7048     break 2
   7049   fi
   7050 done
   7051   done
   7052 IFS=$as_save_IFS
   7053 
   7054 fi
   7055 fi
   7056 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7057 if test -n "$DSYMUTIL"; then
   7058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7059 $as_echo "$DSYMUTIL" >&6; }
   7060 else
   7061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7062 $as_echo "no" >&6; }
   7063 fi
   7064 
   7065 
   7066 fi
   7067 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7068   ac_ct_DSYMUTIL=$DSYMUTIL
   7069   # Extract the first word of "dsymutil", so it can be a program name with args.
   7070 set dummy dsymutil; ac_word=$2
   7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7072 $as_echo_n "checking for $ac_word... " >&6; }
   7073 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7074   $as_echo_n "(cached) " >&6
   7075 else
   7076   if test -n "$ac_ct_DSYMUTIL"; then
   7077   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7078 else
   7079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7080 for as_dir in $PATH
   7081 do
   7082   IFS=$as_save_IFS
   7083   test -z "$as_dir" && as_dir=.
   7084     for ac_exec_ext in '' $ac_executable_extensions; do
   7085   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7086     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7087     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7088     break 2
   7089   fi
   7090 done
   7091   done
   7092 IFS=$as_save_IFS
   7093 
   7094 fi
   7095 fi
   7096 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7097 if test -n "$ac_ct_DSYMUTIL"; then
   7098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7099 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7100 else
   7101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7102 $as_echo "no" >&6; }
   7103 fi
   7104 
   7105   if test "x$ac_ct_DSYMUTIL" = x; then
   7106     DSYMUTIL=":"
   7107   else
   7108     case $cross_compiling:$ac_tool_warned in
   7109 yes:)
   7110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7112 ac_tool_warned=yes ;;
   7113 esac
   7114     DSYMUTIL=$ac_ct_DSYMUTIL
   7115   fi
   7116 else
   7117   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7118 fi
   7119 
   7120     if test -n "$ac_tool_prefix"; then
   7121   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7122 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7124 $as_echo_n "checking for $ac_word... " >&6; }
   7125 if ${ac_cv_prog_NMEDIT+:} false; then :
   7126   $as_echo_n "(cached) " >&6
   7127 else
   7128   if test -n "$NMEDIT"; then
   7129   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7130 else
   7131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7132 for as_dir in $PATH
   7133 do
   7134   IFS=$as_save_IFS
   7135   test -z "$as_dir" && as_dir=.
   7136     for ac_exec_ext in '' $ac_executable_extensions; do
   7137   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7138     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7140     break 2
   7141   fi
   7142 done
   7143   done
   7144 IFS=$as_save_IFS
   7145 
   7146 fi
   7147 fi
   7148 NMEDIT=$ac_cv_prog_NMEDIT
   7149 if test -n "$NMEDIT"; then
   7150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7151 $as_echo "$NMEDIT" >&6; }
   7152 else
   7153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7154 $as_echo "no" >&6; }
   7155 fi
   7156 
   7157 
   7158 fi
   7159 if test -z "$ac_cv_prog_NMEDIT"; then
   7160   ac_ct_NMEDIT=$NMEDIT
   7161   # Extract the first word of "nmedit", so it can be a program name with args.
   7162 set dummy nmedit; ac_word=$2
   7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7164 $as_echo_n "checking for $ac_word... " >&6; }
   7165 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7166   $as_echo_n "(cached) " >&6
   7167 else
   7168   if test -n "$ac_ct_NMEDIT"; then
   7169   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7170 else
   7171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7172 for as_dir in $PATH
   7173 do
   7174   IFS=$as_save_IFS
   7175   test -z "$as_dir" && as_dir=.
   7176     for ac_exec_ext in '' $ac_executable_extensions; do
   7177   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7178     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7179     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7180     break 2
   7181   fi
   7182 done
   7183   done
   7184 IFS=$as_save_IFS
   7185 
   7186 fi
   7187 fi
   7188 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7189 if test -n "$ac_ct_NMEDIT"; then
   7190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7191 $as_echo "$ac_ct_NMEDIT" >&6; }
   7192 else
   7193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7194 $as_echo "no" >&6; }
   7195 fi
   7196 
   7197   if test "x$ac_ct_NMEDIT" = x; then
   7198     NMEDIT=":"
   7199   else
   7200     case $cross_compiling:$ac_tool_warned in
   7201 yes:)
   7202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7204 ac_tool_warned=yes ;;
   7205 esac
   7206     NMEDIT=$ac_ct_NMEDIT
   7207   fi
   7208 else
   7209   NMEDIT="$ac_cv_prog_NMEDIT"
   7210 fi
   7211 
   7212     if test -n "$ac_tool_prefix"; then
   7213   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7214 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7216 $as_echo_n "checking for $ac_word... " >&6; }
   7217 if ${ac_cv_prog_LIPO+:} false; then :
   7218   $as_echo_n "(cached) " >&6
   7219 else
   7220   if test -n "$LIPO"; then
   7221   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7222 else
   7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7224 for as_dir in $PATH
   7225 do
   7226   IFS=$as_save_IFS
   7227   test -z "$as_dir" && as_dir=.
   7228     for ac_exec_ext in '' $ac_executable_extensions; do
   7229   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7230     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7231     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7232     break 2
   7233   fi
   7234 done
   7235   done
   7236 IFS=$as_save_IFS
   7237 
   7238 fi
   7239 fi
   7240 LIPO=$ac_cv_prog_LIPO
   7241 if test -n "$LIPO"; then
   7242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7243 $as_echo "$LIPO" >&6; }
   7244 else
   7245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7246 $as_echo "no" >&6; }
   7247 fi
   7248 
   7249 
   7250 fi
   7251 if test -z "$ac_cv_prog_LIPO"; then
   7252   ac_ct_LIPO=$LIPO
   7253   # Extract the first word of "lipo", so it can be a program name with args.
   7254 set dummy lipo; ac_word=$2
   7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7256 $as_echo_n "checking for $ac_word... " >&6; }
   7257 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7258   $as_echo_n "(cached) " >&6
   7259 else
   7260   if test -n "$ac_ct_LIPO"; then
   7261   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7262 else
   7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7264 for as_dir in $PATH
   7265 do
   7266   IFS=$as_save_IFS
   7267   test -z "$as_dir" && as_dir=.
   7268     for ac_exec_ext in '' $ac_executable_extensions; do
   7269   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7270     ac_cv_prog_ac_ct_LIPO="lipo"
   7271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7272     break 2
   7273   fi
   7274 done
   7275   done
   7276 IFS=$as_save_IFS
   7277 
   7278 fi
   7279 fi
   7280 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7281 if test -n "$ac_ct_LIPO"; then
   7282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7283 $as_echo "$ac_ct_LIPO" >&6; }
   7284 else
   7285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7286 $as_echo "no" >&6; }
   7287 fi
   7288 
   7289   if test "x$ac_ct_LIPO" = x; then
   7290     LIPO=":"
   7291   else
   7292     case $cross_compiling:$ac_tool_warned in
   7293 yes:)
   7294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7296 ac_tool_warned=yes ;;
   7297 esac
   7298     LIPO=$ac_ct_LIPO
   7299   fi
   7300 else
   7301   LIPO="$ac_cv_prog_LIPO"
   7302 fi
   7303 
   7304     if test -n "$ac_tool_prefix"; then
   7305   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7306 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7308 $as_echo_n "checking for $ac_word... " >&6; }
   7309 if ${ac_cv_prog_OTOOL+:} false; then :
   7310   $as_echo_n "(cached) " >&6
   7311 else
   7312   if test -n "$OTOOL"; then
   7313   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7314 else
   7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7316 for as_dir in $PATH
   7317 do
   7318   IFS=$as_save_IFS
   7319   test -z "$as_dir" && as_dir=.
   7320     for ac_exec_ext in '' $ac_executable_extensions; do
   7321   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7322     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7323     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7324     break 2
   7325   fi
   7326 done
   7327   done
   7328 IFS=$as_save_IFS
   7329 
   7330 fi
   7331 fi
   7332 OTOOL=$ac_cv_prog_OTOOL
   7333 if test -n "$OTOOL"; then
   7334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7335 $as_echo "$OTOOL" >&6; }
   7336 else
   7337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7338 $as_echo "no" >&6; }
   7339 fi
   7340 
   7341 
   7342 fi
   7343 if test -z "$ac_cv_prog_OTOOL"; then
   7344   ac_ct_OTOOL=$OTOOL
   7345   # Extract the first word of "otool", so it can be a program name with args.
   7346 set dummy otool; ac_word=$2
   7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7348 $as_echo_n "checking for $ac_word... " >&6; }
   7349 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7350   $as_echo_n "(cached) " >&6
   7351 else
   7352   if test -n "$ac_ct_OTOOL"; then
   7353   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7354 else
   7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7356 for as_dir in $PATH
   7357 do
   7358   IFS=$as_save_IFS
   7359   test -z "$as_dir" && as_dir=.
   7360     for ac_exec_ext in '' $ac_executable_extensions; do
   7361   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7362     ac_cv_prog_ac_ct_OTOOL="otool"
   7363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7364     break 2
   7365   fi
   7366 done
   7367   done
   7368 IFS=$as_save_IFS
   7369 
   7370 fi
   7371 fi
   7372 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7373 if test -n "$ac_ct_OTOOL"; then
   7374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7375 $as_echo "$ac_ct_OTOOL" >&6; }
   7376 else
   7377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7378 $as_echo "no" >&6; }
   7379 fi
   7380 
   7381   if test "x$ac_ct_OTOOL" = x; then
   7382     OTOOL=":"
   7383   else
   7384     case $cross_compiling:$ac_tool_warned in
   7385 yes:)
   7386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7388 ac_tool_warned=yes ;;
   7389 esac
   7390     OTOOL=$ac_ct_OTOOL
   7391   fi
   7392 else
   7393   OTOOL="$ac_cv_prog_OTOOL"
   7394 fi
   7395 
   7396     if test -n "$ac_tool_prefix"; then
   7397   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7398 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7400 $as_echo_n "checking for $ac_word... " >&6; }
   7401 if ${ac_cv_prog_OTOOL64+:} false; then :
   7402   $as_echo_n "(cached) " >&6
   7403 else
   7404   if test -n "$OTOOL64"; then
   7405   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7406 else
   7407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7408 for as_dir in $PATH
   7409 do
   7410   IFS=$as_save_IFS
   7411   test -z "$as_dir" && as_dir=.
   7412     for ac_exec_ext in '' $ac_executable_extensions; do
   7413   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7414     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7416     break 2
   7417   fi
   7418 done
   7419   done
   7420 IFS=$as_save_IFS
   7421 
   7422 fi
   7423 fi
   7424 OTOOL64=$ac_cv_prog_OTOOL64
   7425 if test -n "$OTOOL64"; then
   7426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7427 $as_echo "$OTOOL64" >&6; }
   7428 else
   7429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7430 $as_echo "no" >&6; }
   7431 fi
   7432 
   7433 
   7434 fi
   7435 if test -z "$ac_cv_prog_OTOOL64"; then
   7436   ac_ct_OTOOL64=$OTOOL64
   7437   # Extract the first word of "otool64", so it can be a program name with args.
   7438 set dummy otool64; ac_word=$2
   7439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7440 $as_echo_n "checking for $ac_word... " >&6; }
   7441 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7442   $as_echo_n "(cached) " >&6
   7443 else
   7444   if test -n "$ac_ct_OTOOL64"; then
   7445   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7446 else
   7447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7448 for as_dir in $PATH
   7449 do
   7450   IFS=$as_save_IFS
   7451   test -z "$as_dir" && as_dir=.
   7452     for ac_exec_ext in '' $ac_executable_extensions; do
   7453   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7454     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7456     break 2
   7457   fi
   7458 done
   7459   done
   7460 IFS=$as_save_IFS
   7461 
   7462 fi
   7463 fi
   7464 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7465 if test -n "$ac_ct_OTOOL64"; then
   7466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7467 $as_echo "$ac_ct_OTOOL64" >&6; }
   7468 else
   7469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7470 $as_echo "no" >&6; }
   7471 fi
   7472 
   7473   if test "x$ac_ct_OTOOL64" = x; then
   7474     OTOOL64=":"
   7475   else
   7476     case $cross_compiling:$ac_tool_warned in
   7477 yes:)
   7478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7480 ac_tool_warned=yes ;;
   7481 esac
   7482     OTOOL64=$ac_ct_OTOOL64
   7483   fi
   7484 else
   7485   OTOOL64="$ac_cv_prog_OTOOL64"
   7486 fi
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7515 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7516 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7517   $as_echo_n "(cached) " >&6
   7518 else
   7519   lt_cv_apple_cc_single_mod=no
   7520       if test -z "${LT_MULTI_MODULE}"; then
   7521 	# By default we will add the -single_module flag. You can override
   7522 	# by either setting the environment variable LT_MULTI_MODULE
   7523 	# non-empty at configure time, or by adding -multi_module to the
   7524 	# link flags.
   7525 	rm -rf libconftest.dylib*
   7526 	echo "int foo(void){return 1;}" > conftest.c
   7527 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7528 -dynamiclib -Wl,-single_module conftest.c" >&5
   7529 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7530 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7531         _lt_result=$?
   7532 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7533 	  lt_cv_apple_cc_single_mod=yes
   7534 	else
   7535 	  cat conftest.err >&5
   7536 	fi
   7537 	rm -rf libconftest.dylib*
   7538 	rm -f conftest.*
   7539       fi
   7540 fi
   7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7542 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7543     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7544 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7545 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7546   $as_echo_n "(cached) " >&6
   7547 else
   7548   lt_cv_ld_exported_symbols_list=no
   7549       save_LDFLAGS=$LDFLAGS
   7550       echo "_main" > conftest.sym
   7551       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7552       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7553 /* end confdefs.h.  */
   7554 
   7555 int
   7556 main ()
   7557 {
   7558 
   7559   ;
   7560   return 0;
   7561 }
   7562 _ACEOF
   7563 if ac_fn_c_try_link "$LINENO"; then :
   7564   lt_cv_ld_exported_symbols_list=yes
   7565 else
   7566   lt_cv_ld_exported_symbols_list=no
   7567 fi
   7568 rm -f core conftest.err conftest.$ac_objext \
   7569     conftest$ac_exeext conftest.$ac_ext
   7570 	LDFLAGS="$save_LDFLAGS"
   7571 
   7572 fi
   7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7574 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7575     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7576 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7577 if ${lt_cv_ld_force_load+:} false; then :
   7578   $as_echo_n "(cached) " >&6
   7579 else
   7580   lt_cv_ld_force_load=no
   7581       cat > conftest.c << _LT_EOF
   7582 int forced_loaded() { return 2;}
   7583 _LT_EOF
   7584       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7585       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7586       echo "$AR cru libconftest.a conftest.o" >&5
   7587       $AR cru libconftest.a conftest.o 2>&5
   7588       cat > conftest.c << _LT_EOF
   7589 int main() { return 0;}
   7590 _LT_EOF
   7591       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7592       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7593       _lt_result=$?
   7594       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7595 	lt_cv_ld_force_load=yes
   7596       else
   7597 	cat conftest.err >&5
   7598       fi
   7599         rm -f conftest.err libconftest.a conftest conftest.c
   7600         rm -rf conftest.dSYM
   7601 
   7602 fi
   7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7604 $as_echo "$lt_cv_ld_force_load" >&6; }
   7605     case $host_os in
   7606     rhapsody* | darwin1.[012])
   7607       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7608     darwin1.*)
   7609       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7610     darwin*) # darwin 5.x on
   7611       # if running on 10.5 or later, the deployment target defaults
   7612       # to the OS version, if on x86, and 10.4, the deployment
   7613       # target defaults to 10.4. Don't you love it?
   7614       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7615 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7616 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7617 	10.[012][,.]*)
   7618 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7619 	10.*)
   7620 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7621       esac
   7622     ;;
   7623   esac
   7624     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7625       _lt_dar_single_mod='$single_module'
   7626     fi
   7627     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7628       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7629     else
   7630       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7631     fi
   7632     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7633       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7634     else
   7635       _lt_dsymutil=
   7636     fi
   7637     ;;
   7638   esac
   7639 
   7640 for ac_header in dlfcn.h
   7641 do :
   7642   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7643 "
   7644 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7645   cat >>confdefs.h <<_ACEOF
   7646 #define HAVE_DLFCN_H 1
   7647 _ACEOF
   7648 
   7649 fi
   7650 
   7651 done
   7652 
   7653 
   7654 
   7655 
   7656 
   7657 # Set options
   7658 enable_dlopen=yes
   7659 
   7660 
   7661 
   7662 
   7663   enable_win32_dll=no
   7664 
   7665 
   7666 
   7667   # Check whether --enable-static was given.
   7668 if test "${enable_static+set}" = set; then :
   7669   enableval=$enable_static; p=${PACKAGE-default}
   7670     case $enableval in
   7671     yes) enable_static=yes ;;
   7672     no) enable_static=no ;;
   7673     *)
   7674      enable_static=no
   7675       # Look at the argument we got.  We use all the common list separators.
   7676       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7677       for pkg in $enableval; do
   7678 	IFS="$lt_save_ifs"
   7679 	if test "X$pkg" = "X$p"; then
   7680 	  enable_static=yes
   7681 	fi
   7682       done
   7683       IFS="$lt_save_ifs"
   7684       ;;
   7685     esac
   7686 else
   7687   enable_static=yes
   7688 fi
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 # Check whether --with-pic was given.
   7700 if test "${with_pic+set}" = set; then :
   7701   withval=$with_pic; pic_mode="$withval"
   7702 else
   7703   pic_mode=default
   7704 fi
   7705 
   7706 
   7707 test -z "$pic_mode" && pic_mode=default
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 
   7715   # Check whether --enable-fast-install was given.
   7716 if test "${enable_fast_install+set}" = set; then :
   7717   enableval=$enable_fast_install; p=${PACKAGE-default}
   7718     case $enableval in
   7719     yes) enable_fast_install=yes ;;
   7720     no) enable_fast_install=no ;;
   7721     *)
   7722       enable_fast_install=no
   7723       # Look at the argument we got.  We use all the common list separators.
   7724       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7725       for pkg in $enableval; do
   7726 	IFS="$lt_save_ifs"
   7727 	if test "X$pkg" = "X$p"; then
   7728 	  enable_fast_install=yes
   7729 	fi
   7730       done
   7731       IFS="$lt_save_ifs"
   7732       ;;
   7733     esac
   7734 else
   7735   enable_fast_install=yes
   7736 fi
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 # This can be used to rebuild libtool when needed
   7749 LIBTOOL_DEPS="$ltmain"
   7750 
   7751 # Always use our own libtool.
   7752 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 test -z "$LN_S" && LN_S="ln -s"
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 if test -n "${ZSH_VERSION+set}" ; then
   7795    setopt NO_GLOB_SUBST
   7796 fi
   7797 
   7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7799 $as_echo_n "checking for objdir... " >&6; }
   7800 if ${lt_cv_objdir+:} false; then :
   7801   $as_echo_n "(cached) " >&6
   7802 else
   7803   rm -f .libs 2>/dev/null
   7804 mkdir .libs 2>/dev/null
   7805 if test -d .libs; then
   7806   lt_cv_objdir=.libs
   7807 else
   7808   # MS-DOS does not allow filenames that begin with a dot.
   7809   lt_cv_objdir=_libs
   7810 fi
   7811 rmdir .libs 2>/dev/null
   7812 fi
   7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7814 $as_echo "$lt_cv_objdir" >&6; }
   7815 objdir=$lt_cv_objdir
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 cat >>confdefs.h <<_ACEOF
   7822 #define LT_OBJDIR "$lt_cv_objdir/"
   7823 _ACEOF
   7824 
   7825 
   7826 
   7827 
   7828 case $host_os in
   7829 aix3*)
   7830   # AIX sometimes has problems with the GCC collect2 program.  For some
   7831   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7832   # vanish in a puff of smoke.
   7833   if test "X${COLLECT_NAMES+set}" != Xset; then
   7834     COLLECT_NAMES=
   7835     export COLLECT_NAMES
   7836   fi
   7837   ;;
   7838 esac
   7839 
   7840 # Global variables:
   7841 ofile=libtool
   7842 can_build_shared=yes
   7843 
   7844 # All known linkers require a `.a' archive for static linking (except MSVC,
   7845 # which needs '.lib').
   7846 libext=a
   7847 
   7848 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7849 
   7850 old_CC="$CC"
   7851 old_CFLAGS="$CFLAGS"
   7852 
   7853 # Set sane defaults for various variables
   7854 test -z "$CC" && CC=cc
   7855 test -z "$LTCC" && LTCC=$CC
   7856 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7857 test -z "$LD" && LD=ld
   7858 test -z "$ac_objext" && ac_objext=o
   7859 
   7860 for cc_temp in $compiler""; do
   7861   case $cc_temp in
   7862     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7863     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7864     \-*) ;;
   7865     *) break;;
   7866   esac
   7867 done
   7868 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7869 
   7870 
   7871 # Only perform the check for file, if the check method requires it
   7872 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7873 case $deplibs_check_method in
   7874 file_magic*)
   7875   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7876     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7877 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7878 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7879   $as_echo_n "(cached) " >&6
   7880 else
   7881   case $MAGIC_CMD in
   7882 [\\/*] |  ?:[\\/]*)
   7883   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7884   ;;
   7885 *)
   7886   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7887   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7888   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7889   for ac_dir in $ac_dummy; do
   7890     IFS="$lt_save_ifs"
   7891     test -z "$ac_dir" && ac_dir=.
   7892     if test -f $ac_dir/${ac_tool_prefix}file; then
   7893       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7894       if test -n "$file_magic_test_file"; then
   7895 	case $deplibs_check_method in
   7896 	"file_magic "*)
   7897 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7898 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7899 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7900 	    $EGREP "$file_magic_regex" > /dev/null; then
   7901 	    :
   7902 	  else
   7903 	    cat <<_LT_EOF 1>&2
   7904 
   7905 *** Warning: the command libtool uses to detect shared libraries,
   7906 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7907 *** The result is that libtool may fail to recognize shared libraries
   7908 *** as such.  This will affect the creation of libtool libraries that
   7909 *** depend on shared libraries, but programs linked with such libtool
   7910 *** libraries will work regardless of this problem.  Nevertheless, you
   7911 *** may want to report the problem to your system manager and/or to
   7912 *** bug-libtool@gnu.org
   7913 
   7914 _LT_EOF
   7915 	  fi ;;
   7916 	esac
   7917       fi
   7918       break
   7919     fi
   7920   done
   7921   IFS="$lt_save_ifs"
   7922   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7923   ;;
   7924 esac
   7925 fi
   7926 
   7927 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7928 if test -n "$MAGIC_CMD"; then
   7929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7930 $as_echo "$MAGIC_CMD" >&6; }
   7931 else
   7932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7933 $as_echo "no" >&6; }
   7934 fi
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7941   if test -n "$ac_tool_prefix"; then
   7942     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7943 $as_echo_n "checking for file... " >&6; }
   7944 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7945   $as_echo_n "(cached) " >&6
   7946 else
   7947   case $MAGIC_CMD in
   7948 [\\/*] |  ?:[\\/]*)
   7949   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7950   ;;
   7951 *)
   7952   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7953   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7954   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7955   for ac_dir in $ac_dummy; do
   7956     IFS="$lt_save_ifs"
   7957     test -z "$ac_dir" && ac_dir=.
   7958     if test -f $ac_dir/file; then
   7959       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7960       if test -n "$file_magic_test_file"; then
   7961 	case $deplibs_check_method in
   7962 	"file_magic "*)
   7963 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7964 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7965 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7966 	    $EGREP "$file_magic_regex" > /dev/null; then
   7967 	    :
   7968 	  else
   7969 	    cat <<_LT_EOF 1>&2
   7970 
   7971 *** Warning: the command libtool uses to detect shared libraries,
   7972 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7973 *** The result is that libtool may fail to recognize shared libraries
   7974 *** as such.  This will affect the creation of libtool libraries that
   7975 *** depend on shared libraries, but programs linked with such libtool
   7976 *** libraries will work regardless of this problem.  Nevertheless, you
   7977 *** may want to report the problem to your system manager and/or to
   7978 *** bug-libtool@gnu.org
   7979 
   7980 _LT_EOF
   7981 	  fi ;;
   7982 	esac
   7983       fi
   7984       break
   7985     fi
   7986   done
   7987   IFS="$lt_save_ifs"
   7988   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7989   ;;
   7990 esac
   7991 fi
   7992 
   7993 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7994 if test -n "$MAGIC_CMD"; then
   7995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7996 $as_echo "$MAGIC_CMD" >&6; }
   7997 else
   7998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7999 $as_echo "no" >&6; }
   8000 fi
   8001 
   8002 
   8003   else
   8004     MAGIC_CMD=:
   8005   fi
   8006 fi
   8007 
   8008   fi
   8009   ;;
   8010 esac
   8011 
   8012 # Use C for the default configuration in the libtool script
   8013 
   8014 lt_save_CC="$CC"
   8015 ac_ext=c
   8016 ac_cpp='$CPP $CPPFLAGS'
   8017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8020 
   8021 
   8022 # Source file extension for C test sources.
   8023 ac_ext=c
   8024 
   8025 # Object file extension for compiled C test sources.
   8026 objext=o
   8027 objext=$objext
   8028 
   8029 # Code to be used in simple compile tests
   8030 lt_simple_compile_test_code="int some_variable = 0;"
   8031 
   8032 # Code to be used in simple link tests
   8033 lt_simple_link_test_code='int main(){return(0);}'
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 # If no C compiler was specified, use CC.
   8042 LTCC=${LTCC-"$CC"}
   8043 
   8044 # If no C compiler flags were specified, use CFLAGS.
   8045 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8046 
   8047 # Allow CC to be a program name with arguments.
   8048 compiler=$CC
   8049 
   8050 # Save the default compiler, since it gets overwritten when the other
   8051 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8052 compiler_DEFAULT=$CC
   8053 
   8054 # save warnings/boilerplate of simple test code
   8055 ac_outfile=conftest.$ac_objext
   8056 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8057 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8058 _lt_compiler_boilerplate=`cat conftest.err`
   8059 $RM conftest*
   8060 
   8061 ac_outfile=conftest.$ac_objext
   8062 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8063 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8064 _lt_linker_boilerplate=`cat conftest.err`
   8065 $RM -r conftest*
   8066 
   8067 
   8068 ## CAVEAT EMPTOR:
   8069 ## There is no encapsulation within the following macros, do not change
   8070 ## the running order or otherwise move them around unless you know exactly
   8071 ## what you are doing...
   8072 if test -n "$compiler"; then
   8073 
   8074 lt_prog_compiler_no_builtin_flag=
   8075 
   8076 if test "$GCC" = yes; then
   8077   case $cc_basename in
   8078   nvcc*)
   8079     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8080   *)
   8081     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8082   esac
   8083 
   8084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8085 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8086 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8087   $as_echo_n "(cached) " >&6
   8088 else
   8089   lt_cv_prog_compiler_rtti_exceptions=no
   8090    ac_outfile=conftest.$ac_objext
   8091    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8092    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8093    # Insert the option either (1) after the last *FLAGS variable, or
   8094    # (2) before a word containing "conftest.", or (3) at the end.
   8095    # Note that $ac_compile itself does not contain backslashes and begins
   8096    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8097    # The option is referenced via a variable to avoid confusing sed.
   8098    lt_compile=`echo "$ac_compile" | $SED \
   8099    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8100    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8101    -e 's:$: $lt_compiler_flag:'`
   8102    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8103    (eval "$lt_compile" 2>conftest.err)
   8104    ac_status=$?
   8105    cat conftest.err >&5
   8106    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8107    if (exit $ac_status) && test -s "$ac_outfile"; then
   8108      # The compiler can only warn and ignore the option if not recognized
   8109      # So say no if there are warnings other than the usual output.
   8110      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8111      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8112      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8113        lt_cv_prog_compiler_rtti_exceptions=yes
   8114      fi
   8115    fi
   8116    $RM conftest*
   8117 
   8118 fi
   8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8120 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8121 
   8122 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8123     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8124 else
   8125     :
   8126 fi
   8127 
   8128 fi
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135   lt_prog_compiler_wl=
   8136 lt_prog_compiler_pic=
   8137 lt_prog_compiler_static=
   8138 
   8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8140 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8141 
   8142   if test "$GCC" = yes; then
   8143     lt_prog_compiler_wl='-Wl,'
   8144     lt_prog_compiler_static='-static'
   8145 
   8146     case $host_os in
   8147       aix*)
   8148       # All AIX code is PIC.
   8149       if test "$host_cpu" = ia64; then
   8150 	# AIX 5 now supports IA64 processor
   8151 	lt_prog_compiler_static='-Bstatic'
   8152       fi
   8153       lt_prog_compiler_pic='-fPIC'
   8154       ;;
   8155 
   8156     amigaos*)
   8157       case $host_cpu in
   8158       powerpc)
   8159             # see comment about AmigaOS4 .so support
   8160             lt_prog_compiler_pic='-fPIC'
   8161         ;;
   8162       m68k)
   8163             # FIXME: we need at least 68020 code to build shared libraries, but
   8164             # adding the `-m68020' flag to GCC prevents building anything better,
   8165             # like `-m68040'.
   8166             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8167         ;;
   8168       esac
   8169       ;;
   8170 
   8171     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8172       # PIC is the default for these OSes.
   8173       ;;
   8174 
   8175     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8176       # This hack is so that the source file can tell whether it is being
   8177       # built for inclusion in a dll (and should export symbols for example).
   8178       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8179       # (--disable-auto-import) libraries
   8180       lt_prog_compiler_pic='-DDLL_EXPORT'
   8181       ;;
   8182 
   8183     darwin* | rhapsody*)
   8184       # PIC is the default on this platform
   8185       # Common symbols not allowed in MH_DYLIB files
   8186       lt_prog_compiler_pic='-fno-common'
   8187       ;;
   8188 
   8189     haiku*)
   8190       # PIC is the default for Haiku.
   8191       # The "-static" flag exists, but is broken.
   8192       lt_prog_compiler_static=
   8193       ;;
   8194 
   8195     hpux*)
   8196       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8197       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8198       # sets the default TLS model and affects inlining.
   8199       case $host_cpu in
   8200       hppa*64*)
   8201 	# +Z the default
   8202 	;;
   8203       *)
   8204 	lt_prog_compiler_pic='-fPIC'
   8205 	;;
   8206       esac
   8207       ;;
   8208 
   8209     interix[3-9]*)
   8210       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8211       # Instead, we relocate shared libraries at runtime.
   8212       ;;
   8213 
   8214     msdosdjgpp*)
   8215       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8216       # on systems that don't support them.
   8217       lt_prog_compiler_can_build_shared=no
   8218       enable_shared=no
   8219       ;;
   8220 
   8221     *nto* | *qnx*)
   8222       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8223       # it will coredump.
   8224       lt_prog_compiler_pic='-fPIC -shared'
   8225       ;;
   8226 
   8227     sysv4*MP*)
   8228       if test -d /usr/nec; then
   8229 	lt_prog_compiler_pic=-Kconform_pic
   8230       fi
   8231       ;;
   8232 
   8233     *)
   8234       lt_prog_compiler_pic='-fPIC'
   8235       ;;
   8236     esac
   8237 
   8238     case $cc_basename in
   8239     nvcc*) # Cuda Compiler Driver 2.2
   8240       lt_prog_compiler_wl='-Xlinker '
   8241       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8242       ;;
   8243     esac
   8244   else
   8245     # PORTME Check for flag to pass linker flags through the system compiler.
   8246     case $host_os in
   8247     aix*)
   8248       lt_prog_compiler_wl='-Wl,'
   8249       if test "$host_cpu" = ia64; then
   8250 	# AIX 5 now supports IA64 processor
   8251 	lt_prog_compiler_static='-Bstatic'
   8252       else
   8253 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8254       fi
   8255       ;;
   8256 
   8257     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8258       # This hack is so that the source file can tell whether it is being
   8259       # built for inclusion in a dll (and should export symbols for example).
   8260       lt_prog_compiler_pic='-DDLL_EXPORT'
   8261       ;;
   8262 
   8263     hpux9* | hpux10* | hpux11*)
   8264       lt_prog_compiler_wl='-Wl,'
   8265       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8266       # not for PA HP-UX.
   8267       case $host_cpu in
   8268       hppa*64*|ia64*)
   8269 	# +Z the default
   8270 	;;
   8271       *)
   8272 	lt_prog_compiler_pic='+Z'
   8273 	;;
   8274       esac
   8275       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8276       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8277       ;;
   8278 
   8279     irix5* | irix6* | nonstopux*)
   8280       lt_prog_compiler_wl='-Wl,'
   8281       # PIC (with -KPIC) is the default.
   8282       lt_prog_compiler_static='-non_shared'
   8283       ;;
   8284 
   8285     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8286       case $cc_basename in
   8287       # old Intel for x86_64 which still supported -KPIC.
   8288       ecc*)
   8289 	lt_prog_compiler_wl='-Wl,'
   8290 	lt_prog_compiler_pic='-KPIC'
   8291 	lt_prog_compiler_static='-static'
   8292         ;;
   8293       # icc used to be incompatible with GCC.
   8294       # ICC 10 doesn't accept -KPIC any more.
   8295       icc* | ifort*)
   8296 	lt_prog_compiler_wl='-Wl,'
   8297 	lt_prog_compiler_pic='-fPIC'
   8298 	lt_prog_compiler_static='-static'
   8299         ;;
   8300       # Lahey Fortran 8.1.
   8301       lf95*)
   8302 	lt_prog_compiler_wl='-Wl,'
   8303 	lt_prog_compiler_pic='--shared'
   8304 	lt_prog_compiler_static='--static'
   8305 	;;
   8306       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8307         # Portland Group compilers (*not* the Pentium gcc compiler,
   8308 	# which looks to be a dead project)
   8309 	lt_prog_compiler_wl='-Wl,'
   8310 	lt_prog_compiler_pic='-fpic'
   8311 	lt_prog_compiler_static='-Bstatic'
   8312         ;;
   8313       ccc*)
   8314         lt_prog_compiler_wl='-Wl,'
   8315         # All Alpha code is PIC.
   8316         lt_prog_compiler_static='-non_shared'
   8317         ;;
   8318       xl* | bgxl* | bgf* | mpixl*)
   8319 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8320 	lt_prog_compiler_wl='-Wl,'
   8321 	lt_prog_compiler_pic='-qpic'
   8322 	lt_prog_compiler_static='-qstaticlink'
   8323 	;;
   8324       *)
   8325 	case `$CC -V 2>&1 | sed 5q` in
   8326 	*Sun\ F* | *Sun*Fortran*)
   8327 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8328 	  lt_prog_compiler_pic='-KPIC'
   8329 	  lt_prog_compiler_static='-Bstatic'
   8330 	  lt_prog_compiler_wl=''
   8331 	  ;;
   8332 	*Sun\ C*)
   8333 	  # Sun C 5.9
   8334 	  lt_prog_compiler_pic='-KPIC'
   8335 	  lt_prog_compiler_static='-Bstatic'
   8336 	  lt_prog_compiler_wl='-Wl,'
   8337 	  ;;
   8338 	esac
   8339 	;;
   8340       esac
   8341       ;;
   8342 
   8343     newsos6)
   8344       lt_prog_compiler_pic='-KPIC'
   8345       lt_prog_compiler_static='-Bstatic'
   8346       ;;
   8347 
   8348     *nto* | *qnx*)
   8349       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8350       # it will coredump.
   8351       lt_prog_compiler_pic='-fPIC -shared'
   8352       ;;
   8353 
   8354     osf3* | osf4* | osf5*)
   8355       lt_prog_compiler_wl='-Wl,'
   8356       # All OSF/1 code is PIC.
   8357       lt_prog_compiler_static='-non_shared'
   8358       ;;
   8359 
   8360     rdos*)
   8361       lt_prog_compiler_static='-non_shared'
   8362       ;;
   8363 
   8364     solaris*)
   8365       lt_prog_compiler_pic='-KPIC'
   8366       lt_prog_compiler_static='-Bstatic'
   8367       case $cc_basename in
   8368       f77* | f90* | f95*)
   8369 	lt_prog_compiler_wl='-Qoption ld ';;
   8370       *)
   8371 	lt_prog_compiler_wl='-Wl,';;
   8372       esac
   8373       ;;
   8374 
   8375     sunos4*)
   8376       lt_prog_compiler_wl='-Qoption ld '
   8377       lt_prog_compiler_pic='-PIC'
   8378       lt_prog_compiler_static='-Bstatic'
   8379       ;;
   8380 
   8381     sysv4 | sysv4.2uw2* | sysv4.3*)
   8382       lt_prog_compiler_wl='-Wl,'
   8383       lt_prog_compiler_pic='-KPIC'
   8384       lt_prog_compiler_static='-Bstatic'
   8385       ;;
   8386 
   8387     sysv4*MP*)
   8388       if test -d /usr/nec ;then
   8389 	lt_prog_compiler_pic='-Kconform_pic'
   8390 	lt_prog_compiler_static='-Bstatic'
   8391       fi
   8392       ;;
   8393 
   8394     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8395       lt_prog_compiler_wl='-Wl,'
   8396       lt_prog_compiler_pic='-KPIC'
   8397       lt_prog_compiler_static='-Bstatic'
   8398       ;;
   8399 
   8400     unicos*)
   8401       lt_prog_compiler_wl='-Wl,'
   8402       lt_prog_compiler_can_build_shared=no
   8403       ;;
   8404 
   8405     uts4*)
   8406       lt_prog_compiler_pic='-pic'
   8407       lt_prog_compiler_static='-Bstatic'
   8408       ;;
   8409 
   8410     *)
   8411       lt_prog_compiler_can_build_shared=no
   8412       ;;
   8413     esac
   8414   fi
   8415 
   8416 case $host_os in
   8417   # For platforms which do not support PIC, -DPIC is meaningless:
   8418   *djgpp*)
   8419     lt_prog_compiler_pic=
   8420     ;;
   8421   *)
   8422     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8423     ;;
   8424 esac
   8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8426 $as_echo "$lt_prog_compiler_pic" >&6; }
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 #
   8434 # Check to make sure the PIC flag actually works.
   8435 #
   8436 if test -n "$lt_prog_compiler_pic"; then
   8437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8438 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8439 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8440   $as_echo_n "(cached) " >&6
   8441 else
   8442   lt_cv_prog_compiler_pic_works=no
   8443    ac_outfile=conftest.$ac_objext
   8444    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8445    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8446    # Insert the option either (1) after the last *FLAGS variable, or
   8447    # (2) before a word containing "conftest.", or (3) at the end.
   8448    # Note that $ac_compile itself does not contain backslashes and begins
   8449    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8450    # The option is referenced via a variable to avoid confusing sed.
   8451    lt_compile=`echo "$ac_compile" | $SED \
   8452    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8453    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8454    -e 's:$: $lt_compiler_flag:'`
   8455    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8456    (eval "$lt_compile" 2>conftest.err)
   8457    ac_status=$?
   8458    cat conftest.err >&5
   8459    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8460    if (exit $ac_status) && test -s "$ac_outfile"; then
   8461      # The compiler can only warn and ignore the option if not recognized
   8462      # So say no if there are warnings other than the usual output.
   8463      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8464      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8465      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8466        lt_cv_prog_compiler_pic_works=yes
   8467      fi
   8468    fi
   8469    $RM conftest*
   8470 
   8471 fi
   8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8473 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8474 
   8475 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8476     case $lt_prog_compiler_pic in
   8477      "" | " "*) ;;
   8478      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8479      esac
   8480 else
   8481     lt_prog_compiler_pic=
   8482      lt_prog_compiler_can_build_shared=no
   8483 fi
   8484 
   8485 fi
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 #
   8493 # Check to make sure the static flag actually works.
   8494 #
   8495 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8497 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8498 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8499   $as_echo_n "(cached) " >&6
   8500 else
   8501   lt_cv_prog_compiler_static_works=no
   8502    save_LDFLAGS="$LDFLAGS"
   8503    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8504    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8505    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8506      # The linker can only warn and ignore the option if not recognized
   8507      # So say no if there are warnings
   8508      if test -s conftest.err; then
   8509        # Append any errors to the config.log.
   8510        cat conftest.err 1>&5
   8511        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8512        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8513        if diff conftest.exp conftest.er2 >/dev/null; then
   8514          lt_cv_prog_compiler_static_works=yes
   8515        fi
   8516      else
   8517        lt_cv_prog_compiler_static_works=yes
   8518      fi
   8519    fi
   8520    $RM -r conftest*
   8521    LDFLAGS="$save_LDFLAGS"
   8522 
   8523 fi
   8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8525 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8526 
   8527 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8528     :
   8529 else
   8530     lt_prog_compiler_static=
   8531 fi
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8540 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8541 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8542   $as_echo_n "(cached) " >&6
   8543 else
   8544   lt_cv_prog_compiler_c_o=no
   8545    $RM -r conftest 2>/dev/null
   8546    mkdir conftest
   8547    cd conftest
   8548    mkdir out
   8549    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8550 
   8551    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8552    # Insert the option either (1) after the last *FLAGS variable, or
   8553    # (2) before a word containing "conftest.", or (3) at the end.
   8554    # Note that $ac_compile itself does not contain backslashes and begins
   8555    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8556    lt_compile=`echo "$ac_compile" | $SED \
   8557    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8558    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8559    -e 's:$: $lt_compiler_flag:'`
   8560    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8561    (eval "$lt_compile" 2>out/conftest.err)
   8562    ac_status=$?
   8563    cat out/conftest.err >&5
   8564    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8565    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8566    then
   8567      # The compiler can only warn and ignore the option if not recognized
   8568      # So say no if there are warnings
   8569      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8570      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8571      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8572        lt_cv_prog_compiler_c_o=yes
   8573      fi
   8574    fi
   8575    chmod u+w . 2>&5
   8576    $RM conftest*
   8577    # SGI C++ compiler will create directory out/ii_files/ for
   8578    # template instantiation
   8579    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8580    $RM out/* && rmdir out
   8581    cd ..
   8582    $RM -r conftest
   8583    $RM conftest*
   8584 
   8585 fi
   8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8587 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8595 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8596 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8597   $as_echo_n "(cached) " >&6
   8598 else
   8599   lt_cv_prog_compiler_c_o=no
   8600    $RM -r conftest 2>/dev/null
   8601    mkdir conftest
   8602    cd conftest
   8603    mkdir out
   8604    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8605 
   8606    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8607    # Insert the option either (1) after the last *FLAGS variable, or
   8608    # (2) before a word containing "conftest.", or (3) at the end.
   8609    # Note that $ac_compile itself does not contain backslashes and begins
   8610    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8611    lt_compile=`echo "$ac_compile" | $SED \
   8612    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8613    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8614    -e 's:$: $lt_compiler_flag:'`
   8615    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8616    (eval "$lt_compile" 2>out/conftest.err)
   8617    ac_status=$?
   8618    cat out/conftest.err >&5
   8619    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8620    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8621    then
   8622      # The compiler can only warn and ignore the option if not recognized
   8623      # So say no if there are warnings
   8624      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8625      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8626      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8627        lt_cv_prog_compiler_c_o=yes
   8628      fi
   8629    fi
   8630    chmod u+w . 2>&5
   8631    $RM conftest*
   8632    # SGI C++ compiler will create directory out/ii_files/ for
   8633    # template instantiation
   8634    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8635    $RM out/* && rmdir out
   8636    cd ..
   8637    $RM -r conftest
   8638    $RM conftest*
   8639 
   8640 fi
   8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8642 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8643 
   8644 
   8645 
   8646 
   8647 hard_links="nottested"
   8648 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8649   # do not overwrite the value of need_locks provided by the user
   8650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8651 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8652   hard_links=yes
   8653   $RM conftest*
   8654   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8655   touch conftest.a
   8656   ln conftest.a conftest.b 2>&5 || hard_links=no
   8657   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8659 $as_echo "$hard_links" >&6; }
   8660   if test "$hard_links" = no; then
   8661     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8662 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8663     need_locks=warn
   8664   fi
   8665 else
   8666   need_locks=no
   8667 fi
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 
   8674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8675 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8676 
   8677   runpath_var=
   8678   allow_undefined_flag=
   8679   always_export_symbols=no
   8680   archive_cmds=
   8681   archive_expsym_cmds=
   8682   compiler_needs_object=no
   8683   enable_shared_with_static_runtimes=no
   8684   export_dynamic_flag_spec=
   8685   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8686   hardcode_automatic=no
   8687   hardcode_direct=no
   8688   hardcode_direct_absolute=no
   8689   hardcode_libdir_flag_spec=
   8690   hardcode_libdir_flag_spec_ld=
   8691   hardcode_libdir_separator=
   8692   hardcode_minus_L=no
   8693   hardcode_shlibpath_var=unsupported
   8694   inherit_rpath=no
   8695   link_all_deplibs=unknown
   8696   module_cmds=
   8697   module_expsym_cmds=
   8698   old_archive_from_new_cmds=
   8699   old_archive_from_expsyms_cmds=
   8700   thread_safe_flag_spec=
   8701   whole_archive_flag_spec=
   8702   # include_expsyms should be a list of space-separated symbols to be *always*
   8703   # included in the symbol list
   8704   include_expsyms=
   8705   # exclude_expsyms can be an extended regexp of symbols to exclude
   8706   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8707   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8708   # as well as any symbol that contains `d'.
   8709   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8710   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8711   # platforms (ab)use it in PIC code, but their linkers get confused if
   8712   # the symbol is explicitly referenced.  Since portable code cannot
   8713   # rely on this symbol name, it's probably fine to never include it in
   8714   # preloaded symbol tables.
   8715   # Exclude shared library initialization/finalization symbols.
   8716   extract_expsyms_cmds=
   8717 
   8718   case $host_os in
   8719   cygwin* | mingw* | pw32* | cegcc*)
   8720     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8721     # When not using gcc, we currently assume that we are using
   8722     # Microsoft Visual C++.
   8723     if test "$GCC" != yes; then
   8724       with_gnu_ld=no
   8725     fi
   8726     ;;
   8727   interix*)
   8728     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8729     with_gnu_ld=yes
   8730     ;;
   8731   openbsd*)
   8732     with_gnu_ld=no
   8733     ;;
   8734   esac
   8735 
   8736   ld_shlibs=yes
   8737 
   8738   # On some targets, GNU ld is compatible enough with the native linker
   8739   # that we're better off using the native interface for both.
   8740   lt_use_gnu_ld_interface=no
   8741   if test "$with_gnu_ld" = yes; then
   8742     case $host_os in
   8743       aix*)
   8744 	# The AIX port of GNU ld has always aspired to compatibility
   8745 	# with the native linker.  However, as the warning in the GNU ld
   8746 	# block says, versions before 2.19.5* couldn't really create working
   8747 	# shared libraries, regardless of the interface used.
   8748 	case `$LD -v 2>&1` in
   8749 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8750 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8751 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8752 	  *)
   8753 	    lt_use_gnu_ld_interface=yes
   8754 	    ;;
   8755 	esac
   8756 	;;
   8757       *)
   8758 	lt_use_gnu_ld_interface=yes
   8759 	;;
   8760     esac
   8761   fi
   8762 
   8763   if test "$lt_use_gnu_ld_interface" = yes; then
   8764     # If archive_cmds runs LD, not CC, wlarc should be empty
   8765     wlarc='${wl}'
   8766 
   8767     # Set some defaults for GNU ld with shared library support. These
   8768     # are reset later if shared libraries are not supported. Putting them
   8769     # here allows them to be overridden if necessary.
   8770     runpath_var=LD_RUN_PATH
   8771     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8772     export_dynamic_flag_spec='${wl}--export-dynamic'
   8773     # ancient GNU ld didn't support --whole-archive et. al.
   8774     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8775       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8776     else
   8777       whole_archive_flag_spec=
   8778     fi
   8779     supports_anon_versioning=no
   8780     case `$LD -v 2>&1` in
   8781       *GNU\ gold*) supports_anon_versioning=yes ;;
   8782       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8783       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8784       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8785       *\ 2.11.*) ;; # other 2.11 versions
   8786       *) supports_anon_versioning=yes ;;
   8787     esac
   8788 
   8789     # See if GNU ld supports shared libraries.
   8790     case $host_os in
   8791     aix[3-9]*)
   8792       # On AIX/PPC, the GNU linker is very broken
   8793       if test "$host_cpu" != ia64; then
   8794 	ld_shlibs=no
   8795 	cat <<_LT_EOF 1>&2
   8796 
   8797 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8798 *** to be unable to reliably create shared libraries on AIX.
   8799 *** Therefore, libtool is disabling shared libraries support.  If you
   8800 *** really care for shared libraries, you may want to install binutils
   8801 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8802 *** You will then need to restart the configuration process.
   8803 
   8804 _LT_EOF
   8805       fi
   8806       ;;
   8807 
   8808     amigaos*)
   8809       case $host_cpu in
   8810       powerpc)
   8811             # see comment about AmigaOS4 .so support
   8812             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8813             archive_expsym_cmds=''
   8814         ;;
   8815       m68k)
   8816             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)'
   8817             hardcode_libdir_flag_spec='-L$libdir'
   8818             hardcode_minus_L=yes
   8819         ;;
   8820       esac
   8821       ;;
   8822 
   8823     beos*)
   8824       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8825 	allow_undefined_flag=unsupported
   8826 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8827 	# support --undefined.  This deserves some investigation.  FIXME
   8828 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8829       else
   8830 	ld_shlibs=no
   8831       fi
   8832       ;;
   8833 
   8834     cygwin* | mingw* | pw32* | cegcc*)
   8835       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8836       # as there is no search path for DLLs.
   8837       hardcode_libdir_flag_spec='-L$libdir'
   8838       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8839       allow_undefined_flag=unsupported
   8840       always_export_symbols=no
   8841       enable_shared_with_static_runtimes=yes
   8842       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8843 
   8844       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8845         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8846 	# If the export-symbols file already is a .def file (1st line
   8847 	# is EXPORTS), use it as is; otherwise, prepend...
   8848 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8849 	  cp $export_symbols $output_objdir/$soname.def;
   8850 	else
   8851 	  echo EXPORTS > $output_objdir/$soname.def;
   8852 	  cat $export_symbols >> $output_objdir/$soname.def;
   8853 	fi~
   8854 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8855       else
   8856 	ld_shlibs=no
   8857       fi
   8858       ;;
   8859 
   8860     haiku*)
   8861       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8862       link_all_deplibs=yes
   8863       ;;
   8864 
   8865     interix[3-9]*)
   8866       hardcode_direct=no
   8867       hardcode_shlibpath_var=no
   8868       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8869       export_dynamic_flag_spec='${wl}-E'
   8870       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8871       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8872       # default) and relocated if they conflict, which is a slow very memory
   8873       # consuming and fragmenting process.  To avoid this, we pick a random,
   8874       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8875       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8876       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8877       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'
   8878       ;;
   8879 
   8880     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8881       tmp_diet=no
   8882       if test "$host_os" = linux-dietlibc; then
   8883 	case $cc_basename in
   8884 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8885 	esac
   8886       fi
   8887       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8888 	 && test "$tmp_diet" = no
   8889       then
   8890 	tmp_addflag=' $pic_flag'
   8891 	tmp_sharedflag='-shared'
   8892 	case $cc_basename,$host_cpu in
   8893         pgcc*)				# Portland Group C compiler
   8894 	  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'
   8895 	  tmp_addflag=' $pic_flag'
   8896 	  ;;
   8897 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8898 					# Portland Group f77 and f90 compilers
   8899 	  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'
   8900 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8901 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8902 	  tmp_addflag=' -i_dynamic' ;;
   8903 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8904 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8905 	ifc* | ifort*)			# Intel Fortran compiler
   8906 	  tmp_addflag=' -nofor_main' ;;
   8907 	lf95*)				# Lahey Fortran 8.1
   8908 	  whole_archive_flag_spec=
   8909 	  tmp_sharedflag='--shared' ;;
   8910 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8911 	  tmp_sharedflag='-qmkshrobj'
   8912 	  tmp_addflag= ;;
   8913 	nvcc*)	# Cuda Compiler Driver 2.2
   8914 	  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'
   8915 	  compiler_needs_object=yes
   8916 	  ;;
   8917 	esac
   8918 	case `$CC -V 2>&1 | sed 5q` in
   8919 	*Sun\ C*)			# Sun C 5.9
   8920 	  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'
   8921 	  compiler_needs_object=yes
   8922 	  tmp_sharedflag='-G' ;;
   8923 	*Sun\ F*)			# Sun Fortran 8.3
   8924 	  tmp_sharedflag='-G' ;;
   8925 	esac
   8926 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8927 
   8928         if test "x$supports_anon_versioning" = xyes; then
   8929           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8930 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8931 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8932 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8933         fi
   8934 
   8935 	case $cc_basename in
   8936 	xlf* | bgf* | bgxlf* | mpixlf*)
   8937 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8938 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8939 	  hardcode_libdir_flag_spec=
   8940 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8941 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8942 	  if test "x$supports_anon_versioning" = xyes; then
   8943 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8944 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8945 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8946 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8947 	  fi
   8948 	  ;;
   8949 	esac
   8950       else
   8951         ld_shlibs=no
   8952       fi
   8953       ;;
   8954 
   8955     netbsd*)
   8956       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8957 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8958 	wlarc=
   8959       else
   8960 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8961 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8962       fi
   8963       ;;
   8964 
   8965     solaris*)
   8966       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8967 	ld_shlibs=no
   8968 	cat <<_LT_EOF 1>&2
   8969 
   8970 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8971 *** create shared libraries on Solaris systems.  Therefore, libtool
   8972 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8973 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8974 *** your PATH or compiler configuration so that the native linker is
   8975 *** used, and then restart.
   8976 
   8977 _LT_EOF
   8978       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8979 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8980 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8981       else
   8982 	ld_shlibs=no
   8983       fi
   8984       ;;
   8985 
   8986     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8987       case `$LD -v 2>&1` in
   8988         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8989 	ld_shlibs=no
   8990 	cat <<_LT_EOF 1>&2
   8991 
   8992 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8993 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8994 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8995 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8996 *** your PATH or compiler configuration so that the native linker is
   8997 *** used, and then restart.
   8998 
   8999 _LT_EOF
   9000 	;;
   9001 	*)
   9002 	  # For security reasons, it is highly recommended that you always
   9003 	  # use absolute paths for naming shared libraries, and exclude the
   9004 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9005 	  # requires that you compile everything twice, which is a pain.
   9006 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9007 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9008 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9009 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9010 	  else
   9011 	    ld_shlibs=no
   9012 	  fi
   9013 	;;
   9014       esac
   9015       ;;
   9016 
   9017     sunos4*)
   9018       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9019       wlarc=
   9020       hardcode_direct=yes
   9021       hardcode_shlibpath_var=no
   9022       ;;
   9023 
   9024     *)
   9025       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9026 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9027 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9028       else
   9029 	ld_shlibs=no
   9030       fi
   9031       ;;
   9032     esac
   9033 
   9034     if test "$ld_shlibs" = no; then
   9035       runpath_var=
   9036       hardcode_libdir_flag_spec=
   9037       export_dynamic_flag_spec=
   9038       whole_archive_flag_spec=
   9039     fi
   9040   else
   9041     # PORTME fill in a description of your system's linker (not GNU ld)
   9042     case $host_os in
   9043     aix3*)
   9044       allow_undefined_flag=unsupported
   9045       always_export_symbols=yes
   9046       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'
   9047       # Note: this linker hardcodes the directories in LIBPATH if there
   9048       # are no directories specified by -L.
   9049       hardcode_minus_L=yes
   9050       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9051 	# Neither direct hardcoding nor static linking is supported with a
   9052 	# broken collect2.
   9053 	hardcode_direct=unsupported
   9054       fi
   9055       ;;
   9056 
   9057     aix[4-9]*)
   9058       if test "$host_cpu" = ia64; then
   9059 	# On IA64, the linker does run time linking by default, so we don't
   9060 	# have to do anything special.
   9061 	aix_use_runtimelinking=no
   9062 	exp_sym_flag='-Bexport'
   9063 	no_entry_flag=""
   9064       else
   9065 	# If we're using GNU nm, then we don't want the "-C" option.
   9066 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9067 	# Also, AIX nm treats weak defined symbols like other global
   9068 	# defined symbols, whereas GNU nm marks them as "W".
   9069 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9070 	  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'
   9071 	else
   9072 	  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'
   9073 	fi
   9074 	aix_use_runtimelinking=no
   9075 
   9076 	# Test if we are trying to use run time linking or normal
   9077 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9078 	# need to do runtime linking.
   9079 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9080 	  for ld_flag in $LDFLAGS; do
   9081 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9082 	    aix_use_runtimelinking=yes
   9083 	    break
   9084 	  fi
   9085 	  done
   9086 	  ;;
   9087 	esac
   9088 
   9089 	exp_sym_flag='-bexport'
   9090 	no_entry_flag='-bnoentry'
   9091       fi
   9092 
   9093       # When large executables or shared objects are built, AIX ld can
   9094       # have problems creating the table of contents.  If linking a library
   9095       # or program results in "error TOC overflow" add -mminimal-toc to
   9096       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9097       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9098 
   9099       archive_cmds=''
   9100       hardcode_direct=yes
   9101       hardcode_direct_absolute=yes
   9102       hardcode_libdir_separator=':'
   9103       link_all_deplibs=yes
   9104       file_list_spec='${wl}-f,'
   9105 
   9106       if test "$GCC" = yes; then
   9107 	case $host_os in aix4.[012]|aix4.[012].*)
   9108 	# We only want to do this on AIX 4.2 and lower, the check
   9109 	# below for broken collect2 doesn't work under 4.3+
   9110 	  collect2name=`${CC} -print-prog-name=collect2`
   9111 	  if test -f "$collect2name" &&
   9112 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9113 	  then
   9114 	  # We have reworked collect2
   9115 	  :
   9116 	  else
   9117 	  # We have old collect2
   9118 	  hardcode_direct=unsupported
   9119 	  # It fails to find uninstalled libraries when the uninstalled
   9120 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9121 	  # to unsupported forces relinking
   9122 	  hardcode_minus_L=yes
   9123 	  hardcode_libdir_flag_spec='-L$libdir'
   9124 	  hardcode_libdir_separator=
   9125 	  fi
   9126 	  ;;
   9127 	esac
   9128 	shared_flag='-shared'
   9129 	if test "$aix_use_runtimelinking" = yes; then
   9130 	  shared_flag="$shared_flag "'${wl}-G'
   9131 	fi
   9132       else
   9133 	# not using gcc
   9134 	if test "$host_cpu" = ia64; then
   9135 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9136 	# chokes on -Wl,-G. The following line is correct:
   9137 	  shared_flag='-G'
   9138 	else
   9139 	  if test "$aix_use_runtimelinking" = yes; then
   9140 	    shared_flag='${wl}-G'
   9141 	  else
   9142 	    shared_flag='${wl}-bM:SRE'
   9143 	  fi
   9144 	fi
   9145       fi
   9146 
   9147       export_dynamic_flag_spec='${wl}-bexpall'
   9148       # It seems that -bexpall does not export symbols beginning with
   9149       # underscore (_), so it is better to generate a list of symbols to export.
   9150       always_export_symbols=yes
   9151       if test "$aix_use_runtimelinking" = yes; then
   9152 	# Warning - without using the other runtime loading flags (-brtl),
   9153 	# -berok will link without error, but may produce a broken library.
   9154 	allow_undefined_flag='-berok'
   9155         # Determine the default libpath from the value encoded in an
   9156         # empty executable.
   9157         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9158 /* end confdefs.h.  */
   9159 
   9160 int
   9161 main ()
   9162 {
   9163 
   9164   ;
   9165   return 0;
   9166 }
   9167 _ACEOF
   9168 if ac_fn_c_try_link "$LINENO"; then :
   9169 
   9170 lt_aix_libpath_sed='
   9171     /Import File Strings/,/^$/ {
   9172 	/^0/ {
   9173 	    s/^0  *\(.*\)$/\1/
   9174 	    p
   9175 	}
   9176     }'
   9177 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9178 # Check for a 64-bit object if we didn't find anything.
   9179 if test -z "$aix_libpath"; then
   9180   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9181 fi
   9182 fi
   9183 rm -f core conftest.err conftest.$ac_objext \
   9184     conftest$ac_exeext conftest.$ac_ext
   9185 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9186 
   9187         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9188         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"
   9189       else
   9190 	if test "$host_cpu" = ia64; then
   9191 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9192 	  allow_undefined_flag="-z nodefs"
   9193 	  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"
   9194 	else
   9195 	 # Determine the default libpath from the value encoded in an
   9196 	 # empty executable.
   9197 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9198 /* end confdefs.h.  */
   9199 
   9200 int
   9201 main ()
   9202 {
   9203 
   9204   ;
   9205   return 0;
   9206 }
   9207 _ACEOF
   9208 if ac_fn_c_try_link "$LINENO"; then :
   9209 
   9210 lt_aix_libpath_sed='
   9211     /Import File Strings/,/^$/ {
   9212 	/^0/ {
   9213 	    s/^0  *\(.*\)$/\1/
   9214 	    p
   9215 	}
   9216     }'
   9217 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9218 # Check for a 64-bit object if we didn't find anything.
   9219 if test -z "$aix_libpath"; then
   9220   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9221 fi
   9222 fi
   9223 rm -f core conftest.err conftest.$ac_objext \
   9224     conftest$ac_exeext conftest.$ac_ext
   9225 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9226 
   9227 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9228 	  # Warning - without using the other run time loading flags,
   9229 	  # -berok will link without error, but may produce a broken library.
   9230 	  no_undefined_flag=' ${wl}-bernotok'
   9231 	  allow_undefined_flag=' ${wl}-berok'
   9232 	  if test "$with_gnu_ld" = yes; then
   9233 	    # We only use this code for GNU lds that support --whole-archive.
   9234 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9235 	  else
   9236 	    # Exported symbols can be pulled into shared objects from archives
   9237 	    whole_archive_flag_spec='$convenience'
   9238 	  fi
   9239 	  archive_cmds_need_lc=yes
   9240 	  # This is similar to how AIX traditionally builds its shared libraries.
   9241 	  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'
   9242 	fi
   9243       fi
   9244       ;;
   9245 
   9246     amigaos*)
   9247       case $host_cpu in
   9248       powerpc)
   9249             # see comment about AmigaOS4 .so support
   9250             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9251             archive_expsym_cmds=''
   9252         ;;
   9253       m68k)
   9254             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)'
   9255             hardcode_libdir_flag_spec='-L$libdir'
   9256             hardcode_minus_L=yes
   9257         ;;
   9258       esac
   9259       ;;
   9260 
   9261     bsdi[45]*)
   9262       export_dynamic_flag_spec=-rdynamic
   9263       ;;
   9264 
   9265     cygwin* | mingw* | pw32* | cegcc*)
   9266       # When not using gcc, we currently assume that we are using
   9267       # Microsoft Visual C++.
   9268       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9269       # no search path for DLLs.
   9270       hardcode_libdir_flag_spec=' '
   9271       allow_undefined_flag=unsupported
   9272       # Tell ltmain to make .lib files, not .a files.
   9273       libext=lib
   9274       # Tell ltmain to make .dll files, not .so files.
   9275       shrext_cmds=".dll"
   9276       # FIXME: Setting linknames here is a bad hack.
   9277       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9278       # The linker will automatically build a .lib file if we build a DLL.
   9279       old_archive_from_new_cmds='true'
   9280       # FIXME: Should let the user specify the lib program.
   9281       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9282       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9283       enable_shared_with_static_runtimes=yes
   9284       ;;
   9285 
   9286     darwin* | rhapsody*)
   9287 
   9288 
   9289   archive_cmds_need_lc=no
   9290   hardcode_direct=no
   9291   hardcode_automatic=yes
   9292   hardcode_shlibpath_var=unsupported
   9293   if test "$lt_cv_ld_force_load" = "yes"; then
   9294     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\"`'
   9295   else
   9296     whole_archive_flag_spec=''
   9297   fi
   9298   link_all_deplibs=yes
   9299   allow_undefined_flag="$_lt_dar_allow_undefined"
   9300   case $cc_basename in
   9301      ifort*) _lt_dar_can_shared=yes ;;
   9302      *) _lt_dar_can_shared=$GCC ;;
   9303   esac
   9304   if test "$_lt_dar_can_shared" = "yes"; then
   9305     output_verbose_link_cmd=func_echo_all
   9306     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9307     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9308     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}"
   9309     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}"
   9310 
   9311   else
   9312   ld_shlibs=no
   9313   fi
   9314 
   9315       ;;
   9316 
   9317     dgux*)
   9318       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9319       hardcode_libdir_flag_spec='-L$libdir'
   9320       hardcode_shlibpath_var=no
   9321       ;;
   9322 
   9323     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9324     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9325     # does not break anything, and helps significantly (at the cost of a little
   9326     # extra space).
   9327     freebsd2.2*)
   9328       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9329       hardcode_libdir_flag_spec='-R$libdir'
   9330       hardcode_direct=yes
   9331       hardcode_shlibpath_var=no
   9332       ;;
   9333 
   9334     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9335     freebsd2.*)
   9336       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9337       hardcode_direct=yes
   9338       hardcode_minus_L=yes
   9339       hardcode_shlibpath_var=no
   9340       ;;
   9341 
   9342     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9343     freebsd* | dragonfly*)
   9344       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9345       hardcode_libdir_flag_spec='-R$libdir'
   9346       hardcode_direct=yes
   9347       hardcode_shlibpath_var=no
   9348       ;;
   9349 
   9350     hpux9*)
   9351       if test "$GCC" = yes; then
   9352 	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'
   9353       else
   9354 	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'
   9355       fi
   9356       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9357       hardcode_libdir_separator=:
   9358       hardcode_direct=yes
   9359 
   9360       # hardcode_minus_L: Not really in the search PATH,
   9361       # but as the default location of the library.
   9362       hardcode_minus_L=yes
   9363       export_dynamic_flag_spec='${wl}-E'
   9364       ;;
   9365 
   9366     hpux10*)
   9367       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9368 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9369       else
   9370 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9371       fi
   9372       if test "$with_gnu_ld" = no; then
   9373 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9374 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9375 	hardcode_libdir_separator=:
   9376 	hardcode_direct=yes
   9377 	hardcode_direct_absolute=yes
   9378 	export_dynamic_flag_spec='${wl}-E'
   9379 	# hardcode_minus_L: Not really in the search PATH,
   9380 	# but as the default location of the library.
   9381 	hardcode_minus_L=yes
   9382       fi
   9383       ;;
   9384 
   9385     hpux11*)
   9386       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9387 	case $host_cpu in
   9388 	hppa*64*)
   9389 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9390 	  ;;
   9391 	ia64*)
   9392 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9393 	  ;;
   9394 	*)
   9395 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9396 	  ;;
   9397 	esac
   9398       else
   9399 	case $host_cpu in
   9400 	hppa*64*)
   9401 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9402 	  ;;
   9403 	ia64*)
   9404 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9405 	  ;;
   9406 	*)
   9407 
   9408 	  # Older versions of the 11.00 compiler do not understand -b yet
   9409 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9410 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9411 $as_echo_n "checking if $CC understands -b... " >&6; }
   9412 if ${lt_cv_prog_compiler__b+:} false; then :
   9413   $as_echo_n "(cached) " >&6
   9414 else
   9415   lt_cv_prog_compiler__b=no
   9416    save_LDFLAGS="$LDFLAGS"
   9417    LDFLAGS="$LDFLAGS -b"
   9418    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9419    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9420      # The linker can only warn and ignore the option if not recognized
   9421      # So say no if there are warnings
   9422      if test -s conftest.err; then
   9423        # Append any errors to the config.log.
   9424        cat conftest.err 1>&5
   9425        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9426        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9427        if diff conftest.exp conftest.er2 >/dev/null; then
   9428          lt_cv_prog_compiler__b=yes
   9429        fi
   9430      else
   9431        lt_cv_prog_compiler__b=yes
   9432      fi
   9433    fi
   9434    $RM -r conftest*
   9435    LDFLAGS="$save_LDFLAGS"
   9436 
   9437 fi
   9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9439 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9440 
   9441 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9442     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9443 else
   9444     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9445 fi
   9446 
   9447 	  ;;
   9448 	esac
   9449       fi
   9450       if test "$with_gnu_ld" = no; then
   9451 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9452 	hardcode_libdir_separator=:
   9453 
   9454 	case $host_cpu in
   9455 	hppa*64*|ia64*)
   9456 	  hardcode_direct=no
   9457 	  hardcode_shlibpath_var=no
   9458 	  ;;
   9459 	*)
   9460 	  hardcode_direct=yes
   9461 	  hardcode_direct_absolute=yes
   9462 	  export_dynamic_flag_spec='${wl}-E'
   9463 
   9464 	  # hardcode_minus_L: Not really in the search PATH,
   9465 	  # but as the default location of the library.
   9466 	  hardcode_minus_L=yes
   9467 	  ;;
   9468 	esac
   9469       fi
   9470       ;;
   9471 
   9472     irix5* | irix6* | nonstopux*)
   9473       if test "$GCC" = yes; then
   9474 	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'
   9475 	# Try to use the -exported_symbol ld option, if it does not
   9476 	# work, assume that -exports_file does not work either and
   9477 	# implicitly export all symbols.
   9478         save_LDFLAGS="$LDFLAGS"
   9479         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9480         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9481 /* end confdefs.h.  */
   9482 int foo(void) {}
   9483 _ACEOF
   9484 if ac_fn_c_try_link "$LINENO"; then :
   9485   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'
   9486 
   9487 fi
   9488 rm -f core conftest.err conftest.$ac_objext \
   9489     conftest$ac_exeext conftest.$ac_ext
   9490         LDFLAGS="$save_LDFLAGS"
   9491       else
   9492 	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'
   9493 	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'
   9494       fi
   9495       archive_cmds_need_lc='no'
   9496       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9497       hardcode_libdir_separator=:
   9498       inherit_rpath=yes
   9499       link_all_deplibs=yes
   9500       ;;
   9501 
   9502     netbsd*)
   9503       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9504 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9505       else
   9506 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9507       fi
   9508       hardcode_libdir_flag_spec='-R$libdir'
   9509       hardcode_direct=yes
   9510       hardcode_shlibpath_var=no
   9511       ;;
   9512 
   9513     newsos6)
   9514       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9515       hardcode_direct=yes
   9516       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9517       hardcode_libdir_separator=:
   9518       hardcode_shlibpath_var=no
   9519       ;;
   9520 
   9521     *nto* | *qnx*)
   9522       ;;
   9523 
   9524     openbsd*)
   9525       if test -f /usr/libexec/ld.so; then
   9526 	hardcode_direct=yes
   9527 	hardcode_shlibpath_var=no
   9528 	hardcode_direct_absolute=yes
   9529 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9530 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9531 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9532 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9533 	  export_dynamic_flag_spec='${wl}-E'
   9534 	else
   9535 	  case $host_os in
   9536 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9537 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9538 	     hardcode_libdir_flag_spec='-R$libdir'
   9539 	     ;;
   9540 	   *)
   9541 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9542 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9543 	     ;;
   9544 	  esac
   9545 	fi
   9546       else
   9547 	ld_shlibs=no
   9548       fi
   9549       ;;
   9550 
   9551     os2*)
   9552       hardcode_libdir_flag_spec='-L$libdir'
   9553       hardcode_minus_L=yes
   9554       allow_undefined_flag=unsupported
   9555       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'
   9556       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9557       ;;
   9558 
   9559     osf3*)
   9560       if test "$GCC" = yes; then
   9561 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9562 	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'
   9563       else
   9564 	allow_undefined_flag=' -expect_unresolved \*'
   9565 	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'
   9566       fi
   9567       archive_cmds_need_lc='no'
   9568       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9569       hardcode_libdir_separator=:
   9570       ;;
   9571 
   9572     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9573       if test "$GCC" = yes; then
   9574 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9575 	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'
   9576 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9577       else
   9578 	allow_undefined_flag=' -expect_unresolved \*'
   9579 	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'
   9580 	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~
   9581 	$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'
   9582 
   9583 	# Both c and cxx compiler support -rpath directly
   9584 	hardcode_libdir_flag_spec='-rpath $libdir'
   9585       fi
   9586       archive_cmds_need_lc='no'
   9587       hardcode_libdir_separator=:
   9588       ;;
   9589 
   9590     solaris*)
   9591       no_undefined_flag=' -z defs'
   9592       if test "$GCC" = yes; then
   9593 	wlarc='${wl}'
   9594 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9595 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9596 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9597       else
   9598 	case `$CC -V 2>&1` in
   9599 	*"Compilers 5.0"*)
   9600 	  wlarc=''
   9601 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9602 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9603 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9604 	  ;;
   9605 	*)
   9606 	  wlarc='${wl}'
   9607 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9608 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9609 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9610 	  ;;
   9611 	esac
   9612       fi
   9613       hardcode_libdir_flag_spec='-R$libdir'
   9614       hardcode_shlibpath_var=no
   9615       case $host_os in
   9616       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9617       *)
   9618 	# The compiler driver will combine and reorder linker options,
   9619 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9620 	# but is careful enough not to reorder.
   9621 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9622 	if test "$GCC" = yes; then
   9623 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9624 	else
   9625 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9626 	fi
   9627 	;;
   9628       esac
   9629       link_all_deplibs=yes
   9630       ;;
   9631 
   9632     sunos4*)
   9633       if test "x$host_vendor" = xsequent; then
   9634 	# Use $CC to link under sequent, because it throws in some extra .o
   9635 	# files that make .init and .fini sections work.
   9636 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9637       else
   9638 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9639       fi
   9640       hardcode_libdir_flag_spec='-L$libdir'
   9641       hardcode_direct=yes
   9642       hardcode_minus_L=yes
   9643       hardcode_shlibpath_var=no
   9644       ;;
   9645 
   9646     sysv4)
   9647       case $host_vendor in
   9648 	sni)
   9649 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9650 	  hardcode_direct=yes # is this really true???
   9651 	;;
   9652 	siemens)
   9653 	  ## LD is ld it makes a PLAMLIB
   9654 	  ## CC just makes a GrossModule.
   9655 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9656 	  reload_cmds='$CC -r -o $output$reload_objs'
   9657 	  hardcode_direct=no
   9658         ;;
   9659 	motorola)
   9660 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9661 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9662 	;;
   9663       esac
   9664       runpath_var='LD_RUN_PATH'
   9665       hardcode_shlibpath_var=no
   9666       ;;
   9667 
   9668     sysv4.3*)
   9669       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9670       hardcode_shlibpath_var=no
   9671       export_dynamic_flag_spec='-Bexport'
   9672       ;;
   9673 
   9674     sysv4*MP*)
   9675       if test -d /usr/nec; then
   9676 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9677 	hardcode_shlibpath_var=no
   9678 	runpath_var=LD_RUN_PATH
   9679 	hardcode_runpath_var=yes
   9680 	ld_shlibs=yes
   9681       fi
   9682       ;;
   9683 
   9684     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9685       no_undefined_flag='${wl}-z,text'
   9686       archive_cmds_need_lc=no
   9687       hardcode_shlibpath_var=no
   9688       runpath_var='LD_RUN_PATH'
   9689 
   9690       if test "$GCC" = yes; then
   9691 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9692 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9693       else
   9694 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9695 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9696       fi
   9697       ;;
   9698 
   9699     sysv5* | sco3.2v5* | sco5v6*)
   9700       # Note: We can NOT use -z defs as we might desire, because we do not
   9701       # link with -lc, and that would cause any symbols used from libc to
   9702       # always be unresolved, which means just about no library would
   9703       # ever link correctly.  If we're not using GNU ld we use -z text
   9704       # though, which does catch some bad symbols but isn't as heavy-handed
   9705       # as -z defs.
   9706       no_undefined_flag='${wl}-z,text'
   9707       allow_undefined_flag='${wl}-z,nodefs'
   9708       archive_cmds_need_lc=no
   9709       hardcode_shlibpath_var=no
   9710       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9711       hardcode_libdir_separator=':'
   9712       link_all_deplibs=yes
   9713       export_dynamic_flag_spec='${wl}-Bexport'
   9714       runpath_var='LD_RUN_PATH'
   9715 
   9716       if test "$GCC" = yes; then
   9717 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9718 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9719       else
   9720 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9721 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9722       fi
   9723       ;;
   9724 
   9725     uts4*)
   9726       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9727       hardcode_libdir_flag_spec='-L$libdir'
   9728       hardcode_shlibpath_var=no
   9729       ;;
   9730 
   9731     *)
   9732       ld_shlibs=no
   9733       ;;
   9734     esac
   9735 
   9736     if test x$host_vendor = xsni; then
   9737       case $host in
   9738       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9739 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9740 	;;
   9741       esac
   9742     fi
   9743   fi
   9744 
   9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9746 $as_echo "$ld_shlibs" >&6; }
   9747 test "$ld_shlibs" = no && can_build_shared=no
   9748 
   9749 with_gnu_ld=$with_gnu_ld
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 #
   9766 # Do we need to explicitly link libc?
   9767 #
   9768 case "x$archive_cmds_need_lc" in
   9769 x|xyes)
   9770   # Assume -lc should be added
   9771   archive_cmds_need_lc=yes
   9772 
   9773   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9774     case $archive_cmds in
   9775     *'~'*)
   9776       # FIXME: we may have to deal with multi-command sequences.
   9777       ;;
   9778     '$CC '*)
   9779       # Test whether the compiler implicitly links with -lc since on some
   9780       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9781       # to ld, don't add -lc before -lgcc.
   9782       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9783 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9784 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9785   $as_echo_n "(cached) " >&6
   9786 else
   9787   $RM conftest*
   9788 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9789 
   9790 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9791   (eval $ac_compile) 2>&5
   9792   ac_status=$?
   9793   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9794   test $ac_status = 0; } 2>conftest.err; then
   9795 	  soname=conftest
   9796 	  lib=conftest
   9797 	  libobjs=conftest.$ac_objext
   9798 	  deplibs=
   9799 	  wl=$lt_prog_compiler_wl
   9800 	  pic_flag=$lt_prog_compiler_pic
   9801 	  compiler_flags=-v
   9802 	  linker_flags=-v
   9803 	  verstring=
   9804 	  output_objdir=.
   9805 	  libname=conftest
   9806 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9807 	  allow_undefined_flag=
   9808 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9809   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9810   ac_status=$?
   9811   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9812   test $ac_status = 0; }
   9813 	  then
   9814 	    lt_cv_archive_cmds_need_lc=no
   9815 	  else
   9816 	    lt_cv_archive_cmds_need_lc=yes
   9817 	  fi
   9818 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9819 	else
   9820 	  cat conftest.err 1>&5
   9821 	fi
   9822 	$RM conftest*
   9823 
   9824 fi
   9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9826 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9827       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9828       ;;
   9829     esac
   9830   fi
   9831   ;;
   9832 esac
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9991 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9992 
   9993 if test "$GCC" = yes; then
   9994   case $host_os in
   9995     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9996     *) lt_awk_arg="/^libraries:/" ;;
   9997   esac
   9998   case $host_os in
   9999     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10000     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10001   esac
   10002   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10003   case $lt_search_path_spec in
   10004   *\;*)
   10005     # if the path contains ";" then we assume it to be the separator
   10006     # otherwise default to the standard path separator (i.e. ":") - it is
   10007     # assumed that no part of a normal pathname contains ";" but that should
   10008     # okay in the real world where ";" in dirpaths is itself problematic.
   10009     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10010     ;;
   10011   *)
   10012     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10013     ;;
   10014   esac
   10015   # Ok, now we have the path, separated by spaces, we can step through it
   10016   # and add multilib dir if necessary.
   10017   lt_tmp_lt_search_path_spec=
   10018   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10019   for lt_sys_path in $lt_search_path_spec; do
   10020     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10021       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10022     else
   10023       test -d "$lt_sys_path" && \
   10024 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10025     fi
   10026   done
   10027   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10028 BEGIN {RS=" "; FS="/|\n";} {
   10029   lt_foo="";
   10030   lt_count=0;
   10031   for (lt_i = NF; lt_i > 0; lt_i--) {
   10032     if ($lt_i != "" && $lt_i != ".") {
   10033       if ($lt_i == "..") {
   10034         lt_count++;
   10035       } else {
   10036         if (lt_count == 0) {
   10037           lt_foo="/" $lt_i lt_foo;
   10038         } else {
   10039           lt_count--;
   10040         }
   10041       }
   10042     }
   10043   }
   10044   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10045   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10046 }'`
   10047   # AWK program above erroneously prepends '/' to C:/dos/paths
   10048   # for these hosts.
   10049   case $host_os in
   10050     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10051       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10052   esac
   10053   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10054 else
   10055   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10056 fi
   10057 library_names_spec=
   10058 libname_spec='lib$name'
   10059 soname_spec=
   10060 shrext_cmds=".so"
   10061 postinstall_cmds=
   10062 postuninstall_cmds=
   10063 finish_cmds=
   10064 finish_eval=
   10065 shlibpath_var=
   10066 shlibpath_overrides_runpath=unknown
   10067 version_type=none
   10068 dynamic_linker="$host_os ld.so"
   10069 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10070 need_lib_prefix=unknown
   10071 hardcode_into_libs=no
   10072 
   10073 # when you set need_version to no, make sure it does not cause -set_version
   10074 # flags to be left without arguments
   10075 need_version=unknown
   10076 
   10077 case $host_os in
   10078 aix3*)
   10079   version_type=linux
   10080   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10081   shlibpath_var=LIBPATH
   10082 
   10083   # AIX 3 has no versioning support, so we append a major version to the name.
   10084   soname_spec='${libname}${release}${shared_ext}$major'
   10085   ;;
   10086 
   10087 aix[4-9]*)
   10088   version_type=linux
   10089   need_lib_prefix=no
   10090   need_version=no
   10091   hardcode_into_libs=yes
   10092   if test "$host_cpu" = ia64; then
   10093     # AIX 5 supports IA64
   10094     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10095     shlibpath_var=LD_LIBRARY_PATH
   10096   else
   10097     # With GCC up to 2.95.x, collect2 would create an import file
   10098     # for dependence libraries.  The import file would start with
   10099     # the line `#! .'.  This would cause the generated library to
   10100     # depend on `.', always an invalid library.  This was fixed in
   10101     # development snapshots of GCC prior to 3.0.
   10102     case $host_os in
   10103       aix4 | aix4.[01] | aix4.[01].*)
   10104       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10105 	   echo ' yes '
   10106 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10107 	:
   10108       else
   10109 	can_build_shared=no
   10110       fi
   10111       ;;
   10112     esac
   10113     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10114     # soname into executable. Probably we can add versioning support to
   10115     # collect2, so additional links can be useful in future.
   10116     if test "$aix_use_runtimelinking" = yes; then
   10117       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10118       # instead of lib<name>.a to let people know that these are not
   10119       # typical AIX shared libraries.
   10120       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10121     else
   10122       # We preserve .a as extension for shared libraries through AIX4.2
   10123       # and later when we are not doing run time linking.
   10124       library_names_spec='${libname}${release}.a $libname.a'
   10125       soname_spec='${libname}${release}${shared_ext}$major'
   10126     fi
   10127     shlibpath_var=LIBPATH
   10128   fi
   10129   ;;
   10130 
   10131 amigaos*)
   10132   case $host_cpu in
   10133   powerpc)
   10134     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10135     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10136     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10137     ;;
   10138   m68k)
   10139     library_names_spec='$libname.ixlibrary $libname.a'
   10140     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10141     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'
   10142     ;;
   10143   esac
   10144   ;;
   10145 
   10146 beos*)
   10147   library_names_spec='${libname}${shared_ext}'
   10148   dynamic_linker="$host_os ld.so"
   10149   shlibpath_var=LIBRARY_PATH
   10150   ;;
   10151 
   10152 bsdi[45]*)
   10153   version_type=linux
   10154   need_version=no
   10155   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10156   soname_spec='${libname}${release}${shared_ext}$major'
   10157   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10158   shlibpath_var=LD_LIBRARY_PATH
   10159   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10160   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10161   # the default ld.so.conf also contains /usr/contrib/lib and
   10162   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10163   # libtool to hard-code these into programs
   10164   ;;
   10165 
   10166 cygwin* | mingw* | pw32* | cegcc*)
   10167   version_type=windows
   10168   shrext_cmds=".dll"
   10169   need_version=no
   10170   need_lib_prefix=no
   10171 
   10172   case $GCC,$host_os in
   10173   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10174     library_names_spec='$libname.dll.a'
   10175     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10176     postinstall_cmds='base_file=`basename \${file}`~
   10177       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10178       dldir=$destdir/`dirname \$dlpath`~
   10179       test -d \$dldir || mkdir -p \$dldir~
   10180       $install_prog $dir/$dlname \$dldir/$dlname~
   10181       chmod a+x \$dldir/$dlname~
   10182       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10183         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10184       fi'
   10185     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10186       dlpath=$dir/\$dldll~
   10187        $RM \$dlpath'
   10188     shlibpath_overrides_runpath=yes
   10189 
   10190     case $host_os in
   10191     cygwin*)
   10192       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10193       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10194 
   10195       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10196       ;;
   10197     mingw* | cegcc*)
   10198       # MinGW DLLs use traditional 'lib' prefix
   10199       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10200       ;;
   10201     pw32*)
   10202       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10203       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10204       ;;
   10205     esac
   10206     ;;
   10207 
   10208   *)
   10209     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10210     ;;
   10211   esac
   10212   dynamic_linker='Win32 ld.exe'
   10213   # FIXME: first we should search . and the directory the executable is in
   10214   shlibpath_var=PATH
   10215   ;;
   10216 
   10217 darwin* | rhapsody*)
   10218   dynamic_linker="$host_os dyld"
   10219   version_type=darwin
   10220   need_lib_prefix=no
   10221   need_version=no
   10222   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10223   soname_spec='${libname}${release}${major}$shared_ext'
   10224   shlibpath_overrides_runpath=yes
   10225   shlibpath_var=DYLD_LIBRARY_PATH
   10226   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10227 
   10228   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10229   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10230   ;;
   10231 
   10232 dgux*)
   10233   version_type=linux
   10234   need_lib_prefix=no
   10235   need_version=no
   10236   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10237   soname_spec='${libname}${release}${shared_ext}$major'
   10238   shlibpath_var=LD_LIBRARY_PATH
   10239   ;;
   10240 
   10241 freebsd* | dragonfly*)
   10242   # DragonFly does not have aout.  When/if they implement a new
   10243   # versioning mechanism, adjust this.
   10244   if test -x /usr/bin/objformat; then
   10245     objformat=`/usr/bin/objformat`
   10246   else
   10247     case $host_os in
   10248     freebsd[23].*) objformat=aout ;;
   10249     *) objformat=elf ;;
   10250     esac
   10251   fi
   10252   version_type=freebsd-$objformat
   10253   case $version_type in
   10254     freebsd-elf*)
   10255       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10256       need_version=no
   10257       need_lib_prefix=no
   10258       ;;
   10259     freebsd-*)
   10260       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10261       need_version=yes
   10262       ;;
   10263   esac
   10264   shlibpath_var=LD_LIBRARY_PATH
   10265   case $host_os in
   10266   freebsd2.*)
   10267     shlibpath_overrides_runpath=yes
   10268     ;;
   10269   freebsd3.[01]* | freebsdelf3.[01]*)
   10270     shlibpath_overrides_runpath=yes
   10271     hardcode_into_libs=yes
   10272     ;;
   10273   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10274   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10275     shlibpath_overrides_runpath=no
   10276     hardcode_into_libs=yes
   10277     ;;
   10278   *) # from 4.6 on, and DragonFly
   10279     shlibpath_overrides_runpath=yes
   10280     hardcode_into_libs=yes
   10281     ;;
   10282   esac
   10283   ;;
   10284 
   10285 haiku*)
   10286   version_type=linux
   10287   need_lib_prefix=no
   10288   need_version=no
   10289   dynamic_linker="$host_os runtime_loader"
   10290   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10291   soname_spec='${libname}${release}${shared_ext}$major'
   10292   shlibpath_var=LIBRARY_PATH
   10293   shlibpath_overrides_runpath=yes
   10294   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10295   hardcode_into_libs=yes
   10296   ;;
   10297 
   10298 hpux9* | hpux10* | hpux11*)
   10299   # Give a soname corresponding to the major version so that dld.sl refuses to
   10300   # link against other versions.
   10301   version_type=sunos
   10302   need_lib_prefix=no
   10303   need_version=no
   10304   case $host_cpu in
   10305   ia64*)
   10306     shrext_cmds='.so'
   10307     hardcode_into_libs=yes
   10308     dynamic_linker="$host_os dld.so"
   10309     shlibpath_var=LD_LIBRARY_PATH
   10310     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10311     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10312     soname_spec='${libname}${release}${shared_ext}$major'
   10313     if test "X$HPUX_IA64_MODE" = X32; then
   10314       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10315     else
   10316       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10317     fi
   10318     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10319     ;;
   10320   hppa*64*)
   10321     shrext_cmds='.sl'
   10322     hardcode_into_libs=yes
   10323     dynamic_linker="$host_os dld.sl"
   10324     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10325     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10326     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10327     soname_spec='${libname}${release}${shared_ext}$major'
   10328     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10329     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10330     ;;
   10331   *)
   10332     shrext_cmds='.sl'
   10333     dynamic_linker="$host_os dld.sl"
   10334     shlibpath_var=SHLIB_PATH
   10335     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10336     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10337     soname_spec='${libname}${release}${shared_ext}$major'
   10338     ;;
   10339   esac
   10340   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10341   postinstall_cmds='chmod 555 $lib'
   10342   # or fails outright, so override atomically:
   10343   install_override_mode=555
   10344   ;;
   10345 
   10346 interix[3-9]*)
   10347   version_type=linux
   10348   need_lib_prefix=no
   10349   need_version=no
   10350   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10351   soname_spec='${libname}${release}${shared_ext}$major'
   10352   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10353   shlibpath_var=LD_LIBRARY_PATH
   10354   shlibpath_overrides_runpath=no
   10355   hardcode_into_libs=yes
   10356   ;;
   10357 
   10358 irix5* | irix6* | nonstopux*)
   10359   case $host_os in
   10360     nonstopux*) version_type=nonstopux ;;
   10361     *)
   10362 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10363 		version_type=linux
   10364 	else
   10365 		version_type=irix
   10366 	fi ;;
   10367   esac
   10368   need_lib_prefix=no
   10369   need_version=no
   10370   soname_spec='${libname}${release}${shared_ext}$major'
   10371   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10372   case $host_os in
   10373   irix5* | nonstopux*)
   10374     libsuff= shlibsuff=
   10375     ;;
   10376   *)
   10377     case $LD in # libtool.m4 will add one of these switches to LD
   10378     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10379       libsuff= shlibsuff= libmagic=32-bit;;
   10380     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10381       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10382     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10383       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10384     *) libsuff= shlibsuff= libmagic=never-match;;
   10385     esac
   10386     ;;
   10387   esac
   10388   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10389   shlibpath_overrides_runpath=no
   10390   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10391   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10392   hardcode_into_libs=yes
   10393   ;;
   10394 
   10395 # No shared lib support for Linux oldld, aout, or coff.
   10396 linux*oldld* | linux*aout* | linux*coff*)
   10397   dynamic_linker=no
   10398   ;;
   10399 
   10400 # This must be Linux ELF.
   10401 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10402   version_type=linux
   10403   need_lib_prefix=no
   10404   need_version=no
   10405   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10406   soname_spec='${libname}${release}${shared_ext}$major'
   10407   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10408   shlibpath_var=LD_LIBRARY_PATH
   10409   shlibpath_overrides_runpath=no
   10410 
   10411   # Some binutils ld are patched to set DT_RUNPATH
   10412   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10413   $as_echo_n "(cached) " >&6
   10414 else
   10415   lt_cv_shlibpath_overrides_runpath=no
   10416     save_LDFLAGS=$LDFLAGS
   10417     save_libdir=$libdir
   10418     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10419 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10420     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10421 /* end confdefs.h.  */
   10422 
   10423 int
   10424 main ()
   10425 {
   10426 
   10427   ;
   10428   return 0;
   10429 }
   10430 _ACEOF
   10431 if ac_fn_c_try_link "$LINENO"; then :
   10432   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10433   lt_cv_shlibpath_overrides_runpath=yes
   10434 fi
   10435 fi
   10436 rm -f core conftest.err conftest.$ac_objext \
   10437     conftest$ac_exeext conftest.$ac_ext
   10438     LDFLAGS=$save_LDFLAGS
   10439     libdir=$save_libdir
   10440 
   10441 fi
   10442 
   10443   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10444 
   10445   # This implies no fast_install, which is unacceptable.
   10446   # Some rework will be needed to allow for fast_install
   10447   # before this can be enabled.
   10448   hardcode_into_libs=yes
   10449 
   10450   # Append ld.so.conf contents to the search path
   10451   if test -f /etc/ld.so.conf; then
   10452     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' ' '`
   10453     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10454   fi
   10455 
   10456   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10457   # powerpc, because MkLinux only supported shared libraries with the
   10458   # GNU dynamic linker.  Since this was broken with cross compilers,
   10459   # most powerpc-linux boxes support dynamic linking these days and
   10460   # people can always --disable-shared, the test was removed, and we
   10461   # assume the GNU/Linux dynamic linker is in use.
   10462   dynamic_linker='GNU/Linux ld.so'
   10463   ;;
   10464 
   10465 netbsd*)
   10466   version_type=sunos
   10467   need_lib_prefix=no
   10468   need_version=no
   10469   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10470     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10471     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10472     dynamic_linker='NetBSD (a.out) ld.so'
   10473   else
   10474     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10475     soname_spec='${libname}${release}${shared_ext}$major'
   10476     dynamic_linker='NetBSD ld.elf_so'
   10477   fi
   10478   shlibpath_var=LD_LIBRARY_PATH
   10479   shlibpath_overrides_runpath=yes
   10480   hardcode_into_libs=yes
   10481   ;;
   10482 
   10483 newsos6)
   10484   version_type=linux
   10485   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10486   shlibpath_var=LD_LIBRARY_PATH
   10487   shlibpath_overrides_runpath=yes
   10488   ;;
   10489 
   10490 *nto* | *qnx*)
   10491   version_type=qnx
   10492   need_lib_prefix=no
   10493   need_version=no
   10494   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10495   soname_spec='${libname}${release}${shared_ext}$major'
   10496   shlibpath_var=LD_LIBRARY_PATH
   10497   shlibpath_overrides_runpath=no
   10498   hardcode_into_libs=yes
   10499   dynamic_linker='ldqnx.so'
   10500   ;;
   10501 
   10502 openbsd*)
   10503   version_type=sunos
   10504   sys_lib_dlsearch_path_spec="/usr/lib"
   10505   need_lib_prefix=no
   10506   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10507   case $host_os in
   10508     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10509     *)				need_version=no  ;;
   10510   esac
   10511   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10512   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10513   shlibpath_var=LD_LIBRARY_PATH
   10514   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10515     case $host_os in
   10516       openbsd2.[89] | openbsd2.[89].*)
   10517 	shlibpath_overrides_runpath=no
   10518 	;;
   10519       *)
   10520 	shlibpath_overrides_runpath=yes
   10521 	;;
   10522       esac
   10523   else
   10524     shlibpath_overrides_runpath=yes
   10525   fi
   10526   ;;
   10527 
   10528 os2*)
   10529   libname_spec='$name'
   10530   shrext_cmds=".dll"
   10531   need_lib_prefix=no
   10532   library_names_spec='$libname${shared_ext} $libname.a'
   10533   dynamic_linker='OS/2 ld.exe'
   10534   shlibpath_var=LIBPATH
   10535   ;;
   10536 
   10537 osf3* | osf4* | osf5*)
   10538   version_type=osf
   10539   need_lib_prefix=no
   10540   need_version=no
   10541   soname_spec='${libname}${release}${shared_ext}$major'
   10542   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10543   shlibpath_var=LD_LIBRARY_PATH
   10544   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10545   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10546   ;;
   10547 
   10548 rdos*)
   10549   dynamic_linker=no
   10550   ;;
   10551 
   10552 solaris*)
   10553   version_type=linux
   10554   need_lib_prefix=no
   10555   need_version=no
   10556   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10557   soname_spec='${libname}${release}${shared_ext}$major'
   10558   shlibpath_var=LD_LIBRARY_PATH
   10559   shlibpath_overrides_runpath=yes
   10560   hardcode_into_libs=yes
   10561   # ldd complains unless libraries are executable
   10562   postinstall_cmds='chmod +x $lib'
   10563   ;;
   10564 
   10565 sunos4*)
   10566   version_type=sunos
   10567   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10568   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10569   shlibpath_var=LD_LIBRARY_PATH
   10570   shlibpath_overrides_runpath=yes
   10571   if test "$with_gnu_ld" = yes; then
   10572     need_lib_prefix=no
   10573   fi
   10574   need_version=yes
   10575   ;;
   10576 
   10577 sysv4 | sysv4.3*)
   10578   version_type=linux
   10579   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10580   soname_spec='${libname}${release}${shared_ext}$major'
   10581   shlibpath_var=LD_LIBRARY_PATH
   10582   case $host_vendor in
   10583     sni)
   10584       shlibpath_overrides_runpath=no
   10585       need_lib_prefix=no
   10586       runpath_var=LD_RUN_PATH
   10587       ;;
   10588     siemens)
   10589       need_lib_prefix=no
   10590       ;;
   10591     motorola)
   10592       need_lib_prefix=no
   10593       need_version=no
   10594       shlibpath_overrides_runpath=no
   10595       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10596       ;;
   10597   esac
   10598   ;;
   10599 
   10600 sysv4*MP*)
   10601   if test -d /usr/nec ;then
   10602     version_type=linux
   10603     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10604     soname_spec='$libname${shared_ext}.$major'
   10605     shlibpath_var=LD_LIBRARY_PATH
   10606   fi
   10607   ;;
   10608 
   10609 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10610   version_type=freebsd-elf
   10611   need_lib_prefix=no
   10612   need_version=no
   10613   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10614   soname_spec='${libname}${release}${shared_ext}$major'
   10615   shlibpath_var=LD_LIBRARY_PATH
   10616   shlibpath_overrides_runpath=yes
   10617   hardcode_into_libs=yes
   10618   if test "$with_gnu_ld" = yes; then
   10619     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10620   else
   10621     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10622     case $host_os in
   10623       sco3.2v5*)
   10624         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10625 	;;
   10626     esac
   10627   fi
   10628   sys_lib_dlsearch_path_spec='/usr/lib'
   10629   ;;
   10630 
   10631 tpf*)
   10632   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10633   version_type=linux
   10634   need_lib_prefix=no
   10635   need_version=no
   10636   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10637   shlibpath_var=LD_LIBRARY_PATH
   10638   shlibpath_overrides_runpath=no
   10639   hardcode_into_libs=yes
   10640   ;;
   10641 
   10642 uts4*)
   10643   version_type=linux
   10644   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10645   soname_spec='${libname}${release}${shared_ext}$major'
   10646   shlibpath_var=LD_LIBRARY_PATH
   10647   ;;
   10648 
   10649 *)
   10650   dynamic_linker=no
   10651   ;;
   10652 esac
   10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10654 $as_echo "$dynamic_linker" >&6; }
   10655 test "$dynamic_linker" = no && can_build_shared=no
   10656 
   10657 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10658 if test "$GCC" = yes; then
   10659   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10660 fi
   10661 
   10662 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10663   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10664 fi
   10665 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10666   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10667 fi
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10761 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10762 hardcode_action=
   10763 if test -n "$hardcode_libdir_flag_spec" ||
   10764    test -n "$runpath_var" ||
   10765    test "X$hardcode_automatic" = "Xyes" ; then
   10766 
   10767   # We can hardcode non-existent directories.
   10768   if test "$hardcode_direct" != no &&
   10769      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10770      # have to relink, otherwise we might link with an installed library
   10771      # when we should be linking with a yet-to-be-installed one
   10772      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10773      test "$hardcode_minus_L" != no; then
   10774     # Linking always hardcodes the temporary library directory.
   10775     hardcode_action=relink
   10776   else
   10777     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10778     hardcode_action=immediate
   10779   fi
   10780 else
   10781   # We cannot hardcode anything, or else we can only hardcode existing
   10782   # directories.
   10783   hardcode_action=unsupported
   10784 fi
   10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10786 $as_echo "$hardcode_action" >&6; }
   10787 
   10788 if test "$hardcode_action" = relink ||
   10789    test "$inherit_rpath" = yes; then
   10790   # Fast installation is not supported
   10791   enable_fast_install=no
   10792 elif test "$shlibpath_overrides_runpath" = yes ||
   10793      test "$enable_shared" = no; then
   10794   # Fast installation is not necessary
   10795   enable_fast_install=needless
   10796 fi
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803   if test "x$enable_dlopen" != xyes; then
   10804   enable_dlopen=unknown
   10805   enable_dlopen_self=unknown
   10806   enable_dlopen_self_static=unknown
   10807 else
   10808   lt_cv_dlopen=no
   10809   lt_cv_dlopen_libs=
   10810 
   10811   case $host_os in
   10812   beos*)
   10813     lt_cv_dlopen="load_add_on"
   10814     lt_cv_dlopen_libs=
   10815     lt_cv_dlopen_self=yes
   10816     ;;
   10817 
   10818   mingw* | pw32* | cegcc*)
   10819     lt_cv_dlopen="LoadLibrary"
   10820     lt_cv_dlopen_libs=
   10821     ;;
   10822 
   10823   cygwin*)
   10824     lt_cv_dlopen="dlopen"
   10825     lt_cv_dlopen_libs=
   10826     ;;
   10827 
   10828   darwin*)
   10829   # if libdl is installed we need to link against it
   10830     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10831 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10832 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10833   $as_echo_n "(cached) " >&6
   10834 else
   10835   ac_check_lib_save_LIBS=$LIBS
   10836 LIBS="-ldl  $LIBS"
   10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10838 /* end confdefs.h.  */
   10839 
   10840 /* Override any GCC internal prototype to avoid an error.
   10841    Use char because int might match the return type of a GCC
   10842    builtin and then its argument prototype would still apply.  */
   10843 #ifdef __cplusplus
   10844 extern "C"
   10845 #endif
   10846 char dlopen ();
   10847 int
   10848 main ()
   10849 {
   10850 return dlopen ();
   10851   ;
   10852   return 0;
   10853 }
   10854 _ACEOF
   10855 if ac_fn_c_try_link "$LINENO"; then :
   10856   ac_cv_lib_dl_dlopen=yes
   10857 else
   10858   ac_cv_lib_dl_dlopen=no
   10859 fi
   10860 rm -f core conftest.err conftest.$ac_objext \
   10861     conftest$ac_exeext conftest.$ac_ext
   10862 LIBS=$ac_check_lib_save_LIBS
   10863 fi
   10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10865 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10866 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10867   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10868 else
   10869 
   10870     lt_cv_dlopen="dyld"
   10871     lt_cv_dlopen_libs=
   10872     lt_cv_dlopen_self=yes
   10873 
   10874 fi
   10875 
   10876     ;;
   10877 
   10878   *)
   10879     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10880 if test "x$ac_cv_func_shl_load" = xyes; then :
   10881   lt_cv_dlopen="shl_load"
   10882 else
   10883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10884 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10885 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10886   $as_echo_n "(cached) " >&6
   10887 else
   10888   ac_check_lib_save_LIBS=$LIBS
   10889 LIBS="-ldld  $LIBS"
   10890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10891 /* end confdefs.h.  */
   10892 
   10893 /* Override any GCC internal prototype to avoid an error.
   10894    Use char because int might match the return type of a GCC
   10895    builtin and then its argument prototype would still apply.  */
   10896 #ifdef __cplusplus
   10897 extern "C"
   10898 #endif
   10899 char shl_load ();
   10900 int
   10901 main ()
   10902 {
   10903 return shl_load ();
   10904   ;
   10905   return 0;
   10906 }
   10907 _ACEOF
   10908 if ac_fn_c_try_link "$LINENO"; then :
   10909   ac_cv_lib_dld_shl_load=yes
   10910 else
   10911   ac_cv_lib_dld_shl_load=no
   10912 fi
   10913 rm -f core conftest.err conftest.$ac_objext \
   10914     conftest$ac_exeext conftest.$ac_ext
   10915 LIBS=$ac_check_lib_save_LIBS
   10916 fi
   10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10918 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10919 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10920   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10921 else
   10922   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10923 if test "x$ac_cv_func_dlopen" = xyes; then :
   10924   lt_cv_dlopen="dlopen"
   10925 else
   10926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10927 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10928 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10929   $as_echo_n "(cached) " >&6
   10930 else
   10931   ac_check_lib_save_LIBS=$LIBS
   10932 LIBS="-ldl  $LIBS"
   10933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10934 /* end confdefs.h.  */
   10935 
   10936 /* Override any GCC internal prototype to avoid an error.
   10937    Use char because int might match the return type of a GCC
   10938    builtin and then its argument prototype would still apply.  */
   10939 #ifdef __cplusplus
   10940 extern "C"
   10941 #endif
   10942 char dlopen ();
   10943 int
   10944 main ()
   10945 {
   10946 return dlopen ();
   10947   ;
   10948   return 0;
   10949 }
   10950 _ACEOF
   10951 if ac_fn_c_try_link "$LINENO"; then :
   10952   ac_cv_lib_dl_dlopen=yes
   10953 else
   10954   ac_cv_lib_dl_dlopen=no
   10955 fi
   10956 rm -f core conftest.err conftest.$ac_objext \
   10957     conftest$ac_exeext conftest.$ac_ext
   10958 LIBS=$ac_check_lib_save_LIBS
   10959 fi
   10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10961 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10962 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10963   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10964 else
   10965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10966 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10967 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10968   $as_echo_n "(cached) " >&6
   10969 else
   10970   ac_check_lib_save_LIBS=$LIBS
   10971 LIBS="-lsvld  $LIBS"
   10972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10973 /* end confdefs.h.  */
   10974 
   10975 /* Override any GCC internal prototype to avoid an error.
   10976    Use char because int might match the return type of a GCC
   10977    builtin and then its argument prototype would still apply.  */
   10978 #ifdef __cplusplus
   10979 extern "C"
   10980 #endif
   10981 char dlopen ();
   10982 int
   10983 main ()
   10984 {
   10985 return dlopen ();
   10986   ;
   10987   return 0;
   10988 }
   10989 _ACEOF
   10990 if ac_fn_c_try_link "$LINENO"; then :
   10991   ac_cv_lib_svld_dlopen=yes
   10992 else
   10993   ac_cv_lib_svld_dlopen=no
   10994 fi
   10995 rm -f core conftest.err conftest.$ac_objext \
   10996     conftest$ac_exeext conftest.$ac_ext
   10997 LIBS=$ac_check_lib_save_LIBS
   10998 fi
   10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11000 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11001 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11002   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11003 else
   11004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11005 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11006 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11007   $as_echo_n "(cached) " >&6
   11008 else
   11009   ac_check_lib_save_LIBS=$LIBS
   11010 LIBS="-ldld  $LIBS"
   11011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11012 /* end confdefs.h.  */
   11013 
   11014 /* Override any GCC internal prototype to avoid an error.
   11015    Use char because int might match the return type of a GCC
   11016    builtin and then its argument prototype would still apply.  */
   11017 #ifdef __cplusplus
   11018 extern "C"
   11019 #endif
   11020 char dld_link ();
   11021 int
   11022 main ()
   11023 {
   11024 return dld_link ();
   11025   ;
   11026   return 0;
   11027 }
   11028 _ACEOF
   11029 if ac_fn_c_try_link "$LINENO"; then :
   11030   ac_cv_lib_dld_dld_link=yes
   11031 else
   11032   ac_cv_lib_dld_dld_link=no
   11033 fi
   11034 rm -f core conftest.err conftest.$ac_objext \
   11035     conftest$ac_exeext conftest.$ac_ext
   11036 LIBS=$ac_check_lib_save_LIBS
   11037 fi
   11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11039 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11040 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11041   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11042 fi
   11043 
   11044 
   11045 fi
   11046 
   11047 
   11048 fi
   11049 
   11050 
   11051 fi
   11052 
   11053 
   11054 fi
   11055 
   11056 
   11057 fi
   11058 
   11059     ;;
   11060   esac
   11061 
   11062   if test "x$lt_cv_dlopen" != xno; then
   11063     enable_dlopen=yes
   11064   else
   11065     enable_dlopen=no
   11066   fi
   11067 
   11068   case $lt_cv_dlopen in
   11069   dlopen)
   11070     save_CPPFLAGS="$CPPFLAGS"
   11071     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11072 
   11073     save_LDFLAGS="$LDFLAGS"
   11074     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11075 
   11076     save_LIBS="$LIBS"
   11077     LIBS="$lt_cv_dlopen_libs $LIBS"
   11078 
   11079     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11080 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11081 if ${lt_cv_dlopen_self+:} false; then :
   11082   $as_echo_n "(cached) " >&6
   11083 else
   11084   	  if test "$cross_compiling" = yes; then :
   11085   lt_cv_dlopen_self=cross
   11086 else
   11087   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11088   lt_status=$lt_dlunknown
   11089   cat > conftest.$ac_ext <<_LT_EOF
   11090 #line 11090 "configure"
   11091 #include "confdefs.h"
   11092 
   11093 #if HAVE_DLFCN_H
   11094 #include <dlfcn.h>
   11095 #endif
   11096 
   11097 #include <stdio.h>
   11098 
   11099 #ifdef RTLD_GLOBAL
   11100 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11101 #else
   11102 #  ifdef DL_GLOBAL
   11103 #    define LT_DLGLOBAL		DL_GLOBAL
   11104 #  else
   11105 #    define LT_DLGLOBAL		0
   11106 #  endif
   11107 #endif
   11108 
   11109 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11110    find out it does not work in some platform. */
   11111 #ifndef LT_DLLAZY_OR_NOW
   11112 #  ifdef RTLD_LAZY
   11113 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11114 #  else
   11115 #    ifdef DL_LAZY
   11116 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11117 #    else
   11118 #      ifdef RTLD_NOW
   11119 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11120 #      else
   11121 #        ifdef DL_NOW
   11122 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11123 #        else
   11124 #          define LT_DLLAZY_OR_NOW	0
   11125 #        endif
   11126 #      endif
   11127 #    endif
   11128 #  endif
   11129 #endif
   11130 
   11131 /* When -fvisbility=hidden is used, assume the code has been annotated
   11132    correspondingly for the symbols needed.  */
   11133 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11134 void fnord () __attribute__((visibility("default")));
   11135 #endif
   11136 
   11137 void fnord () { int i=42; }
   11138 int main ()
   11139 {
   11140   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11141   int status = $lt_dlunknown;
   11142 
   11143   if (self)
   11144     {
   11145       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11146       else
   11147         {
   11148 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11149           else puts (dlerror ());
   11150 	}
   11151       /* dlclose (self); */
   11152     }
   11153   else
   11154     puts (dlerror ());
   11155 
   11156   return status;
   11157 }
   11158 _LT_EOF
   11159   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11160   (eval $ac_link) 2>&5
   11161   ac_status=$?
   11162   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11163   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11164     (./conftest; exit; ) >&5 2>/dev/null
   11165     lt_status=$?
   11166     case x$lt_status in
   11167       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11168       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11169       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11170     esac
   11171   else :
   11172     # compilation failed
   11173     lt_cv_dlopen_self=no
   11174   fi
   11175 fi
   11176 rm -fr conftest*
   11177 
   11178 
   11179 fi
   11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11181 $as_echo "$lt_cv_dlopen_self" >&6; }
   11182 
   11183     if test "x$lt_cv_dlopen_self" = xyes; then
   11184       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11185       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11186 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11187 if ${lt_cv_dlopen_self_static+:} false; then :
   11188   $as_echo_n "(cached) " >&6
   11189 else
   11190   	  if test "$cross_compiling" = yes; then :
   11191   lt_cv_dlopen_self_static=cross
   11192 else
   11193   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11194   lt_status=$lt_dlunknown
   11195   cat > conftest.$ac_ext <<_LT_EOF
   11196 #line 11196 "configure"
   11197 #include "confdefs.h"
   11198 
   11199 #if HAVE_DLFCN_H
   11200 #include <dlfcn.h>
   11201 #endif
   11202 
   11203 #include <stdio.h>
   11204 
   11205 #ifdef RTLD_GLOBAL
   11206 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11207 #else
   11208 #  ifdef DL_GLOBAL
   11209 #    define LT_DLGLOBAL		DL_GLOBAL
   11210 #  else
   11211 #    define LT_DLGLOBAL		0
   11212 #  endif
   11213 #endif
   11214 
   11215 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11216    find out it does not work in some platform. */
   11217 #ifndef LT_DLLAZY_OR_NOW
   11218 #  ifdef RTLD_LAZY
   11219 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11220 #  else
   11221 #    ifdef DL_LAZY
   11222 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11223 #    else
   11224 #      ifdef RTLD_NOW
   11225 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11226 #      else
   11227 #        ifdef DL_NOW
   11228 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11229 #        else
   11230 #          define LT_DLLAZY_OR_NOW	0
   11231 #        endif
   11232 #      endif
   11233 #    endif
   11234 #  endif
   11235 #endif
   11236 
   11237 /* When -fvisbility=hidden is used, assume the code has been annotated
   11238    correspondingly for the symbols needed.  */
   11239 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11240 void fnord () __attribute__((visibility("default")));
   11241 #endif
   11242 
   11243 void fnord () { int i=42; }
   11244 int main ()
   11245 {
   11246   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11247   int status = $lt_dlunknown;
   11248 
   11249   if (self)
   11250     {
   11251       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11252       else
   11253         {
   11254 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11255           else puts (dlerror ());
   11256 	}
   11257       /* dlclose (self); */
   11258     }
   11259   else
   11260     puts (dlerror ());
   11261 
   11262   return status;
   11263 }
   11264 _LT_EOF
   11265   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11266   (eval $ac_link) 2>&5
   11267   ac_status=$?
   11268   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11269   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11270     (./conftest; exit; ) >&5 2>/dev/null
   11271     lt_status=$?
   11272     case x$lt_status in
   11273       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11274       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11275       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11276     esac
   11277   else :
   11278     # compilation failed
   11279     lt_cv_dlopen_self_static=no
   11280   fi
   11281 fi
   11282 rm -fr conftest*
   11283 
   11284 
   11285 fi
   11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11287 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11288     fi
   11289 
   11290     CPPFLAGS="$save_CPPFLAGS"
   11291     LDFLAGS="$save_LDFLAGS"
   11292     LIBS="$save_LIBS"
   11293     ;;
   11294   esac
   11295 
   11296   case $lt_cv_dlopen_self in
   11297   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11298   *) enable_dlopen_self=unknown ;;
   11299   esac
   11300 
   11301   case $lt_cv_dlopen_self_static in
   11302   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11303   *) enable_dlopen_self_static=unknown ;;
   11304   esac
   11305 fi
   11306 
   11307 
   11308 
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 striplib=
   11324 old_striplib=
   11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11326 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11327 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11328   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11329   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11331 $as_echo "yes" >&6; }
   11332 else
   11333 # FIXME - insert some real tests, host_os isn't really good enough
   11334   case $host_os in
   11335   darwin*)
   11336     if test -n "$STRIP" ; then
   11337       striplib="$STRIP -x"
   11338       old_striplib="$STRIP -S"
   11339       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11340 $as_echo "yes" >&6; }
   11341     else
   11342       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11343 $as_echo "no" >&6; }
   11344     fi
   11345     ;;
   11346   *)
   11347     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11348 $as_echo "no" >&6; }
   11349     ;;
   11350   esac
   11351 fi
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364   # Report which library types will actually be built
   11365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11366 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11368 $as_echo "$can_build_shared" >&6; }
   11369 
   11370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11371 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11372   test "$can_build_shared" = "no" && enable_shared=no
   11373 
   11374   # On AIX, shared libraries and static libraries use the same namespace, and
   11375   # are all built from PIC.
   11376   case $host_os in
   11377   aix3*)
   11378     test "$enable_shared" = yes && enable_static=no
   11379     if test -n "$RANLIB"; then
   11380       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11381       postinstall_cmds='$RANLIB $lib'
   11382     fi
   11383     ;;
   11384 
   11385   aix[4-9]*)
   11386     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11387       test "$enable_shared" = yes && enable_static=no
   11388     fi
   11389     ;;
   11390   esac
   11391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11392 $as_echo "$enable_shared" >&6; }
   11393 
   11394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11395 $as_echo_n "checking whether to build static libraries... " >&6; }
   11396   # Make sure either enable_shared or enable_static is yes.
   11397   test "$enable_shared" = yes || enable_static=yes
   11398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11399 $as_echo "$enable_static" >&6; }
   11400 
   11401 
   11402 
   11403 
   11404 fi
   11405 ac_ext=c
   11406 ac_cpp='$CPP $CPPFLAGS'
   11407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11410 
   11411 CC="$lt_save_CC"
   11412 
   11413 
   11414 
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425         ac_config_commands="$ac_config_commands libtool"
   11426 
   11427 
   11428 
   11429 
   11430 # Only expand once:
   11431 
   11432 
   11433 
   11434 # AC_PLUGINS setting $plugins is called by ACX_LARGEFILE.
   11435 
   11436 # The tests for host and target for $enable_largefile require
   11437 # canonical names.
   11438 
   11439 
   11440 
   11441 # As the $enable_largefile decision depends on --enable-plugins we must set it
   11442 # even in directories otherwise not depending on the $plugins option.
   11443 
   11444 
   11445   maybe_plugins=no
   11446   for ac_header in dlfcn.h
   11447 do :
   11448   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   11449 "
   11450 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   11451   cat >>confdefs.h <<_ACEOF
   11452 #define HAVE_DLFCN_H 1
   11453 _ACEOF
   11454  maybe_plugins=yes
   11455 fi
   11456 
   11457 done
   11458 
   11459   for ac_header in windows.h
   11460 do :
   11461   ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
   11462 "
   11463 if test "x$ac_cv_header_windows_h" = xyes; then :
   11464   cat >>confdefs.h <<_ACEOF
   11465 #define HAVE_WINDOWS_H 1
   11466 _ACEOF
   11467  maybe_plugins=yes
   11468 fi
   11469 
   11470 done
   11471 
   11472 
   11473   # Check whether --enable-plugins was given.
   11474 if test "${enable_plugins+set}" = set; then :
   11475   enableval=$enable_plugins; case "${enableval}" in
   11476       no) plugins=no ;;
   11477       *) plugins=yes
   11478          if test "$maybe_plugins" != "yes" ; then
   11479 	   as_fn_error $? "Building with plugin support requires a host that supports dlopen." "$LINENO" 5
   11480 	 fi ;;
   11481      esac
   11482 else
   11483   plugins=$maybe_plugins
   11484 
   11485 fi
   11486 
   11487   if test "$plugins" = "yes"; then
   11488     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
   11489 $as_echo_n "checking for library containing dlsym... " >&6; }
   11490 if ${ac_cv_search_dlsym+:} false; then :
   11491   $as_echo_n "(cached) " >&6
   11492 else
   11493   ac_func_search_save_LIBS=$LIBS
   11494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11495 /* end confdefs.h.  */
   11496 
   11497 /* Override any GCC internal prototype to avoid an error.
   11498    Use char because int might match the return type of a GCC
   11499    builtin and then its argument prototype would still apply.  */
   11500 #ifdef __cplusplus
   11501 extern "C"
   11502 #endif
   11503 char dlsym ();
   11504 int
   11505 main ()
   11506 {
   11507 return dlsym ();
   11508   ;
   11509   return 0;
   11510 }
   11511 _ACEOF
   11512 for ac_lib in '' dl; do
   11513   if test -z "$ac_lib"; then
   11514     ac_res="none required"
   11515   else
   11516     ac_res=-l$ac_lib
   11517     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11518   fi
   11519   if ac_fn_c_try_link "$LINENO"; then :
   11520   ac_cv_search_dlsym=$ac_res
   11521 fi
   11522 rm -f core conftest.err conftest.$ac_objext \
   11523     conftest$ac_exeext
   11524   if ${ac_cv_search_dlsym+:} false; then :
   11525   break
   11526 fi
   11527 done
   11528 if ${ac_cv_search_dlsym+:} false; then :
   11529 
   11530 else
   11531   ac_cv_search_dlsym=no
   11532 fi
   11533 rm conftest.$ac_ext
   11534 LIBS=$ac_func_search_save_LIBS
   11535 fi
   11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
   11537 $as_echo "$ac_cv_search_dlsym" >&6; }
   11538 ac_res=$ac_cv_search_dlsym
   11539 if test "$ac_res" != no; then :
   11540   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11541 
   11542 fi
   11543 
   11544   fi
   11545 
   11546 
   11547 case "${host}" in
   11548   sparc-*-solaris*|i?86-*-solaris*)
   11549     # On native 32-bit Solaris/SPARC and x86, large-file and procfs support
   11550     # were mutually exclusive until Solaris 11.3.  Without procfs support,
   11551     # the bfd/ elf module cannot provide certain routines such as
   11552     # elfcore_write_prpsinfo or elfcore_write_prstatus.  So unless the user
   11553     # explicitly requested large-file support through the
   11554     # --enable-largefile switch, disable large-file support in favor of
   11555     # procfs support.
   11556     #
   11557     # Check if <sys/procfs.h> is incompatible with large-file support.
   11558     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11559 /* end confdefs.h.  */
   11560 #define _FILE_OFFSET_BITS 64
   11561 #define _STRUCTURED_PROC 1
   11562 #include <sys/procfs.h>
   11563 int
   11564 main ()
   11565 {
   11566 
   11567   ;
   11568   return 0;
   11569 }
   11570 _ACEOF
   11571 if ac_fn_c_try_compile "$LINENO"; then :
   11572   acx_cv_procfs_lfs=yes
   11573 else
   11574   acx_cv_procfs_lfs=no
   11575 fi
   11576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11577     #
   11578     # Forcefully disable large-file support only if necessary, gdb is in
   11579     # tree and enabled.
   11580     if test "${target}" = "${host}" -a "$acx_cv_procfs_lfs" = no \
   11581          -a -d $srcdir/../gdb -a "$enable_gdb" != no; then
   11582       : ${enable_largefile="no"}
   11583       if test "$plugins" = yes; then
   11584 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
   11585 plugin support disabled; require large-file support which is incompatible with GDB." >&5
   11586 $as_echo "$as_me: WARNING:
   11587 plugin support disabled; require large-file support which is incompatible with GDB." >&2;}
   11588 	plugins=no
   11589       fi
   11590     fi
   11591     #
   11592     # Explicitly undef _FILE_OFFSET_BITS if enable_largefile=no for the
   11593     # benefit of g++ 9+ which predefines it on Solaris.
   11594     if test "$enable_largefile" = no; then
   11595       LARGEFILE_CPPFLAGS="-U_FILE_OFFSET_BITS"
   11596 
   11597     fi
   11598     ;;
   11599 esac
   11600 
   11601 # Check whether --enable-largefile was given.
   11602 if test "${enable_largefile+set}" = set; then :
   11603   enableval=$enable_largefile;
   11604 fi
   11605 
   11606 if test "$enable_largefile" != no; then
   11607 
   11608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   11609 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   11610 if ${ac_cv_sys_largefile_CC+:} false; then :
   11611   $as_echo_n "(cached) " >&6
   11612 else
   11613   ac_cv_sys_largefile_CC=no
   11614      if test "$GCC" != yes; then
   11615        ac_save_CC=$CC
   11616        while :; do
   11617 	 # IRIX 6.2 and later do not support large files by default,
   11618 	 # so use the C compiler's -n32 option if that helps.
   11619 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11620 /* end confdefs.h.  */
   11621 #include <sys/types.h>
   11622  /* Check that off_t can represent 2**63 - 1 correctly.
   11623     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11624     since some C++ compilers masquerading as C compilers
   11625     incorrectly reject 9223372036854775807.  */
   11626 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11627   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11628 		       && LARGE_OFF_T % 2147483647 == 1)
   11629 		      ? 1 : -1];
   11630 int
   11631 main ()
   11632 {
   11633 
   11634   ;
   11635   return 0;
   11636 }
   11637 _ACEOF
   11638 	 if ac_fn_c_try_compile "$LINENO"; then :
   11639   break
   11640 fi
   11641 rm -f core conftest.err conftest.$ac_objext
   11642 	 CC="$CC -n32"
   11643 	 if ac_fn_c_try_compile "$LINENO"; then :
   11644   ac_cv_sys_largefile_CC=' -n32'; break
   11645 fi
   11646 rm -f core conftest.err conftest.$ac_objext
   11647 	 break
   11648        done
   11649        CC=$ac_save_CC
   11650        rm -f conftest.$ac_ext
   11651     fi
   11652 fi
   11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   11654 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   11655   if test "$ac_cv_sys_largefile_CC" != no; then
   11656     CC=$CC$ac_cv_sys_largefile_CC
   11657   fi
   11658 
   11659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   11660 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   11661 if ${ac_cv_sys_file_offset_bits+:} false; then :
   11662   $as_echo_n "(cached) " >&6
   11663 else
   11664   while :; do
   11665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11666 /* end confdefs.h.  */
   11667 #include <sys/types.h>
   11668  /* Check that off_t can represent 2**63 - 1 correctly.
   11669     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11670     since some C++ compilers masquerading as C compilers
   11671     incorrectly reject 9223372036854775807.  */
   11672 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11673   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11674 		       && LARGE_OFF_T % 2147483647 == 1)
   11675 		      ? 1 : -1];
   11676 int
   11677 main ()
   11678 {
   11679 
   11680   ;
   11681   return 0;
   11682 }
   11683 _ACEOF
   11684 if ac_fn_c_try_compile "$LINENO"; then :
   11685   ac_cv_sys_file_offset_bits=no; break
   11686 fi
   11687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11689 /* end confdefs.h.  */
   11690 #define _FILE_OFFSET_BITS 64
   11691 #include <sys/types.h>
   11692  /* Check that off_t can represent 2**63 - 1 correctly.
   11693     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11694     since some C++ compilers masquerading as C compilers
   11695     incorrectly reject 9223372036854775807.  */
   11696 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11697   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11698 		       && LARGE_OFF_T % 2147483647 == 1)
   11699 		      ? 1 : -1];
   11700 int
   11701 main ()
   11702 {
   11703 
   11704   ;
   11705   return 0;
   11706 }
   11707 _ACEOF
   11708 if ac_fn_c_try_compile "$LINENO"; then :
   11709   ac_cv_sys_file_offset_bits=64; break
   11710 fi
   11711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11712   ac_cv_sys_file_offset_bits=unknown
   11713   break
   11714 done
   11715 fi
   11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   11717 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   11718 case $ac_cv_sys_file_offset_bits in #(
   11719   no | unknown) ;;
   11720   *)
   11721 cat >>confdefs.h <<_ACEOF
   11722 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   11723 _ACEOF
   11724 ;;
   11725 esac
   11726 rm -rf conftest*
   11727   if test $ac_cv_sys_file_offset_bits = unknown; then
   11728     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   11729 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   11730 if ${ac_cv_sys_large_files+:} false; then :
   11731   $as_echo_n "(cached) " >&6
   11732 else
   11733   while :; do
   11734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11735 /* end confdefs.h.  */
   11736 #include <sys/types.h>
   11737  /* Check that off_t can represent 2**63 - 1 correctly.
   11738     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11739     since some C++ compilers masquerading as C compilers
   11740     incorrectly reject 9223372036854775807.  */
   11741 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11742   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11743 		       && LARGE_OFF_T % 2147483647 == 1)
   11744 		      ? 1 : -1];
   11745 int
   11746 main ()
   11747 {
   11748 
   11749   ;
   11750   return 0;
   11751 }
   11752 _ACEOF
   11753 if ac_fn_c_try_compile "$LINENO"; then :
   11754   ac_cv_sys_large_files=no; break
   11755 fi
   11756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11758 /* end confdefs.h.  */
   11759 #define _LARGE_FILES 1
   11760 #include <sys/types.h>
   11761  /* Check that off_t can represent 2**63 - 1 correctly.
   11762     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11763     since some C++ compilers masquerading as C compilers
   11764     incorrectly reject 9223372036854775807.  */
   11765 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11766   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11767 		       && LARGE_OFF_T % 2147483647 == 1)
   11768 		      ? 1 : -1];
   11769 int
   11770 main ()
   11771 {
   11772 
   11773   ;
   11774   return 0;
   11775 }
   11776 _ACEOF
   11777 if ac_fn_c_try_compile "$LINENO"; then :
   11778   ac_cv_sys_large_files=1; break
   11779 fi
   11780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11781   ac_cv_sys_large_files=unknown
   11782   break
   11783 done
   11784 fi
   11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   11786 $as_echo "$ac_cv_sys_large_files" >&6; }
   11787 case $ac_cv_sys_large_files in #(
   11788   no | unknown) ;;
   11789   *)
   11790 cat >>confdefs.h <<_ACEOF
   11791 #define _LARGE_FILES $ac_cv_sys_large_files
   11792 _ACEOF
   11793 ;;
   11794 esac
   11795 rm -rf conftest*
   11796   fi
   11797 
   11798 
   11799 fi
   11800 
   11801 
   11802 
   11803 case "${target}" in
   11804     hppa*64*-*-*) ;;
   11805     *-*-*aout*| i[3-7]86-*-msdos* | ns32k-*-* | pdp11-*-*)
   11806 	if test "$plugins" = "yes"; then
   11807 	    if test "${enable_plugins+set}" = set; then
   11808 		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling plugins for AOUT is experimental" >&5
   11809 $as_echo "$as_me: WARNING: Enabling plugins for AOUT is experimental" >&2;}
   11810 	    else
   11811 		plugins=no
   11812 	    fi
   11813 	fi ;;
   11814     hppa*-*-hpux* | *-*-*vms* | \
   11815     powerpc*-*-aix* | powerpc-*-beos* | powerpc-*-macos* | rs6000-*-*)
   11816 	if test "$plugins" = "yes"; then
   11817 	    if test "${enable_plugins+set}" = set; then
   11818 		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling plugins may result in ar creating non-standard archives for ${target}" >&5
   11819 $as_echo "$as_me: WARNING: Enabling plugins may result in ar creating non-standard archives for ${target}" >&2;}
   11820 	    else
   11821 		plugins=no
   11822 	    fi
   11823 	fi ;;
   11824 esac
   11825 
   11826  if test "$plugins" = "yes"; then
   11827   PLUGINS_TRUE=
   11828   PLUGINS_FALSE='#'
   11829 else
   11830   PLUGINS_TRUE='#'
   11831   PLUGINS_FALSE=
   11832 fi
   11833 
   11834 
   11835 ac_checking=
   11836 . ${srcdir}/development.sh
   11837 test "$development" = true && ac_checking=yes
   11838 # Check whether --enable-checking was given.
   11839 if test "${enable_checking+set}" = set; then :
   11840   enableval=$enable_checking; case "${enableval}" in
   11841   no|none)  ac_checking= ;;
   11842   *)	    ac_checking=yes ;;
   11843 esac
   11844 fi
   11845 if test x$ac_checking != x ; then
   11846 
   11847 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
   11848 
   11849 fi
   11850 
   11851 # Check whether --enable-64-bit-bfd was given.
   11852 if test "${enable_64_bit_bfd+set}" = set; then :
   11853   enableval=$enable_64_bit_bfd; case $enableval in #(
   11854   yes|no) :
   11855      ;; #(
   11856   *) :
   11857     as_fn_error $? "bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;; #(
   11858   *) :
   11859      ;;
   11860 esac
   11861 else
   11862   enable_64_bit_bfd=no
   11863 fi
   11864 
   11865 
   11866 if test "x$enable_64_bit_bfd" = "xno"; then :
   11867     # The cast to long int works around a bug in the HP C Compiler
   11868 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   11869 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   11870 # This bug is HP SR number 8606223364.
   11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   11872 $as_echo_n "checking size of void *... " >&6; }
   11873 if ${ac_cv_sizeof_void_p+:} false; then :
   11874   $as_echo_n "(cached) " >&6
   11875 else
   11876   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   11877 
   11878 else
   11879   if test "$ac_cv_type_void_p" = yes; then
   11880      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11882 as_fn_error 77 "cannot compute sizeof (void *)
   11883 See \`config.log' for more details" "$LINENO" 5; }
   11884    else
   11885      ac_cv_sizeof_void_p=0
   11886    fi
   11887 fi
   11888 
   11889 fi
   11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   11891 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   11892 
   11893 
   11894 
   11895 cat >>confdefs.h <<_ACEOF
   11896 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   11897 _ACEOF
   11898 
   11899 
   11900   if test "x$ac_cv_sizeof_void_p" = "x8"; then :
   11901   enable_64_bit_bfd=yes
   11902 fi
   11903 
   11904 fi
   11905 
   11906  if test "x$enable_64_bit_bfd" = "xyes"; then
   11907   ENABLE_BFD_64_BIT_TRUE=
   11908   ENABLE_BFD_64_BIT_FALSE='#'
   11909 else
   11910   ENABLE_BFD_64_BIT_TRUE='#'
   11911   ENABLE_BFD_64_BIT_FALSE=
   11912 fi
   11913 
   11914 
   11915 if test $enable_64_bit_bfd = yes ; then
   11916   want64=true
   11917 else
   11918   want64=false
   11919 fi
   11920 
   11921 # Check whether --enable-targets was given.
   11922 if test "${enable_targets+set}" = set; then :
   11923   enableval=$enable_targets; case "${enableval}" in
   11924   yes | "") as_fn_error $? "enable-targets option must specify target names or 'all'" "$LINENO" 5
   11925             ;;
   11926   no)       enable_targets= ;;
   11927   *)        enable_targets=$enableval ;;
   11928 esac
   11929 fi
   11930 
   11931 # Check whether --enable-64_bit_archive was given.
   11932 if test "${enable_64_bit_archive+set}" = set; then :
   11933   enableval=$enable_64_bit_archive; case "${enableval}" in
   11934   yes)  want_64_bit_archive=true  ;;
   11935   no)   want_64_bit_archive=false ;;
   11936   *)    as_fn_error $? "bad value ${enableval} for 64-bit-archive option" "$LINENO" 5 ;;
   11937 esac
   11938 else
   11939   want_64_bit_archive=unset
   11940 fi
   11941 
   11942 
   11943 # Check whether --with-mmap was given.
   11944 if test "${with_mmap+set}" = set; then :
   11945   withval=$with_mmap; case "${withval}" in
   11946   yes)  want_mmap=true ;;
   11947   no)   want_mmap=false ;;
   11948   *)    as_fn_error $? "bad value ${withval} for BFD with-mmap option" "$LINENO" 5 ;;
   11949 esac
   11950 else
   11951   want_mmap=false
   11952 fi
   11953 
   11954 # Check whether --enable-secureplt was given.
   11955 if test "${enable_secureplt+set}" = set; then :
   11956   enableval=$enable_secureplt; case "${enableval}" in
   11957   yes)  use_secureplt=true  ;;
   11958   no)   use_secureplt=false ;;
   11959   *)    as_fn_error $? "bad value ${enableval} for secureplt option" "$LINENO" 5 ;;
   11960 esac
   11961 else
   11962   use_secureplt=true
   11963 fi
   11964 if test $use_secureplt = true; then
   11965 
   11966 $as_echo "#define USE_SECUREPLT 1" >>confdefs.h
   11967 
   11968 fi
   11969 
   11970 # Decide if -z separate-code should be enabled in ELF linker by default.
   11971 ac_default_ld_z_separate_code=unset
   11972 # Check whether --enable-separate-code was given.
   11973 if test "${enable_separate_code+set}" = set; then :
   11974   enableval=$enable_separate_code; case "${enableval}" in
   11975   yes) ac_default_ld_z_separate_code=1 ;;
   11976   no) ac_default_ld_z_separate_code=0 ;;
   11977 esac
   11978 fi
   11979 
   11980 # Enable -z separate-code by default for Linux/x86 and NetBSD/x86
   11981 case "${target}" in
   11982 i[3-7]86-*-linux-* | x86_64-*-linux-* | i[3-7]86-*-netbsd* | x86_64-*-netbsd*)
   11983   if test ${ac_default_ld_z_separate_code} = unset; then
   11984     ac_default_ld_z_separate_code=1
   11985   fi
   11986   ;;
   11987 esac
   11988 if test "${ac_default_ld_z_separate_code}" = unset; then
   11989   ac_default_ld_z_separate_code=0
   11990 fi
   11991 
   11992 cat >>confdefs.h <<_ACEOF
   11993 #define DEFAULT_LD_Z_SEPARATE_CODE $ac_default_ld_z_separate_code
   11994 _ACEOF
   11995 
   11996 
   11997 # Check whether --enable-leading-mingw64-underscores was given.
   11998 if test "${enable_leading_mingw64_underscores+set}" = set; then :
   11999   enableval=$enable_leading_mingw64_underscores;
   12000 fi
   12001 
   12002 if  test x"$enable_leading_mingw64_underscores" = xyes ; then :
   12003 
   12004 $as_echo "#define USE_MINGW64_LEADING_UNDERSCORES 1" >>confdefs.h
   12005 
   12006 fi
   12007 
   12008 DEBUGDIR=${libdir}/debug
   12009 
   12010 # Check whether --with-separate-debug-dir was given.
   12011 if test "${with_separate_debug_dir+set}" = set; then :
   12012   withval=$with_separate_debug_dir; DEBUGDIR="${withval}"
   12013 fi
   12014 
   12015 
   12016 
   12017 
   12018 
   12019 # Check whether --with-pkgversion was given.
   12020 if test "${with_pkgversion+set}" = set; then :
   12021   withval=$with_pkgversion; case "$withval" in
   12022       yes) as_fn_error $? "package version not specified" "$LINENO" 5 ;;
   12023       no)  PKGVERSION= ;;
   12024       *)   PKGVERSION="($withval) " ;;
   12025      esac
   12026 else
   12027   PKGVERSION="(GNU Binutils) "
   12028 
   12029 fi
   12030 
   12031 
   12032 
   12033 
   12034 
   12035 # Check whether --with-bugurl was given.
   12036 if test "${with_bugurl+set}" = set; then :
   12037   withval=$with_bugurl; case "$withval" in
   12038       yes) as_fn_error $? "bug URL not specified" "$LINENO" 5 ;;
   12039       no)  BUGURL=
   12040 	   ;;
   12041       *)   BUGURL="$withval"
   12042 	   ;;
   12043      esac
   12044 else
   12045   BUGURL="https://sourceware.org/bugzilla/"
   12046 
   12047 fi
   12048 
   12049   case ${BUGURL} in
   12050   "")
   12051     REPORT_BUGS_TO=
   12052     REPORT_BUGS_TEXI=
   12053     ;;
   12054   *)
   12055     REPORT_BUGS_TO="<$BUGURL>"
   12056     REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`}
   12057     ;;
   12058   esac;
   12059 
   12060 
   12061 
   12062 
   12063 
   12064 # Set the 'development' global.
   12065 . $srcdir/../bfd/development.sh
   12066 
   12067 # Set acp_cpp_for_build variable
   12068 ac_cpp_for_build="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
   12069 
   12070 # Default set of GCC warnings to enable.
   12071 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   12072 GCC_WARN_CFLAGS_FOR_BUILD="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   12073 
   12074 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   12075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12076 /* end confdefs.h.  */
   12077 __GNUC__
   12078 _ACEOF
   12079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12080   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12081 
   12082 else
   12083   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
   12084 fi
   12085 rm -f conftest*
   12086 
   12087 
   12088 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   12089 #cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12090 #/* end confdefs.h.  */
   12091 #__GNUC__
   12092 #_ACEOF
   12093 #if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12094 #  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12095 #
   12096 #else
   12097 #  GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
   12098 #fi
   12099 #rm -f conftest*
   12100 
   12101 
   12102 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
   12103 WARN_WRITE_STRINGS=""
   12104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12105 /* end confdefs.h.  */
   12106 __GNUC__
   12107 _ACEOF
   12108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12109   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12110 
   12111 else
   12112   WARN_WRITE_STRINGS="-Wwrite-strings"
   12113 fi
   12114 rm -f conftest*
   12115 
   12116 
   12117 # Verify CC_FOR_BUILD to be compatible with warning flags
   12118 
   12119 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   12120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12121 /* end confdefs.h.  */
   12122 __GNUC__
   12123 _ACEOF
   12124 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   12125   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12126 
   12127 else
   12128   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
   12129 fi
   12130 rm -f conftest*
   12131 
   12132 
   12133 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   12134 #cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12135 #/* end confdefs.h.  */
   12136 #__GNUC__
   12137 #_ACEOF
   12138 #if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   12139 #  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12140 #
   12141 #else
   12142 #  GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
   12143 #fi
   12144 #rm -f conftest*
   12145 
   12146 
   12147 # Check whether --enable-werror was given.
   12148 if test "${enable_werror+set}" = set; then :
   12149   enableval=$enable_werror; case "${enableval}" in
   12150      yes | y) ERROR_ON_WARNING="yes" ;;
   12151      no | n)  ERROR_ON_WARNING="no" ;;
   12152      *) as_fn_error $? "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
   12153    esac
   12154 fi
   12155 
   12156 
   12157 # Disable -Wformat by default when using gcc on mingw
   12158 case "${host}" in
   12159   *-*-mingw32*)
   12160     if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
   12161       GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
   12162       GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
   12163     fi
   12164     ;;
   12165   *) ;;
   12166 esac
   12167 
   12168 # Enable -Werror by default when using gcc.  Turn it off for releases.
   12169 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then
   12170     ERROR_ON_WARNING=yes
   12171 fi
   12172 
   12173 NO_WERROR=
   12174 if test "${ERROR_ON_WARNING}" = yes ; then
   12175     GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
   12176     GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
   12177     NO_WERROR="-Wno-error"
   12178 fi
   12179 
   12180 if test "${GCC}" = yes ; then
   12181   WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   12182   WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}"
   12183 fi
   12184 
   12185 # Check whether --enable-build-warnings was given.
   12186 if test "${enable_build_warnings+set}" = set; then :
   12187   enableval=$enable_build_warnings; case "${enableval}" in
   12188   yes)	WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   12189         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}";;
   12190   no)	if test "${GCC}" = yes ; then
   12191 	  WARN_CFLAGS="-w"
   12192       WARN_CFLAGS_FOR_BUILD="-w"
   12193 	fi;;
   12194   ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   12195         WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}"
   12196         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
   12197   *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   12198         WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}"
   12199         WARN_CFLAGS_FOR_BUILD="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
   12200   *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`
   12201         WARN_CFLAGS_FOR_BUILD=`echo "${enableval}" | sed -e "s/,/ /g"`;;
   12202 esac
   12203 fi
   12204 
   12205 
   12206 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
   12207   echo "Setting warning flags = $WARN_CFLAGS" 6>&1
   12208 fi
   12209 
   12210 
   12211 
   12212 
   12213 
   12214 
   12215 
   12216 ac_config_headers="$ac_config_headers config.h:config.in"
   12217 
   12218 
   12219 # PR 14072
   12220 
   12221 
   12222 if test -z "$target" ; then
   12223     as_fn_error $? "Unrecognized target system type; please check config.sub." "$LINENO" 5
   12224 fi
   12225 
   12226 
   12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   12228 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   12229     # Check whether --enable-maintainer-mode was given.
   12230 if test "${enable_maintainer_mode+set}" = set; then :
   12231   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   12232 else
   12233   USE_MAINTAINER_MODE=no
   12234 fi
   12235 
   12236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   12237 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   12238    if test $USE_MAINTAINER_MODE = yes; then
   12239   MAINTAINER_MODE_TRUE=
   12240   MAINTAINER_MODE_FALSE='#'
   12241 else
   12242   MAINTAINER_MODE_TRUE='#'
   12243   MAINTAINER_MODE_FALSE=
   12244 fi
   12245 
   12246   MAINT=$MAINTAINER_MODE_TRUE
   12247 
   12248 
   12249  if false; then
   12250   GENINSRC_NEVER_TRUE=
   12251   GENINSRC_NEVER_FALSE='#'
   12252 else
   12253   GENINSRC_NEVER_TRUE='#'
   12254   GENINSRC_NEVER_FALSE=
   12255 fi
   12256 
   12257  case ${build_alias} in
   12258   "") build_noncanonical=${build} ;;
   12259   *) build_noncanonical=${build_alias} ;;
   12260 esac
   12261 
   12262  case ${host_alias} in
   12263   "") host_noncanonical=${build_noncanonical} ;;
   12264   *) host_noncanonical=${host_alias} ;;
   12265 esac
   12266 
   12267  case ${target_alias} in
   12268   "") target_noncanonical=${host_noncanonical} ;;
   12269   *) target_noncanonical=${target_alias} ;;
   12270 esac
   12271 
   12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libbfd" >&5
   12273 $as_echo_n "checking whether to install libbfd... " >&6; }
   12274   # Check whether --enable-install-libbfd was given.
   12275 if test "${enable_install_libbfd+set}" = set; then :
   12276   enableval=$enable_install_libbfd; install_libbfd_p=$enableval
   12277 else
   12278   if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
   12279         install_libbfd_p=yes
   12280       else
   12281         install_libbfd_p=no
   12282       fi
   12283 fi
   12284 
   12285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_libbfd_p" >&5
   12286 $as_echo "$install_libbfd_p" >&6; }
   12287    if test $install_libbfd_p = yes; then
   12288   INSTALL_LIBBFD_TRUE=
   12289   INSTALL_LIBBFD_FALSE='#'
   12290 else
   12291   INSTALL_LIBBFD_TRUE='#'
   12292   INSTALL_LIBBFD_FALSE=
   12293 fi
   12294 
   12295   # Need _noncanonical variables for this.
   12296 
   12297 
   12298 
   12299 
   12300   # libbfd.a is a host library containing target dependent code
   12301   bfdlibdir='$(libdir)'
   12302   bfdincludedir='$(includedir)'
   12303   if test "${host}" != "${target}"; then
   12304     bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
   12305     bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
   12306   fi
   12307 
   12308 
   12309 
   12310 
   12311 
   12312 
   12313 
   12314 
   12315 host64=false
   12316 target64=false
   12317 bfd_default_target_size=32
   12318 
   12319 # host stuff:
   12320 
   12321 ALL_LINGUAS="da es fi fr hr id ja ro ru rw sr sv tr uk vi zh_CN pt"
   12322 # If we haven't got the data from the intl directory,
   12323 # assume NLS is disabled.
   12324 USE_NLS=no
   12325 LIBINTL=
   12326 LIBINTL_DEP=
   12327 INCINTL=
   12328 XGETTEXT=
   12329 GMSGFMT=
   12330 POSUB=
   12331 
   12332 if test -f  ../intl/config.intl; then
   12333   .  ../intl/config.intl
   12334 fi
   12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   12336 $as_echo_n "checking whether NLS is requested... " >&6; }
   12337 if test x"$USE_NLS" != xyes; then
   12338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12339 $as_echo "no" >&6; }
   12340 else
   12341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12342 $as_echo "yes" >&6; }
   12343 
   12344 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   12345 
   12346 
   12347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
   12348 $as_echo_n "checking for catalogs to be installed... " >&6; }
   12349   # Look for .po and .gmo files in the source directory.
   12350   CATALOGS=
   12351   XLINGUAS=
   12352   for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
   12353     # If there aren't any .gmo files the shell will give us the
   12354     # literal string "../path/to/srcdir/po/*.gmo" which has to be
   12355     # weeded out.
   12356     case "$cat" in *\**)
   12357       continue;;
   12358     esac
   12359     # The quadruple backslash is collapsed to a double backslash
   12360     # by the backticks, then collapsed again by the double quotes,
   12361     # leaving us with one backslash in the sed expression (right
   12362     # before the dot that mustn't act as a wildcard).
   12363     cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
   12364     lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
   12365     # The user is allowed to set LINGUAS to a list of languages to
   12366     # install catalogs for.  If it's empty that means "all of them."
   12367     if test "x$LINGUAS" = x; then
   12368       CATALOGS="$CATALOGS $cat"
   12369       XLINGUAS="$XLINGUAS $lang"
   12370     else
   12371       case "$LINGUAS" in *$lang*)
   12372         CATALOGS="$CATALOGS $cat"
   12373         XLINGUAS="$XLINGUAS $lang"
   12374         ;;
   12375       esac
   12376     fi
   12377   done
   12378   LINGUAS="$XLINGUAS"
   12379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
   12380 $as_echo "$LINGUAS" >&6; }
   12381 
   12382 
   12383     DATADIRNAME=share
   12384 
   12385   INSTOBJEXT=.mo
   12386 
   12387   GENCAT=gencat
   12388 
   12389   CATOBJEXT=.gmo
   12390 
   12391 fi
   12392 
   12393         MKINSTALLDIRS=
   12394   if test -n "$ac_aux_dir"; then
   12395     case "$ac_aux_dir" in
   12396       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   12397       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   12398     esac
   12399   fi
   12400   if test -z "$MKINSTALLDIRS"; then
   12401     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   12402   fi
   12403 
   12404 
   12405 
   12406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   12407 $as_echo_n "checking whether NLS is requested... " >&6; }
   12408     # Check whether --enable-nls was given.
   12409 if test "${enable_nls+set}" = set; then :
   12410   enableval=$enable_nls; USE_NLS=$enableval
   12411 else
   12412   USE_NLS=yes
   12413 fi
   12414 
   12415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   12416 $as_echo "$USE_NLS" >&6; }
   12417 
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 # Prepare PATH_SEPARATOR.
   12424 # The user is always right.
   12425 if test "${PATH_SEPARATOR+set}" != set; then
   12426   echo "#! /bin/sh" >conf$$.sh
   12427   echo  "exit 0"   >>conf$$.sh
   12428   chmod +x conf$$.sh
   12429   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   12430     PATH_SEPARATOR=';'
   12431   else
   12432     PATH_SEPARATOR=:
   12433   fi
   12434   rm -f conf$$.sh
   12435 fi
   12436 
   12437 # Find out how to test for executable files. Don't use a zero-byte file,
   12438 # as systems may use methods other than mode bits to determine executability.
   12439 cat >conf$$.file <<_ASEOF
   12440 #! /bin/sh
   12441 exit 0
   12442 _ASEOF
   12443 chmod +x conf$$.file
   12444 if test -x conf$$.file >/dev/null 2>&1; then
   12445   ac_executable_p="test -x"
   12446 else
   12447   ac_executable_p="test -f"
   12448 fi
   12449 rm -f conf$$.file
   12450 
   12451 # Extract the first word of "msgfmt", so it can be a program name with args.
   12452 set dummy msgfmt; ac_word=$2
   12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12454 $as_echo_n "checking for $ac_word... " >&6; }
   12455 if ${ac_cv_path_MSGFMT+:} false; then :
   12456   $as_echo_n "(cached) " >&6
   12457 else
   12458   case "$MSGFMT" in
   12459   [\\/]* | ?:[\\/]*)
   12460     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   12461     ;;
   12462   *)
   12463     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   12464     for ac_dir in $PATH; do
   12465       IFS="$ac_save_IFS"
   12466       test -z "$ac_dir" && ac_dir=.
   12467       for ac_exec_ext in '' $ac_executable_extensions; do
   12468         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   12469           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   12470      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   12471             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   12472             break 2
   12473           fi
   12474         fi
   12475       done
   12476     done
   12477     IFS="$ac_save_IFS"
   12478   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   12479     ;;
   12480 esac
   12481 fi
   12482 MSGFMT="$ac_cv_path_MSGFMT"
   12483 if test "$MSGFMT" != ":"; then
   12484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   12485 $as_echo "$MSGFMT" >&6; }
   12486 else
   12487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12488 $as_echo "no" >&6; }
   12489 fi
   12490 
   12491   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   12492 set dummy gmsgfmt; ac_word=$2
   12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12494 $as_echo_n "checking for $ac_word... " >&6; }
   12495 if ${ac_cv_path_GMSGFMT+:} false; then :
   12496   $as_echo_n "(cached) " >&6
   12497 else
   12498   case $GMSGFMT in
   12499   [\\/]* | ?:[\\/]*)
   12500   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   12501   ;;
   12502   *)
   12503   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12504 for as_dir in $PATH
   12505 do
   12506   IFS=$as_save_IFS
   12507   test -z "$as_dir" && as_dir=.
   12508     for ac_exec_ext in '' $ac_executable_extensions; do
   12509   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12510     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   12511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12512     break 2
   12513   fi
   12514 done
   12515   done
   12516 IFS=$as_save_IFS
   12517 
   12518   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   12519   ;;
   12520 esac
   12521 fi
   12522 GMSGFMT=$ac_cv_path_GMSGFMT
   12523 if test -n "$GMSGFMT"; then
   12524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   12525 $as_echo "$GMSGFMT" >&6; }
   12526 else
   12527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12528 $as_echo "no" >&6; }
   12529 fi
   12530 
   12531 
   12532 
   12533 
   12534 # Prepare PATH_SEPARATOR.
   12535 # The user is always right.
   12536 if test "${PATH_SEPARATOR+set}" != set; then
   12537   echo "#! /bin/sh" >conf$$.sh
   12538   echo  "exit 0"   >>conf$$.sh
   12539   chmod +x conf$$.sh
   12540   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   12541     PATH_SEPARATOR=';'
   12542   else
   12543     PATH_SEPARATOR=:
   12544   fi
   12545   rm -f conf$$.sh
   12546 fi
   12547 
   12548 # Find out how to test for executable files. Don't use a zero-byte file,
   12549 # as systems may use methods other than mode bits to determine executability.
   12550 cat >conf$$.file <<_ASEOF
   12551 #! /bin/sh
   12552 exit 0
   12553 _ASEOF
   12554 chmod +x conf$$.file
   12555 if test -x conf$$.file >/dev/null 2>&1; then
   12556   ac_executable_p="test -x"
   12557 else
   12558   ac_executable_p="test -f"
   12559 fi
   12560 rm -f conf$$.file
   12561 
   12562 # Extract the first word of "xgettext", so it can be a program name with args.
   12563 set dummy xgettext; ac_word=$2
   12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12565 $as_echo_n "checking for $ac_word... " >&6; }
   12566 if ${ac_cv_path_XGETTEXT+:} false; then :
   12567   $as_echo_n "(cached) " >&6
   12568 else
   12569   case "$XGETTEXT" in
   12570   [\\/]* | ?:[\\/]*)
   12571     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   12572     ;;
   12573   *)
   12574     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   12575     for ac_dir in $PATH; do
   12576       IFS="$ac_save_IFS"
   12577       test -z "$ac_dir" && ac_dir=.
   12578       for ac_exec_ext in '' $ac_executable_extensions; do
   12579         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   12580           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   12581      (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
   12582             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   12583             break 2
   12584           fi
   12585         fi
   12586       done
   12587     done
   12588     IFS="$ac_save_IFS"
   12589   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   12590     ;;
   12591 esac
   12592 fi
   12593 XGETTEXT="$ac_cv_path_XGETTEXT"
   12594 if test "$XGETTEXT" != ":"; then
   12595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   12596 $as_echo "$XGETTEXT" >&6; }
   12597 else
   12598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12599 $as_echo "no" >&6; }
   12600 fi
   12601 
   12602     rm -f messages.po
   12603 
   12604 
   12605 # Prepare PATH_SEPARATOR.
   12606 # The user is always right.
   12607 if test "${PATH_SEPARATOR+set}" != set; then
   12608   echo "#! /bin/sh" >conf$$.sh
   12609   echo  "exit 0"   >>conf$$.sh
   12610   chmod +x conf$$.sh
   12611   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   12612     PATH_SEPARATOR=';'
   12613   else
   12614     PATH_SEPARATOR=:
   12615   fi
   12616   rm -f conf$$.sh
   12617 fi
   12618 
   12619 # Find out how to test for executable files. Don't use a zero-byte file,
   12620 # as systems may use methods other than mode bits to determine executability.
   12621 cat >conf$$.file <<_ASEOF
   12622 #! /bin/sh
   12623 exit 0
   12624 _ASEOF
   12625 chmod +x conf$$.file
   12626 if test -x conf$$.file >/dev/null 2>&1; then
   12627   ac_executable_p="test -x"
   12628 else
   12629   ac_executable_p="test -f"
   12630 fi
   12631 rm -f conf$$.file
   12632 
   12633 # Extract the first word of "msgmerge", so it can be a program name with args.
   12634 set dummy msgmerge; ac_word=$2
   12635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12636 $as_echo_n "checking for $ac_word... " >&6; }
   12637 if ${ac_cv_path_MSGMERGE+:} false; then :
   12638   $as_echo_n "(cached) " >&6
   12639 else
   12640   case "$MSGMERGE" in
   12641   [\\/]* | ?:[\\/]*)
   12642     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   12643     ;;
   12644   *)
   12645     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   12646     for ac_dir in $PATH; do
   12647       IFS="$ac_save_IFS"
   12648       test -z "$ac_dir" && ac_dir=.
   12649       for ac_exec_ext in '' $ac_executable_extensions; do
   12650         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   12651           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   12652             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   12653             break 2
   12654           fi
   12655         fi
   12656       done
   12657     done
   12658     IFS="$ac_save_IFS"
   12659   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   12660     ;;
   12661 esac
   12662 fi
   12663 MSGMERGE="$ac_cv_path_MSGMERGE"
   12664 if test "$MSGMERGE" != ":"; then
   12665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   12666 $as_echo "$MSGMERGE" >&6; }
   12667 else
   12668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12669 $as_echo "no" >&6; }
   12670 fi
   12671 
   12672 
   12673       if test "$GMSGFMT" != ":"; then
   12674             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   12675        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   12676       : ;
   12677     else
   12678       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   12679       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   12680 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
   12681       GMSGFMT=":"
   12682     fi
   12683   fi
   12684 
   12685       if test "$XGETTEXT" != ":"; then
   12686             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   12687        (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
   12688       : ;
   12689     else
   12690       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
   12691 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
   12692       XGETTEXT=":"
   12693     fi
   12694         rm -f messages.po
   12695   fi
   12696 
   12697   ac_config_commands="$ac_config_commands default-1"
   12698 
   12699 
   12700 
   12701 # Permit host specific settings.
   12702 . ${srcdir}/configure.host
   12703 
   12704 
   12705 
   12706 
   12707 # The cast to long int works around a bug in the HP C Compiler
   12708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   12709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   12710 # This bug is HP SR number 8606223364.
   12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
   12712 $as_echo_n "checking size of long long... " >&6; }
   12713 if ${ac_cv_sizeof_long_long+:} false; then :
   12714   $as_echo_n "(cached) " >&6
   12715 else
   12716   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
   12717 
   12718 else
   12719   if test "$ac_cv_type_long_long" = yes; then
   12720      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12722 as_fn_error 77 "cannot compute sizeof (long long)
   12723 See \`config.log' for more details" "$LINENO" 5; }
   12724    else
   12725      ac_cv_sizeof_long_long=0
   12726    fi
   12727 fi
   12728 
   12729 fi
   12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
   12731 $as_echo "$ac_cv_sizeof_long_long" >&6; }
   12732 
   12733 
   12734 
   12735 cat >>confdefs.h <<_ACEOF
   12736 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
   12737 _ACEOF
   12738 
   12739 
   12740 # The cast to long int works around a bug in the HP C Compiler
   12741 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   12742 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   12743 # This bug is HP SR number 8606223364.
   12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   12745 $as_echo_n "checking size of void *... " >&6; }
   12746 if ${ac_cv_sizeof_void_p+:} false; then :
   12747   $as_echo_n "(cached) " >&6
   12748 else
   12749   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   12750 
   12751 else
   12752   if test "$ac_cv_type_void_p" = yes; then
   12753      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12755 as_fn_error 77 "cannot compute sizeof (void *)
   12756 See \`config.log' for more details" "$LINENO" 5; }
   12757    else
   12758      ac_cv_sizeof_void_p=0
   12759    fi
   12760 fi
   12761 
   12762 fi
   12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   12764 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   12765 
   12766 
   12767 
   12768 cat >>confdefs.h <<_ACEOF
   12769 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   12770 _ACEOF
   12771 
   12772 
   12773 # The cast to long int works around a bug in the HP C Compiler
   12774 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   12775 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   12776 # This bug is HP SR number 8606223364.
   12777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   12778 $as_echo_n "checking size of long... " >&6; }
   12779 if ${ac_cv_sizeof_long+:} false; then :
   12780   $as_echo_n "(cached) " >&6
   12781 else
   12782   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   12783 
   12784 else
   12785   if test "$ac_cv_type_long" = yes; then
   12786      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12788 as_fn_error 77 "cannot compute sizeof (long)
   12789 See \`config.log' for more details" "$LINENO" 5; }
   12790    else
   12791      ac_cv_sizeof_long=0
   12792    fi
   12793 fi
   12794 
   12795 fi
   12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   12797 $as_echo "$ac_cv_sizeof_long" >&6; }
   12798 
   12799 
   12800 
   12801 cat >>confdefs.h <<_ACEOF
   12802 #define SIZEOF_LONG $ac_cv_sizeof_long
   12803 _ACEOF
   12804 
   12805 
   12806 # The cast to long int works around a bug in the HP C Compiler
   12807 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   12808 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   12809 # This bug is HP SR number 8606223364.
   12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   12811 $as_echo_n "checking size of int... " >&6; }
   12812 if ${ac_cv_sizeof_int+:} false; then :
   12813   $as_echo_n "(cached) " >&6
   12814 else
   12815   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   12816 
   12817 else
   12818   if test "$ac_cv_type_int" = yes; then
   12819      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12821 as_fn_error 77 "cannot compute sizeof (int)
   12822 See \`config.log' for more details" "$LINENO" 5; }
   12823    else
   12824      ac_cv_sizeof_int=0
   12825    fi
   12826 fi
   12827 
   12828 fi
   12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   12830 $as_echo "$ac_cv_sizeof_int" >&6; }
   12831 
   12832 
   12833 
   12834 cat >>confdefs.h <<_ACEOF
   12835 #define SIZEOF_INT $ac_cv_sizeof_int
   12836 _ACEOF
   12837 
   12838 
   12839 
   12840 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
   12841   host64=true
   12842 fi
   12843 
   12844 # Put a plausible default for CC_FOR_BUILD in Makefile.
   12845 if test -z "$CC_FOR_BUILD"; then
   12846   if test "x$cross_compiling" = "xno"; then
   12847     CC_FOR_BUILD='$(CC)'
   12848   else
   12849     CC_FOR_BUILD=gcc
   12850   fi
   12851 fi
   12852 
   12853 # Also set EXEEXT_FOR_BUILD.
   12854 if test "x$cross_compiling" = "xno"; then
   12855   EXEEXT_FOR_BUILD='$(EXEEXT)'
   12856 else
   12857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
   12858 $as_echo_n "checking for build system executable suffix... " >&6; }
   12859 if ${bfd_cv_build_exeext+:} false; then :
   12860   $as_echo_n "(cached) " >&6
   12861 else
   12862   rm -f conftest*
   12863      echo 'int main () { return 0; }' > conftest.c
   12864      bfd_cv_build_exeext=
   12865      ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
   12866      for file in conftest.*; do
   12867        case $file in
   12868        *.c | *.o | *.obj | *.ilk | *.pdb) ;;
   12869        *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
   12870        esac
   12871      done
   12872      rm -f conftest*
   12873      test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
   12874 fi
   12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
   12876 $as_echo "$bfd_cv_build_exeext" >&6; }
   12877   EXEEXT_FOR_BUILD=""
   12878   test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
   12879 fi
   12880 
   12881 
   12882 for ac_header in fcntl.h sys/file.h sys/resource.h sys/stat.h sys/types.h \
   12883 		 unistd.h
   12884 do :
   12885   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   12886 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   12887 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   12888   cat >>confdefs.h <<_ACEOF
   12889 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   12890 _ACEOF
   12891 
   12892 fi
   12893 
   12894 done
   12895 
   12896 
   12897 for ac_func in fcntl fdopen fileno fls getgid getpagesize getrlimit getuid \
   12898 	       sysconf
   12899 do :
   12900   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   12901 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   12902 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   12903   cat >>confdefs.h <<_ACEOF
   12904 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   12905 _ACEOF
   12906 
   12907 fi
   12908 done
   12909 
   12910 
   12911 ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
   12912 if test "x$ac_cv_have_decl_basename" = xyes; then :
   12913   ac_have_decl=1
   12914 else
   12915   ac_have_decl=0
   12916 fi
   12917 
   12918 cat >>confdefs.h <<_ACEOF
   12919 #define HAVE_DECL_BASENAME $ac_have_decl
   12920 _ACEOF
   12921 ac_fn_c_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
   12922 if test "x$ac_cv_have_decl_ffs" = xyes; then :
   12923   ac_have_decl=1
   12924 else
   12925   ac_have_decl=0
   12926 fi
   12927 
   12928 cat >>confdefs.h <<_ACEOF
   12929 #define HAVE_DECL_FFS $ac_have_decl
   12930 _ACEOF
   12931 ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
   12932 if test "x$ac_cv_have_decl_stpcpy" = xyes; then :
   12933   ac_have_decl=1
   12934 else
   12935   ac_have_decl=0
   12936 fi
   12937 
   12938 cat >>confdefs.h <<_ACEOF
   12939 #define HAVE_DECL_STPCPY $ac_have_decl
   12940 _ACEOF
   12941 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
   12942 if test "x$ac_cv_have_decl_asprintf" = xyes; then :
   12943   ac_have_decl=1
   12944 else
   12945   ac_have_decl=0
   12946 fi
   12947 
   12948 cat >>confdefs.h <<_ACEOF
   12949 #define HAVE_DECL_ASPRINTF $ac_have_decl
   12950 _ACEOF
   12951 ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
   12952 if test "x$ac_cv_have_decl_vasprintf" = xyes; then :
   12953   ac_have_decl=1
   12954 else
   12955   ac_have_decl=0
   12956 fi
   12957 
   12958 cat >>confdefs.h <<_ACEOF
   12959 #define HAVE_DECL_VASPRINTF $ac_have_decl
   12960 _ACEOF
   12961 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
   12962 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
   12963   ac_have_decl=1
   12964 else
   12965   ac_have_decl=0
   12966 fi
   12967 
   12968 cat >>confdefs.h <<_ACEOF
   12969 #define HAVE_DECL_STRNLEN $ac_have_decl
   12970 _ACEOF
   12971 
   12972 
   12973 
   12974 case "${host}" in
   12975 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
   12976 
   12977 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
   12978  ;;
   12979 esac
   12980 
   12981 # Link in zlib if we can.  This allows us to read compressed debug sections.
   12982 # This is used only by compress.c.
   12983 
   12984   # Use the system's zlib library.
   12985   zlibdir="-L\$(top_builddir)/../zlib"
   12986   zlibinc="-I\$(top_srcdir)/../zlib"
   12987 
   12988 # Check whether --with-system-zlib was given.
   12989 if test "${with_system_zlib+set}" = set; then :
   12990   withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
   12991     zlibdir=
   12992     zlibinc=
   12993   fi
   12994 
   12995 fi
   12996 
   12997 
   12998 
   12999 
   13000 
   13001 save_CFLAGS="$CFLAGS"
   13002 CFLAGS="$CFLAGS -Werror"
   13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler support for hidden visibility" >&5
   13004 $as_echo_n "checking compiler support for hidden visibility... " >&6; }
   13005 if ${bfd_cv_hidden+:} false; then :
   13006   $as_echo_n "(cached) " >&6
   13007 else
   13008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13009 /* end confdefs.h.  */
   13010 
   13011 const char hw[] __attribute__ ((__visibility__ ("hidden"))) = "Hello, World\n";
   13012 extern void print (const char *) __attribute__ ((__visibility__ ("hidden")));
   13013 int
   13014 main ()
   13015 {
   13016 print (hw);
   13017   ;
   13018   return 0;
   13019 }
   13020 _ACEOF
   13021 if ac_fn_c_try_compile "$LINENO"; then :
   13022   bfd_cv_hidden=yes
   13023 else
   13024   bfd_cv_hidden=no
   13025 fi
   13026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13027 fi
   13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_hidden" >&5
   13029 $as_echo "$bfd_cv_hidden" >&6; }
   13030 CFLAGS="$save_CFLAGS"
   13031 if test $bfd_cv_hidden = yes; then
   13032 
   13033 $as_echo "#define HAVE_HIDDEN 1" >>confdefs.h
   13034 
   13035 fi
   13036 
   13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking printf int64_t format" >&5
   13038 $as_echo_n "checking printf int64_t format... " >&6; }
   13039 if ${bfd_cv_int64_fmt+:} false; then :
   13040   $as_echo_n "(cached) " >&6
   13041 else
   13042   for style in I64 ll l; do
   13043     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13044 /* end confdefs.h.  */
   13045 
   13046        #define __STDC_FORMAT_MACROS 1
   13047        #include <stdio.h>
   13048        #include <inttypes.h>
   13049        extern char PRId64_probe[sizeof PRId64 == sizeof "${style}d" ? 1 : -1];
   13050 
   13051 int
   13052 main ()
   13053 {
   13054 
   13055   ;
   13056   return 0;
   13057 }
   13058 _ACEOF
   13059 if ac_fn_c_try_compile "$LINENO"; then :
   13060   bfd_cv_int64_fmt=${style}
   13061 fi
   13062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13063   done
   13064 fi
   13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_int64_fmt" >&5
   13066 $as_echo "$bfd_cv_int64_fmt" >&6; }
   13067 BFD_INT64_FMT=\"$bfd_cv_int64_fmt\"
   13068 
   13069 
   13070 # Check if linker supports --as-needed and --no-as-needed options
   13071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
   13072 $as_echo_n "checking linker --as-needed support... " >&6; }
   13073 if ${bfd_cv_ld_as_needed+:} false; then :
   13074   $as_echo_n "(cached) " >&6
   13075 else
   13076   bfd_cv_ld_as_needed=no
   13077 	if $LD --help 2>/dev/null | grep as-needed > /dev/null; then
   13078 		bfd_cv_ld_as_needed=yes
   13079 	fi
   13080 
   13081 fi
   13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
   13083 $as_echo "$bfd_cv_ld_as_needed" >&6; }
   13084 
   13085 LIBM=
   13086 case $host in
   13087 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
   13088   # These system don't have libm, or don't need it
   13089   ;;
   13090 *-ncr-sysv4.3*)
   13091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
   13092 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
   13093 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
   13094   $as_echo_n "(cached) " >&6
   13095 else
   13096   ac_check_lib_save_LIBS=$LIBS
   13097 LIBS="-lmw  $LIBS"
   13098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13099 /* end confdefs.h.  */
   13100 
   13101 /* Override any GCC internal prototype to avoid an error.
   13102    Use char because int might match the return type of a GCC
   13103    builtin and then its argument prototype would still apply.  */
   13104 #ifdef __cplusplus
   13105 extern "C"
   13106 #endif
   13107 char _mwvalidcheckl ();
   13108 int
   13109 main ()
   13110 {
   13111 return _mwvalidcheckl ();
   13112   ;
   13113   return 0;
   13114 }
   13115 _ACEOF
   13116 if ac_fn_c_try_link "$LINENO"; then :
   13117   ac_cv_lib_mw__mwvalidcheckl=yes
   13118 else
   13119   ac_cv_lib_mw__mwvalidcheckl=no
   13120 fi
   13121 rm -f core conftest.err conftest.$ac_objext \
   13122     conftest$ac_exeext conftest.$ac_ext
   13123 LIBS=$ac_check_lib_save_LIBS
   13124 fi
   13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
   13126 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
   13127 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
   13128   LIBM="-lmw"
   13129 fi
   13130 
   13131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
   13132 $as_echo_n "checking for cos in -lm... " >&6; }
   13133 if ${ac_cv_lib_m_cos+:} false; then :
   13134   $as_echo_n "(cached) " >&6
   13135 else
   13136   ac_check_lib_save_LIBS=$LIBS
   13137 LIBS="-lm  $LIBS"
   13138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13139 /* end confdefs.h.  */
   13140 
   13141 /* Override any GCC internal prototype to avoid an error.
   13142    Use char because int might match the return type of a GCC
   13143    builtin and then its argument prototype would still apply.  */
   13144 #ifdef __cplusplus
   13145 extern "C"
   13146 #endif
   13147 char cos ();
   13148 int
   13149 main ()
   13150 {
   13151 return cos ();
   13152   ;
   13153   return 0;
   13154 }
   13155 _ACEOF
   13156 if ac_fn_c_try_link "$LINENO"; then :
   13157   ac_cv_lib_m_cos=yes
   13158 else
   13159   ac_cv_lib_m_cos=no
   13160 fi
   13161 rm -f core conftest.err conftest.$ac_objext \
   13162     conftest$ac_exeext conftest.$ac_ext
   13163 LIBS=$ac_check_lib_save_LIBS
   13164 fi
   13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
   13166 $as_echo "$ac_cv_lib_m_cos" >&6; }
   13167 if test "x$ac_cv_lib_m_cos" = xyes; then :
   13168   LIBM="$LIBM -lm"
   13169 fi
   13170 
   13171   ;;
   13172 *)
   13173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
   13174 $as_echo_n "checking for cos in -lm... " >&6; }
   13175 if ${ac_cv_lib_m_cos+:} false; then :
   13176   $as_echo_n "(cached) " >&6
   13177 else
   13178   ac_check_lib_save_LIBS=$LIBS
   13179 LIBS="-lm  $LIBS"
   13180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13181 /* end confdefs.h.  */
   13182 
   13183 /* Override any GCC internal prototype to avoid an error.
   13184    Use char because int might match the return type of a GCC
   13185    builtin and then its argument prototype would still apply.  */
   13186 #ifdef __cplusplus
   13187 extern "C"
   13188 #endif
   13189 char cos ();
   13190 int
   13191 main ()
   13192 {
   13193 return cos ();
   13194   ;
   13195   return 0;
   13196 }
   13197 _ACEOF
   13198 if ac_fn_c_try_link "$LINENO"; then :
   13199   ac_cv_lib_m_cos=yes
   13200 else
   13201   ac_cv_lib_m_cos=no
   13202 fi
   13203 rm -f core conftest.err conftest.$ac_objext \
   13204     conftest$ac_exeext conftest.$ac_ext
   13205 LIBS=$ac_check_lib_save_LIBS
   13206 fi
   13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
   13208 $as_echo "$ac_cv_lib_m_cos" >&6; }
   13209 if test "x$ac_cv_lib_m_cos" = xyes; then :
   13210   LIBM="-lm"
   13211 fi
   13212 
   13213   ;;
   13214 esac
   13215 
   13216 
   13217 
   13218 # When building a shared libbfd, link against the pic version of libiberty
   13219 # so that apps that use libbfd won't need libiberty just to satisfy any
   13220 # libbfd references.
   13221 # We can't do that if a pic libiberty is unavailable since including non-pic
   13222 # code would insert text relocations into libbfd.
   13223 SHARED_LIBADD=
   13224 SHARED_LDFLAGS=
   13225 if test "$enable_shared" = "yes"; then
   13226   x=`sed -n -e 's/^[ 	]*PICFLAG[ 	]*=[ 	]*//p' < ../libiberty/Makefile | sed -n '$p'`
   13227   if test -n "$x"; then
   13228     SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
   13229   fi
   13230 fi
   13231 
   13232 SHARED_LIBADD="$SHARED_LIBADD $LIBINTL"
   13233 
   13234 if test "$enable_shared" = "yes"; then
   13235   case "${host}" in
   13236   # More hacks to build DLLs on Windows.
   13237   *-*-cygwin*)
   13238     SHARED_LDFLAGS="-no-undefined"
   13239     SHARED_LIBADD="-L`pwd`/../libiberty -liberty $SHARED_LIBADD -lcygwin -lkernel32"
   13240   ;;
   13241   esac
   13242 
   13243   if test -n "$SHARED_LIBADD"; then
   13244     if test -n "$LIBM"; then
   13245       if test x"$bfd_cv_ld_as_needed" = xyes; then
   13246 	# Link against libm only when needed.  Put -lc, -lm inside -Wl
   13247 	# to stop libtool reordering these options.
   13248 	SHARED_LIBADD="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
   13249       else
   13250 	SHARED_LIBADD="$SHARED_LIBADD $LIBM"
   13251       fi
   13252     fi
   13253   fi
   13254 fi
   13255 
   13256 
   13257 
   13258 # target stuff:
   13259 
   13260 # Canonicalize the secondary target names.
   13261 if test -n "$enable_targets" ; then
   13262     for targ in `echo $enable_targets | sed 's/,/ /g'`
   13263     do
   13264 	result=`$ac_config_sub $targ 2>/dev/null`
   13265 	if test -n "$result" ; then
   13266 	    canon_targets="$canon_targets $result"
   13267 	else
   13268 	    # Allow targets that config.sub doesn't recognize, like "all".
   13269 	    canon_targets="$canon_targets $targ"
   13270 	fi
   13271     done
   13272 fi
   13273 
   13274 all_targets=false
   13275 defvec=
   13276 selvecs=
   13277 assocvecs=
   13278 selarchs=
   13279 TDEFINES=
   13280 for targ in $target $canon_targets
   13281 do
   13282     if test $targ = all; then
   13283         all_targets=true
   13284 	assocvecs="$assocvecs $targ_defvec $targ_selvecs"
   13285     elif test $targ != plugin; then
   13286 	. $srcdir/config.bfd
   13287 	if test $targ = $target; then
   13288 	    defvec=$targ_defvec
   13289 	fi
   13290 	selvecs="$selvecs $targ_defvec $targ_selvecs"
   13291 	selarchs="$selarchs $targ_archs"
   13292 	TDEFINES="$TDEFINES $targ_cflags"
   13293     fi
   13294 done
   13295 
   13296 
   13297 # This processing still needs to be done if we're to decide properly whether
   13298 # 64-bit support needs to be compiled in.  Currently, it will be included if
   13299 # the default or any other explicitly requested target requires it; it
   13300 # will not be included on a 32-bit host if no 64-bit target is requested, and
   13301 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
   13302 # used.
   13303 
   13304 # uniq the default and selected vectors in all the configured targets.
   13305 f=""
   13306 for i in $selvecs ; do
   13307     case " $f " in
   13308     *" $i "*) ;;
   13309     *) f="$f $i" ;;
   13310     esac
   13311 done
   13312 selvecs="$f"
   13313 
   13314 
   13315 # uniq the associated vectors in all the configured targets.
   13316 f=""
   13317 for i in $assocvecs ; do
   13318     case " $f " in
   13319     *" $i "*) ;;
   13320     *) f="$f $i" ;;
   13321     esac
   13322 done
   13323 assocvecs="$f"
   13324 
   13325 
   13326 # uniq the architectures in all the configured targets.
   13327 f=""
   13328 for i in $selarchs ; do
   13329     case " $f " in
   13330     *" $i "*) ;;
   13331     *) f="$f $i" ;;
   13332     esac
   13333 done
   13334 selarchs="$f"
   13335 
   13336 # Target backend .o files.
   13337 tb=
   13338 
   13339 elf="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo
   13340      dwarf1.lo dwarf2.lo"
   13341 coffgen="coffgen.lo dwarf2.lo"
   13342 coff="cofflink.lo $coffgen"
   13343 ecoff="ecofflink.lo $coffgen"
   13344 xcoff="xcofflink.lo $coffgen"
   13345 
   13346 elfxx_x86="elfxx-x86.lo elf-ifunc.lo elf-vxworks.lo"
   13347 for vec in $selvecs
   13348 do
   13349     target_size=32
   13350     case "$vec" in
   13351     # This list is alphabetized to make it easy to compare
   13352     # with the two vector lists in targets.c.  For the same reason,
   13353     # use one entry per line, even though this leads to long lines.
   13354     aarch64_elf32_be_vec)	 tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
   13355     aarch64_elf32_le_vec)	 tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
   13356     aarch64_elf64_be_vec)	   tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   13357     aarch64_elf64_be_cloudabi_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   13358     aarch64_elf64_le_vec)	   tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   13359     aarch64_elf64_le_cloudabi_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   13360     aarch64_mach_o_vec)		 tb="$tb mach-o-aarch64.lo"; target_size=64 ;;
   13361     aarch64_pei_vec)		 tb="$tb pei-aarch64.lo pe-aarch64igen.lo $coff"; target_size=64 ;;
   13362     alpha_ecoff_le_vec)		 tb="$tb coff-alpha.lo ecoff.lo $ecoff"; target_size=64 ;;
   13363     alpha_elf64_vec)		 tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
   13364     alpha_elf64_fbsd_vec)	 tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
   13365     alpha_vms_vec)		 tb="$tb vms-alpha.lo vms-misc.lo vms-lib.lo"; target_size=64 ;;
   13366     alpha_vms_lib_txt_vec)	 tb="$tb vms-lib.lo vms-misc.lo" ;;
   13367     am33_elf32_linux_vec)	 tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
   13368     amdgcn_elf64_le_vec)	 tb="$tb elf64-amdgcn.lo elf64.lo $elf"; target_size=64 ;;
   13369     aout0_be_vec)		 tb="$tb aout0.lo aout32.lo" ;;
   13370     aout64_vec)			 tb="$tb demo64.lo aout64.lo"; target_size=64 ;;
   13371     aout_vec)			 tb="$tb host-aout.lo aout32.lo" ;;
   13372     arc_elf32_be_vec)		 tb="$tb elf32-arc.lo elf32.lo $elf" ;;
   13373     arc_elf32_le_vec)		 tb="$tb elf32-arc.lo elf32.lo $elf" ;;
   13374     arm_elf32_be_vec)		 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   13375     arm_elf32_le_vec)		 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   13376     arm_elf32_fdpic_be_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   13377     arm_elf32_fdpic_le_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   13378     arm_elf32_nacl_be_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   13379     arm_elf32_nacl_le_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   13380     arm_elf32_vxworks_be_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   13381     arm_elf32_vxworks_le_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   13382     arm_pe_be_vec)		 tb="$tb pe-arm.lo peigen.lo $coff" ;;
   13383     arm_pe_le_vec)		 tb="$tb pe-arm.lo peigen.lo $coff" ;;
   13384     arm_pe_wince_be_vec)	 tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo $coff" ;;
   13385     arm_pe_wince_le_vec)	 tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo $coff" ;;
   13386     arm_pei_be_vec)		 tb="$tb pei-arm.lo peigen.lo $coff" ;;
   13387     arm_pei_le_vec)		 tb="$tb pei-arm.lo peigen.lo $coff" ;;
   13388     arm_pei_wince_be_vec)	 tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo $coff" ;;
   13389     arm_pei_wince_le_vec)	 tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo $coff" ;;
   13390     arm_mach_o_vec)		 tb="$tb mach-o-arm.lo" ;;
   13391     avr_elf32_vec)		 tb="$tb elf32-avr.lo elf32.lo $elf" ;;
   13392     bfin_elf32_vec)		 tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
   13393     bfin_elf32_fdpic_vec)	 tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
   13394     cr16_elf32_vec)		 tb="$tb elf32-cr16.lo elf32.lo $elf" ;;
   13395     cris_aout_vec)		 tb="$tb aout-cris.lo" ;;
   13396     cris_elf32_vec)		 tb="$tb elf32-cris.lo elf32.lo $elf" ;;
   13397     cris_elf32_us_vec)		 tb="$tb elf32-cris.lo elf32.lo $elf" ;;
   13398     crx_elf32_vec)		 tb="$tb elf32-crx.lo elf32.lo $elf" ;;
   13399     csky_elf32_be_vec)		 tb="$tb elf32-csky.lo elf32.lo $elf" ;;
   13400     csky_elf32_le_vec)		 tb="$tb elf32-csky.lo elf32.lo $elf" ;;
   13401     d10v_elf32_vec)		 tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
   13402     d30v_elf32_vec)		 tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
   13403     dlx_elf32_be_vec)		 tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
   13404     elf32_be_vec)		 tb="$tb elf32-gen.lo elf32.lo $elf" ;;
   13405     elf32_le_vec)		 tb="$tb elf32-gen.lo elf32.lo $elf" ;;
   13406     elf64_be_vec)		 tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
   13407     elf64_le_vec)		 tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
   13408     bpf_elf64_le_vec)		 tb="$tb elf64-bpf.lo elf64.lo $elf"; target_size=64;;
   13409     bpf_elf64_be_vec)		 tb="$tb elf64-bpf.lo elf64.lo $elf"; target_size=64 ;;
   13410     epiphany_elf32_vec)		 tb="$tb elf32-epiphany.lo elf32.lo $elf" ;;
   13411     fr30_elf32_vec)		 tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
   13412     frv_elf32_vec)		 tb="$tb elf32-frv.lo elf32.lo $elf" ;;
   13413     frv_elf32_fdpic_vec)	 tb="$tb elf32-frv.lo elf32.lo $elf" ;;
   13414     h8300_elf32_vec)		 tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
   13415     h8300_elf32_linux_vec)	 tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
   13416     hppa_elf32_vec)		 tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
   13417     hppa_elf32_linux_vec)	 tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
   13418     hppa_elf32_nbsd_vec)	 tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
   13419     hppa_elf64_vec)		 tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
   13420     hppa_elf64_linux_vec)	 tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
   13421     hppa_som_vec)		 tb="$tb som.lo" ;;
   13422     i386_aout_vec)		 tb="$tb i386aout.lo aout32.lo" ;;
   13423     i386_aout_bsd_vec)		 tb="$tb i386bsd.lo aout32.lo" ;;
   13424     i386_aout_lynx_vec)		 tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
   13425     i386_aout_nbsd_vec)		 tb="$tb i386netbsd.lo aout32.lo" ;;
   13426     i386_coff_vec)		 tb="$tb coff-i386.lo $coff" ;;
   13427     i386_coff_go32_vec)		 tb="$tb coff-go32.lo $coff" ;;
   13428     i386_coff_go32stubbed_vec)	 tb="$tb coff-stgo32.lo $coff" ;;
   13429     i386_coff_lynx_vec)		 tb="$tb cf-i386lynx.lo lynx-core.lo $coff" ;;
   13430     i386_elf32_vec)		 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   13431     i386_elf32_fbsd_vec)	 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   13432     i386_elf32_sol2_vec)	 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   13433     i386_elf32_vxworks_vec)	 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   13434     i386_mach_o_vec)		 tb="$tb mach-o-i386.lo" ;;
   13435     i386_msdos_vec)		 tb="$tb i386msdos.lo" ;;
   13436     i386_pe_vec)		 tb="$tb pe-i386.lo peigen.lo $coff" ;;
   13437     i386_pe_big_vec)		 tb="$tb pe-i386.lo peigen.lo $coff" ;;
   13438     i386_pei_vec)		 tb="$tb pei-i386.lo peigen.lo $coff" ;;
   13439     iamcu_elf32_vec)		 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   13440     ia64_elf32_be_vec)		 tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
   13441     ia64_elf32_hpux_be_vec)	 tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
   13442     ia64_elf64_be_vec)		 tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
   13443     ia64_elf64_le_vec)		 tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
   13444     ia64_elf64_hpux_be_vec)	 tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
   13445     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 ;;
   13446     ia64_pei_vec)		 tb="$tb pei-ia64.lo pepigen.lo $coff"; target_size=64 ;;
   13447     ip2k_elf32_vec)		 tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
   13448     iq2000_elf32_vec)		 tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
   13449     lm32_elf32_vec)		 tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
   13450     lm32_elf32_fdpic_vec)	 tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
   13451     loongarch_elf32_vec)	 tb="$tb elf32-loongarch.lo elfxx-loongarch.lo elf32.lo elf-ifunc.lo $elf" ;;
   13452     loongarch_elf64_vec)	 tb="$tb elf64-loongarch.lo elf64.lo elfxx-loongarch.lo elf32.lo elf-ifunc.lo $elf"; target_size=64 ;;
   13453     m32c_elf32_vec)		 tb="$tb elf32-m32c.lo elf32.lo $elf" ;;
   13454     m32r_elf32_vec)		 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   13455     m32r_elf32_le_vec)		 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   13456     m32r_elf32_linux_vec)	 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   13457     m32r_elf32_linux_le_vec)	 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   13458     m68hc11_elf32_vec)		 tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
   13459     m68hc12_elf32_vec)		 tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
   13460     m68k_elf32_vec)		 tb="$tb elf32-m68k.lo elf32.lo $elf" ;;
   13461     s12z_elf32_vec)		 tb="$tb elf32-s12z.lo elf32.lo $elf" ;;
   13462     mach_o_be_vec)		 tb="$tb mach-o.lo dwarf2.lo" ;;
   13463     mach_o_le_vec)		 tb="$tb mach-o.lo dwarf2.lo" ;;
   13464     mach_o_fat_vec)		 tb="$tb mach-o.lo dwarf2.lo" ;;
   13465     mcore_elf32_be_vec)		 tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
   13466     mcore_elf32_le_vec)		 tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
   13467     mcore_pe_be_vec)		 tb="$tb pe-mcore.lo peigen.lo $coff" ;;
   13468     mcore_pe_le_vec)		 tb="$tb pe-mcore.lo peigen.lo $coff" ;;
   13469     mcore_pei_be_vec)		 tb="$tb pei-mcore.lo peigen.lo $coff" ;;
   13470     mcore_pei_le_vec)		 tb="$tb pei-mcore.lo peigen.lo $coff" ;;
   13471     mep_elf32_vec)		 tb="$tb elf32-mep.lo elf32.lo $elf" ;;
   13472     mep_elf32_le_vec)		 tb="$tb elf32-mep.lo elf32.lo $elf" ;;
   13473     metag_elf32_vec)		 tb="$tb elf32-metag.lo elf32.lo $elf" ;;
   13474     microblaze_elf32_vec)	 tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
   13475     microblaze_elf32_le_vec)	 tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
   13476     mips_ecoff_be_vec)		 tb="$tb coff-mips.lo ecoff.lo $ecoff" ;;
   13477     mips_ecoff_le_vec)		 tb="$tb coff-mips.lo ecoff.lo $ecoff" ;;
   13478     mips_ecoff_bele_vec)	 tb="$tb coff-mips.lo ecoff.lo $ecoff" ;;
   13479     mips_elf32_be_vec)		 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   13480     mips_elf32_le_vec)		 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   13481     mips_elf32_n_be_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   13482     mips_elf32_n_le_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   13483     mips_elf32_ntrad_be_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; ;;
   13484     mips_elf32_ntrad_le_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; ;;
   13485     mips_elf32_ntradfbsd_be_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   13486     mips_elf32_ntradfbsd_le_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   13487     mips_elf32_trad_be_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   13488     mips_elf32_trad_le_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   13489     mips_elf32_tradfbsd_be_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   13490     mips_elf32_tradfbsd_le_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   13491     mips_elf32_vxworks_be_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   13492     mips_elf32_vxworks_le_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   13493     mips_elf64_be_vec)		 tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   13494     mips_elf64_le_vec)		 tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   13495     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 ;;
   13496     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 ;;
   13497     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 ;;
   13498     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 ;;
   13499     mmix_elf64_vec)		 tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
   13500     mmix_mmo_vec)			 tb="$tb mmo.lo" target_size=64 ;;
   13501     mn10200_elf32_vec)		 tb="$tb elf-m10200.lo elf32.lo $elf" ;;
   13502     mn10300_elf32_vec)		 tb="$tb elf-m10300.lo elf32.lo $elf" ;;
   13503     moxie_elf32_be_vec)		 tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
   13504     moxie_elf32_le_vec)		 tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
   13505     msp430_elf32_vec)		 tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
   13506     msp430_elf32_ti_vec)	 tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
   13507     mt_elf32_vec)		 tb="$tb elf32-mt.lo elf32.lo $elf" ;;
   13508     nds32_elf32_be_vec)		 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   13509     nds32_elf32_le_vec)		 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   13510     nds32_elf32_linux_be_vec)	 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   13511     nds32_elf32_linux_le_vec)	 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   13512     nfp_elf64_vec)		 tb="$tb elf64-nfp.lo elf64.lo $elf" ;;
   13513     nios2_elf32_be_vec)		 tb="$tb elf32-nios2.lo elf32.lo $elf" ;;
   13514     nios2_elf32_le_vec)		 tb="$tb elf32-nios2.lo elf32.lo $elf" ;;
   13515     ns32k_aout_pc532mach_vec)	 tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
   13516     ns32k_aout_pc532nbsd_vec)	 tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
   13517     or1k_elf32_vec)		 tb="$tb elf32-or1k.lo elf32.lo $elf" ;;
   13518     pdp11_aout_vec)		 tb="$tb pdp11.lo" ;;
   13519     pef_vec)			 tb="$tb pef.lo" ;;
   13520     pef_xlib_vec)		 tb="$tb pef.lo" ;;
   13521     pj_elf32_vec)		 tb="$tb elf32-pj.lo elf32.lo $elf" ;;
   13522     pj_elf32_le_vec)		 tb="$tb elf32-pj.lo elf32.lo $elf" ;;
   13523     powerpc_boot_vec)		 tb="$tb ppcboot.lo" ;;
   13524     powerpc_elf32_vec)		 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   13525     powerpc_elf32_le_vec)	 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   13526     powerpc_elf32_fbsd_vec)	 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   13527     powerpc_elf32_vxworks_vec)	 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   13528     powerpc_elf64_vec)		 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
   13529     powerpc_elf64_le_vec)	 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
   13530     powerpc_elf64_fbsd_vec)	 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
   13531     powerpc_elf64_fbsd_le_vec)	 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
   13532     powerpc_xcoff_vec)		 tb="$tb coff-rs6000.lo $xcoff" ;;
   13533     pru_elf32_vec)		 tb="$tb elf32-pru.lo elf32.lo $elf" ;;
   13534     riscv_elf32_vec)		 tb="$tb elf32-riscv.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf" ;;
   13535     riscv_elf64_vec)		 tb="$tb elf64-riscv.lo elf64.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
   13536     riscv_elf32_be_vec)		 tb="$tb elf32-riscv.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf" ;;
   13537     riscv_elf64_be_vec)		 tb="$tb elf64-riscv.lo elf64.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
   13538     rl78_elf32_vec)		 tb="$tb elf32-rl78.lo elf32.lo $elf" ;;
   13539     rs6000_xcoff64_vec)		 tb="$tb coff64-rs6000.lo aix5ppc-core.lo $xcoff"; target_size=64 ;;
   13540     rs6000_xcoff64_aix_vec)	 tb="$tb coff64-rs6000.lo aix5ppc-core.lo $xcoff"; target_size=64 ;;
   13541     rs6000_xcoff_vec)		 tb="$tb coff-rs6000.lo $xcoff" ;;
   13542     rx_elf32_be_vec)		 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   13543     rx_elf32_be_ns_vec)		 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   13544     rx_elf32_le_vec)		 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   13545     rx_elf32_linux_le_vec)	 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   13546     s390_elf32_vec)		 tb="$tb elf32-s390.lo elf32.lo $elf" ;;
   13547     s390_elf64_vec)		 tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;;
   13548     score_elf32_be_vec)		 tb="$tb elf32-score.lo elf32-score7.lo elf32.lo elf64.lo $elf"; want64=true; target_size=64 ;;
   13549     score_elf32_le_vec)		 tb="$tb elf32-score.lo elf32-score7.lo elf32.lo elf64.lo $elf"; want64=true; target_size=64 ;;
   13550     sh_coff_vec)		 tb="$tb coff-sh.lo $coff" ;;
   13551     sh_coff_le_vec)		 tb="$tb coff-sh.lo $coff" ;;
   13552     sh_coff_small_vec)		 tb="$tb coff-sh.lo $coff" ;;
   13553     sh_coff_small_le_vec)	 tb="$tb coff-sh.lo $coff" ;;
   13554     sh_elf32_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   13555     sh_elf32_le_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   13556     sh_elf32_fdpic_be_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   13557     sh_elf32_fdpic_le_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   13558     sh_elf32_linux_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   13559     sh_elf32_linux_be_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   13560     sh_elf32_nbsd_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   13561     sh_elf32_nbsd_le_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   13562     sh_elf32_vxworks_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   13563     sh_elf32_vxworks_le_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   13564     sh_pe_le_vec)		 tb="$tb pe-sh.lo coff-sh.lo peigen.lo $coff" ;;
   13565     sh_pei_le_vec)		 tb="$tb pei-sh.lo coff-sh.lo peigen.lo $coff" ;;
   13566     sparc_elf32_vec)		 tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
   13567     sparc_elf32_sol2_vec)	 tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
   13568     sparc_elf32_vxworks_vec)	 tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
   13569     sparc_elf64_vec)		 tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
   13570     sparc_elf64_fbsd_vec)	 tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
   13571     sparc_elf64_sol2_vec)	 tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
   13572     spu_elf32_vec)		 tb="$tb elf32-spu.lo elf32.lo $elf" ;;
   13573     sym_vec)			 tb="$tb xsym.lo" ;;
   13574     tic30_coff_vec)		 tb="$tb coff-tic30.lo $coffgen" ;;
   13575     tic4x_coff0_vec)		 tb="$tb coff-tic4x.lo $coffgen" ;;
   13576     tic4x_coff0_beh_vec)	 tb="$tb coff-tic4x.lo $coffgen" ;;
   13577     tic4x_coff1_vec)		 tb="$tb coff-tic4x.lo $coffgen" ;;
   13578     tic4x_coff1_beh_vec)	 tb="$tb coff-tic4x.lo $coffgen" ;;
   13579     tic4x_coff2_vec)		 tb="$tb coff-tic4x.lo $coffgen" ;;
   13580     tic4x_coff2_beh_vec)	 tb="$tb coff-tic4x.lo $coffgen" ;;
   13581     tic54x_coff0_vec)		 tb="$tb coff-tic54x.lo $coffgen" ;;
   13582     tic54x_coff0_beh_vec)	 tb="$tb coff-tic54x.lo $coffgen" ;;
   13583     tic54x_coff1_vec)		 tb="$tb coff-tic54x.lo $coffgen" ;;
   13584     tic54x_coff1_beh_vec)	 tb="$tb coff-tic54x.lo $coffgen" ;;
   13585     tic54x_coff2_vec)		 tb="$tb coff-tic54x.lo $coffgen" ;;
   13586     tic54x_coff2_beh_vec)	 tb="$tb coff-tic54x.lo $coffgen" ;;
   13587     tic6x_elf32_be_vec)		 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   13588     tic6x_elf32_le_vec)		 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   13589     tic6x_elf32_c6000_be_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   13590     tic6x_elf32_c6000_le_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   13591     tic6x_elf32_linux_be_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   13592     tic6x_elf32_linux_le_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   13593     tilegx_elf32_be_vec)	 tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
   13594     tilegx_elf32_le_vec)	 tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
   13595     tilegx_elf64_be_vec)	 tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
   13596     tilegx_elf64_le_vec)	 tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
   13597     tilepro_elf32_vec)		 tb="$tb elf32-tilepro.lo elf32.lo $elf" ;;
   13598     v800_elf32_vec)		 tb="$tb elf32-v850.lo elf32.lo $elf" ;;
   13599     v850_elf32_vec)		 tb="$tb elf32-v850.lo elf32.lo $elf" ;;
   13600     vax_aout_1knbsd_vec)	 tb="$tb vax1knetbsd.lo aout32.lo" ;;
   13601     vax_aout_nbsd_vec)		 tb="$tb vaxnetbsd.lo aout32.lo" ;;
   13602     vax_elf32_vec)		 tb="$tb elf32-vax.lo elf32.lo $elf" ;;
   13603     ft32_elf32_vec)		 tb="$tb elf32-ft32.lo elf32.lo $elf" ;;
   13604     visium_elf32_vec)		 tb="$tb elf32-visium.lo elf32.lo $elf" ;;
   13605     wasm_vec)                    tb="$tb wasm-module.lo" ;;
   13606     wasm32_elf32_vec)            tb="$tb elf32-wasm32.lo elf32.lo $elf" ;;
   13607     x86_64_coff_vec)		 tb="$tb coff-x86_64.lo $coff"; target_size=64 ;;
   13608     x86_64_elf32_vec)		 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo elf32.lo $elf"; target_size=64 ;;
   13609     x86_64_elf64_vec)		 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   13610     x86_64_elf64_cloudabi_vec)	 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   13611     x86_64_elf64_fbsd_vec)	 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   13612     x86_64_elf64_sol2_vec)	 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   13613     x86_64_mach_o_vec)		 tb="$tb mach-o-x86-64.lo" ;;
   13614     x86_64_pe_vec)		 tb="$tb pe-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
   13615     x86_64_pe_big_vec)		 tb="$tb pe-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
   13616     x86_64_pei_vec)		 tb="$tb pei-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
   13617     xgate_elf32_vec)		 tb="$tb elf32-xgate.lo elf32.lo $elf" ;;
   13618     xstormy16_elf32_vec)	 tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
   13619     xtensa_elf32_be_vec)	 tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
   13620     xtensa_elf32_le_vec)	 tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
   13621     z80_coff_vec)		 tb="$tb coff-z80.lo reloc16.lo $coffgen" ;;
   13622     z80_elf32_vec)		 tb="$tb elf32-z80.lo elf32.lo $elf" ;;
   13623     z8k_coff_vec)		 tb="$tb coff-z8k.lo reloc16.lo $coff" ;;
   13624 
   13625     # These appear out of order in targets.c
   13626     srec_vec)			 tb="$tb srec.lo" ;;
   13627     symbolsrec_vec)		 tb="$tb srec.lo" ;;
   13628     tekhex_vec)			 tb="$tb tekhex.lo" ;;
   13629     core_cisco_be_vec)		 tb="$tb cisco-core.lo" ;;
   13630     core_cisco_le_vec)		 tb="$tb cisco-core.lo" ;;
   13631 
   13632     "")				 ;;
   13633     *) as_fn_error $? "*** unknown target vector $vec" "$LINENO" 5 ;;
   13634     esac
   13635 
   13636     if test ${target_size} = 64; then
   13637 	target64=true
   13638     fi
   13639     if test x"${vec}" = x"${defvec}"; then
   13640 	bfd_default_target_size=${target_size}
   13641     fi
   13642 done
   13643 
   13644 if test "$plugins" = "yes"; then
   13645      tb="$tb plugin.lo"
   13646 fi
   13647 
   13648 # Target architecture .o files.
   13649 # A couple of CPUs use shorter file names to avoid problems on DOS
   13650 # filesystems.
   13651 ta=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
   13652 
   13653 # Weed out duplicate .o files.
   13654 f=""
   13655 for i in $tb ; do
   13656     case " $f " in
   13657     *" $i "*) ;;
   13658     *) f="$f $i" ;;
   13659     esac
   13660 done
   13661 tb="$f"
   13662 
   13663 f=""
   13664 for i in $ta ; do
   13665     case " $f " in
   13666     *" $i "*) ;;
   13667     *) f="$f $i" ;;
   13668     esac
   13669 done
   13670 ta="$f"
   13671 
   13672 bfd_backends="$tb"
   13673 bfd_machines="$ta"
   13674 
   13675 if test x${all_targets} = xtrue ; then
   13676   bfd_backends="${bfd_backends}"' $(ALL_BACKENDS)'
   13677   bfd_machines="${bfd_machines}"' $(ALL_MACHINES)'
   13678   selvecs=
   13679   havevecs=-DHAVE_all_vecs
   13680   selarchs=
   13681   test -n "$assocvecs" &&
   13682     assocvecs=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
   13683 else	# all_targets is true
   13684   # Only set these if they will be nonempty, for the clever echo.
   13685   havevecs=
   13686   assocvecs=
   13687   test -n "$selvecs" &&
   13688     havevecs=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
   13689   test -n "$selvecs" &&
   13690     selvecs=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
   13691   test -n "$selarchs" &&
   13692     selarchs=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
   13693 fi	# all_targets is true
   13694 
   13695 # 64-bit archives need a 64-bit bfd_vma.
   13696 if test "x$want_64_bit_archive" = xtrue; then
   13697   want64=true
   13698 
   13699 $as_echo "#define USE_64_BIT_ARCHIVE 1" >>confdefs.h
   13700 
   13701 fi
   13702 
   13703 case ${host64}-${target64}-${want64} in
   13704   *true*)
   13705     wordsize=64
   13706     bfd64_libs='$(BFD64_LIBS)'
   13707     all_backends='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
   13708     if test -n "$GCC" ; then
   13709        bad_64bit_gcc=no;
   13710        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc version with buggy 64-bit support" >&5
   13711 $as_echo_n "checking for gcc version with buggy 64-bit support... " >&6; }
   13712        # Add more tests for gcc versions with non-working 64-bit support here.
   13713        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13714 /* end confdefs.h.  */
   13715 :__GNUC__:__GNUC_MINOR__:__i386__:
   13716 _ACEOF
   13717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13718   $EGREP ": 2 : 91 : 1 :" >/dev/null 2>&1; then :
   13719   bad_64bit_gcc=yes;
   13720 		    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes: egcs-1.1.2 on ix86 spotted" >&5
   13721 $as_echo "yes: egcs-1.1.2 on ix86 spotted" >&6; }
   13722 else
   13723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13724 $as_echo "no" >&6; }
   13725 fi
   13726 rm -f conftest*
   13727 
   13728        if test $bad_64bit_gcc = yes ; then
   13729 	 as_fn_error $? "A newer version of gcc is needed for the requested 64-bit BFD configuration" "$LINENO" 5
   13730        fi
   13731     fi
   13732     ;;
   13733   false-false-false)
   13734     wordsize=32
   13735     all_backends='$(BFD32_BACKENDS)'
   13736     ;;
   13737 esac
   13738 
   13739 tdefaults=""
   13740 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
   13741 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
   13742 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
   13743 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 
   13754 # If we are configured native, pick a core file support file.
   13755 COREFILE=
   13756 COREFLAG=
   13757 CORE_HEADER=
   13758 TRAD_HEADER=
   13759 if test "${target}" = "${host}"; then
   13760   case "${host}" in
   13761   alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu | alpha*-*-*vms*)
   13762 	COREFILE=''
   13763 	;;
   13764   alpha*-*-linux-*)
   13765 	COREFILE=trad-core.lo
   13766 	TRAD_HEADER='"hosts/alphalinux.h"'
   13767 	;;
   13768   alpha*-*-netbsd* | alpha*-*-openbsd*)
   13769 	COREFILE=netbsd-core.lo
   13770 	;;
   13771   alpha*-*-*)
   13772         COREFILE=osf-core.lo
   13773 	;;
   13774   arm-*-freebsd* | arm-*-kfreebsd*-gnu)
   13775 	COREFILE='' ;;
   13776   arm*-*-netbsd* | arm-*-openbsd*)
   13777 	COREFILE=netbsd-core.lo
   13778 	;;
   13779   arm-*-riscix)		COREFILE=trad-core.lo ;;
   13780   arm*-*-netbsd*)	COREFILE=netbsd-core.lo ;;
   13781   hppa*-*-hpux*)	COREFILE=hpux-core.lo ;;
   13782   hppa*-*-hiux*)	COREFILE=hpux-core.lo ;;
   13783   hppa*-*-mpeix*)	COREFILE=hpux-core.lo ;;
   13784   hppa*-*-bsd*)		COREFILE="hpux-core.lo hppabsd-core.lo"
   13785 			COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;;
   13786   hppa*-*-netbsd* | hppa*-*-openbsd*)
   13787 	COREFILE=netbsd-core.lo
   13788 	;;
   13789 
   13790   i[3-7]86-sequent-bsd*)
   13791 	COREFILE=trad-core.lo
   13792 	TRAD_HEADER='"hosts/symmetry.h"'
   13793 	;;
   13794   i[3-7]86-sequent-sysv4*) ;;
   13795   i[3-7]86-sequent-sysv*)
   13796 	COREFILE=trad-core.lo
   13797 	TRAD_HEADER='"hosts/symmetry.h"'
   13798 	;;
   13799   i[3-7]86-*-bsdi)
   13800 	COREFILE=
   13801 	;;
   13802   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*)
   13803 	COREFILE=trad-core.lo
   13804 	TRAD_HEADER='"hosts/i386bsd.h"'
   13805 	;;
   13806   i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu | i[3-7]86-*-dragonfly*)
   13807 	COREFILE=''
   13808 	TRAD_HEADER='"hosts/i386bsd.h"'
   13809 	;;
   13810   i[3-7]86-*-netbsd* | i[3-7]86-*-knetbsd*-gnu | i[3-7]86-*-openbsd*)
   13811 	COREFILE=netbsd-core.lo
   13812 	;;
   13813   i[3-7]86-esix-sysv3*)
   13814 	COREFILE=trad-core.lo
   13815 	TRAD_HEADER='"hosts/esix.h"'
   13816 	;;
   13817   i[3-7]86-*-sco3.2v5*)
   13818 	COREFILE=sco5-core.lo
   13819 	;;
   13820   i[3-7]86-*-sco* | i[3-7]86-*-isc*)
   13821 	COREFILE=trad-core.lo
   13822 	TRAD_HEADER='"hosts/i386sco.h"'
   13823 	;;
   13824   i[3-7]86-*-mach3*)
   13825 	COREFILE=trad-core.lo
   13826 	TRAD_HEADER='"hosts/i386mach3.h"'
   13827 	;;
   13828   i[3-7]86-*-linux-*)
   13829 	COREFILE=trad-core.lo
   13830 	TRAD_HEADER='"hosts/i386linux.h"'
   13831 	case "$enable_targets"-"$want64" in
   13832 	*x86_64-*linux*|*-true)
   13833 	  CORE_HEADER='"hosts/x86-64linux.h"'
   13834 	esac
   13835 	;;
   13836   i[3-7]86-*-isc*)	COREFILE=trad-core.lo ;;
   13837   i[3-7]86-*-aix*)	COREFILE=aix386-core.lo ;;
   13838   mips*-*-netbsd* | mips*-*-openbsd*)
   13839 	COREFILE=netbsd-core.lo
   13840 	;;
   13841   mips-sgi-irix4*)	COREFILE=irix-core.lo ;;
   13842   mips-sgi-irix5*)	COREFILE=irix-core.lo ;;
   13843   mips-sgi-irix6*)	COREFILE=irix-core.lo ;;
   13844   m68*-*-linux-*)
   13845 	COREFILE=trad-core.lo
   13846 	TRAD_HEADER='"hosts/m68klinux.h"'
   13847 	;;
   13848   m68*-*-netbsd*)
   13849 	COREFILE=netbsd-core.lo
   13850 	;;
   13851   ns32k-pc532-mach)
   13852 	COREFILE=trad-core.lo
   13853 	TRAD_HEADER='"hosts/pc532mach.h"'
   13854 	;;
   13855   ns32k-*-netbsd* | ns32k-*-openbsd*)
   13856 	COREFILE=netbsd-core.lo
   13857 	;;
   13858   rs6000-*-lynx*)
   13859 	COREFILE=lynx-core.lo
   13860 	;;
   13861   rs6000-*-aix[5-9].* | powerpc-*-aix[5-9].* | powerpc64-*-aix[5-9].*)
   13862         COREFILE=rs6000-core.lo
   13863 	COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
   13864 	;;
   13865   rs6000-*-aix4.[3-9]* | powerpc-*-aix4.[3-9]*)
   13866         COREFILE=rs6000-core.lo
   13867 	COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
   13868 	# Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
   13869 	# have c_impl as a member of struct core_dumpx
   13870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for c_impl in struct core_dumpx" >&5
   13871 $as_echo_n "checking for c_impl in struct core_dumpx... " >&6; }
   13872 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13873 /* end confdefs.h.  */
   13874 #include <core.h>
   13875 int
   13876 main ()
   13877 {
   13878 struct core_dumpx c; c.c_impl = 0;
   13879   ;
   13880   return 0;
   13881 }
   13882 _ACEOF
   13883 if ac_fn_c_try_compile "$LINENO"; then :
   13884 
   13885 $as_echo "#define HAVE_ST_C_IMPL 1" >>confdefs.h
   13886 
   13887 	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13888 $as_echo "yes" >&6; }
   13889 else
   13890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13891 $as_echo "no" >&6; }
   13892 fi
   13893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13894 	;;
   13895   rs6000-*-aix4*)	COREFILE=rs6000-core.lo ;;
   13896   rs6000-*-*)		COREFILE=rs6000-core.lo ;;
   13897   powerpc64-*-aix*)	COREFILE=rs6000-core.lo ;;
   13898   powerpc-*-aix4*)	COREFILE=rs6000-core.lo ;;
   13899   powerpc-*-aix*)	COREFILE=rs6000-core.lo ;;
   13900   powerpc-*-beos*)	;;
   13901   powerpc-*-freebsd* | powerpc-*-kfreebsd*-gnu)
   13902 		        COREFILE='' ;;
   13903   powerpc-*-netbsd*)	COREFILE=netbsd-core.lo ;;
   13904   powerpc-*-*bsd*)	COREFILE=netbsd-core.lo ;;
   13905   s390*-*-*)            COREFILE=trad-core.lo ;;
   13906   sh*-*-netbsd* | sh*-*-openbsd*)
   13907 	COREFILE=netbsd-core.lo
   13908 	;;
   13909   sparc-*-netbsd* | sparc*-*-openbsd*)
   13910 	COREFILE=netbsd-core.lo
   13911 	;;
   13912   vax-*-netbsd* | vax-*-openbsd*)
   13913 	COREFILE=netbsd-core.lo
   13914 	;;
   13915   vax-*-ultrix2*)
   13916 	COREFILE=trad-core.lo
   13917 	TRAD_HEADER='"hosts/vaxult2.h"'
   13918 	;;
   13919   vax-*-ultrix*)
   13920 	COREFILE=trad-core.lo
   13921 	TRAD_HEADER='"hosts/vaxult2.h"'
   13922 	;;
   13923   vax-*-linux-*)
   13924 	COREFILE=trad-core.lo
   13925 	TRAD_HEADER='"hosts/vaxlinux.h"'
   13926 	;;
   13927   vax-*-*)
   13928 	COREFILE=trad-core.lo
   13929 	TRAD_HEADER='"hosts/vaxbsd.h"'
   13930 	;;
   13931   x86_64-*-linux*)
   13932 	CORE_HEADER='"hosts/x86-64linux.h"'
   13933 	;;
   13934   x86_64-*-netbsd* | x86_64-*-openbsd*)
   13935 	COREFILE=netbsd-core.lo
   13936 	;;
   13937   esac
   13938 
   13939   case "$COREFILE" in
   13940   aix386-core.lo)	COREFLAG=-DAIX386_CORE ;;
   13941   hppabsd-core.lo)	COREFLAG=-DHPPABSD_CORE ;;
   13942   hpux-core.lo)		COREFLAG=-DHPUX_CORE ;;
   13943   irix-core.lo)		COREFLAG=-DIRIX_CORE ;;
   13944   lynx-core.lo)		COREFLAG=-DLYNX_CORE ;;
   13945   netbsd-core.lo)	COREFLAG=-DNETBSD_CORE ;;
   13946   osf-core.lo)		COREFLAG=-DOSF_CORE ;;
   13947   ptrace-core.lo)	COREFLAG=-DPTRACE_CORE ;;
   13948   rs6000-core.lo)	COREFLAG="$COREFLAG -DAIX_CORE" ;;
   13949   sco5-core.lo)		COREFLAG="$COREFLAG -DSCO5_CORE" ;;
   13950   trad-core.lo)		COREFLAG="$COREFLAG -DTRAD_CORE" ;;
   13951   esac
   13952 
   13953   # ELF corefile support has several flavors, but all of
   13954   # them use something called <sys/procfs.h>
   13955 
   13956 $as_echo "#define _STRUCTURED_PROC 1" >>confdefs.h
   13957 
   13958  for ac_header in sys/procfs.h
   13959 do :
   13960   ac_fn_c_check_header_mongrel "$LINENO" "sys/procfs.h" "ac_cv_header_sys_procfs_h" "$ac_includes_default"
   13961 if test "x$ac_cv_header_sys_procfs_h" = xyes; then :
   13962   cat >>confdefs.h <<_ACEOF
   13963 #define HAVE_SYS_PROCFS_H 1
   13964 _ACEOF
   13965 
   13966 fi
   13967 
   13968 done
   13969 
   13970   if test "$ac_cv_header_sys_procfs_h" = yes; then
   13971 
   13972  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus_t in sys/procfs.h" >&5
   13973 $as_echo_n "checking for prstatus_t in sys/procfs.h... " >&6; }
   13974  if ${bfd_cv_have_sys_procfs_type_prstatus_t+:} false; then :
   13975   $as_echo_n "(cached) " >&6
   13976 else
   13977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13978 /* end confdefs.h.  */
   13979 
   13980 #define _SYSCALL32
   13981 #include <sys/procfs.h>
   13982 int
   13983 main ()
   13984 {
   13985 prstatus_t avar
   13986   ;
   13987   return 0;
   13988 }
   13989 _ACEOF
   13990 if ac_fn_c_try_compile "$LINENO"; then :
   13991   bfd_cv_have_sys_procfs_type_prstatus_t=yes
   13992 else
   13993   bfd_cv_have_sys_procfs_type_prstatus_t=no
   13994 
   13995 fi
   13996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13997 fi
   13998 
   13999  if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
   14000 
   14001 $as_echo "#define HAVE_PRSTATUS_T 1" >>confdefs.h
   14002 
   14003  fi
   14004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
   14005 $as_echo "$bfd_cv_have_sys_procfs_type_prstatus_t" >&6; }
   14006 
   14007 
   14008  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus32_t in sys/procfs.h" >&5
   14009 $as_echo_n "checking for prstatus32_t in sys/procfs.h... " >&6; }
   14010  if ${bfd_cv_have_sys_procfs_type_prstatus32_t+:} false; then :
   14011   $as_echo_n "(cached) " >&6
   14012 else
   14013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14014 /* end confdefs.h.  */
   14015 
   14016 #define _SYSCALL32
   14017 #include <sys/procfs.h>
   14018 int
   14019 main ()
   14020 {
   14021 prstatus32_t avar
   14022   ;
   14023   return 0;
   14024 }
   14025 _ACEOF
   14026 if ac_fn_c_try_compile "$LINENO"; then :
   14027   bfd_cv_have_sys_procfs_type_prstatus32_t=yes
   14028 else
   14029   bfd_cv_have_sys_procfs_type_prstatus32_t=no
   14030 
   14031 fi
   14032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14033 fi
   14034 
   14035  if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
   14036 
   14037 $as_echo "#define HAVE_PRSTATUS32_T 1" >>confdefs.h
   14038 
   14039  fi
   14040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
   14041 $as_echo "$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6; }
   14042 
   14043 
   14044  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus_t.pr_who in sys/procfs.h" >&5
   14045 $as_echo_n "checking for prstatus_t.pr_who in sys/procfs.h... " >&6; }
   14046  if ${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+:} false; then :
   14047   $as_echo_n "(cached) " >&6
   14048 else
   14049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14050 /* end confdefs.h.  */
   14051 
   14052 #define _SYSCALL32
   14053 #include <sys/procfs.h>
   14054 int
   14055 main ()
   14056 {
   14057 prstatus_t avar; void* aref = (void*) &avar.pr_who
   14058   ;
   14059   return 0;
   14060 }
   14061 _ACEOF
   14062 if ac_fn_c_try_compile "$LINENO"; then :
   14063   bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
   14064 else
   14065   bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no
   14066 
   14067 fi
   14068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14069 fi
   14070 
   14071  if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
   14072 
   14073 $as_echo "#define HAVE_PRSTATUS_T_PR_WHO 1" >>confdefs.h
   14074 
   14075  fi
   14076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
   14077 $as_echo "$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6; }
   14078 
   14079 
   14080  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
   14081 $as_echo_n "checking for prstatus32_t.pr_who in sys/procfs.h... " >&6; }
   14082  if ${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+:} false; then :
   14083   $as_echo_n "(cached) " >&6
   14084 else
   14085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14086 /* end confdefs.h.  */
   14087 
   14088 #define _SYSCALL32
   14089 #include <sys/procfs.h>
   14090 int
   14091 main ()
   14092 {
   14093 prstatus32_t avar; void* aref = (void*) &avar.pr_who
   14094   ;
   14095   return 0;
   14096 }
   14097 _ACEOF
   14098 if ac_fn_c_try_compile "$LINENO"; then :
   14099   bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
   14100 else
   14101   bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no
   14102 
   14103 fi
   14104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14105 fi
   14106 
   14107  if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
   14108 
   14109 $as_echo "#define HAVE_PRSTATUS32_T_PR_WHO 1" >>confdefs.h
   14110 
   14111  fi
   14112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
   14113 $as_echo "$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6; }
   14114 
   14115 
   14116  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pstatus_t in sys/procfs.h" >&5
   14117 $as_echo_n "checking for pstatus_t in sys/procfs.h... " >&6; }
   14118  if ${bfd_cv_have_sys_procfs_type_pstatus_t+:} false; then :
   14119   $as_echo_n "(cached) " >&6
   14120 else
   14121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14122 /* end confdefs.h.  */
   14123 
   14124 #define _SYSCALL32
   14125 #include <sys/procfs.h>
   14126 int
   14127 main ()
   14128 {
   14129 pstatus_t avar
   14130   ;
   14131   return 0;
   14132 }
   14133 _ACEOF
   14134 if ac_fn_c_try_compile "$LINENO"; then :
   14135   bfd_cv_have_sys_procfs_type_pstatus_t=yes
   14136 else
   14137   bfd_cv_have_sys_procfs_type_pstatus_t=no
   14138 
   14139 fi
   14140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14141 fi
   14142 
   14143  if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
   14144 
   14145 $as_echo "#define HAVE_PSTATUS_T 1" >>confdefs.h
   14146 
   14147  fi
   14148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
   14149 $as_echo "$bfd_cv_have_sys_procfs_type_pstatus_t" >&6; }
   14150 
   14151 
   14152  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pxstatus_t in sys/procfs.h" >&5
   14153 $as_echo_n "checking for pxstatus_t in sys/procfs.h... " >&6; }
   14154  if ${bfd_cv_have_sys_procfs_type_pxstatus_t+:} false; then :
   14155   $as_echo_n "(cached) " >&6
   14156 else
   14157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14158 /* end confdefs.h.  */
   14159 
   14160 #define _SYSCALL32
   14161 #include <sys/procfs.h>
   14162 int
   14163 main ()
   14164 {
   14165 pxstatus_t avar
   14166   ;
   14167   return 0;
   14168 }
   14169 _ACEOF
   14170 if ac_fn_c_try_compile "$LINENO"; then :
   14171   bfd_cv_have_sys_procfs_type_pxstatus_t=yes
   14172 else
   14173   bfd_cv_have_sys_procfs_type_pxstatus_t=no
   14174 
   14175 fi
   14176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14177 fi
   14178 
   14179  if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
   14180 
   14181 $as_echo "#define HAVE_PXSTATUS_T 1" >>confdefs.h
   14182 
   14183  fi
   14184  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
   14185 $as_echo "$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6; }
   14186 
   14187 
   14188  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pstatus32_t in sys/procfs.h" >&5
   14189 $as_echo_n "checking for pstatus32_t in sys/procfs.h... " >&6; }
   14190  if ${bfd_cv_have_sys_procfs_type_pstatus32_t+:} false; then :
   14191   $as_echo_n "(cached) " >&6
   14192 else
   14193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14194 /* end confdefs.h.  */
   14195 
   14196 #define _SYSCALL32
   14197 #include <sys/procfs.h>
   14198 int
   14199 main ()
   14200 {
   14201 pstatus32_t avar
   14202   ;
   14203   return 0;
   14204 }
   14205 _ACEOF
   14206 if ac_fn_c_try_compile "$LINENO"; then :
   14207   bfd_cv_have_sys_procfs_type_pstatus32_t=yes
   14208 else
   14209   bfd_cv_have_sys_procfs_type_pstatus32_t=no
   14210 
   14211 fi
   14212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14213 fi
   14214 
   14215  if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
   14216 
   14217 $as_echo "#define HAVE_PSTATUS32_T 1" >>confdefs.h
   14218 
   14219  fi
   14220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
   14221 $as_echo "$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6; }
   14222 
   14223 
   14224  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo_t in sys/procfs.h" >&5
   14225 $as_echo_n "checking for prpsinfo_t in sys/procfs.h... " >&6; }
   14226  if ${bfd_cv_have_sys_procfs_type_prpsinfo_t+:} false; then :
   14227   $as_echo_n "(cached) " >&6
   14228 else
   14229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14230 /* end confdefs.h.  */
   14231 
   14232 #define _SYSCALL32
   14233 #include <sys/procfs.h>
   14234 int
   14235 main ()
   14236 {
   14237 prpsinfo_t avar
   14238   ;
   14239   return 0;
   14240 }
   14241 _ACEOF
   14242 if ac_fn_c_try_compile "$LINENO"; then :
   14243   bfd_cv_have_sys_procfs_type_prpsinfo_t=yes
   14244 else
   14245   bfd_cv_have_sys_procfs_type_prpsinfo_t=no
   14246 
   14247 fi
   14248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14249 fi
   14250 
   14251  if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
   14252 
   14253 $as_echo "#define HAVE_PRPSINFO_T 1" >>confdefs.h
   14254 
   14255  fi
   14256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
   14257 $as_echo "$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6; }
   14258 
   14259 
   14260  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo_t.pr_pid in sys/procfs.h" >&5
   14261 $as_echo_n "checking for prpsinfo_t.pr_pid in sys/procfs.h... " >&6; }
   14262  if ${bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid+:} false; then :
   14263   $as_echo_n "(cached) " >&6
   14264 else
   14265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14266 /* end confdefs.h.  */
   14267 
   14268 #define _SYSCALL32
   14269 #include <sys/procfs.h>
   14270 int
   14271 main ()
   14272 {
   14273 prpsinfo_t avar; void* aref = (void*) &avar.pr_pid
   14274   ;
   14275   return 0;
   14276 }
   14277 _ACEOF
   14278 if ac_fn_c_try_compile "$LINENO"; then :
   14279   bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid=yes
   14280 else
   14281   bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid=no
   14282 
   14283 fi
   14284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14285 fi
   14286 
   14287  if test $bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid = yes; then
   14288 
   14289 $as_echo "#define HAVE_PRPSINFO_T_PR_PID 1" >>confdefs.h
   14290 
   14291  fi
   14292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid" >&5
   14293 $as_echo "$bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid" >&6; }
   14294 
   14295 
   14296  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo32_t in sys/procfs.h" >&5
   14297 $as_echo_n "checking for prpsinfo32_t in sys/procfs.h... " >&6; }
   14298  if ${bfd_cv_have_sys_procfs_type_prpsinfo32_t+:} false; then :
   14299   $as_echo_n "(cached) " >&6
   14300 else
   14301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14302 /* end confdefs.h.  */
   14303 
   14304 #define _SYSCALL32
   14305 #include <sys/procfs.h>
   14306 int
   14307 main ()
   14308 {
   14309 prpsinfo32_t avar
   14310   ;
   14311   return 0;
   14312 }
   14313 _ACEOF
   14314 if ac_fn_c_try_compile "$LINENO"; then :
   14315   bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes
   14316 else
   14317   bfd_cv_have_sys_procfs_type_prpsinfo32_t=no
   14318 
   14319 fi
   14320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14321 fi
   14322 
   14323  if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
   14324 
   14325 $as_echo "#define HAVE_PRPSINFO32_T 1" >>confdefs.h
   14326 
   14327  fi
   14328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
   14329 $as_echo "$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6; }
   14330 
   14331 
   14332  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo32_t.pr_pid in sys/procfs.h" >&5
   14333 $as_echo_n "checking for prpsinfo32_t.pr_pid in sys/procfs.h... " >&6; }
   14334  if ${bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid+:} false; then :
   14335   $as_echo_n "(cached) " >&6
   14336 else
   14337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14338 /* end confdefs.h.  */
   14339 
   14340 #define _SYSCALL32
   14341 #include <sys/procfs.h>
   14342 int
   14343 main ()
   14344 {
   14345 prpsinfo32_t avar; void* aref = (void*) &avar.pr_pid
   14346   ;
   14347   return 0;
   14348 }
   14349 _ACEOF
   14350 if ac_fn_c_try_compile "$LINENO"; then :
   14351   bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid=yes
   14352 else
   14353   bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid=no
   14354 
   14355 fi
   14356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14357 fi
   14358 
   14359  if test $bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid = yes; then
   14360 
   14361 $as_echo "#define HAVE_PRPSINFO32_T_PR_PID 1" >>confdefs.h
   14362 
   14363  fi
   14364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid" >&5
   14365 $as_echo "$bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid" >&6; }
   14366 
   14367 
   14368  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo_t in sys/procfs.h" >&5
   14369 $as_echo_n "checking for psinfo_t in sys/procfs.h... " >&6; }
   14370  if ${bfd_cv_have_sys_procfs_type_psinfo_t+:} false; then :
   14371   $as_echo_n "(cached) " >&6
   14372 else
   14373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14374 /* end confdefs.h.  */
   14375 
   14376 #define _SYSCALL32
   14377 #include <sys/procfs.h>
   14378 int
   14379 main ()
   14380 {
   14381 psinfo_t avar
   14382   ;
   14383   return 0;
   14384 }
   14385 _ACEOF
   14386 if ac_fn_c_try_compile "$LINENO"; then :
   14387   bfd_cv_have_sys_procfs_type_psinfo_t=yes
   14388 else
   14389   bfd_cv_have_sys_procfs_type_psinfo_t=no
   14390 
   14391 fi
   14392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14393 fi
   14394 
   14395  if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
   14396 
   14397 $as_echo "#define HAVE_PSINFO_T 1" >>confdefs.h
   14398 
   14399  fi
   14400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
   14401 $as_echo "$bfd_cv_have_sys_procfs_type_psinfo_t" >&6; }
   14402 
   14403 
   14404  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo_t.pr_pid in sys/procfs.h" >&5
   14405 $as_echo_n "checking for psinfo_t.pr_pid in sys/procfs.h... " >&6; }
   14406  if ${bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid+:} false; then :
   14407   $as_echo_n "(cached) " >&6
   14408 else
   14409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14410 /* end confdefs.h.  */
   14411 
   14412 #define _SYSCALL32
   14413 #include <sys/procfs.h>
   14414 int
   14415 main ()
   14416 {
   14417 psinfo_t avar; void* aref = (void*) &avar.pr_pid
   14418   ;
   14419   return 0;
   14420 }
   14421 _ACEOF
   14422 if ac_fn_c_try_compile "$LINENO"; then :
   14423   bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid=yes
   14424 else
   14425   bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid=no
   14426 
   14427 fi
   14428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14429 fi
   14430 
   14431  if test $bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid = yes; then
   14432 
   14433 $as_echo "#define HAVE_PSINFO_T_PR_PID 1" >>confdefs.h
   14434 
   14435  fi
   14436  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid" >&5
   14437 $as_echo "$bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid" >&6; }
   14438 
   14439 
   14440  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo32_t in sys/procfs.h" >&5
   14441 $as_echo_n "checking for psinfo32_t in sys/procfs.h... " >&6; }
   14442  if ${bfd_cv_have_sys_procfs_type_psinfo32_t+:} false; then :
   14443   $as_echo_n "(cached) " >&6
   14444 else
   14445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14446 /* end confdefs.h.  */
   14447 
   14448 #define _SYSCALL32
   14449 #include <sys/procfs.h>
   14450 int
   14451 main ()
   14452 {
   14453 psinfo32_t avar
   14454   ;
   14455   return 0;
   14456 }
   14457 _ACEOF
   14458 if ac_fn_c_try_compile "$LINENO"; then :
   14459   bfd_cv_have_sys_procfs_type_psinfo32_t=yes
   14460 else
   14461   bfd_cv_have_sys_procfs_type_psinfo32_t=no
   14462 
   14463 fi
   14464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14465 fi
   14466 
   14467  if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
   14468 
   14469 $as_echo "#define HAVE_PSINFO32_T 1" >>confdefs.h
   14470 
   14471  fi
   14472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
   14473 $as_echo "$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6; }
   14474 
   14475 
   14476  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo32_t.pr_pid in sys/procfs.h" >&5
   14477 $as_echo_n "checking for psinfo32_t.pr_pid in sys/procfs.h... " >&6; }
   14478  if ${bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid+:} false; then :
   14479   $as_echo_n "(cached) " >&6
   14480 else
   14481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14482 /* end confdefs.h.  */
   14483 
   14484 #define _SYSCALL32
   14485 #include <sys/procfs.h>
   14486 int
   14487 main ()
   14488 {
   14489 psinfo32_t avar; void* aref = (void*) &avar.pr_pid
   14490   ;
   14491   return 0;
   14492 }
   14493 _ACEOF
   14494 if ac_fn_c_try_compile "$LINENO"; then :
   14495   bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid=yes
   14496 else
   14497   bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid=no
   14498 
   14499 fi
   14500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14501 fi
   14502 
   14503  if test $bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid = yes; then
   14504 
   14505 $as_echo "#define HAVE_PSINFO32_T_PR_PID 1" >>confdefs.h
   14506 
   14507  fi
   14508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid" >&5
   14509 $as_echo "$bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid" >&6; }
   14510 
   14511 
   14512  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t in sys/procfs.h" >&5
   14513 $as_echo_n "checking for lwpstatus_t in sys/procfs.h... " >&6; }
   14514  if ${bfd_cv_have_sys_procfs_type_lwpstatus_t+:} false; then :
   14515   $as_echo_n "(cached) " >&6
   14516 else
   14517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14518 /* end confdefs.h.  */
   14519 
   14520 #define _SYSCALL32
   14521 #include <sys/procfs.h>
   14522 int
   14523 main ()
   14524 {
   14525 lwpstatus_t avar
   14526   ;
   14527   return 0;
   14528 }
   14529 _ACEOF
   14530 if ac_fn_c_try_compile "$LINENO"; then :
   14531   bfd_cv_have_sys_procfs_type_lwpstatus_t=yes
   14532 else
   14533   bfd_cv_have_sys_procfs_type_lwpstatus_t=no
   14534 
   14535 fi
   14536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14537 fi
   14538 
   14539  if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
   14540 
   14541 $as_echo "#define HAVE_LWPSTATUS_T 1" >>confdefs.h
   14542 
   14543  fi
   14544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
   14545 $as_echo "$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6; }
   14546 
   14547 
   14548  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpxstatus_t in sys/procfs.h" >&5
   14549 $as_echo_n "checking for lwpxstatus_t in sys/procfs.h... " >&6; }
   14550  if ${bfd_cv_have_sys_procfs_type_lwpxstatus_t+:} false; then :
   14551   $as_echo_n "(cached) " >&6
   14552 else
   14553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14554 /* end confdefs.h.  */
   14555 
   14556 #define _SYSCALL32
   14557 #include <sys/procfs.h>
   14558 int
   14559 main ()
   14560 {
   14561 lwpxstatus_t avar
   14562   ;
   14563   return 0;
   14564 }
   14565 _ACEOF
   14566 if ac_fn_c_try_compile "$LINENO"; then :
   14567   bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes
   14568 else
   14569   bfd_cv_have_sys_procfs_type_lwpxstatus_t=no
   14570 
   14571 fi
   14572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14573 fi
   14574 
   14575  if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
   14576 
   14577 $as_echo "#define HAVE_LWPXSTATUS_T 1" >>confdefs.h
   14578 
   14579  fi
   14580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
   14581 $as_echo "$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6; }
   14582 
   14583 
   14584  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
   14585 $as_echo_n "checking for lwpstatus_t.pr_context in sys/procfs.h... " >&6; }
   14586  if ${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+:} false; then :
   14587   $as_echo_n "(cached) " >&6
   14588 else
   14589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14590 /* end confdefs.h.  */
   14591 
   14592 #define _SYSCALL32
   14593 #include <sys/procfs.h>
   14594 int
   14595 main ()
   14596 {
   14597 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
   14598   ;
   14599   return 0;
   14600 }
   14601 _ACEOF
   14602 if ac_fn_c_try_compile "$LINENO"; then :
   14603   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes
   14604 else
   14605   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no
   14606 
   14607 fi
   14608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14609 fi
   14610 
   14611  if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
   14612 
   14613 $as_echo "#define HAVE_LWPSTATUS_T_PR_CONTEXT 1" >>confdefs.h
   14614 
   14615  fi
   14616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
   14617 $as_echo "$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6; }
   14618 
   14619 
   14620  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
   14621 $as_echo_n "checking for lwpstatus_t.pr_reg in sys/procfs.h... " >&6; }
   14622  if ${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+:} false; then :
   14623   $as_echo_n "(cached) " >&6
   14624 else
   14625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14626 /* end confdefs.h.  */
   14627 
   14628 #define _SYSCALL32
   14629 #include <sys/procfs.h>
   14630 int
   14631 main ()
   14632 {
   14633 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
   14634   ;
   14635   return 0;
   14636 }
   14637 _ACEOF
   14638 if ac_fn_c_try_compile "$LINENO"; then :
   14639   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes
   14640 else
   14641   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no
   14642 
   14643 fi
   14644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14645 fi
   14646 
   14647  if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
   14648 
   14649 $as_echo "#define HAVE_LWPSTATUS_T_PR_REG 1" >>confdefs.h
   14650 
   14651  fi
   14652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
   14653 $as_echo "$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6; }
   14654 
   14655 
   14656  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t.pr_fpreg in sys/procfs.h" >&5
   14657 $as_echo_n "checking for lwpstatus_t.pr_fpreg in sys/procfs.h... " >&6; }
   14658  if ${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg+:} false; then :
   14659   $as_echo_n "(cached) " >&6
   14660 else
   14661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14662 /* end confdefs.h.  */
   14663 
   14664 #define _SYSCALL32
   14665 #include <sys/procfs.h>
   14666 int
   14667 main ()
   14668 {
   14669 lwpstatus_t avar; void* aref = (void*) &avar.pr_fpreg
   14670   ;
   14671   return 0;
   14672 }
   14673 _ACEOF
   14674 if ac_fn_c_try_compile "$LINENO"; then :
   14675   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg=yes
   14676 else
   14677   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg=no
   14678 
   14679 fi
   14680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14681 fi
   14682 
   14683  if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg = yes; then
   14684 
   14685 $as_echo "#define HAVE_LWPSTATUS_T_PR_FPREG 1" >>confdefs.h
   14686 
   14687  fi
   14688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg" >&5
   14689 $as_echo "$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg" >&6; }
   14690 
   14691 
   14692  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for win32_pstatus_t in sys/procfs.h" >&5
   14693 $as_echo_n "checking for win32_pstatus_t in sys/procfs.h... " >&6; }
   14694  if ${bfd_cv_have_sys_procfs_type_win32_pstatus_t+:} false; then :
   14695   $as_echo_n "(cached) " >&6
   14696 else
   14697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14698 /* end confdefs.h.  */
   14699 
   14700 #define _SYSCALL32
   14701 #include <sys/procfs.h>
   14702 int
   14703 main ()
   14704 {
   14705 win32_pstatus_t avar
   14706   ;
   14707   return 0;
   14708 }
   14709 _ACEOF
   14710 if ac_fn_c_try_compile "$LINENO"; then :
   14711   bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes
   14712 else
   14713   bfd_cv_have_sys_procfs_type_win32_pstatus_t=no
   14714 
   14715 fi
   14716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14717 fi
   14718 
   14719  if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
   14720 
   14721 $as_echo "#define HAVE_WIN32_PSTATUS_T 1" >>confdefs.h
   14722 
   14723  fi
   14724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
   14725 $as_echo "$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6; }
   14726 
   14727   fi
   14728 fi
   14729 
   14730 
   14731 if test -n "$CORE_HEADER"; then
   14732 
   14733 cat >>confdefs.h <<_ACEOF
   14734 #define CORE_HEADER $CORE_HEADER
   14735 _ACEOF
   14736 
   14737 fi
   14738 if test -n "$TRAD_HEADER"; then
   14739 
   14740 cat >>confdefs.h <<_ACEOF
   14741 #define TRAD_HEADER $TRAD_HEADER
   14742 _ACEOF
   14743 
   14744 fi
   14745 
   14746 if test "$plugins" = "yes"; then
   14747   supports_plugins=1
   14748 else
   14749   supports_plugins=0
   14750 fi
   14751 
   14752 
   14753 
   14754 # Determine the host dependent file_ptr a.k.a. off_t type.  In order
   14755 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
   14756 # fseeko, long.  This assumes that sizeof off_t is .ge. sizeof long.
   14757 # Hopefully a reasonable assumption since fseeko et.al. should be
   14758 # upward compatible.
   14759 for ac_func in ftello ftello64 fseeko fseeko64 fopen64
   14760 do :
   14761   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   14762 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   14763 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   14764   cat >>confdefs.h <<_ACEOF
   14765 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   14766 _ACEOF
   14767 
   14768 fi
   14769 done
   14770 
   14771 ac_fn_c_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default"
   14772 if test "x$ac_cv_have_decl_ftello" = xyes; then :
   14773   ac_have_decl=1
   14774 else
   14775   ac_have_decl=0
   14776 fi
   14777 
   14778 cat >>confdefs.h <<_ACEOF
   14779 #define HAVE_DECL_FTELLO $ac_have_decl
   14780 _ACEOF
   14781 ac_fn_c_check_decl "$LINENO" "ftello64" "ac_cv_have_decl_ftello64" "$ac_includes_default"
   14782 if test "x$ac_cv_have_decl_ftello64" = xyes; then :
   14783   ac_have_decl=1
   14784 else
   14785   ac_have_decl=0
   14786 fi
   14787 
   14788 cat >>confdefs.h <<_ACEOF
   14789 #define HAVE_DECL_FTELLO64 $ac_have_decl
   14790 _ACEOF
   14791 ac_fn_c_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "$ac_includes_default"
   14792 if test "x$ac_cv_have_decl_fseeko" = xyes; then :
   14793   ac_have_decl=1
   14794 else
   14795   ac_have_decl=0
   14796 fi
   14797 
   14798 cat >>confdefs.h <<_ACEOF
   14799 #define HAVE_DECL_FSEEKO $ac_have_decl
   14800 _ACEOF
   14801 ac_fn_c_check_decl "$LINENO" "fseeko64" "ac_cv_have_decl_fseeko64" "$ac_includes_default"
   14802 if test "x$ac_cv_have_decl_fseeko64" = xyes; then :
   14803   ac_have_decl=1
   14804 else
   14805   ac_have_decl=0
   14806 fi
   14807 
   14808 cat >>confdefs.h <<_ACEOF
   14809 #define HAVE_DECL_FSEEKO64 $ac_have_decl
   14810 _ACEOF
   14811 ac_fn_c_check_decl "$LINENO" "fopen64" "ac_cv_have_decl_fopen64" "$ac_includes_default"
   14812 if test "x$ac_cv_have_decl_fopen64" = xyes; then :
   14813   ac_have_decl=1
   14814 else
   14815   ac_have_decl=0
   14816 fi
   14817 
   14818 cat >>confdefs.h <<_ACEOF
   14819 #define HAVE_DECL_FOPEN64 $ac_have_decl
   14820 _ACEOF
   14821 
   14822 if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then
   14823     # The cast to long int works around a bug in the HP C Compiler
   14824 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14825 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14826 # This bug is HP SR number 8606223364.
   14827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
   14828 $as_echo_n "checking size of off_t... " >&6; }
   14829 if ${ac_cv_sizeof_off_t+:} false; then :
   14830   $as_echo_n "(cached) " >&6
   14831 else
   14832   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
   14833 
   14834 else
   14835   if test "$ac_cv_type_off_t" = yes; then
   14836      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14838 as_fn_error 77 "cannot compute sizeof (off_t)
   14839 See \`config.log' for more details" "$LINENO" 5; }
   14840    else
   14841      ac_cv_sizeof_off_t=0
   14842    fi
   14843 fi
   14844 
   14845 fi
   14846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
   14847 $as_echo "$ac_cv_sizeof_off_t" >&6; }
   14848 
   14849 
   14850 
   14851 cat >>confdefs.h <<_ACEOF
   14852 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
   14853 _ACEOF
   14854 
   14855 
   14856 fi
   14857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking file_ptr type" >&5
   14858 $as_echo_n "checking file_ptr type... " >&6; }
   14859 bfd_file_ptr="long"
   14860 bfd_ufile_ptr="unsigned long"
   14861 if test x"$ac_cv_func_ftello64" = xyes -a x"$ac_cv_func_fseeko64" = xyes \
   14862 	-o x"${ac_cv_sizeof_off_t}" = x8; then
   14863     bfd_file_ptr=int64_t
   14864     bfd_ufile_ptr=uint64_t
   14865 fi
   14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_file_ptr" >&5
   14867 $as_echo "$bfd_file_ptr" >&6; }
   14868 
   14869 
   14870 
   14871 
   14872 
   14873 
   14874   for ac_header in $ac_header_list
   14875 do :
   14876   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   14877 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   14878 "
   14879 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   14880   cat >>confdefs.h <<_ACEOF
   14881 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   14882 _ACEOF
   14883 
   14884 fi
   14885 
   14886 done
   14887 
   14888 
   14889 
   14890 
   14891 
   14892 
   14893 
   14894 
   14895 for ac_func in getpagesize
   14896 do :
   14897   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   14898 if test "x$ac_cv_func_getpagesize" = xyes; then :
   14899   cat >>confdefs.h <<_ACEOF
   14900 #define HAVE_GETPAGESIZE 1
   14901 _ACEOF
   14902 
   14903 fi
   14904 done
   14905 
   14906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   14907 $as_echo_n "checking for working mmap... " >&6; }
   14908 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
   14909   $as_echo_n "(cached) " >&6
   14910 else
   14911   if test "$cross_compiling" = yes; then :
   14912   ac_cv_func_mmap_fixed_mapped=no
   14913 else
   14914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14915 /* end confdefs.h.  */
   14916 $ac_includes_default
   14917 /* malloc might have been renamed as rpl_malloc. */
   14918 #undef malloc
   14919 
   14920 /* Thanks to Mike Haertel and Jim Avera for this test.
   14921    Here is a matrix of mmap possibilities:
   14922 	mmap private not fixed
   14923 	mmap private fixed at somewhere currently unmapped
   14924 	mmap private fixed at somewhere already mapped
   14925 	mmap shared not fixed
   14926 	mmap shared fixed at somewhere currently unmapped
   14927 	mmap shared fixed at somewhere already mapped
   14928    For private mappings, we should verify that changes cannot be read()
   14929    back from the file, nor mmap's back from the file at a different
   14930    address.  (There have been systems where private was not correctly
   14931    implemented like the infamous i386 svr4.0, and systems where the
   14932    VM page cache was not coherent with the file system buffer cache
   14933    like early versions of FreeBSD and possibly contemporary NetBSD.)
   14934    For shared mappings, we should conversely verify that changes get
   14935    propagated back to all the places they're supposed to be.
   14936 
   14937    Grep wants private fixed already mapped.
   14938    The main things grep needs to know about mmap are:
   14939    * does it exist and is it safe to write into the mmap'd area
   14940    * how to use it (BSD variants)  */
   14941 
   14942 #include <fcntl.h>
   14943 #include <sys/mman.h>
   14944 
   14945 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
   14946 char *malloc ();
   14947 #endif
   14948 
   14949 /* This mess was copied from the GNU getpagesize.h.  */
   14950 #ifndef HAVE_GETPAGESIZE
   14951 # ifdef _SC_PAGESIZE
   14952 #  define getpagesize() sysconf(_SC_PAGESIZE)
   14953 # else /* no _SC_PAGESIZE */
   14954 #  ifdef HAVE_SYS_PARAM_H
   14955 #   include <sys/param.h>
   14956 #   ifdef EXEC_PAGESIZE
   14957 #    define getpagesize() EXEC_PAGESIZE
   14958 #   else /* no EXEC_PAGESIZE */
   14959 #    ifdef NBPG
   14960 #     define getpagesize() NBPG * CLSIZE
   14961 #     ifndef CLSIZE
   14962 #      define CLSIZE 1
   14963 #     endif /* no CLSIZE */
   14964 #    else /* no NBPG */
   14965 #     ifdef NBPC
   14966 #      define getpagesize() NBPC
   14967 #     else /* no NBPC */
   14968 #      ifdef PAGESIZE
   14969 #       define getpagesize() PAGESIZE
   14970 #      endif /* PAGESIZE */
   14971 #     endif /* no NBPC */
   14972 #    endif /* no NBPG */
   14973 #   endif /* no EXEC_PAGESIZE */
   14974 #  else /* no HAVE_SYS_PARAM_H */
   14975 #   define getpagesize() 8192	/* punt totally */
   14976 #  endif /* no HAVE_SYS_PARAM_H */
   14977 # endif /* no _SC_PAGESIZE */
   14978 
   14979 #endif /* no HAVE_GETPAGESIZE */
   14980 
   14981 int
   14982 main ()
   14983 {
   14984   char *data, *data2, *data3;
   14985   const char *cdata2;
   14986   int i, pagesize;
   14987   int fd, fd2;
   14988 
   14989   pagesize = getpagesize ();
   14990 
   14991   /* First, make a file with some known garbage in it. */
   14992   data = (char *) malloc (pagesize);
   14993   if (!data)
   14994     return 1;
   14995   for (i = 0; i < pagesize; ++i)
   14996     *(data + i) = rand ();
   14997   umask (0);
   14998   fd = creat ("conftest.mmap", 0600);
   14999   if (fd < 0)
   15000     return 2;
   15001   if (write (fd, data, pagesize) != pagesize)
   15002     return 3;
   15003   close (fd);
   15004 
   15005   /* Next, check that the tail of a page is zero-filled.  File must have
   15006      non-zero length, otherwise we risk SIGBUS for entire page.  */
   15007   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   15008   if (fd2 < 0)
   15009     return 4;
   15010   cdata2 = "";
   15011   if (write (fd2, cdata2, 1) != 1)
   15012     return 5;
   15013   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   15014   if (data2 == MAP_FAILED)
   15015     return 6;
   15016   for (i = 0; i < pagesize; ++i)
   15017     if (*(data2 + i))
   15018       return 7;
   15019   close (fd2);
   15020   if (munmap (data2, pagesize))
   15021     return 8;
   15022 
   15023   /* Next, try to mmap the file at a fixed address which already has
   15024      something else allocated at it.  If we can, also make sure that
   15025      we see the same garbage.  */
   15026   fd = open ("conftest.mmap", O_RDWR);
   15027   if (fd < 0)
   15028     return 9;
   15029   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   15030 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   15031     return 10;
   15032   for (i = 0; i < pagesize; ++i)
   15033     if (*(data + i) != *(data2 + i))
   15034       return 11;
   15035 
   15036   /* Finally, make sure that changes to the mapped area do not
   15037      percolate back to the file as seen by read().  (This is a bug on
   15038      some variants of i386 svr4.0.)  */
   15039   for (i = 0; i < pagesize; ++i)
   15040     *(data2 + i) = *(data2 + i) + 1;
   15041   data3 = (char *) malloc (pagesize);
   15042   if (!data3)
   15043     return 12;
   15044   if (read (fd, data3, pagesize) != pagesize)
   15045     return 13;
   15046   for (i = 0; i < pagesize; ++i)
   15047     if (*(data + i) != *(data3 + i))
   15048       return 14;
   15049   close (fd);
   15050   return 0;
   15051 }
   15052 _ACEOF
   15053 if ac_fn_c_try_run "$LINENO"; then :
   15054   ac_cv_func_mmap_fixed_mapped=yes
   15055 else
   15056   ac_cv_func_mmap_fixed_mapped=no
   15057 fi
   15058 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   15059   conftest.$ac_objext conftest.beam conftest.$ac_ext
   15060 fi
   15061 
   15062 fi
   15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   15064 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
   15065 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   15066 
   15067 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
   15068 
   15069 fi
   15070 rm -f conftest.mmap conftest.txt
   15071 
   15072 for ac_func in madvise mprotect
   15073 do :
   15074   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   15075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   15076 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   15077   cat >>confdefs.h <<_ACEOF
   15078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   15079 _ACEOF
   15080 
   15081 fi
   15082 done
   15083 
   15084 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
   15085   true+yes )
   15086 $as_echo "#define USE_MMAP 1" >>confdefs.h
   15087  ;;
   15088 esac
   15089 
   15090 ac_config_files="$ac_config_files Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
   15091 
   15092 
   15093 ac_config_commands="$ac_config_commands default"
   15094 
   15095 
   15096 
   15097 
   15098 
   15099 
   15100 
   15101 cat >confcache <<\_ACEOF
   15102 # This file is a shell script that caches the results of configure
   15103 # tests run on this system so they can be shared between configure
   15104 # scripts and configure runs, see configure's option --config-cache.
   15105 # It is not useful on other systems.  If it contains results you don't
   15106 # want to keep, you may remove or edit it.
   15107 #
   15108 # config.status only pays attention to the cache file if you give it
   15109 # the --recheck option to rerun configure.
   15110 #
   15111 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   15112 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   15113 # following values.
   15114 
   15115 _ACEOF
   15116 
   15117 # The following way of writing the cache mishandles newlines in values,
   15118 # but we know of no workaround that is simple, portable, and efficient.
   15119 # So, we kill variables containing newlines.
   15120 # Ultrix sh set writes to stderr and can't be redirected directly,
   15121 # and sets the high bit in the cache file unless we assign to the vars.
   15122 (
   15123   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   15124     eval ac_val=\$$ac_var
   15125     case $ac_val in #(
   15126     *${as_nl}*)
   15127       case $ac_var in #(
   15128       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   15129 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   15130       esac
   15131       case $ac_var in #(
   15132       _ | IFS | as_nl) ;; #(
   15133       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   15134       *) { eval $ac_var=; unset $ac_var;} ;;
   15135       esac ;;
   15136     esac
   15137   done
   15138 
   15139   (set) 2>&1 |
   15140     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   15141     *${as_nl}ac_space=\ *)
   15142       # `set' does not quote correctly, so add quotes: double-quote
   15143       # substitution turns \\\\ into \\, and sed turns \\ into \.
   15144       sed -n \
   15145 	"s/'/'\\\\''/g;
   15146 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   15147       ;; #(
   15148     *)
   15149       # `set' quotes correctly as required by POSIX, so do not add quotes.
   15150       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   15151       ;;
   15152     esac |
   15153     sort
   15154 ) |
   15155   sed '
   15156      /^ac_cv_env_/b end
   15157      t clear
   15158      :clear
   15159      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   15160      t end
   15161      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   15162      :end' >>confcache
   15163 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   15164   if test -w "$cache_file"; then
   15165     if test "x$cache_file" != "x/dev/null"; then
   15166       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   15167 $as_echo "$as_me: updating cache $cache_file" >&6;}
   15168       if test ! -f "$cache_file" || test -h "$cache_file"; then
   15169 	cat confcache >"$cache_file"
   15170       else
   15171         case $cache_file in #(
   15172         */* | ?:*)
   15173 	  mv -f confcache "$cache_file"$$ &&
   15174 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   15175         *)
   15176 	  mv -f confcache "$cache_file" ;;
   15177 	esac
   15178       fi
   15179     fi
   15180   else
   15181     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   15182 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   15183   fi
   15184 fi
   15185 rm -f confcache
   15186 
   15187 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   15188 # Let make expand exec_prefix.
   15189 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   15190 
   15191 DEFS=-DHAVE_CONFIG_H
   15192 
   15193 ac_libobjs=
   15194 ac_ltlibobjs=
   15195 U=
   15196 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   15197   # 1. Remove the extension, and $U if already installed.
   15198   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   15199   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   15200   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   15201   #    will be set to the directory where LIBOBJS objects are built.
   15202   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   15203   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   15204 done
   15205 LIBOBJS=$ac_libobjs
   15206 
   15207 LTLIBOBJS=$ac_ltlibobjs
   15208 
   15209 
   15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   15211 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   15212    if test -n "$am_sleep_pid"; then
   15213      # Hide warnings about reused PIDs.
   15214      wait $am_sleep_pid 2>/dev/null
   15215    fi
   15216    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   15217 $as_echo "done" >&6; }
   15218  if test -n "$EXEEXT"; then
   15219   am__EXEEXT_TRUE=
   15220   am__EXEEXT_FALSE='#'
   15221 else
   15222   am__EXEEXT_TRUE='#'
   15223   am__EXEEXT_FALSE=
   15224 fi
   15225 
   15226 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   15227   as_fn_error $? "conditional \"AMDEP\" was never defined.
   15228 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15229 fi
   15230 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   15231   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   15232 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15233 fi
   15234 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
   15235   as_fn_error $? "conditional \"PLUGINS\" was never defined.
   15236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15237 fi
   15238 if test -z "${ENABLE_BFD_64_BIT_TRUE}" && test -z "${ENABLE_BFD_64_BIT_FALSE}"; then
   15239   as_fn_error $? "conditional \"ENABLE_BFD_64_BIT\" was never defined.
   15240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15241 fi
   15242 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   15243   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   15244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15245 fi
   15246 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
   15247   as_fn_error $? "conditional \"GENINSRC_NEVER\" was never defined.
   15248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15249 fi
   15250 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
   15251   as_fn_error $? "conditional \"INSTALL_LIBBFD\" was never defined.
   15252 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15253 fi
   15254 
   15255 : "${CONFIG_STATUS=./config.status}"
   15256 ac_write_fail=0
   15257 ac_clean_files_save=$ac_clean_files
   15258 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   15259 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   15260 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   15261 as_write_fail=0
   15262 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   15263 #! $SHELL
   15264 # Generated by $as_me.
   15265 # Run this file to recreate the current configuration.
   15266 # Compiler output produced by configure, useful for debugging
   15267 # configure, is in config.log if it exists.
   15268 
   15269 debug=false
   15270 ac_cs_recheck=false
   15271 ac_cs_silent=false
   15272 
   15273 SHELL=\${CONFIG_SHELL-$SHELL}
   15274 export SHELL
   15275 _ASEOF
   15276 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   15277 ## -------------------- ##
   15278 ## M4sh Initialization. ##
   15279 ## -------------------- ##
   15280 
   15281 # Be more Bourne compatible
   15282 DUALCASE=1; export DUALCASE # for MKS sh
   15283 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   15284   emulate sh
   15285   NULLCMD=:
   15286   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   15287   # is contrary to our usage.  Disable this feature.
   15288   alias -g '${1+"$@"}'='"$@"'
   15289   setopt NO_GLOB_SUBST
   15290 else
   15291   case `(set -o) 2>/dev/null` in #(
   15292   *posix*) :
   15293     set -o posix ;; #(
   15294   *) :
   15295      ;;
   15296 esac
   15297 fi
   15298 
   15299 
   15300 as_nl='
   15301 '
   15302 export as_nl
   15303 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   15304 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   15305 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   15306 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   15307 # Prefer a ksh shell builtin over an external printf program on Solaris,
   15308 # but without wasting forks for bash or zsh.
   15309 if test -z "$BASH_VERSION$ZSH_VERSION" \
   15310     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   15311   as_echo='print -r --'
   15312   as_echo_n='print -rn --'
   15313 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   15314   as_echo='printf %s\n'
   15315   as_echo_n='printf %s'
   15316 else
   15317   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   15318     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   15319     as_echo_n='/usr/ucb/echo -n'
   15320   else
   15321     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   15322     as_echo_n_body='eval
   15323       arg=$1;
   15324       case $arg in #(
   15325       *"$as_nl"*)
   15326 	expr "X$arg" : "X\\(.*\\)$as_nl";
   15327 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   15328       esac;
   15329       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   15330     '
   15331     export as_echo_n_body
   15332     as_echo_n='sh -c $as_echo_n_body as_echo'
   15333   fi
   15334   export as_echo_body
   15335   as_echo='sh -c $as_echo_body as_echo'
   15336 fi
   15337 
   15338 # The user is always right.
   15339 if test "${PATH_SEPARATOR+set}" != set; then
   15340   PATH_SEPARATOR=:
   15341   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   15342     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   15343       PATH_SEPARATOR=';'
   15344   }
   15345 fi
   15346 
   15347 
   15348 # IFS
   15349 # We need space, tab and new line, in precisely that order.  Quoting is
   15350 # there to prevent editors from complaining about space-tab.
   15351 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   15352 # splitting by setting IFS to empty value.)
   15353 IFS=" ""	$as_nl"
   15354 
   15355 # Find who we are.  Look in the path if we contain no directory separator.
   15356 as_myself=
   15357 case $0 in #((
   15358   *[\\/]* ) as_myself=$0 ;;
   15359   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15360 for as_dir in $PATH
   15361 do
   15362   IFS=$as_save_IFS
   15363   test -z "$as_dir" && as_dir=.
   15364     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   15365   done
   15366 IFS=$as_save_IFS
   15367 
   15368      ;;
   15369 esac
   15370 # We did not find ourselves, most probably we were run as `sh COMMAND'
   15371 # in which case we are not to be found in the path.
   15372 if test "x$as_myself" = x; then
   15373   as_myself=$0
   15374 fi
   15375 if test ! -f "$as_myself"; then
   15376   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   15377   exit 1
   15378 fi
   15379 
   15380 # Unset variables that we do not need and which cause bugs (e.g. in
   15381 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   15382 # suppresses any "Segmentation fault" message there.  '((' could
   15383 # trigger a bug in pdksh 5.2.14.
   15384 for as_var in BASH_ENV ENV MAIL MAILPATH
   15385 do eval test x\${$as_var+set} = xset \
   15386   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   15387 done
   15388 PS1='$ '
   15389 PS2='> '
   15390 PS4='+ '
   15391 
   15392 # NLS nuisances.
   15393 LC_ALL=C
   15394 export LC_ALL
   15395 LANGUAGE=C
   15396 export LANGUAGE
   15397 
   15398 # CDPATH.
   15399 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15400 
   15401 
   15402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   15403 # ----------------------------------------
   15404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   15405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   15406 # script with STATUS, using 1 if that was 0.
   15407 as_fn_error ()
   15408 {
   15409   as_status=$1; test $as_status -eq 0 && as_status=1
   15410   if test "$4"; then
   15411     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   15412     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   15413   fi
   15414   $as_echo "$as_me: error: $2" >&2
   15415   as_fn_exit $as_status
   15416 } # as_fn_error
   15417 
   15418 
   15419 # as_fn_set_status STATUS
   15420 # -----------------------
   15421 # Set $? to STATUS, without forking.
   15422 as_fn_set_status ()
   15423 {
   15424   return $1
   15425 } # as_fn_set_status
   15426 
   15427 # as_fn_exit STATUS
   15428 # -----------------
   15429 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   15430 as_fn_exit ()
   15431 {
   15432   set +e
   15433   as_fn_set_status $1
   15434   exit $1
   15435 } # as_fn_exit
   15436 
   15437 # as_fn_unset VAR
   15438 # ---------------
   15439 # Portably unset VAR.
   15440 as_fn_unset ()
   15441 {
   15442   { eval $1=; unset $1;}
   15443 }
   15444 as_unset=as_fn_unset
   15445 # as_fn_append VAR VALUE
   15446 # ----------------------
   15447 # Append the text in VALUE to the end of the definition contained in VAR. Take
   15448 # advantage of any shell optimizations that allow amortized linear growth over
   15449 # repeated appends, instead of the typical quadratic growth present in naive
   15450 # implementations.
   15451 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   15452   eval 'as_fn_append ()
   15453   {
   15454     eval $1+=\$2
   15455   }'
   15456 else
   15457   as_fn_append ()
   15458   {
   15459     eval $1=\$$1\$2
   15460   }
   15461 fi # as_fn_append
   15462 
   15463 # as_fn_arith ARG...
   15464 # ------------------
   15465 # Perform arithmetic evaluation on the ARGs, and store the result in the
   15466 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   15467 # must be portable across $(()) and expr.
   15468 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   15469   eval 'as_fn_arith ()
   15470   {
   15471     as_val=$(( $* ))
   15472   }'
   15473 else
   15474   as_fn_arith ()
   15475   {
   15476     as_val=`expr "$@" || test $? -eq 1`
   15477   }
   15478 fi # as_fn_arith
   15479 
   15480 
   15481 if expr a : '\(a\)' >/dev/null 2>&1 &&
   15482    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   15483   as_expr=expr
   15484 else
   15485   as_expr=false
   15486 fi
   15487 
   15488 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   15489   as_basename=basename
   15490 else
   15491   as_basename=false
   15492 fi
   15493 
   15494 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   15495   as_dirname=dirname
   15496 else
   15497   as_dirname=false
   15498 fi
   15499 
   15500 as_me=`$as_basename -- "$0" ||
   15501 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   15502 	 X"$0" : 'X\(//\)$' \| \
   15503 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   15504 $as_echo X/"$0" |
   15505     sed '/^.*\/\([^/][^/]*\)\/*$/{
   15506 	    s//\1/
   15507 	    q
   15508 	  }
   15509 	  /^X\/\(\/\/\)$/{
   15510 	    s//\1/
   15511 	    q
   15512 	  }
   15513 	  /^X\/\(\/\).*/{
   15514 	    s//\1/
   15515 	    q
   15516 	  }
   15517 	  s/.*/./; q'`
   15518 
   15519 # Avoid depending upon Character Ranges.
   15520 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   15521 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   15522 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   15523 as_cr_digits='0123456789'
   15524 as_cr_alnum=$as_cr_Letters$as_cr_digits
   15525 
   15526 ECHO_C= ECHO_N= ECHO_T=
   15527 case `echo -n x` in #(((((
   15528 -n*)
   15529   case `echo 'xy\c'` in
   15530   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   15531   xy)  ECHO_C='\c';;
   15532   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   15533        ECHO_T='	';;
   15534   esac;;
   15535 *)
   15536   ECHO_N='-n';;
   15537 esac
   15538 
   15539 rm -f conf$$ conf$$.exe conf$$.file
   15540 if test -d conf$$.dir; then
   15541   rm -f conf$$.dir/conf$$.file
   15542 else
   15543   rm -f conf$$.dir
   15544   mkdir conf$$.dir 2>/dev/null
   15545 fi
   15546 if (echo >conf$$.file) 2>/dev/null; then
   15547   if ln -s conf$$.file conf$$ 2>/dev/null; then
   15548     as_ln_s='ln -s'
   15549     # ... but there are two gotchas:
   15550     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   15551     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   15552     # In both cases, we have to default to `cp -pR'.
   15553     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   15554       as_ln_s='cp -pR'
   15555   elif ln conf$$.file conf$$ 2>/dev/null; then
   15556     as_ln_s=ln
   15557   else
   15558     as_ln_s='cp -pR'
   15559   fi
   15560 else
   15561   as_ln_s='cp -pR'
   15562 fi
   15563 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   15564 rmdir conf$$.dir 2>/dev/null
   15565 
   15566 
   15567 # as_fn_mkdir_p
   15568 # -------------
   15569 # Create "$as_dir" as a directory, including parents if necessary.
   15570 as_fn_mkdir_p ()
   15571 {
   15572 
   15573   case $as_dir in #(
   15574   -*) as_dir=./$as_dir;;
   15575   esac
   15576   test -d "$as_dir" || eval $as_mkdir_p || {
   15577     as_dirs=
   15578     while :; do
   15579       case $as_dir in #(
   15580       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   15581       *) as_qdir=$as_dir;;
   15582       esac
   15583       as_dirs="'$as_qdir' $as_dirs"
   15584       as_dir=`$as_dirname -- "$as_dir" ||
   15585 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15586 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   15587 	 X"$as_dir" : 'X\(//\)$' \| \
   15588 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   15589 $as_echo X"$as_dir" |
   15590     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15591 	    s//\1/
   15592 	    q
   15593 	  }
   15594 	  /^X\(\/\/\)[^/].*/{
   15595 	    s//\1/
   15596 	    q
   15597 	  }
   15598 	  /^X\(\/\/\)$/{
   15599 	    s//\1/
   15600 	    q
   15601 	  }
   15602 	  /^X\(\/\).*/{
   15603 	    s//\1/
   15604 	    q
   15605 	  }
   15606 	  s/.*/./; q'`
   15607       test -d "$as_dir" && break
   15608     done
   15609     test -z "$as_dirs" || eval "mkdir $as_dirs"
   15610   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   15611 
   15612 
   15613 } # as_fn_mkdir_p
   15614 if mkdir -p . 2>/dev/null; then
   15615   as_mkdir_p='mkdir -p "$as_dir"'
   15616 else
   15617   test -d ./-p && rmdir ./-p
   15618   as_mkdir_p=false
   15619 fi
   15620 
   15621 
   15622 # as_fn_executable_p FILE
   15623 # -----------------------
   15624 # Test if FILE is an executable regular file.
   15625 as_fn_executable_p ()
   15626 {
   15627   test -f "$1" && test -x "$1"
   15628 } # as_fn_executable_p
   15629 as_test_x='test -x'
   15630 as_executable_p=as_fn_executable_p
   15631 
   15632 # Sed expression to map a string onto a valid CPP name.
   15633 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   15634 
   15635 # Sed expression to map a string onto a valid variable name.
   15636 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   15637 
   15638 
   15639 exec 6>&1
   15640 ## ----------------------------------- ##
   15641 ## Main body of $CONFIG_STATUS script. ##
   15642 ## ----------------------------------- ##
   15643 _ASEOF
   15644 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   15645 
   15646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15647 # Save the log message, to keep $0 and so on meaningful, and to
   15648 # report actual input values of CONFIG_FILES etc. instead of their
   15649 # values after options handling.
   15650 ac_log="
   15651 This file was extended by bfd $as_me 2.39, which was
   15652 generated by GNU Autoconf 2.69.  Invocation command line was
   15653 
   15654   CONFIG_FILES    = $CONFIG_FILES
   15655   CONFIG_HEADERS  = $CONFIG_HEADERS
   15656   CONFIG_LINKS    = $CONFIG_LINKS
   15657   CONFIG_COMMANDS = $CONFIG_COMMANDS
   15658   $ $0 $@
   15659 
   15660 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   15661 "
   15662 
   15663 _ACEOF
   15664 
   15665 case $ac_config_files in *"
   15666 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   15667 esac
   15668 
   15669 case $ac_config_headers in *"
   15670 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   15671 esac
   15672 
   15673 
   15674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15675 # Files that config.status was made for.
   15676 config_files="$ac_config_files"
   15677 config_headers="$ac_config_headers"
   15678 config_commands="$ac_config_commands"
   15679 
   15680 _ACEOF
   15681 
   15682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15683 ac_cs_usage="\
   15684 \`$as_me' instantiates files and other configuration actions
   15685 from templates according to the current configuration.  Unless the files
   15686 and actions are specified as TAGs, all are instantiated by default.
   15687 
   15688 Usage: $0 [OPTION]... [TAG]...
   15689 
   15690   -h, --help       print this help, then exit
   15691   -V, --version    print version number and configuration settings, then exit
   15692       --config     print configuration, then exit
   15693   -q, --quiet, --silent
   15694                    do not print progress messages
   15695   -d, --debug      don't remove temporary files
   15696       --recheck    update $as_me by reconfiguring in the same conditions
   15697       --file=FILE[:TEMPLATE]
   15698                    instantiate the configuration file FILE
   15699       --header=FILE[:TEMPLATE]
   15700                    instantiate the configuration header FILE
   15701 
   15702 Configuration files:
   15703 $config_files
   15704 
   15705 Configuration headers:
   15706 $config_headers
   15707 
   15708 Configuration commands:
   15709 $config_commands
   15710 
   15711 Report bugs to the package provider."
   15712 
   15713 _ACEOF
   15714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15715 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   15716 ac_cs_version="\\
   15717 bfd config.status 2.39
   15718 configured by $0, generated by GNU Autoconf 2.69,
   15719   with options \\"\$ac_cs_config\\"
   15720 
   15721 Copyright (C) 2012 Free Software Foundation, Inc.
   15722 This config.status script is free software; the Free Software Foundation
   15723 gives unlimited permission to copy, distribute and modify it."
   15724 
   15725 ac_pwd='$ac_pwd'
   15726 srcdir='$srcdir'
   15727 INSTALL='$INSTALL'
   15728 MKDIR_P='$MKDIR_P'
   15729 AWK='$AWK'
   15730 test -n "\$AWK" || AWK=awk
   15731 _ACEOF
   15732 
   15733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15734 # The default lists apply if the user does not specify any file.
   15735 ac_need_defaults=:
   15736 while test $# != 0
   15737 do
   15738   case $1 in
   15739   --*=?*)
   15740     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15741     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   15742     ac_shift=:
   15743     ;;
   15744   --*=)
   15745     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15746     ac_optarg=
   15747     ac_shift=:
   15748     ;;
   15749   *)
   15750     ac_option=$1
   15751     ac_optarg=$2
   15752     ac_shift=shift
   15753     ;;
   15754   esac
   15755 
   15756   case $ac_option in
   15757   # Handling of the options.
   15758   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   15759     ac_cs_recheck=: ;;
   15760   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   15761     $as_echo "$ac_cs_version"; exit ;;
   15762   --config | --confi | --conf | --con | --co | --c )
   15763     $as_echo "$ac_cs_config"; exit ;;
   15764   --debug | --debu | --deb | --de | --d | -d )
   15765     debug=: ;;
   15766   --file | --fil | --fi | --f )
   15767     $ac_shift
   15768     case $ac_optarg in
   15769     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15770     '') as_fn_error $? "missing file argument" ;;
   15771     esac
   15772     as_fn_append CONFIG_FILES " '$ac_optarg'"
   15773     ac_need_defaults=false;;
   15774   --header | --heade | --head | --hea )
   15775     $ac_shift
   15776     case $ac_optarg in
   15777     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15778     esac
   15779     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   15780     ac_need_defaults=false;;
   15781   --he | --h)
   15782     # Conflict between --help and --header
   15783     as_fn_error $? "ambiguous option: \`$1'
   15784 Try \`$0 --help' for more information.";;
   15785   --help | --hel | -h )
   15786     $as_echo "$ac_cs_usage"; exit ;;
   15787   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   15788   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   15789     ac_cs_silent=: ;;
   15790 
   15791   # This is an error.
   15792   -*) as_fn_error $? "unrecognized option: \`$1'
   15793 Try \`$0 --help' for more information." ;;
   15794 
   15795   *) as_fn_append ac_config_targets " $1"
   15796      ac_need_defaults=false ;;
   15797 
   15798   esac
   15799   shift
   15800 done
   15801 
   15802 ac_configure_extra_args=
   15803 
   15804 if $ac_cs_silent; then
   15805   exec 6>/dev/null
   15806   ac_configure_extra_args="$ac_configure_extra_args --silent"
   15807 fi
   15808 
   15809 _ACEOF
   15810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15811 if \$ac_cs_recheck; then
   15812   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   15813   shift
   15814   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   15815   CONFIG_SHELL='$SHELL'
   15816   export CONFIG_SHELL
   15817   exec "\$@"
   15818 fi
   15819 
   15820 _ACEOF
   15821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15822 exec 5>>config.log
   15823 {
   15824   echo
   15825   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   15826 ## Running $as_me. ##
   15827 _ASBOX
   15828   $as_echo "$ac_log"
   15829 } >&5
   15830 
   15831 _ACEOF
   15832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15833 #
   15834 # INIT-COMMANDS
   15835 #
   15836 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   15837 
   15838 
   15839 # The HP-UX ksh and POSIX shell print the target directory to stdout
   15840 # if CDPATH is set.
   15841 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15842 
   15843 sed_quote_subst='$sed_quote_subst'
   15844 double_quote_subst='$double_quote_subst'
   15845 delay_variable_subst='$delay_variable_subst'
   15846 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   15847 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   15848 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   15849 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   15850 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   15851 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   15852 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   15853 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   15854 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   15855 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   15856 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   15857 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   15858 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   15859 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   15860 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   15861 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   15862 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   15863 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   15864 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   15865 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   15866 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   15867 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   15868 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   15869 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   15870 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   15871 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   15872 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   15873 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   15874 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   15875 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   15876 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   15877 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   15878 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   15879 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   15880 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   15881 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   15882 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   15883 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   15884 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   15885 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   15886 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   15887 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   15888 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   15889 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   15890 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   15891 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   15892 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   15893 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   15894 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"`'
   15895 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   15896 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   15897 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   15898 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   15899 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   15900 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   15901 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   15902 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   15903 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   15904 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   15905 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   15906 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   15907 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   15908 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   15909 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   15910 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   15911 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   15912 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   15913 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   15914 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   15915 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   15916 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   15917 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   15918 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   15919 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   15920 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   15921 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   15922 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   15923 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   15924 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   15925 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   15926 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   15927 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   15928 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   15929 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   15930 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   15931 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   15932 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   15933 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   15934 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   15935 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   15936 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   15937 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   15938 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   15939 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   15940 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   15941 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   15942 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   15943 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   15944 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   15945 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   15946 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   15947 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   15948 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   15949 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   15950 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   15951 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   15952 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   15953 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   15954 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   15955 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   15956 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   15957 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   15958 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   15959 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   15960 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   15961 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   15962 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   15963 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   15964 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   15965 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   15966 
   15967 LTCC='$LTCC'
   15968 LTCFLAGS='$LTCFLAGS'
   15969 compiler='$compiler_DEFAULT'
   15970 
   15971 # A function that is used when there is no print builtin or printf.
   15972 func_fallback_echo ()
   15973 {
   15974   eval 'cat <<_LTECHO_EOF
   15975 \$1
   15976 _LTECHO_EOF'
   15977 }
   15978 
   15979 # Quote evaled strings.
   15980 for var in SHELL \
   15981 ECHO \
   15982 SED \
   15983 GREP \
   15984 EGREP \
   15985 FGREP \
   15986 LD \
   15987 NM \
   15988 LN_S \
   15989 lt_SP2NL \
   15990 lt_NL2SP \
   15991 reload_flag \
   15992 OBJDUMP \
   15993 deplibs_check_method \
   15994 file_magic_cmd \
   15995 AR \
   15996 AR_FLAGS \
   15997 STRIP \
   15998 RANLIB \
   15999 CC \
   16000 CFLAGS \
   16001 compiler \
   16002 lt_cv_sys_global_symbol_pipe \
   16003 lt_cv_sys_global_symbol_to_cdecl \
   16004 lt_cv_sys_global_symbol_to_c_name_address \
   16005 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   16006 lt_prog_compiler_no_builtin_flag \
   16007 lt_prog_compiler_wl \
   16008 lt_prog_compiler_pic \
   16009 lt_prog_compiler_static \
   16010 lt_cv_prog_compiler_c_o \
   16011 need_locks \
   16012 DSYMUTIL \
   16013 NMEDIT \
   16014 LIPO \
   16015 OTOOL \
   16016 OTOOL64 \
   16017 shrext_cmds \
   16018 export_dynamic_flag_spec \
   16019 whole_archive_flag_spec \
   16020 compiler_needs_object \
   16021 with_gnu_ld \
   16022 allow_undefined_flag \
   16023 no_undefined_flag \
   16024 hardcode_libdir_flag_spec \
   16025 hardcode_libdir_flag_spec_ld \
   16026 hardcode_libdir_separator \
   16027 fix_srcfile_path \
   16028 exclude_expsyms \
   16029 include_expsyms \
   16030 file_list_spec \
   16031 variables_saved_for_relink \
   16032 libname_spec \
   16033 library_names_spec \
   16034 soname_spec \
   16035 install_override_mode \
   16036 finish_eval \
   16037 old_striplib \
   16038 striplib; do
   16039     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   16040     *[\\\\\\\`\\"\\\$]*)
   16041       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   16042       ;;
   16043     *)
   16044       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   16045       ;;
   16046     esac
   16047 done
   16048 
   16049 # Double-quote double-evaled strings.
   16050 for var in reload_cmds \
   16051 old_postinstall_cmds \
   16052 old_postuninstall_cmds \
   16053 old_archive_cmds \
   16054 extract_expsyms_cmds \
   16055 old_archive_from_new_cmds \
   16056 old_archive_from_expsyms_cmds \
   16057 archive_cmds \
   16058 archive_expsym_cmds \
   16059 module_cmds \
   16060 module_expsym_cmds \
   16061 export_symbols_cmds \
   16062 prelink_cmds \
   16063 postinstall_cmds \
   16064 postuninstall_cmds \
   16065 finish_cmds \
   16066 sys_lib_search_path_spec \
   16067 sys_lib_dlsearch_path_spec; do
   16068     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   16069     *[\\\\\\\`\\"\\\$]*)
   16070       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   16071       ;;
   16072     *)
   16073       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   16074       ;;
   16075     esac
   16076 done
   16077 
   16078 ac_aux_dir='$ac_aux_dir'
   16079 xsi_shell='$xsi_shell'
   16080 lt_shell_append='$lt_shell_append'
   16081 
   16082 # See if we are running on zsh, and set the options which allow our
   16083 # commands through without removal of \ escapes INIT.
   16084 if test -n "\${ZSH_VERSION+set}" ; then
   16085    setopt NO_GLOB_SUBST
   16086 fi
   16087 
   16088 
   16089     PACKAGE='$PACKAGE'
   16090     VERSION='$VERSION'
   16091     TIMESTAMP='$TIMESTAMP'
   16092     RM='$RM'
   16093     ofile='$ofile'
   16094 
   16095 
   16096 
   16097 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   16098     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
   16099     # from automake.
   16100     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   16101     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   16102     LINGUAS="${LINGUAS-%UNSET%}"
   16103 
   16104 
   16105 
   16106 _ACEOF
   16107 
   16108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16109 
   16110 # Handling of arguments.
   16111 for ac_config_target in $ac_config_targets
   16112 do
   16113   case $ac_config_target in
   16114     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   16115     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   16116     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
   16117     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   16118     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   16119     "bfd-in3.h") CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
   16120     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
   16121     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
   16122 
   16123   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   16124   esac
   16125 done
   16126 
   16127 
   16128 # If the user did not use the arguments to specify the items to instantiate,
   16129 # then the envvar interface is used.  Set only those that are not.
   16130 # We use the long form for the default assignment because of an extremely
   16131 # bizarre bug on SunOS 4.1.3.
   16132 if $ac_need_defaults; then
   16133   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   16134   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   16135   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   16136 fi
   16137 
   16138 # Have a temporary directory for convenience.  Make it in the build tree
   16139 # simply because there is no reason against having it here, and in addition,
   16140 # creating and moving files from /tmp can sometimes cause problems.
   16141 # Hook for its removal unless debugging.
   16142 # Note that there is a small window in which the directory will not be cleaned:
   16143 # after its creation but before its name has been assigned to `$tmp'.
   16144 $debug ||
   16145 {
   16146   tmp= ac_tmp=
   16147   trap 'exit_status=$?
   16148   : "${ac_tmp:=$tmp}"
   16149   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   16150 ' 0
   16151   trap 'as_fn_exit 1' 1 2 13 15
   16152 }
   16153 # Create a (secure) tmp directory for tmp files.
   16154 
   16155 {
   16156   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   16157   test -d "$tmp"
   16158 }  ||
   16159 {
   16160   tmp=./conf$$-$RANDOM
   16161   (umask 077 && mkdir "$tmp")
   16162 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   16163 ac_tmp=$tmp
   16164 
   16165 # Set up the scripts for CONFIG_FILES section.
   16166 # No need to generate them if there are no CONFIG_FILES.
   16167 # This happens for instance with `./config.status config.h'.
   16168 if test -n "$CONFIG_FILES"; then
   16169 
   16170 
   16171 ac_cr=`echo X | tr X '\015'`
   16172 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   16173 # But we know of no other shell where ac_cr would be empty at this
   16174 # point, so we can use a bashism as a fallback.
   16175 if test "x$ac_cr" = x; then
   16176   eval ac_cr=\$\'\\r\'
   16177 fi
   16178 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   16179 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   16180   ac_cs_awk_cr='\\r'
   16181 else
   16182   ac_cs_awk_cr=$ac_cr
   16183 fi
   16184 
   16185 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   16186 _ACEOF
   16187 
   16188 
   16189 {
   16190   echo "cat >conf$$subs.awk <<_ACEOF" &&
   16191   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   16192   echo "_ACEOF"
   16193 } >conf$$subs.sh ||
   16194   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   16195 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   16196 ac_delim='%!_!# '
   16197 for ac_last_try in false false false false false :; do
   16198   . ./conf$$subs.sh ||
   16199     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   16200 
   16201   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   16202   if test $ac_delim_n = $ac_delim_num; then
   16203     break
   16204   elif $ac_last_try; then
   16205     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   16206   else
   16207     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   16208   fi
   16209 done
   16210 rm -f conf$$subs.sh
   16211 
   16212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16213 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   16214 _ACEOF
   16215 sed -n '
   16216 h
   16217 s/^/S["/; s/!.*/"]=/
   16218 p
   16219 g
   16220 s/^[^!]*!//
   16221 :repl
   16222 t repl
   16223 s/'"$ac_delim"'$//
   16224 t delim
   16225 :nl
   16226 h
   16227 s/\(.\{148\}\)..*/\1/
   16228 t more1
   16229 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   16230 p
   16231 n
   16232 b repl
   16233 :more1
   16234 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   16235 p
   16236 g
   16237 s/.\{148\}//
   16238 t nl
   16239 :delim
   16240 h
   16241 s/\(.\{148\}\)..*/\1/
   16242 t more2
   16243 s/["\\]/\\&/g; s/^/"/; s/$/"/
   16244 p
   16245 b
   16246 :more2
   16247 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   16248 p
   16249 g
   16250 s/.\{148\}//
   16251 t delim
   16252 ' <conf$$subs.awk | sed '
   16253 /^[^""]/{
   16254   N
   16255   s/\n//
   16256 }
   16257 ' >>$CONFIG_STATUS || ac_write_fail=1
   16258 rm -f conf$$subs.awk
   16259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16260 _ACAWK
   16261 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   16262   for (key in S) S_is_set[key] = 1
   16263   FS = ""
   16264 
   16265 }
   16266 {
   16267   line = $ 0
   16268   nfields = split(line, field, "@")
   16269   substed = 0
   16270   len = length(field[1])
   16271   for (i = 2; i < nfields; i++) {
   16272     key = field[i]
   16273     keylen = length(key)
   16274     if (S_is_set[key]) {
   16275       value = S[key]
   16276       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   16277       len += length(value) + length(field[++i])
   16278       substed = 1
   16279     } else
   16280       len += 1 + keylen
   16281   }
   16282 
   16283   print line
   16284 }
   16285 
   16286 _ACAWK
   16287 _ACEOF
   16288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16289 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   16290   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   16291 else
   16292   cat
   16293 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   16294   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   16295 _ACEOF
   16296 
   16297 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   16298 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   16299 # trailing colons and then remove the whole line if VPATH becomes empty
   16300 # (actually we leave an empty line to preserve line numbers).
   16301 if test "x$srcdir" = x.; then
   16302   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   16303 h
   16304 s///
   16305 s/^/:/
   16306 s/[	 ]*$/:/
   16307 s/:\$(srcdir):/:/g
   16308 s/:\${srcdir}:/:/g
   16309 s/:@srcdir@:/:/g
   16310 s/^:*//
   16311 s/:*$//
   16312 x
   16313 s/\(=[	 ]*\).*/\1/
   16314 G
   16315 s/\n//
   16316 s/^[^=]*=[	 ]*$//
   16317 }'
   16318 fi
   16319 
   16320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16321 fi # test -n "$CONFIG_FILES"
   16322 
   16323 # Set up the scripts for CONFIG_HEADERS section.
   16324 # No need to generate them if there are no CONFIG_HEADERS.
   16325 # This happens for instance with `./config.status Makefile'.
   16326 if test -n "$CONFIG_HEADERS"; then
   16327 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   16328 BEGIN {
   16329 _ACEOF
   16330 
   16331 # Transform confdefs.h into an awk script `defines.awk', embedded as
   16332 # here-document in config.status, that substitutes the proper values into
   16333 # config.h.in to produce config.h.
   16334 
   16335 # Create a delimiter string that does not exist in confdefs.h, to ease
   16336 # handling of long lines.
   16337 ac_delim='%!_!# '
   16338 for ac_last_try in false false :; do
   16339   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   16340   if test -z "$ac_tt"; then
   16341     break
   16342   elif $ac_last_try; then
   16343     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   16344   else
   16345     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   16346   fi
   16347 done
   16348 
   16349 # For the awk script, D is an array of macro values keyed by name,
   16350 # likewise P contains macro parameters if any.  Preserve backslash
   16351 # newline sequences.
   16352 
   16353 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   16354 sed -n '
   16355 s/.\{148\}/&'"$ac_delim"'/g
   16356 t rset
   16357 :rset
   16358 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   16359 t def
   16360 d
   16361 :def
   16362 s/\\$//
   16363 t bsnl
   16364 s/["\\]/\\&/g
   16365 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   16366 D["\1"]=" \3"/p
   16367 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   16368 d
   16369 :bsnl
   16370 s/["\\]/\\&/g
   16371 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   16372 D["\1"]=" \3\\\\\\n"\\/p
   16373 t cont
   16374 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   16375 t cont
   16376 d
   16377 :cont
   16378 n
   16379 s/.\{148\}/&'"$ac_delim"'/g
   16380 t clear
   16381 :clear
   16382 s/\\$//
   16383 t bsnlc
   16384 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   16385 d
   16386 :bsnlc
   16387 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   16388 b cont
   16389 ' <confdefs.h | sed '
   16390 s/'"$ac_delim"'/"\\\
   16391 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   16392 
   16393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16394   for (key in D) D_is_set[key] = 1
   16395   FS = ""
   16396 }
   16397 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   16398   line = \$ 0
   16399   split(line, arg, " ")
   16400   if (arg[1] == "#") {
   16401     defundef = arg[2]
   16402     mac1 = arg[3]
   16403   } else {
   16404     defundef = substr(arg[1], 2)
   16405     mac1 = arg[2]
   16406   }
   16407   split(mac1, mac2, "(") #)
   16408   macro = mac2[1]
   16409   prefix = substr(line, 1, index(line, defundef) - 1)
   16410   if (D_is_set[macro]) {
   16411     # Preserve the white space surrounding the "#".
   16412     print prefix "define", macro P[macro] D[macro]
   16413     next
   16414   } else {
   16415     # Replace #undef with comments.  This is necessary, for example,
   16416     # in the case of _POSIX_SOURCE, which is predefined and required
   16417     # on some systems where configure will not decide to define it.
   16418     if (defundef == "undef") {
   16419       print "/*", prefix defundef, macro, "*/"
   16420       next
   16421     }
   16422   }
   16423 }
   16424 { print }
   16425 _ACAWK
   16426 _ACEOF
   16427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16428   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   16429 fi # test -n "$CONFIG_HEADERS"
   16430 
   16431 
   16432 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   16433 shift
   16434 for ac_tag
   16435 do
   16436   case $ac_tag in
   16437   :[FHLC]) ac_mode=$ac_tag; continue;;
   16438   esac
   16439   case $ac_mode$ac_tag in
   16440   :[FHL]*:*);;
   16441   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   16442   :[FH]-) ac_tag=-:-;;
   16443   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   16444   esac
   16445   ac_save_IFS=$IFS
   16446   IFS=:
   16447   set x $ac_tag
   16448   IFS=$ac_save_IFS
   16449   shift
   16450   ac_file=$1
   16451   shift
   16452 
   16453   case $ac_mode in
   16454   :L) ac_source=$1;;
   16455   :[FH])
   16456     ac_file_inputs=
   16457     for ac_f
   16458     do
   16459       case $ac_f in
   16460       -) ac_f="$ac_tmp/stdin";;
   16461       *) # Look for the file first in the build tree, then in the source tree
   16462 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   16463 	 # because $ac_f cannot contain `:'.
   16464 	 test -f "$ac_f" ||
   16465 	   case $ac_f in
   16466 	   [\\/$]*) false;;
   16467 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   16468 	   esac ||
   16469 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   16470       esac
   16471       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   16472       as_fn_append ac_file_inputs " '$ac_f'"
   16473     done
   16474 
   16475     # Let's still pretend it is `configure' which instantiates (i.e., don't
   16476     # use $as_me), people would be surprised to read:
   16477     #    /* config.h.  Generated by config.status.  */
   16478     configure_input='Generated from '`
   16479 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   16480 	`' by configure.'
   16481     if test x"$ac_file" != x-; then
   16482       configure_input="$ac_file.  $configure_input"
   16483       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   16484 $as_echo "$as_me: creating $ac_file" >&6;}
   16485     fi
   16486     # Neutralize special characters interpreted by sed in replacement strings.
   16487     case $configure_input in #(
   16488     *\&* | *\|* | *\\* )
   16489        ac_sed_conf_input=`$as_echo "$configure_input" |
   16490        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   16491     *) ac_sed_conf_input=$configure_input;;
   16492     esac
   16493 
   16494     case $ac_tag in
   16495     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   16496       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   16497     esac
   16498     ;;
   16499   esac
   16500 
   16501   ac_dir=`$as_dirname -- "$ac_file" ||
   16502 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16503 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   16504 	 X"$ac_file" : 'X\(//\)$' \| \
   16505 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   16506 $as_echo X"$ac_file" |
   16507     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16508 	    s//\1/
   16509 	    q
   16510 	  }
   16511 	  /^X\(\/\/\)[^/].*/{
   16512 	    s//\1/
   16513 	    q
   16514 	  }
   16515 	  /^X\(\/\/\)$/{
   16516 	    s//\1/
   16517 	    q
   16518 	  }
   16519 	  /^X\(\/\).*/{
   16520 	    s//\1/
   16521 	    q
   16522 	  }
   16523 	  s/.*/./; q'`
   16524   as_dir="$ac_dir"; as_fn_mkdir_p
   16525   ac_builddir=.
   16526 
   16527 case "$ac_dir" in
   16528 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   16529 *)
   16530   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   16531   # A ".." for each directory in $ac_dir_suffix.
   16532   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   16533   case $ac_top_builddir_sub in
   16534   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   16535   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   16536   esac ;;
   16537 esac
   16538 ac_abs_top_builddir=$ac_pwd
   16539 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   16540 # for backward compatibility:
   16541 ac_top_builddir=$ac_top_build_prefix
   16542 
   16543 case $srcdir in
   16544   .)  # We are building in place.
   16545     ac_srcdir=.
   16546     ac_top_srcdir=$ac_top_builddir_sub
   16547     ac_abs_top_srcdir=$ac_pwd ;;
   16548   [\\/]* | ?:[\\/]* )  # Absolute name.
   16549     ac_srcdir=$srcdir$ac_dir_suffix;
   16550     ac_top_srcdir=$srcdir
   16551     ac_abs_top_srcdir=$srcdir ;;
   16552   *) # Relative name.
   16553     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   16554     ac_top_srcdir=$ac_top_build_prefix$srcdir
   16555     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   16556 esac
   16557 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   16558 
   16559 
   16560   case $ac_mode in
   16561   :F)
   16562   #
   16563   # CONFIG_FILE
   16564   #
   16565 
   16566   case $INSTALL in
   16567   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   16568   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   16569   esac
   16570   ac_MKDIR_P=$MKDIR_P
   16571   case $MKDIR_P in
   16572   [\\/$]* | ?:[\\/]* ) ;;
   16573   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   16574   esac
   16575 _ACEOF
   16576 
   16577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16578 # If the template does not know about datarootdir, expand it.
   16579 # FIXME: This hack should be removed a few years after 2.60.
   16580 ac_datarootdir_hack=; ac_datarootdir_seen=
   16581 ac_sed_dataroot='
   16582 /datarootdir/ {
   16583   p
   16584   q
   16585 }
   16586 /@datadir@/p
   16587 /@docdir@/p
   16588 /@infodir@/p
   16589 /@localedir@/p
   16590 /@mandir@/p'
   16591 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   16592 *datarootdir*) ac_datarootdir_seen=yes;;
   16593 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   16594   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   16595 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   16596 _ACEOF
   16597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16598   ac_datarootdir_hack='
   16599   s&@datadir@&$datadir&g
   16600   s&@docdir@&$docdir&g
   16601   s&@infodir@&$infodir&g
   16602   s&@localedir@&$localedir&g
   16603   s&@mandir@&$mandir&g
   16604   s&\\\${datarootdir}&$datarootdir&g' ;;
   16605 esac
   16606 _ACEOF
   16607 
   16608 # Neutralize VPATH when `$srcdir' = `.'.
   16609 # Shell code in configure.ac might set extrasub.
   16610 # FIXME: do we really want to maintain this feature?
   16611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16612 ac_sed_extra="$ac_vpsub
   16613 $extrasub
   16614 _ACEOF
   16615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16616 :t
   16617 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   16618 s|@configure_input@|$ac_sed_conf_input|;t t
   16619 s&@top_builddir@&$ac_top_builddir_sub&;t t
   16620 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   16621 s&@srcdir@&$ac_srcdir&;t t
   16622 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   16623 s&@top_srcdir@&$ac_top_srcdir&;t t
   16624 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   16625 s&@builddir@&$ac_builddir&;t t
   16626 s&@abs_builddir@&$ac_abs_builddir&;t t
   16627 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   16628 s&@INSTALL@&$ac_INSTALL&;t t
   16629 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   16630 $ac_datarootdir_hack
   16631 "
   16632 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   16633   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16634 
   16635 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   16636   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   16637   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   16638       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   16639   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16640 which seems to be undefined.  Please make sure it is defined" >&5
   16641 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16642 which seems to be undefined.  Please make sure it is defined" >&2;}
   16643 
   16644   rm -f "$ac_tmp/stdin"
   16645   case $ac_file in
   16646   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   16647   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   16648   esac \
   16649   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16650  ;;
   16651   :H)
   16652   #
   16653   # CONFIG_HEADER
   16654   #
   16655   if test x"$ac_file" != x-; then
   16656     {
   16657       $as_echo "/* $configure_input  */" \
   16658       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   16659     } >"$ac_tmp/config.h" \
   16660       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16661     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   16662       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   16663 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   16664     else
   16665       rm -f "$ac_file"
   16666       mv "$ac_tmp/config.h" "$ac_file" \
   16667 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16668     fi
   16669   else
   16670     $as_echo "/* $configure_input  */" \
   16671       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   16672       || as_fn_error $? "could not create -" "$LINENO" 5
   16673   fi
   16674 # Compute "$ac_file"'s index in $config_headers.
   16675 _am_arg="$ac_file"
   16676 _am_stamp_count=1
   16677 for _am_header in $config_headers :; do
   16678   case $_am_header in
   16679     $_am_arg | $_am_arg:* )
   16680       break ;;
   16681     * )
   16682       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   16683   esac
   16684 done
   16685 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   16686 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16687 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   16688 	 X"$_am_arg" : 'X\(//\)$' \| \
   16689 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   16690 $as_echo X"$_am_arg" |
   16691     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16692 	    s//\1/
   16693 	    q
   16694 	  }
   16695 	  /^X\(\/\/\)[^/].*/{
   16696 	    s//\1/
   16697 	    q
   16698 	  }
   16699 	  /^X\(\/\/\)$/{
   16700 	    s//\1/
   16701 	    q
   16702 	  }
   16703 	  /^X\(\/\).*/{
   16704 	    s//\1/
   16705 	    q
   16706 	  }
   16707 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   16708  ;;
   16709 
   16710   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   16711 $as_echo "$as_me: executing $ac_file commands" >&6;}
   16712  ;;
   16713   esac
   16714 
   16715 
   16716   case $ac_file$ac_mode in
   16717     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   16718   # Older Autoconf quotes --file arguments for eval, but not when files
   16719   # are listed without --file.  Let's play safe and only enable the eval
   16720   # if we detect the quoting.
   16721   case $CONFIG_FILES in
   16722   *\'*) eval set x "$CONFIG_FILES" ;;
   16723   *)   set x $CONFIG_FILES ;;
   16724   esac
   16725   shift
   16726   for mf
   16727   do
   16728     # Strip MF so we end up with the name of the file.
   16729     mf=`echo "$mf" | sed -e 's/:.*$//'`
   16730     # Check whether this is an Automake generated Makefile or not.
   16731     # We used to match only the files named 'Makefile.in', but
   16732     # some people rename them; so instead we look at the file content.
   16733     # Grep'ing the first line is not enough: some people post-process
   16734     # each Makefile.in and add a new line on top of each file to say so.
   16735     # Grep'ing the whole file is not good either: AIX grep has a line
   16736     # limit of 2048, but all sed's we know have understand at least 4000.
   16737     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   16738       dirpart=`$as_dirname -- "$mf" ||
   16739 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16740 	 X"$mf" : 'X\(//\)[^/]' \| \
   16741 	 X"$mf" : 'X\(//\)$' \| \
   16742 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   16743 $as_echo X"$mf" |
   16744     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16745 	    s//\1/
   16746 	    q
   16747 	  }
   16748 	  /^X\(\/\/\)[^/].*/{
   16749 	    s//\1/
   16750 	    q
   16751 	  }
   16752 	  /^X\(\/\/\)$/{
   16753 	    s//\1/
   16754 	    q
   16755 	  }
   16756 	  /^X\(\/\).*/{
   16757 	    s//\1/
   16758 	    q
   16759 	  }
   16760 	  s/.*/./; q'`
   16761     else
   16762       continue
   16763     fi
   16764     # Extract the definition of DEPDIR, am__include, and am__quote
   16765     # from the Makefile without running 'make'.
   16766     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   16767     test -z "$DEPDIR" && continue
   16768     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   16769     test -z "$am__include" && continue
   16770     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   16771     # Find all dependency output files, they are included files with
   16772     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   16773     # simplest approach to changing $(DEPDIR) to its actual value in the
   16774     # expansion.
   16775     for file in `sed -n "
   16776       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   16777 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   16778       # Make sure the directory exists.
   16779       test -f "$dirpart/$file" && continue
   16780       fdir=`$as_dirname -- "$file" ||
   16781 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16782 	 X"$file" : 'X\(//\)[^/]' \| \
   16783 	 X"$file" : 'X\(//\)$' \| \
   16784 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   16785 $as_echo X"$file" |
   16786     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16787 	    s//\1/
   16788 	    q
   16789 	  }
   16790 	  /^X\(\/\/\)[^/].*/{
   16791 	    s//\1/
   16792 	    q
   16793 	  }
   16794 	  /^X\(\/\/\)$/{
   16795 	    s//\1/
   16796 	    q
   16797 	  }
   16798 	  /^X\(\/\).*/{
   16799 	    s//\1/
   16800 	    q
   16801 	  }
   16802 	  s/.*/./; q'`
   16803       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   16804       # echo "creating $dirpart/$file"
   16805       echo '# dummy' > "$dirpart/$file"
   16806     done
   16807   done
   16808 }
   16809  ;;
   16810     "libtool":C)
   16811 
   16812     # See if we are running on zsh, and set the options which allow our
   16813     # commands through without removal of \ escapes.
   16814     if test -n "${ZSH_VERSION+set}" ; then
   16815       setopt NO_GLOB_SUBST
   16816     fi
   16817 
   16818     cfgfile="${ofile}T"
   16819     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   16820     $RM "$cfgfile"
   16821 
   16822     cat <<_LT_EOF >> "$cfgfile"
   16823 #! $SHELL
   16824 
   16825 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   16826 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   16827 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16828 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   16829 #
   16830 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   16831 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   16832 #   Written by Gordon Matzigkeit, 1996
   16833 #
   16834 #   This file is part of GNU Libtool.
   16835 #
   16836 # GNU Libtool is free software; you can redistribute it and/or
   16837 # modify it under the terms of the GNU General Public License as
   16838 # published by the Free Software Foundation; either version 2 of
   16839 # the License, or (at your option) any later version.
   16840 #
   16841 # As a special exception to the GNU General Public License,
   16842 # if you distribute this file as part of a program or library that
   16843 # is built using GNU Libtool, you may include this file under the
   16844 # same distribution terms that you use for the rest of that program.
   16845 #
   16846 # GNU Libtool is distributed in the hope that it will be useful,
   16847 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   16848 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16849 # GNU General Public License for more details.
   16850 #
   16851 # You should have received a copy of the GNU General Public License
   16852 # along with GNU Libtool; see the file COPYING.  If not, a copy
   16853 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   16854 # obtained by writing to the Free Software Foundation, Inc.,
   16855 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   16856 
   16857 
   16858 # The names of the tagged configurations supported by this script.
   16859 available_tags=""
   16860 
   16861 # ### BEGIN LIBTOOL CONFIG
   16862 
   16863 # Whether or not to build shared libraries.
   16864 build_libtool_libs=$enable_shared
   16865 
   16866 # Which release of libtool.m4 was used?
   16867 macro_version=$macro_version
   16868 macro_revision=$macro_revision
   16869 
   16870 # Whether or not to build static libraries.
   16871 build_old_libs=$enable_static
   16872 
   16873 # What type of objects to build.
   16874 pic_mode=$pic_mode
   16875 
   16876 # Whether or not to optimize for fast installation.
   16877 fast_install=$enable_fast_install
   16878 
   16879 # Shell to use when invoking shell scripts.
   16880 SHELL=$lt_SHELL
   16881 
   16882 # An echo program that protects backslashes.
   16883 ECHO=$lt_ECHO
   16884 
   16885 # The host system.
   16886 host_alias=$host_alias
   16887 host=$host
   16888 host_os=$host_os
   16889 
   16890 # The build system.
   16891 build_alias=$build_alias
   16892 build=$build
   16893 build_os=$build_os
   16894 
   16895 # A sed program that does not truncate output.
   16896 SED=$lt_SED
   16897 
   16898 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   16899 Xsed="\$SED -e 1s/^X//"
   16900 
   16901 # A grep program that handles long lines.
   16902 GREP=$lt_GREP
   16903 
   16904 # An ERE matcher.
   16905 EGREP=$lt_EGREP
   16906 
   16907 # A literal string matcher.
   16908 FGREP=$lt_FGREP
   16909 
   16910 # A BSD- or MS-compatible name lister.
   16911 NM=$lt_NM
   16912 
   16913 # Whether we need soft or hard links.
   16914 LN_S=$lt_LN_S
   16915 
   16916 # What is the maximum length of a command?
   16917 max_cmd_len=$max_cmd_len
   16918 
   16919 # Object file suffix (normally "o").
   16920 objext=$ac_objext
   16921 
   16922 # Executable file suffix (normally "").
   16923 exeext=$exeext
   16924 
   16925 # whether the shell understands "unset".
   16926 lt_unset=$lt_unset
   16927 
   16928 # turn spaces into newlines.
   16929 SP2NL=$lt_lt_SP2NL
   16930 
   16931 # turn newlines into spaces.
   16932 NL2SP=$lt_lt_NL2SP
   16933 
   16934 # An object symbol dumper.
   16935 OBJDUMP=$lt_OBJDUMP
   16936 
   16937 # Method to check whether dependent libraries are shared objects.
   16938 deplibs_check_method=$lt_deplibs_check_method
   16939 
   16940 # Command to use when deplibs_check_method == "file_magic".
   16941 file_magic_cmd=$lt_file_magic_cmd
   16942 
   16943 # The archiver.
   16944 AR=$lt_AR
   16945 AR_FLAGS=$lt_AR_FLAGS
   16946 
   16947 # A symbol stripping program.
   16948 STRIP=$lt_STRIP
   16949 
   16950 # Commands used to install an old-style archive.
   16951 RANLIB=$lt_RANLIB
   16952 old_postinstall_cmds=$lt_old_postinstall_cmds
   16953 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16954 
   16955 # Whether to use a lock for old archive extraction.
   16956 lock_old_archive_extraction=$lock_old_archive_extraction
   16957 
   16958 # A C compiler.
   16959 LTCC=$lt_CC
   16960 
   16961 # LTCC compiler flags.
   16962 LTCFLAGS=$lt_CFLAGS
   16963 
   16964 # Take the output of nm and produce a listing of raw symbols and C names.
   16965 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16966 
   16967 # Transform the output of nm in a proper C declaration.
   16968 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16969 
   16970 # Transform the output of nm in a C name address pair.
   16971 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16972 
   16973 # Transform the output of nm in a C name address pair when lib prefix is needed.
   16974 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   16975 
   16976 # The name of the directory that contains temporary libtool files.
   16977 objdir=$objdir
   16978 
   16979 # Used to examine libraries when file_magic_cmd begins with "file".
   16980 MAGIC_CMD=$MAGIC_CMD
   16981 
   16982 # Must we lock files when doing compilation?
   16983 need_locks=$lt_need_locks
   16984 
   16985 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   16986 DSYMUTIL=$lt_DSYMUTIL
   16987 
   16988 # Tool to change global to local symbols on Mac OS X.
   16989 NMEDIT=$lt_NMEDIT
   16990 
   16991 # Tool to manipulate fat objects and archives on Mac OS X.
   16992 LIPO=$lt_LIPO
   16993 
   16994 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   16995 OTOOL=$lt_OTOOL
   16996 
   16997 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   16998 OTOOL64=$lt_OTOOL64
   16999 
   17000 # Old archive suffix (normally "a").
   17001 libext=$libext
   17002 
   17003 # Shared library suffix (normally ".so").
   17004 shrext_cmds=$lt_shrext_cmds
   17005 
   17006 # The commands to extract the exported symbol list from a shared archive.
   17007 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   17008 
   17009 # Variables whose values should be saved in libtool wrapper scripts and
   17010 # restored at link time.
   17011 variables_saved_for_relink=$lt_variables_saved_for_relink
   17012 
   17013 # Do we need the "lib" prefix for modules?
   17014 need_lib_prefix=$need_lib_prefix
   17015 
   17016 # Do we need a version for libraries?
   17017 need_version=$need_version
   17018 
   17019 # Library versioning type.
   17020 version_type=$version_type
   17021 
   17022 # Shared library runtime path variable.
   17023 runpath_var=$runpath_var
   17024 
   17025 # Shared library path variable.
   17026 shlibpath_var=$shlibpath_var
   17027 
   17028 # Is shlibpath searched before the hard-coded library search path?
   17029 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   17030 
   17031 # Format of library name prefix.
   17032 libname_spec=$lt_libname_spec
   17033 
   17034 # List of archive names.  First name is the real one, the rest are links.
   17035 # The last name is the one that the linker finds with -lNAME
   17036 library_names_spec=$lt_library_names_spec
   17037 
   17038 # The coded name of the library, if different from the real name.
   17039 soname_spec=$lt_soname_spec
   17040 
   17041 # Permission mode override for installation of shared libraries.
   17042 install_override_mode=$lt_install_override_mode
   17043 
   17044 # Command to use after installation of a shared archive.
   17045 postinstall_cmds=$lt_postinstall_cmds
   17046 
   17047 # Command to use after uninstallation of a shared archive.
   17048 postuninstall_cmds=$lt_postuninstall_cmds
   17049 
   17050 # Commands used to finish a libtool library installation in a directory.
   17051 finish_cmds=$lt_finish_cmds
   17052 
   17053 # As "finish_cmds", except a single script fragment to be evaled but
   17054 # not shown.
   17055 finish_eval=$lt_finish_eval
   17056 
   17057 # Whether we should hardcode library paths into libraries.
   17058 hardcode_into_libs=$hardcode_into_libs
   17059 
   17060 # Compile-time system search path for libraries.
   17061 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   17062 
   17063 # Run-time system search path for libraries.
   17064 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   17065 
   17066 # Whether dlopen is supported.
   17067 dlopen_support=$enable_dlopen
   17068 
   17069 # Whether dlopen of programs is supported.
   17070 dlopen_self=$enable_dlopen_self
   17071 
   17072 # Whether dlopen of statically linked programs is supported.
   17073 dlopen_self_static=$enable_dlopen_self_static
   17074 
   17075 # Commands to strip libraries.
   17076 old_striplib=$lt_old_striplib
   17077 striplib=$lt_striplib
   17078 
   17079 
   17080 # The linker used to build libraries.
   17081 LD=$lt_LD
   17082 
   17083 # How to create reloadable object files.
   17084 reload_flag=$lt_reload_flag
   17085 reload_cmds=$lt_reload_cmds
   17086 
   17087 # Commands used to build an old-style archive.
   17088 old_archive_cmds=$lt_old_archive_cmds
   17089 
   17090 # A language specific compiler.
   17091 CC=$lt_compiler
   17092 
   17093 # Is the compiler the GNU compiler?
   17094 with_gcc=$GCC
   17095 
   17096 # Compiler flag to turn off builtin functions.
   17097 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   17098 
   17099 # How to pass a linker flag through the compiler.
   17100 wl=$lt_lt_prog_compiler_wl
   17101 
   17102 # Additional compiler flags for building library objects.
   17103 pic_flag=$lt_lt_prog_compiler_pic
   17104 
   17105 # Compiler flag to prevent dynamic linking.
   17106 link_static_flag=$lt_lt_prog_compiler_static
   17107 
   17108 # Does compiler simultaneously support -c and -o options?
   17109 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   17110 
   17111 # Whether or not to add -lc for building shared libraries.
   17112 build_libtool_need_lc=$archive_cmds_need_lc
   17113 
   17114 # Whether or not to disallow shared libs when runtime libs are static.
   17115 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   17116 
   17117 # Compiler flag to allow reflexive dlopens.
   17118 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   17119 
   17120 # Compiler flag to generate shared objects directly from archives.
   17121 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   17122 
   17123 # Whether the compiler copes with passing no objects directly.
   17124 compiler_needs_object=$lt_compiler_needs_object
   17125 
   17126 # Create an old-style archive from a shared archive.
   17127 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   17128 
   17129 # Create a temporary old-style archive to link instead of a shared archive.
   17130 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   17131 
   17132 # Commands used to build a shared archive.
   17133 archive_cmds=$lt_archive_cmds
   17134 archive_expsym_cmds=$lt_archive_expsym_cmds
   17135 
   17136 # Commands used to build a loadable module if different from building
   17137 # a shared archive.
   17138 module_cmds=$lt_module_cmds
   17139 module_expsym_cmds=$lt_module_expsym_cmds
   17140 
   17141 # Whether we are building with GNU ld or not.
   17142 with_gnu_ld=$lt_with_gnu_ld
   17143 
   17144 # Flag that allows shared libraries with undefined symbols to be built.
   17145 allow_undefined_flag=$lt_allow_undefined_flag
   17146 
   17147 # Flag that enforces no undefined symbols.
   17148 no_undefined_flag=$lt_no_undefined_flag
   17149 
   17150 # Flag to hardcode \$libdir into a binary during linking.
   17151 # This must work even if \$libdir does not exist
   17152 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   17153 
   17154 # If ld is used when linking, flag to hardcode \$libdir into a binary
   17155 # during linking.  This must work even if \$libdir does not exist.
   17156 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   17157 
   17158 # Whether we need a single "-rpath" flag with a separated argument.
   17159 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   17160 
   17161 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17162 # DIR into the resulting binary.
   17163 hardcode_direct=$hardcode_direct
   17164 
   17165 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17166 # DIR into the resulting binary and the resulting library dependency is
   17167 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   17168 # library is relocated.
   17169 hardcode_direct_absolute=$hardcode_direct_absolute
   17170 
   17171 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   17172 # into the resulting binary.
   17173 hardcode_minus_L=$hardcode_minus_L
   17174 
   17175 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   17176 # into the resulting binary.
   17177 hardcode_shlibpath_var=$hardcode_shlibpath_var
   17178 
   17179 # Set to "yes" if building a shared library automatically hardcodes DIR
   17180 # into the library and all subsequent libraries and executables linked
   17181 # against it.
   17182 hardcode_automatic=$hardcode_automatic
   17183 
   17184 # Set to yes if linker adds runtime paths of dependent libraries
   17185 # to runtime path list.
   17186 inherit_rpath=$inherit_rpath
   17187 
   17188 # Whether libtool must link a program against all its dependency libraries.
   17189 link_all_deplibs=$link_all_deplibs
   17190 
   17191 # Fix the shell variable \$srcfile for the compiler.
   17192 fix_srcfile_path=$lt_fix_srcfile_path
   17193 
   17194 # Set to "yes" if exported symbols are required.
   17195 always_export_symbols=$always_export_symbols
   17196 
   17197 # The commands to list exported symbols.
   17198 export_symbols_cmds=$lt_export_symbols_cmds
   17199 
   17200 # Symbols that should not be listed in the preloaded symbols.
   17201 exclude_expsyms=$lt_exclude_expsyms
   17202 
   17203 # Symbols that must always be exported.
   17204 include_expsyms=$lt_include_expsyms
   17205 
   17206 # Commands necessary for linking programs (against libraries) with templates.
   17207 prelink_cmds=$lt_prelink_cmds
   17208 
   17209 # Specify filename containing input files.
   17210 file_list_spec=$lt_file_list_spec
   17211 
   17212 # How to hardcode a shared library path into an executable.
   17213 hardcode_action=$hardcode_action
   17214 
   17215 # ### END LIBTOOL CONFIG
   17216 
   17217 _LT_EOF
   17218 
   17219   case $host_os in
   17220   aix3*)
   17221     cat <<\_LT_EOF >> "$cfgfile"
   17222 # AIX sometimes has problems with the GCC collect2 program.  For some
   17223 # reason, if we set the COLLECT_NAMES environment variable, the problems
   17224 # vanish in a puff of smoke.
   17225 if test "X${COLLECT_NAMES+set}" != Xset; then
   17226   COLLECT_NAMES=
   17227   export COLLECT_NAMES
   17228 fi
   17229 _LT_EOF
   17230     ;;
   17231   esac
   17232 
   17233 
   17234 ltmain="$ac_aux_dir/ltmain.sh"
   17235 
   17236 
   17237   # We use sed instead of cat because bash on DJGPP gets confused if
   17238   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   17239   # text mode, it properly converts lines to CR/LF.  This bash problem
   17240   # is reportedly fixed, but why not run on old versions too?
   17241   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   17242     || (rm -f "$cfgfile"; exit 1)
   17243 
   17244   case $xsi_shell in
   17245   yes)
   17246     cat << \_LT_EOF >> "$cfgfile"
   17247 
   17248 # func_dirname file append nondir_replacement
   17249 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   17250 # otherwise set result to NONDIR_REPLACEMENT.
   17251 func_dirname ()
   17252 {
   17253   case ${1} in
   17254     */*) func_dirname_result="${1%/*}${2}" ;;
   17255     *  ) func_dirname_result="${3}" ;;
   17256   esac
   17257 }
   17258 
   17259 # func_basename file
   17260 func_basename ()
   17261 {
   17262   func_basename_result="${1##*/}"
   17263 }
   17264 
   17265 # func_dirname_and_basename file append nondir_replacement
   17266 # perform func_basename and func_dirname in a single function
   17267 # call:
   17268 #   dirname:  Compute the dirname of FILE.  If nonempty,
   17269 #             add APPEND to the result, otherwise set result
   17270 #             to NONDIR_REPLACEMENT.
   17271 #             value returned in "$func_dirname_result"
   17272 #   basename: Compute filename of FILE.
   17273 #             value retuned in "$func_basename_result"
   17274 # Implementation must be kept synchronized with func_dirname
   17275 # and func_basename. For efficiency, we do not delegate to
   17276 # those functions but instead duplicate the functionality here.
   17277 func_dirname_and_basename ()
   17278 {
   17279   case ${1} in
   17280     */*) func_dirname_result="${1%/*}${2}" ;;
   17281     *  ) func_dirname_result="${3}" ;;
   17282   esac
   17283   func_basename_result="${1##*/}"
   17284 }
   17285 
   17286 # func_stripname prefix suffix name
   17287 # strip PREFIX and SUFFIX off of NAME.
   17288 # PREFIX and SUFFIX must not contain globbing or regex special
   17289 # characters, hashes, percent signs, but SUFFIX may contain a leading
   17290 # dot (in which case that matches only a dot).
   17291 func_stripname ()
   17292 {
   17293   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   17294   # positional parameters, so assign one to ordinary parameter first.
   17295   func_stripname_result=${3}
   17296   func_stripname_result=${func_stripname_result#"${1}"}
   17297   func_stripname_result=${func_stripname_result%"${2}"}
   17298 }
   17299 
   17300 # func_opt_split
   17301 func_opt_split ()
   17302 {
   17303   func_opt_split_opt=${1%%=*}
   17304   func_opt_split_arg=${1#*=}
   17305 }
   17306 
   17307 # func_lo2o object
   17308 func_lo2o ()
   17309 {
   17310   case ${1} in
   17311     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   17312     *)    func_lo2o_result=${1} ;;
   17313   esac
   17314 }
   17315 
   17316 # func_xform libobj-or-source
   17317 func_xform ()
   17318 {
   17319   func_xform_result=${1%.*}.lo
   17320 }
   17321 
   17322 # func_arith arithmetic-term...
   17323 func_arith ()
   17324 {
   17325   func_arith_result=$(( $* ))
   17326 }
   17327 
   17328 # func_len string
   17329 # STRING may not start with a hyphen.
   17330 func_len ()
   17331 {
   17332   func_len_result=${#1}
   17333 }
   17334 
   17335 _LT_EOF
   17336     ;;
   17337   *) # Bourne compatible functions.
   17338     cat << \_LT_EOF >> "$cfgfile"
   17339 
   17340 # func_dirname file append nondir_replacement
   17341 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   17342 # otherwise set result to NONDIR_REPLACEMENT.
   17343 func_dirname ()
   17344 {
   17345   # Extract subdirectory from the argument.
   17346   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   17347   if test "X$func_dirname_result" = "X${1}"; then
   17348     func_dirname_result="${3}"
   17349   else
   17350     func_dirname_result="$func_dirname_result${2}"
   17351   fi
   17352 }
   17353 
   17354 # func_basename file
   17355 func_basename ()
   17356 {
   17357   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   17358 }
   17359 
   17360 
   17361 # func_stripname prefix suffix name
   17362 # strip PREFIX and SUFFIX off of NAME.
   17363 # PREFIX and SUFFIX must not contain globbing or regex special
   17364 # characters, hashes, percent signs, but SUFFIX may contain a leading
   17365 # dot (in which case that matches only a dot).
   17366 # func_strip_suffix prefix name
   17367 func_stripname ()
   17368 {
   17369   case ${2} in
   17370     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   17371     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   17372   esac
   17373 }
   17374 
   17375 # sed scripts:
   17376 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   17377 my_sed_long_arg='1s/^-[^=]*=//'
   17378 
   17379 # func_opt_split
   17380 func_opt_split ()
   17381 {
   17382   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   17383   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   17384 }
   17385 
   17386 # func_lo2o object
   17387 func_lo2o ()
   17388 {
   17389   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   17390 }
   17391 
   17392 # func_xform libobj-or-source
   17393 func_xform ()
   17394 {
   17395   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   17396 }
   17397 
   17398 # func_arith arithmetic-term...
   17399 func_arith ()
   17400 {
   17401   func_arith_result=`expr "$@"`
   17402 }
   17403 
   17404 # func_len string
   17405 # STRING may not start with a hyphen.
   17406 func_len ()
   17407 {
   17408   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   17409 }
   17410 
   17411 _LT_EOF
   17412 esac
   17413 
   17414 case $lt_shell_append in
   17415   yes)
   17416     cat << \_LT_EOF >> "$cfgfile"
   17417 
   17418 # func_append var value
   17419 # Append VALUE to the end of shell variable VAR.
   17420 func_append ()
   17421 {
   17422   eval "$1+=\$2"
   17423 }
   17424 _LT_EOF
   17425     ;;
   17426   *)
   17427     cat << \_LT_EOF >> "$cfgfile"
   17428 
   17429 # func_append var value
   17430 # Append VALUE to the end of shell variable VAR.
   17431 func_append ()
   17432 {
   17433   eval "$1=\$$1\$2"
   17434 }
   17435 
   17436 _LT_EOF
   17437     ;;
   17438   esac
   17439 
   17440 
   17441   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   17442     || (rm -f "$cfgfile"; exit 1)
   17443 
   17444   mv -f "$cfgfile" "$ofile" ||
   17445     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   17446   chmod +x "$ofile"
   17447 
   17448  ;;
   17449     "default-1":C)
   17450     for ac_file in $CONFIG_FILES; do
   17451       # Support "outfile[:infile[:infile...]]"
   17452       case "$ac_file" in
   17453         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   17454       esac
   17455       # PO directories have a Makefile.in generated from Makefile.in.in.
   17456       case "$ac_file" in */Makefile.in)
   17457         # Adjust a relative srcdir.
   17458         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   17459         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
   17460         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   17461         # In autoconf-2.13 it is called $ac_given_srcdir.
   17462         # In autoconf-2.50 it is called $srcdir.
   17463         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   17464         case "$ac_given_srcdir" in
   17465           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   17466           /*) top_srcdir="$ac_given_srcdir" ;;
   17467           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   17468         esac
   17469         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   17470           rm -f "$ac_dir/POTFILES"
   17471           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   17472           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   17473           POMAKEFILEDEPS="POTFILES.in"
   17474           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
   17475           # on $ac_dir but don't depend on user-specified configuration
   17476           # parameters.
   17477           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   17478             # The LINGUAS file contains the set of available languages.
   17479             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   17480               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
   17481             fi
   17482             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   17483             # Hide the ALL_LINGUAS assigment from automake.
   17484             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   17485             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   17486           else
   17487             # The set of available languages was given in configure.ac.
   17488             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   17489           fi
   17490           case "$ac_given_srcdir" in
   17491             .) srcdirpre= ;;
   17492             *) srcdirpre='$(srcdir)/' ;;
   17493           esac
   17494           POFILES=
   17495           GMOFILES=
   17496           UPDATEPOFILES=
   17497           DUMMYPOFILES=
   17498           for lang in $ALL_LINGUAS; do
   17499             POFILES="$POFILES $srcdirpre$lang.po"
   17500             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   17501             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   17502             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   17503           done
   17504           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   17505           # environment variable.
   17506           INST_LINGUAS=
   17507           if test -n "$ALL_LINGUAS"; then
   17508             for presentlang in $ALL_LINGUAS; do
   17509               useit=no
   17510               if test "%UNSET%" != "$LINGUAS"; then
   17511                 desiredlanguages="$LINGUAS"
   17512               else
   17513                 desiredlanguages="$ALL_LINGUAS"
   17514               fi
   17515               for desiredlang in $desiredlanguages; do
   17516                 # Use the presentlang catalog if desiredlang is
   17517                 #   a. equal to presentlang, or
   17518                 #   b. a variant of presentlang (because in this case,
   17519                 #      presentlang can be used as a fallback for messages
   17520                 #      which are not translated in the desiredlang catalog).
   17521                 case "$desiredlang" in
   17522                   "$presentlang"*) useit=yes;;
   17523                 esac
   17524               done
   17525               if test $useit = yes; then
   17526                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   17527               fi
   17528             done
   17529           fi
   17530           CATALOGS=
   17531           if test -n "$INST_LINGUAS"; then
   17532             for lang in $INST_LINGUAS; do
   17533               CATALOGS="$CATALOGS $lang.gmo"
   17534             done
   17535           fi
   17536           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   17537           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"
   17538           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   17539             if test -f "$f"; then
   17540               case "$f" in
   17541                 *.orig | *.bak | *~) ;;
   17542                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   17543               esac
   17544             fi
   17545           done
   17546         fi
   17547         ;;
   17548       esac
   17549     done ;;
   17550     "default":C)
   17551 case "$srcdir" in
   17552   .) srcdirpre= ;;
   17553   *) srcdirpre='$(srcdir)/' ;;
   17554 esac
   17555 POFILES=
   17556 GMOFILES=
   17557 for lang in dummy $OBSOLETE_ALL_LINGUAS; do
   17558   if test $lang != dummy; then
   17559     POFILES="$POFILES $srcdirpre$lang.po"
   17560     GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   17561   fi
   17562 done
   17563 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
   17564     -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
   17565     -e "s,@POFILES@,$POFILES," \
   17566     -e "s,@GMOFILES@,$GMOFILES," \
   17567     po/Makefile.in > po/Makefile ;;
   17568 
   17569   esac
   17570 done # for ac_tag
   17571 
   17572 
   17573 as_fn_exit 0
   17574 _ACEOF
   17575 ac_clean_files=$ac_clean_files_save
   17576 
   17577 test $ac_write_fail = 0 ||
   17578   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   17579 
   17580 
   17581 # configure is writing to config.log, and then calls config.status.
   17582 # config.status does its own redirection, appending to config.log.
   17583 # Unfortunately, on DOS this fails, as config.log is still kept open
   17584 # by configure, so config.status won't be able to write to it; its
   17585 # output is simply discarded.  So we exec the FD to /dev/null,
   17586 # effectively closing config.log, so it can be properly (re)opened and
   17587 # appended to by config.status.  When coming back to configure, we
   17588 # need to make the FD available again.
   17589 if test "$no_create" != yes; then
   17590   ac_cs_success=:
   17591   ac_config_status_args=
   17592   test "$silent" = yes &&
   17593     ac_config_status_args="$ac_config_status_args --quiet"
   17594   exec 5>/dev/null
   17595   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   17596   exec 5>>config.log
   17597   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   17598   # would make configure fail if this is the last instruction.
   17599   $ac_cs_success || as_fn_exit 1
   17600 fi
   17601 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   17602   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   17603 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   17604 fi
   17605 
   17606 
   17607 
   17608 touch config.status.tmp
   17609 if touch --reference=config.status config.status.tmp > /dev/null 2>&1; then
   17610   sed '/as_fn_exit 0/i \
   17611 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
   17612 touch --reference=Makefile Makefile.tmp \
   17613 mv Makefile.tmp Makefile \
   17614 ' config.status > config.status.tmp
   17615   touch --reference=config.status config.status.tmp
   17616   mv config.status.tmp config.status
   17617   chmod +x config.status
   17618   sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile > Makefile.tmp
   17619   touch --reference=Makefile Makefile.tmp
   17620   mv Makefile.tmp Makefile
   17621 else
   17622   rm -f config.status.tmp
   17623 fi
   17624