Home | History | Annotate | Line # | Download | only in bfd
configure revision 1.21
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for bfd 2.42.50.
      4 #
      5 #
      6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      7 #
      8 #
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## -------------------- ##
     12 ## M4sh Initialization. ##
     13 ## -------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in #(
     26   *posix*) :
     27     set -o posix ;; #(
     28   *) :
     29      ;;
     30 esac
     31 fi
     32 
     33 
     34 as_nl='
     35 '
     36 export as_nl
     37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     41 # Prefer a ksh shell builtin over an external printf program on Solaris,
     42 # but without wasting forks for bash or zsh.
     43 if test -z "$BASH_VERSION$ZSH_VERSION" \
     44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     45   as_echo='print -r --'
     46   as_echo_n='print -rn --'
     47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     48   as_echo='printf %s\n'
     49   as_echo_n='printf %s'
     50 else
     51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     53     as_echo_n='/usr/ucb/echo -n'
     54   else
     55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     56     as_echo_n_body='eval
     57       arg=$1;
     58       case $arg in #(
     59       *"$as_nl"*)
     60 	expr "X$arg" : "X\\(.*\\)$as_nl";
     61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     62       esac;
     63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     64     '
     65     export as_echo_n_body
     66     as_echo_n='sh -c $as_echo_n_body as_echo'
     67   fi
     68   export as_echo_body
     69   as_echo='sh -c $as_echo_body as_echo'
     70 fi
     71 
     72 # The user is always right.
     73 if test "${PATH_SEPARATOR+set}" != set; then
     74   PATH_SEPARATOR=:
     75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     77       PATH_SEPARATOR=';'
     78   }
     79 fi
     80 
     81 
     82 # IFS
     83 # We need space, tab and new line, in precisely that order.  Quoting is
     84 # there to prevent editors from complaining about space-tab.
     85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     86 # splitting by setting IFS to empty value.)
     87 IFS=" ""	$as_nl"
     88 
     89 # Find who we are.  Look in the path if we contain no directory separator.
     90 as_myself=
     91 case $0 in #((
     92   *[\\/]* ) as_myself=$0 ;;
     93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     94 for as_dir in $PATH
     95 do
     96   IFS=$as_save_IFS
     97   test -z "$as_dir" && as_dir=.
     98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     99   done
    100 IFS=$as_save_IFS
    101 
    102      ;;
    103 esac
    104 # We did not find ourselves, most probably we were run as `sh COMMAND'
    105 # in which case we are not to be found in the path.
    106 if test "x$as_myself" = x; then
    107   as_myself=$0
    108 fi
    109 if test ! -f "$as_myself"; then
    110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    111   exit 1
    112 fi
    113 
    114 # Unset variables that we do not need and which cause bugs (e.g. in
    115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    116 # suppresses any "Segmentation fault" message there.  '((' could
    117 # trigger a bug in pdksh 5.2.14.
    118 for as_var in BASH_ENV ENV MAIL MAILPATH
    119 do eval test x\${$as_var+set} = xset \
    120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    121 done
    122 PS1='$ '
    123 PS2='> '
    124 PS4='+ '
    125 
    126 # NLS nuisances.
    127 LC_ALL=C
    128 export LC_ALL
    129 LANGUAGE=C
    130 export LANGUAGE
    131 
    132 # CDPATH.
    133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    134 
    135 # Use a proper internal environment variable to ensure we don't fall
    136   # into an infinite loop, continuously re-executing ourselves.
    137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    138     _as_can_reexec=no; export _as_can_reexec;
    139     # We cannot yet assume a decent shell, so we have to provide a
    140 # neutralization value for shells without unset; and this also
    141 # works around shells that cannot unset nonexistent variables.
    142 # Preserve -v and -x to the replacement shell.
    143 BASH_ENV=/dev/null
    144 ENV=/dev/null
    145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    146 case $- in # ((((
    147   *v*x* | *x*v* ) as_opts=-vx ;;
    148   *v* ) as_opts=-v ;;
    149   *x* ) as_opts=-x ;;
    150   * ) as_opts= ;;
    151 esac
    152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    153 # Admittedly, this is quite paranoid, since all the known shells bail
    154 # out after a failed `exec'.
    155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    156 as_fn_exit 255
    157   fi
    158   # We don't want this to propagate to other subprocesses.
    159           { _as_can_reexec=; unset _as_can_reexec;}
    160 if test "x$CONFIG_SHELL" = x; then
    161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    162   emulate sh
    163   NULLCMD=:
    164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    165   # is contrary to our usage.  Disable this feature.
    166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    167   setopt NO_GLOB_SUBST
    168 else
    169   case \`(set -o) 2>/dev/null\` in #(
    170   *posix*) :
    171     set -o posix ;; #(
    172   *) :
    173      ;;
    174 esac
    175 fi
    176 "
    177   as_required="as_fn_return () { (exit \$1); }
    178 as_fn_success () { as_fn_return 0; }
    179 as_fn_failure () { as_fn_return 1; }
    180 as_fn_ret_success () { return 0; }
    181 as_fn_ret_failure () { return 1; }
    182 
    183 exitcode=0
    184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    189 
    190 else
    191   exitcode=1; echo positional parameters were not saved.
    192 fi
    193 test x\$exitcode = x0 || exit 1
    194 test -x / || exit 1"
    195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    199 test \$(( 1 + 1 )) = 2 || exit 1
    200 
    201   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    202     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     PATH=/empty FPATH=/empty; export PATH FPATH
    206     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    207       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    208   if (eval "$as_required") 2>/dev/null; then :
    209   as_have_required=yes
    210 else
    211   as_have_required=no
    212 fi
    213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    214 
    215 else
    216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    217 as_found=false
    218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    219 do
    220   IFS=$as_save_IFS
    221   test -z "$as_dir" && as_dir=.
    222   as_found=:
    223   case $as_dir in #(
    224 	 /*)
    225 	   for as_base in sh bash ksh sh5; do
    226 	     # Try only shells that exist, to save several forks.
    227 	     as_shell=$as_dir/$as_base
    228 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    229 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    230   CONFIG_SHELL=$as_shell as_have_required=yes
    231 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   break 2
    233 fi
    234 fi
    235 	   done;;
    236        esac
    237   as_found=false
    238 done
    239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    241   CONFIG_SHELL=$SHELL as_have_required=yes
    242 fi; }
    243 IFS=$as_save_IFS
    244 
    245 
    246       if test "x$CONFIG_SHELL" != x; then :
    247   export CONFIG_SHELL
    248              # We cannot yet assume a decent shell, so we have to provide a
    249 # neutralization value for shells without unset; and this also
    250 # works around shells that cannot unset nonexistent variables.
    251 # Preserve -v and -x to the replacement shell.
    252 BASH_ENV=/dev/null
    253 ENV=/dev/null
    254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    255 case $- in # ((((
    256   *v*x* | *x*v* ) as_opts=-vx ;;
    257   *v* ) as_opts=-v ;;
    258   *x* ) as_opts=-x ;;
    259   * ) as_opts= ;;
    260 esac
    261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    262 # Admittedly, this is quite paranoid, since all the known shells bail
    263 # out after a failed `exec'.
    264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    265 exit 255
    266 fi
    267 
    268     if test x$as_have_required = xno; then :
    269   $as_echo "$0: This script requires a shell more modern than all"
    270   $as_echo "$0: the shells that I found on your system."
    271   if test x${ZSH_VERSION+set} = xset ; then
    272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    274   else
    275     $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system,
    276 $0: including any error possibly output before this
    277 $0: message. Then install a modern shell, or manually run
    278 $0: the script under such a shell if you do have one."
    279   fi
    280   exit 1
    281 fi
    282 fi
    283 fi
    284 SHELL=${CONFIG_SHELL-/bin/sh}
    285 export SHELL
    286 # Unset more variables known to interfere with behavior of common tools.
    287 CLICOLOR_FORCE= GREP_OPTIONS=
    288 unset CLICOLOR_FORCE GREP_OPTIONS
    289 
    290 ## --------------------- ##
    291 ## M4sh Shell Functions. ##
    292 ## --------------------- ##
    293 # as_fn_unset VAR
    294 # ---------------
    295 # Portably unset VAR.
    296 as_fn_unset ()
    297 {
    298   { eval $1=; unset $1;}
    299 }
    300 as_unset=as_fn_unset
    301 
    302 # as_fn_set_status STATUS
    303 # -----------------------
    304 # Set $? to STATUS, without forking.
    305 as_fn_set_status ()
    306 {
    307   return $1
    308 } # as_fn_set_status
    309 
    310 # as_fn_exit STATUS
    311 # -----------------
    312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    313 as_fn_exit ()
    314 {
    315   set +e
    316   as_fn_set_status $1
    317   exit $1
    318 } # as_fn_exit
    319 
    320 # as_fn_mkdir_p
    321 # -------------
    322 # Create "$as_dir" as a directory, including parents if necessary.
    323 as_fn_mkdir_p ()
    324 {
    325 
    326   case $as_dir in #(
    327   -*) as_dir=./$as_dir;;
    328   esac
    329   test -d "$as_dir" || eval $as_mkdir_p || {
    330     as_dirs=
    331     while :; do
    332       case $as_dir in #(
    333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    334       *) as_qdir=$as_dir;;
    335       esac
    336       as_dirs="'$as_qdir' $as_dirs"
    337       as_dir=`$as_dirname -- "$as_dir" ||
    338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    339 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    340 	 X"$as_dir" : 'X\(//\)$' \| \
    341 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    342 $as_echo X"$as_dir" |
    343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)[^/].*/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)$/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\).*/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  s/.*/./; q'`
    360       test -d "$as_dir" && break
    361     done
    362     test -z "$as_dirs" || eval "mkdir $as_dirs"
    363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    364 
    365 
    366 } # as_fn_mkdir_p
    367 
    368 # as_fn_executable_p FILE
    369 # -----------------------
    370 # Test if FILE is an executable regular file.
    371 as_fn_executable_p ()
    372 {
    373   test -f "$1" && test -x "$1"
    374 } # as_fn_executable_p
    375 # as_fn_append VAR VALUE
    376 # ----------------------
    377 # Append the text in VALUE to the end of the definition contained in VAR. Take
    378 # advantage of any shell optimizations that allow amortized linear growth over
    379 # repeated appends, instead of the typical quadratic growth present in naive
    380 # implementations.
    381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    382   eval 'as_fn_append ()
    383   {
    384     eval $1+=\$2
    385   }'
    386 else
    387   as_fn_append ()
    388   {
    389     eval $1=\$$1\$2
    390   }
    391 fi # as_fn_append
    392 
    393 # as_fn_arith ARG...
    394 # ------------------
    395 # Perform arithmetic evaluation on the ARGs, and store the result in the
    396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    397 # must be portable across $(()) and expr.
    398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    399   eval 'as_fn_arith ()
    400   {
    401     as_val=$(( $* ))
    402   }'
    403 else
    404   as_fn_arith ()
    405   {
    406     as_val=`expr "$@" || test $? -eq 1`
    407   }
    408 fi # as_fn_arith
    409 
    410 
    411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    412 # ----------------------------------------
    413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    415 # script with STATUS, using 1 if that was 0.
    416 as_fn_error ()
    417 {
    418   as_status=$1; test $as_status -eq 0 && as_status=1
    419   if test "$4"; then
    420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    422   fi
    423   $as_echo "$as_me: error: $2" >&2
    424   as_fn_exit $as_status
    425 } # as_fn_error
    426 
    427 if expr a : '\(a\)' >/dev/null 2>&1 &&
    428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    429   as_expr=expr
    430 else
    431   as_expr=false
    432 fi
    433 
    434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    435   as_basename=basename
    436 else
    437   as_basename=false
    438 fi
    439 
    440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    441   as_dirname=dirname
    442 else
    443   as_dirname=false
    444 fi
    445 
    446 as_me=`$as_basename -- "$0" ||
    447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    448 	 X"$0" : 'X\(//\)$' \| \
    449 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    450 $as_echo X/"$0" |
    451     sed '/^.*\/\([^/][^/]*\)\/*$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\/\)$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\).*/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  s/.*/./; q'`
    464 
    465 # Avoid depending upon Character Ranges.
    466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    469 as_cr_digits='0123456789'
    470 as_cr_alnum=$as_cr_Letters$as_cr_digits
    471 
    472 
    473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    477   as_me=bfd_$as_me # XXX don't overwrite our caller's configure.lineno
    478   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    479   sed -n '
    480     p
    481     /[$]LINENO/=
    482   ' <$as_myself |
    483     sed '
    484       s/[$]LINENO.*/&-/
    485       t lineno
    486       b
    487       :lineno
    488       N
    489       :loop
    490       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    491       t loop
    492       s/-\n.*//
    493     ' >$as_me.lineno &&
    494   chmod +x "$as_me.lineno" ||
    495     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    496 
    497   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    498   # already done that, so ensure we don't try to do so again and fall
    499   # in an infinite loop.  This has already happened in practice.
    500   _as_can_reexec=no; export _as_can_reexec
    501   # Don't try to exec as it changes $[0], causing all sort of problems
    502   # (the dirname of $[0] is not the place where we might find the
    503   # original and so on.  Autoconf is especially sensitive to this).
    504   . "./$as_me.lineno"
    505   # Exit status is that of the last command.
    506   exit
    507 }
    508 
    509 ECHO_C= ECHO_N= ECHO_T=
    510 case `echo -n x` in #(((((
    511 -n*)
    512   case `echo 'xy\c'` in
    513   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    514   xy)  ECHO_C='\c';;
    515   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    516        ECHO_T='	';;
    517   esac;;
    518 *)
    519   ECHO_N='-n';;
    520 esac
    521 
    522 rm -f conf$$ conf$$.exe conf$$.file
    523 if test -d conf$$.dir; then
    524   rm -f conf$$.dir/conf$$.file
    525 else
    526   rm -f conf$$.dir
    527   mkdir conf$$.dir 2>/dev/null
    528 fi
    529 if (echo >conf$$.file) 2>/dev/null; then
    530   if ln -s conf$$.file conf$$ 2>/dev/null; then
    531     as_ln_s='ln -s'
    532     # ... but there are two gotchas:
    533     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    534     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    535     # In both cases, we have to default to `cp -pR'.
    536     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    537       as_ln_s='cp -pR'
    538   elif ln conf$$.file conf$$ 2>/dev/null; then
    539     as_ln_s=ln
    540   else
    541     as_ln_s='cp -pR'
    542   fi
    543 else
    544   as_ln_s='cp -pR'
    545 fi
    546 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    547 rmdir conf$$.dir 2>/dev/null
    548 
    549 if mkdir -p . 2>/dev/null; then
    550   as_mkdir_p='mkdir -p "$as_dir"'
    551 else
    552   test -d ./-p && rmdir ./-p
    553   as_mkdir_p=false
    554 fi
    555 
    556 as_test_x='test -x'
    557 as_executable_p=as_fn_executable_p
    558 
    559 # Sed expression to map a string onto a valid CPP name.
    560 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    561 
    562 # Sed expression to map a string onto a valid variable name.
    563 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 SHELL=${CONFIG_SHELL-/bin/sh}
    566 
    567 
    568 test -n "$DJDIR" || exec 7<&0 </dev/null
    569 exec 6>&1
    570 
    571 # Name of the host.
    572 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    573 # so uname gets run too.
    574 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    575 
    576 #
    577 # Initializations.
    578 #
    579 ac_default_prefix=/usr/local
    580 ac_clean_files=
    581 ac_config_libobj_dir=.
    582 LIBOBJS=
    583 cross_compiling=no
    584 subdirs=
    585 MFLAGS=
    586 MAKEFLAGS=
    587 
    588 # Identity of this package.
    589 PACKAGE_NAME='bfd'
    590 PACKAGE_TARNAME='bfd'
    591 PACKAGE_VERSION='2.42.50'
    592 PACKAGE_STRING='bfd 2.42.50'
    593 PACKAGE_BUGREPORT=''
    594 PACKAGE_URL=''
    595 
    596 ac_unique_file="libbfd.c"
    597 # Factoring default headers for most tests.
    598 ac_includes_default="\
    599 #include <stdio.h>
    600 #ifdef HAVE_SYS_TYPES_H
    601 # include <sys/types.h>
    602 #endif
    603 #ifdef HAVE_SYS_STAT_H
    604 # include <sys/stat.h>
    605 #endif
    606 #ifdef STDC_HEADERS
    607 # include <stdlib.h>
    608 # include <stddef.h>
    609 #else
    610 # ifdef HAVE_STDLIB_H
    611 #  include <stdlib.h>
    612 # endif
    613 #endif
    614 #ifdef HAVE_STRING_H
    615 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    616 #  include <memory.h>
    617 # endif
    618 # include <string.h>
    619 #endif
    620 #ifdef HAVE_STRINGS_H
    621 # include <strings.h>
    622 #endif
    623 #ifdef HAVE_INTTYPES_H
    624 # include <inttypes.h>
    625 #endif
    626 #ifdef HAVE_STDINT_H
    627 # include <stdint.h>
    628 #endif
    629 #ifdef HAVE_UNISTD_H
    630 # include <unistd.h>
    631 #endif"
    632 
    633 gt_needs=
    634 ac_header_list=
    635 ac_subst_vars='am__EXEEXT_FALSE
    636 am__EXEEXT_TRUE
    637 LTLIBOBJS
    638 LIBOBJS
    639 bfd_ufile_ptr
    640 bfd_file_ptr
    641 lt_cv_dlopen_libs
    642 supports_plugins
    643 COREFLAG
    644 COREFILE
    645 havevecs
    646 tdefaults
    647 bfd_default_target_size
    648 bfd_machines
    649 bfd_backends
    650 all_backends
    651 bfd64_libs
    652 wordsize
    653 TDEFINES
    654 SHARED_LIBADD
    655 SHARED_LDFLAGS
    656 LIBM
    657 ZSTD_LIBS
    658 ZSTD_CFLAGS
    659 PKG_CONFIG_LIBDIR
    660 PKG_CONFIG_PATH
    661 PKG_CONFIG
    662 zlibinc
    663 zlibdir
    664 EXEEXT_FOR_BUILD
    665 CC_FOR_BUILD
    666 HDEFINES
    667 CATOBJEXT
    668 GENCAT
    669 INSTOBJEXT
    670 DATADIRNAME
    671 CATALOGS
    672 INCINTL
    673 LIBINTL_DEP
    674 POSUB
    675 LTLIBINTL
    676 LIBINTL
    677 INTLLIBS
    678 LTLIBICONV
    679 LIBICONV
    680 INTL_MACOSX_LIBS
    681 MSGMERGE
    682 XGETTEXT
    683 GMSGFMT
    684 MSGFMT
    685 USE_NLS
    686 MKINSTALLDIRS
    687 bfdincludedir
    688 bfdlibdir
    689 target_noncanonical
    690 host_noncanonical
    691 INSTALL_LIBBFD_FALSE
    692 INSTALL_LIBBFD_TRUE
    693 GENINSRC_NEVER_FALSE
    694 GENINSRC_NEVER_TRUE
    695 MAINT
    696 MAINTAINER_MODE_FALSE
    697 MAINTAINER_MODE_TRUE
    698 WARN_WRITE_STRINGS
    699 NO_WERROR
    700 WARN_CFLAGS_FOR_BUILD
    701 WARN_CFLAGS
    702 REPORT_BUGS_TEXI
    703 REPORT_BUGS_TO
    704 PKGVERSION
    705 DEBUGDIR
    706 ENABLE_BFD_64_BIT_FALSE
    707 ENABLE_BFD_64_BIT_TRUE
    708 PLUGINS_FALSE
    709 PLUGINS_TRUE
    710 LARGEFILE_CPPFLAGS
    711 OTOOL64
    712 OTOOL
    713 LIPO
    714 NMEDIT
    715 DSYMUTIL
    716 OBJDUMP
    717 LN_S
    718 NM
    719 ac_ct_DUMPBIN
    720 DUMPBIN
    721 LD
    722 FGREP
    723 SED
    724 LIBTOOL
    725 EGREP
    726 GREP
    727 CPP
    728 am__fastdepCC_FALSE
    729 am__fastdepCC_TRUE
    730 CCDEPMODE
    731 am__nodep
    732 AMDEPBACKSLASH
    733 AMDEP_FALSE
    734 AMDEP_TRUE
    735 am__quote
    736 am__include
    737 DEPDIR
    738 OBJEXT
    739 EXEEXT
    740 ac_ct_CC
    741 CPPFLAGS
    742 LDFLAGS
    743 CFLAGS
    744 CC
    745 RANLIB
    746 AR
    747 AM_BACKSLASH
    748 AM_DEFAULT_VERBOSITY
    749 AM_DEFAULT_V
    750 AM_V
    751 am__untar
    752 am__tar
    753 AMTAR
    754 am__leading_dot
    755 SET_MAKE
    756 AWK
    757 mkdir_p
    758 MKDIR_P
    759 INSTALL_STRIP_PROGRAM
    760 STRIP
    761 install_sh
    762 MAKEINFO
    763 AUTOHEADER
    764 AUTOMAKE
    765 AUTOCONF
    766 ACLOCAL
    767 VERSION
    768 PACKAGE
    769 CYGPATH_W
    770 am__isrc
    771 INSTALL_DATA
    772 INSTALL_SCRIPT
    773 INSTALL_PROGRAM
    774 target_os
    775 target_vendor
    776 target_cpu
    777 target
    778 host_os
    779 host_vendor
    780 host_cpu
    781 host
    782 build_os
    783 build_vendor
    784 build_cpu
    785 build
    786 target_alias
    787 host_alias
    788 build_alias
    789 LIBS
    790 ECHO_T
    791 ECHO_N
    792 ECHO_C
    793 DEFS
    794 mandir
    795 localedir
    796 libdir
    797 psdir
    798 pdfdir
    799 dvidir
    800 htmldir
    801 infodir
    802 docdir
    803 oldincludedir
    804 includedir
    805 localstatedir
    806 sharedstatedir
    807 sysconfdir
    808 datadir
    809 datarootdir
    810 libexecdir
    811 sbindir
    812 bindir
    813 program_transform_name
    814 prefix
    815 exec_prefix
    816 PACKAGE_URL
    817 PACKAGE_BUGREPORT
    818 PACKAGE_STRING
    819 PACKAGE_VERSION
    820 PACKAGE_TARNAME
    821 PACKAGE_NAME
    822 PATH_SEPARATOR
    823 SHELL'
    824 ac_subst_files=''
    825 ac_user_opts='
    826 enable_option_checking
    827 enable_silent_rules
    828 enable_shared
    829 enable_dependency_tracking
    830 enable_static
    831 with_pic
    832 enable_fast_install
    833 with_gnu_ld
    834 enable_libtool_lock
    835 enable_plugins
    836 enable_largefile
    837 enable_checking
    838 enable_64_bit_bfd
    839 enable_targets
    840 enable_64_bit_archive
    841 with_mmap
    842 enable_secureplt
    843 enable_separate_code
    844 enable_leading_mingw64_underscores
    845 with_separate_debug_dir
    846 with_pkgversion
    847 with_bugurl
    848 enable_werror
    849 enable_build_warnings
    850 enable_maintainer_mode
    851 enable_install_libbfd
    852 enable_nls
    853 enable_rpath
    854 with_libiconv_prefix
    855 with_libiconv_type
    856 with_libintl_prefix
    857 with_libintl_type
    858 with_system_zlib
    859 with_zstd
    860 '
    861       ac_precious_vars='build_alias
    862 host_alias
    863 target_alias
    864 CC
    865 CFLAGS
    866 LDFLAGS
    867 LIBS
    868 CPPFLAGS
    869 CPP
    870 PKG_CONFIG
    871 PKG_CONFIG_PATH
    872 PKG_CONFIG_LIBDIR
    873 ZSTD_CFLAGS
    874 ZSTD_LIBS'
    875 
    876 
    877 # Initialize some variables set by options.
    878 ac_init_help=
    879 ac_init_version=false
    880 ac_unrecognized_opts=
    881 ac_unrecognized_sep=
    882 # The variables have the same names as the options, with
    883 # dashes changed to underlines.
    884 cache_file=/dev/null
    885 exec_prefix=NONE
    886 no_create=
    887 no_recursion=
    888 prefix=NONE
    889 program_prefix=NONE
    890 program_suffix=NONE
    891 program_transform_name=s,x,x,
    892 silent=
    893 site=
    894 srcdir=
    895 verbose=
    896 x_includes=NONE
    897 x_libraries=NONE
    898 
    899 # Installation directory options.
    900 # These are left unexpanded so users can "make install exec_prefix=/foo"
    901 # and all the variables that are supposed to be based on exec_prefix
    902 # by default will actually change.
    903 # Use braces instead of parens because sh, perl, etc. also accept them.
    904 # (The list follows the same order as the GNU Coding Standards.)
    905 bindir='${exec_prefix}/bin'
    906 sbindir='${exec_prefix}/sbin'
    907 libexecdir='${exec_prefix}/libexec'
    908 datarootdir='${prefix}/share'
    909 datadir='${datarootdir}'
    910 sysconfdir='${prefix}/etc'
    911 sharedstatedir='${prefix}/com'
    912 localstatedir='${prefix}/var'
    913 includedir='${prefix}/include'
    914 oldincludedir='/usr/include'
    915 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    916 infodir='${datarootdir}/info'
    917 htmldir='${docdir}'
    918 dvidir='${docdir}'
    919 pdfdir='${docdir}'
    920 psdir='${docdir}'
    921 libdir='${exec_prefix}/lib'
    922 localedir='${datarootdir}/locale'
    923 mandir='${datarootdir}/man'
    924 
    925 ac_prev=
    926 ac_dashdash=
    927 for ac_option
    928 do
    929   # If the previous option needs an argument, assign it.
    930   if test -n "$ac_prev"; then
    931     eval $ac_prev=\$ac_option
    932     ac_prev=
    933     continue
    934   fi
    935 
    936   case $ac_option in
    937   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    938   *=)   ac_optarg= ;;
    939   *)    ac_optarg=yes ;;
    940   esac
    941 
    942   # Accept the important Cygnus configure options, so we can diagnose typos.
    943 
    944   case $ac_dashdash$ac_option in
    945   --)
    946     ac_dashdash=yes ;;
    947 
    948   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    949     ac_prev=bindir ;;
    950   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    951     bindir=$ac_optarg ;;
    952 
    953   -build | --build | --buil | --bui | --bu)
    954     ac_prev=build_alias ;;
    955   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    956     build_alias=$ac_optarg ;;
    957 
    958   -cache-file | --cache-file | --cache-fil | --cache-fi \
    959   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    960     ac_prev=cache_file ;;
    961   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    962   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    963     cache_file=$ac_optarg ;;
    964 
    965   --config-cache | -C)
    966     cache_file=config.cache ;;
    967 
    968   -datadir | --datadir | --datadi | --datad)
    969     ac_prev=datadir ;;
    970   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    971     datadir=$ac_optarg ;;
    972 
    973   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    974   | --dataroo | --dataro | --datar)
    975     ac_prev=datarootdir ;;
    976   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    977   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    978     datarootdir=$ac_optarg ;;
    979 
    980   -disable-* | --disable-*)
    981     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    982     # Reject names that are not valid shell variable names.
    983     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    984       as_fn_error $? "invalid feature name: $ac_useropt"
    985     ac_useropt_orig=$ac_useropt
    986     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    987     case $ac_user_opts in
    988       *"
    989 "enable_$ac_useropt"
    990 "*) ;;
    991       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    992 	 ac_unrecognized_sep=', ';;
    993     esac
    994     eval enable_$ac_useropt=no ;;
    995 
    996   -docdir | --docdir | --docdi | --doc | --do)
    997     ac_prev=docdir ;;
    998   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    999     docdir=$ac_optarg ;;
   1000 
   1001   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1002     ac_prev=dvidir ;;
   1003   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1004     dvidir=$ac_optarg ;;
   1005 
   1006   -enable-* | --enable-*)
   1007     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1008     # Reject names that are not valid shell variable names.
   1009     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1010       as_fn_error $? "invalid feature name: $ac_useropt"
   1011     ac_useropt_orig=$ac_useropt
   1012     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1013     case $ac_user_opts in
   1014       *"
   1015 "enable_$ac_useropt"
   1016 "*) ;;
   1017       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1018 	 ac_unrecognized_sep=', ';;
   1019     esac
   1020     eval enable_$ac_useropt=\$ac_optarg ;;
   1021 
   1022   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1023   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1024   | --exec | --exe | --ex)
   1025     ac_prev=exec_prefix ;;
   1026   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1027   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1028   | --exec=* | --exe=* | --ex=*)
   1029     exec_prefix=$ac_optarg ;;
   1030 
   1031   -gas | --gas | --ga | --g)
   1032     # Obsolete; use --with-gas.
   1033     with_gas=yes ;;
   1034 
   1035   -help | --help | --hel | --he | -h)
   1036     ac_init_help=long ;;
   1037   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1038     ac_init_help=recursive ;;
   1039   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1040     ac_init_help=short ;;
   1041 
   1042   -host | --host | --hos | --ho)
   1043     ac_prev=host_alias ;;
   1044   -host=* | --host=* | --hos=* | --ho=*)
   1045     host_alias=$ac_optarg ;;
   1046 
   1047   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1048     ac_prev=htmldir ;;
   1049   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1050   | --ht=*)
   1051     htmldir=$ac_optarg ;;
   1052 
   1053   -includedir | --includedir | --includedi | --included | --include \
   1054   | --includ | --inclu | --incl | --inc)
   1055     ac_prev=includedir ;;
   1056   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1057   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1058     includedir=$ac_optarg ;;
   1059 
   1060   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1061     ac_prev=infodir ;;
   1062   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1063     infodir=$ac_optarg ;;
   1064 
   1065   -libdir | --libdir | --libdi | --libd)
   1066     ac_prev=libdir ;;
   1067   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1068     libdir=$ac_optarg ;;
   1069 
   1070   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1071   | --libexe | --libex | --libe)
   1072     ac_prev=libexecdir ;;
   1073   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1074   | --libexe=* | --libex=* | --libe=*)
   1075     libexecdir=$ac_optarg ;;
   1076 
   1077   -localedir | --localedir | --localedi | --localed | --locale)
   1078     ac_prev=localedir ;;
   1079   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1080     localedir=$ac_optarg ;;
   1081 
   1082   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1083   | --localstate | --localstat | --localsta | --localst | --locals)
   1084     ac_prev=localstatedir ;;
   1085   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1086   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1087     localstatedir=$ac_optarg ;;
   1088 
   1089   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1090     ac_prev=mandir ;;
   1091   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1092     mandir=$ac_optarg ;;
   1093 
   1094   -nfp | --nfp | --nf)
   1095     # Obsolete; use --without-fp.
   1096     with_fp=no ;;
   1097 
   1098   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1099   | --no-cr | --no-c | -n)
   1100     no_create=yes ;;
   1101 
   1102   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1103   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1104     no_recursion=yes ;;
   1105 
   1106   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1107   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1108   | --oldin | --oldi | --old | --ol | --o)
   1109     ac_prev=oldincludedir ;;
   1110   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1111   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1112   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1113     oldincludedir=$ac_optarg ;;
   1114 
   1115   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1116     ac_prev=prefix ;;
   1117   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1118     prefix=$ac_optarg ;;
   1119 
   1120   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1121   | --program-pre | --program-pr | --program-p)
   1122     ac_prev=program_prefix ;;
   1123   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1124   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1125     program_prefix=$ac_optarg ;;
   1126 
   1127   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1128   | --program-suf | --program-su | --program-s)
   1129     ac_prev=program_suffix ;;
   1130   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1131   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1132     program_suffix=$ac_optarg ;;
   1133 
   1134   -program-transform-name | --program-transform-name \
   1135   | --program-transform-nam | --program-transform-na \
   1136   | --program-transform-n | --program-transform- \
   1137   | --program-transform | --program-transfor \
   1138   | --program-transfo | --program-transf \
   1139   | --program-trans | --program-tran \
   1140   | --progr-tra | --program-tr | --program-t)
   1141     ac_prev=program_transform_name ;;
   1142   -program-transform-name=* | --program-transform-name=* \
   1143   | --program-transform-nam=* | --program-transform-na=* \
   1144   | --program-transform-n=* | --program-transform-=* \
   1145   | --program-transform=* | --program-transfor=* \
   1146   | --program-transfo=* | --program-transf=* \
   1147   | --program-trans=* | --program-tran=* \
   1148   | --progr-tra=* | --program-tr=* | --program-t=*)
   1149     program_transform_name=$ac_optarg ;;
   1150 
   1151   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1152     ac_prev=pdfdir ;;
   1153   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1154     pdfdir=$ac_optarg ;;
   1155 
   1156   -psdir | --psdir | --psdi | --psd | --ps)
   1157     ac_prev=psdir ;;
   1158   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1159     psdir=$ac_optarg ;;
   1160 
   1161   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1162   | -silent | --silent | --silen | --sile | --sil)
   1163     silent=yes ;;
   1164 
   1165   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1166     ac_prev=sbindir ;;
   1167   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1168   | --sbi=* | --sb=*)
   1169     sbindir=$ac_optarg ;;
   1170 
   1171   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1172   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1173   | --sharedst | --shareds | --shared | --share | --shar \
   1174   | --sha | --sh)
   1175     ac_prev=sharedstatedir ;;
   1176   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1177   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1178   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1179   | --sha=* | --sh=*)
   1180     sharedstatedir=$ac_optarg ;;
   1181 
   1182   -site | --site | --sit)
   1183     ac_prev=site ;;
   1184   -site=* | --site=* | --sit=*)
   1185     site=$ac_optarg ;;
   1186 
   1187   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1188     ac_prev=srcdir ;;
   1189   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1190     srcdir=$ac_optarg ;;
   1191 
   1192   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1193   | --syscon | --sysco | --sysc | --sys | --sy)
   1194     ac_prev=sysconfdir ;;
   1195   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1196   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1197     sysconfdir=$ac_optarg ;;
   1198 
   1199   -target | --target | --targe | --targ | --tar | --ta | --t)
   1200     ac_prev=target_alias ;;
   1201   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1202     target_alias=$ac_optarg ;;
   1203 
   1204   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1205     verbose=yes ;;
   1206 
   1207   -version | --version | --versio | --versi | --vers | -V)
   1208     ac_init_version=: ;;
   1209 
   1210   -with-* | --with-*)
   1211     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1212     # Reject names that are not valid shell variable names.
   1213     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1214       as_fn_error $? "invalid package name: $ac_useropt"
   1215     ac_useropt_orig=$ac_useropt
   1216     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1217     case $ac_user_opts in
   1218       *"
   1219 "with_$ac_useropt"
   1220 "*) ;;
   1221       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1222 	 ac_unrecognized_sep=', ';;
   1223     esac
   1224     eval with_$ac_useropt=\$ac_optarg ;;
   1225 
   1226   -without-* | --without-*)
   1227     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1228     # Reject names that are not valid shell variable names.
   1229     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1230       as_fn_error $? "invalid package name: $ac_useropt"
   1231     ac_useropt_orig=$ac_useropt
   1232     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1233     case $ac_user_opts in
   1234       *"
   1235 "with_$ac_useropt"
   1236 "*) ;;
   1237       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1238 	 ac_unrecognized_sep=', ';;
   1239     esac
   1240     eval with_$ac_useropt=no ;;
   1241 
   1242   --x)
   1243     # Obsolete; use --with-x.
   1244     with_x=yes ;;
   1245 
   1246   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1247   | --x-incl | --x-inc | --x-in | --x-i)
   1248     ac_prev=x_includes ;;
   1249   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1250   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1251     x_includes=$ac_optarg ;;
   1252 
   1253   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1254   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1255     ac_prev=x_libraries ;;
   1256   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1257   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1258     x_libraries=$ac_optarg ;;
   1259 
   1260   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1261 Try \`$0 --help' for more information"
   1262     ;;
   1263 
   1264   *=*)
   1265     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1266     # Reject names that are not valid shell variable names.
   1267     case $ac_envvar in #(
   1268       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1269       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1270     esac
   1271     eval $ac_envvar=\$ac_optarg
   1272     export $ac_envvar ;;
   1273 
   1274   *)
   1275     # FIXME: should be removed in autoconf 3.0.
   1276     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1277     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1278       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1279     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1280     ;;
   1281 
   1282   esac
   1283 done
   1284 
   1285 if test -n "$ac_prev"; then
   1286   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1287   as_fn_error $? "missing argument to $ac_option"
   1288 fi
   1289 
   1290 if test -n "$ac_unrecognized_opts"; then
   1291   case $enable_option_checking in
   1292     no) ;;
   1293     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1294     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1295   esac
   1296 fi
   1297 
   1298 # Check all directory arguments for consistency.
   1299 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1300 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1301 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1302 		libdir localedir mandir
   1303 do
   1304   eval ac_val=\$$ac_var
   1305   # Remove trailing slashes.
   1306   case $ac_val in
   1307     */ )
   1308       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1309       eval $ac_var=\$ac_val;;
   1310   esac
   1311   # Be sure to have absolute directory names.
   1312   case $ac_val in
   1313     [\\/$]* | ?:[\\/]* )  continue;;
   1314     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1315   esac
   1316   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1317 done
   1318 
   1319 # There might be people who depend on the old broken behavior: `$host'
   1320 # used to hold the argument of --host etc.
   1321 # FIXME: To remove some day.
   1322 build=$build_alias
   1323 host=$host_alias
   1324 target=$target_alias
   1325 
   1326 # FIXME: To remove some day.
   1327 if test "x$host_alias" != x; then
   1328   if test "x$build_alias" = x; then
   1329     cross_compiling=maybe
   1330   elif test "x$build_alias" != "x$host_alias"; then
   1331     cross_compiling=yes
   1332   fi
   1333 fi
   1334 
   1335 ac_tool_prefix=
   1336 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1337 
   1338 test "$silent" = yes && exec 6>/dev/null
   1339 
   1340 
   1341 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1342 ac_ls_di=`ls -di .` &&
   1343 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1344   as_fn_error $? "working directory cannot be determined"
   1345 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1346   as_fn_error $? "pwd does not report name of working directory"
   1347 
   1348 
   1349 # Find the source files, if location was not specified.
   1350 if test -z "$srcdir"; then
   1351   ac_srcdir_defaulted=yes
   1352   # Try the directory containing this script, then the parent directory.
   1353   ac_confdir=`$as_dirname -- "$as_myself" ||
   1354 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1355 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1356 	 X"$as_myself" : 'X\(//\)$' \| \
   1357 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1358 $as_echo X"$as_myself" |
   1359     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1360 	    s//\1/
   1361 	    q
   1362 	  }
   1363 	  /^X\(\/\/\)[^/].*/{
   1364 	    s//\1/
   1365 	    q
   1366 	  }
   1367 	  /^X\(\/\/\)$/{
   1368 	    s//\1/
   1369 	    q
   1370 	  }
   1371 	  /^X\(\/\).*/{
   1372 	    s//\1/
   1373 	    q
   1374 	  }
   1375 	  s/.*/./; q'`
   1376   srcdir=$ac_confdir
   1377   if test ! -r "$srcdir/$ac_unique_file"; then
   1378     srcdir=..
   1379   fi
   1380 else
   1381   ac_srcdir_defaulted=no
   1382 fi
   1383 if test ! -r "$srcdir/$ac_unique_file"; then
   1384   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1385   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1386 fi
   1387 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1388 ac_abs_confdir=`(
   1389 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1390 	pwd)`
   1391 # When building in place, set srcdir=.
   1392 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1393   srcdir=.
   1394 fi
   1395 # Remove unnecessary trailing slashes from srcdir.
   1396 # Double slashes in file names in object file debugging info
   1397 # mess up M-x gdb in Emacs.
   1398 case $srcdir in
   1399 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1400 esac
   1401 for ac_var in $ac_precious_vars; do
   1402   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1403   eval ac_env_${ac_var}_value=\$${ac_var}
   1404   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1405   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1406 done
   1407 
   1408 #
   1409 # Report the --help message.
   1410 #
   1411 if test "$ac_init_help" = "long"; then
   1412   # Omit some internal or obsolete options to make the list less imposing.
   1413   # This message is too long to be a string in the A/UX 3.1 sh.
   1414   cat <<_ACEOF
   1415 \`configure' configures bfd 2.42.50 to adapt to many kinds of systems.
   1416 
   1417 Usage: $0 [OPTION]... [VAR=VALUE]...
   1418 
   1419 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1420 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1421 
   1422 Defaults for the options are specified in brackets.
   1423 
   1424 Configuration:
   1425   -h, --help              display this help and exit
   1426       --help=short        display options specific to this package
   1427       --help=recursive    display the short help of all the included packages
   1428   -V, --version           display version information and exit
   1429   -q, --quiet, --silent   do not print \`checking ...' messages
   1430       --cache-file=FILE   cache test results in FILE [disabled]
   1431   -C, --config-cache      alias for \`--cache-file=config.cache'
   1432   -n, --no-create         do not create output files
   1433       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1434 
   1435 Installation directories:
   1436   --prefix=PREFIX         install architecture-independent files in PREFIX
   1437                           [$ac_default_prefix]
   1438   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1439                           [PREFIX]
   1440 
   1441 By default, \`make install' will install all the files in
   1442 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1443 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1444 for instance \`--prefix=\$HOME'.
   1445 
   1446 For better control, use the options below.
   1447 
   1448 Fine tuning of the installation directories:
   1449   --bindir=DIR            user executables [EPREFIX/bin]
   1450   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1451   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1452   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1453   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1454   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1455   --libdir=DIR            object code libraries [EPREFIX/lib]
   1456   --includedir=DIR        C header files [PREFIX/include]
   1457   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1458   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1459   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1460   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1461   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1462   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1463   --docdir=DIR            documentation root [DATAROOTDIR/doc/bfd]
   1464   --htmldir=DIR           html documentation [DOCDIR]
   1465   --dvidir=DIR            dvi documentation [DOCDIR]
   1466   --pdfdir=DIR            pdf documentation [DOCDIR]
   1467   --psdir=DIR             ps documentation [DOCDIR]
   1468 _ACEOF
   1469 
   1470   cat <<\_ACEOF
   1471 
   1472 Program names:
   1473   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1474   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1475   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1476 
   1477 System types:
   1478   --build=BUILD     configure for building on BUILD [guessed]
   1479   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1480   --target=TARGET   configure for building compilers for TARGET [HOST]
   1481 _ACEOF
   1482 fi
   1483 
   1484 if test -n "$ac_init_help"; then
   1485   case $ac_init_help in
   1486      short | recursive ) echo "Configuration of bfd 2.42.50:";;
   1487    esac
   1488   cat <<\_ACEOF
   1489 
   1490 Optional Features:
   1491   --disable-option-checking  ignore unrecognized --enable/--with options
   1492   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1493   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1494   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1495   --disable-silent-rules  verbose build output (undo: "make V=0")
   1496   --enable-shared[=PKGS]  build shared libraries [default=no]
   1497   --enable-dependency-tracking
   1498                           do not reject slow dependency extractors
   1499   --disable-dependency-tracking
   1500                           speeds up one-time build
   1501   --enable-static[=PKGS]  build static libraries [default=yes]
   1502   --enable-fast-install[=PKGS]
   1503                           optimize for fast installation [default=yes]
   1504   --disable-libtool-lock  avoid locking (might break parallel builds)
   1505   --enable-plugins        Enable support for plugins
   1506   --disable-largefile     omit support for large files
   1507   --enable-checking       enable run-time checks
   1508   --enable-64-bit-bfd     64-bit support (on hosts with narrower word sizes)
   1509   --enable-targets        alternative target configurations
   1510   --enable-64-bit-archive force 64-bit archives
   1511   --enable-secureplt      Default to creating read-only plt entries
   1512   --enable-separate-code  enable -z separate-code in ELF linker by default
   1513   --enable-leading-mingw64-underscores
   1514                           Enable leading underscores on 64 bit mingw targets
   1515   --enable-werror         treat compile warnings as errors
   1516   --enable-build-warnings enable build-time compiler warnings
   1517   --enable-maintainer-mode
   1518                           enable make rules and dependencies not useful (and
   1519                           sometimes confusing) to the casual installer
   1520   --enable-install-libbfd controls installation of libbfd and related headers
   1521   --disable-nls           do not use Native Language Support
   1522   --disable-rpath         do not hardcode runtime library paths
   1523 
   1524 Optional Packages:
   1525   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1526   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1527   --with-pic              try to use only PIC/non-PIC objects [default=use
   1528                           both]
   1529   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1530   --with-mmap             try using mmap for BFD input files if available
   1531   --with-separate-debug-dir=DIR
   1532                           Look for global separate debug info in DIR
   1533                           [[default=LIBDIR/debug]]
   1534   --with-pkgversion=PKG   Use PKG in the version string in place of "GNU
   1535                           Binutils"
   1536   --with-bugurl=URL       Direct users to URL to report a bug
   1537   --with-gnu-ld           assume the C compiler uses GNU ld default=no
   1538   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1539   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1540   --with-libiconv-type=TYPE     type of library to search for (auto/static/shared)
   1541   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
   1542   --without-libintl-prefix     don't search for libintl in includedir and libdir
   1543   --with-libintl-type=TYPE     type of library to search for (auto/static/shared)
   1544   --with-system-zlib      use installed libz
   1545   --with-zstd             support zstd compressed debug sections
   1546                           (default=auto)
   1547 
   1548 Some influential environment variables:
   1549   CC          C compiler command
   1550   CFLAGS      C compiler flags
   1551   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1552               nonstandard directory <lib dir>
   1553   LIBS        libraries to pass to the linker, e.g. -l<library>
   1554   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1555               you have headers in a nonstandard directory <include dir>
   1556   CPP         C preprocessor
   1557   PKG_CONFIG  path to pkg-config utility
   1558   PKG_CONFIG_PATH
   1559               directories to add to pkg-config's search path
   1560   PKG_CONFIG_LIBDIR
   1561               path overriding pkg-config's built-in search path
   1562   ZSTD_CFLAGS C compiler flags for ZSTD, overriding pkg-config
   1563   ZSTD_LIBS   linker flags for ZSTD, overriding pkg-config
   1564 
   1565 Use these variables to override the choices made by `configure' or to help
   1566 it to find libraries and programs with nonstandard names/locations.
   1567 
   1568 Report bugs to the package provider.
   1569 _ACEOF
   1570 ac_status=$?
   1571 fi
   1572 
   1573 if test "$ac_init_help" = "recursive"; then
   1574   # If there are subdirs, report their specific --help.
   1575   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1576     test -d "$ac_dir" ||
   1577       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1578       continue
   1579     ac_builddir=.
   1580 
   1581 case "$ac_dir" in
   1582 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1583 *)
   1584   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1585   # A ".." for each directory in $ac_dir_suffix.
   1586   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1587   case $ac_top_builddir_sub in
   1588   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1589   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1590   esac ;;
   1591 esac
   1592 ac_abs_top_builddir=$ac_pwd
   1593 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1594 # for backward compatibility:
   1595 ac_top_builddir=$ac_top_build_prefix
   1596 
   1597 case $srcdir in
   1598   .)  # We are building in place.
   1599     ac_srcdir=.
   1600     ac_top_srcdir=$ac_top_builddir_sub
   1601     ac_abs_top_srcdir=$ac_pwd ;;
   1602   [\\/]* | ?:[\\/]* )  # Absolute name.
   1603     ac_srcdir=$srcdir$ac_dir_suffix;
   1604     ac_top_srcdir=$srcdir
   1605     ac_abs_top_srcdir=$srcdir ;;
   1606   *) # Relative name.
   1607     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1608     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1609     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1610 esac
   1611 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1612 
   1613     cd "$ac_dir" || { ac_status=$?; continue; }
   1614     # Check for guested configure.
   1615     if test -f "$ac_srcdir/configure.gnu"; then
   1616       echo &&
   1617       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1618     elif test -f "$ac_srcdir/configure"; then
   1619       echo &&
   1620       $SHELL "$ac_srcdir/configure" --help=recursive
   1621     else
   1622       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1623     fi || ac_status=$?
   1624     cd "$ac_pwd" || { ac_status=$?; break; }
   1625   done
   1626 fi
   1627 
   1628 test -n "$ac_init_help" && exit $ac_status
   1629 if $ac_init_version; then
   1630   cat <<\_ACEOF
   1631 bfd configure 2.42.50
   1632 generated by GNU Autoconf 2.69
   1633 
   1634 Copyright (C) 2012 Free Software Foundation, Inc.
   1635 This configure script is free software; the Free Software Foundation
   1636 gives unlimited permission to copy, distribute and modify it.
   1637 _ACEOF
   1638   exit
   1639 fi
   1640 
   1641 ## ------------------------ ##
   1642 ## Autoconf initialization. ##
   1643 ## ------------------------ ##
   1644 
   1645 # ac_fn_c_try_compile LINENO
   1646 # --------------------------
   1647 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1648 ac_fn_c_try_compile ()
   1649 {
   1650   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1651   rm -f conftest.$ac_objext
   1652   if { { ac_try="$ac_compile"
   1653 case "(($ac_try" in
   1654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1655   *) ac_try_echo=$ac_try;;
   1656 esac
   1657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1658 $as_echo "$ac_try_echo"; } >&5
   1659   (eval "$ac_compile") 2>conftest.err
   1660   ac_status=$?
   1661   if test -s conftest.err; then
   1662     grep -v '^ *+' conftest.err >conftest.er1
   1663     cat conftest.er1 >&5
   1664     mv -f conftest.er1 conftest.err
   1665   fi
   1666   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1667   test $ac_status = 0; } && {
   1668 	 test -z "$ac_c_werror_flag" ||
   1669 	 test ! -s conftest.err
   1670        } && test -s conftest.$ac_objext; then :
   1671   ac_retval=0
   1672 else
   1673   $as_echo "$as_me: failed program was:" >&5
   1674 sed 's/^/| /' conftest.$ac_ext >&5
   1675 
   1676 	ac_retval=1
   1677 fi
   1678   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1679   as_fn_set_status $ac_retval
   1680 
   1681 } # ac_fn_c_try_compile
   1682 
   1683 # ac_fn_c_try_cpp LINENO
   1684 # ----------------------
   1685 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1686 ac_fn_c_try_cpp ()
   1687 {
   1688   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1689   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1690 case "(($ac_try" in
   1691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1692   *) ac_try_echo=$ac_try;;
   1693 esac
   1694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1695 $as_echo "$ac_try_echo"; } >&5
   1696   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1697   ac_status=$?
   1698   if test -s conftest.err; then
   1699     grep -v '^ *+' conftest.err >conftest.er1
   1700     cat conftest.er1 >&5
   1701     mv -f conftest.er1 conftest.err
   1702   fi
   1703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1704   test $ac_status = 0; } > conftest.i && {
   1705 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1706 	 test ! -s conftest.err
   1707        }; then :
   1708   ac_retval=0
   1709 else
   1710   $as_echo "$as_me: failed program was:" >&5
   1711 sed 's/^/| /' conftest.$ac_ext >&5
   1712 
   1713     ac_retval=1
   1714 fi
   1715   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1716   as_fn_set_status $ac_retval
   1717 
   1718 } # ac_fn_c_try_cpp
   1719 
   1720 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1721 # -------------------------------------------------------
   1722 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1723 # the include files in INCLUDES and setting the cache variable VAR
   1724 # accordingly.
   1725 ac_fn_c_check_header_mongrel ()
   1726 {
   1727   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1728   if eval \${$3+:} false; then :
   1729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1730 $as_echo_n "checking for $2... " >&6; }
   1731 if eval \${$3+:} false; then :
   1732   $as_echo_n "(cached) " >&6
   1733 fi
   1734 eval ac_res=\$$3
   1735 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1736 $as_echo "$ac_res" >&6; }
   1737 else
   1738   # Is the header compilable?
   1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1740 $as_echo_n "checking $2 usability... " >&6; }
   1741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1742 /* end confdefs.h.  */
   1743 $4
   1744 #include <$2>
   1745 _ACEOF
   1746 if ac_fn_c_try_compile "$LINENO"; then :
   1747   ac_header_compiler=yes
   1748 else
   1749   ac_header_compiler=no
   1750 fi
   1751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1753 $as_echo "$ac_header_compiler" >&6; }
   1754 
   1755 # Is the header present?
   1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1757 $as_echo_n "checking $2 presence... " >&6; }
   1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1759 /* end confdefs.h.  */
   1760 #include <$2>
   1761 _ACEOF
   1762 if ac_fn_c_try_cpp "$LINENO"; then :
   1763   ac_header_preproc=yes
   1764 else
   1765   ac_header_preproc=no
   1766 fi
   1767 rm -f conftest.err conftest.i conftest.$ac_ext
   1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1769 $as_echo "$ac_header_preproc" >&6; }
   1770 
   1771 # So?  What about this header?
   1772 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1773   yes:no: )
   1774     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1775 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1776     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1777 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1778     ;;
   1779   no:yes:* )
   1780     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1781 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1782     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1783 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1784     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1785 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1786     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1787 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1788     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1789 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1790     ;;
   1791 esac
   1792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1793 $as_echo_n "checking for $2... " >&6; }
   1794 if eval \${$3+:} false; then :
   1795   $as_echo_n "(cached) " >&6
   1796 else
   1797   eval "$3=\$ac_header_compiler"
   1798 fi
   1799 eval ac_res=\$$3
   1800 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1801 $as_echo "$ac_res" >&6; }
   1802 fi
   1803   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1804 
   1805 } # ac_fn_c_check_header_mongrel
   1806 
   1807 # ac_fn_c_try_run LINENO
   1808 # ----------------------
   1809 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1810 # that executables *can* be run.
   1811 ac_fn_c_try_run ()
   1812 {
   1813   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1814   if { { ac_try="$ac_link"
   1815 case "(($ac_try" in
   1816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1817   *) ac_try_echo=$ac_try;;
   1818 esac
   1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1820 $as_echo "$ac_try_echo"; } >&5
   1821   (eval "$ac_link") 2>&5
   1822   ac_status=$?
   1823   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1824   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1825   { { case "(($ac_try" in
   1826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1827   *) ac_try_echo=$ac_try;;
   1828 esac
   1829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1830 $as_echo "$ac_try_echo"; } >&5
   1831   (eval "$ac_try") 2>&5
   1832   ac_status=$?
   1833   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1834   test $ac_status = 0; }; }; then :
   1835   ac_retval=0
   1836 else
   1837   $as_echo "$as_me: program exited with status $ac_status" >&5
   1838        $as_echo "$as_me: failed program was:" >&5
   1839 sed 's/^/| /' conftest.$ac_ext >&5
   1840 
   1841        ac_retval=$ac_status
   1842 fi
   1843   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1844   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1845   as_fn_set_status $ac_retval
   1846 
   1847 } # ac_fn_c_try_run
   1848 
   1849 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1850 # -------------------------------------------------------
   1851 # Tests whether HEADER exists and can be compiled using the include files in
   1852 # INCLUDES, setting the cache variable VAR accordingly.
   1853 ac_fn_c_check_header_compile ()
   1854 {
   1855   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1857 $as_echo_n "checking for $2... " >&6; }
   1858 if eval \${$3+:} false; then :
   1859   $as_echo_n "(cached) " >&6
   1860 else
   1861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1862 /* end confdefs.h.  */
   1863 $4
   1864 #include <$2>
   1865 _ACEOF
   1866 if ac_fn_c_try_compile "$LINENO"; then :
   1867   eval "$3=yes"
   1868 else
   1869   eval "$3=no"
   1870 fi
   1871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1872 fi
   1873 eval ac_res=\$$3
   1874 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1875 $as_echo "$ac_res" >&6; }
   1876   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1877 
   1878 } # ac_fn_c_check_header_compile
   1879 
   1880 # ac_fn_c_try_link LINENO
   1881 # -----------------------
   1882 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1883 ac_fn_c_try_link ()
   1884 {
   1885   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1886   rm -f conftest.$ac_objext conftest$ac_exeext
   1887   if { { ac_try="$ac_link"
   1888 case "(($ac_try" in
   1889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1890   *) ac_try_echo=$ac_try;;
   1891 esac
   1892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1893 $as_echo "$ac_try_echo"; } >&5
   1894   (eval "$ac_link") 2>conftest.err
   1895   ac_status=$?
   1896   if test -s conftest.err; then
   1897     grep -v '^ *+' conftest.err >conftest.er1
   1898     cat conftest.er1 >&5
   1899     mv -f conftest.er1 conftest.err
   1900   fi
   1901   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1902   test $ac_status = 0; } && {
   1903 	 test -z "$ac_c_werror_flag" ||
   1904 	 test ! -s conftest.err
   1905        } && test -s conftest$ac_exeext && {
   1906 	 test "$cross_compiling" = yes ||
   1907 	 test -x conftest$ac_exeext
   1908        }; then :
   1909   ac_retval=0
   1910 else
   1911   $as_echo "$as_me: failed program was:" >&5
   1912 sed 's/^/| /' conftest.$ac_ext >&5
   1913 
   1914 	ac_retval=1
   1915 fi
   1916   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1917   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1918   # interfere with the next link command; also delete a directory that is
   1919   # left behind by Apple's compiler.  We do this before executing the actions.
   1920   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1921   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1922   as_fn_set_status $ac_retval
   1923 
   1924 } # ac_fn_c_try_link
   1925 
   1926 # ac_fn_c_check_func LINENO FUNC VAR
   1927 # ----------------------------------
   1928 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1929 ac_fn_c_check_func ()
   1930 {
   1931   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1933 $as_echo_n "checking for $2... " >&6; }
   1934 if eval \${$3+:} false; then :
   1935   $as_echo_n "(cached) " >&6
   1936 else
   1937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1938 /* end confdefs.h.  */
   1939 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1941 #define $2 innocuous_$2
   1942 
   1943 /* System header to define __stub macros and hopefully few prototypes,
   1944     which can conflict with char $2 (); below.
   1945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1946     <limits.h> exists even on freestanding compilers.  */
   1947 
   1948 #ifdef __STDC__
   1949 # include <limits.h>
   1950 #else
   1951 # include <assert.h>
   1952 #endif
   1953 
   1954 #undef $2
   1955 
   1956 /* Override any GCC internal prototype to avoid an error.
   1957    Use char because int might match the return type of a GCC
   1958    builtin and then its argument prototype would still apply.  */
   1959 #ifdef __cplusplus
   1960 extern "C"
   1961 #endif
   1962 char $2 ();
   1963 /* The GNU C library defines this for functions which it implements
   1964     to always fail with ENOSYS.  Some functions are actually named
   1965     something starting with __ and the normal name is an alias.  */
   1966 #if defined __stub_$2 || defined __stub___$2
   1967 choke me
   1968 #endif
   1969 
   1970 int
   1971 main ()
   1972 {
   1973 return $2 ();
   1974   ;
   1975   return 0;
   1976 }
   1977 _ACEOF
   1978 if ac_fn_c_try_link "$LINENO"; then :
   1979   eval "$3=yes"
   1980 else
   1981   eval "$3=no"
   1982 fi
   1983 rm -f core conftest.err conftest.$ac_objext \
   1984     conftest$ac_exeext conftest.$ac_ext
   1985 fi
   1986 eval ac_res=\$$3
   1987 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1988 $as_echo "$ac_res" >&6; }
   1989   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1990 
   1991 } # ac_fn_c_check_func
   1992 
   1993 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   1994 # --------------------------------------------
   1995 # Tries to find the compile-time value of EXPR in a program that includes
   1996 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   1997 # computed
   1998 ac_fn_c_compute_int ()
   1999 {
   2000   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2001   if test "$cross_compiling" = yes; then
   2002     # Depending upon the size, compute the lo and hi bounds.
   2003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2004 /* end confdefs.h.  */
   2005 $4
   2006 int
   2007 main ()
   2008 {
   2009 static int test_array [1 - 2 * !(($2) >= 0)];
   2010 test_array [0] = 0;
   2011 return test_array [0];
   2012 
   2013   ;
   2014   return 0;
   2015 }
   2016 _ACEOF
   2017 if ac_fn_c_try_compile "$LINENO"; then :
   2018   ac_lo=0 ac_mid=0
   2019   while :; do
   2020     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2021 /* end confdefs.h.  */
   2022 $4
   2023 int
   2024 main ()
   2025 {
   2026 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2027 test_array [0] = 0;
   2028 return test_array [0];
   2029 
   2030   ;
   2031   return 0;
   2032 }
   2033 _ACEOF
   2034 if ac_fn_c_try_compile "$LINENO"; then :
   2035   ac_hi=$ac_mid; break
   2036 else
   2037   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2038 			if test $ac_lo -le $ac_mid; then
   2039 			  ac_lo= ac_hi=
   2040 			  break
   2041 			fi
   2042 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2043 fi
   2044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2045   done
   2046 else
   2047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2048 /* end confdefs.h.  */
   2049 $4
   2050 int
   2051 main ()
   2052 {
   2053 static int test_array [1 - 2 * !(($2) < 0)];
   2054 test_array [0] = 0;
   2055 return test_array [0];
   2056 
   2057   ;
   2058   return 0;
   2059 }
   2060 _ACEOF
   2061 if ac_fn_c_try_compile "$LINENO"; then :
   2062   ac_hi=-1 ac_mid=-1
   2063   while :; do
   2064     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2065 /* end confdefs.h.  */
   2066 $4
   2067 int
   2068 main ()
   2069 {
   2070 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2071 test_array [0] = 0;
   2072 return test_array [0];
   2073 
   2074   ;
   2075   return 0;
   2076 }
   2077 _ACEOF
   2078 if ac_fn_c_try_compile "$LINENO"; then :
   2079   ac_lo=$ac_mid; break
   2080 else
   2081   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2082 			if test $ac_mid -le $ac_hi; then
   2083 			  ac_lo= ac_hi=
   2084 			  break
   2085 			fi
   2086 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2087 fi
   2088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2089   done
   2090 else
   2091   ac_lo= ac_hi=
   2092 fi
   2093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2094 fi
   2095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2096 # Binary search between lo and hi bounds.
   2097 while test "x$ac_lo" != "x$ac_hi"; do
   2098   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2100 /* end confdefs.h.  */
   2101 $4
   2102 int
   2103 main ()
   2104 {
   2105 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2106 test_array [0] = 0;
   2107 return test_array [0];
   2108 
   2109   ;
   2110   return 0;
   2111 }
   2112 _ACEOF
   2113 if ac_fn_c_try_compile "$LINENO"; then :
   2114   ac_hi=$ac_mid
   2115 else
   2116   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2117 fi
   2118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2119 done
   2120 case $ac_lo in #((
   2121 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2122 '') ac_retval=1 ;;
   2123 esac
   2124   else
   2125     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2126 /* end confdefs.h.  */
   2127 $4
   2128 static long int longval () { return $2; }
   2129 static unsigned long int ulongval () { return $2; }
   2130 #include <stdio.h>
   2131 #include <stdlib.h>
   2132 int
   2133 main ()
   2134 {
   2135 
   2136   FILE *f = fopen ("conftest.val", "w");
   2137   if (! f)
   2138     return 1;
   2139   if (($2) < 0)
   2140     {
   2141       long int i = longval ();
   2142       if (i != ($2))
   2143 	return 1;
   2144       fprintf (f, "%ld", i);
   2145     }
   2146   else
   2147     {
   2148       unsigned long int i = ulongval ();
   2149       if (i != ($2))
   2150 	return 1;
   2151       fprintf (f, "%lu", i);
   2152     }
   2153   /* Do not output a trailing newline, as this causes \r\n confusion
   2154      on some platforms.  */
   2155   return ferror (f) || fclose (f) != 0;
   2156 
   2157   ;
   2158   return 0;
   2159 }
   2160 _ACEOF
   2161 if ac_fn_c_try_run "$LINENO"; then :
   2162   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2163 else
   2164   ac_retval=1
   2165 fi
   2166 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2167   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2168 rm -f conftest.val
   2169 
   2170   fi
   2171   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2172   as_fn_set_status $ac_retval
   2173 
   2174 } # ac_fn_c_compute_int
   2175 
   2176 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2177 # ---------------------------------------------
   2178 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2179 # accordingly.
   2180 ac_fn_c_check_decl ()
   2181 {
   2182   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2183   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2184   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2186 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2187 if eval \${$3+:} false; then :
   2188   $as_echo_n "(cached) " >&6
   2189 else
   2190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2191 /* end confdefs.h.  */
   2192 $4
   2193 int
   2194 main ()
   2195 {
   2196 #ifndef $as_decl_name
   2197 #ifdef __cplusplus
   2198   (void) $as_decl_use;
   2199 #else
   2200   (void) $as_decl_name;
   2201 #endif
   2202 #endif
   2203 
   2204   ;
   2205   return 0;
   2206 }
   2207 _ACEOF
   2208 if ac_fn_c_try_compile "$LINENO"; then :
   2209   eval "$3=yes"
   2210 else
   2211   eval "$3=no"
   2212 fi
   2213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2214 fi
   2215 eval ac_res=\$$3
   2216 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2217 $as_echo "$ac_res" >&6; }
   2218   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2219 
   2220 } # ac_fn_c_check_decl
   2221 cat >config.log <<_ACEOF
   2222 This file contains any messages produced by compilers while
   2223 running configure, to aid debugging if configure makes a mistake.
   2224 
   2225 It was created by bfd $as_me 2.42.50, which was
   2226 generated by GNU Autoconf 2.69.  Invocation command line was
   2227 
   2228   $ $0 $@
   2229 
   2230 _ACEOF
   2231 exec 5>>config.log
   2232 {
   2233 cat <<_ASUNAME
   2234 ## --------- ##
   2235 ## Platform. ##
   2236 ## --------- ##
   2237 
   2238 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2239 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2240 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2241 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2242 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2243 
   2244 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2245 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2246 
   2247 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2248 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2249 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2250 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2251 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2252 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2253 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2254 
   2255 _ASUNAME
   2256 
   2257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2258 for as_dir in $PATH
   2259 do
   2260   IFS=$as_save_IFS
   2261   test -z "$as_dir" && as_dir=.
   2262     $as_echo "PATH: $as_dir"
   2263   done
   2264 IFS=$as_save_IFS
   2265 
   2266 } >&5
   2267 
   2268 cat >&5 <<_ACEOF
   2269 
   2270 
   2271 ## ----------- ##
   2272 ## Core tests. ##
   2273 ## ----------- ##
   2274 
   2275 _ACEOF
   2276 
   2277 
   2278 # Keep a trace of the command line.
   2279 # Strip out --no-create and --no-recursion so they do not pile up.
   2280 # Strip out --silent because we don't want to record it for future runs.
   2281 # Also quote any args containing shell meta-characters.
   2282 # Make two passes to allow for proper duplicate-argument suppression.
   2283 ac_configure_args=
   2284 ac_configure_args0=
   2285 ac_configure_args1=
   2286 ac_must_keep_next=false
   2287 for ac_pass in 1 2
   2288 do
   2289   for ac_arg
   2290   do
   2291     case $ac_arg in
   2292     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2293     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2294     | -silent | --silent | --silen | --sile | --sil)
   2295       continue ;;
   2296     *\'*)
   2297       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2298     esac
   2299     case $ac_pass in
   2300     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2301     2)
   2302       as_fn_append ac_configure_args1 " '$ac_arg'"
   2303       if test $ac_must_keep_next = true; then
   2304 	ac_must_keep_next=false # Got value, back to normal.
   2305       else
   2306 	case $ac_arg in
   2307 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2308 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2309 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2310 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2311 	    case "$ac_configure_args0 " in
   2312 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2313 	    esac
   2314 	    ;;
   2315 	  -* ) ac_must_keep_next=true ;;
   2316 	esac
   2317       fi
   2318       as_fn_append ac_configure_args " '$ac_arg'"
   2319       ;;
   2320     esac
   2321   done
   2322 done
   2323 { ac_configure_args0=; unset ac_configure_args0;}
   2324 { ac_configure_args1=; unset ac_configure_args1;}
   2325 
   2326 # When interrupted or exit'd, cleanup temporary files, and complete
   2327 # config.log.  We remove comments because anyway the quotes in there
   2328 # would cause problems or look ugly.
   2329 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2330 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2331 trap 'exit_status=$?
   2332   # Save into config.log some information that might help in debugging.
   2333   {
   2334     echo
   2335 
   2336     $as_echo "## ---------------- ##
   2337 ## Cache variables. ##
   2338 ## ---------------- ##"
   2339     echo
   2340     # The following way of writing the cache mishandles newlines in values,
   2341 (
   2342   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2343     eval ac_val=\$$ac_var
   2344     case $ac_val in #(
   2345     *${as_nl}*)
   2346       case $ac_var in #(
   2347       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2348 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2349       esac
   2350       case $ac_var in #(
   2351       _ | IFS | as_nl) ;; #(
   2352       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2353       *) { eval $ac_var=; unset $ac_var;} ;;
   2354       esac ;;
   2355     esac
   2356   done
   2357   (set) 2>&1 |
   2358     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2359     *${as_nl}ac_space=\ *)
   2360       sed -n \
   2361 	"s/'\''/'\''\\\\'\'''\''/g;
   2362 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2363       ;; #(
   2364     *)
   2365       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2366       ;;
   2367     esac |
   2368     sort
   2369 )
   2370     echo
   2371 
   2372     $as_echo "## ----------------- ##
   2373 ## Output variables. ##
   2374 ## ----------------- ##"
   2375     echo
   2376     for ac_var in $ac_subst_vars
   2377     do
   2378       eval ac_val=\$$ac_var
   2379       case $ac_val in
   2380       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2381       esac
   2382       $as_echo "$ac_var='\''$ac_val'\''"
   2383     done | sort
   2384     echo
   2385 
   2386     if test -n "$ac_subst_files"; then
   2387       $as_echo "## ------------------- ##
   2388 ## File substitutions. ##
   2389 ## ------------------- ##"
   2390       echo
   2391       for ac_var in $ac_subst_files
   2392       do
   2393 	eval ac_val=\$$ac_var
   2394 	case $ac_val in
   2395 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2396 	esac
   2397 	$as_echo "$ac_var='\''$ac_val'\''"
   2398       done | sort
   2399       echo
   2400     fi
   2401 
   2402     if test -s confdefs.h; then
   2403       $as_echo "## ----------- ##
   2404 ## confdefs.h. ##
   2405 ## ----------- ##"
   2406       echo
   2407       cat confdefs.h
   2408       echo
   2409     fi
   2410     test "$ac_signal" != 0 &&
   2411       $as_echo "$as_me: caught signal $ac_signal"
   2412     $as_echo "$as_me: exit $exit_status"
   2413   } >&5
   2414   rm -f core *.core core.conftest.* &&
   2415     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2416     exit $exit_status
   2417 ' 0
   2418 for ac_signal in 1 2 13 15; do
   2419   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2420 done
   2421 ac_signal=0
   2422 
   2423 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2424 rm -f -r conftest* confdefs.h
   2425 
   2426 $as_echo "/* confdefs.h */" > confdefs.h
   2427 
   2428 # Predefined preprocessor variables.
   2429 
   2430 cat >>confdefs.h <<_ACEOF
   2431 #define PACKAGE_NAME "$PACKAGE_NAME"
   2432 _ACEOF
   2433 
   2434 cat >>confdefs.h <<_ACEOF
   2435 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2436 _ACEOF
   2437 
   2438 cat >>confdefs.h <<_ACEOF
   2439 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2440 _ACEOF
   2441 
   2442 cat >>confdefs.h <<_ACEOF
   2443 #define PACKAGE_STRING "$PACKAGE_STRING"
   2444 _ACEOF
   2445 
   2446 cat >>confdefs.h <<_ACEOF
   2447 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2448 _ACEOF
   2449 
   2450 cat >>confdefs.h <<_ACEOF
   2451 #define PACKAGE_URL "$PACKAGE_URL"
   2452 _ACEOF
   2453 
   2454 
   2455 # Let the site file select an alternate cache file if it wants to.
   2456 # Prefer an explicitly selected file to automatically selected ones.
   2457 ac_site_file1=NONE
   2458 ac_site_file2=NONE
   2459 if test -n "$CONFIG_SITE"; then
   2460   # We do not want a PATH search for config.site.
   2461   case $CONFIG_SITE in #((
   2462     -*)  ac_site_file1=./$CONFIG_SITE;;
   2463     */*) ac_site_file1=$CONFIG_SITE;;
   2464     *)   ac_site_file1=./$CONFIG_SITE;;
   2465   esac
   2466 elif test "x$prefix" != xNONE; then
   2467   ac_site_file1=$prefix/share/config.site
   2468   ac_site_file2=$prefix/etc/config.site
   2469 else
   2470   ac_site_file1=$ac_default_prefix/share/config.site
   2471   ac_site_file2=$ac_default_prefix/etc/config.site
   2472 fi
   2473 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2474 do
   2475   test "x$ac_site_file" = xNONE && continue
   2476   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2477     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2478 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2479     sed 's/^/| /' "$ac_site_file" >&5
   2480     . "$ac_site_file" \
   2481       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2483 as_fn_error $? "failed to load site script $ac_site_file
   2484 See \`config.log' for more details" "$LINENO" 5; }
   2485   fi
   2486 done
   2487 
   2488 if test -r "$cache_file"; then
   2489   # Some versions of bash will fail to source /dev/null (special files
   2490   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2491   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2492     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2493 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2494     case $cache_file in
   2495       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2496       *)                      . "./$cache_file";;
   2497     esac
   2498   fi
   2499 else
   2500   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2501 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2502   >$cache_file
   2503 fi
   2504 
   2505 gt_needs="$gt_needs "
   2506 as_fn_append ac_header_list " stdlib.h"
   2507 as_fn_append ac_header_list " unistd.h"
   2508 as_fn_append ac_header_list " sys/param.h"
   2509 # Check that the precious variables saved in the cache have kept the same
   2510 # value.
   2511 ac_cache_corrupted=false
   2512 for ac_var in $ac_precious_vars; do
   2513   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2514   eval ac_new_set=\$ac_env_${ac_var}_set
   2515   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2516   eval ac_new_val=\$ac_env_${ac_var}_value
   2517   case $ac_old_set,$ac_new_set in
   2518     set,)
   2519       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2520 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2521       ac_cache_corrupted=: ;;
   2522     ,set)
   2523       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2524 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2525       ac_cache_corrupted=: ;;
   2526     ,);;
   2527     *)
   2528       if test "x$ac_old_val" != "x$ac_new_val"; then
   2529 	# differences in whitespace do not lead to failure.
   2530 	ac_old_val_w=`echo x $ac_old_val`
   2531 	ac_new_val_w=`echo x $ac_new_val`
   2532 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2533 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2534 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2535 	  ac_cache_corrupted=:
   2536 	else
   2537 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2538 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2539 	  eval $ac_var=\$ac_old_val
   2540 	fi
   2541 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2542 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2543 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2544 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2545       fi;;
   2546   esac
   2547   # Pass precious variables to config.status.
   2548   if test "$ac_new_set" = set; then
   2549     case $ac_new_val in
   2550     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2551     *) ac_arg=$ac_var=$ac_new_val ;;
   2552     esac
   2553     case " $ac_configure_args " in
   2554       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2555       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2556     esac
   2557   fi
   2558 done
   2559 if $ac_cache_corrupted; then
   2560   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2562   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2563 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2564   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2565 fi
   2566 ## -------------------- ##
   2567 ## Main body of script. ##
   2568 ## -------------------- ##
   2569 
   2570 ac_ext=c
   2571 ac_cpp='$CPP $CPPFLAGS'
   2572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2575 
   2576 
   2577 
   2578 
   2579 
   2580 
   2581 
   2582 ac_aux_dir=
   2583 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2584   if test -f "$ac_dir/install-sh"; then
   2585     ac_aux_dir=$ac_dir
   2586     ac_install_sh="$ac_aux_dir/install-sh -c"
   2587     break
   2588   elif test -f "$ac_dir/install.sh"; then
   2589     ac_aux_dir=$ac_dir
   2590     ac_install_sh="$ac_aux_dir/install.sh -c"
   2591     break
   2592   elif test -f "$ac_dir/shtool"; then
   2593     ac_aux_dir=$ac_dir
   2594     ac_install_sh="$ac_aux_dir/shtool install -c"
   2595     break
   2596   fi
   2597 done
   2598 if test -z "$ac_aux_dir"; then
   2599   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2600 fi
   2601 
   2602 # These three variables are undocumented and unsupported,
   2603 # and are intended to be withdrawn in a future Autoconf release.
   2604 # They can cause serious problems if a builder's source tree is in a directory
   2605 # whose full name contains unusual characters.
   2606 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2607 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2608 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2609 
   2610 
   2611 # Make sure we can run config.sub.
   2612 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2613   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2614 
   2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2616 $as_echo_n "checking build system type... " >&6; }
   2617 if ${ac_cv_build+:} false; then :
   2618   $as_echo_n "(cached) " >&6
   2619 else
   2620   ac_build_alias=$build_alias
   2621 test "x$ac_build_alias" = x &&
   2622   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2623 test "x$ac_build_alias" = x &&
   2624   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2625 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2626   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2627 
   2628 fi
   2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2630 $as_echo "$ac_cv_build" >&6; }
   2631 case $ac_cv_build in
   2632 *-*-*) ;;
   2633 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2634 esac
   2635 build=$ac_cv_build
   2636 ac_save_IFS=$IFS; IFS='-'
   2637 set x $ac_cv_build
   2638 shift
   2639 build_cpu=$1
   2640 build_vendor=$2
   2641 shift; shift
   2642 # Remember, the first character of IFS is used to create $*,
   2643 # except with old shells:
   2644 build_os=$*
   2645 IFS=$ac_save_IFS
   2646 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2647 
   2648 
   2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2650 $as_echo_n "checking host system type... " >&6; }
   2651 if ${ac_cv_host+:} false; then :
   2652   $as_echo_n "(cached) " >&6
   2653 else
   2654   if test "x$host_alias" = x; then
   2655   ac_cv_host=$ac_cv_build
   2656 else
   2657   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2658     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2659 fi
   2660 
   2661 fi
   2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2663 $as_echo "$ac_cv_host" >&6; }
   2664 case $ac_cv_host in
   2665 *-*-*) ;;
   2666 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2667 esac
   2668 host=$ac_cv_host
   2669 ac_save_IFS=$IFS; IFS='-'
   2670 set x $ac_cv_host
   2671 shift
   2672 host_cpu=$1
   2673 host_vendor=$2
   2674 shift; shift
   2675 # Remember, the first character of IFS is used to create $*,
   2676 # except with old shells:
   2677 host_os=$*
   2678 IFS=$ac_save_IFS
   2679 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2680 
   2681 
   2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2683 $as_echo_n "checking target system type... " >&6; }
   2684 if ${ac_cv_target+:} false; then :
   2685   $as_echo_n "(cached) " >&6
   2686 else
   2687   if test "x$target_alias" = x; then
   2688   ac_cv_target=$ac_cv_host
   2689 else
   2690   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2691     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2692 fi
   2693 
   2694 fi
   2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2696 $as_echo "$ac_cv_target" >&6; }
   2697 case $ac_cv_target in
   2698 *-*-*) ;;
   2699 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2700 esac
   2701 target=$ac_cv_target
   2702 ac_save_IFS=$IFS; IFS='-'
   2703 set x $ac_cv_target
   2704 shift
   2705 target_cpu=$1
   2706 target_vendor=$2
   2707 shift; shift
   2708 # Remember, the first character of IFS is used to create $*,
   2709 # except with old shells:
   2710 target_os=$*
   2711 IFS=$ac_save_IFS
   2712 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2713 
   2714 
   2715 # The aliases save the names the user supplied, while $host etc.
   2716 # will get canonicalized.
   2717 test -n "$target_alias" &&
   2718   test "$program_prefix$program_suffix$program_transform_name" = \
   2719     NONENONEs,x,x, &&
   2720   program_prefix=${target_alias}-
   2721 
   2722 am__api_version='1.15'
   2723 
   2724 # Find a good install program.  We prefer a C program (faster),
   2725 # so one script is as good as another.  But avoid the broken or
   2726 # incompatible versions:
   2727 # SysV /etc/install, /usr/sbin/install
   2728 # SunOS /usr/etc/install
   2729 # IRIX /sbin/install
   2730 # AIX /bin/install
   2731 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2732 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2733 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2734 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2735 # OS/2's system install, which has a completely different semantic
   2736 # ./install, which can be erroneously created by make from ./install.sh.
   2737 # Reject install programs that cannot install multiple files.
   2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2739 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2740 if test -z "$INSTALL"; then
   2741 if ${ac_cv_path_install+:} false; then :
   2742   $as_echo_n "(cached) " >&6
   2743 else
   2744   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2745 for as_dir in $PATH
   2746 do
   2747   IFS=$as_save_IFS
   2748   test -z "$as_dir" && as_dir=.
   2749     # Account for people who put trailing slashes in PATH elements.
   2750 case $as_dir/ in #((
   2751   ./ | .// | /[cC]/* | \
   2752   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2753   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2754   /usr/ucb/* ) ;;
   2755   *)
   2756     # OSF1 and SCO ODT 3.0 have their own names for install.
   2757     # Don't use installbsd from OSF since it installs stuff as root
   2758     # by default.
   2759     for ac_prog in ginstall scoinst install; do
   2760       for ac_exec_ext in '' $ac_executable_extensions; do
   2761 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2762 	  if test $ac_prog = install &&
   2763 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2764 	    # AIX install.  It has an incompatible calling convention.
   2765 	    :
   2766 	  elif test $ac_prog = install &&
   2767 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2768 	    # program-specific install script used by HP pwplus--don't use.
   2769 	    :
   2770 	  else
   2771 	    rm -rf conftest.one conftest.two conftest.dir
   2772 	    echo one > conftest.one
   2773 	    echo two > conftest.two
   2774 	    mkdir conftest.dir
   2775 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2776 	      test -s conftest.one && test -s conftest.two &&
   2777 	      test -s conftest.dir/conftest.one &&
   2778 	      test -s conftest.dir/conftest.two
   2779 	    then
   2780 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2781 	      break 3
   2782 	    fi
   2783 	  fi
   2784 	fi
   2785       done
   2786     done
   2787     ;;
   2788 esac
   2789 
   2790   done
   2791 IFS=$as_save_IFS
   2792 
   2793 rm -rf conftest.one conftest.two conftest.dir
   2794 
   2795 fi
   2796   if test "${ac_cv_path_install+set}" = set; then
   2797     INSTALL=$ac_cv_path_install
   2798   else
   2799     # As a last resort, use the slow shell script.  Don't cache a
   2800     # value for INSTALL within a source directory, because that will
   2801     # break other packages using the cache if that directory is
   2802     # removed, or if the value is a relative name.
   2803     INSTALL=$ac_install_sh
   2804   fi
   2805 fi
   2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2807 $as_echo "$INSTALL" >&6; }
   2808 
   2809 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2810 # It thinks the first close brace ends the variable substitution.
   2811 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2812 
   2813 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2814 
   2815 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2816 
   2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2818 $as_echo_n "checking whether build environment is sane... " >&6; }
   2819 # Reject unsafe characters in $srcdir or the absolute working directory
   2820 # name.  Accept space and tab only in the latter.
   2821 am_lf='
   2822 '
   2823 case `pwd` in
   2824   *[\\\"\#\$\&\'\`$am_lf]*)
   2825     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2826 esac
   2827 case $srcdir in
   2828   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2829     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2830 esac
   2831 
   2832 # Do 'set' in a subshell so we don't clobber the current shell's
   2833 # arguments.  Must try -L first in case configure is actually a
   2834 # symlink; some systems play weird games with the mod time of symlinks
   2835 # (eg FreeBSD returns the mod time of the symlink's containing
   2836 # directory).
   2837 if (
   2838    am_has_slept=no
   2839    for am_try in 1 2; do
   2840      echo "timestamp, slept: $am_has_slept" > conftest.file
   2841      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2842      if test "$*" = "X"; then
   2843 	# -L didn't work.
   2844 	set X `ls -t "$srcdir/configure" conftest.file`
   2845      fi
   2846      if test "$*" != "X $srcdir/configure conftest.file" \
   2847 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2848 
   2849 	# If neither matched, then we have a broken ls.  This can happen
   2850 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2851 	# broken ls alias from the environment.  This has actually
   2852 	# happened.  Such a system could not be considered "sane".
   2853 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2854   alias in your environment" "$LINENO" 5
   2855      fi
   2856      if test "$2" = conftest.file || test $am_try -eq 2; then
   2857        break
   2858      fi
   2859      # Just in case.
   2860      sleep 1
   2861      am_has_slept=yes
   2862    done
   2863    test "$2" = conftest.file
   2864    )
   2865 then
   2866    # Ok.
   2867    :
   2868 else
   2869    as_fn_error $? "newly created file is older than distributed files!
   2870 Check your system clock" "$LINENO" 5
   2871 fi
   2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2873 $as_echo "yes" >&6; }
   2874 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2875 # generated files are strictly newer.
   2876 am_sleep_pid=
   2877 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2878   ( sleep 1 ) &
   2879   am_sleep_pid=$!
   2880 fi
   2881 
   2882 rm -f conftest.file
   2883 
   2884 test "$program_prefix" != NONE &&
   2885   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2886 # Use a double $ so make ignores it.
   2887 test "$program_suffix" != NONE &&
   2888   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2889 # Double any \ or $.
   2890 # By default was `s,x,x', remove it if useless.
   2891 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2892 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2893 
   2894 # Expand $ac_aux_dir to an absolute path.
   2895 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2896 
   2897 if test x"${MISSING+set}" != xset; then
   2898   case $am_aux_dir in
   2899   *\ * | *\	*)
   2900     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2901   *)
   2902     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2903   esac
   2904 fi
   2905 # Use eval to expand $SHELL
   2906 if eval "$MISSING --is-lightweight"; then
   2907   am_missing_run="$MISSING "
   2908 else
   2909   am_missing_run=
   2910   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2911 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2912 fi
   2913 
   2914 if test x"${install_sh+set}" != xset; then
   2915   case $am_aux_dir in
   2916   *\ * | *\	*)
   2917     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2918   *)
   2919     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2920   esac
   2921 fi
   2922 
   2923 # Installed binaries are usually stripped using 'strip' when the user
   2924 # run "make install-strip".  However 'strip' might not be the right
   2925 # tool to use in cross-compilation environments, therefore Automake
   2926 # will honor the 'STRIP' environment variable to overrule this program.
   2927 if test "$cross_compiling" != no; then
   2928   if test -n "$ac_tool_prefix"; then
   2929   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2930 set dummy ${ac_tool_prefix}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_STRIP+:} false; then :
   2934   $as_echo_n "(cached) " >&6
   2935 else
   2936   if test -n "$STRIP"; then
   2937   ac_cv_prog_STRIP="$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_STRIP="${ac_tool_prefix}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 STRIP=$ac_cv_prog_STRIP
   2957 if test -n "$STRIP"; then
   2958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2959 $as_echo "$STRIP" >&6; }
   2960 else
   2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2962 $as_echo "no" >&6; }
   2963 fi
   2964 
   2965 
   2966 fi
   2967 if test -z "$ac_cv_prog_STRIP"; then
   2968   ac_ct_STRIP=$STRIP
   2969   # Extract the first word of "strip", so it can be a program name with args.
   2970 set dummy strip; ac_word=$2
   2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2972 $as_echo_n "checking for $ac_word... " >&6; }
   2973 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2974   $as_echo_n "(cached) " >&6
   2975 else
   2976   if test -n "$ac_ct_STRIP"; then
   2977   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2978 else
   2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2980 for as_dir in $PATH
   2981 do
   2982   IFS=$as_save_IFS
   2983   test -z "$as_dir" && as_dir=.
   2984     for ac_exec_ext in '' $ac_executable_extensions; do
   2985   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2986     ac_cv_prog_ac_ct_STRIP="strip"
   2987     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2988     break 2
   2989   fi
   2990 done
   2991   done
   2992 IFS=$as_save_IFS
   2993 
   2994 fi
   2995 fi
   2996 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2997 if test -n "$ac_ct_STRIP"; then
   2998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2999 $as_echo "$ac_ct_STRIP" >&6; }
   3000 else
   3001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3002 $as_echo "no" >&6; }
   3003 fi
   3004 
   3005   if test "x$ac_ct_STRIP" = x; then
   3006     STRIP=":"
   3007   else
   3008     case $cross_compiling:$ac_tool_warned in
   3009 yes:)
   3010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3012 ac_tool_warned=yes ;;
   3013 esac
   3014     STRIP=$ac_ct_STRIP
   3015   fi
   3016 else
   3017   STRIP="$ac_cv_prog_STRIP"
   3018 fi
   3019 
   3020 fi
   3021 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3022 
   3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3024 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3025 if test -z "$MKDIR_P"; then
   3026   if ${ac_cv_path_mkdir+:} false; then :
   3027   $as_echo_n "(cached) " >&6
   3028 else
   3029   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3030 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3031 do
   3032   IFS=$as_save_IFS
   3033   test -z "$as_dir" && as_dir=.
   3034     for ac_prog in mkdir gmkdir; do
   3035 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3036 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3037 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3038 	     'mkdir (GNU coreutils) '* | \
   3039 	     'mkdir (coreutils) '* | \
   3040 	     'mkdir (fileutils) '4.1*)
   3041 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3042 	       break 3;;
   3043 	   esac
   3044 	 done
   3045        done
   3046   done
   3047 IFS=$as_save_IFS
   3048 
   3049 fi
   3050 
   3051   test -d ./--version && rmdir ./--version
   3052   if test "${ac_cv_path_mkdir+set}" = set; then
   3053     MKDIR_P="$ac_cv_path_mkdir -p"
   3054   else
   3055     # As a last resort, use the slow shell script.  Don't cache a
   3056     # value for MKDIR_P within a source directory, because that will
   3057     # break other packages using the cache if that directory is
   3058     # removed, or if the value is a relative name.
   3059     MKDIR_P="$ac_install_sh -d"
   3060   fi
   3061 fi
   3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3063 $as_echo "$MKDIR_P" >&6; }
   3064 
   3065 for ac_prog in gawk mawk nawk awk
   3066 do
   3067   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3068 set dummy $ac_prog; ac_word=$2
   3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3070 $as_echo_n "checking for $ac_word... " >&6; }
   3071 if ${ac_cv_prog_AWK+:} false; then :
   3072   $as_echo_n "(cached) " >&6
   3073 else
   3074   if test -n "$AWK"; then
   3075   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3076 else
   3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3078 for as_dir in $PATH
   3079 do
   3080   IFS=$as_save_IFS
   3081   test -z "$as_dir" && as_dir=.
   3082     for ac_exec_ext in '' $ac_executable_extensions; do
   3083   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3084     ac_cv_prog_AWK="$ac_prog"
   3085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3086     break 2
   3087   fi
   3088 done
   3089   done
   3090 IFS=$as_save_IFS
   3091 
   3092 fi
   3093 fi
   3094 AWK=$ac_cv_prog_AWK
   3095 if test -n "$AWK"; then
   3096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3097 $as_echo "$AWK" >&6; }
   3098 else
   3099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3100 $as_echo "no" >&6; }
   3101 fi
   3102 
   3103 
   3104   test -n "$AWK" && break
   3105 done
   3106 
   3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3108 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3109 set x ${MAKE-make}
   3110 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3111 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3112   $as_echo_n "(cached) " >&6
   3113 else
   3114   cat >conftest.make <<\_ACEOF
   3115 SHELL = /bin/sh
   3116 all:
   3117 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3118 _ACEOF
   3119 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3120 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3121   *@@@%%%=?*=@@@%%%*)
   3122     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3123   *)
   3124     eval ac_cv_prog_make_${ac_make}_set=no;;
   3125 esac
   3126 rm -f conftest.make
   3127 fi
   3128 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3130 $as_echo "yes" >&6; }
   3131   SET_MAKE=
   3132 else
   3133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3134 $as_echo "no" >&6; }
   3135   SET_MAKE="MAKE=${MAKE-make}"
   3136 fi
   3137 
   3138 rm -rf .tst 2>/dev/null
   3139 mkdir .tst 2>/dev/null
   3140 if test -d .tst; then
   3141   am__leading_dot=.
   3142 else
   3143   am__leading_dot=_
   3144 fi
   3145 rmdir .tst 2>/dev/null
   3146 
   3147 # Check whether --enable-silent-rules was given.
   3148 if test "${enable_silent_rules+set}" = set; then :
   3149   enableval=$enable_silent_rules;
   3150 fi
   3151 
   3152 case $enable_silent_rules in # (((
   3153   yes) AM_DEFAULT_VERBOSITY=0;;
   3154    no) AM_DEFAULT_VERBOSITY=1;;
   3155     *) AM_DEFAULT_VERBOSITY=1;;
   3156 esac
   3157 am_make=${MAKE-make}
   3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3159 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3160 if ${am_cv_make_support_nested_variables+:} false; then :
   3161   $as_echo_n "(cached) " >&6
   3162 else
   3163   if $as_echo 'TRUE=$(BAR$(V))
   3164 BAR0=false
   3165 BAR1=true
   3166 V=1
   3167 am__doit:
   3168 	@$(TRUE)
   3169 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3170   am_cv_make_support_nested_variables=yes
   3171 else
   3172   am_cv_make_support_nested_variables=no
   3173 fi
   3174 fi
   3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3176 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3177 if test $am_cv_make_support_nested_variables = yes; then
   3178     AM_V='$(V)'
   3179   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3180 else
   3181   AM_V=$AM_DEFAULT_VERBOSITY
   3182   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3183 fi
   3184 AM_BACKSLASH='\'
   3185 
   3186 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3187   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3188   # is not polluted with repeated "-I."
   3189   am__isrc=' -I$(srcdir)'
   3190   # test to see if srcdir already configured
   3191   if test -f $srcdir/config.status; then
   3192     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3193   fi
   3194 fi
   3195 
   3196 # test whether we have cygpath
   3197 if test -z "$CYGPATH_W"; then
   3198   if (cygpath --version) >/dev/null 2>/dev/null; then
   3199     CYGPATH_W='cygpath -w'
   3200   else
   3201     CYGPATH_W=echo
   3202   fi
   3203 fi
   3204 
   3205 
   3206 # Define the identity of the package.
   3207  PACKAGE='bfd'
   3208  VERSION='2.42.50'
   3209 
   3210 
   3211 cat >>confdefs.h <<_ACEOF
   3212 #define PACKAGE "$PACKAGE"
   3213 _ACEOF
   3214 
   3215 
   3216 cat >>confdefs.h <<_ACEOF
   3217 #define VERSION "$VERSION"
   3218 _ACEOF
   3219 
   3220 # Some tools Automake needs.
   3221 
   3222 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3223 
   3224 
   3225 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3226 
   3227 
   3228 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3229 
   3230 
   3231 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3232 
   3233 
   3234 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3235 
   3236 # For better backward compatibility.  To be removed once Automake 1.9.x
   3237 # dies out for good.  For more background, see:
   3238 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3239 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3240 mkdir_p='$(MKDIR_P)'
   3241 
   3242 # We need awk for the "check" target (and possibly the TAP driver).  The
   3243 # system "awk" is bad on some platforms.
   3244 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3245 # in the wild :-(  We should find a proper way to deprecate it ...
   3246 AMTAR='$${TAR-tar}'
   3247 
   3248 
   3249 # We'll loop over all known methods to create a tar archive until one works.
   3250 _am_tools='gnutar  pax cpio none'
   3251 
   3252 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3253 
   3254 
   3255 
   3256 
   3257 
   3258 
   3259 # POSIX will say in a future version that running "rm -f" with no argument
   3260 # is OK; and we want to be able to make that assumption in our Makefile
   3261 # recipes.  So use an aggressive probe to check that the usage we want is
   3262 # actually supported "in the wild" to an acceptable degree.
   3263 # See automake bug#10828.
   3264 # To make any issue more visible, cause the running configure to be aborted
   3265 # by default if the 'rm' program in use doesn't match our expectations; the
   3266 # user can still override this though.
   3267 if rm -f && rm -fr && rm -rf; then : OK; else
   3268   cat >&2 <<'END'
   3269 Oops!
   3270 
   3271 Your 'rm' program seems unable to run without file operands specified
   3272 on the command line, even when the '-f' option is present.  This is contrary
   3273 to the behaviour of most rm programs out there, and not conforming with
   3274 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3275 
   3276 Please tell bug-automake@gnu.org about your system, including the value
   3277 of your $PATH and any error possibly output before this message.  This
   3278 can help us improve future automake versions.
   3279 
   3280 END
   3281   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3282     echo 'Configuration will proceed anyway, since you have set the' >&2
   3283     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3284     echo >&2
   3285   else
   3286     cat >&2 <<'END'
   3287 Aborting the configuration process, to ensure you take notice of the issue.
   3288 
   3289 You can download and install GNU coreutils to get an 'rm' implementation
   3290 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3291 
   3292 If you want to complete the configuration process using your problematic
   3293 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3294 to "yes", and re-run configure.
   3295 
   3296 END
   3297     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3298   fi
   3299 fi
   3300 
   3301 # Check whether --enable-silent-rules was given.
   3302 if test "${enable_silent_rules+set}" = set; then :
   3303   enableval=$enable_silent_rules;
   3304 fi
   3305 
   3306 case $enable_silent_rules in # (((
   3307   yes) AM_DEFAULT_VERBOSITY=0;;
   3308    no) AM_DEFAULT_VERBOSITY=1;;
   3309     *) AM_DEFAULT_VERBOSITY=0;;
   3310 esac
   3311 am_make=${MAKE-make}
   3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3313 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3314 if ${am_cv_make_support_nested_variables+:} false; then :
   3315   $as_echo_n "(cached) " >&6
   3316 else
   3317   if $as_echo 'TRUE=$(BAR$(V))
   3318 BAR0=false
   3319 BAR1=true
   3320 V=1
   3321 am__doit:
   3322 	@$(TRUE)
   3323 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3324   am_cv_make_support_nested_variables=yes
   3325 else
   3326   am_cv_make_support_nested_variables=no
   3327 fi
   3328 fi
   3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3330 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3331 if test $am_cv_make_support_nested_variables = yes; then
   3332     AM_V='$(V)'
   3333   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3334 else
   3335   AM_V=$AM_DEFAULT_VERBOSITY
   3336   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3337 fi
   3338 AM_BACKSLASH='\'
   3339 
   3340 
   3341 if test -n "$ac_tool_prefix"; then
   3342   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   3343 set dummy ${ac_tool_prefix}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_AR+:} false; then :
   3347   $as_echo_n "(cached) " >&6
   3348 else
   3349   if test -n "$AR"; then
   3350   ac_cv_prog_AR="$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_AR="${ac_tool_prefix}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 AR=$ac_cv_prog_AR
   3370 if test -n "$AR"; then
   3371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   3372 $as_echo "$AR" >&6; }
   3373 else
   3374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3375 $as_echo "no" >&6; }
   3376 fi
   3377 
   3378 
   3379 fi
   3380 if test -z "$ac_cv_prog_AR"; then
   3381   ac_ct_AR=$AR
   3382   # Extract the first word of "ar", so it can be a program name with args.
   3383 set dummy ar; ac_word=$2
   3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3385 $as_echo_n "checking for $ac_word... " >&6; }
   3386 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   3387   $as_echo_n "(cached) " >&6
   3388 else
   3389   if test -n "$ac_ct_AR"; then
   3390   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   3391 else
   3392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3393 for as_dir in $PATH
   3394 do
   3395   IFS=$as_save_IFS
   3396   test -z "$as_dir" && as_dir=.
   3397     for ac_exec_ext in '' $ac_executable_extensions; do
   3398   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3399     ac_cv_prog_ac_ct_AR="ar"
   3400     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3401     break 2
   3402   fi
   3403 done
   3404   done
   3405 IFS=$as_save_IFS
   3406 
   3407 fi
   3408 fi
   3409 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   3410 if test -n "$ac_ct_AR"; then
   3411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   3412 $as_echo "$ac_ct_AR" >&6; }
   3413 else
   3414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3415 $as_echo "no" >&6; }
   3416 fi
   3417 
   3418   if test "x$ac_ct_AR" = x; then
   3419     AR=""
   3420   else
   3421     case $cross_compiling:$ac_tool_warned in
   3422 yes:)
   3423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3425 ac_tool_warned=yes ;;
   3426 esac
   3427     AR=$ac_ct_AR
   3428   fi
   3429 else
   3430   AR="$ac_cv_prog_AR"
   3431 fi
   3432 
   3433 if test -n "$ac_tool_prefix"; then
   3434   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   3435 set dummy ${ac_tool_prefix}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_RANLIB+:} false; then :
   3439   $as_echo_n "(cached) " >&6
   3440 else
   3441   if test -n "$RANLIB"; then
   3442   ac_cv_prog_RANLIB="$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_RANLIB="${ac_tool_prefix}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 RANLIB=$ac_cv_prog_RANLIB
   3462 if test -n "$RANLIB"; then
   3463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   3464 $as_echo "$RANLIB" >&6; }
   3465 else
   3466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3467 $as_echo "no" >&6; }
   3468 fi
   3469 
   3470 
   3471 fi
   3472 if test -z "$ac_cv_prog_RANLIB"; then
   3473   ac_ct_RANLIB=$RANLIB
   3474   # Extract the first word of "ranlib", so it can be a program name with args.
   3475 set dummy ranlib; ac_word=$2
   3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3477 $as_echo_n "checking for $ac_word... " >&6; }
   3478 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   3479   $as_echo_n "(cached) " >&6
   3480 else
   3481   if test -n "$ac_ct_RANLIB"; then
   3482   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   3483 else
   3484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3485 for as_dir in $PATH
   3486 do
   3487   IFS=$as_save_IFS
   3488   test -z "$as_dir" && as_dir=.
   3489     for ac_exec_ext in '' $ac_executable_extensions; do
   3490   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3491     ac_cv_prog_ac_ct_RANLIB="ranlib"
   3492     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3493     break 2
   3494   fi
   3495 done
   3496   done
   3497 IFS=$as_save_IFS
   3498 
   3499 fi
   3500 fi
   3501 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   3502 if test -n "$ac_ct_RANLIB"; then
   3503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   3504 $as_echo "$ac_ct_RANLIB" >&6; }
   3505 else
   3506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3507 $as_echo "no" >&6; }
   3508 fi
   3509 
   3510   if test "x$ac_ct_RANLIB" = x; then
   3511     RANLIB=":"
   3512   else
   3513     case $cross_compiling:$ac_tool_warned in
   3514 yes:)
   3515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3516 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3517 ac_tool_warned=yes ;;
   3518 esac
   3519     RANLIB=$ac_ct_RANLIB
   3520   fi
   3521 else
   3522   RANLIB="$ac_cv_prog_RANLIB"
   3523 fi
   3524 
   3525 
   3526 # Check whether --enable-shared was given.
   3527 if test "${enable_shared+set}" = set; then :
   3528   enableval=$enable_shared; p=${PACKAGE-default}
   3529     case $enableval in
   3530     yes) enable_shared=yes ;;
   3531     no) enable_shared=no ;;
   3532     *)
   3533       enable_shared=no
   3534       # Look at the argument we got.  We use all the common list separators.
   3535       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3536       for pkg in $enableval; do
   3537 	IFS="$lt_save_ifs"
   3538 	if test "X$pkg" = "X$p"; then
   3539 	  enable_shared=yes
   3540 	fi
   3541       done
   3542       IFS="$lt_save_ifs"
   3543       ;;
   3544     esac
   3545 else
   3546   enable_shared=no
   3547 fi
   3548 
   3549 
   3550 
   3551 
   3552 
   3553 
   3554 
   3555 
   3556 
   3557 
   3558 ac_ext=c
   3559 ac_cpp='$CPP $CPPFLAGS'
   3560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3563 if test -n "$ac_tool_prefix"; then
   3564   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3565 set dummy ${ac_tool_prefix}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_CC+:} false; then :
   3569   $as_echo_n "(cached) " >&6
   3570 else
   3571   if test -n "$CC"; then
   3572   ac_cv_prog_CC="$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_CC="${ac_tool_prefix}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 CC=$ac_cv_prog_CC
   3592 if test -n "$CC"; then
   3593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3594 $as_echo "$CC" >&6; }
   3595 else
   3596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3597 $as_echo "no" >&6; }
   3598 fi
   3599 
   3600 
   3601 fi
   3602 if test -z "$ac_cv_prog_CC"; then
   3603   ac_ct_CC=$CC
   3604   # Extract the first word of "gcc", so it can be a program name with args.
   3605 set dummy gcc; ac_word=$2
   3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3607 $as_echo_n "checking for $ac_word... " >&6; }
   3608 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3609   $as_echo_n "(cached) " >&6
   3610 else
   3611   if test -n "$ac_ct_CC"; then
   3612   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3613 else
   3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3615 for as_dir in $PATH
   3616 do
   3617   IFS=$as_save_IFS
   3618   test -z "$as_dir" && as_dir=.
   3619     for ac_exec_ext in '' $ac_executable_extensions; do
   3620   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3621     ac_cv_prog_ac_ct_CC="gcc"
   3622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3623     break 2
   3624   fi
   3625 done
   3626   done
   3627 IFS=$as_save_IFS
   3628 
   3629 fi
   3630 fi
   3631 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3632 if test -n "$ac_ct_CC"; then
   3633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3634 $as_echo "$ac_ct_CC" >&6; }
   3635 else
   3636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3637 $as_echo "no" >&6; }
   3638 fi
   3639 
   3640   if test "x$ac_ct_CC" = x; then
   3641     CC=""
   3642   else
   3643     case $cross_compiling:$ac_tool_warned in
   3644 yes:)
   3645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3647 ac_tool_warned=yes ;;
   3648 esac
   3649     CC=$ac_ct_CC
   3650   fi
   3651 else
   3652   CC="$ac_cv_prog_CC"
   3653 fi
   3654 
   3655 if test -z "$CC"; then
   3656           if test -n "$ac_tool_prefix"; then
   3657     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3658 set dummy ${ac_tool_prefix}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 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3668 for as_dir in $PATH
   3669 do
   3670   IFS=$as_save_IFS
   3671   test -z "$as_dir" && as_dir=.
   3672     for ac_exec_ext in '' $ac_executable_extensions; do
   3673   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3674     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3676     break 2
   3677   fi
   3678 done
   3679   done
   3680 IFS=$as_save_IFS
   3681 
   3682 fi
   3683 fi
   3684 CC=$ac_cv_prog_CC
   3685 if test -n "$CC"; then
   3686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3687 $as_echo "$CC" >&6; }
   3688 else
   3689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3690 $as_echo "no" >&6; }
   3691 fi
   3692 
   3693 
   3694   fi
   3695 fi
   3696 if test -z "$CC"; then
   3697   # Extract the first word of "cc", so it can be a program name with args.
   3698 set dummy cc; ac_word=$2
   3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3700 $as_echo_n "checking for $ac_word... " >&6; }
   3701 if ${ac_cv_prog_CC+:} false; then :
   3702   $as_echo_n "(cached) " >&6
   3703 else
   3704   if test -n "$CC"; then
   3705   ac_cv_prog_CC="$CC" # Let the user override the test.
   3706 else
   3707   ac_prog_rejected=no
   3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3709 for as_dir in $PATH
   3710 do
   3711   IFS=$as_save_IFS
   3712   test -z "$as_dir" && as_dir=.
   3713     for ac_exec_ext in '' $ac_executable_extensions; do
   3714   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3715     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3716        ac_prog_rejected=yes
   3717        continue
   3718      fi
   3719     ac_cv_prog_CC="cc"
   3720     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3721     break 2
   3722   fi
   3723 done
   3724   done
   3725 IFS=$as_save_IFS
   3726 
   3727 if test $ac_prog_rejected = yes; then
   3728   # We found a bogon in the path, so make sure we never use it.
   3729   set dummy $ac_cv_prog_CC
   3730   shift
   3731   if test $# != 0; then
   3732     # We chose a different compiler from the bogus one.
   3733     # However, it has the same basename, so the bogon will be chosen
   3734     # first if we set CC to just the basename; use the full file name.
   3735     shift
   3736     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3737   fi
   3738 fi
   3739 fi
   3740 fi
   3741 CC=$ac_cv_prog_CC
   3742 if test -n "$CC"; then
   3743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3744 $as_echo "$CC" >&6; }
   3745 else
   3746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3747 $as_echo "no" >&6; }
   3748 fi
   3749 
   3750 
   3751 fi
   3752 if test -z "$CC"; then
   3753   if test -n "$ac_tool_prefix"; then
   3754   for ac_prog in cl.exe
   3755   do
   3756     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3759 $as_echo_n "checking for $ac_word... " >&6; }
   3760 if ${ac_cv_prog_CC+:} false; then :
   3761   $as_echo_n "(cached) " >&6
   3762 else
   3763   if test -n "$CC"; then
   3764   ac_cv_prog_CC="$CC" # Let the user override the test.
   3765 else
   3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3767 for as_dir in $PATH
   3768 do
   3769   IFS=$as_save_IFS
   3770   test -z "$as_dir" && as_dir=.
   3771     for ac_exec_ext in '' $ac_executable_extensions; do
   3772   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3773     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3774     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3775     break 2
   3776   fi
   3777 done
   3778   done
   3779 IFS=$as_save_IFS
   3780 
   3781 fi
   3782 fi
   3783 CC=$ac_cv_prog_CC
   3784 if test -n "$CC"; then
   3785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3786 $as_echo "$CC" >&6; }
   3787 else
   3788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3789 $as_echo "no" >&6; }
   3790 fi
   3791 
   3792 
   3793     test -n "$CC" && break
   3794   done
   3795 fi
   3796 if test -z "$CC"; then
   3797   ac_ct_CC=$CC
   3798   for ac_prog in cl.exe
   3799 do
   3800   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3801 set dummy $ac_prog; ac_word=$2
   3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3803 $as_echo_n "checking for $ac_word... " >&6; }
   3804 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3805   $as_echo_n "(cached) " >&6
   3806 else
   3807   if test -n "$ac_ct_CC"; then
   3808   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3809 else
   3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3811 for as_dir in $PATH
   3812 do
   3813   IFS=$as_save_IFS
   3814   test -z "$as_dir" && as_dir=.
   3815     for ac_exec_ext in '' $ac_executable_extensions; do
   3816   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3817     ac_cv_prog_ac_ct_CC="$ac_prog"
   3818     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3819     break 2
   3820   fi
   3821 done
   3822   done
   3823 IFS=$as_save_IFS
   3824 
   3825 fi
   3826 fi
   3827 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3828 if test -n "$ac_ct_CC"; then
   3829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3830 $as_echo "$ac_ct_CC" >&6; }
   3831 else
   3832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3833 $as_echo "no" >&6; }
   3834 fi
   3835 
   3836 
   3837   test -n "$ac_ct_CC" && break
   3838 done
   3839 
   3840   if test "x$ac_ct_CC" = x; then
   3841     CC=""
   3842   else
   3843     case $cross_compiling:$ac_tool_warned in
   3844 yes:)
   3845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3847 ac_tool_warned=yes ;;
   3848 esac
   3849     CC=$ac_ct_CC
   3850   fi
   3851 fi
   3852 
   3853 fi
   3854 
   3855 
   3856 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3858 as_fn_error $? "no acceptable C compiler found in \$PATH
   3859 See \`config.log' for more details" "$LINENO" 5; }
   3860 
   3861 # Provide some information about the compiler.
   3862 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3863 set X $ac_compile
   3864 ac_compiler=$2
   3865 for ac_option in --version -v -V -qversion; do
   3866   { { ac_try="$ac_compiler $ac_option >&5"
   3867 case "(($ac_try" in
   3868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3869   *) ac_try_echo=$ac_try;;
   3870 esac
   3871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3872 $as_echo "$ac_try_echo"; } >&5
   3873   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3874   ac_status=$?
   3875   if test -s conftest.err; then
   3876     sed '10a\
   3877 ... rest of stderr output deleted ...
   3878          10q' conftest.err >conftest.er1
   3879     cat conftest.er1 >&5
   3880   fi
   3881   rm -f conftest.er1 conftest.err
   3882   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3883   test $ac_status = 0; }
   3884 done
   3885 
   3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3887 /* end confdefs.h.  */
   3888 
   3889 int
   3890 main ()
   3891 {
   3892 
   3893   ;
   3894   return 0;
   3895 }
   3896 _ACEOF
   3897 ac_clean_files_save=$ac_clean_files
   3898 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3899 # Try to create an executable without -o first, disregard a.out.
   3900 # It will help us diagnose broken compilers, and finding out an intuition
   3901 # of exeext.
   3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3903 $as_echo_n "checking whether the C compiler works... " >&6; }
   3904 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3905 
   3906 # The possible output files:
   3907 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3908 
   3909 ac_rmfiles=
   3910 for ac_file in $ac_files
   3911 do
   3912   case $ac_file in
   3913     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3914     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3915   esac
   3916 done
   3917 rm -f $ac_rmfiles
   3918 
   3919 if { { ac_try="$ac_link_default"
   3920 case "(($ac_try" in
   3921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3922   *) ac_try_echo=$ac_try;;
   3923 esac
   3924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3925 $as_echo "$ac_try_echo"; } >&5
   3926   (eval "$ac_link_default") 2>&5
   3927   ac_status=$?
   3928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3929   test $ac_status = 0; }; then :
   3930   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3931 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3932 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3933 # so that the user can short-circuit this test for compilers unknown to
   3934 # Autoconf.
   3935 for ac_file in $ac_files ''
   3936 do
   3937   test -f "$ac_file" || continue
   3938   case $ac_file in
   3939     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3940 	;;
   3941     [ab].out )
   3942 	# We found the default executable, but exeext='' is most
   3943 	# certainly right.
   3944 	break;;
   3945     *.* )
   3946 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3947 	then :; else
   3948 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3949 	fi
   3950 	# We set ac_cv_exeext here because the later test for it is not
   3951 	# safe: cross compilers may not add the suffix if given an `-o'
   3952 	# argument, so we may need to know it at that point already.
   3953 	# Even if this section looks crufty: it has the advantage of
   3954 	# actually working.
   3955 	break;;
   3956     * )
   3957 	break;;
   3958   esac
   3959 done
   3960 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3961 
   3962 else
   3963   ac_file=''
   3964 fi
   3965 if test -z "$ac_file"; then :
   3966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3967 $as_echo "no" >&6; }
   3968 $as_echo "$as_me: failed program was:" >&5
   3969 sed 's/^/| /' conftest.$ac_ext >&5
   3970 
   3971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3973 as_fn_error 77 "C compiler cannot create executables
   3974 See \`config.log' for more details" "$LINENO" 5; }
   3975 else
   3976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3977 $as_echo "yes" >&6; }
   3978 fi
   3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3980 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3982 $as_echo "$ac_file" >&6; }
   3983 ac_exeext=$ac_cv_exeext
   3984 
   3985 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3986 ac_clean_files=$ac_clean_files_save
   3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3988 $as_echo_n "checking for suffix of executables... " >&6; }
   3989 if { { ac_try="$ac_link"
   3990 case "(($ac_try" in
   3991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3992   *) ac_try_echo=$ac_try;;
   3993 esac
   3994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3995 $as_echo "$ac_try_echo"; } >&5
   3996   (eval "$ac_link") 2>&5
   3997   ac_status=$?
   3998   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3999   test $ac_status = 0; }; then :
   4000   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4001 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4002 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4003 # `rm'.
   4004 for ac_file in conftest.exe conftest conftest.*; do
   4005   test -f "$ac_file" || continue
   4006   case $ac_file in
   4007     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4008     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4009 	  break;;
   4010     * ) break;;
   4011   esac
   4012 done
   4013 else
   4014   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4016 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4017 See \`config.log' for more details" "$LINENO" 5; }
   4018 fi
   4019 rm -f conftest conftest$ac_cv_exeext
   4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4021 $as_echo "$ac_cv_exeext" >&6; }
   4022 
   4023 rm -f conftest.$ac_ext
   4024 EXEEXT=$ac_cv_exeext
   4025 ac_exeext=$EXEEXT
   4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4027 /* end confdefs.h.  */
   4028 #include <stdio.h>
   4029 int
   4030 main ()
   4031 {
   4032 FILE *f = fopen ("conftest.out", "w");
   4033  return ferror (f) || fclose (f) != 0;
   4034 
   4035   ;
   4036   return 0;
   4037 }
   4038 _ACEOF
   4039 ac_clean_files="$ac_clean_files conftest.out"
   4040 # Check that the compiler produces executables we can run.  If not, either
   4041 # the compiler is broken, or we cross compile.
   4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4043 $as_echo_n "checking whether we are cross compiling... " >&6; }
   4044 if test "$cross_compiling" != yes; then
   4045   { { ac_try="$ac_link"
   4046 case "(($ac_try" in
   4047   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4048   *) ac_try_echo=$ac_try;;
   4049 esac
   4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4051 $as_echo "$ac_try_echo"; } >&5
   4052   (eval "$ac_link") 2>&5
   4053   ac_status=$?
   4054   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4055   test $ac_status = 0; }
   4056   if { ac_try='./conftest$ac_cv_exeext'
   4057   { { case "(($ac_try" in
   4058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4059   *) ac_try_echo=$ac_try;;
   4060 esac
   4061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4062 $as_echo "$ac_try_echo"; } >&5
   4063   (eval "$ac_try") 2>&5
   4064   ac_status=$?
   4065   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4066   test $ac_status = 0; }; }; then
   4067     cross_compiling=no
   4068   else
   4069     if test "$cross_compiling" = maybe; then
   4070 	cross_compiling=yes
   4071     else
   4072 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4074 as_fn_error $? "cannot run C compiled programs.
   4075 If you meant to cross compile, use \`--host'.
   4076 See \`config.log' for more details" "$LINENO" 5; }
   4077     fi
   4078   fi
   4079 fi
   4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4081 $as_echo "$cross_compiling" >&6; }
   4082 
   4083 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4084 ac_clean_files=$ac_clean_files_save
   4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4086 $as_echo_n "checking for suffix of object files... " >&6; }
   4087 if ${ac_cv_objext+:} false; then :
   4088   $as_echo_n "(cached) " >&6
   4089 else
   4090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4091 /* end confdefs.h.  */
   4092 
   4093 int
   4094 main ()
   4095 {
   4096 
   4097   ;
   4098   return 0;
   4099 }
   4100 _ACEOF
   4101 rm -f conftest.o conftest.obj
   4102 if { { ac_try="$ac_compile"
   4103 case "(($ac_try" in
   4104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4105   *) ac_try_echo=$ac_try;;
   4106 esac
   4107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4108 $as_echo "$ac_try_echo"; } >&5
   4109   (eval "$ac_compile") 2>&5
   4110   ac_status=$?
   4111   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4112   test $ac_status = 0; }; then :
   4113   for ac_file in conftest.o conftest.obj conftest.*; do
   4114   test -f "$ac_file" || continue;
   4115   case $ac_file in
   4116     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4117     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4118        break;;
   4119   esac
   4120 done
   4121 else
   4122   $as_echo "$as_me: failed program was:" >&5
   4123 sed 's/^/| /' conftest.$ac_ext >&5
   4124 
   4125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4127 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4128 See \`config.log' for more details" "$LINENO" 5; }
   4129 fi
   4130 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4131 fi
   4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4133 $as_echo "$ac_cv_objext" >&6; }
   4134 OBJEXT=$ac_cv_objext
   4135 ac_objext=$OBJEXT
   4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4137 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4138 if ${ac_cv_c_compiler_gnu+:} false; then :
   4139   $as_echo_n "(cached) " >&6
   4140 else
   4141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4142 /* end confdefs.h.  */
   4143 
   4144 int
   4145 main ()
   4146 {
   4147 #ifndef __GNUC__
   4148        choke me
   4149 #endif
   4150 
   4151   ;
   4152   return 0;
   4153 }
   4154 _ACEOF
   4155 if ac_fn_c_try_compile "$LINENO"; then :
   4156   ac_compiler_gnu=yes
   4157 else
   4158   ac_compiler_gnu=no
   4159 fi
   4160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4161 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4162 
   4163 fi
   4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4165 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4166 if test $ac_compiler_gnu = yes; then
   4167   GCC=yes
   4168 else
   4169   GCC=
   4170 fi
   4171 ac_test_CFLAGS=${CFLAGS+set}
   4172 ac_save_CFLAGS=$CFLAGS
   4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4174 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4175 if ${ac_cv_prog_cc_g+:} false; then :
   4176   $as_echo_n "(cached) " >&6
   4177 else
   4178   ac_save_c_werror_flag=$ac_c_werror_flag
   4179    ac_c_werror_flag=yes
   4180    ac_cv_prog_cc_g=no
   4181    CFLAGS="-g"
   4182    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4183 /* end confdefs.h.  */
   4184 
   4185 int
   4186 main ()
   4187 {
   4188 
   4189   ;
   4190   return 0;
   4191 }
   4192 _ACEOF
   4193 if ac_fn_c_try_compile "$LINENO"; then :
   4194   ac_cv_prog_cc_g=yes
   4195 else
   4196   CFLAGS=""
   4197       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4198 /* end confdefs.h.  */
   4199 
   4200 int
   4201 main ()
   4202 {
   4203 
   4204   ;
   4205   return 0;
   4206 }
   4207 _ACEOF
   4208 if ac_fn_c_try_compile "$LINENO"; then :
   4209 
   4210 else
   4211   ac_c_werror_flag=$ac_save_c_werror_flag
   4212 	 CFLAGS="-g"
   4213 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4214 /* end confdefs.h.  */
   4215 
   4216 int
   4217 main ()
   4218 {
   4219 
   4220   ;
   4221   return 0;
   4222 }
   4223 _ACEOF
   4224 if ac_fn_c_try_compile "$LINENO"; then :
   4225   ac_cv_prog_cc_g=yes
   4226 fi
   4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4228 fi
   4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4230 fi
   4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4232    ac_c_werror_flag=$ac_save_c_werror_flag
   4233 fi
   4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4235 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4236 if test "$ac_test_CFLAGS" = set; then
   4237   CFLAGS=$ac_save_CFLAGS
   4238 elif test $ac_cv_prog_cc_g = yes; then
   4239   if test "$GCC" = yes; then
   4240     CFLAGS="-g -O2"
   4241   else
   4242     CFLAGS="-g"
   4243   fi
   4244 else
   4245   if test "$GCC" = yes; then
   4246     CFLAGS="-O2"
   4247   else
   4248     CFLAGS=
   4249   fi
   4250 fi
   4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4252 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4253 if ${ac_cv_prog_cc_c89+:} false; then :
   4254   $as_echo_n "(cached) " >&6
   4255 else
   4256   ac_cv_prog_cc_c89=no
   4257 ac_save_CC=$CC
   4258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4259 /* end confdefs.h.  */
   4260 #include <stdarg.h>
   4261 #include <stdio.h>
   4262 struct stat;
   4263 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4264 struct buf { int x; };
   4265 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4266 static char *e (p, i)
   4267      char **p;
   4268      int i;
   4269 {
   4270   return p[i];
   4271 }
   4272 static char *f (char * (*g) (char **, int), char **p, ...)
   4273 {
   4274   char *s;
   4275   va_list v;
   4276   va_start (v,p);
   4277   s = g (p, va_arg (v,int));
   4278   va_end (v);
   4279   return s;
   4280 }
   4281 
   4282 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4283    function prototypes and stuff, but not '\xHH' hex character constants.
   4284    These don't provoke an error unfortunately, instead are silently treated
   4285    as 'x'.  The following induces an error, until -std is added to get
   4286    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4287    array size at least.  It's necessary to write '\x00'==0 to get something
   4288    that's true only with -std.  */
   4289 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4290 
   4291 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4292    inside strings and character constants.  */
   4293 #define FOO(x) 'x'
   4294 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4295 
   4296 int test (int i, double x);
   4297 struct s1 {int (*f) (int a);};
   4298 struct s2 {int (*f) (double a);};
   4299 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4300 int argc;
   4301 char **argv;
   4302 int
   4303 main ()
   4304 {
   4305 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4306   ;
   4307   return 0;
   4308 }
   4309 _ACEOF
   4310 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4311 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4312 do
   4313   CC="$ac_save_CC $ac_arg"
   4314   if ac_fn_c_try_compile "$LINENO"; then :
   4315   ac_cv_prog_cc_c89=$ac_arg
   4316 fi
   4317 rm -f core conftest.err conftest.$ac_objext
   4318   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4319 done
   4320 rm -f conftest.$ac_ext
   4321 CC=$ac_save_CC
   4322 
   4323 fi
   4324 # AC_CACHE_VAL
   4325 case "x$ac_cv_prog_cc_c89" in
   4326   x)
   4327     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4328 $as_echo "none needed" >&6; } ;;
   4329   xno)
   4330     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4331 $as_echo "unsupported" >&6; } ;;
   4332   *)
   4333     CC="$CC $ac_cv_prog_cc_c89"
   4334     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4335 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4336 esac
   4337 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4338 
   4339 fi
   4340 
   4341 ac_ext=c
   4342 ac_cpp='$CPP $CPPFLAGS'
   4343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4346 
   4347 ac_ext=c
   4348 ac_cpp='$CPP $CPPFLAGS'
   4349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4353 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4354 if ${am_cv_prog_cc_c_o+:} false; then :
   4355   $as_echo_n "(cached) " >&6
   4356 else
   4357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4358 /* end confdefs.h.  */
   4359 
   4360 int
   4361 main ()
   4362 {
   4363 
   4364   ;
   4365   return 0;
   4366 }
   4367 _ACEOF
   4368   # Make sure it works both with $CC and with simple cc.
   4369   # Following AC_PROG_CC_C_O, we do the test twice because some
   4370   # compilers refuse to overwrite an existing .o file with -o,
   4371   # though they will create one.
   4372   am_cv_prog_cc_c_o=yes
   4373   for am_i in 1 2; do
   4374     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4375    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4376    ac_status=$?
   4377    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4378    (exit $ac_status); } \
   4379          && test -f conftest2.$ac_objext; then
   4380       : OK
   4381     else
   4382       am_cv_prog_cc_c_o=no
   4383       break
   4384     fi
   4385   done
   4386   rm -f core conftest*
   4387   unset am_i
   4388 fi
   4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4390 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4391 if test "$am_cv_prog_cc_c_o" != yes; then
   4392    # Losing compiler, so override with the script.
   4393    # FIXME: It is wrong to rewrite CC.
   4394    # But if we don't then we get into trouble of one sort or another.
   4395    # A longer-term fix would be to have automake use am__CC in this case,
   4396    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4397    CC="$am_aux_dir/compile $CC"
   4398 fi
   4399 ac_ext=c
   4400 ac_cpp='$CPP $CPPFLAGS'
   4401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4404 
   4405 DEPDIR="${am__leading_dot}deps"
   4406 
   4407 ac_config_commands="$ac_config_commands depfiles"
   4408 
   4409 
   4410 am_make=${MAKE-make}
   4411 cat > confinc << 'END'
   4412 am__doit:
   4413 	@echo this is the am__doit target
   4414 .PHONY: am__doit
   4415 END
   4416 # If we don't find an include directive, just comment out the code.
   4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4418 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4419 am__include="#"
   4420 am__quote=
   4421 _am_result=none
   4422 # First try GNU make style include.
   4423 echo "include confinc" > confmf
   4424 # Ignore all kinds of additional output from 'make'.
   4425 case `$am_make -s -f confmf 2> /dev/null` in #(
   4426 *the\ am__doit\ target*)
   4427   am__include=include
   4428   am__quote=
   4429   _am_result=GNU
   4430   ;;
   4431 esac
   4432 # Now try BSD make style include.
   4433 if test "$am__include" = "#"; then
   4434    echo '.include "confinc"' > confmf
   4435    case `$am_make -s -f confmf 2> /dev/null` in #(
   4436    *the\ am__doit\ target*)
   4437      am__include=.include
   4438      am__quote="\""
   4439      _am_result=BSD
   4440      ;;
   4441    esac
   4442 fi
   4443 
   4444 
   4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4446 $as_echo "$_am_result" >&6; }
   4447 rm -f confinc confmf
   4448 
   4449 # Check whether --enable-dependency-tracking was given.
   4450 if test "${enable_dependency_tracking+set}" = set; then :
   4451   enableval=$enable_dependency_tracking;
   4452 fi
   4453 
   4454 if test "x$enable_dependency_tracking" != xno; then
   4455   am_depcomp="$ac_aux_dir/depcomp"
   4456   AMDEPBACKSLASH='\'
   4457   am__nodep='_no'
   4458 fi
   4459  if test "x$enable_dependency_tracking" != xno; then
   4460   AMDEP_TRUE=
   4461   AMDEP_FALSE='#'
   4462 else
   4463   AMDEP_TRUE='#'
   4464   AMDEP_FALSE=
   4465 fi
   4466 
   4467 
   4468 
   4469 depcc="$CC"   am_compiler_list=
   4470 
   4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4472 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4473 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4474   $as_echo_n "(cached) " >&6
   4475 else
   4476   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4477   # We make a subdir and do the tests there.  Otherwise we can end up
   4478   # making bogus files that we don't know about and never remove.  For
   4479   # instance it was reported that on HP-UX the gcc test will end up
   4480   # making a dummy file named 'D' -- because '-MD' means "put the output
   4481   # in D".
   4482   rm -rf conftest.dir
   4483   mkdir conftest.dir
   4484   # Copy depcomp to subdir because otherwise we won't find it if we're
   4485   # using a relative directory.
   4486   cp "$am_depcomp" conftest.dir
   4487   cd conftest.dir
   4488   # We will build objects and dependencies in a subdirectory because
   4489   # it helps to detect inapplicable dependency modes.  For instance
   4490   # both Tru64's cc and ICC support -MD to output dependencies as a
   4491   # side effect of compilation, but ICC will put the dependencies in
   4492   # the current directory while Tru64 will put them in the object
   4493   # directory.
   4494   mkdir sub
   4495 
   4496   am_cv_CC_dependencies_compiler_type=none
   4497   if test "$am_compiler_list" = ""; then
   4498      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4499   fi
   4500   am__universal=false
   4501   case " $depcc " in #(
   4502      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4503      esac
   4504 
   4505   for depmode in $am_compiler_list; do
   4506     # Setup a source with many dependencies, because some compilers
   4507     # like to wrap large dependency lists on column 80 (with \), and
   4508     # we should not choose a depcomp mode which is confused by this.
   4509     #
   4510     # We need to recreate these files for each test, as the compiler may
   4511     # overwrite some of them when testing with obscure command lines.
   4512     # This happens at least with the AIX C compiler.
   4513     : > sub/conftest.c
   4514     for i in 1 2 3 4 5 6; do
   4515       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4516       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4517       # Solaris 10 /bin/sh.
   4518       echo '/* dummy */' > sub/conftst$i.h
   4519     done
   4520     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4521 
   4522     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4523     # mode.  It turns out that the SunPro C++ compiler does not properly
   4524     # handle '-M -o', and we need to detect this.  Also, some Intel
   4525     # versions had trouble with output in subdirs.
   4526     am__obj=sub/conftest.${OBJEXT-o}
   4527     am__minus_obj="-o $am__obj"
   4528     case $depmode in
   4529     gcc)
   4530       # This depmode causes a compiler race in universal mode.
   4531       test "$am__universal" = false || continue
   4532       ;;
   4533     nosideeffect)
   4534       # After this tag, mechanisms are not by side-effect, so they'll
   4535       # only be used when explicitly requested.
   4536       if test "x$enable_dependency_tracking" = xyes; then
   4537 	continue
   4538       else
   4539 	break
   4540       fi
   4541       ;;
   4542     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4543       # This compiler won't grok '-c -o', but also, the minuso test has
   4544       # not run yet.  These depmodes are late enough in the game, and
   4545       # so weak that their functioning should not be impacted.
   4546       am__obj=conftest.${OBJEXT-o}
   4547       am__minus_obj=
   4548       ;;
   4549     none) break ;;
   4550     esac
   4551     if depmode=$depmode \
   4552        source=sub/conftest.c object=$am__obj \
   4553        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4554        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4555          >/dev/null 2>conftest.err &&
   4556        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4557        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4558        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4559        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4560       # icc doesn't choke on unknown options, it will just issue warnings
   4561       # or remarks (even with -Werror).  So we grep stderr for any message
   4562       # that says an option was ignored or not supported.
   4563       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4564       #   icc: Command line warning: ignoring option '-M'; no argument required
   4565       # The diagnosis changed in icc 8.0:
   4566       #   icc: Command line remark: option '-MP' not supported
   4567       if (grep 'ignoring option' conftest.err ||
   4568           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4569         am_cv_CC_dependencies_compiler_type=$depmode
   4570         break
   4571       fi
   4572     fi
   4573   done
   4574 
   4575   cd ..
   4576   rm -rf conftest.dir
   4577 else
   4578   am_cv_CC_dependencies_compiler_type=none
   4579 fi
   4580 
   4581 fi
   4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4583 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4584 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4585 
   4586  if
   4587   test "x$enable_dependency_tracking" != xno \
   4588   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4589   am__fastdepCC_TRUE=
   4590   am__fastdepCC_FALSE='#'
   4591 else
   4592   am__fastdepCC_TRUE='#'
   4593   am__fastdepCC_FALSE=
   4594 fi
   4595 
   4596 
   4597 
   4598 ac_ext=c
   4599 ac_cpp='$CPP $CPPFLAGS'
   4600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4604 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4605 # On Suns, sometimes $CPP names a directory.
   4606 if test -n "$CPP" && test -d "$CPP"; then
   4607   CPP=
   4608 fi
   4609 if test -z "$CPP"; then
   4610   if ${ac_cv_prog_CPP+:} false; then :
   4611   $as_echo_n "(cached) " >&6
   4612 else
   4613       # Double quotes because CPP needs to be expanded
   4614     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4615     do
   4616       ac_preproc_ok=false
   4617 for ac_c_preproc_warn_flag in '' yes
   4618 do
   4619   # Use a header file that comes with gcc, so configuring glibc
   4620   # with a fresh cross-compiler works.
   4621   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4622   # <limits.h> exists even on freestanding compilers.
   4623   # On the NeXT, cc -E runs the code through the compiler's parser,
   4624   # not just through cpp. "Syntax error" is here to catch this case.
   4625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4626 /* end confdefs.h.  */
   4627 #ifdef __STDC__
   4628 # include <limits.h>
   4629 #else
   4630 # include <assert.h>
   4631 #endif
   4632 		     Syntax error
   4633 _ACEOF
   4634 if ac_fn_c_try_cpp "$LINENO"; then :
   4635 
   4636 else
   4637   # Broken: fails on valid input.
   4638 continue
   4639 fi
   4640 rm -f conftest.err conftest.i conftest.$ac_ext
   4641 
   4642   # OK, works on sane cases.  Now check whether nonexistent headers
   4643   # can be detected and how.
   4644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4645 /* end confdefs.h.  */
   4646 #include <ac_nonexistent.h>
   4647 _ACEOF
   4648 if ac_fn_c_try_cpp "$LINENO"; then :
   4649   # Broken: success on invalid input.
   4650 continue
   4651 else
   4652   # Passes both tests.
   4653 ac_preproc_ok=:
   4654 break
   4655 fi
   4656 rm -f conftest.err conftest.i conftest.$ac_ext
   4657 
   4658 done
   4659 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4660 rm -f conftest.i conftest.err conftest.$ac_ext
   4661 if $ac_preproc_ok; then :
   4662   break
   4663 fi
   4664 
   4665     done
   4666     ac_cv_prog_CPP=$CPP
   4667 
   4668 fi
   4669   CPP=$ac_cv_prog_CPP
   4670 else
   4671   ac_cv_prog_CPP=$CPP
   4672 fi
   4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4674 $as_echo "$CPP" >&6; }
   4675 ac_preproc_ok=false
   4676 for ac_c_preproc_warn_flag in '' yes
   4677 do
   4678   # Use a header file that comes with gcc, so configuring glibc
   4679   # with a fresh cross-compiler works.
   4680   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4681   # <limits.h> exists even on freestanding compilers.
   4682   # On the NeXT, cc -E runs the code through the compiler's parser,
   4683   # not just through cpp. "Syntax error" is here to catch this case.
   4684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4685 /* end confdefs.h.  */
   4686 #ifdef __STDC__
   4687 # include <limits.h>
   4688 #else
   4689 # include <assert.h>
   4690 #endif
   4691 		     Syntax error
   4692 _ACEOF
   4693 if ac_fn_c_try_cpp "$LINENO"; then :
   4694 
   4695 else
   4696   # Broken: fails on valid input.
   4697 continue
   4698 fi
   4699 rm -f conftest.err conftest.i conftest.$ac_ext
   4700 
   4701   # OK, works on sane cases.  Now check whether nonexistent headers
   4702   # can be detected and how.
   4703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4704 /* end confdefs.h.  */
   4705 #include <ac_nonexistent.h>
   4706 _ACEOF
   4707 if ac_fn_c_try_cpp "$LINENO"; then :
   4708   # Broken: success on invalid input.
   4709 continue
   4710 else
   4711   # Passes both tests.
   4712 ac_preproc_ok=:
   4713 break
   4714 fi
   4715 rm -f conftest.err conftest.i conftest.$ac_ext
   4716 
   4717 done
   4718 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4719 rm -f conftest.i conftest.err conftest.$ac_ext
   4720 if $ac_preproc_ok; then :
   4721 
   4722 else
   4723   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4725 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4726 See \`config.log' for more details" "$LINENO" 5; }
   4727 fi
   4728 
   4729 ac_ext=c
   4730 ac_cpp='$CPP $CPPFLAGS'
   4731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4734 
   4735 
   4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4737 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4738 if ${ac_cv_path_GREP+:} false; then :
   4739   $as_echo_n "(cached) " >&6
   4740 else
   4741   if test -z "$GREP"; then
   4742   ac_path_GREP_found=false
   4743   # Loop through the user's path and test for each of PROGNAME-LIST
   4744   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4745 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4746 do
   4747   IFS=$as_save_IFS
   4748   test -z "$as_dir" && as_dir=.
   4749     for ac_prog in grep ggrep; do
   4750     for ac_exec_ext in '' $ac_executable_extensions; do
   4751       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4752       as_fn_executable_p "$ac_path_GREP" || continue
   4753 # Check for GNU ac_path_GREP and select it if it is found.
   4754   # Check for GNU $ac_path_GREP
   4755 case `"$ac_path_GREP" --version 2>&1` in
   4756 *GNU*)
   4757   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4758 *)
   4759   ac_count=0
   4760   $as_echo_n 0123456789 >"conftest.in"
   4761   while :
   4762   do
   4763     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4764     mv "conftest.tmp" "conftest.in"
   4765     cp "conftest.in" "conftest.nl"
   4766     $as_echo 'GREP' >> "conftest.nl"
   4767     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4768     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4769     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4770     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4771       # Best one so far, save it but keep looking for a better one
   4772       ac_cv_path_GREP="$ac_path_GREP"
   4773       ac_path_GREP_max=$ac_count
   4774     fi
   4775     # 10*(2^10) chars as input seems more than enough
   4776     test $ac_count -gt 10 && break
   4777   done
   4778   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4779 esac
   4780 
   4781       $ac_path_GREP_found && break 3
   4782     done
   4783   done
   4784   done
   4785 IFS=$as_save_IFS
   4786   if test -z "$ac_cv_path_GREP"; then
   4787     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4788   fi
   4789 else
   4790   ac_cv_path_GREP=$GREP
   4791 fi
   4792 
   4793 fi
   4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4795 $as_echo "$ac_cv_path_GREP" >&6; }
   4796  GREP="$ac_cv_path_GREP"
   4797 
   4798 
   4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4800 $as_echo_n "checking for egrep... " >&6; }
   4801 if ${ac_cv_path_EGREP+:} false; then :
   4802   $as_echo_n "(cached) " >&6
   4803 else
   4804   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4805    then ac_cv_path_EGREP="$GREP -E"
   4806    else
   4807      if test -z "$EGREP"; then
   4808   ac_path_EGREP_found=false
   4809   # Loop through the user's path and test for each of PROGNAME-LIST
   4810   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4811 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4812 do
   4813   IFS=$as_save_IFS
   4814   test -z "$as_dir" && as_dir=.
   4815     for ac_prog in egrep; do
   4816     for ac_exec_ext in '' $ac_executable_extensions; do
   4817       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4818       as_fn_executable_p "$ac_path_EGREP" || continue
   4819 # Check for GNU ac_path_EGREP and select it if it is found.
   4820   # Check for GNU $ac_path_EGREP
   4821 case `"$ac_path_EGREP" --version 2>&1` in
   4822 *GNU*)
   4823   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4824 *)
   4825   ac_count=0
   4826   $as_echo_n 0123456789 >"conftest.in"
   4827   while :
   4828   do
   4829     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4830     mv "conftest.tmp" "conftest.in"
   4831     cp "conftest.in" "conftest.nl"
   4832     $as_echo 'EGREP' >> "conftest.nl"
   4833     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4834     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4835     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4836     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4837       # Best one so far, save it but keep looking for a better one
   4838       ac_cv_path_EGREP="$ac_path_EGREP"
   4839       ac_path_EGREP_max=$ac_count
   4840     fi
   4841     # 10*(2^10) chars as input seems more than enough
   4842     test $ac_count -gt 10 && break
   4843   done
   4844   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4845 esac
   4846 
   4847       $ac_path_EGREP_found && break 3
   4848     done
   4849   done
   4850   done
   4851 IFS=$as_save_IFS
   4852   if test -z "$ac_cv_path_EGREP"; then
   4853     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4854   fi
   4855 else
   4856   ac_cv_path_EGREP=$EGREP
   4857 fi
   4858 
   4859    fi
   4860 fi
   4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4862 $as_echo "$ac_cv_path_EGREP" >&6; }
   4863  EGREP="$ac_cv_path_EGREP"
   4864 
   4865 
   4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4867 $as_echo_n "checking for ANSI C header files... " >&6; }
   4868 if ${ac_cv_header_stdc+:} false; then :
   4869   $as_echo_n "(cached) " >&6
   4870 else
   4871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4872 /* end confdefs.h.  */
   4873 #include <stdlib.h>
   4874 #include <stdarg.h>
   4875 #include <string.h>
   4876 #include <float.h>
   4877 
   4878 int
   4879 main ()
   4880 {
   4881 
   4882   ;
   4883   return 0;
   4884 }
   4885 _ACEOF
   4886 if ac_fn_c_try_compile "$LINENO"; then :
   4887   ac_cv_header_stdc=yes
   4888 else
   4889   ac_cv_header_stdc=no
   4890 fi
   4891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4892 
   4893 if test $ac_cv_header_stdc = yes; then
   4894   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4896 /* end confdefs.h.  */
   4897 #include <string.h>
   4898 
   4899 _ACEOF
   4900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4901   $EGREP "memchr" >/dev/null 2>&1; then :
   4902 
   4903 else
   4904   ac_cv_header_stdc=no
   4905 fi
   4906 rm -f conftest*
   4907 
   4908 fi
   4909 
   4910 if test $ac_cv_header_stdc = yes; then
   4911   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4913 /* end confdefs.h.  */
   4914 #include <stdlib.h>
   4915 
   4916 _ACEOF
   4917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4918   $EGREP "free" >/dev/null 2>&1; then :
   4919 
   4920 else
   4921   ac_cv_header_stdc=no
   4922 fi
   4923 rm -f conftest*
   4924 
   4925 fi
   4926 
   4927 if test $ac_cv_header_stdc = yes; then
   4928   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4929   if test "$cross_compiling" = yes; then :
   4930   :
   4931 else
   4932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4933 /* end confdefs.h.  */
   4934 #include <ctype.h>
   4935 #include <stdlib.h>
   4936 #if ((' ' & 0x0FF) == 0x020)
   4937 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4938 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4939 #else
   4940 # define ISLOWER(c) \
   4941 		   (('a' <= (c) && (c) <= 'i') \
   4942 		     || ('j' <= (c) && (c) <= 'r') \
   4943 		     || ('s' <= (c) && (c) <= 'z'))
   4944 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4945 #endif
   4946 
   4947 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4948 int
   4949 main ()
   4950 {
   4951   int i;
   4952   for (i = 0; i < 256; i++)
   4953     if (XOR (islower (i), ISLOWER (i))
   4954 	|| toupper (i) != TOUPPER (i))
   4955       return 2;
   4956   return 0;
   4957 }
   4958 _ACEOF
   4959 if ac_fn_c_try_run "$LINENO"; then :
   4960 
   4961 else
   4962   ac_cv_header_stdc=no
   4963 fi
   4964 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4965   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4966 fi
   4967 
   4968 fi
   4969 fi
   4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4971 $as_echo "$ac_cv_header_stdc" >&6; }
   4972 if test $ac_cv_header_stdc = yes; then
   4973 
   4974 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4975 
   4976 fi
   4977 
   4978 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4979 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4980 		  inttypes.h stdint.h unistd.h
   4981 do :
   4982   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4983 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4984 "
   4985 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4986   cat >>confdefs.h <<_ACEOF
   4987 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4988 _ACEOF
   4989 
   4990 fi
   4991 
   4992 done
   4993 
   4994 
   4995 
   4996   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4997 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4998   MINIX=yes
   4999 else
   5000   MINIX=
   5001 fi
   5002 
   5003 
   5004   if test "$MINIX" = yes; then
   5005 
   5006 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   5007 
   5008 
   5009 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   5010 
   5011 
   5012 $as_echo "#define _MINIX 1" >>confdefs.h
   5013 
   5014   fi
   5015 
   5016 
   5017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   5018 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   5019 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   5020   $as_echo_n "(cached) " >&6
   5021 else
   5022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5023 /* end confdefs.h.  */
   5024 
   5025 #         define __EXTENSIONS__ 1
   5026           $ac_includes_default
   5027 int
   5028 main ()
   5029 {
   5030 
   5031   ;
   5032   return 0;
   5033 }
   5034 _ACEOF
   5035 if ac_fn_c_try_compile "$LINENO"; then :
   5036   ac_cv_safe_to_define___extensions__=yes
   5037 else
   5038   ac_cv_safe_to_define___extensions__=no
   5039 fi
   5040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5041 fi
   5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   5043 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   5044   test $ac_cv_safe_to_define___extensions__ = yes &&
   5045     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   5046 
   5047   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   5048 
   5049   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   5050 
   5051   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   5052 
   5053   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   5054 
   5055 
   5056 
   5057 
   5058 
   5059 case `pwd` in
   5060   *\ * | *\	*)
   5061     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5062 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5063 esac
   5064 
   5065 
   5066 
   5067 macro_version='2.2.7a'
   5068 macro_revision='1.3134'
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 ltmain="$ac_aux_dir/ltmain.sh"
   5083 
   5084 # Backslashify metacharacters that are still active within
   5085 # double-quoted strings.
   5086 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5087 
   5088 # Same as above, but do not quote variable references.
   5089 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5090 
   5091 # Sed substitution to delay expansion of an escaped shell variable in a
   5092 # double_quote_subst'ed string.
   5093 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5094 
   5095 # Sed substitution to delay expansion of an escaped single quote.
   5096 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5097 
   5098 # Sed substitution to avoid accidental globbing in evaled expressions
   5099 no_glob_subst='s/\*/\\\*/g'
   5100 
   5101 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5102 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5103 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5104 
   5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5106 $as_echo_n "checking how to print strings... " >&6; }
   5107 # Test print first, because it will be a builtin if present.
   5108 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   5109    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5110   ECHO='print -r --'
   5111 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5112   ECHO='printf %s\n'
   5113 else
   5114   # Use this function as a fallback that always works.
   5115   func_fallback_echo ()
   5116   {
   5117     eval 'cat <<_LTECHO_EOF
   5118 $1
   5119 _LTECHO_EOF'
   5120   }
   5121   ECHO='func_fallback_echo'
   5122 fi
   5123 
   5124 # func_echo_all arg...
   5125 # Invoke $ECHO with all args, space-separated.
   5126 func_echo_all ()
   5127 {
   5128     $ECHO ""
   5129 }
   5130 
   5131 case "$ECHO" in
   5132   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5133 $as_echo "printf" >&6; } ;;
   5134   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5135 $as_echo "print -r" >&6; } ;;
   5136   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5137 $as_echo "cat" >&6; } ;;
   5138 esac
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5154 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5155 if ${ac_cv_path_SED+:} false; then :
   5156   $as_echo_n "(cached) " >&6
   5157 else
   5158             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5159      for ac_i in 1 2 3 4 5 6 7; do
   5160        ac_script="$ac_script$as_nl$ac_script"
   5161      done
   5162      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5163      { ac_script=; unset ac_script;}
   5164      if test -z "$SED"; then
   5165   ac_path_SED_found=false
   5166   # Loop through the user's path and test for each of PROGNAME-LIST
   5167   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5168 for as_dir in $PATH
   5169 do
   5170   IFS=$as_save_IFS
   5171   test -z "$as_dir" && as_dir=.
   5172     for ac_prog in sed gsed; do
   5173     for ac_exec_ext in '' $ac_executable_extensions; do
   5174       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5175       as_fn_executable_p "$ac_path_SED" || continue
   5176 # Check for GNU ac_path_SED and select it if it is found.
   5177   # Check for GNU $ac_path_SED
   5178 case `"$ac_path_SED" --version 2>&1` in
   5179 *GNU*)
   5180   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5181 *)
   5182   ac_count=0
   5183   $as_echo_n 0123456789 >"conftest.in"
   5184   while :
   5185   do
   5186     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5187     mv "conftest.tmp" "conftest.in"
   5188     cp "conftest.in" "conftest.nl"
   5189     $as_echo '' >> "conftest.nl"
   5190     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5191     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5192     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5193     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5194       # Best one so far, save it but keep looking for a better one
   5195       ac_cv_path_SED="$ac_path_SED"
   5196       ac_path_SED_max=$ac_count
   5197     fi
   5198     # 10*(2^10) chars as input seems more than enough
   5199     test $ac_count -gt 10 && break
   5200   done
   5201   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5202 esac
   5203 
   5204       $ac_path_SED_found && break 3
   5205     done
   5206   done
   5207   done
   5208 IFS=$as_save_IFS
   5209   if test -z "$ac_cv_path_SED"; then
   5210     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5211   fi
   5212 else
   5213   ac_cv_path_SED=$SED
   5214 fi
   5215 
   5216 fi
   5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5218 $as_echo "$ac_cv_path_SED" >&6; }
   5219  SED="$ac_cv_path_SED"
   5220   rm -f conftest.sed
   5221 
   5222 test -z "$SED" && SED=sed
   5223 Xsed="$SED -e 1s/^X//"
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5236 $as_echo_n "checking for fgrep... " >&6; }
   5237 if ${ac_cv_path_FGREP+:} false; then :
   5238   $as_echo_n "(cached) " >&6
   5239 else
   5240   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5241    then ac_cv_path_FGREP="$GREP -F"
   5242    else
   5243      if test -z "$FGREP"; then
   5244   ac_path_FGREP_found=false
   5245   # Loop through the user's path and test for each of PROGNAME-LIST
   5246   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5247 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5248 do
   5249   IFS=$as_save_IFS
   5250   test -z "$as_dir" && as_dir=.
   5251     for ac_prog in fgrep; do
   5252     for ac_exec_ext in '' $ac_executable_extensions; do
   5253       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5254       as_fn_executable_p "$ac_path_FGREP" || continue
   5255 # Check for GNU ac_path_FGREP and select it if it is found.
   5256   # Check for GNU $ac_path_FGREP
   5257 case `"$ac_path_FGREP" --version 2>&1` in
   5258 *GNU*)
   5259   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5260 *)
   5261   ac_count=0
   5262   $as_echo_n 0123456789 >"conftest.in"
   5263   while :
   5264   do
   5265     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5266     mv "conftest.tmp" "conftest.in"
   5267     cp "conftest.in" "conftest.nl"
   5268     $as_echo 'FGREP' >> "conftest.nl"
   5269     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5270     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5271     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5272     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5273       # Best one so far, save it but keep looking for a better one
   5274       ac_cv_path_FGREP="$ac_path_FGREP"
   5275       ac_path_FGREP_max=$ac_count
   5276     fi
   5277     # 10*(2^10) chars as input seems more than enough
   5278     test $ac_count -gt 10 && break
   5279   done
   5280   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5281 esac
   5282 
   5283       $ac_path_FGREP_found && break 3
   5284     done
   5285   done
   5286   done
   5287 IFS=$as_save_IFS
   5288   if test -z "$ac_cv_path_FGREP"; then
   5289     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5290   fi
   5291 else
   5292   ac_cv_path_FGREP=$FGREP
   5293 fi
   5294 
   5295    fi
   5296 fi
   5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5298 $as_echo "$ac_cv_path_FGREP" >&6; }
   5299  FGREP="$ac_cv_path_FGREP"
   5300 
   5301 
   5302 test -z "$GREP" && GREP=grep
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 # Check whether --with-gnu-ld was given.
   5323 if test "${with_gnu_ld+set}" = set; then :
   5324   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5325 else
   5326   with_gnu_ld=no
   5327 fi
   5328 
   5329 ac_prog=ld
   5330 if test "$GCC" = yes; then
   5331   # Check if gcc -print-prog-name=ld gives a path.
   5332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5333 $as_echo_n "checking for ld used by $CC... " >&6; }
   5334   case $host in
   5335   *-*-mingw*)
   5336     # gcc leaves a trailing carriage return which upsets mingw
   5337     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5338   *)
   5339     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5340   esac
   5341   case $ac_prog in
   5342     # Accept absolute paths.
   5343     [\\/]* | ?:[\\/]*)
   5344       re_direlt='/[^/][^/]*/\.\./'
   5345       # Canonicalize the pathname of ld
   5346       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5347       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5348 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5349       done
   5350       test -z "$LD" && LD="$ac_prog"
   5351       ;;
   5352   "")
   5353     # If it fails, then pretend we aren't using GCC.
   5354     ac_prog=ld
   5355     ;;
   5356   *)
   5357     # If it is relative, then search for the first ld in PATH.
   5358     with_gnu_ld=unknown
   5359     ;;
   5360   esac
   5361 elif test "$with_gnu_ld" = yes; then
   5362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5363 $as_echo_n "checking for GNU ld... " >&6; }
   5364 else
   5365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5366 $as_echo_n "checking for non-GNU ld... " >&6; }
   5367 fi
   5368 if ${lt_cv_path_LD+:} false; then :
   5369   $as_echo_n "(cached) " >&6
   5370 else
   5371   if test -z "$LD"; then
   5372   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5373   for ac_dir in $PATH; do
   5374     IFS="$lt_save_ifs"
   5375     test -z "$ac_dir" && ac_dir=.
   5376     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5377       lt_cv_path_LD="$ac_dir/$ac_prog"
   5378       # Check to see if the program is GNU ld.  I'd rather use --version,
   5379       # but apparently some variants of GNU ld only accept -v.
   5380       # Break only if it was the GNU/non-GNU ld that we prefer.
   5381       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5382       *GNU* | *'with BFD'*)
   5383 	test "$with_gnu_ld" != no && break
   5384 	;;
   5385       *)
   5386 	test "$with_gnu_ld" != yes && break
   5387 	;;
   5388       esac
   5389     fi
   5390   done
   5391   IFS="$lt_save_ifs"
   5392 else
   5393   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5394 fi
   5395 fi
   5396 
   5397 LD="$lt_cv_path_LD"
   5398 if test -n "$LD"; then
   5399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5400 $as_echo "$LD" >&6; }
   5401 else
   5402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5403 $as_echo "no" >&6; }
   5404 fi
   5405 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5407 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5408 if ${lt_cv_prog_gnu_ld+:} false; then :
   5409   $as_echo_n "(cached) " >&6
   5410 else
   5411   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5412 case `$LD -v 2>&1 </dev/null` in
   5413 *GNU* | *'with BFD'*)
   5414   lt_cv_prog_gnu_ld=yes
   5415   ;;
   5416 *)
   5417   lt_cv_prog_gnu_ld=no
   5418   ;;
   5419 esac
   5420 fi
   5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5422 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5423 with_gnu_ld=$lt_cv_prog_gnu_ld
   5424 
   5425 
   5426 
   5427 
   5428 
   5429 
   5430 
   5431 
   5432 
   5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5434 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5435 if ${lt_cv_path_NM+:} false; then :
   5436   $as_echo_n "(cached) " >&6
   5437 else
   5438   if test -n "$NM"; then
   5439    # Let the user override the nm to test.
   5440    lt_nm_to_check="$NM"
   5441  else
   5442    lt_nm_to_check="${ac_tool_prefix}nm"
   5443    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5444      lt_nm_to_check="$lt_nm_to_check nm"
   5445    fi
   5446  fi
   5447  for lt_tmp_nm in "$lt_nm_to_check"; do
   5448    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5449    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5450      IFS="$lt_save_ifs"
   5451      test -z "$ac_dir" && ac_dir=.
   5452      # Strip out any user-provided options from the nm to test twice,
   5453      # the first time to test to see if nm (rather than its options) has
   5454      # an explicit path, the second time to yield a file which can be
   5455      # nm'ed itself.
   5456      tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
   5457      case "$tmp_nm_path" in
   5458      */*|*\\*) tmp_nm="$lt_tmp_nm";;
   5459      *) tmp_nm="$ac_dir/$lt_tmp_nm";;
   5460      esac
   5461      tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
   5462      if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
   5463        # Check to see if the nm accepts a BSD-compat flag.
   5464        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5465        #   nm: unknown option "B" ignored
   5466        case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   5467        *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
   5468 	 break
   5469 	 ;;
   5470        *)
   5471 	 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   5472 	 *$tmp_nm*)
   5473 	   lt_cv_path_NM="$tmp_nm -p"
   5474 	   break
   5475 	   ;;
   5476 	 *)
   5477 	   lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5478 	   continue # so that we can try to find one that supports BSD flags
   5479 	   ;;
   5480 	 esac
   5481 	 ;;
   5482        esac
   5483      fi
   5484    done
   5485    IFS="$lt_save_ifs"
   5486  done
   5487  : ${lt_cv_path_NM=no}
   5488 fi
   5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5490 $as_echo "$lt_cv_path_NM" >&6; }
   5491 if test "$lt_cv_path_NM" != "no"; then
   5492   NM="$lt_cv_path_NM"
   5493 else
   5494   # Didn't find any BSD compatible name lister, look for dumpbin.
   5495   if test -n "$DUMPBIN"; then :
   5496     # Let the user override the test.
   5497   else
   5498     if test -n "$ac_tool_prefix"; then
   5499   for ac_prog in dumpbin "link -dump"
   5500   do
   5501     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5502 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5504 $as_echo_n "checking for $ac_word... " >&6; }
   5505 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5506   $as_echo_n "(cached) " >&6
   5507 else
   5508   if test -n "$DUMPBIN"; then
   5509   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5510 else
   5511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5512 for as_dir in $PATH
   5513 do
   5514   IFS=$as_save_IFS
   5515   test -z "$as_dir" && as_dir=.
   5516     for ac_exec_ext in '' $ac_executable_extensions; do
   5517   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5518     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5520     break 2
   5521   fi
   5522 done
   5523   done
   5524 IFS=$as_save_IFS
   5525 
   5526 fi
   5527 fi
   5528 DUMPBIN=$ac_cv_prog_DUMPBIN
   5529 if test -n "$DUMPBIN"; then
   5530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5531 $as_echo "$DUMPBIN" >&6; }
   5532 else
   5533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5534 $as_echo "no" >&6; }
   5535 fi
   5536 
   5537 
   5538     test -n "$DUMPBIN" && break
   5539   done
   5540 fi
   5541 if test -z "$DUMPBIN"; then
   5542   ac_ct_DUMPBIN=$DUMPBIN
   5543   for ac_prog in dumpbin "link -dump"
   5544 do
   5545   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5546 set dummy $ac_prog; ac_word=$2
   5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5548 $as_echo_n "checking for $ac_word... " >&6; }
   5549 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5550   $as_echo_n "(cached) " >&6
   5551 else
   5552   if test -n "$ac_ct_DUMPBIN"; then
   5553   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5554 else
   5555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5556 for as_dir in $PATH
   5557 do
   5558   IFS=$as_save_IFS
   5559   test -z "$as_dir" && as_dir=.
   5560     for ac_exec_ext in '' $ac_executable_extensions; do
   5561   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5562     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5564     break 2
   5565   fi
   5566 done
   5567   done
   5568 IFS=$as_save_IFS
   5569 
   5570 fi
   5571 fi
   5572 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5573 if test -n "$ac_ct_DUMPBIN"; then
   5574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5575 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5576 else
   5577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5578 $as_echo "no" >&6; }
   5579 fi
   5580 
   5581 
   5582   test -n "$ac_ct_DUMPBIN" && break
   5583 done
   5584 
   5585   if test "x$ac_ct_DUMPBIN" = x; then
   5586     DUMPBIN=":"
   5587   else
   5588     case $cross_compiling:$ac_tool_warned in
   5589 yes:)
   5590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5591 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5592 ac_tool_warned=yes ;;
   5593 esac
   5594     DUMPBIN=$ac_ct_DUMPBIN
   5595   fi
   5596 fi
   5597 
   5598     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5599     *COFF*)
   5600       DUMPBIN="$DUMPBIN -symbols"
   5601       ;;
   5602     *)
   5603       DUMPBIN=:
   5604       ;;
   5605     esac
   5606   fi
   5607 
   5608   if test "$DUMPBIN" != ":"; then
   5609     NM="$DUMPBIN"
   5610   fi
   5611 fi
   5612 test -z "$NM" && NM=nm
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5620 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5621 if ${lt_cv_nm_interface+:} false; then :
   5622   $as_echo_n "(cached) " >&6
   5623 else
   5624   lt_cv_nm_interface="BSD nm"
   5625   echo "int some_variable = 0;" > conftest.$ac_ext
   5626   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5627   (eval "$ac_compile" 2>conftest.err)
   5628   cat conftest.err >&5
   5629   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5630   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5631   cat conftest.err >&5
   5632   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5633   cat conftest.out >&5
   5634   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5635     lt_cv_nm_interface="MS dumpbin"
   5636   fi
   5637   rm -f conftest*
   5638 fi
   5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5640 $as_echo "$lt_cv_nm_interface" >&6; }
   5641 
   5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5643 $as_echo_n "checking whether ln -s works... " >&6; }
   5644 LN_S=$as_ln_s
   5645 if test "$LN_S" = "ln -s"; then
   5646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5647 $as_echo "yes" >&6; }
   5648 else
   5649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5650 $as_echo "no, using $LN_S" >&6; }
   5651 fi
   5652 
   5653 # find the maximum length of command line arguments
   5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5655 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5656 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5657   $as_echo_n "(cached) " >&6
   5658 else
   5659     i=0
   5660   teststring="ABCD"
   5661 
   5662   case $build_os in
   5663   msdosdjgpp*)
   5664     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5665     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5666     # during glob expansion).  Even if it were fixed, the result of this
   5667     # check would be larger than it should be.
   5668     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5669     ;;
   5670 
   5671   gnu*)
   5672     # Under GNU Hurd, this test is not required because there is
   5673     # no limit to the length of command line arguments.
   5674     # Libtool will interpret -1 as no limit whatsoever
   5675     lt_cv_sys_max_cmd_len=-1;
   5676     ;;
   5677 
   5678   cygwin* | mingw* | cegcc*)
   5679     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5680     # about 5 minutes as the teststring grows exponentially.
   5681     # Worse, since 9x/ME are not pre-emptively multitasking,
   5682     # you end up with a "frozen" computer, even though with patience
   5683     # the test eventually succeeds (with a max line length of 256k).
   5684     # Instead, let's just punt: use the minimum linelength reported by
   5685     # all of the supported platforms: 8192 (on NT/2K/XP).
   5686     lt_cv_sys_max_cmd_len=8192;
   5687     ;;
   5688 
   5689   mint*)
   5690     # On MiNT this can take a long time and run out of memory.
   5691     lt_cv_sys_max_cmd_len=8192;
   5692     ;;
   5693 
   5694   amigaos*)
   5695     # On AmigaOS with pdksh, this test takes hours, literally.
   5696     # So we just punt and use a minimum line length of 8192.
   5697     lt_cv_sys_max_cmd_len=8192;
   5698     ;;
   5699 
   5700   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5701     # This has been around since 386BSD, at least.  Likely further.
   5702     if test -x /sbin/sysctl; then
   5703       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5704     elif test -x /usr/sbin/sysctl; then
   5705       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5706     else
   5707       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5708     fi
   5709     # And add a safety zone
   5710     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5711     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5712     ;;
   5713 
   5714   interix*)
   5715     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5716     lt_cv_sys_max_cmd_len=196608
   5717     ;;
   5718 
   5719   osf*)
   5720     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5721     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5722     # nice to cause kernel panics so lets avoid the loop below.
   5723     # First set a reasonable default.
   5724     lt_cv_sys_max_cmd_len=16384
   5725     #
   5726     if test -x /sbin/sysconfig; then
   5727       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5728         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5729       esac
   5730     fi
   5731     ;;
   5732   sco3.2v5*)
   5733     lt_cv_sys_max_cmd_len=102400
   5734     ;;
   5735   sysv5* | sco5v6* | sysv4.2uw2*)
   5736     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5737     if test -n "$kargmax"; then
   5738       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5739     else
   5740       lt_cv_sys_max_cmd_len=32768
   5741     fi
   5742     ;;
   5743   *)
   5744     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5745     if test -n "$lt_cv_sys_max_cmd_len"; then
   5746       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5747       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5748     else
   5749       # Make teststring a little bigger before we do anything with it.
   5750       # a 1K string should be a reasonable start.
   5751       for i in 1 2 3 4 5 6 7 8 ; do
   5752         teststring=$teststring$teststring
   5753       done
   5754       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5755       # If test is not a shell built-in, we'll probably end up computing a
   5756       # maximum length that is only half of the actual maximum length, but
   5757       # we can't tell.
   5758       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   5759 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5760 	      test $i != 17 # 1/2 MB should be enough
   5761       do
   5762         i=`expr $i + 1`
   5763         teststring=$teststring$teststring
   5764       done
   5765       # Only check the string length outside the loop.
   5766       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5767       teststring=
   5768       # Add a significant safety factor because C++ compilers can tack on
   5769       # massive amounts of additional arguments before passing them to the
   5770       # linker.  It appears as though 1/2 is a usable value.
   5771       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5772     fi
   5773     ;;
   5774   esac
   5775 
   5776 fi
   5777 
   5778 if test -n $lt_cv_sys_max_cmd_len ; then
   5779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5780 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5781 else
   5782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5783 $as_echo "none" >&6; }
   5784 fi
   5785 max_cmd_len=$lt_cv_sys_max_cmd_len
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 : ${CP="cp -f"}
   5793 : ${MV="mv -f"}
   5794 : ${RM="rm -f"}
   5795 
   5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5797 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5798 # Try some XSI features
   5799 xsi_shell=no
   5800 ( _lt_dummy="a/b/c"
   5801   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5802       = c,a/b,, \
   5803     && eval 'test $(( 1 + 1 )) -eq 2 \
   5804     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5805   && xsi_shell=yes
   5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5807 $as_echo "$xsi_shell" >&6; }
   5808 
   5809 
   5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5811 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5812 lt_shell_append=no
   5813 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5814     >/dev/null 2>&1 \
   5815   && lt_shell_append=yes
   5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5817 $as_echo "$lt_shell_append" >&6; }
   5818 
   5819 
   5820 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5821   lt_unset=unset
   5822 else
   5823   lt_unset=false
   5824 fi
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 # test EBCDIC or ASCII
   5831 case `echo X|tr X '\101'` in
   5832  A) # ASCII based system
   5833     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5834   lt_SP2NL='tr \040 \012'
   5835   lt_NL2SP='tr \015\012 \040\040'
   5836   ;;
   5837  *) # EBCDIC based system
   5838   lt_SP2NL='tr \100 \n'
   5839   lt_NL2SP='tr \r\n \100\100'
   5840   ;;
   5841 esac
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5852 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5853 if ${lt_cv_ld_reload_flag+:} false; then :
   5854   $as_echo_n "(cached) " >&6
   5855 else
   5856   lt_cv_ld_reload_flag='-r'
   5857 fi
   5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5859 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5860 reload_flag=$lt_cv_ld_reload_flag
   5861 case $reload_flag in
   5862 "" | " "*) ;;
   5863 *) reload_flag=" $reload_flag" ;;
   5864 esac
   5865 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5866 case $host_os in
   5867   darwin*)
   5868     if test "$GCC" = yes; then
   5869       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5870     else
   5871       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5872     fi
   5873     ;;
   5874 esac
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 if test -n "$ac_tool_prefix"; then
   5885   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5886 set dummy ${ac_tool_prefix}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_OBJDUMP+:} false; then :
   5890   $as_echo_n "(cached) " >&6
   5891 else
   5892   if test -n "$OBJDUMP"; then
   5893   ac_cv_prog_OBJDUMP="$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_OBJDUMP="${ac_tool_prefix}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 OBJDUMP=$ac_cv_prog_OBJDUMP
   5913 if test -n "$OBJDUMP"; then
   5914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5915 $as_echo "$OBJDUMP" >&6; }
   5916 else
   5917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5918 $as_echo "no" >&6; }
   5919 fi
   5920 
   5921 
   5922 fi
   5923 if test -z "$ac_cv_prog_OBJDUMP"; then
   5924   ac_ct_OBJDUMP=$OBJDUMP
   5925   # Extract the first word of "objdump", so it can be a program name with args.
   5926 set dummy objdump; ac_word=$2
   5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5928 $as_echo_n "checking for $ac_word... " >&6; }
   5929 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5930   $as_echo_n "(cached) " >&6
   5931 else
   5932   if test -n "$ac_ct_OBJDUMP"; then
   5933   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5934 else
   5935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5936 for as_dir in $PATH
   5937 do
   5938   IFS=$as_save_IFS
   5939   test -z "$as_dir" && as_dir=.
   5940     for ac_exec_ext in '' $ac_executable_extensions; do
   5941   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5942     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5944     break 2
   5945   fi
   5946 done
   5947   done
   5948 IFS=$as_save_IFS
   5949 
   5950 fi
   5951 fi
   5952 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5953 if test -n "$ac_ct_OBJDUMP"; then
   5954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5955 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5956 else
   5957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5958 $as_echo "no" >&6; }
   5959 fi
   5960 
   5961   if test "x$ac_ct_OBJDUMP" = x; then
   5962     OBJDUMP="false"
   5963   else
   5964     case $cross_compiling:$ac_tool_warned in
   5965 yes:)
   5966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5968 ac_tool_warned=yes ;;
   5969 esac
   5970     OBJDUMP=$ac_ct_OBJDUMP
   5971   fi
   5972 else
   5973   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5974 fi
   5975 
   5976 test -z "$OBJDUMP" && OBJDUMP=objdump
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 
   5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5987 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5988 if ${lt_cv_deplibs_check_method+:} false; then :
   5989   $as_echo_n "(cached) " >&6
   5990 else
   5991   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5992 lt_cv_file_magic_test_file=
   5993 lt_cv_deplibs_check_method='unknown'
   5994 # Need to set the preceding variable on all platforms that support
   5995 # interlibrary dependencies.
   5996 # 'none' -- dependencies not supported.
   5997 # `unknown' -- same as none, but documents that we really don't know.
   5998 # 'pass_all' -- all dependencies passed with no checks.
   5999 # 'test_compile' -- check by making test program.
   6000 # 'file_magic [[regex]]' -- check by looking for files in library path
   6001 # which responds to the $file_magic_cmd with a given extended regex.
   6002 # If you have `file' or equivalent on your system and you're not sure
   6003 # whether `pass_all' will *always* work, you probably want this one.
   6004 
   6005 case $host_os in
   6006 aix[4-9]*)
   6007   lt_cv_deplibs_check_method=pass_all
   6008   ;;
   6009 
   6010 beos*)
   6011   lt_cv_deplibs_check_method=pass_all
   6012   ;;
   6013 
   6014 bsdi[45]*)
   6015   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6016   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6017   lt_cv_file_magic_test_file=/shlib/libc.so
   6018   ;;
   6019 
   6020 cygwin*)
   6021   # func_win32_libid is a shell function defined in ltmain.sh
   6022   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6023   lt_cv_file_magic_cmd='func_win32_libid'
   6024   ;;
   6025 
   6026 mingw* | pw32*)
   6027   # Base MSYS/MinGW do not provide the 'file' command needed by
   6028   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6029   # unless we find 'file', for example because we are cross-compiling.
   6030   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6031   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6032     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6033     lt_cv_file_magic_cmd='func_win32_libid'
   6034   else
   6035     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6036     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6037   fi
   6038   ;;
   6039 
   6040 cegcc*)
   6041   # use the weaker test based on 'objdump'. See mingw*.
   6042   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6043   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6044   ;;
   6045 
   6046 darwin* | rhapsody*)
   6047   lt_cv_deplibs_check_method=pass_all
   6048   ;;
   6049 
   6050 freebsd* | dragonfly*)
   6051   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6052     case $host_cpu in
   6053     i*86 )
   6054       # Not sure whether the presence of OpenBSD here was a mistake.
   6055       # Let's accept both of them until this is cleared up.
   6056       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6057       lt_cv_file_magic_cmd=/usr/bin/file
   6058       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6059       ;;
   6060     esac
   6061   else
   6062     lt_cv_deplibs_check_method=pass_all
   6063   fi
   6064   ;;
   6065 
   6066 gnu*)
   6067   lt_cv_deplibs_check_method=pass_all
   6068   ;;
   6069 
   6070 haiku*)
   6071   lt_cv_deplibs_check_method=pass_all
   6072   ;;
   6073 
   6074 hpux10.20* | hpux11*)
   6075   lt_cv_file_magic_cmd=/usr/bin/file
   6076   case $host_cpu in
   6077   ia64*)
   6078     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6079     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6080     ;;
   6081   hppa*64*)
   6082     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]'
   6083     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6084     ;;
   6085   *)
   6086     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6087     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6088     ;;
   6089   esac
   6090   ;;
   6091 
   6092 interix[3-9]*)
   6093   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6094   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6095   ;;
   6096 
   6097 irix5* | irix6* | nonstopux*)
   6098   case $LD in
   6099   *-32|*"-32 ") libmagic=32-bit;;
   6100   *-n32|*"-n32 ") libmagic=N32;;
   6101   *-64|*"-64 ") libmagic=64-bit;;
   6102   *) libmagic=never-match;;
   6103   esac
   6104   lt_cv_deplibs_check_method=pass_all
   6105   ;;
   6106 
   6107 # This must be Linux ELF.
   6108 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   6109   lt_cv_deplibs_check_method=pass_all
   6110   ;;
   6111 
   6112 netbsd*)
   6113   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6114     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6115   else
   6116     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6117   fi
   6118   ;;
   6119 
   6120 newos6*)
   6121   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6122   lt_cv_file_magic_cmd=/usr/bin/file
   6123   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6124   ;;
   6125 
   6126 *nto* | *qnx*)
   6127   lt_cv_deplibs_check_method=pass_all
   6128   ;;
   6129 
   6130 openbsd*)
   6131   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6132     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6133   else
   6134     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6135   fi
   6136   ;;
   6137 
   6138 osf3* | osf4* | osf5*)
   6139   lt_cv_deplibs_check_method=pass_all
   6140   ;;
   6141 
   6142 rdos*)
   6143   lt_cv_deplibs_check_method=pass_all
   6144   ;;
   6145 
   6146 solaris*)
   6147   lt_cv_deplibs_check_method=pass_all
   6148   ;;
   6149 
   6150 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6151   lt_cv_deplibs_check_method=pass_all
   6152   ;;
   6153 
   6154 sysv4 | sysv4.3*)
   6155   case $host_vendor in
   6156   motorola)
   6157     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]'
   6158     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6159     ;;
   6160   ncr)
   6161     lt_cv_deplibs_check_method=pass_all
   6162     ;;
   6163   sequent)
   6164     lt_cv_file_magic_cmd='/bin/file'
   6165     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6166     ;;
   6167   sni)
   6168     lt_cv_file_magic_cmd='/bin/file'
   6169     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6170     lt_cv_file_magic_test_file=/lib/libc.so
   6171     ;;
   6172   siemens)
   6173     lt_cv_deplibs_check_method=pass_all
   6174     ;;
   6175   pc)
   6176     lt_cv_deplibs_check_method=pass_all
   6177     ;;
   6178   esac
   6179   ;;
   6180 
   6181 tpf*)
   6182   lt_cv_deplibs_check_method=pass_all
   6183   ;;
   6184 vxworks*)
   6185   # Assume VxWorks cross toolchains are built on Linux, possibly
   6186   # as canadian for Windows hosts.
   6187   lt_cv_deplibs_check_method=pass_all
   6188   ;;
   6189 esac
   6190 
   6191 fi
   6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6193 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6194 file_magic_cmd=$lt_cv_file_magic_cmd
   6195 deplibs_check_method=$lt_cv_deplibs_check_method
   6196 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 plugin_option=
   6210 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
   6211 for plugin in $plugin_names; do
   6212   plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
   6213   if test x$plugin_so = x$plugin; then
   6214     plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
   6215   fi
   6216   if test x$plugin_so != x$plugin; then
   6217     plugin_option="--plugin $plugin_so"
   6218     break
   6219   fi
   6220 done
   6221 
   6222 if test -n "$ac_tool_prefix"; then
   6223   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6224 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6226 $as_echo_n "checking for $ac_word... " >&6; }
   6227 if ${ac_cv_prog_AR+:} false; then :
   6228   $as_echo_n "(cached) " >&6
   6229 else
   6230   if test -n "$AR"; then
   6231   ac_cv_prog_AR="$AR" # Let the user override the test.
   6232 else
   6233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6234 for as_dir in $PATH
   6235 do
   6236   IFS=$as_save_IFS
   6237   test -z "$as_dir" && as_dir=.
   6238     for ac_exec_ext in '' $ac_executable_extensions; do
   6239   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6240     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6241     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6242     break 2
   6243   fi
   6244 done
   6245   done
   6246 IFS=$as_save_IFS
   6247 
   6248 fi
   6249 fi
   6250 AR=$ac_cv_prog_AR
   6251 if test -n "$AR"; then
   6252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6253 $as_echo "$AR" >&6; }
   6254 else
   6255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6256 $as_echo "no" >&6; }
   6257 fi
   6258 
   6259 
   6260 fi
   6261 if test -z "$ac_cv_prog_AR"; then
   6262   ac_ct_AR=$AR
   6263   # Extract the first word of "ar", so it can be a program name with args.
   6264 set dummy ar; ac_word=$2
   6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6266 $as_echo_n "checking for $ac_word... " >&6; }
   6267 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6268   $as_echo_n "(cached) " >&6
   6269 else
   6270   if test -n "$ac_ct_AR"; then
   6271   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6272 else
   6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6274 for as_dir in $PATH
   6275 do
   6276   IFS=$as_save_IFS
   6277   test -z "$as_dir" && as_dir=.
   6278     for ac_exec_ext in '' $ac_executable_extensions; do
   6279   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6280     ac_cv_prog_ac_ct_AR="ar"
   6281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6282     break 2
   6283   fi
   6284 done
   6285   done
   6286 IFS=$as_save_IFS
   6287 
   6288 fi
   6289 fi
   6290 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6291 if test -n "$ac_ct_AR"; then
   6292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6293 $as_echo "$ac_ct_AR" >&6; }
   6294 else
   6295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6296 $as_echo "no" >&6; }
   6297 fi
   6298 
   6299   if test "x$ac_ct_AR" = x; then
   6300     AR="false"
   6301   else
   6302     case $cross_compiling:$ac_tool_warned in
   6303 yes:)
   6304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6306 ac_tool_warned=yes ;;
   6307 esac
   6308     AR=$ac_ct_AR
   6309   fi
   6310 else
   6311   AR="$ac_cv_prog_AR"
   6312 fi
   6313 
   6314 test -z "$AR" && AR=ar
   6315 if test -n "$plugin_option"; then
   6316   if $AR --help 2>&1 | grep -q "\--plugin"; then
   6317     touch conftest.c
   6318     $AR $plugin_option rc conftest.a conftest.c
   6319     if test "$?" != 0; then
   6320       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   6321 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   6322     else
   6323       AR="$AR $plugin_option"
   6324     fi
   6325     rm -f conftest.*
   6326   fi
   6327 fi
   6328 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 if test -n "$ac_tool_prefix"; then
   6341   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6342 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6344 $as_echo_n "checking for $ac_word... " >&6; }
   6345 if ${ac_cv_prog_STRIP+:} false; then :
   6346   $as_echo_n "(cached) " >&6
   6347 else
   6348   if test -n "$STRIP"; then
   6349   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6350 else
   6351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6352 for as_dir in $PATH
   6353 do
   6354   IFS=$as_save_IFS
   6355   test -z "$as_dir" && as_dir=.
   6356     for ac_exec_ext in '' $ac_executable_extensions; do
   6357   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6358     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6359     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6360     break 2
   6361   fi
   6362 done
   6363   done
   6364 IFS=$as_save_IFS
   6365 
   6366 fi
   6367 fi
   6368 STRIP=$ac_cv_prog_STRIP
   6369 if test -n "$STRIP"; then
   6370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6371 $as_echo "$STRIP" >&6; }
   6372 else
   6373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6374 $as_echo "no" >&6; }
   6375 fi
   6376 
   6377 
   6378 fi
   6379 if test -z "$ac_cv_prog_STRIP"; then
   6380   ac_ct_STRIP=$STRIP
   6381   # Extract the first word of "strip", so it can be a program name with args.
   6382 set dummy strip; ac_word=$2
   6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6384 $as_echo_n "checking for $ac_word... " >&6; }
   6385 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6386   $as_echo_n "(cached) " >&6
   6387 else
   6388   if test -n "$ac_ct_STRIP"; then
   6389   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6390 else
   6391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6392 for as_dir in $PATH
   6393 do
   6394   IFS=$as_save_IFS
   6395   test -z "$as_dir" && as_dir=.
   6396     for ac_exec_ext in '' $ac_executable_extensions; do
   6397   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6398     ac_cv_prog_ac_ct_STRIP="strip"
   6399     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6400     break 2
   6401   fi
   6402 done
   6403   done
   6404 IFS=$as_save_IFS
   6405 
   6406 fi
   6407 fi
   6408 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6409 if test -n "$ac_ct_STRIP"; then
   6410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6411 $as_echo "$ac_ct_STRIP" >&6; }
   6412 else
   6413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6414 $as_echo "no" >&6; }
   6415 fi
   6416 
   6417   if test "x$ac_ct_STRIP" = x; then
   6418     STRIP=":"
   6419   else
   6420     case $cross_compiling:$ac_tool_warned in
   6421 yes:)
   6422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6424 ac_tool_warned=yes ;;
   6425 esac
   6426     STRIP=$ac_ct_STRIP
   6427   fi
   6428 else
   6429   STRIP="$ac_cv_prog_STRIP"
   6430 fi
   6431 
   6432 test -z "$STRIP" && STRIP=:
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 if test -n "$ac_tool_prefix"; then
   6440   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6441 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6443 $as_echo_n "checking for $ac_word... " >&6; }
   6444 if ${ac_cv_prog_RANLIB+:} false; then :
   6445   $as_echo_n "(cached) " >&6
   6446 else
   6447   if test -n "$RANLIB"; then
   6448   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6449 else
   6450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6451 for as_dir in $PATH
   6452 do
   6453   IFS=$as_save_IFS
   6454   test -z "$as_dir" && as_dir=.
   6455     for ac_exec_ext in '' $ac_executable_extensions; do
   6456   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6457     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6459     break 2
   6460   fi
   6461 done
   6462   done
   6463 IFS=$as_save_IFS
   6464 
   6465 fi
   6466 fi
   6467 RANLIB=$ac_cv_prog_RANLIB
   6468 if test -n "$RANLIB"; then
   6469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6470 $as_echo "$RANLIB" >&6; }
   6471 else
   6472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6473 $as_echo "no" >&6; }
   6474 fi
   6475 
   6476 
   6477 fi
   6478 if test -z "$ac_cv_prog_RANLIB"; then
   6479   ac_ct_RANLIB=$RANLIB
   6480   # Extract the first word of "ranlib", so it can be a program name with args.
   6481 set dummy ranlib; ac_word=$2
   6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6483 $as_echo_n "checking for $ac_word... " >&6; }
   6484 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6485   $as_echo_n "(cached) " >&6
   6486 else
   6487   if test -n "$ac_ct_RANLIB"; then
   6488   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6489 else
   6490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6491 for as_dir in $PATH
   6492 do
   6493   IFS=$as_save_IFS
   6494   test -z "$as_dir" && as_dir=.
   6495     for ac_exec_ext in '' $ac_executable_extensions; do
   6496   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6497     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6499     break 2
   6500   fi
   6501 done
   6502   done
   6503 IFS=$as_save_IFS
   6504 
   6505 fi
   6506 fi
   6507 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6508 if test -n "$ac_ct_RANLIB"; then
   6509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6510 $as_echo "$ac_ct_RANLIB" >&6; }
   6511 else
   6512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6513 $as_echo "no" >&6; }
   6514 fi
   6515 
   6516   if test "x$ac_ct_RANLIB" = x; then
   6517     RANLIB=":"
   6518   else
   6519     case $cross_compiling:$ac_tool_warned in
   6520 yes:)
   6521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6523 ac_tool_warned=yes ;;
   6524 esac
   6525     RANLIB=$ac_ct_RANLIB
   6526   fi
   6527 else
   6528   RANLIB="$ac_cv_prog_RANLIB"
   6529 fi
   6530 
   6531 test -z "$RANLIB" && RANLIB=:
   6532 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
   6533   if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
   6534     RANLIB="$RANLIB $plugin_option"
   6535   fi
   6536 fi
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 # Determine commands to create old-style static archives.
   6544 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6545 old_postinstall_cmds='chmod 644 $oldlib'
   6546 old_postuninstall_cmds=
   6547 
   6548 if test -n "$RANLIB"; then
   6549   case $host_os in
   6550   openbsd*)
   6551     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6552     ;;
   6553   *)
   6554     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6555     ;;
   6556   esac
   6557   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6558 fi
   6559 
   6560 case $host_os in
   6561   darwin*)
   6562     lock_old_archive_extraction=yes ;;
   6563   *)
   6564     lock_old_archive_extraction=no ;;
   6565 esac
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 
   6574 
   6575 
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 
   6602 
   6603 
   6604 
   6605 # If no C compiler was specified, use CC.
   6606 LTCC=${LTCC-"$CC"}
   6607 
   6608 # If no C compiler flags were specified, use CFLAGS.
   6609 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6610 
   6611 # Allow CC to be a program name with arguments.
   6612 compiler=$CC
   6613 
   6614 
   6615 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6617 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6618 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6619   $as_echo_n "(cached) " >&6
   6620 else
   6621 
   6622 # These are sane defaults that work on at least a few old systems.
   6623 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6624 
   6625 # Character class describing NM global symbol codes.
   6626 symcode='[BCDEGRST]'
   6627 
   6628 # Regexp to match symbols that can be accessed directly from C.
   6629 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6630 
   6631 # Define system-specific variables.
   6632 case $host_os in
   6633 aix*)
   6634   symcode='[BCDT]'
   6635   ;;
   6636 cygwin* | mingw* | pw32* | cegcc*)
   6637   symcode='[ABCDGISTW]'
   6638   ;;
   6639 hpux*)
   6640   if test "$host_cpu" = ia64; then
   6641     symcode='[ABCDEGRST]'
   6642   fi
   6643   ;;
   6644 irix* | nonstopux*)
   6645   symcode='[BCDEGRST]'
   6646   ;;
   6647 osf*)
   6648   symcode='[BCDEGQRST]'
   6649   ;;
   6650 solaris*)
   6651   symcode='[BCDRT]'
   6652   ;;
   6653 sco3.2v5*)
   6654   symcode='[DT]'
   6655   ;;
   6656 sysv4.2uw2*)
   6657   symcode='[DT]'
   6658   ;;
   6659 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6660   symcode='[ABDT]'
   6661   ;;
   6662 sysv4)
   6663   symcode='[DFNSTU]'
   6664   ;;
   6665 esac
   6666 
   6667 # If we're using GNU nm, then use its standard symbol codes.
   6668 case `$NM -V 2>&1` in
   6669 *GNU* | *'with BFD'*)
   6670   symcode='[ABCDGIRSTW]' ;;
   6671 esac
   6672 
   6673 # Transform an extracted symbol line into a proper C declaration.
   6674 # Some systems (esp. on ia64) link data and code symbols differently,
   6675 # so use this general approach.
   6676 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6677 
   6678 # Transform an extracted symbol line into symbol name and symbol address
   6679 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6680 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'"
   6681 
   6682 # Handle CRLF in mingw tool chain
   6683 opt_cr=
   6684 case $build_os in
   6685 mingw*)
   6686   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6687   ;;
   6688 esac
   6689 
   6690 # Try without a prefix underscore, then with it.
   6691 for ac_symprfx in "" "_"; do
   6692 
   6693   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6694   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6695 
   6696   # Write the raw and C identifiers.
   6697   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6698     # Fake it for dumpbin and say T for any non-static function
   6699     # and D for any global variable.
   6700     # Also find C++ and __fastcall symbols from MSVC++,
   6701     # which start with @ or ?.
   6702     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6703 "     {last_section=section; section=\$ 3};"\
   6704 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6705 "     \$ 0!~/External *\|/{next};"\
   6706 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6707 "     {if(hide[section]) next};"\
   6708 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6709 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6710 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6711 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6712 "     ' prfx=^$ac_symprfx"
   6713   else
   6714     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6715   fi
   6716 
   6717   # Check to see that the pipe works correctly.
   6718   pipe_works=no
   6719 
   6720   rm -f conftest*
   6721   cat > conftest.$ac_ext <<_LT_EOF
   6722 #ifdef __cplusplus
   6723 extern "C" {
   6724 #endif
   6725 char nm_test_var;
   6726 void nm_test_func(void);
   6727 void nm_test_func(void){}
   6728 #ifdef __cplusplus
   6729 }
   6730 #endif
   6731 int main(){nm_test_var='a';nm_test_func();return(0);}
   6732 _LT_EOF
   6733 
   6734   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6735   (eval $ac_compile) 2>&5
   6736   ac_status=$?
   6737   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6738   test $ac_status = 0; }; then
   6739     # Now try to grab the symbols.
   6740     nlist=conftest.nm
   6741     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6742   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6743   ac_status=$?
   6744   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6745   test $ac_status = 0; } && test -s "$nlist"; then
   6746       # Try sorting and uniquifying the output.
   6747       if sort "$nlist" | uniq > "$nlist"T; then
   6748 	mv -f "$nlist"T "$nlist"
   6749       else
   6750 	rm -f "$nlist"T
   6751       fi
   6752 
   6753       # Make sure that we snagged all the symbols we need.
   6754       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6755 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6756 	  cat <<_LT_EOF > conftest.$ac_ext
   6757 #ifdef __cplusplus
   6758 extern "C" {
   6759 #endif
   6760 
   6761 _LT_EOF
   6762 	  # Now generate the symbol file.
   6763 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6764 
   6765 	  cat <<_LT_EOF >> conftest.$ac_ext
   6766 
   6767 /* The mapping between symbol names and symbols.  */
   6768 const struct {
   6769   const char *name;
   6770   void       *address;
   6771 }
   6772 lt__PROGRAM__LTX_preloaded_symbols[] =
   6773 {
   6774   { "@PROGRAM@", (void *) 0 },
   6775 _LT_EOF
   6776 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6777 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6778   {0, (void *) 0}
   6779 };
   6780 
   6781 /* This works around a problem in FreeBSD linker */
   6782 #ifdef FREEBSD_WORKAROUND
   6783 static const void *lt_preloaded_setup() {
   6784   return lt__PROGRAM__LTX_preloaded_symbols;
   6785 }
   6786 #endif
   6787 
   6788 #ifdef __cplusplus
   6789 }
   6790 #endif
   6791 _LT_EOF
   6792 	  # Now try linking the two files.
   6793 	  mv conftest.$ac_objext conftstm.$ac_objext
   6794 	  lt_save_LIBS="$LIBS"
   6795 	  lt_save_CFLAGS="$CFLAGS"
   6796 	  LIBS="conftstm.$ac_objext"
   6797 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6798 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6799   (eval $ac_link) 2>&5
   6800   ac_status=$?
   6801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6802   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6803 	    pipe_works=yes
   6804 	  fi
   6805 	  LIBS="$lt_save_LIBS"
   6806 	  CFLAGS="$lt_save_CFLAGS"
   6807 	else
   6808 	  echo "cannot find nm_test_func in $nlist" >&5
   6809 	fi
   6810       else
   6811 	echo "cannot find nm_test_var in $nlist" >&5
   6812       fi
   6813     else
   6814       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6815     fi
   6816   else
   6817     echo "$progname: failed program was:" >&5
   6818     cat conftest.$ac_ext >&5
   6819   fi
   6820   rm -rf conftest* conftst*
   6821 
   6822   # Do not use the global_symbol_pipe unless it works.
   6823   if test "$pipe_works" = yes; then
   6824     break
   6825   else
   6826     lt_cv_sys_global_symbol_pipe=
   6827   fi
   6828 done
   6829 
   6830 fi
   6831 
   6832 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6833   lt_cv_sys_global_symbol_to_cdecl=
   6834 fi
   6835 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6837 $as_echo "failed" >&6; }
   6838 else
   6839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6840 $as_echo "ok" >&6; }
   6841 fi
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 # Check whether --enable-libtool-lock was given.
   6865 if test "${enable_libtool_lock+set}" = set; then :
   6866   enableval=$enable_libtool_lock;
   6867 fi
   6868 
   6869 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6870 
   6871 # Some flags need to be propagated to the compiler or linker for good
   6872 # libtool support.
   6873 case $host in
   6874 ia64-*-hpux*)
   6875   # Find out which ABI we are using.
   6876   echo 'int i;' > conftest.$ac_ext
   6877   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6878   (eval $ac_compile) 2>&5
   6879   ac_status=$?
   6880   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6881   test $ac_status = 0; }; then
   6882     case `/usr/bin/file conftest.$ac_objext` in
   6883       *ELF-32*)
   6884 	HPUX_IA64_MODE="32"
   6885 	;;
   6886       *ELF-64*)
   6887 	HPUX_IA64_MODE="64"
   6888 	;;
   6889     esac
   6890   fi
   6891   rm -rf conftest*
   6892   ;;
   6893 *-*-irix6*)
   6894   # Find out which ABI we are using.
   6895   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6896   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6897   (eval $ac_compile) 2>&5
   6898   ac_status=$?
   6899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6900   test $ac_status = 0; }; then
   6901     if test "$lt_cv_prog_gnu_ld" = yes; then
   6902       case `/usr/bin/file conftest.$ac_objext` in
   6903 	*32-bit*)
   6904 	  LD="${LD-ld} -melf32bsmip"
   6905 	  ;;
   6906 	*N32*)
   6907 	  LD="${LD-ld} -melf32bmipn32"
   6908 	  ;;
   6909 	*64-bit*)
   6910 	  LD="${LD-ld} -melf64bmip"
   6911 	;;
   6912       esac
   6913     else
   6914       case `/usr/bin/file conftest.$ac_objext` in
   6915 	*32-bit*)
   6916 	  LD="${LD-ld} -32"
   6917 	  ;;
   6918 	*N32*)
   6919 	  LD="${LD-ld} -n32"
   6920 	  ;;
   6921 	*64-bit*)
   6922 	  LD="${LD-ld} -64"
   6923 	  ;;
   6924       esac
   6925     fi
   6926   fi
   6927   rm -rf conftest*
   6928   ;;
   6929 
   6930 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6931 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6932   # Find out which ABI we are using.
   6933   echo 'int i;' > conftest.$ac_ext
   6934   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6935   (eval $ac_compile) 2>&5
   6936   ac_status=$?
   6937   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6938   test $ac_status = 0; }; then
   6939     case `/usr/bin/file conftest.o` in
   6940       *32-bit*)
   6941 	case $host in
   6942 	  x86_64-*kfreebsd*-gnu)
   6943 	    LD="${LD-ld} -m elf_i386_fbsd"
   6944 	    ;;
   6945 	  x86_64-*linux*)
   6946 	    case `/usr/bin/file conftest.o` in
   6947 	      *x86-64*)
   6948 		LD="${LD-ld} -m elf32_x86_64"
   6949 		;;
   6950 	      *)
   6951 		LD="${LD-ld} -m elf_i386"
   6952 		;;
   6953 	    esac
   6954 	    ;;
   6955 	  powerpc64le-*linux*)
   6956 	    LD="${LD-ld} -m elf32lppclinux"
   6957 	    ;;
   6958 	  powerpc64-*linux*)
   6959 	    LD="${LD-ld} -m elf32ppclinux"
   6960 	    ;;
   6961 	  s390x-*linux*)
   6962 	    LD="${LD-ld} -m elf_s390"
   6963 	    ;;
   6964 	  sparc64-*linux*)
   6965 	    LD="${LD-ld} -m elf32_sparc"
   6966 	    ;;
   6967 	esac
   6968 	;;
   6969       *64-bit*)
   6970 	case $host in
   6971 	  x86_64-*kfreebsd*-gnu)
   6972 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6973 	    ;;
   6974 	  x86_64-*linux*)
   6975 	    LD="${LD-ld} -m elf_x86_64"
   6976 	    ;;
   6977 	  powerpcle-*linux*)
   6978 	    LD="${LD-ld} -m elf64lppc"
   6979 	    ;;
   6980 	  powerpc-*linux*)
   6981 	    LD="${LD-ld} -m elf64ppc"
   6982 	    ;;
   6983 	  s390*-*linux*|s390*-*tpf*)
   6984 	    LD="${LD-ld} -m elf64_s390"
   6985 	    ;;
   6986 	  sparc*-*linux*)
   6987 	    LD="${LD-ld} -m elf64_sparc"
   6988 	    ;;
   6989 	esac
   6990 	;;
   6991     esac
   6992   fi
   6993   rm -rf conftest*
   6994   ;;
   6995 
   6996 *-*-sco3.2v5*)
   6997   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6998   SAVE_CFLAGS="$CFLAGS"
   6999   CFLAGS="$CFLAGS -belf"
   7000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7001 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7002 if ${lt_cv_cc_needs_belf+:} false; then :
   7003   $as_echo_n "(cached) " >&6
   7004 else
   7005   ac_ext=c
   7006 ac_cpp='$CPP $CPPFLAGS'
   7007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7010 
   7011      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7012 /* end confdefs.h.  */
   7013 
   7014 int
   7015 main ()
   7016 {
   7017 
   7018   ;
   7019   return 0;
   7020 }
   7021 _ACEOF
   7022 if ac_fn_c_try_link "$LINENO"; then :
   7023   lt_cv_cc_needs_belf=yes
   7024 else
   7025   lt_cv_cc_needs_belf=no
   7026 fi
   7027 rm -f core conftest.err conftest.$ac_objext \
   7028     conftest$ac_exeext conftest.$ac_ext
   7029      ac_ext=c
   7030 ac_cpp='$CPP $CPPFLAGS'
   7031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7034 
   7035 fi
   7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7037 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7038   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7039     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7040     CFLAGS="$SAVE_CFLAGS"
   7041   fi
   7042   ;;
   7043 sparc*-*solaris*)
   7044   # Find out which ABI we are using.
   7045   echo 'int i;' > conftest.$ac_ext
   7046   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7047   (eval $ac_compile) 2>&5
   7048   ac_status=$?
   7049   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7050   test $ac_status = 0; }; then
   7051     case `/usr/bin/file conftest.o` in
   7052     *64-bit*)
   7053       case $lt_cv_prog_gnu_ld in
   7054       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7055       *)
   7056 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7057 	  LD="${LD-ld} -64"
   7058 	fi
   7059 	;;
   7060       esac
   7061       ;;
   7062     esac
   7063   fi
   7064   rm -rf conftest*
   7065   ;;
   7066 esac
   7067 
   7068 need_locks="$enable_libtool_lock"
   7069 
   7070 
   7071   case $host_os in
   7072     rhapsody* | darwin*)
   7073     if test -n "$ac_tool_prefix"; then
   7074   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7075 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7077 $as_echo_n "checking for $ac_word... " >&6; }
   7078 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7079   $as_echo_n "(cached) " >&6
   7080 else
   7081   if test -n "$DSYMUTIL"; then
   7082   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7083 else
   7084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7085 for as_dir in $PATH
   7086 do
   7087   IFS=$as_save_IFS
   7088   test -z "$as_dir" && as_dir=.
   7089     for ac_exec_ext in '' $ac_executable_extensions; do
   7090   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7091     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7093     break 2
   7094   fi
   7095 done
   7096   done
   7097 IFS=$as_save_IFS
   7098 
   7099 fi
   7100 fi
   7101 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7102 if test -n "$DSYMUTIL"; then
   7103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7104 $as_echo "$DSYMUTIL" >&6; }
   7105 else
   7106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7107 $as_echo "no" >&6; }
   7108 fi
   7109 
   7110 
   7111 fi
   7112 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7113   ac_ct_DSYMUTIL=$DSYMUTIL
   7114   # Extract the first word of "dsymutil", so it can be a program name with args.
   7115 set dummy dsymutil; ac_word=$2
   7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7117 $as_echo_n "checking for $ac_word... " >&6; }
   7118 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7119   $as_echo_n "(cached) " >&6
   7120 else
   7121   if test -n "$ac_ct_DSYMUTIL"; then
   7122   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7123 else
   7124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7125 for as_dir in $PATH
   7126 do
   7127   IFS=$as_save_IFS
   7128   test -z "$as_dir" && as_dir=.
   7129     for ac_exec_ext in '' $ac_executable_extensions; do
   7130   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7131     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7132     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7133     break 2
   7134   fi
   7135 done
   7136   done
   7137 IFS=$as_save_IFS
   7138 
   7139 fi
   7140 fi
   7141 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7142 if test -n "$ac_ct_DSYMUTIL"; then
   7143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7144 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7145 else
   7146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7147 $as_echo "no" >&6; }
   7148 fi
   7149 
   7150   if test "x$ac_ct_DSYMUTIL" = x; then
   7151     DSYMUTIL=":"
   7152   else
   7153     case $cross_compiling:$ac_tool_warned in
   7154 yes:)
   7155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7157 ac_tool_warned=yes ;;
   7158 esac
   7159     DSYMUTIL=$ac_ct_DSYMUTIL
   7160   fi
   7161 else
   7162   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7163 fi
   7164 
   7165     if test -n "$ac_tool_prefix"; then
   7166   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7167 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7169 $as_echo_n "checking for $ac_word... " >&6; }
   7170 if ${ac_cv_prog_NMEDIT+:} false; then :
   7171   $as_echo_n "(cached) " >&6
   7172 else
   7173   if test -n "$NMEDIT"; then
   7174   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7175 else
   7176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7177 for as_dir in $PATH
   7178 do
   7179   IFS=$as_save_IFS
   7180   test -z "$as_dir" && as_dir=.
   7181     for ac_exec_ext in '' $ac_executable_extensions; do
   7182   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7183     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7184     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7185     break 2
   7186   fi
   7187 done
   7188   done
   7189 IFS=$as_save_IFS
   7190 
   7191 fi
   7192 fi
   7193 NMEDIT=$ac_cv_prog_NMEDIT
   7194 if test -n "$NMEDIT"; then
   7195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7196 $as_echo "$NMEDIT" >&6; }
   7197 else
   7198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7199 $as_echo "no" >&6; }
   7200 fi
   7201 
   7202 
   7203 fi
   7204 if test -z "$ac_cv_prog_NMEDIT"; then
   7205   ac_ct_NMEDIT=$NMEDIT
   7206   # Extract the first word of "nmedit", so it can be a program name with args.
   7207 set dummy nmedit; ac_word=$2
   7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7209 $as_echo_n "checking for $ac_word... " >&6; }
   7210 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7211   $as_echo_n "(cached) " >&6
   7212 else
   7213   if test -n "$ac_ct_NMEDIT"; then
   7214   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7215 else
   7216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7217 for as_dir in $PATH
   7218 do
   7219   IFS=$as_save_IFS
   7220   test -z "$as_dir" && as_dir=.
   7221     for ac_exec_ext in '' $ac_executable_extensions; do
   7222   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7223     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7224     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7225     break 2
   7226   fi
   7227 done
   7228   done
   7229 IFS=$as_save_IFS
   7230 
   7231 fi
   7232 fi
   7233 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7234 if test -n "$ac_ct_NMEDIT"; then
   7235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7236 $as_echo "$ac_ct_NMEDIT" >&6; }
   7237 else
   7238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7239 $as_echo "no" >&6; }
   7240 fi
   7241 
   7242   if test "x$ac_ct_NMEDIT" = x; then
   7243     NMEDIT=":"
   7244   else
   7245     case $cross_compiling:$ac_tool_warned in
   7246 yes:)
   7247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7249 ac_tool_warned=yes ;;
   7250 esac
   7251     NMEDIT=$ac_ct_NMEDIT
   7252   fi
   7253 else
   7254   NMEDIT="$ac_cv_prog_NMEDIT"
   7255 fi
   7256 
   7257     if test -n "$ac_tool_prefix"; then
   7258   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7259 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7261 $as_echo_n "checking for $ac_word... " >&6; }
   7262 if ${ac_cv_prog_LIPO+:} false; then :
   7263   $as_echo_n "(cached) " >&6
   7264 else
   7265   if test -n "$LIPO"; then
   7266   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7267 else
   7268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7269 for as_dir in $PATH
   7270 do
   7271   IFS=$as_save_IFS
   7272   test -z "$as_dir" && as_dir=.
   7273     for ac_exec_ext in '' $ac_executable_extensions; do
   7274   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7275     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7277     break 2
   7278   fi
   7279 done
   7280   done
   7281 IFS=$as_save_IFS
   7282 
   7283 fi
   7284 fi
   7285 LIPO=$ac_cv_prog_LIPO
   7286 if test -n "$LIPO"; then
   7287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7288 $as_echo "$LIPO" >&6; }
   7289 else
   7290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7291 $as_echo "no" >&6; }
   7292 fi
   7293 
   7294 
   7295 fi
   7296 if test -z "$ac_cv_prog_LIPO"; then
   7297   ac_ct_LIPO=$LIPO
   7298   # Extract the first word of "lipo", so it can be a program name with args.
   7299 set dummy lipo; ac_word=$2
   7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7301 $as_echo_n "checking for $ac_word... " >&6; }
   7302 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7303   $as_echo_n "(cached) " >&6
   7304 else
   7305   if test -n "$ac_ct_LIPO"; then
   7306   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7307 else
   7308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7309 for as_dir in $PATH
   7310 do
   7311   IFS=$as_save_IFS
   7312   test -z "$as_dir" && as_dir=.
   7313     for ac_exec_ext in '' $ac_executable_extensions; do
   7314   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7315     ac_cv_prog_ac_ct_LIPO="lipo"
   7316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7317     break 2
   7318   fi
   7319 done
   7320   done
   7321 IFS=$as_save_IFS
   7322 
   7323 fi
   7324 fi
   7325 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7326 if test -n "$ac_ct_LIPO"; then
   7327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7328 $as_echo "$ac_ct_LIPO" >&6; }
   7329 else
   7330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7331 $as_echo "no" >&6; }
   7332 fi
   7333 
   7334   if test "x$ac_ct_LIPO" = x; then
   7335     LIPO=":"
   7336   else
   7337     case $cross_compiling:$ac_tool_warned in
   7338 yes:)
   7339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7341 ac_tool_warned=yes ;;
   7342 esac
   7343     LIPO=$ac_ct_LIPO
   7344   fi
   7345 else
   7346   LIPO="$ac_cv_prog_LIPO"
   7347 fi
   7348 
   7349     if test -n "$ac_tool_prefix"; then
   7350   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7351 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7353 $as_echo_n "checking for $ac_word... " >&6; }
   7354 if ${ac_cv_prog_OTOOL+:} false; then :
   7355   $as_echo_n "(cached) " >&6
   7356 else
   7357   if test -n "$OTOOL"; then
   7358   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7359 else
   7360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7361 for as_dir in $PATH
   7362 do
   7363   IFS=$as_save_IFS
   7364   test -z "$as_dir" && as_dir=.
   7365     for ac_exec_ext in '' $ac_executable_extensions; do
   7366   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7367     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7369     break 2
   7370   fi
   7371 done
   7372   done
   7373 IFS=$as_save_IFS
   7374 
   7375 fi
   7376 fi
   7377 OTOOL=$ac_cv_prog_OTOOL
   7378 if test -n "$OTOOL"; then
   7379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7380 $as_echo "$OTOOL" >&6; }
   7381 else
   7382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7383 $as_echo "no" >&6; }
   7384 fi
   7385 
   7386 
   7387 fi
   7388 if test -z "$ac_cv_prog_OTOOL"; then
   7389   ac_ct_OTOOL=$OTOOL
   7390   # Extract the first word of "otool", so it can be a program name with args.
   7391 set dummy otool; ac_word=$2
   7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7393 $as_echo_n "checking for $ac_word... " >&6; }
   7394 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7395   $as_echo_n "(cached) " >&6
   7396 else
   7397   if test -n "$ac_ct_OTOOL"; then
   7398   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7399 else
   7400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7401 for as_dir in $PATH
   7402 do
   7403   IFS=$as_save_IFS
   7404   test -z "$as_dir" && as_dir=.
   7405     for ac_exec_ext in '' $ac_executable_extensions; do
   7406   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7407     ac_cv_prog_ac_ct_OTOOL="otool"
   7408     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7409     break 2
   7410   fi
   7411 done
   7412   done
   7413 IFS=$as_save_IFS
   7414 
   7415 fi
   7416 fi
   7417 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7418 if test -n "$ac_ct_OTOOL"; then
   7419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7420 $as_echo "$ac_ct_OTOOL" >&6; }
   7421 else
   7422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7423 $as_echo "no" >&6; }
   7424 fi
   7425 
   7426   if test "x$ac_ct_OTOOL" = x; then
   7427     OTOOL=":"
   7428   else
   7429     case $cross_compiling:$ac_tool_warned in
   7430 yes:)
   7431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7433 ac_tool_warned=yes ;;
   7434 esac
   7435     OTOOL=$ac_ct_OTOOL
   7436   fi
   7437 else
   7438   OTOOL="$ac_cv_prog_OTOOL"
   7439 fi
   7440 
   7441     if test -n "$ac_tool_prefix"; then
   7442   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7443 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7445 $as_echo_n "checking for $ac_word... " >&6; }
   7446 if ${ac_cv_prog_OTOOL64+:} false; then :
   7447   $as_echo_n "(cached) " >&6
   7448 else
   7449   if test -n "$OTOOL64"; then
   7450   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7451 else
   7452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7453 for as_dir in $PATH
   7454 do
   7455   IFS=$as_save_IFS
   7456   test -z "$as_dir" && as_dir=.
   7457     for ac_exec_ext in '' $ac_executable_extensions; do
   7458   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7459     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7460     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7461     break 2
   7462   fi
   7463 done
   7464   done
   7465 IFS=$as_save_IFS
   7466 
   7467 fi
   7468 fi
   7469 OTOOL64=$ac_cv_prog_OTOOL64
   7470 if test -n "$OTOOL64"; then
   7471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7472 $as_echo "$OTOOL64" >&6; }
   7473 else
   7474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7475 $as_echo "no" >&6; }
   7476 fi
   7477 
   7478 
   7479 fi
   7480 if test -z "$ac_cv_prog_OTOOL64"; then
   7481   ac_ct_OTOOL64=$OTOOL64
   7482   # Extract the first word of "otool64", so it can be a program name with args.
   7483 set dummy otool64; ac_word=$2
   7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7485 $as_echo_n "checking for $ac_word... " >&6; }
   7486 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7487   $as_echo_n "(cached) " >&6
   7488 else
   7489   if test -n "$ac_ct_OTOOL64"; then
   7490   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7491 else
   7492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7493 for as_dir in $PATH
   7494 do
   7495   IFS=$as_save_IFS
   7496   test -z "$as_dir" && as_dir=.
   7497     for ac_exec_ext in '' $ac_executable_extensions; do
   7498   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7499     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7500     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7501     break 2
   7502   fi
   7503 done
   7504   done
   7505 IFS=$as_save_IFS
   7506 
   7507 fi
   7508 fi
   7509 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7510 if test -n "$ac_ct_OTOOL64"; then
   7511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7512 $as_echo "$ac_ct_OTOOL64" >&6; }
   7513 else
   7514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7515 $as_echo "no" >&6; }
   7516 fi
   7517 
   7518   if test "x$ac_ct_OTOOL64" = x; then
   7519     OTOOL64=":"
   7520   else
   7521     case $cross_compiling:$ac_tool_warned in
   7522 yes:)
   7523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7525 ac_tool_warned=yes ;;
   7526 esac
   7527     OTOOL64=$ac_ct_OTOOL64
   7528   fi
   7529 else
   7530   OTOOL64="$ac_cv_prog_OTOOL64"
   7531 fi
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7560 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7561 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7562   $as_echo_n "(cached) " >&6
   7563 else
   7564   lt_cv_apple_cc_single_mod=no
   7565       if test -z "${LT_MULTI_MODULE}"; then
   7566 	# By default we will add the -single_module flag. You can override
   7567 	# by either setting the environment variable LT_MULTI_MODULE
   7568 	# non-empty at configure time, or by adding -multi_module to the
   7569 	# link flags.
   7570 	rm -rf libconftest.dylib*
   7571 	echo "int foo(void){return 1;}" > conftest.c
   7572 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7573 -dynamiclib -Wl,-single_module conftest.c" >&5
   7574 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7575 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7576         _lt_result=$?
   7577 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7578 	  lt_cv_apple_cc_single_mod=yes
   7579 	else
   7580 	  cat conftest.err >&5
   7581 	fi
   7582 	rm -rf libconftest.dylib*
   7583 	rm -f conftest.*
   7584       fi
   7585 fi
   7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7587 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7588     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7589 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7590 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7591   $as_echo_n "(cached) " >&6
   7592 else
   7593   lt_cv_ld_exported_symbols_list=no
   7594       save_LDFLAGS=$LDFLAGS
   7595       echo "_main" > conftest.sym
   7596       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7597       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7598 /* end confdefs.h.  */
   7599 
   7600 int
   7601 main ()
   7602 {
   7603 
   7604   ;
   7605   return 0;
   7606 }
   7607 _ACEOF
   7608 if ac_fn_c_try_link "$LINENO"; then :
   7609   lt_cv_ld_exported_symbols_list=yes
   7610 else
   7611   lt_cv_ld_exported_symbols_list=no
   7612 fi
   7613 rm -f core conftest.err conftest.$ac_objext \
   7614     conftest$ac_exeext conftest.$ac_ext
   7615 	LDFLAGS="$save_LDFLAGS"
   7616 
   7617 fi
   7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7619 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7620     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7621 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7622 if ${lt_cv_ld_force_load+:} false; then :
   7623   $as_echo_n "(cached) " >&6
   7624 else
   7625   lt_cv_ld_force_load=no
   7626       cat > conftest.c << _LT_EOF
   7627 int forced_loaded() { return 2;}
   7628 _LT_EOF
   7629       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7630       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7631       echo "$AR cru libconftest.a conftest.o" >&5
   7632       $AR cru libconftest.a conftest.o 2>&5
   7633       cat > conftest.c << _LT_EOF
   7634 int main() { return 0;}
   7635 _LT_EOF
   7636       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7637       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7638       _lt_result=$?
   7639       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7640 	lt_cv_ld_force_load=yes
   7641       else
   7642 	cat conftest.err >&5
   7643       fi
   7644         rm -f conftest.err libconftest.a conftest conftest.c
   7645         rm -rf conftest.dSYM
   7646 
   7647 fi
   7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7649 $as_echo "$lt_cv_ld_force_load" >&6; }
   7650     # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
   7651     # build without first building modern cctools / linker.
   7652     case $host_cpu-$host_os in
   7653     *-rhapsody* | *-darwin1.[012])
   7654       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7655     *-darwin1.*)
   7656       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7657     *-darwin*)
   7658       # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
   7659       # deployment target is forced to an earlier version.
   7660       case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
   7661 	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
   7662 	  ;;
   7663 	10.[012][,.]*)
   7664 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   7665 	  ;;
   7666 	*)
   7667 	  ;;
   7668      esac
   7669     ;;
   7670   esac
   7671     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7672       _lt_dar_single_mod='$single_module'
   7673     fi
   7674     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7675       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7676     else
   7677       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7678     fi
   7679     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7680       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7681     else
   7682       _lt_dsymutil=
   7683     fi
   7684     ;;
   7685   esac
   7686 
   7687 for ac_header in dlfcn.h
   7688 do :
   7689   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7690 "
   7691 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7692   cat >>confdefs.h <<_ACEOF
   7693 #define HAVE_DLFCN_H 1
   7694 _ACEOF
   7695 
   7696 fi
   7697 
   7698 done
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 # Set options
   7705 enable_dlopen=yes
   7706 
   7707 
   7708 
   7709 
   7710   enable_win32_dll=no
   7711 
   7712 
   7713 
   7714   # Check whether --enable-static was given.
   7715 if test "${enable_static+set}" = set; then :
   7716   enableval=$enable_static; p=${PACKAGE-default}
   7717     case $enableval in
   7718     yes) enable_static=yes ;;
   7719     no) enable_static=no ;;
   7720     *)
   7721      enable_static=no
   7722       # Look at the argument we got.  We use all the common list separators.
   7723       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7724       for pkg in $enableval; do
   7725 	IFS="$lt_save_ifs"
   7726 	if test "X$pkg" = "X$p"; then
   7727 	  enable_static=yes
   7728 	fi
   7729       done
   7730       IFS="$lt_save_ifs"
   7731       ;;
   7732     esac
   7733 else
   7734   enable_static=yes
   7735 fi
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 # Check whether --with-pic was given.
   7747 if test "${with_pic+set}" = set; then :
   7748   withval=$with_pic; pic_mode="$withval"
   7749 else
   7750   pic_mode=default
   7751 fi
   7752 
   7753 
   7754 test -z "$pic_mode" && pic_mode=default
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762   # Check whether --enable-fast-install was given.
   7763 if test "${enable_fast_install+set}" = set; then :
   7764   enableval=$enable_fast_install; p=${PACKAGE-default}
   7765     case $enableval in
   7766     yes) enable_fast_install=yes ;;
   7767     no) enable_fast_install=no ;;
   7768     *)
   7769       enable_fast_install=no
   7770       # Look at the argument we got.  We use all the common list separators.
   7771       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7772       for pkg in $enableval; do
   7773 	IFS="$lt_save_ifs"
   7774 	if test "X$pkg" = "X$p"; then
   7775 	  enable_fast_install=yes
   7776 	fi
   7777       done
   7778       IFS="$lt_save_ifs"
   7779       ;;
   7780     esac
   7781 else
   7782   enable_fast_install=yes
   7783 fi
   7784 
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 # This can be used to rebuild libtool when needed
   7796 LIBTOOL_DEPS="$ltmain"
   7797 
   7798 # Always use our own libtool.
   7799 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 test -z "$LN_S" && LN_S="ln -s"
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 if test -n "${ZSH_VERSION+set}" ; then
   7842    setopt NO_GLOB_SUBST
   7843 fi
   7844 
   7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7846 $as_echo_n "checking for objdir... " >&6; }
   7847 if ${lt_cv_objdir+:} false; then :
   7848   $as_echo_n "(cached) " >&6
   7849 else
   7850   rm -f .libs 2>/dev/null
   7851 mkdir .libs 2>/dev/null
   7852 if test -d .libs; then
   7853   lt_cv_objdir=.libs
   7854 else
   7855   # MS-DOS does not allow filenames that begin with a dot.
   7856   lt_cv_objdir=_libs
   7857 fi
   7858 rmdir .libs 2>/dev/null
   7859 fi
   7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7861 $as_echo "$lt_cv_objdir" >&6; }
   7862 objdir=$lt_cv_objdir
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 cat >>confdefs.h <<_ACEOF
   7869 #define LT_OBJDIR "$lt_cv_objdir/"
   7870 _ACEOF
   7871 
   7872 
   7873 
   7874 
   7875 case $host_os in
   7876 aix3*)
   7877   # AIX sometimes has problems with the GCC collect2 program.  For some
   7878   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7879   # vanish in a puff of smoke.
   7880   if test "X${COLLECT_NAMES+set}" != Xset; then
   7881     COLLECT_NAMES=
   7882     export COLLECT_NAMES
   7883   fi
   7884   ;;
   7885 esac
   7886 
   7887 # Global variables:
   7888 ofile=libtool
   7889 can_build_shared=yes
   7890 
   7891 # All known linkers require a `.a' archive for static linking (except MSVC,
   7892 # which needs '.lib').
   7893 libext=a
   7894 
   7895 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7896 
   7897 old_CC="$CC"
   7898 old_CFLAGS="$CFLAGS"
   7899 
   7900 # Set sane defaults for various variables
   7901 test -z "$CC" && CC=cc
   7902 test -z "$LTCC" && LTCC=$CC
   7903 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7904 test -z "$LD" && LD=ld
   7905 test -z "$ac_objext" && ac_objext=o
   7906 
   7907 for cc_temp in $compiler""; do
   7908   case $cc_temp in
   7909     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7910     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7911     \-*) ;;
   7912     *) break;;
   7913   esac
   7914 done
   7915 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7916 
   7917 
   7918 # Only perform the check for file, if the check method requires it
   7919 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7920 case $deplibs_check_method in
   7921 file_magic*)
   7922   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7923     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7924 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7925 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7926   $as_echo_n "(cached) " >&6
   7927 else
   7928   case $MAGIC_CMD in
   7929 [\\/*] |  ?:[\\/]*)
   7930   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7931   ;;
   7932 *)
   7933   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7934   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7935   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7936   for ac_dir in $ac_dummy; do
   7937     IFS="$lt_save_ifs"
   7938     test -z "$ac_dir" && ac_dir=.
   7939     if test -f $ac_dir/${ac_tool_prefix}file; then
   7940       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7941       if test -n "$file_magic_test_file"; then
   7942 	case $deplibs_check_method in
   7943 	"file_magic "*)
   7944 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7945 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7946 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7947 	    $EGREP "$file_magic_regex" > /dev/null; then
   7948 	    :
   7949 	  else
   7950 	    cat <<_LT_EOF 1>&2
   7951 
   7952 *** Warning: the command libtool uses to detect shared libraries,
   7953 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7954 *** The result is that libtool may fail to recognize shared libraries
   7955 *** as such.  This will affect the creation of libtool libraries that
   7956 *** depend on shared libraries, but programs linked with such libtool
   7957 *** libraries will work regardless of this problem.  Nevertheless, you
   7958 *** may want to report the problem to your system manager and/or to
   7959 *** bug-libtool@gnu.org
   7960 
   7961 _LT_EOF
   7962 	  fi ;;
   7963 	esac
   7964       fi
   7965       break
   7966     fi
   7967   done
   7968   IFS="$lt_save_ifs"
   7969   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7970   ;;
   7971 esac
   7972 fi
   7973 
   7974 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7975 if test -n "$MAGIC_CMD"; then
   7976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7977 $as_echo "$MAGIC_CMD" >&6; }
   7978 else
   7979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7980 $as_echo "no" >&6; }
   7981 fi
   7982 
   7983 
   7984 
   7985 
   7986 
   7987 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7988   if test -n "$ac_tool_prefix"; then
   7989     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7990 $as_echo_n "checking for file... " >&6; }
   7991 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7992   $as_echo_n "(cached) " >&6
   7993 else
   7994   case $MAGIC_CMD in
   7995 [\\/*] |  ?:[\\/]*)
   7996   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7997   ;;
   7998 *)
   7999   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8000   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8001   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8002   for ac_dir in $ac_dummy; do
   8003     IFS="$lt_save_ifs"
   8004     test -z "$ac_dir" && ac_dir=.
   8005     if test -f $ac_dir/file; then
   8006       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8007       if test -n "$file_magic_test_file"; then
   8008 	case $deplibs_check_method in
   8009 	"file_magic "*)
   8010 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8011 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8012 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8013 	    $EGREP "$file_magic_regex" > /dev/null; then
   8014 	    :
   8015 	  else
   8016 	    cat <<_LT_EOF 1>&2
   8017 
   8018 *** Warning: the command libtool uses to detect shared libraries,
   8019 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8020 *** The result is that libtool may fail to recognize shared libraries
   8021 *** as such.  This will affect the creation of libtool libraries that
   8022 *** depend on shared libraries, but programs linked with such libtool
   8023 *** libraries will work regardless of this problem.  Nevertheless, you
   8024 *** may want to report the problem to your system manager and/or to
   8025 *** bug-libtool@gnu.org
   8026 
   8027 _LT_EOF
   8028 	  fi ;;
   8029 	esac
   8030       fi
   8031       break
   8032     fi
   8033   done
   8034   IFS="$lt_save_ifs"
   8035   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8036   ;;
   8037 esac
   8038 fi
   8039 
   8040 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8041 if test -n "$MAGIC_CMD"; then
   8042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8043 $as_echo "$MAGIC_CMD" >&6; }
   8044 else
   8045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8046 $as_echo "no" >&6; }
   8047 fi
   8048 
   8049 
   8050   else
   8051     MAGIC_CMD=:
   8052   fi
   8053 fi
   8054 
   8055   fi
   8056   ;;
   8057 esac
   8058 
   8059 # Use C for the default configuration in the libtool script
   8060 
   8061 lt_save_CC="$CC"
   8062 ac_ext=c
   8063 ac_cpp='$CPP $CPPFLAGS'
   8064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8067 
   8068 
   8069 # Source file extension for C test sources.
   8070 ac_ext=c
   8071 
   8072 # Object file extension for compiled C test sources.
   8073 objext=o
   8074 objext=$objext
   8075 
   8076 # Code to be used in simple compile tests
   8077 lt_simple_compile_test_code="int some_variable = 0;"
   8078 
   8079 # Code to be used in simple link tests
   8080 lt_simple_link_test_code='int main(){return(0);}'
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 # If no C compiler was specified, use CC.
   8089 LTCC=${LTCC-"$CC"}
   8090 
   8091 # If no C compiler flags were specified, use CFLAGS.
   8092 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8093 
   8094 # Allow CC to be a program name with arguments.
   8095 compiler=$CC
   8096 
   8097 # Save the default compiler, since it gets overwritten when the other
   8098 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8099 compiler_DEFAULT=$CC
   8100 
   8101 # save warnings/boilerplate of simple test code
   8102 ac_outfile=conftest.$ac_objext
   8103 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8104 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8105 _lt_compiler_boilerplate=`cat conftest.err`
   8106 $RM conftest*
   8107 
   8108 ac_outfile=conftest.$ac_objext
   8109 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8110 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8111 _lt_linker_boilerplate=`cat conftest.err`
   8112 $RM -r conftest*
   8113 
   8114 
   8115 ## CAVEAT EMPTOR:
   8116 ## There is no encapsulation within the following macros, do not change
   8117 ## the running order or otherwise move them around unless you know exactly
   8118 ## what you are doing...
   8119 if test -n "$compiler"; then
   8120 
   8121 lt_prog_compiler_no_builtin_flag=
   8122 
   8123 if test "$GCC" = yes; then
   8124   case $cc_basename in
   8125   nvcc*)
   8126     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8127   *)
   8128     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8129   esac
   8130 
   8131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8132 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8133 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8134   $as_echo_n "(cached) " >&6
   8135 else
   8136   lt_cv_prog_compiler_rtti_exceptions=no
   8137    ac_outfile=conftest.$ac_objext
   8138    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8139    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8140    # Insert the option either (1) after the last *FLAGS variable, or
   8141    # (2) before a word containing "conftest.", or (3) at the end.
   8142    # Note that $ac_compile itself does not contain backslashes and begins
   8143    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8144    # The option is referenced via a variable to avoid confusing sed.
   8145    lt_compile=`echo "$ac_compile" | $SED \
   8146    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8147    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8148    -e 's:$: $lt_compiler_flag:'`
   8149    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8150    (eval "$lt_compile" 2>conftest.err)
   8151    ac_status=$?
   8152    cat conftest.err >&5
   8153    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8154    if (exit $ac_status) && test -s "$ac_outfile"; then
   8155      # The compiler can only warn and ignore the option if not recognized
   8156      # So say no if there are warnings other than the usual output.
   8157      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8158      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8159      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8160        lt_cv_prog_compiler_rtti_exceptions=yes
   8161      fi
   8162    fi
   8163    $RM conftest*
   8164 
   8165 fi
   8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8167 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8168 
   8169 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8170     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8171 else
   8172     :
   8173 fi
   8174 
   8175 fi
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 
   8182   lt_prog_compiler_wl=
   8183 lt_prog_compiler_pic=
   8184 lt_prog_compiler_static=
   8185 
   8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8187 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8188 
   8189   if test "$GCC" = yes; then
   8190     lt_prog_compiler_wl='-Wl,'
   8191     lt_prog_compiler_static='-static'
   8192 
   8193     case $host_os in
   8194       aix*)
   8195       # All AIX code is PIC.
   8196       if test "$host_cpu" = ia64; then
   8197 	# AIX 5 now supports IA64 processor
   8198 	lt_prog_compiler_static='-Bstatic'
   8199       fi
   8200       lt_prog_compiler_pic='-fPIC'
   8201       ;;
   8202 
   8203     amigaos*)
   8204       case $host_cpu in
   8205       powerpc)
   8206             # see comment about AmigaOS4 .so support
   8207             lt_prog_compiler_pic='-fPIC'
   8208         ;;
   8209       m68k)
   8210             # FIXME: we need at least 68020 code to build shared libraries, but
   8211             # adding the `-m68020' flag to GCC prevents building anything better,
   8212             # like `-m68040'.
   8213             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8214         ;;
   8215       esac
   8216       ;;
   8217 
   8218     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8219       # PIC is the default for these OSes.
   8220       ;;
   8221 
   8222     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8223       # This hack is so that the source file can tell whether it is being
   8224       # built for inclusion in a dll (and should export symbols for example).
   8225       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8226       # (--disable-auto-import) libraries
   8227       lt_prog_compiler_pic='-DDLL_EXPORT'
   8228       ;;
   8229 
   8230     darwin* | rhapsody*)
   8231       # PIC is the default on this platform
   8232       # Common symbols not allowed in MH_DYLIB files
   8233       lt_prog_compiler_pic='-fno-common'
   8234       ;;
   8235 
   8236     haiku*)
   8237       # PIC is the default for Haiku.
   8238       # The "-static" flag exists, but is broken.
   8239       lt_prog_compiler_static=
   8240       ;;
   8241 
   8242     hpux*)
   8243       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8244       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8245       # sets the default TLS model and affects inlining.
   8246       case $host_cpu in
   8247       hppa*64*)
   8248 	# +Z the default
   8249 	;;
   8250       *)
   8251 	lt_prog_compiler_pic='-fPIC'
   8252 	;;
   8253       esac
   8254       ;;
   8255 
   8256     interix[3-9]*)
   8257       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8258       # Instead, we relocate shared libraries at runtime.
   8259       ;;
   8260 
   8261     msdosdjgpp*)
   8262       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8263       # on systems that don't support them.
   8264       lt_prog_compiler_can_build_shared=no
   8265       enable_shared=no
   8266       ;;
   8267 
   8268     *nto* | *qnx*)
   8269       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8270       # it will coredump.
   8271       lt_prog_compiler_pic='-fPIC -shared'
   8272       ;;
   8273 
   8274     sysv4*MP*)
   8275       if test -d /usr/nec; then
   8276 	lt_prog_compiler_pic=-Kconform_pic
   8277       fi
   8278       ;;
   8279 
   8280     *)
   8281       lt_prog_compiler_pic='-fPIC'
   8282       ;;
   8283     esac
   8284 
   8285     case $cc_basename in
   8286     nvcc*) # Cuda Compiler Driver 2.2
   8287       lt_prog_compiler_wl='-Xlinker '
   8288       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8289       ;;
   8290     esac
   8291   else
   8292     # PORTME Check for flag to pass linker flags through the system compiler.
   8293     case $host_os in
   8294     aix*)
   8295       lt_prog_compiler_wl='-Wl,'
   8296       if test "$host_cpu" = ia64; then
   8297 	# AIX 5 now supports IA64 processor
   8298 	lt_prog_compiler_static='-Bstatic'
   8299       else
   8300 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8301       fi
   8302       ;;
   8303 
   8304     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8305       # This hack is so that the source file can tell whether it is being
   8306       # built for inclusion in a dll (and should export symbols for example).
   8307       lt_prog_compiler_pic='-DDLL_EXPORT'
   8308       ;;
   8309 
   8310     hpux9* | hpux10* | hpux11*)
   8311       lt_prog_compiler_wl='-Wl,'
   8312       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8313       # not for PA HP-UX.
   8314       case $host_cpu in
   8315       hppa*64*|ia64*)
   8316 	# +Z the default
   8317 	;;
   8318       *)
   8319 	lt_prog_compiler_pic='+Z'
   8320 	;;
   8321       esac
   8322       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8323       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8324       ;;
   8325 
   8326     irix5* | irix6* | nonstopux*)
   8327       lt_prog_compiler_wl='-Wl,'
   8328       # PIC (with -KPIC) is the default.
   8329       lt_prog_compiler_static='-non_shared'
   8330       ;;
   8331 
   8332     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8333       case $cc_basename in
   8334       # old Intel for x86_64 which still supported -KPIC.
   8335       ecc*)
   8336 	lt_prog_compiler_wl='-Wl,'
   8337 	lt_prog_compiler_pic='-KPIC'
   8338 	lt_prog_compiler_static='-static'
   8339         ;;
   8340       # icc used to be incompatible with GCC.
   8341       # ICC 10 doesn't accept -KPIC any more.
   8342       icc* | ifort*)
   8343 	lt_prog_compiler_wl='-Wl,'
   8344 	lt_prog_compiler_pic='-fPIC'
   8345 	lt_prog_compiler_static='-static'
   8346         ;;
   8347       # Lahey Fortran 8.1.
   8348       lf95*)
   8349 	lt_prog_compiler_wl='-Wl,'
   8350 	lt_prog_compiler_pic='--shared'
   8351 	lt_prog_compiler_static='--static'
   8352 	;;
   8353       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8354         # Portland Group compilers (*not* the Pentium gcc compiler,
   8355 	# which looks to be a dead project)
   8356 	lt_prog_compiler_wl='-Wl,'
   8357 	lt_prog_compiler_pic='-fpic'
   8358 	lt_prog_compiler_static='-Bstatic'
   8359         ;;
   8360       ccc*)
   8361         lt_prog_compiler_wl='-Wl,'
   8362         # All Alpha code is PIC.
   8363         lt_prog_compiler_static='-non_shared'
   8364         ;;
   8365       xl* | bgxl* | bgf* | mpixl*)
   8366 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8367 	lt_prog_compiler_wl='-Wl,'
   8368 	lt_prog_compiler_pic='-qpic'
   8369 	lt_prog_compiler_static='-qstaticlink'
   8370 	;;
   8371       *)
   8372 	case `$CC -V 2>&1 | sed 5q` in
   8373 	*Sun\ F* | *Sun*Fortran*)
   8374 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8375 	  lt_prog_compiler_pic='-KPIC'
   8376 	  lt_prog_compiler_static='-Bstatic'
   8377 	  lt_prog_compiler_wl=''
   8378 	  ;;
   8379 	*Sun\ C*)
   8380 	  # Sun C 5.9
   8381 	  lt_prog_compiler_pic='-KPIC'
   8382 	  lt_prog_compiler_static='-Bstatic'
   8383 	  lt_prog_compiler_wl='-Wl,'
   8384 	  ;;
   8385 	esac
   8386 	;;
   8387       esac
   8388       ;;
   8389 
   8390     newsos6)
   8391       lt_prog_compiler_pic='-KPIC'
   8392       lt_prog_compiler_static='-Bstatic'
   8393       ;;
   8394 
   8395     *nto* | *qnx*)
   8396       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8397       # it will coredump.
   8398       lt_prog_compiler_pic='-fPIC -shared'
   8399       ;;
   8400 
   8401     osf3* | osf4* | osf5*)
   8402       lt_prog_compiler_wl='-Wl,'
   8403       # All OSF/1 code is PIC.
   8404       lt_prog_compiler_static='-non_shared'
   8405       ;;
   8406 
   8407     rdos*)
   8408       lt_prog_compiler_static='-non_shared'
   8409       ;;
   8410 
   8411     solaris*)
   8412       lt_prog_compiler_pic='-KPIC'
   8413       lt_prog_compiler_static='-Bstatic'
   8414       case $cc_basename in
   8415       f77* | f90* | f95*)
   8416 	lt_prog_compiler_wl='-Qoption ld ';;
   8417       *)
   8418 	lt_prog_compiler_wl='-Wl,';;
   8419       esac
   8420       ;;
   8421 
   8422     sunos4*)
   8423       lt_prog_compiler_wl='-Qoption ld '
   8424       lt_prog_compiler_pic='-PIC'
   8425       lt_prog_compiler_static='-Bstatic'
   8426       ;;
   8427 
   8428     sysv4 | sysv4.2uw2* | sysv4.3*)
   8429       lt_prog_compiler_wl='-Wl,'
   8430       lt_prog_compiler_pic='-KPIC'
   8431       lt_prog_compiler_static='-Bstatic'
   8432       ;;
   8433 
   8434     sysv4*MP*)
   8435       if test -d /usr/nec ;then
   8436 	lt_prog_compiler_pic='-Kconform_pic'
   8437 	lt_prog_compiler_static='-Bstatic'
   8438       fi
   8439       ;;
   8440 
   8441     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8442       lt_prog_compiler_wl='-Wl,'
   8443       lt_prog_compiler_pic='-KPIC'
   8444       lt_prog_compiler_static='-Bstatic'
   8445       ;;
   8446 
   8447     unicos*)
   8448       lt_prog_compiler_wl='-Wl,'
   8449       lt_prog_compiler_can_build_shared=no
   8450       ;;
   8451 
   8452     uts4*)
   8453       lt_prog_compiler_pic='-pic'
   8454       lt_prog_compiler_static='-Bstatic'
   8455       ;;
   8456 
   8457     *)
   8458       lt_prog_compiler_can_build_shared=no
   8459       ;;
   8460     esac
   8461   fi
   8462 
   8463 case $host_os in
   8464   # For platforms which do not support PIC, -DPIC is meaningless:
   8465   *djgpp*)
   8466     lt_prog_compiler_pic=
   8467     ;;
   8468   *)
   8469     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8470     ;;
   8471 esac
   8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8473 $as_echo "$lt_prog_compiler_pic" >&6; }
   8474 
   8475 
   8476 
   8477 
   8478 
   8479 
   8480 #
   8481 # Check to make sure the PIC flag actually works.
   8482 #
   8483 if test -n "$lt_prog_compiler_pic"; then
   8484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8485 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8486 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8487   $as_echo_n "(cached) " >&6
   8488 else
   8489   lt_cv_prog_compiler_pic_works=no
   8490    ac_outfile=conftest.$ac_objext
   8491    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8492    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8493    # Insert the option either (1) after the last *FLAGS variable, or
   8494    # (2) before a word containing "conftest.", or (3) at the end.
   8495    # Note that $ac_compile itself does not contain backslashes and begins
   8496    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8497    # The option is referenced via a variable to avoid confusing sed.
   8498    lt_compile=`echo "$ac_compile" | $SED \
   8499    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8500    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8501    -e 's:$: $lt_compiler_flag:'`
   8502    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8503    (eval "$lt_compile" 2>conftest.err)
   8504    ac_status=$?
   8505    cat conftest.err >&5
   8506    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8507    if (exit $ac_status) && test -s "$ac_outfile"; then
   8508      # The compiler can only warn and ignore the option if not recognized
   8509      # So say no if there are warnings other than the usual output.
   8510      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8511      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8512      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8513        lt_cv_prog_compiler_pic_works=yes
   8514      fi
   8515    fi
   8516    $RM conftest*
   8517 
   8518 fi
   8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8520 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8521 
   8522 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8523     case $lt_prog_compiler_pic in
   8524      "" | " "*) ;;
   8525      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8526      esac
   8527 else
   8528     lt_prog_compiler_pic=
   8529      lt_prog_compiler_can_build_shared=no
   8530 fi
   8531 
   8532 fi
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 #
   8540 # Check to make sure the static flag actually works.
   8541 #
   8542 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8544 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8545 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8546   $as_echo_n "(cached) " >&6
   8547 else
   8548   lt_cv_prog_compiler_static_works=no
   8549    save_LDFLAGS="$LDFLAGS"
   8550    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8551    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8552    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8553      # The linker can only warn and ignore the option if not recognized
   8554      # So say no if there are warnings
   8555      if test -s conftest.err; then
   8556        # Append any errors to the config.log.
   8557        cat conftest.err 1>&5
   8558        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8559        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8560        if diff conftest.exp conftest.er2 >/dev/null; then
   8561          lt_cv_prog_compiler_static_works=yes
   8562        fi
   8563      else
   8564        lt_cv_prog_compiler_static_works=yes
   8565      fi
   8566    fi
   8567    $RM -r conftest*
   8568    LDFLAGS="$save_LDFLAGS"
   8569 
   8570 fi
   8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8572 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8573 
   8574 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8575     :
   8576 else
   8577     lt_prog_compiler_static=
   8578 fi
   8579 
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 
   8586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8587 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8588 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8589   $as_echo_n "(cached) " >&6
   8590 else
   8591   lt_cv_prog_compiler_c_o=no
   8592    $RM -r conftest 2>/dev/null
   8593    mkdir conftest
   8594    cd conftest
   8595    mkdir out
   8596    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8597 
   8598    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8599    # Insert the option either (1) after the last *FLAGS variable, or
   8600    # (2) before a word containing "conftest.", or (3) at the end.
   8601    # Note that $ac_compile itself does not contain backslashes and begins
   8602    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8603    lt_compile=`echo "$ac_compile" | $SED \
   8604    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8605    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8606    -e 's:$: $lt_compiler_flag:'`
   8607    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8608    (eval "$lt_compile" 2>out/conftest.err)
   8609    ac_status=$?
   8610    cat out/conftest.err >&5
   8611    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8612    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8613    then
   8614      # The compiler can only warn and ignore the option if not recognized
   8615      # So say no if there are warnings
   8616      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8617      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8618      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8619        lt_cv_prog_compiler_c_o=yes
   8620      fi
   8621    fi
   8622    chmod u+w . 2>&5
   8623    $RM conftest*
   8624    # SGI C++ compiler will create directory out/ii_files/ for
   8625    # template instantiation
   8626    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8627    $RM out/* && rmdir out
   8628    cd ..
   8629    $RM -r conftest
   8630    $RM conftest*
   8631 
   8632 fi
   8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8634 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8642 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8643 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8644   $as_echo_n "(cached) " >&6
   8645 else
   8646   lt_cv_prog_compiler_c_o=no
   8647    $RM -r conftest 2>/dev/null
   8648    mkdir conftest
   8649    cd conftest
   8650    mkdir out
   8651    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8652 
   8653    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8654    # Insert the option either (1) after the last *FLAGS variable, or
   8655    # (2) before a word containing "conftest.", or (3) at the end.
   8656    # Note that $ac_compile itself does not contain backslashes and begins
   8657    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8658    lt_compile=`echo "$ac_compile" | $SED \
   8659    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8660    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8661    -e 's:$: $lt_compiler_flag:'`
   8662    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8663    (eval "$lt_compile" 2>out/conftest.err)
   8664    ac_status=$?
   8665    cat out/conftest.err >&5
   8666    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8667    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8668    then
   8669      # The compiler can only warn and ignore the option if not recognized
   8670      # So say no if there are warnings
   8671      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8672      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8673      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8674        lt_cv_prog_compiler_c_o=yes
   8675      fi
   8676    fi
   8677    chmod u+w . 2>&5
   8678    $RM conftest*
   8679    # SGI C++ compiler will create directory out/ii_files/ for
   8680    # template instantiation
   8681    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8682    $RM out/* && rmdir out
   8683    cd ..
   8684    $RM -r conftest
   8685    $RM conftest*
   8686 
   8687 fi
   8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8689 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8690 
   8691 
   8692 
   8693 
   8694 hard_links="nottested"
   8695 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8696   # do not overwrite the value of need_locks provided by the user
   8697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8698 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8699   hard_links=yes
   8700   $RM conftest*
   8701   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8702   touch conftest.a
   8703   ln conftest.a conftest.b 2>&5 || hard_links=no
   8704   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8706 $as_echo "$hard_links" >&6; }
   8707   if test "$hard_links" = no; then
   8708     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8709 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8710     need_locks=warn
   8711   fi
   8712 else
   8713   need_locks=no
   8714 fi
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8722 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8723 
   8724   runpath_var=
   8725   allow_undefined_flag=
   8726   always_export_symbols=no
   8727   archive_cmds=
   8728   archive_expsym_cmds=
   8729   compiler_needs_object=no
   8730   enable_shared_with_static_runtimes=no
   8731   export_dynamic_flag_spec=
   8732   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8733   hardcode_automatic=no
   8734   hardcode_direct=no
   8735   hardcode_direct_absolute=no
   8736   hardcode_libdir_flag_spec=
   8737   hardcode_libdir_flag_spec_ld=
   8738   hardcode_libdir_separator=
   8739   hardcode_minus_L=no
   8740   hardcode_shlibpath_var=unsupported
   8741   inherit_rpath=no
   8742   link_all_deplibs=unknown
   8743   module_cmds=
   8744   module_expsym_cmds=
   8745   old_archive_from_new_cmds=
   8746   old_archive_from_expsyms_cmds=
   8747   thread_safe_flag_spec=
   8748   whole_archive_flag_spec=
   8749   # include_expsyms should be a list of space-separated symbols to be *always*
   8750   # included in the symbol list
   8751   include_expsyms=
   8752   # exclude_expsyms can be an extended regexp of symbols to exclude
   8753   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8754   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8755   # as well as any symbol that contains `d'.
   8756   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8757   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8758   # platforms (ab)use it in PIC code, but their linkers get confused if
   8759   # the symbol is explicitly referenced.  Since portable code cannot
   8760   # rely on this symbol name, it's probably fine to never include it in
   8761   # preloaded symbol tables.
   8762   # Exclude shared library initialization/finalization symbols.
   8763   extract_expsyms_cmds=
   8764 
   8765   case $host_os in
   8766   cygwin* | mingw* | pw32* | cegcc*)
   8767     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8768     # When not using gcc, we currently assume that we are using
   8769     # Microsoft Visual C++.
   8770     if test "$GCC" != yes; then
   8771       with_gnu_ld=no
   8772     fi
   8773     ;;
   8774   interix*)
   8775     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8776     with_gnu_ld=yes
   8777     ;;
   8778   openbsd*)
   8779     with_gnu_ld=no
   8780     ;;
   8781   esac
   8782 
   8783   ld_shlibs=yes
   8784 
   8785   # On some targets, GNU ld is compatible enough with the native linker
   8786   # that we're better off using the native interface for both.
   8787   lt_use_gnu_ld_interface=no
   8788   if test "$with_gnu_ld" = yes; then
   8789     case $host_os in
   8790       aix*)
   8791 	# The AIX port of GNU ld has always aspired to compatibility
   8792 	# with the native linker.  However, as the warning in the GNU ld
   8793 	# block says, versions before 2.19.5* couldn't really create working
   8794 	# shared libraries, regardless of the interface used.
   8795 	case `$LD -v 2>&1` in
   8796 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8797 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8798 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8799 	  *)
   8800 	    lt_use_gnu_ld_interface=yes
   8801 	    ;;
   8802 	esac
   8803 	;;
   8804       *)
   8805 	lt_use_gnu_ld_interface=yes
   8806 	;;
   8807     esac
   8808   fi
   8809 
   8810   if test "$lt_use_gnu_ld_interface" = yes; then
   8811     # If archive_cmds runs LD, not CC, wlarc should be empty
   8812     wlarc='${wl}'
   8813 
   8814     # Set some defaults for GNU ld with shared library support. These
   8815     # are reset later if shared libraries are not supported. Putting them
   8816     # here allows them to be overridden if necessary.
   8817     runpath_var=LD_RUN_PATH
   8818     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8819     export_dynamic_flag_spec='${wl}--export-dynamic'
   8820     # ancient GNU ld didn't support --whole-archive et. al.
   8821     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8822       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8823     else
   8824       whole_archive_flag_spec=
   8825     fi
   8826     supports_anon_versioning=no
   8827     case `$LD -v 2>&1` in
   8828       *GNU\ gold*) supports_anon_versioning=yes ;;
   8829       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8830       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8831       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8832       *\ 2.11.*) ;; # other 2.11 versions
   8833       *) supports_anon_versioning=yes ;;
   8834     esac
   8835 
   8836     # See if GNU ld supports shared libraries.
   8837     case $host_os in
   8838     aix[3-9]*)
   8839       # On AIX/PPC, the GNU linker is very broken
   8840       if test "$host_cpu" != ia64; then
   8841 	ld_shlibs=no
   8842 	cat <<_LT_EOF 1>&2
   8843 
   8844 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8845 *** to be unable to reliably create shared libraries on AIX.
   8846 *** Therefore, libtool is disabling shared libraries support.  If you
   8847 *** really care for shared libraries, you may want to install binutils
   8848 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8849 *** You will then need to restart the configuration process.
   8850 
   8851 _LT_EOF
   8852       fi
   8853       ;;
   8854 
   8855     amigaos*)
   8856       case $host_cpu in
   8857       powerpc)
   8858             # see comment about AmigaOS4 .so support
   8859             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8860             archive_expsym_cmds=''
   8861         ;;
   8862       m68k)
   8863             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)'
   8864             hardcode_libdir_flag_spec='-L$libdir'
   8865             hardcode_minus_L=yes
   8866         ;;
   8867       esac
   8868       ;;
   8869 
   8870     beos*)
   8871       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8872 	allow_undefined_flag=unsupported
   8873 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8874 	# support --undefined.  This deserves some investigation.  FIXME
   8875 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8876       else
   8877 	ld_shlibs=no
   8878       fi
   8879       ;;
   8880 
   8881     cygwin* | mingw* | pw32* | cegcc*)
   8882       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8883       # as there is no search path for DLLs.
   8884       hardcode_libdir_flag_spec='-L$libdir'
   8885       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8886       allow_undefined_flag=unsupported
   8887       always_export_symbols=no
   8888       enable_shared_with_static_runtimes=yes
   8889       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8890 
   8891       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8892         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8893 	# If the export-symbols file already is a .def file (1st line
   8894 	# is EXPORTS), use it as is; otherwise, prepend...
   8895 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8896 	  cp $export_symbols $output_objdir/$soname.def;
   8897 	else
   8898 	  echo EXPORTS > $output_objdir/$soname.def;
   8899 	  cat $export_symbols >> $output_objdir/$soname.def;
   8900 	fi~
   8901 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8902       else
   8903 	ld_shlibs=no
   8904       fi
   8905       ;;
   8906 
   8907     haiku*)
   8908       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8909       link_all_deplibs=yes
   8910       ;;
   8911 
   8912     interix[3-9]*)
   8913       hardcode_direct=no
   8914       hardcode_shlibpath_var=no
   8915       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8916       export_dynamic_flag_spec='${wl}-E'
   8917       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8918       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8919       # default) and relocated if they conflict, which is a slow very memory
   8920       # consuming and fragmenting process.  To avoid this, we pick a random,
   8921       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8922       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8923       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8924       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'
   8925       ;;
   8926 
   8927     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   8928       tmp_diet=no
   8929       if test "$host_os" = linux-dietlibc; then
   8930 	case $cc_basename in
   8931 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8932 	esac
   8933       fi
   8934       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8935 	 && test "$tmp_diet" = no
   8936       then
   8937 	tmp_addflag=' $pic_flag'
   8938 	tmp_sharedflag='-shared'
   8939 	case $cc_basename,$host_cpu in
   8940         pgcc*)				# Portland Group C compiler
   8941 	  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'
   8942 	  tmp_addflag=' $pic_flag'
   8943 	  ;;
   8944 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8945 					# Portland Group f77 and f90 compilers
   8946 	  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'
   8947 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8948 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8949 	  tmp_addflag=' -i_dynamic' ;;
   8950 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8951 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8952 	ifc* | ifort*)			# Intel Fortran compiler
   8953 	  tmp_addflag=' -nofor_main' ;;
   8954 	lf95*)				# Lahey Fortran 8.1
   8955 	  whole_archive_flag_spec=
   8956 	  tmp_sharedflag='--shared' ;;
   8957 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8958 	  tmp_sharedflag='-qmkshrobj'
   8959 	  tmp_addflag= ;;
   8960 	nvcc*)	# Cuda Compiler Driver 2.2
   8961 	  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'
   8962 	  compiler_needs_object=yes
   8963 	  ;;
   8964 	esac
   8965 	case `$CC -V 2>&1 | sed 5q` in
   8966 	*Sun\ C*)			# Sun C 5.9
   8967 	  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'
   8968 	  compiler_needs_object=yes
   8969 	  tmp_sharedflag='-G' ;;
   8970 	*Sun\ F*)			# Sun Fortran 8.3
   8971 	  tmp_sharedflag='-G' ;;
   8972 	esac
   8973 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8974 
   8975         if test "x$supports_anon_versioning" = xyes; then
   8976           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8977 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8978 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8979 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8980         fi
   8981 
   8982 	case $cc_basename in
   8983 	xlf* | bgf* | bgxlf* | mpixlf*)
   8984 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8985 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8986 	  hardcode_libdir_flag_spec=
   8987 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8988 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8989 	  if test "x$supports_anon_versioning" = xyes; then
   8990 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8991 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8992 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8993 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8994 	  fi
   8995 	  ;;
   8996 	esac
   8997       else
   8998         ld_shlibs=no
   8999       fi
   9000       ;;
   9001 
   9002     netbsd*)
   9003       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9004 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9005 	wlarc=
   9006       else
   9007 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9008 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9009       fi
   9010       ;;
   9011 
   9012     solaris*)
   9013       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9014 	ld_shlibs=no
   9015 	cat <<_LT_EOF 1>&2
   9016 
   9017 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9018 *** create shared libraries on Solaris systems.  Therefore, libtool
   9019 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9020 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9021 *** your PATH or compiler configuration so that the native linker is
   9022 *** used, and then restart.
   9023 
   9024 _LT_EOF
   9025       elif $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 
   9033     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9034       case `$LD -v 2>&1` in
   9035         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9036 	ld_shlibs=no
   9037 	cat <<_LT_EOF 1>&2
   9038 
   9039 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9040 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9041 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9042 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9043 *** your PATH or compiler configuration so that the native linker is
   9044 *** used, and then restart.
   9045 
   9046 _LT_EOF
   9047 	;;
   9048 	*)
   9049 	  # For security reasons, it is highly recommended that you always
   9050 	  # use absolute paths for naming shared libraries, and exclude the
   9051 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9052 	  # requires that you compile everything twice, which is a pain.
   9053 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9054 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9055 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9056 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9057 	  else
   9058 	    ld_shlibs=no
   9059 	  fi
   9060 	;;
   9061       esac
   9062       ;;
   9063 
   9064     sunos4*)
   9065       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9066       wlarc=
   9067       hardcode_direct=yes
   9068       hardcode_shlibpath_var=no
   9069       ;;
   9070 
   9071     *)
   9072       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9073 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9074 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9075       else
   9076 	ld_shlibs=no
   9077       fi
   9078       ;;
   9079     esac
   9080 
   9081     if test "$ld_shlibs" = no; then
   9082       runpath_var=
   9083       hardcode_libdir_flag_spec=
   9084       export_dynamic_flag_spec=
   9085       whole_archive_flag_spec=
   9086     fi
   9087   else
   9088     # PORTME fill in a description of your system's linker (not GNU ld)
   9089     case $host_os in
   9090     aix3*)
   9091       allow_undefined_flag=unsupported
   9092       always_export_symbols=yes
   9093       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'
   9094       # Note: this linker hardcodes the directories in LIBPATH if there
   9095       # are no directories specified by -L.
   9096       hardcode_minus_L=yes
   9097       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9098 	# Neither direct hardcoding nor static linking is supported with a
   9099 	# broken collect2.
   9100 	hardcode_direct=unsupported
   9101       fi
   9102       ;;
   9103 
   9104     aix[4-9]*)
   9105       if test "$host_cpu" = ia64; then
   9106 	# On IA64, the linker does run time linking by default, so we don't
   9107 	# have to do anything special.
   9108 	aix_use_runtimelinking=no
   9109 	exp_sym_flag='-Bexport'
   9110 	no_entry_flag=""
   9111       else
   9112 	# If we're using GNU nm, then we don't want the "-C" option.
   9113 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9114 	# Also, AIX nm treats weak defined symbols like other global
   9115 	# defined symbols, whereas GNU nm marks them as "W".
   9116 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9117 	  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'
   9118 	else
   9119 	  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'
   9120 	fi
   9121 	aix_use_runtimelinking=no
   9122 
   9123 	# Test if we are trying to use run time linking or normal
   9124 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9125 	# need to do runtime linking.
   9126 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9127 	  for ld_flag in $LDFLAGS; do
   9128 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9129 	    aix_use_runtimelinking=yes
   9130 	    break
   9131 	  fi
   9132 	  done
   9133 	  ;;
   9134 	esac
   9135 
   9136 	exp_sym_flag='-bexport'
   9137 	no_entry_flag='-bnoentry'
   9138       fi
   9139 
   9140       # When large executables or shared objects are built, AIX ld can
   9141       # have problems creating the table of contents.  If linking a library
   9142       # or program results in "error TOC overflow" add -mminimal-toc to
   9143       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9144       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9145 
   9146       archive_cmds=''
   9147       hardcode_direct=yes
   9148       hardcode_direct_absolute=yes
   9149       hardcode_libdir_separator=':'
   9150       link_all_deplibs=yes
   9151       file_list_spec='${wl}-f,'
   9152 
   9153       if test "$GCC" = yes; then
   9154 	case $host_os in aix4.[012]|aix4.[012].*)
   9155 	# We only want to do this on AIX 4.2 and lower, the check
   9156 	# below for broken collect2 doesn't work under 4.3+
   9157 	  collect2name=`${CC} -print-prog-name=collect2`
   9158 	  if test -f "$collect2name" &&
   9159 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9160 	  then
   9161 	  # We have reworked collect2
   9162 	  :
   9163 	  else
   9164 	  # We have old collect2
   9165 	  hardcode_direct=unsupported
   9166 	  # It fails to find uninstalled libraries when the uninstalled
   9167 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9168 	  # to unsupported forces relinking
   9169 	  hardcode_minus_L=yes
   9170 	  hardcode_libdir_flag_spec='-L$libdir'
   9171 	  hardcode_libdir_separator=
   9172 	  fi
   9173 	  ;;
   9174 	esac
   9175 	shared_flag='-shared'
   9176 	if test "$aix_use_runtimelinking" = yes; then
   9177 	  shared_flag="$shared_flag "'${wl}-G'
   9178 	fi
   9179       else
   9180 	# not using gcc
   9181 	if test "$host_cpu" = ia64; then
   9182 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9183 	# chokes on -Wl,-G. The following line is correct:
   9184 	  shared_flag='-G'
   9185 	else
   9186 	  if test "$aix_use_runtimelinking" = yes; then
   9187 	    shared_flag='${wl}-G'
   9188 	  else
   9189 	    shared_flag='${wl}-bM:SRE'
   9190 	  fi
   9191 	fi
   9192       fi
   9193 
   9194       export_dynamic_flag_spec='${wl}-bexpall'
   9195       # It seems that -bexpall does not export symbols beginning with
   9196       # underscore (_), so it is better to generate a list of symbols to export.
   9197       always_export_symbols=yes
   9198       if test "$aix_use_runtimelinking" = yes; then
   9199 	# Warning - without using the other runtime loading flags (-brtl),
   9200 	# -berok will link without error, but may produce a broken library.
   9201 	allow_undefined_flag='-berok'
   9202         # Determine the default libpath from the value encoded in an
   9203         # empty executable.
   9204         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9205 /* end confdefs.h.  */
   9206 
   9207 int
   9208 main ()
   9209 {
   9210 
   9211   ;
   9212   return 0;
   9213 }
   9214 _ACEOF
   9215 if ac_fn_c_try_link "$LINENO"; then :
   9216 
   9217 lt_aix_libpath_sed='
   9218     /Import File Strings/,/^$/ {
   9219 	/^0/ {
   9220 	    s/^0  *\(.*\)$/\1/
   9221 	    p
   9222 	}
   9223     }'
   9224 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9225 # Check for a 64-bit object if we didn't find anything.
   9226 if test -z "$aix_libpath"; then
   9227   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9228 fi
   9229 fi
   9230 rm -f core conftest.err conftest.$ac_objext \
   9231     conftest$ac_exeext conftest.$ac_ext
   9232 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9233 
   9234         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9235         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"
   9236       else
   9237 	if test "$host_cpu" = ia64; then
   9238 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9239 	  allow_undefined_flag="-z nodefs"
   9240 	  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"
   9241 	else
   9242 	 # Determine the default libpath from the value encoded in an
   9243 	 # empty executable.
   9244 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9245 /* end confdefs.h.  */
   9246 
   9247 int
   9248 main ()
   9249 {
   9250 
   9251   ;
   9252   return 0;
   9253 }
   9254 _ACEOF
   9255 if ac_fn_c_try_link "$LINENO"; then :
   9256 
   9257 lt_aix_libpath_sed='
   9258     /Import File Strings/,/^$/ {
   9259 	/^0/ {
   9260 	    s/^0  *\(.*\)$/\1/
   9261 	    p
   9262 	}
   9263     }'
   9264 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9265 # Check for a 64-bit object if we didn't find anything.
   9266 if test -z "$aix_libpath"; then
   9267   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9268 fi
   9269 fi
   9270 rm -f core conftest.err conftest.$ac_objext \
   9271     conftest$ac_exeext conftest.$ac_ext
   9272 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9273 
   9274 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9275 	  # Warning - without using the other run time loading flags,
   9276 	  # -berok will link without error, but may produce a broken library.
   9277 	  no_undefined_flag=' ${wl}-bernotok'
   9278 	  allow_undefined_flag=' ${wl}-berok'
   9279 	  if test "$with_gnu_ld" = yes; then
   9280 	    # We only use this code for GNU lds that support --whole-archive.
   9281 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9282 	  else
   9283 	    # Exported symbols can be pulled into shared objects from archives
   9284 	    whole_archive_flag_spec='$convenience'
   9285 	  fi
   9286 	  archive_cmds_need_lc=yes
   9287 	  # This is similar to how AIX traditionally builds its shared libraries.
   9288 	  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'
   9289 	fi
   9290       fi
   9291       ;;
   9292 
   9293     amigaos*)
   9294       case $host_cpu in
   9295       powerpc)
   9296             # see comment about AmigaOS4 .so support
   9297             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9298             archive_expsym_cmds=''
   9299         ;;
   9300       m68k)
   9301             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)'
   9302             hardcode_libdir_flag_spec='-L$libdir'
   9303             hardcode_minus_L=yes
   9304         ;;
   9305       esac
   9306       ;;
   9307 
   9308     bsdi[45]*)
   9309       export_dynamic_flag_spec=-rdynamic
   9310       ;;
   9311 
   9312     cygwin* | mingw* | pw32* | cegcc*)
   9313       # When not using gcc, we currently assume that we are using
   9314       # Microsoft Visual C++.
   9315       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9316       # no search path for DLLs.
   9317       hardcode_libdir_flag_spec=' '
   9318       allow_undefined_flag=unsupported
   9319       # Tell ltmain to make .lib files, not .a files.
   9320       libext=lib
   9321       # Tell ltmain to make .dll files, not .so files.
   9322       shrext_cmds=".dll"
   9323       # FIXME: Setting linknames here is a bad hack.
   9324       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9325       # The linker will automatically build a .lib file if we build a DLL.
   9326       old_archive_from_new_cmds='true'
   9327       # FIXME: Should let the user specify the lib program.
   9328       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9329       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9330       enable_shared_with_static_runtimes=yes
   9331       ;;
   9332 
   9333     darwin* | rhapsody*)
   9334 
   9335 
   9336   archive_cmds_need_lc=no
   9337   hardcode_direct=no
   9338   hardcode_automatic=yes
   9339   hardcode_shlibpath_var=unsupported
   9340   if test "$lt_cv_ld_force_load" = "yes"; then
   9341     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\"`'
   9342   else
   9343     whole_archive_flag_spec=''
   9344   fi
   9345   link_all_deplibs=yes
   9346   allow_undefined_flag="$_lt_dar_allow_undefined"
   9347   case $cc_basename in
   9348      ifort*) _lt_dar_can_shared=yes ;;
   9349      *) _lt_dar_can_shared=$GCC ;;
   9350   esac
   9351   if test "$_lt_dar_can_shared" = "yes"; then
   9352     output_verbose_link_cmd=func_echo_all
   9353     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9354     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9355     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}"
   9356     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}"
   9357 
   9358   else
   9359   ld_shlibs=no
   9360   fi
   9361 
   9362       ;;
   9363 
   9364     dgux*)
   9365       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9366       hardcode_libdir_flag_spec='-L$libdir'
   9367       hardcode_shlibpath_var=no
   9368       ;;
   9369 
   9370     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9371     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9372     # does not break anything, and helps significantly (at the cost of a little
   9373     # extra space).
   9374     freebsd2.2*)
   9375       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9376       hardcode_libdir_flag_spec='-R$libdir'
   9377       hardcode_direct=yes
   9378       hardcode_shlibpath_var=no
   9379       ;;
   9380 
   9381     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9382     freebsd2.*)
   9383       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9384       hardcode_direct=yes
   9385       hardcode_minus_L=yes
   9386       hardcode_shlibpath_var=no
   9387       ;;
   9388 
   9389     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9390     freebsd* | dragonfly*)
   9391       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9392       hardcode_libdir_flag_spec='-R$libdir'
   9393       hardcode_direct=yes
   9394       hardcode_shlibpath_var=no
   9395       ;;
   9396 
   9397     hpux9*)
   9398       if test "$GCC" = yes; then
   9399 	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'
   9400       else
   9401 	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'
   9402       fi
   9403       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9404       hardcode_libdir_separator=:
   9405       hardcode_direct=yes
   9406 
   9407       # hardcode_minus_L: Not really in the search PATH,
   9408       # but as the default location of the library.
   9409       hardcode_minus_L=yes
   9410       export_dynamic_flag_spec='${wl}-E'
   9411       ;;
   9412 
   9413     hpux10*)
   9414       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9415 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9416       else
   9417 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9418       fi
   9419       if test "$with_gnu_ld" = no; then
   9420 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9421 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9422 	hardcode_libdir_separator=:
   9423 	hardcode_direct=yes
   9424 	hardcode_direct_absolute=yes
   9425 	export_dynamic_flag_spec='${wl}-E'
   9426 	# hardcode_minus_L: Not really in the search PATH,
   9427 	# but as the default location of the library.
   9428 	hardcode_minus_L=yes
   9429       fi
   9430       ;;
   9431 
   9432     hpux11*)
   9433       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9434 	case $host_cpu in
   9435 	hppa*64*)
   9436 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9437 	  ;;
   9438 	ia64*)
   9439 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9440 	  ;;
   9441 	*)
   9442 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9443 	  ;;
   9444 	esac
   9445       else
   9446 	case $host_cpu in
   9447 	hppa*64*)
   9448 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9449 	  ;;
   9450 	ia64*)
   9451 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9452 	  ;;
   9453 	*)
   9454 
   9455 	  # Older versions of the 11.00 compiler do not understand -b yet
   9456 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9457 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9458 $as_echo_n "checking if $CC understands -b... " >&6; }
   9459 if ${lt_cv_prog_compiler__b+:} false; then :
   9460   $as_echo_n "(cached) " >&6
   9461 else
   9462   lt_cv_prog_compiler__b=no
   9463    save_LDFLAGS="$LDFLAGS"
   9464    LDFLAGS="$LDFLAGS -b"
   9465    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9466    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9467      # The linker can only warn and ignore the option if not recognized
   9468      # So say no if there are warnings
   9469      if test -s conftest.err; then
   9470        # Append any errors to the config.log.
   9471        cat conftest.err 1>&5
   9472        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9473        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9474        if diff conftest.exp conftest.er2 >/dev/null; then
   9475          lt_cv_prog_compiler__b=yes
   9476        fi
   9477      else
   9478        lt_cv_prog_compiler__b=yes
   9479      fi
   9480    fi
   9481    $RM -r conftest*
   9482    LDFLAGS="$save_LDFLAGS"
   9483 
   9484 fi
   9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9486 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9487 
   9488 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9489     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9490 else
   9491     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9492 fi
   9493 
   9494 	  ;;
   9495 	esac
   9496       fi
   9497       if test "$with_gnu_ld" = no; then
   9498 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9499 	hardcode_libdir_separator=:
   9500 
   9501 	case $host_cpu in
   9502 	hppa*64*|ia64*)
   9503 	  hardcode_direct=no
   9504 	  hardcode_shlibpath_var=no
   9505 	  ;;
   9506 	*)
   9507 	  hardcode_direct=yes
   9508 	  hardcode_direct_absolute=yes
   9509 	  export_dynamic_flag_spec='${wl}-E'
   9510 
   9511 	  # hardcode_minus_L: Not really in the search PATH,
   9512 	  # but as the default location of the library.
   9513 	  hardcode_minus_L=yes
   9514 	  ;;
   9515 	esac
   9516       fi
   9517       ;;
   9518 
   9519     irix5* | irix6* | nonstopux*)
   9520       if test "$GCC" = yes; then
   9521 	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'
   9522 	# Try to use the -exported_symbol ld option, if it does not
   9523 	# work, assume that -exports_file does not work either and
   9524 	# implicitly export all symbols.
   9525         save_LDFLAGS="$LDFLAGS"
   9526         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9527         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9528 /* end confdefs.h.  */
   9529 int foo(void) {}
   9530 _ACEOF
   9531 if ac_fn_c_try_link "$LINENO"; then :
   9532   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'
   9533 
   9534 fi
   9535 rm -f core conftest.err conftest.$ac_objext \
   9536     conftest$ac_exeext conftest.$ac_ext
   9537         LDFLAGS="$save_LDFLAGS"
   9538       else
   9539 	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'
   9540 	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'
   9541       fi
   9542       archive_cmds_need_lc='no'
   9543       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9544       hardcode_libdir_separator=:
   9545       inherit_rpath=yes
   9546       link_all_deplibs=yes
   9547       ;;
   9548 
   9549     netbsd*)
   9550       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9551 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9552       else
   9553 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9554       fi
   9555       hardcode_libdir_flag_spec='-R$libdir'
   9556       hardcode_direct=yes
   9557       hardcode_shlibpath_var=no
   9558       ;;
   9559 
   9560     newsos6)
   9561       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9562       hardcode_direct=yes
   9563       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9564       hardcode_libdir_separator=:
   9565       hardcode_shlibpath_var=no
   9566       ;;
   9567 
   9568     *nto* | *qnx*)
   9569       ;;
   9570 
   9571     openbsd*)
   9572       if test -f /usr/libexec/ld.so; then
   9573 	hardcode_direct=yes
   9574 	hardcode_shlibpath_var=no
   9575 	hardcode_direct_absolute=yes
   9576 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9577 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9578 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9579 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9580 	  export_dynamic_flag_spec='${wl}-E'
   9581 	else
   9582 	  case $host_os in
   9583 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9584 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9585 	     hardcode_libdir_flag_spec='-R$libdir'
   9586 	     ;;
   9587 	   *)
   9588 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9589 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9590 	     ;;
   9591 	  esac
   9592 	fi
   9593       else
   9594 	ld_shlibs=no
   9595       fi
   9596       ;;
   9597 
   9598     os2*)
   9599       hardcode_libdir_flag_spec='-L$libdir'
   9600       hardcode_minus_L=yes
   9601       allow_undefined_flag=unsupported
   9602       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'
   9603       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9604       ;;
   9605 
   9606     osf3*)
   9607       if test "$GCC" = yes; then
   9608 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9609 	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'
   9610       else
   9611 	allow_undefined_flag=' -expect_unresolved \*'
   9612 	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'
   9613       fi
   9614       archive_cmds_need_lc='no'
   9615       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9616       hardcode_libdir_separator=:
   9617       ;;
   9618 
   9619     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9620       if test "$GCC" = yes; then
   9621 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9622 	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'
   9623 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9624       else
   9625 	allow_undefined_flag=' -expect_unresolved \*'
   9626 	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'
   9627 	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~
   9628 	$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'
   9629 
   9630 	# Both c and cxx compiler support -rpath directly
   9631 	hardcode_libdir_flag_spec='-rpath $libdir'
   9632       fi
   9633       archive_cmds_need_lc='no'
   9634       hardcode_libdir_separator=:
   9635       ;;
   9636 
   9637     solaris*)
   9638       no_undefined_flag=' -z defs'
   9639       if test "$GCC" = yes; then
   9640 	wlarc='${wl}'
   9641 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9642 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9643 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9644       else
   9645 	case `$CC -V 2>&1` in
   9646 	*"Compilers 5.0"*)
   9647 	  wlarc=''
   9648 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9649 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9650 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9651 	  ;;
   9652 	*)
   9653 	  wlarc='${wl}'
   9654 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9655 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9656 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9657 	  ;;
   9658 	esac
   9659       fi
   9660       hardcode_libdir_flag_spec='-R$libdir'
   9661       hardcode_shlibpath_var=no
   9662       case $host_os in
   9663       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9664       *)
   9665 	# The compiler driver will combine and reorder linker options,
   9666 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9667 	# but is careful enough not to reorder.
   9668 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9669 	if test "$GCC" = yes; then
   9670 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9671 	else
   9672 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9673 	fi
   9674 	;;
   9675       esac
   9676       link_all_deplibs=yes
   9677       ;;
   9678 
   9679     sunos4*)
   9680       if test "x$host_vendor" = xsequent; then
   9681 	# Use $CC to link under sequent, because it throws in some extra .o
   9682 	# files that make .init and .fini sections work.
   9683 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9684       else
   9685 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9686       fi
   9687       hardcode_libdir_flag_spec='-L$libdir'
   9688       hardcode_direct=yes
   9689       hardcode_minus_L=yes
   9690       hardcode_shlibpath_var=no
   9691       ;;
   9692 
   9693     sysv4)
   9694       case $host_vendor in
   9695 	sni)
   9696 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9697 	  hardcode_direct=yes # is this really true???
   9698 	;;
   9699 	siemens)
   9700 	  ## LD is ld it makes a PLAMLIB
   9701 	  ## CC just makes a GrossModule.
   9702 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9703 	  reload_cmds='$CC -r -o $output$reload_objs'
   9704 	  hardcode_direct=no
   9705         ;;
   9706 	motorola)
   9707 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9708 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9709 	;;
   9710       esac
   9711       runpath_var='LD_RUN_PATH'
   9712       hardcode_shlibpath_var=no
   9713       ;;
   9714 
   9715     sysv4.3*)
   9716       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9717       hardcode_shlibpath_var=no
   9718       export_dynamic_flag_spec='-Bexport'
   9719       ;;
   9720 
   9721     sysv4*MP*)
   9722       if test -d /usr/nec; then
   9723 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9724 	hardcode_shlibpath_var=no
   9725 	runpath_var=LD_RUN_PATH
   9726 	hardcode_runpath_var=yes
   9727 	ld_shlibs=yes
   9728       fi
   9729       ;;
   9730 
   9731     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9732       no_undefined_flag='${wl}-z,text'
   9733       archive_cmds_need_lc=no
   9734       hardcode_shlibpath_var=no
   9735       runpath_var='LD_RUN_PATH'
   9736 
   9737       if test "$GCC" = yes; then
   9738 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9739 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9740       else
   9741 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9742 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9743       fi
   9744       ;;
   9745 
   9746     sysv5* | sco3.2v5* | sco5v6*)
   9747       # Note: We can NOT use -z defs as we might desire, because we do not
   9748       # link with -lc, and that would cause any symbols used from libc to
   9749       # always be unresolved, which means just about no library would
   9750       # ever link correctly.  If we're not using GNU ld we use -z text
   9751       # though, which does catch some bad symbols but isn't as heavy-handed
   9752       # as -z defs.
   9753       no_undefined_flag='${wl}-z,text'
   9754       allow_undefined_flag='${wl}-z,nodefs'
   9755       archive_cmds_need_lc=no
   9756       hardcode_shlibpath_var=no
   9757       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9758       hardcode_libdir_separator=':'
   9759       link_all_deplibs=yes
   9760       export_dynamic_flag_spec='${wl}-Bexport'
   9761       runpath_var='LD_RUN_PATH'
   9762 
   9763       if test "$GCC" = yes; then
   9764 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9765 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9766       else
   9767 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9768 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9769       fi
   9770       ;;
   9771 
   9772     uts4*)
   9773       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9774       hardcode_libdir_flag_spec='-L$libdir'
   9775       hardcode_shlibpath_var=no
   9776       ;;
   9777 
   9778     *)
   9779       ld_shlibs=no
   9780       ;;
   9781     esac
   9782 
   9783     if test x$host_vendor = xsni; then
   9784       case $host in
   9785       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9786 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9787 	;;
   9788       esac
   9789     fi
   9790   fi
   9791 
   9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9793 $as_echo "$ld_shlibs" >&6; }
   9794 test "$ld_shlibs" = no && can_build_shared=no
   9795 
   9796 with_gnu_ld=$with_gnu_ld
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 #
   9813 # Do we need to explicitly link libc?
   9814 #
   9815 case "x$archive_cmds_need_lc" in
   9816 x|xyes)
   9817   # Assume -lc should be added
   9818   archive_cmds_need_lc=yes
   9819 
   9820   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9821     case $archive_cmds in
   9822     *'~'*)
   9823       # FIXME: we may have to deal with multi-command sequences.
   9824       ;;
   9825     '$CC '*)
   9826       # Test whether the compiler implicitly links with -lc since on some
   9827       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9828       # to ld, don't add -lc before -lgcc.
   9829       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9830 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9831 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9832   $as_echo_n "(cached) " >&6
   9833 else
   9834   $RM conftest*
   9835 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9836 
   9837 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9838   (eval $ac_compile) 2>&5
   9839   ac_status=$?
   9840   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9841   test $ac_status = 0; } 2>conftest.err; then
   9842 	  soname=conftest
   9843 	  lib=conftest
   9844 	  libobjs=conftest.$ac_objext
   9845 	  deplibs=
   9846 	  wl=$lt_prog_compiler_wl
   9847 	  pic_flag=$lt_prog_compiler_pic
   9848 	  compiler_flags=-v
   9849 	  linker_flags=-v
   9850 	  verstring=
   9851 	  output_objdir=.
   9852 	  libname=conftest
   9853 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9854 	  allow_undefined_flag=
   9855 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9856   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9857   ac_status=$?
   9858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9859   test $ac_status = 0; }
   9860 	  then
   9861 	    lt_cv_archive_cmds_need_lc=no
   9862 	  else
   9863 	    lt_cv_archive_cmds_need_lc=yes
   9864 	  fi
   9865 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9866 	else
   9867 	  cat conftest.err 1>&5
   9868 	fi
   9869 	$RM conftest*
   9870 
   9871 fi
   9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9873 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9874       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9875       ;;
   9876     esac
   9877   fi
   9878   ;;
   9879 esac
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10038 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10039 
   10040 if test "$GCC" = yes; then
   10041   case $host_os in
   10042     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10043     *) lt_awk_arg="/^libraries:/" ;;
   10044   esac
   10045   case $host_os in
   10046     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10047     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10048   esac
   10049   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10050   case $lt_search_path_spec in
   10051   *\;*)
   10052     # if the path contains ";" then we assume it to be the separator
   10053     # otherwise default to the standard path separator (i.e. ":") - it is
   10054     # assumed that no part of a normal pathname contains ";" but that should
   10055     # okay in the real world where ";" in dirpaths is itself problematic.
   10056     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10057     ;;
   10058   *)
   10059     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10060     ;;
   10061   esac
   10062   # Ok, now we have the path, separated by spaces, we can step through it
   10063   # and add multilib dir if necessary.
   10064   lt_tmp_lt_search_path_spec=
   10065   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10066   for lt_sys_path in $lt_search_path_spec; do
   10067     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10068       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10069     else
   10070       test -d "$lt_sys_path" && \
   10071 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10072     fi
   10073   done
   10074   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10075 BEGIN {RS=" "; FS="/|\n";} {
   10076   lt_foo="";
   10077   lt_count=0;
   10078   for (lt_i = NF; lt_i > 0; lt_i--) {
   10079     if ($lt_i != "" && $lt_i != ".") {
   10080       if ($lt_i == "..") {
   10081         lt_count++;
   10082       } else {
   10083         if (lt_count == 0) {
   10084           lt_foo="/" $lt_i lt_foo;
   10085         } else {
   10086           lt_count--;
   10087         }
   10088       }
   10089     }
   10090   }
   10091   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10092   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10093 }'`
   10094   # AWK program above erroneously prepends '/' to C:/dos/paths
   10095   # for these hosts.
   10096   case $host_os in
   10097     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10098       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10099   esac
   10100   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10101 else
   10102   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10103 fi
   10104 library_names_spec=
   10105 libname_spec='lib$name'
   10106 soname_spec=
   10107 shrext_cmds=".so"
   10108 postinstall_cmds=
   10109 postuninstall_cmds=
   10110 finish_cmds=
   10111 finish_eval=
   10112 shlibpath_var=
   10113 shlibpath_overrides_runpath=unknown
   10114 version_type=none
   10115 dynamic_linker="$host_os ld.so"
   10116 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10117 need_lib_prefix=unknown
   10118 hardcode_into_libs=no
   10119 
   10120 # when you set need_version to no, make sure it does not cause -set_version
   10121 # flags to be left without arguments
   10122 need_version=unknown
   10123 
   10124 case $host_os in
   10125 aix3*)
   10126   version_type=linux
   10127   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10128   shlibpath_var=LIBPATH
   10129 
   10130   # AIX 3 has no versioning support, so we append a major version to the name.
   10131   soname_spec='${libname}${release}${shared_ext}$major'
   10132   ;;
   10133 
   10134 aix[4-9]*)
   10135   version_type=linux
   10136   need_lib_prefix=no
   10137   need_version=no
   10138   hardcode_into_libs=yes
   10139   if test "$host_cpu" = ia64; then
   10140     # AIX 5 supports IA64
   10141     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10142     shlibpath_var=LD_LIBRARY_PATH
   10143   else
   10144     # With GCC up to 2.95.x, collect2 would create an import file
   10145     # for dependence libraries.  The import file would start with
   10146     # the line `#! .'.  This would cause the generated library to
   10147     # depend on `.', always an invalid library.  This was fixed in
   10148     # development snapshots of GCC prior to 3.0.
   10149     case $host_os in
   10150       aix4 | aix4.[01] | aix4.[01].*)
   10151       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10152 	   echo ' yes '
   10153 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10154 	:
   10155       else
   10156 	can_build_shared=no
   10157       fi
   10158       ;;
   10159     esac
   10160     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10161     # soname into executable. Probably we can add versioning support to
   10162     # collect2, so additional links can be useful in future.
   10163     if test "$aix_use_runtimelinking" = yes; then
   10164       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10165       # instead of lib<name>.a to let people know that these are not
   10166       # typical AIX shared libraries.
   10167       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10168     else
   10169       # We preserve .a as extension for shared libraries through AIX4.2
   10170       # and later when we are not doing run time linking.
   10171       library_names_spec='${libname}${release}.a $libname.a'
   10172       soname_spec='${libname}${release}${shared_ext}$major'
   10173     fi
   10174     shlibpath_var=LIBPATH
   10175   fi
   10176   ;;
   10177 
   10178 amigaos*)
   10179   case $host_cpu in
   10180   powerpc)
   10181     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10182     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10183     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10184     ;;
   10185   m68k)
   10186     library_names_spec='$libname.ixlibrary $libname.a'
   10187     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10188     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'
   10189     ;;
   10190   esac
   10191   ;;
   10192 
   10193 beos*)
   10194   library_names_spec='${libname}${shared_ext}'
   10195   dynamic_linker="$host_os ld.so"
   10196   shlibpath_var=LIBRARY_PATH
   10197   ;;
   10198 
   10199 bsdi[45]*)
   10200   version_type=linux
   10201   need_version=no
   10202   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10203   soname_spec='${libname}${release}${shared_ext}$major'
   10204   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10205   shlibpath_var=LD_LIBRARY_PATH
   10206   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10207   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10208   # the default ld.so.conf also contains /usr/contrib/lib and
   10209   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10210   # libtool to hard-code these into programs
   10211   ;;
   10212 
   10213 cygwin* | mingw* | pw32* | cegcc*)
   10214   version_type=windows
   10215   shrext_cmds=".dll"
   10216   need_version=no
   10217   need_lib_prefix=no
   10218 
   10219   case $GCC,$host_os in
   10220   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10221     library_names_spec='$libname.dll.a'
   10222     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10223     postinstall_cmds='base_file=`basename \${file}`~
   10224       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10225       dldir=$destdir/`dirname \$dlpath`~
   10226       test -d \$dldir || mkdir -p \$dldir~
   10227       $install_prog $dir/$dlname \$dldir/$dlname~
   10228       chmod a+x \$dldir/$dlname~
   10229       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10230         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10231       fi'
   10232     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10233       dlpath=$dir/\$dldll~
   10234        $RM \$dlpath'
   10235     shlibpath_overrides_runpath=yes
   10236 
   10237     case $host_os in
   10238     cygwin*)
   10239       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10240       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10241 
   10242       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10243       ;;
   10244     mingw* | cegcc*)
   10245       # MinGW DLLs use traditional 'lib' prefix
   10246       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10247       ;;
   10248     pw32*)
   10249       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10250       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10251       ;;
   10252     esac
   10253     ;;
   10254 
   10255   *)
   10256     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10257     ;;
   10258   esac
   10259   dynamic_linker='Win32 ld.exe'
   10260   # FIXME: first we should search . and the directory the executable is in
   10261   shlibpath_var=PATH
   10262   ;;
   10263 
   10264 darwin* | rhapsody*)
   10265   dynamic_linker="$host_os dyld"
   10266   version_type=darwin
   10267   need_lib_prefix=no
   10268   need_version=no
   10269   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10270   soname_spec='${libname}${release}${major}$shared_ext'
   10271   shlibpath_overrides_runpath=yes
   10272   shlibpath_var=DYLD_LIBRARY_PATH
   10273   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10274 
   10275   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10276   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10277   ;;
   10278 
   10279 dgux*)
   10280   version_type=linux
   10281   need_lib_prefix=no
   10282   need_version=no
   10283   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10284   soname_spec='${libname}${release}${shared_ext}$major'
   10285   shlibpath_var=LD_LIBRARY_PATH
   10286   ;;
   10287 
   10288 freebsd* | dragonfly*)
   10289   # DragonFly does not have aout.  When/if they implement a new
   10290   # versioning mechanism, adjust this.
   10291   if test -x /usr/bin/objformat; then
   10292     objformat=`/usr/bin/objformat`
   10293   else
   10294     case $host_os in
   10295     freebsd[23].*) objformat=aout ;;
   10296     *) objformat=elf ;;
   10297     esac
   10298   fi
   10299   version_type=freebsd-$objformat
   10300   case $version_type in
   10301     freebsd-elf*)
   10302       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10303       need_version=no
   10304       need_lib_prefix=no
   10305       ;;
   10306     freebsd-*)
   10307       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10308       need_version=yes
   10309       ;;
   10310   esac
   10311   shlibpath_var=LD_LIBRARY_PATH
   10312   case $host_os in
   10313   freebsd2.*)
   10314     shlibpath_overrides_runpath=yes
   10315     ;;
   10316   freebsd3.[01]* | freebsdelf3.[01]*)
   10317     shlibpath_overrides_runpath=yes
   10318     hardcode_into_libs=yes
   10319     ;;
   10320   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10321   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10322     shlibpath_overrides_runpath=no
   10323     hardcode_into_libs=yes
   10324     ;;
   10325   *) # from 4.6 on, and DragonFly
   10326     shlibpath_overrides_runpath=yes
   10327     hardcode_into_libs=yes
   10328     ;;
   10329   esac
   10330   ;;
   10331 
   10332 haiku*)
   10333   version_type=linux
   10334   need_lib_prefix=no
   10335   need_version=no
   10336   dynamic_linker="$host_os runtime_loader"
   10337   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10338   soname_spec='${libname}${release}${shared_ext}$major'
   10339   shlibpath_var=LIBRARY_PATH
   10340   shlibpath_overrides_runpath=yes
   10341   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10342   hardcode_into_libs=yes
   10343   ;;
   10344 
   10345 hpux9* | hpux10* | hpux11*)
   10346   # Give a soname corresponding to the major version so that dld.sl refuses to
   10347   # link against other versions.
   10348   version_type=sunos
   10349   need_lib_prefix=no
   10350   need_version=no
   10351   case $host_cpu in
   10352   ia64*)
   10353     shrext_cmds='.so'
   10354     hardcode_into_libs=yes
   10355     dynamic_linker="$host_os dld.so"
   10356     shlibpath_var=LD_LIBRARY_PATH
   10357     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10358     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10359     soname_spec='${libname}${release}${shared_ext}$major'
   10360     if test "X$HPUX_IA64_MODE" = X32; then
   10361       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10362     else
   10363       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10364     fi
   10365     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10366     ;;
   10367   hppa*64*)
   10368     shrext_cmds='.sl'
   10369     hardcode_into_libs=yes
   10370     dynamic_linker="$host_os dld.sl"
   10371     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10372     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10373     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10374     soname_spec='${libname}${release}${shared_ext}$major'
   10375     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10376     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10377     ;;
   10378   *)
   10379     shrext_cmds='.sl'
   10380     dynamic_linker="$host_os dld.sl"
   10381     shlibpath_var=SHLIB_PATH
   10382     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10383     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10384     soname_spec='${libname}${release}${shared_ext}$major'
   10385     ;;
   10386   esac
   10387   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10388   postinstall_cmds='chmod 555 $lib'
   10389   # or fails outright, so override atomically:
   10390   install_override_mode=555
   10391   ;;
   10392 
   10393 interix[3-9]*)
   10394   version_type=linux
   10395   need_lib_prefix=no
   10396   need_version=no
   10397   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10398   soname_spec='${libname}${release}${shared_ext}$major'
   10399   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10400   shlibpath_var=LD_LIBRARY_PATH
   10401   shlibpath_overrides_runpath=no
   10402   hardcode_into_libs=yes
   10403   ;;
   10404 
   10405 irix5* | irix6* | nonstopux*)
   10406   case $host_os in
   10407     nonstopux*) version_type=nonstopux ;;
   10408     *)
   10409 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10410 		version_type=linux
   10411 	else
   10412 		version_type=irix
   10413 	fi ;;
   10414   esac
   10415   need_lib_prefix=no
   10416   need_version=no
   10417   soname_spec='${libname}${release}${shared_ext}$major'
   10418   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10419   case $host_os in
   10420   irix5* | nonstopux*)
   10421     libsuff= shlibsuff=
   10422     ;;
   10423   *)
   10424     case $LD in # libtool.m4 will add one of these switches to LD
   10425     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10426       libsuff= shlibsuff= libmagic=32-bit;;
   10427     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10428       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10429     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10430       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10431     *) libsuff= shlibsuff= libmagic=never-match;;
   10432     esac
   10433     ;;
   10434   esac
   10435   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10436   shlibpath_overrides_runpath=no
   10437   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10438   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10439   hardcode_into_libs=yes
   10440   ;;
   10441 
   10442 # No shared lib support for Linux oldld, aout, or coff.
   10443 linux*oldld* | linux*aout* | linux*coff*)
   10444   dynamic_linker=no
   10445   ;;
   10446 
   10447 # This must be Linux ELF.
   10448 
   10449 # uclinux* changes (here and below) have been submitted to the libtool
   10450 # project, but have not yet been accepted: they are GCC-local changes
   10451 # for the time being.  (See
   10452 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   10453 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   10454   version_type=linux
   10455   need_lib_prefix=no
   10456   need_version=no
   10457   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10458   soname_spec='${libname}${release}${shared_ext}$major'
   10459   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10460   shlibpath_var=LD_LIBRARY_PATH
   10461   shlibpath_overrides_runpath=no
   10462 
   10463   # Some binutils ld are patched to set DT_RUNPATH
   10464   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10465   $as_echo_n "(cached) " >&6
   10466 else
   10467   lt_cv_shlibpath_overrides_runpath=no
   10468     save_LDFLAGS=$LDFLAGS
   10469     save_libdir=$libdir
   10470     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10471 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10472     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10473 /* end confdefs.h.  */
   10474 
   10475 int
   10476 main ()
   10477 {
   10478 
   10479   ;
   10480   return 0;
   10481 }
   10482 _ACEOF
   10483 if ac_fn_c_try_link "$LINENO"; then :
   10484   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10485   lt_cv_shlibpath_overrides_runpath=yes
   10486 fi
   10487 fi
   10488 rm -f core conftest.err conftest.$ac_objext \
   10489     conftest$ac_exeext conftest.$ac_ext
   10490     LDFLAGS=$save_LDFLAGS
   10491     libdir=$save_libdir
   10492 
   10493 fi
   10494 
   10495   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10496 
   10497   # This implies no fast_install, which is unacceptable.
   10498   # Some rework will be needed to allow for fast_install
   10499   # before this can be enabled.
   10500   hardcode_into_libs=yes
   10501 
   10502   # Append ld.so.conf contents to the search path
   10503   if test -f /etc/ld.so.conf; then
   10504     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' ' '`
   10505     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10506   fi
   10507 
   10508   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10509   # powerpc, because MkLinux only supported shared libraries with the
   10510   # GNU dynamic linker.  Since this was broken with cross compilers,
   10511   # most powerpc-linux boxes support dynamic linking these days and
   10512   # people can always --disable-shared, the test was removed, and we
   10513   # assume the GNU/Linux dynamic linker is in use.
   10514   dynamic_linker='GNU/Linux ld.so'
   10515   ;;
   10516 
   10517 netbsd*)
   10518   version_type=sunos
   10519   need_lib_prefix=no
   10520   need_version=no
   10521   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10522     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10523     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10524     dynamic_linker='NetBSD (a.out) ld.so'
   10525   else
   10526     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10527     soname_spec='${libname}${release}${shared_ext}$major'
   10528     dynamic_linker='NetBSD ld.elf_so'
   10529   fi
   10530   shlibpath_var=LD_LIBRARY_PATH
   10531   shlibpath_overrides_runpath=yes
   10532   hardcode_into_libs=yes
   10533   ;;
   10534 
   10535 newsos6)
   10536   version_type=linux
   10537   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10538   shlibpath_var=LD_LIBRARY_PATH
   10539   shlibpath_overrides_runpath=yes
   10540   ;;
   10541 
   10542 *nto* | *qnx*)
   10543   version_type=qnx
   10544   need_lib_prefix=no
   10545   need_version=no
   10546   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10547   soname_spec='${libname}${release}${shared_ext}$major'
   10548   shlibpath_var=LD_LIBRARY_PATH
   10549   shlibpath_overrides_runpath=no
   10550   hardcode_into_libs=yes
   10551   dynamic_linker='ldqnx.so'
   10552   ;;
   10553 
   10554 openbsd*)
   10555   version_type=sunos
   10556   sys_lib_dlsearch_path_spec="/usr/lib"
   10557   need_lib_prefix=no
   10558   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10559   case $host_os in
   10560     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10561     *)				need_version=no  ;;
   10562   esac
   10563   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10564   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10565   shlibpath_var=LD_LIBRARY_PATH
   10566   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10567     case $host_os in
   10568       openbsd2.[89] | openbsd2.[89].*)
   10569 	shlibpath_overrides_runpath=no
   10570 	;;
   10571       *)
   10572 	shlibpath_overrides_runpath=yes
   10573 	;;
   10574       esac
   10575   else
   10576     shlibpath_overrides_runpath=yes
   10577   fi
   10578   ;;
   10579 
   10580 os2*)
   10581   libname_spec='$name'
   10582   shrext_cmds=".dll"
   10583   need_lib_prefix=no
   10584   library_names_spec='$libname${shared_ext} $libname.a'
   10585   dynamic_linker='OS/2 ld.exe'
   10586   shlibpath_var=LIBPATH
   10587   ;;
   10588 
   10589 osf3* | osf4* | osf5*)
   10590   version_type=osf
   10591   need_lib_prefix=no
   10592   need_version=no
   10593   soname_spec='${libname}${release}${shared_ext}$major'
   10594   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10595   shlibpath_var=LD_LIBRARY_PATH
   10596   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10597   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10598   ;;
   10599 
   10600 rdos*)
   10601   dynamic_linker=no
   10602   ;;
   10603 
   10604 solaris*)
   10605   version_type=linux
   10606   need_lib_prefix=no
   10607   need_version=no
   10608   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10609   soname_spec='${libname}${release}${shared_ext}$major'
   10610   shlibpath_var=LD_LIBRARY_PATH
   10611   shlibpath_overrides_runpath=yes
   10612   hardcode_into_libs=yes
   10613   # ldd complains unless libraries are executable
   10614   postinstall_cmds='chmod +x $lib'
   10615   ;;
   10616 
   10617 sunos4*)
   10618   version_type=sunos
   10619   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10620   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10621   shlibpath_var=LD_LIBRARY_PATH
   10622   shlibpath_overrides_runpath=yes
   10623   if test "$with_gnu_ld" = yes; then
   10624     need_lib_prefix=no
   10625   fi
   10626   need_version=yes
   10627   ;;
   10628 
   10629 sysv4 | sysv4.3*)
   10630   version_type=linux
   10631   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10632   soname_spec='${libname}${release}${shared_ext}$major'
   10633   shlibpath_var=LD_LIBRARY_PATH
   10634   case $host_vendor in
   10635     sni)
   10636       shlibpath_overrides_runpath=no
   10637       need_lib_prefix=no
   10638       runpath_var=LD_RUN_PATH
   10639       ;;
   10640     siemens)
   10641       need_lib_prefix=no
   10642       ;;
   10643     motorola)
   10644       need_lib_prefix=no
   10645       need_version=no
   10646       shlibpath_overrides_runpath=no
   10647       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10648       ;;
   10649   esac
   10650   ;;
   10651 
   10652 sysv4*MP*)
   10653   if test -d /usr/nec ;then
   10654     version_type=linux
   10655     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10656     soname_spec='$libname${shared_ext}.$major'
   10657     shlibpath_var=LD_LIBRARY_PATH
   10658   fi
   10659   ;;
   10660 
   10661 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10662   version_type=freebsd-elf
   10663   need_lib_prefix=no
   10664   need_version=no
   10665   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10666   soname_spec='${libname}${release}${shared_ext}$major'
   10667   shlibpath_var=LD_LIBRARY_PATH
   10668   shlibpath_overrides_runpath=yes
   10669   hardcode_into_libs=yes
   10670   if test "$with_gnu_ld" = yes; then
   10671     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10672   else
   10673     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10674     case $host_os in
   10675       sco3.2v5*)
   10676         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10677 	;;
   10678     esac
   10679   fi
   10680   sys_lib_dlsearch_path_spec='/usr/lib'
   10681   ;;
   10682 
   10683 tpf*)
   10684   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10685   version_type=linux
   10686   need_lib_prefix=no
   10687   need_version=no
   10688   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10689   shlibpath_var=LD_LIBRARY_PATH
   10690   shlibpath_overrides_runpath=no
   10691   hardcode_into_libs=yes
   10692   ;;
   10693 
   10694 uts4*)
   10695   version_type=linux
   10696   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10697   soname_spec='${libname}${release}${shared_ext}$major'
   10698   shlibpath_var=LD_LIBRARY_PATH
   10699   ;;
   10700 
   10701 # Shared libraries for VwWorks, >= 7 only at this stage
   10702 # and (fpic) still incompatible with "large" code models
   10703 # in a few configurations. Only for RTP mode in any case,
   10704 # and upon explicit request at configure time.
   10705 vxworks7*)
   10706   dynamic_linker=no
   10707   case ${with_multisubdir}-${enable_shared} in
   10708     *large*)
   10709       ;;
   10710     *mrtp*-yes)
   10711       version_type=linux
   10712       need_lib_prefix=no
   10713       need_version=no
   10714       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10715       soname_spec='${libname}${release}${shared_ext}$major'
   10716       dynamic_linker="$host_os module_loader"
   10717       ;;
   10718   esac
   10719   ;;
   10720 *)
   10721   dynamic_linker=no
   10722   ;;
   10723 esac
   10724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10725 $as_echo "$dynamic_linker" >&6; }
   10726 test "$dynamic_linker" = no && can_build_shared=no
   10727 
   10728 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10729 if test "$GCC" = yes; then
   10730   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10731 fi
   10732 
   10733 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10734   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10735 fi
   10736 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10737   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10738 fi
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 
   10773 
   10774 
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 
   10825 
   10826 
   10827 
   10828 
   10829 
   10830 
   10831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10832 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10833 hardcode_action=
   10834 if test -n "$hardcode_libdir_flag_spec" ||
   10835    test -n "$runpath_var" ||
   10836    test "X$hardcode_automatic" = "Xyes" ; then
   10837 
   10838   # We can hardcode non-existent directories.
   10839   if test "$hardcode_direct" != no &&
   10840      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10841      # have to relink, otherwise we might link with an installed library
   10842      # when we should be linking with a yet-to-be-installed one
   10843      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10844      test "$hardcode_minus_L" != no; then
   10845     # Linking always hardcodes the temporary library directory.
   10846     hardcode_action=relink
   10847   else
   10848     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10849     hardcode_action=immediate
   10850   fi
   10851 else
   10852   # We cannot hardcode anything, or else we can only hardcode existing
   10853   # directories.
   10854   hardcode_action=unsupported
   10855 fi
   10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10857 $as_echo "$hardcode_action" >&6; }
   10858 
   10859 if test "$hardcode_action" = relink ||
   10860    test "$inherit_rpath" = yes; then
   10861   # Fast installation is not supported
   10862   enable_fast_install=no
   10863 elif test "$shlibpath_overrides_runpath" = yes ||
   10864      test "$enable_shared" = no; then
   10865   # Fast installation is not necessary
   10866   enable_fast_install=needless
   10867 fi
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874   if test "x$enable_dlopen" != xyes; then
   10875   enable_dlopen=unknown
   10876   enable_dlopen_self=unknown
   10877   enable_dlopen_self_static=unknown
   10878 else
   10879   lt_cv_dlopen=no
   10880   lt_cv_dlopen_libs=
   10881 
   10882   case $host_os in
   10883   beos*)
   10884     lt_cv_dlopen="load_add_on"
   10885     lt_cv_dlopen_libs=
   10886     lt_cv_dlopen_self=yes
   10887     ;;
   10888 
   10889   mingw* | pw32* | cegcc*)
   10890     lt_cv_dlopen="LoadLibrary"
   10891     lt_cv_dlopen_libs=
   10892     ;;
   10893 
   10894   cygwin*)
   10895     lt_cv_dlopen="dlopen"
   10896     lt_cv_dlopen_libs=
   10897     ;;
   10898 
   10899   darwin*)
   10900   # if libdl is installed we need to link against it
   10901     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10902 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10903 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10904   $as_echo_n "(cached) " >&6
   10905 else
   10906   ac_check_lib_save_LIBS=$LIBS
   10907 LIBS="-ldl  $LIBS"
   10908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10909 /* end confdefs.h.  */
   10910 
   10911 /* Override any GCC internal prototype to avoid an error.
   10912    Use char because int might match the return type of a GCC
   10913    builtin and then its argument prototype would still apply.  */
   10914 #ifdef __cplusplus
   10915 extern "C"
   10916 #endif
   10917 char dlopen ();
   10918 int
   10919 main ()
   10920 {
   10921 return dlopen ();
   10922   ;
   10923   return 0;
   10924 }
   10925 _ACEOF
   10926 if ac_fn_c_try_link "$LINENO"; then :
   10927   ac_cv_lib_dl_dlopen=yes
   10928 else
   10929   ac_cv_lib_dl_dlopen=no
   10930 fi
   10931 rm -f core conftest.err conftest.$ac_objext \
   10932     conftest$ac_exeext conftest.$ac_ext
   10933 LIBS=$ac_check_lib_save_LIBS
   10934 fi
   10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10936 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10937 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10938   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10939 else
   10940 
   10941     lt_cv_dlopen="dyld"
   10942     lt_cv_dlopen_libs=
   10943     lt_cv_dlopen_self=yes
   10944 
   10945 fi
   10946 
   10947     ;;
   10948 
   10949   *)
   10950     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10951 if test "x$ac_cv_func_shl_load" = xyes; then :
   10952   lt_cv_dlopen="shl_load"
   10953 else
   10954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10955 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10956 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10957   $as_echo_n "(cached) " >&6
   10958 else
   10959   ac_check_lib_save_LIBS=$LIBS
   10960 LIBS="-ldld  $LIBS"
   10961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10962 /* end confdefs.h.  */
   10963 
   10964 /* Override any GCC internal prototype to avoid an error.
   10965    Use char because int might match the return type of a GCC
   10966    builtin and then its argument prototype would still apply.  */
   10967 #ifdef __cplusplus
   10968 extern "C"
   10969 #endif
   10970 char shl_load ();
   10971 int
   10972 main ()
   10973 {
   10974 return shl_load ();
   10975   ;
   10976   return 0;
   10977 }
   10978 _ACEOF
   10979 if ac_fn_c_try_link "$LINENO"; then :
   10980   ac_cv_lib_dld_shl_load=yes
   10981 else
   10982   ac_cv_lib_dld_shl_load=no
   10983 fi
   10984 rm -f core conftest.err conftest.$ac_objext \
   10985     conftest$ac_exeext conftest.$ac_ext
   10986 LIBS=$ac_check_lib_save_LIBS
   10987 fi
   10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10989 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10990 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10991   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10992 else
   10993   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10994 if test "x$ac_cv_func_dlopen" = xyes; then :
   10995   lt_cv_dlopen="dlopen"
   10996 else
   10997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10998 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10999 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11000   $as_echo_n "(cached) " >&6
   11001 else
   11002   ac_check_lib_save_LIBS=$LIBS
   11003 LIBS="-ldl  $LIBS"
   11004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11005 /* end confdefs.h.  */
   11006 
   11007 /* Override any GCC internal prototype to avoid an error.
   11008    Use char because int might match the return type of a GCC
   11009    builtin and then its argument prototype would still apply.  */
   11010 #ifdef __cplusplus
   11011 extern "C"
   11012 #endif
   11013 char dlopen ();
   11014 int
   11015 main ()
   11016 {
   11017 return dlopen ();
   11018   ;
   11019   return 0;
   11020 }
   11021 _ACEOF
   11022 if ac_fn_c_try_link "$LINENO"; then :
   11023   ac_cv_lib_dl_dlopen=yes
   11024 else
   11025   ac_cv_lib_dl_dlopen=no
   11026 fi
   11027 rm -f core conftest.err conftest.$ac_objext \
   11028     conftest$ac_exeext conftest.$ac_ext
   11029 LIBS=$ac_check_lib_save_LIBS
   11030 fi
   11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11032 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11033 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11034   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11035 else
   11036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11037 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11038 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11039   $as_echo_n "(cached) " >&6
   11040 else
   11041   ac_check_lib_save_LIBS=$LIBS
   11042 LIBS="-lsvld  $LIBS"
   11043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11044 /* end confdefs.h.  */
   11045 
   11046 /* Override any GCC internal prototype to avoid an error.
   11047    Use char because int might match the return type of a GCC
   11048    builtin and then its argument prototype would still apply.  */
   11049 #ifdef __cplusplus
   11050 extern "C"
   11051 #endif
   11052 char dlopen ();
   11053 int
   11054 main ()
   11055 {
   11056 return dlopen ();
   11057   ;
   11058   return 0;
   11059 }
   11060 _ACEOF
   11061 if ac_fn_c_try_link "$LINENO"; then :
   11062   ac_cv_lib_svld_dlopen=yes
   11063 else
   11064   ac_cv_lib_svld_dlopen=no
   11065 fi
   11066 rm -f core conftest.err conftest.$ac_objext \
   11067     conftest$ac_exeext conftest.$ac_ext
   11068 LIBS=$ac_check_lib_save_LIBS
   11069 fi
   11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11071 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11072 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11073   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11074 else
   11075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11076 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11077 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11078   $as_echo_n "(cached) " >&6
   11079 else
   11080   ac_check_lib_save_LIBS=$LIBS
   11081 LIBS="-ldld  $LIBS"
   11082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11083 /* end confdefs.h.  */
   11084 
   11085 /* Override any GCC internal prototype to avoid an error.
   11086    Use char because int might match the return type of a GCC
   11087    builtin and then its argument prototype would still apply.  */
   11088 #ifdef __cplusplus
   11089 extern "C"
   11090 #endif
   11091 char dld_link ();
   11092 int
   11093 main ()
   11094 {
   11095 return dld_link ();
   11096   ;
   11097   return 0;
   11098 }
   11099 _ACEOF
   11100 if ac_fn_c_try_link "$LINENO"; then :
   11101   ac_cv_lib_dld_dld_link=yes
   11102 else
   11103   ac_cv_lib_dld_dld_link=no
   11104 fi
   11105 rm -f core conftest.err conftest.$ac_objext \
   11106     conftest$ac_exeext conftest.$ac_ext
   11107 LIBS=$ac_check_lib_save_LIBS
   11108 fi
   11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11110 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11111 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11112   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11113 fi
   11114 
   11115 
   11116 fi
   11117 
   11118 
   11119 fi
   11120 
   11121 
   11122 fi
   11123 
   11124 
   11125 fi
   11126 
   11127 
   11128 fi
   11129 
   11130     ;;
   11131   esac
   11132 
   11133   if test "x$lt_cv_dlopen" != xno; then
   11134     enable_dlopen=yes
   11135   else
   11136     enable_dlopen=no
   11137   fi
   11138 
   11139   case $lt_cv_dlopen in
   11140   dlopen)
   11141     save_CPPFLAGS="$CPPFLAGS"
   11142     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11143 
   11144     save_LDFLAGS="$LDFLAGS"
   11145     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11146 
   11147     save_LIBS="$LIBS"
   11148     LIBS="$lt_cv_dlopen_libs $LIBS"
   11149 
   11150     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11151 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11152 if ${lt_cv_dlopen_self+:} false; then :
   11153   $as_echo_n "(cached) " >&6
   11154 else
   11155   	  if test "$cross_compiling" = yes; then :
   11156   lt_cv_dlopen_self=cross
   11157 else
   11158   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11159   lt_status=$lt_dlunknown
   11160   cat > conftest.$ac_ext <<_LT_EOF
   11161 #line 11160 "configure"
   11162 #include "confdefs.h"
   11163 
   11164 #if HAVE_DLFCN_H
   11165 #include <dlfcn.h>
   11166 #endif
   11167 
   11168 #include <stdio.h>
   11169 
   11170 #ifdef RTLD_GLOBAL
   11171 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11172 #else
   11173 #  ifdef DL_GLOBAL
   11174 #    define LT_DLGLOBAL		DL_GLOBAL
   11175 #  else
   11176 #    define LT_DLGLOBAL		0
   11177 #  endif
   11178 #endif
   11179 
   11180 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11181    find out it does not work in some platform. */
   11182 #ifndef LT_DLLAZY_OR_NOW
   11183 #  ifdef RTLD_LAZY
   11184 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11185 #  else
   11186 #    ifdef DL_LAZY
   11187 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11188 #    else
   11189 #      ifdef RTLD_NOW
   11190 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11191 #      else
   11192 #        ifdef DL_NOW
   11193 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11194 #        else
   11195 #          define LT_DLLAZY_OR_NOW	0
   11196 #        endif
   11197 #      endif
   11198 #    endif
   11199 #  endif
   11200 #endif
   11201 
   11202 /* When -fvisbility=hidden is used, assume the code has been annotated
   11203    correspondingly for the symbols needed.  */
   11204 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11205 void fnord () __attribute__((visibility("default")));
   11206 #endif
   11207 
   11208 void fnord () { int i=42; }
   11209 int main ()
   11210 {
   11211   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11212   int status = $lt_dlunknown;
   11213 
   11214   if (self)
   11215     {
   11216       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11217       else
   11218         {
   11219 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11220           else puts (dlerror ());
   11221 	}
   11222       /* dlclose (self); */
   11223     }
   11224   else
   11225     puts (dlerror ());
   11226 
   11227   return status;
   11228 }
   11229 _LT_EOF
   11230   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11231   (eval $ac_link) 2>&5
   11232   ac_status=$?
   11233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11234   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11235     (./conftest; exit; ) >&5 2>/dev/null
   11236     lt_status=$?
   11237     case x$lt_status in
   11238       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11239       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11240       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11241     esac
   11242   else :
   11243     # compilation failed
   11244     lt_cv_dlopen_self=no
   11245   fi
   11246 fi
   11247 rm -fr conftest*
   11248 
   11249 
   11250 fi
   11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11252 $as_echo "$lt_cv_dlopen_self" >&6; }
   11253 
   11254     if test "x$lt_cv_dlopen_self" = xyes; then
   11255       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11256       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11257 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11258 if ${lt_cv_dlopen_self_static+:} false; then :
   11259   $as_echo_n "(cached) " >&6
   11260 else
   11261   	  if test "$cross_compiling" = yes; then :
   11262   lt_cv_dlopen_self_static=cross
   11263 else
   11264   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11265   lt_status=$lt_dlunknown
   11266   cat > conftest.$ac_ext <<_LT_EOF
   11267 #line 11266 "configure"
   11268 #include "confdefs.h"
   11269 
   11270 #if HAVE_DLFCN_H
   11271 #include <dlfcn.h>
   11272 #endif
   11273 
   11274 #include <stdio.h>
   11275 
   11276 #ifdef RTLD_GLOBAL
   11277 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11278 #else
   11279 #  ifdef DL_GLOBAL
   11280 #    define LT_DLGLOBAL		DL_GLOBAL
   11281 #  else
   11282 #    define LT_DLGLOBAL		0
   11283 #  endif
   11284 #endif
   11285 
   11286 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11287    find out it does not work in some platform. */
   11288 #ifndef LT_DLLAZY_OR_NOW
   11289 #  ifdef RTLD_LAZY
   11290 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11291 #  else
   11292 #    ifdef DL_LAZY
   11293 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11294 #    else
   11295 #      ifdef RTLD_NOW
   11296 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11297 #      else
   11298 #        ifdef DL_NOW
   11299 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11300 #        else
   11301 #          define LT_DLLAZY_OR_NOW	0
   11302 #        endif
   11303 #      endif
   11304 #    endif
   11305 #  endif
   11306 #endif
   11307 
   11308 /* When -fvisbility=hidden is used, assume the code has been annotated
   11309    correspondingly for the symbols needed.  */
   11310 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11311 void fnord () __attribute__((visibility("default")));
   11312 #endif
   11313 
   11314 void fnord () { int i=42; }
   11315 int main ()
   11316 {
   11317   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11318   int status = $lt_dlunknown;
   11319 
   11320   if (self)
   11321     {
   11322       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11323       else
   11324         {
   11325 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11326           else puts (dlerror ());
   11327 	}
   11328       /* dlclose (self); */
   11329     }
   11330   else
   11331     puts (dlerror ());
   11332 
   11333   return status;
   11334 }
   11335 _LT_EOF
   11336   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11337   (eval $ac_link) 2>&5
   11338   ac_status=$?
   11339   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11340   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11341     (./conftest; exit; ) >&5 2>/dev/null
   11342     lt_status=$?
   11343     case x$lt_status in
   11344       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11345       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11346       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11347     esac
   11348   else :
   11349     # compilation failed
   11350     lt_cv_dlopen_self_static=no
   11351   fi
   11352 fi
   11353 rm -fr conftest*
   11354 
   11355 
   11356 fi
   11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11358 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11359     fi
   11360 
   11361     CPPFLAGS="$save_CPPFLAGS"
   11362     LDFLAGS="$save_LDFLAGS"
   11363     LIBS="$save_LIBS"
   11364     ;;
   11365   esac
   11366 
   11367   case $lt_cv_dlopen_self in
   11368   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11369   *) enable_dlopen_self=unknown ;;
   11370   esac
   11371 
   11372   case $lt_cv_dlopen_self_static in
   11373   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11374   *) enable_dlopen_self_static=unknown ;;
   11375   esac
   11376 fi
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 striplib=
   11395 old_striplib=
   11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11397 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11398 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11399   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11400   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11402 $as_echo "yes" >&6; }
   11403 else
   11404 # FIXME - insert some real tests, host_os isn't really good enough
   11405   case $host_os in
   11406   darwin*)
   11407     if test -n "$STRIP" ; then
   11408       striplib="$STRIP -x"
   11409       old_striplib="$STRIP -S"
   11410       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11411 $as_echo "yes" >&6; }
   11412     else
   11413       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11414 $as_echo "no" >&6; }
   11415     fi
   11416     ;;
   11417   *)
   11418     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11419 $as_echo "no" >&6; }
   11420     ;;
   11421   esac
   11422 fi
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435   # Report which library types will actually be built
   11436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11437 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11439 $as_echo "$can_build_shared" >&6; }
   11440 
   11441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11442 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11443   test "$can_build_shared" = "no" && enable_shared=no
   11444 
   11445   # On AIX, shared libraries and static libraries use the same namespace, and
   11446   # are all built from PIC.
   11447   case $host_os in
   11448   aix3*)
   11449     test "$enable_shared" = yes && enable_static=no
   11450     if test -n "$RANLIB"; then
   11451       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11452       postinstall_cmds='$RANLIB $lib'
   11453     fi
   11454     ;;
   11455 
   11456   aix[4-9]*)
   11457     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11458       test "$enable_shared" = yes && enable_static=no
   11459     fi
   11460     ;;
   11461   esac
   11462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11463 $as_echo "$enable_shared" >&6; }
   11464 
   11465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11466 $as_echo_n "checking whether to build static libraries... " >&6; }
   11467   # Make sure either enable_shared or enable_static is yes.
   11468   test "$enable_shared" = yes || enable_static=yes
   11469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11470 $as_echo "$enable_static" >&6; }
   11471 
   11472 
   11473 
   11474 
   11475 fi
   11476 ac_ext=c
   11477 ac_cpp='$CPP $CPPFLAGS'
   11478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11481 
   11482 CC="$lt_save_CC"
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 
   11494 
   11495 
   11496         ac_config_commands="$ac_config_commands libtool"
   11497 
   11498 
   11499 
   11500 
   11501 # Only expand once:
   11502 
   11503 
   11504 
   11505 # AC_PLUGINS setting $plugins is called by ACX_LARGEFILE.
   11506 
   11507 # The tests for host and target for $enable_largefile require
   11508 # canonical names.
   11509 
   11510 
   11511 
   11512 # As the $enable_largefile decision depends on --enable-plugins we must set it
   11513 # even in directories otherwise not depending on the $plugins option.
   11514 
   11515 
   11516   maybe_plugins=no
   11517   for ac_header in dlfcn.h
   11518 do :
   11519   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   11520 "
   11521 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   11522   cat >>confdefs.h <<_ACEOF
   11523 #define HAVE_DLFCN_H 1
   11524 _ACEOF
   11525  maybe_plugins=yes
   11526 fi
   11527 
   11528 done
   11529 
   11530   for ac_header in windows.h
   11531 do :
   11532   ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
   11533 "
   11534 if test "x$ac_cv_header_windows_h" = xyes; then :
   11535   cat >>confdefs.h <<_ACEOF
   11536 #define HAVE_WINDOWS_H 1
   11537 _ACEOF
   11538  maybe_plugins=yes
   11539 fi
   11540 
   11541 done
   11542 
   11543 
   11544   # Check whether --enable-plugins was given.
   11545 if test "${enable_plugins+set}" = set; then :
   11546   enableval=$enable_plugins; case "${enableval}" in
   11547       no) plugins=no ;;
   11548       *) plugins=yes
   11549          if test "$maybe_plugins" != "yes" ; then
   11550 	   as_fn_error $? "Building with plugin support requires a host that supports dlopen." "$LINENO" 5
   11551 	 fi ;;
   11552      esac
   11553 else
   11554   plugins=$maybe_plugins
   11555 
   11556 fi
   11557 
   11558   if test "$plugins" = "yes"; then
   11559     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
   11560 $as_echo_n "checking for library containing dlsym... " >&6; }
   11561 if ${ac_cv_search_dlsym+:} false; then :
   11562   $as_echo_n "(cached) " >&6
   11563 else
   11564   ac_func_search_save_LIBS=$LIBS
   11565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11566 /* end confdefs.h.  */
   11567 
   11568 /* Override any GCC internal prototype to avoid an error.
   11569    Use char because int might match the return type of a GCC
   11570    builtin and then its argument prototype would still apply.  */
   11571 #ifdef __cplusplus
   11572 extern "C"
   11573 #endif
   11574 char dlsym ();
   11575 int
   11576 main ()
   11577 {
   11578 return dlsym ();
   11579   ;
   11580   return 0;
   11581 }
   11582 _ACEOF
   11583 for ac_lib in '' dl; do
   11584   if test -z "$ac_lib"; then
   11585     ac_res="none required"
   11586   else
   11587     ac_res=-l$ac_lib
   11588     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11589   fi
   11590   if ac_fn_c_try_link "$LINENO"; then :
   11591   ac_cv_search_dlsym=$ac_res
   11592 fi
   11593 rm -f core conftest.err conftest.$ac_objext \
   11594     conftest$ac_exeext
   11595   if ${ac_cv_search_dlsym+:} false; then :
   11596   break
   11597 fi
   11598 done
   11599 if ${ac_cv_search_dlsym+:} false; then :
   11600 
   11601 else
   11602   ac_cv_search_dlsym=no
   11603 fi
   11604 rm conftest.$ac_ext
   11605 LIBS=$ac_func_search_save_LIBS
   11606 fi
   11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
   11608 $as_echo "$ac_cv_search_dlsym" >&6; }
   11609 ac_res=$ac_cv_search_dlsym
   11610 if test "$ac_res" != no; then :
   11611   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11612 
   11613 fi
   11614 
   11615   fi
   11616 
   11617 
   11618 case "${host}" in
   11619   sparc-*-solaris*|i?86-*-solaris*)
   11620     # On native 32-bit Solaris/SPARC and x86, large-file and procfs support
   11621     # were mutually exclusive until Solaris 11.3.  Without procfs support,
   11622     # the bfd/ elf module cannot provide certain routines such as
   11623     # elfcore_write_prpsinfo or elfcore_write_prstatus.  So unless the user
   11624     # explicitly requested large-file support through the
   11625     # --enable-largefile switch, disable large-file support in favor of
   11626     # procfs support.
   11627     #
   11628     # Check if <sys/procfs.h> is incompatible with large-file support.
   11629     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11630 /* end confdefs.h.  */
   11631 #define _FILE_OFFSET_BITS 64
   11632 #define _STRUCTURED_PROC 1
   11633 #include <sys/procfs.h>
   11634 int
   11635 main ()
   11636 {
   11637 
   11638   ;
   11639   return 0;
   11640 }
   11641 _ACEOF
   11642 if ac_fn_c_try_compile "$LINENO"; then :
   11643   acx_cv_procfs_lfs=yes
   11644 else
   11645   acx_cv_procfs_lfs=no
   11646 fi
   11647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11648     #
   11649     # Forcefully disable large-file support only if necessary, gdb is in
   11650     # tree and enabled.
   11651     if test "${target}" = "${host}" -a "$acx_cv_procfs_lfs" = no \
   11652          -a -d $srcdir/../gdb -a "$enable_gdb" != no; then
   11653       : ${enable_largefile="no"}
   11654       if test "$plugins" = yes; then
   11655 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
   11656 plugin support disabled; require large-file support which is incompatible with GDB." >&5
   11657 $as_echo "$as_me: WARNING:
   11658 plugin support disabled; require large-file support which is incompatible with GDB." >&2;}
   11659 	plugins=no
   11660       fi
   11661     fi
   11662     #
   11663     # Explicitly undef _FILE_OFFSET_BITS if enable_largefile=no for the
   11664     # benefit of g++ 9+ which predefines it on Solaris.
   11665     if test "$enable_largefile" = no; then
   11666       LARGEFILE_CPPFLAGS="-U_FILE_OFFSET_BITS"
   11667 
   11668     fi
   11669     ;;
   11670 esac
   11671 
   11672 # Check whether --enable-largefile was given.
   11673 if test "${enable_largefile+set}" = set; then :
   11674   enableval=$enable_largefile;
   11675 fi
   11676 
   11677 if test "$enable_largefile" != no; then
   11678 
   11679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   11680 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   11681 if ${ac_cv_sys_largefile_CC+:} false; then :
   11682   $as_echo_n "(cached) " >&6
   11683 else
   11684   ac_cv_sys_largefile_CC=no
   11685      if test "$GCC" != yes; then
   11686        ac_save_CC=$CC
   11687        while :; do
   11688 	 # IRIX 6.2 and later do not support large files by default,
   11689 	 # so use the C compiler's -n32 option if that helps.
   11690 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11691 /* end confdefs.h.  */
   11692 #include <sys/types.h>
   11693  /* Check that off_t can represent 2**63 - 1 correctly.
   11694     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11695     since some C++ compilers masquerading as C compilers
   11696     incorrectly reject 9223372036854775807.  */
   11697 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11698   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11699 		       && LARGE_OFF_T % 2147483647 == 1)
   11700 		      ? 1 : -1];
   11701 int
   11702 main ()
   11703 {
   11704 
   11705   ;
   11706   return 0;
   11707 }
   11708 _ACEOF
   11709 	 if ac_fn_c_try_compile "$LINENO"; then :
   11710   break
   11711 fi
   11712 rm -f core conftest.err conftest.$ac_objext
   11713 	 CC="$CC -n32"
   11714 	 if ac_fn_c_try_compile "$LINENO"; then :
   11715   ac_cv_sys_largefile_CC=' -n32'; break
   11716 fi
   11717 rm -f core conftest.err conftest.$ac_objext
   11718 	 break
   11719        done
   11720        CC=$ac_save_CC
   11721        rm -f conftest.$ac_ext
   11722     fi
   11723 fi
   11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   11725 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   11726   if test "$ac_cv_sys_largefile_CC" != no; then
   11727     CC=$CC$ac_cv_sys_largefile_CC
   11728   fi
   11729 
   11730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   11731 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   11732 if ${ac_cv_sys_file_offset_bits+:} false; then :
   11733   $as_echo_n "(cached) " >&6
   11734 else
   11735   while :; do
   11736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11737 /* end confdefs.h.  */
   11738 #include <sys/types.h>
   11739  /* Check that off_t can represent 2**63 - 1 correctly.
   11740     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11741     since some C++ compilers masquerading as C compilers
   11742     incorrectly reject 9223372036854775807.  */
   11743 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11744   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11745 		       && LARGE_OFF_T % 2147483647 == 1)
   11746 		      ? 1 : -1];
   11747 int
   11748 main ()
   11749 {
   11750 
   11751   ;
   11752   return 0;
   11753 }
   11754 _ACEOF
   11755 if ac_fn_c_try_compile "$LINENO"; then :
   11756   ac_cv_sys_file_offset_bits=no; break
   11757 fi
   11758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11760 /* end confdefs.h.  */
   11761 #define _FILE_OFFSET_BITS 64
   11762 #include <sys/types.h>
   11763  /* Check that off_t can represent 2**63 - 1 correctly.
   11764     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11765     since some C++ compilers masquerading as C compilers
   11766     incorrectly reject 9223372036854775807.  */
   11767 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11768   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11769 		       && LARGE_OFF_T % 2147483647 == 1)
   11770 		      ? 1 : -1];
   11771 int
   11772 main ()
   11773 {
   11774 
   11775   ;
   11776   return 0;
   11777 }
   11778 _ACEOF
   11779 if ac_fn_c_try_compile "$LINENO"; then :
   11780   ac_cv_sys_file_offset_bits=64; break
   11781 fi
   11782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11783   ac_cv_sys_file_offset_bits=unknown
   11784   break
   11785 done
   11786 fi
   11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   11788 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   11789 case $ac_cv_sys_file_offset_bits in #(
   11790   no | unknown) ;;
   11791   *)
   11792 cat >>confdefs.h <<_ACEOF
   11793 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   11794 _ACEOF
   11795 ;;
   11796 esac
   11797 rm -rf conftest*
   11798   if test $ac_cv_sys_file_offset_bits = unknown; then
   11799     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   11800 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   11801 if ${ac_cv_sys_large_files+:} false; then :
   11802   $as_echo_n "(cached) " >&6
   11803 else
   11804   while :; do
   11805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11806 /* end confdefs.h.  */
   11807 #include <sys/types.h>
   11808  /* Check that off_t can represent 2**63 - 1 correctly.
   11809     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11810     since some C++ compilers masquerading as C compilers
   11811     incorrectly reject 9223372036854775807.  */
   11812 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11813   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11814 		       && LARGE_OFF_T % 2147483647 == 1)
   11815 		      ? 1 : -1];
   11816 int
   11817 main ()
   11818 {
   11819 
   11820   ;
   11821   return 0;
   11822 }
   11823 _ACEOF
   11824 if ac_fn_c_try_compile "$LINENO"; then :
   11825   ac_cv_sys_large_files=no; break
   11826 fi
   11827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11829 /* end confdefs.h.  */
   11830 #define _LARGE_FILES 1
   11831 #include <sys/types.h>
   11832  /* Check that off_t can represent 2**63 - 1 correctly.
   11833     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11834     since some C++ compilers masquerading as C compilers
   11835     incorrectly reject 9223372036854775807.  */
   11836 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11837   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11838 		       && LARGE_OFF_T % 2147483647 == 1)
   11839 		      ? 1 : -1];
   11840 int
   11841 main ()
   11842 {
   11843 
   11844   ;
   11845   return 0;
   11846 }
   11847 _ACEOF
   11848 if ac_fn_c_try_compile "$LINENO"; then :
   11849   ac_cv_sys_large_files=1; break
   11850 fi
   11851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11852   ac_cv_sys_large_files=unknown
   11853   break
   11854 done
   11855 fi
   11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   11857 $as_echo "$ac_cv_sys_large_files" >&6; }
   11858 case $ac_cv_sys_large_files in #(
   11859   no | unknown) ;;
   11860   *)
   11861 cat >>confdefs.h <<_ACEOF
   11862 #define _LARGE_FILES $ac_cv_sys_large_files
   11863 _ACEOF
   11864 ;;
   11865 esac
   11866 rm -rf conftest*
   11867   fi
   11868 
   11869 
   11870 fi
   11871 
   11872 
   11873 
   11874 case "${target}" in
   11875     hppa*64*-*-*) ;;
   11876     *-*-*aout*| i[3-7]86-*-msdos* | ns32k-*-* | pdp11-*-*)
   11877 	if test "$plugins" = "yes"; then
   11878 	    if test "${enable_plugins+set}" = set; then
   11879 		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling plugins for AOUT is experimental" >&5
   11880 $as_echo "$as_me: WARNING: Enabling plugins for AOUT is experimental" >&2;}
   11881 	    else
   11882 		plugins=no
   11883 	    fi
   11884 	fi ;;
   11885     hppa*-*-hpux* | *-*-*vms* | \
   11886     powerpc*-*-aix* | powerpc-*-beos* | powerpc-*-macos* | rs6000-*-*)
   11887 	if test "$plugins" = "yes"; then
   11888 	    if test "${enable_plugins+set}" = set; then
   11889 		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling plugins may result in ar creating non-standard archives for ${target}" >&5
   11890 $as_echo "$as_me: WARNING: Enabling plugins may result in ar creating non-standard archives for ${target}" >&2;}
   11891 	    else
   11892 		plugins=no
   11893 	    fi
   11894 	fi ;;
   11895 esac
   11896 
   11897  if test "$plugins" = "yes"; then
   11898   PLUGINS_TRUE=
   11899   PLUGINS_FALSE='#'
   11900 else
   11901   PLUGINS_TRUE='#'
   11902   PLUGINS_FALSE=
   11903 fi
   11904 
   11905 
   11906 ac_checking=
   11907 . ${srcdir}/development.sh
   11908 test "$development" = true && ac_checking=yes
   11909 # Check whether --enable-checking was given.
   11910 if test "${enable_checking+set}" = set; then :
   11911   enableval=$enable_checking; case "${enableval}" in
   11912   no|none)  ac_checking= ;;
   11913   *)	    ac_checking=yes ;;
   11914 esac
   11915 fi
   11916 if test x$ac_checking != x ; then
   11917 
   11918 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
   11919 
   11920 fi
   11921 
   11922 # Check whether --enable-64-bit-bfd was given.
   11923 if test "${enable_64_bit_bfd+set}" = set; then :
   11924   enableval=$enable_64_bit_bfd; case $enableval in #(
   11925   yes|no) :
   11926      ;; #(
   11927   *) :
   11928     as_fn_error $? "bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;; #(
   11929   *) :
   11930      ;;
   11931 esac
   11932 else
   11933   enable_64_bit_bfd=no
   11934 fi
   11935 
   11936 
   11937 if test "x$enable_64_bit_bfd" = "xno"; then :
   11938     # The cast to long int works around a bug in the HP C Compiler
   11939 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   11940 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   11941 # This bug is HP SR number 8606223364.
   11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   11943 $as_echo_n "checking size of void *... " >&6; }
   11944 if ${ac_cv_sizeof_void_p+:} false; then :
   11945   $as_echo_n "(cached) " >&6
   11946 else
   11947   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   11948 
   11949 else
   11950   if test "$ac_cv_type_void_p" = yes; then
   11951      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11953 as_fn_error 77 "cannot compute sizeof (void *)
   11954 See \`config.log' for more details" "$LINENO" 5; }
   11955    else
   11956      ac_cv_sizeof_void_p=0
   11957    fi
   11958 fi
   11959 
   11960 fi
   11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   11962 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   11963 
   11964 
   11965 
   11966 cat >>confdefs.h <<_ACEOF
   11967 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   11968 _ACEOF
   11969 
   11970 
   11971   if test "x$ac_cv_sizeof_void_p" = "x8"; then :
   11972   enable_64_bit_bfd=yes
   11973 fi
   11974 
   11975 fi
   11976 
   11977  if test "x$enable_64_bit_bfd" = "xyes"; then
   11978   ENABLE_BFD_64_BIT_TRUE=
   11979   ENABLE_BFD_64_BIT_FALSE='#'
   11980 else
   11981   ENABLE_BFD_64_BIT_TRUE='#'
   11982   ENABLE_BFD_64_BIT_FALSE=
   11983 fi
   11984 
   11985 
   11986 if test $enable_64_bit_bfd = yes ; then
   11987   want64=true
   11988 else
   11989   want64=false
   11990 fi
   11991 
   11992 # Check whether --enable-targets was given.
   11993 if test "${enable_targets+set}" = set; then :
   11994   enableval=$enable_targets; case "${enableval}" in
   11995   yes | "") as_fn_error $? "enable-targets option must specify target names or 'all'" "$LINENO" 5
   11996             ;;
   11997   no)       enable_targets= ;;
   11998   *)        enable_targets=$enableval ;;
   11999 esac
   12000 fi
   12001 
   12002 # Check whether --enable-64_bit_archive was given.
   12003 if test "${enable_64_bit_archive+set}" = set; then :
   12004   enableval=$enable_64_bit_archive; case "${enableval}" in
   12005   yes)  want_64_bit_archive=true  ;;
   12006   no)   want_64_bit_archive=false ;;
   12007   *)    as_fn_error $? "bad value ${enableval} for 64-bit-archive option" "$LINENO" 5 ;;
   12008 esac
   12009 else
   12010   want_64_bit_archive=unset
   12011 fi
   12012 
   12013 
   12014 # Check whether --with-mmap was given.
   12015 if test "${with_mmap+set}" = set; then :
   12016   withval=$with_mmap; case "${withval}" in
   12017   yes)  want_mmap=true ;;
   12018   no)   want_mmap=false ;;
   12019   *)    as_fn_error $? "bad value ${withval} for BFD with-mmap option" "$LINENO" 5 ;;
   12020 esac
   12021 else
   12022   want_mmap=true
   12023 fi
   12024 
   12025 # Check whether --enable-secureplt was given.
   12026 if test "${enable_secureplt+set}" = set; then :
   12027   enableval=$enable_secureplt; case "${enableval}" in
   12028   yes)  use_secureplt=true  ;;
   12029   no)   use_secureplt=false ;;
   12030   *)    as_fn_error $? "bad value ${enableval} for secureplt option" "$LINENO" 5 ;;
   12031 esac
   12032 else
   12033   use_secureplt=false	# XXX port-alpha/57511
   12034 fi
   12035 if test $use_secureplt = true; then
   12036 
   12037 $as_echo "#define USE_SECUREPLT 1" >>confdefs.h
   12038 
   12039 fi
   12040 
   12041 # Decide if -z separate-code should be enabled in ELF linker by default.
   12042 ac_default_ld_z_separate_code=unset
   12043 # Check whether --enable-separate-code was given.
   12044 if test "${enable_separate_code+set}" = set; then :
   12045   enableval=$enable_separate_code; case "${enableval}" in
   12046   yes) ac_default_ld_z_separate_code=1 ;;
   12047   no) ac_default_ld_z_separate_code=0 ;;
   12048 esac
   12049 fi
   12050 
   12051 # Enable -z separate-code by default for Linux/x86.
   12052 case "${target}" in
   12053 i[3-7]86-*-linux-* | x86_64-*-linux-*)
   12054   if test ${ac_default_ld_z_separate_code} = unset; then
   12055     ac_default_ld_z_separate_code=1
   12056   fi
   12057   ;;
   12058 esac
   12059 if test "${ac_default_ld_z_separate_code}" = unset; then
   12060   ac_default_ld_z_separate_code=0
   12061 fi
   12062 
   12063 cat >>confdefs.h <<_ACEOF
   12064 #define DEFAULT_LD_Z_SEPARATE_CODE $ac_default_ld_z_separate_code
   12065 _ACEOF
   12066 
   12067 
   12068 # Check whether --enable-leading-mingw64-underscores was given.
   12069 if test "${enable_leading_mingw64_underscores+set}" = set; then :
   12070   enableval=$enable_leading_mingw64_underscores;
   12071 fi
   12072 
   12073 if  test x"$enable_leading_mingw64_underscores" = xyes ; then :
   12074 
   12075 $as_echo "#define USE_MINGW64_LEADING_UNDERSCORES 1" >>confdefs.h
   12076 
   12077 fi
   12078 
   12079 DEBUGDIR=${libdir}/debug
   12080 
   12081 # Check whether --with-separate-debug-dir was given.
   12082 if test "${with_separate_debug_dir+set}" = set; then :
   12083   withval=$with_separate_debug_dir; DEBUGDIR="${withval}"
   12084 fi
   12085 
   12086 
   12087 
   12088 
   12089 
   12090 # Check whether --with-pkgversion was given.
   12091 if test "${with_pkgversion+set}" = set; then :
   12092   withval=$with_pkgversion; case "$withval" in
   12093       yes) as_fn_error $? "package version not specified" "$LINENO" 5 ;;
   12094       no)  PKGVERSION= ;;
   12095       *)   PKGVERSION="($withval) " ;;
   12096      esac
   12097 else
   12098   PKGVERSION="(GNU Binutils) "
   12099 
   12100 fi
   12101 
   12102 
   12103 
   12104 
   12105 
   12106 # Check whether --with-bugurl was given.
   12107 if test "${with_bugurl+set}" = set; then :
   12108   withval=$with_bugurl; case "$withval" in
   12109       yes) as_fn_error $? "bug URL not specified" "$LINENO" 5 ;;
   12110       no)  BUGURL=
   12111 	   ;;
   12112       *)   BUGURL="$withval"
   12113 	   ;;
   12114      esac
   12115 else
   12116   BUGURL="https://sourceware.org/bugzilla/"
   12117 
   12118 fi
   12119 
   12120   case ${BUGURL} in
   12121   "")
   12122     REPORT_BUGS_TO=
   12123     REPORT_BUGS_TEXI=
   12124     ;;
   12125   *)
   12126     REPORT_BUGS_TO="<$BUGURL>"
   12127     REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`}
   12128     ;;
   12129   esac;
   12130 
   12131 
   12132 
   12133 
   12134 
   12135 # Set the 'development' global.
   12136 . $srcdir/../bfd/development.sh
   12137 
   12138 # Set acp_cpp_for_build variable
   12139 ac_cpp_for_build="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
   12140 
   12141 # Default set of GCC warnings to enable.
   12142 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   12143 GCC_WARN_CFLAGS_FOR_BUILD="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   12144 
   12145 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   12146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12147 /* end confdefs.h.  */
   12148 __GNUC__
   12149 _ACEOF
   12150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12151   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12152 
   12153 else
   12154   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
   12155 fi
   12156 rm -f conftest*
   12157 
   12158 
   12159 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   12160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12161 /* end confdefs.h.  */
   12162 __GNUC__
   12163 _ACEOF
   12164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12165   $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12166 
   12167 else
   12168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12169 /* end confdefs.h.  */
   12170 __clang__
   12171 _ACEOF
   12172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12173   $EGREP "^__clang__$" >/dev/null 2>&1; then :
   12174   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
   12175 fi
   12176 rm -f conftest*
   12177 
   12178 fi
   12179 rm -f conftest*
   12180 
   12181 
   12182 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
   12183 WARN_WRITE_STRINGS=""
   12184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12185 /* end confdefs.h.  */
   12186 __GNUC__
   12187 _ACEOF
   12188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12189   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12190 
   12191 else
   12192   WARN_WRITE_STRINGS="-Wwrite-strings"
   12193 fi
   12194 rm -f conftest*
   12195 
   12196 
   12197 # Verify CC_FOR_BUILD to be compatible with warning flags
   12198 
   12199 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12201 /* end confdefs.h.  */
   12202 __GNUC__
   12203 _ACEOF
   12204 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   12205   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12206 
   12207 else
   12208   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
   12209 fi
   12210 rm -f conftest*
   12211 
   12212 
   12213 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   12214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12215 /* end confdefs.h.  */
   12216 __GNUC__
   12217 _ACEOF
   12218 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   12219   $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12220 
   12221 else
   12222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12223 /* end confdefs.h.  */
   12224 __clang__
   12225 _ACEOF
   12226 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   12227   $EGREP "^__clang__$" >/dev/null 2>&1; then :
   12228   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
   12229 fi
   12230 rm -f conftest*
   12231 
   12232 fi
   12233 rm -f conftest*
   12234 
   12235 
   12236 # Check whether --enable-werror was given.
   12237 if test "${enable_werror+set}" = set; then :
   12238   enableval=$enable_werror; case "${enableval}" in
   12239      yes | y) ERROR_ON_WARNING="yes" ;;
   12240      no | n)  ERROR_ON_WARNING="no" ;;
   12241      *) as_fn_error $? "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
   12242    esac
   12243 fi
   12244 
   12245 
   12246 # Disable -Wformat by default when using gcc on mingw
   12247 case "${host}" in
   12248   *-*-mingw32*)
   12249     if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
   12250       GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
   12251       GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
   12252     fi
   12253     ;;
   12254   *) ;;
   12255 esac
   12256 
   12257 # Enable -Werror by default when using gcc.  Turn it off for releases.
   12258 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then
   12259     ERROR_ON_WARNING=yes
   12260 fi
   12261 
   12262 NO_WERROR=
   12263 if test "${ERROR_ON_WARNING}" = yes ; then
   12264     GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
   12265     GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
   12266     NO_WERROR="-Wno-error"
   12267 fi
   12268 
   12269 if test "${GCC}" = yes ; then
   12270   WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   12271   WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}"
   12272 fi
   12273 
   12274 # Check whether --enable-build-warnings was given.
   12275 if test "${enable_build_warnings+set}" = set; then :
   12276   enableval=$enable_build_warnings; case "${enableval}" in
   12277   yes)	WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   12278         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}";;
   12279   no)	if test "${GCC}" = yes ; then
   12280 	  WARN_CFLAGS="-w"
   12281       WARN_CFLAGS_FOR_BUILD="-w"
   12282 	fi;;
   12283   ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   12284         WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}"
   12285         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
   12286   *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   12287         WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}"
   12288         WARN_CFLAGS_FOR_BUILD="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
   12289   *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`
   12290         WARN_CFLAGS_FOR_BUILD=`echo "${enableval}" | sed -e "s/,/ /g"`;;
   12291 esac
   12292 fi
   12293 
   12294 
   12295 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
   12296   echo "Setting warning flags = $WARN_CFLAGS" 6>&1
   12297 fi
   12298 
   12299 
   12300 
   12301 
   12302 
   12303 
   12304 
   12305 ac_config_headers="$ac_config_headers config.h:config.in"
   12306 
   12307 
   12308 # PR 14072
   12309 
   12310 
   12311 if test -z "$target" ; then
   12312     as_fn_error $? "Unrecognized target system type; please check config.sub." "$LINENO" 5
   12313 fi
   12314 
   12315 
   12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   12317 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   12318     # Check whether --enable-maintainer-mode was given.
   12319 if test "${enable_maintainer_mode+set}" = set; then :
   12320   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   12321 else
   12322   USE_MAINTAINER_MODE=no
   12323 fi
   12324 
   12325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   12326 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   12327    if test $USE_MAINTAINER_MODE = yes; then
   12328   MAINTAINER_MODE_TRUE=
   12329   MAINTAINER_MODE_FALSE='#'
   12330 else
   12331   MAINTAINER_MODE_TRUE='#'
   12332   MAINTAINER_MODE_FALSE=
   12333 fi
   12334 
   12335   MAINT=$MAINTAINER_MODE_TRUE
   12336 
   12337 
   12338  if false; then
   12339   GENINSRC_NEVER_TRUE=
   12340   GENINSRC_NEVER_FALSE='#'
   12341 else
   12342   GENINSRC_NEVER_TRUE='#'
   12343   GENINSRC_NEVER_FALSE=
   12344 fi
   12345 
   12346  case ${build_alias} in
   12347   "") build_noncanonical=${build} ;;
   12348   *) build_noncanonical=${build_alias} ;;
   12349 esac
   12350 
   12351  case ${host_alias} in
   12352   "") host_noncanonical=${build_noncanonical} ;;
   12353   *) host_noncanonical=${host_alias} ;;
   12354 esac
   12355 
   12356  case ${target_alias} in
   12357   "") target_noncanonical=${host_noncanonical} ;;
   12358   *) target_noncanonical=${target_alias} ;;
   12359 esac
   12360 
   12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libbfd" >&5
   12362 $as_echo_n "checking whether to install libbfd... " >&6; }
   12363   # Check whether --enable-install-libbfd was given.
   12364 if test "${enable_install_libbfd+set}" = set; then :
   12365   enableval=$enable_install_libbfd; install_libbfd_p=$enableval
   12366 else
   12367   if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
   12368         install_libbfd_p=yes
   12369       else
   12370         install_libbfd_p=no
   12371       fi
   12372 fi
   12373 
   12374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_libbfd_p" >&5
   12375 $as_echo "$install_libbfd_p" >&6; }
   12376    if test $install_libbfd_p = yes; then
   12377   INSTALL_LIBBFD_TRUE=
   12378   INSTALL_LIBBFD_FALSE='#'
   12379 else
   12380   INSTALL_LIBBFD_TRUE='#'
   12381   INSTALL_LIBBFD_FALSE=
   12382 fi
   12383 
   12384   # Need _noncanonical variables for this.
   12385 
   12386 
   12387 
   12388 
   12389   # libbfd.a is a host library containing target dependent code
   12390   bfdlibdir='$(libdir)'
   12391   bfdincludedir='$(includedir)'
   12392   if test "${host}" != "${target}"; then
   12393     bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
   12394     bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
   12395   fi
   12396 
   12397 
   12398 
   12399 
   12400 
   12401 
   12402 
   12403 
   12404  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   12405 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   12406 if ${ac_cv_c_bigendian+:} false; then :
   12407   $as_echo_n "(cached) " >&6
   12408 else
   12409   ac_cv_c_bigendian=unknown
   12410     # See if we're dealing with a universal compiler.
   12411     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12412 /* end confdefs.h.  */
   12413 #ifndef __APPLE_CC__
   12414 	       not a universal capable compiler
   12415 	     #endif
   12416 	     typedef int dummy;
   12417 
   12418 _ACEOF
   12419 if ac_fn_c_try_compile "$LINENO"; then :
   12420 
   12421 	# Check for potential -arch flags.  It is not universal unless
   12422 	# there are at least two -arch flags with different values.
   12423 	ac_arch=
   12424 	ac_prev=
   12425 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   12426 	 if test -n "$ac_prev"; then
   12427 	   case $ac_word in
   12428 	     i?86 | x86_64 | ppc | ppc64)
   12429 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   12430 		 ac_arch=$ac_word
   12431 	       else
   12432 		 ac_cv_c_bigendian=universal
   12433 		 break
   12434 	       fi
   12435 	       ;;
   12436 	   esac
   12437 	   ac_prev=
   12438 	 elif test "x$ac_word" = "x-arch"; then
   12439 	   ac_prev=arch
   12440 	 fi
   12441        done
   12442 fi
   12443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12444     if test $ac_cv_c_bigendian = unknown; then
   12445       # See if sys/param.h defines the BYTE_ORDER macro.
   12446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12447 /* end confdefs.h.  */
   12448 #include <sys/types.h>
   12449 	     #include <sys/param.h>
   12450 
   12451 int
   12452 main ()
   12453 {
   12454 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   12455 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   12456 		     && LITTLE_ENDIAN)
   12457 	      bogus endian macros
   12458 	     #endif
   12459 
   12460   ;
   12461   return 0;
   12462 }
   12463 _ACEOF
   12464 if ac_fn_c_try_compile "$LINENO"; then :
   12465   # It does; now see whether it defined to BIG_ENDIAN or not.
   12466 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12467 /* end confdefs.h.  */
   12468 #include <sys/types.h>
   12469 		#include <sys/param.h>
   12470 
   12471 int
   12472 main ()
   12473 {
   12474 #if BYTE_ORDER != BIG_ENDIAN
   12475 		 not big endian
   12476 		#endif
   12477 
   12478   ;
   12479   return 0;
   12480 }
   12481 _ACEOF
   12482 if ac_fn_c_try_compile "$LINENO"; then :
   12483   ac_cv_c_bigendian=yes
   12484 else
   12485   ac_cv_c_bigendian=no
   12486 fi
   12487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12488 fi
   12489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12490     fi
   12491     if test $ac_cv_c_bigendian = unknown; then
   12492       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   12493       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12494 /* end confdefs.h.  */
   12495 #include <limits.h>
   12496 
   12497 int
   12498 main ()
   12499 {
   12500 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   12501 	      bogus endian macros
   12502 	     #endif
   12503 
   12504   ;
   12505   return 0;
   12506 }
   12507 _ACEOF
   12508 if ac_fn_c_try_compile "$LINENO"; then :
   12509   # It does; now see whether it defined to _BIG_ENDIAN or not.
   12510 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12511 /* end confdefs.h.  */
   12512 #include <limits.h>
   12513 
   12514 int
   12515 main ()
   12516 {
   12517 #ifndef _BIG_ENDIAN
   12518 		 not big endian
   12519 		#endif
   12520 
   12521   ;
   12522   return 0;
   12523 }
   12524 _ACEOF
   12525 if ac_fn_c_try_compile "$LINENO"; then :
   12526   ac_cv_c_bigendian=yes
   12527 else
   12528   ac_cv_c_bigendian=no
   12529 fi
   12530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12531 fi
   12532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12533     fi
   12534     if test $ac_cv_c_bigendian = unknown; then
   12535       # Compile a test program.
   12536       if test "$cross_compiling" = yes; then :
   12537   # Try to guess by grepping values from an object file.
   12538 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12539 /* end confdefs.h.  */
   12540 short int ascii_mm[] =
   12541 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   12542 		short int ascii_ii[] =
   12543 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   12544 		int use_ascii (int i) {
   12545 		  return ascii_mm[i] + ascii_ii[i];
   12546 		}
   12547 		short int ebcdic_ii[] =
   12548 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   12549 		short int ebcdic_mm[] =
   12550 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   12551 		int use_ebcdic (int i) {
   12552 		  return ebcdic_mm[i] + ebcdic_ii[i];
   12553 		}
   12554 		extern int foo;
   12555 
   12556 int
   12557 main ()
   12558 {
   12559 return use_ascii (foo) == use_ebcdic (foo);
   12560   ;
   12561   return 0;
   12562 }
   12563 _ACEOF
   12564 if ac_fn_c_try_compile "$LINENO"; then :
   12565   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   12566 	      ac_cv_c_bigendian=yes
   12567 	    fi
   12568 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   12569 	      if test "$ac_cv_c_bigendian" = unknown; then
   12570 		ac_cv_c_bigendian=no
   12571 	      else
   12572 		# finding both strings is unlikely to happen, but who knows?
   12573 		ac_cv_c_bigendian=unknown
   12574 	      fi
   12575 	    fi
   12576 fi
   12577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12578 else
   12579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12580 /* end confdefs.h.  */
   12581 $ac_includes_default
   12582 int
   12583 main ()
   12584 {
   12585 
   12586 	     /* Are we little or big endian?  From Harbison&Steele.  */
   12587 	     union
   12588 	     {
   12589 	       long int l;
   12590 	       char c[sizeof (long int)];
   12591 	     } u;
   12592 	     u.l = 1;
   12593 	     return u.c[sizeof (long int) - 1] == 1;
   12594 
   12595   ;
   12596   return 0;
   12597 }
   12598 _ACEOF
   12599 if ac_fn_c_try_run "$LINENO"; then :
   12600   ac_cv_c_bigendian=no
   12601 else
   12602   ac_cv_c_bigendian=yes
   12603 fi
   12604 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12605   conftest.$ac_objext conftest.beam conftest.$ac_ext
   12606 fi
   12607 
   12608     fi
   12609 fi
   12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   12611 $as_echo "$ac_cv_c_bigendian" >&6; }
   12612  case $ac_cv_c_bigendian in #(
   12613    yes)
   12614      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   12615 ;; #(
   12616    no)
   12617       ;; #(
   12618    universal)
   12619 
   12620 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   12621 
   12622      ;; #(
   12623    *)
   12624      as_fn_error $? "unknown endianness
   12625  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   12626  esac
   12627 
   12628 
   12629 host64=false
   12630 target64=false
   12631 bfd_default_target_size=32
   12632 
   12633 # host stuff:
   12634 
   12635 ALL_LINGUAS="da es fi fr hr id ja ro ru rw sr sv tr uk vi zh_CN pt"
   12636 
   12637         MKINSTALLDIRS=
   12638   if test -n "$ac_aux_dir"; then
   12639     case "$ac_aux_dir" in
   12640       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   12641       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   12642     esac
   12643   fi
   12644   if test -z "$MKINSTALLDIRS"; then
   12645     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   12646   fi
   12647 
   12648 
   12649 
   12650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   12651 $as_echo_n "checking whether NLS is requested... " >&6; }
   12652     # Check whether --enable-nls was given.
   12653 if test "${enable_nls+set}" = set; then :
   12654   enableval=$enable_nls; USE_NLS=$enableval
   12655 else
   12656   USE_NLS=yes
   12657 fi
   12658 
   12659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   12660 $as_echo "$USE_NLS" >&6; }
   12661 
   12662 
   12663 
   12664 
   12665 
   12666 
   12667 # Prepare PATH_SEPARATOR.
   12668 # The user is always right.
   12669 if test "${PATH_SEPARATOR+set}" != set; then
   12670   echo "#! /bin/sh" >conf$$.sh
   12671   echo  "exit 0"   >>conf$$.sh
   12672   chmod +x conf$$.sh
   12673   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   12674     PATH_SEPARATOR=';'
   12675   else
   12676     PATH_SEPARATOR=:
   12677   fi
   12678   rm -f conf$$.sh
   12679 fi
   12680 
   12681 # Find out how to test for executable files. Don't use a zero-byte file,
   12682 # as systems may use methods other than mode bits to determine executability.
   12683 cat >conf$$.file <<_ASEOF
   12684 #! /bin/sh
   12685 exit 0
   12686 _ASEOF
   12687 chmod +x conf$$.file
   12688 if test -x conf$$.file >/dev/null 2>&1; then
   12689   ac_executable_p="test -x"
   12690 else
   12691   ac_executable_p="test -f"
   12692 fi
   12693 rm -f conf$$.file
   12694 
   12695 # Extract the first word of "msgfmt", so it can be a program name with args.
   12696 set dummy msgfmt; ac_word=$2
   12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12698 $as_echo_n "checking for $ac_word... " >&6; }
   12699 if ${ac_cv_path_MSGFMT+:} false; then :
   12700   $as_echo_n "(cached) " >&6
   12701 else
   12702   case "$MSGFMT" in
   12703   [\\/]* | ?:[\\/]*)
   12704     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   12705     ;;
   12706   *)
   12707     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   12708     for ac_dir in $PATH; do
   12709       IFS="$ac_save_IFS"
   12710       test -z "$ac_dir" && ac_dir=.
   12711       for ac_exec_ext in '' $ac_executable_extensions; do
   12712         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   12713           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   12714      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   12715             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   12716             break 2
   12717           fi
   12718         fi
   12719       done
   12720     done
   12721     IFS="$ac_save_IFS"
   12722   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   12723     ;;
   12724 esac
   12725 fi
   12726 MSGFMT="$ac_cv_path_MSGFMT"
   12727 if test "$MSGFMT" != ":"; then
   12728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   12729 $as_echo "$MSGFMT" >&6; }
   12730 else
   12731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12732 $as_echo "no" >&6; }
   12733 fi
   12734 
   12735   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   12736 set dummy gmsgfmt; ac_word=$2
   12737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12738 $as_echo_n "checking for $ac_word... " >&6; }
   12739 if ${ac_cv_path_GMSGFMT+:} false; then :
   12740   $as_echo_n "(cached) " >&6
   12741 else
   12742   case $GMSGFMT in
   12743   [\\/]* | ?:[\\/]*)
   12744   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   12745   ;;
   12746   *)
   12747   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12748 for as_dir in $PATH
   12749 do
   12750   IFS=$as_save_IFS
   12751   test -z "$as_dir" && as_dir=.
   12752     for ac_exec_ext in '' $ac_executable_extensions; do
   12753   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12754     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   12755     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12756     break 2
   12757   fi
   12758 done
   12759   done
   12760 IFS=$as_save_IFS
   12761 
   12762   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   12763   ;;
   12764 esac
   12765 fi
   12766 GMSGFMT=$ac_cv_path_GMSGFMT
   12767 if test -n "$GMSGFMT"; then
   12768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   12769 $as_echo "$GMSGFMT" >&6; }
   12770 else
   12771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12772 $as_echo "no" >&6; }
   12773 fi
   12774 
   12775 
   12776 
   12777 
   12778 # Prepare PATH_SEPARATOR.
   12779 # The user is always right.
   12780 if test "${PATH_SEPARATOR+set}" != set; then
   12781   echo "#! /bin/sh" >conf$$.sh
   12782   echo  "exit 0"   >>conf$$.sh
   12783   chmod +x conf$$.sh
   12784   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   12785     PATH_SEPARATOR=';'
   12786   else
   12787     PATH_SEPARATOR=:
   12788   fi
   12789   rm -f conf$$.sh
   12790 fi
   12791 
   12792 # Find out how to test for executable files. Don't use a zero-byte file,
   12793 # as systems may use methods other than mode bits to determine executability.
   12794 cat >conf$$.file <<_ASEOF
   12795 #! /bin/sh
   12796 exit 0
   12797 _ASEOF
   12798 chmod +x conf$$.file
   12799 if test -x conf$$.file >/dev/null 2>&1; then
   12800   ac_executable_p="test -x"
   12801 else
   12802   ac_executable_p="test -f"
   12803 fi
   12804 rm -f conf$$.file
   12805 
   12806 # Extract the first word of "xgettext", so it can be a program name with args.
   12807 set dummy xgettext; ac_word=$2
   12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12809 $as_echo_n "checking for $ac_word... " >&6; }
   12810 if ${ac_cv_path_XGETTEXT+:} false; then :
   12811   $as_echo_n "(cached) " >&6
   12812 else
   12813   case "$XGETTEXT" in
   12814   [\\/]* | ?:[\\/]*)
   12815     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   12816     ;;
   12817   *)
   12818     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   12819     for ac_dir in $PATH; do
   12820       IFS="$ac_save_IFS"
   12821       test -z "$ac_dir" && ac_dir=.
   12822       for ac_exec_ext in '' $ac_executable_extensions; do
   12823         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   12824           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   12825      (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
   12826             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   12827             break 2
   12828           fi
   12829         fi
   12830       done
   12831     done
   12832     IFS="$ac_save_IFS"
   12833   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   12834     ;;
   12835 esac
   12836 fi
   12837 XGETTEXT="$ac_cv_path_XGETTEXT"
   12838 if test "$XGETTEXT" != ":"; then
   12839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   12840 $as_echo "$XGETTEXT" >&6; }
   12841 else
   12842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12843 $as_echo "no" >&6; }
   12844 fi
   12845 
   12846     rm -f messages.po
   12847 
   12848 
   12849 # Prepare PATH_SEPARATOR.
   12850 # The user is always right.
   12851 if test "${PATH_SEPARATOR+set}" != set; then
   12852   echo "#! /bin/sh" >conf$$.sh
   12853   echo  "exit 0"   >>conf$$.sh
   12854   chmod +x conf$$.sh
   12855   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   12856     PATH_SEPARATOR=';'
   12857   else
   12858     PATH_SEPARATOR=:
   12859   fi
   12860   rm -f conf$$.sh
   12861 fi
   12862 
   12863 # Find out how to test for executable files. Don't use a zero-byte file,
   12864 # as systems may use methods other than mode bits to determine executability.
   12865 cat >conf$$.file <<_ASEOF
   12866 #! /bin/sh
   12867 exit 0
   12868 _ASEOF
   12869 chmod +x conf$$.file
   12870 if test -x conf$$.file >/dev/null 2>&1; then
   12871   ac_executable_p="test -x"
   12872 else
   12873   ac_executable_p="test -f"
   12874 fi
   12875 rm -f conf$$.file
   12876 
   12877 # Extract the first word of "msgmerge", so it can be a program name with args.
   12878 set dummy msgmerge; ac_word=$2
   12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12880 $as_echo_n "checking for $ac_word... " >&6; }
   12881 if ${ac_cv_path_MSGMERGE+:} false; then :
   12882   $as_echo_n "(cached) " >&6
   12883 else
   12884   case "$MSGMERGE" in
   12885   [\\/]* | ?:[\\/]*)
   12886     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   12887     ;;
   12888   *)
   12889     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   12890     for ac_dir in $PATH; do
   12891       IFS="$ac_save_IFS"
   12892       test -z "$ac_dir" && ac_dir=.
   12893       for ac_exec_ext in '' $ac_executable_extensions; do
   12894         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   12895           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   12896             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   12897             break 2
   12898           fi
   12899         fi
   12900       done
   12901     done
   12902     IFS="$ac_save_IFS"
   12903   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   12904     ;;
   12905 esac
   12906 fi
   12907 MSGMERGE="$ac_cv_path_MSGMERGE"
   12908 if test "$MSGMERGE" != ":"; then
   12909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   12910 $as_echo "$MSGMERGE" >&6; }
   12911 else
   12912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12913 $as_echo "no" >&6; }
   12914 fi
   12915 
   12916 
   12917       if test "$GMSGFMT" != ":"; then
   12918             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   12919        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   12920       : ;
   12921     else
   12922       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   12923       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   12924 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
   12925       GMSGFMT=":"
   12926     fi
   12927   fi
   12928 
   12929       if test "$XGETTEXT" != ":"; then
   12930             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   12931        (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
   12932       : ;
   12933     else
   12934       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
   12935 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
   12936       XGETTEXT=":"
   12937     fi
   12938         rm -f messages.po
   12939   fi
   12940 
   12941   ac_config_commands="$ac_config_commands default-1"
   12942 
   12943 
   12944 
   12945       if test "X$prefix" = "XNONE"; then
   12946     acl_final_prefix="$ac_default_prefix"
   12947   else
   12948     acl_final_prefix="$prefix"
   12949   fi
   12950   if test "X$exec_prefix" = "XNONE"; then
   12951     acl_final_exec_prefix='${prefix}'
   12952   else
   12953     acl_final_exec_prefix="$exec_prefix"
   12954   fi
   12955   acl_save_prefix="$prefix"
   12956   prefix="$acl_final_prefix"
   12957   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   12958   prefix="$acl_save_prefix"
   12959 
   12960 
   12961 # Check whether --with-gnu-ld was given.
   12962 if test "${with_gnu_ld+set}" = set; then :
   12963   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   12964 else
   12965   with_gnu_ld=no
   12966 fi
   12967 
   12968 # Prepare PATH_SEPARATOR.
   12969 # The user is always right.
   12970 if test "${PATH_SEPARATOR+set}" != set; then
   12971   echo "#! /bin/sh" >conf$$.sh
   12972   echo  "exit 0"   >>conf$$.sh
   12973   chmod +x conf$$.sh
   12974   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   12975     PATH_SEPARATOR=';'
   12976   else
   12977     PATH_SEPARATOR=:
   12978   fi
   12979   rm -f conf$$.sh
   12980 fi
   12981 ac_prog=ld
   12982 if test "$GCC" = yes; then
   12983   # Check if gcc -print-prog-name=ld gives a path.
   12984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
   12985 $as_echo_n "checking for ld used by GCC... " >&6; }
   12986   case $host in
   12987   *-*-mingw*)
   12988     # gcc leaves a trailing carriage return which upsets mingw
   12989     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12990   *)
   12991     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12992   esac
   12993   case $ac_prog in
   12994     # Accept absolute paths.
   12995     [\\/]* | [A-Za-z]:[\\/]*)
   12996       re_direlt='/[^/][^/]*/\.\./'
   12997       # Canonicalize the path of ld
   12998       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
   12999       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   13000 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   13001       done
   13002       test -z "$LD" && LD="$ac_prog"
   13003       ;;
   13004   "")
   13005     # If it fails, then pretend we aren't using GCC.
   13006     ac_prog=ld
   13007     ;;
   13008   *)
   13009     # If it is relative, then search for the first ld in PATH.
   13010     with_gnu_ld=unknown
   13011     ;;
   13012   esac
   13013 elif test "$with_gnu_ld" = yes; then
   13014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   13015 $as_echo_n "checking for GNU ld... " >&6; }
   13016 else
   13017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   13018 $as_echo_n "checking for non-GNU ld... " >&6; }
   13019 fi
   13020 if ${acl_cv_path_LD+:} false; then :
   13021   $as_echo_n "(cached) " >&6
   13022 else
   13023   if test -z "$LD"; then
   13024   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
   13025   for ac_dir in $PATH; do
   13026     test -z "$ac_dir" && ac_dir=.
   13027     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   13028       acl_cv_path_LD="$ac_dir/$ac_prog"
   13029       # Check to see if the program is GNU ld.  I'd rather use --version,
   13030       # but apparently some GNU ld's only accept -v.
   13031       # Break only if it was the GNU/non-GNU ld that we prefer.
   13032       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then
   13033 	test "$with_gnu_ld" != no && break
   13034       else
   13035 	test "$with_gnu_ld" != yes && break
   13036       fi
   13037     fi
   13038   done
   13039   IFS="$ac_save_ifs"
   13040 else
   13041   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   13042 fi
   13043 fi
   13044 
   13045 LD="$acl_cv_path_LD"
   13046 if test -n "$LD"; then
   13047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   13048 $as_echo "$LD" >&6; }
   13049 else
   13050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13051 $as_echo "no" >&6; }
   13052 fi
   13053 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   13055 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   13056 if ${acl_cv_prog_gnu_ld+:} false; then :
   13057   $as_echo_n "(cached) " >&6
   13058 else
   13059   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   13060 if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then
   13061   acl_cv_prog_gnu_ld=yes
   13062 else
   13063   acl_cv_prog_gnu_ld=no
   13064 fi
   13065 fi
   13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   13067 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
   13068 with_gnu_ld=$acl_cv_prog_gnu_ld
   13069 
   13070 
   13071 
   13072                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   13073 $as_echo_n "checking for shared library run path origin... " >&6; }
   13074 if ${acl_cv_rpath+:} false; then :
   13075   $as_echo_n "(cached) " >&6
   13076 else
   13077 
   13078     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   13079     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   13080     . ./conftest.sh
   13081     rm -f ./conftest.sh
   13082     acl_cv_rpath=done
   13083 
   13084 fi
   13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   13086 $as_echo "$acl_cv_rpath" >&6; }
   13087   wl="$acl_cv_wl"
   13088   libext="$acl_cv_libext"
   13089   shlibext="$acl_cv_shlibext"
   13090   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   13091   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   13092   hardcode_direct="$acl_cv_hardcode_direct"
   13093   hardcode_minus_L="$acl_cv_hardcode_minus_L"
   13094     # Check whether --enable-rpath was given.
   13095 if test "${enable_rpath+set}" = set; then :
   13096   enableval=$enable_rpath; :
   13097 else
   13098   enable_rpath=yes
   13099 fi
   13100 
   13101 
   13102 
   13103 
   13104 
   13105 
   13106 
   13107 
   13108     use_additional=yes
   13109 
   13110   acl_save_prefix="$prefix"
   13111   prefix="$acl_final_prefix"
   13112   acl_save_exec_prefix="$exec_prefix"
   13113   exec_prefix="$acl_final_exec_prefix"
   13114 
   13115     eval additional_includedir=\"$includedir\"
   13116     eval additional_libdir=\"$libdir\"
   13117 
   13118   exec_prefix="$acl_save_exec_prefix"
   13119   prefix="$acl_save_prefix"
   13120 
   13121 
   13122 # Check whether --with-libiconv-prefix was given.
   13123 if test "${with_libiconv_prefix+set}" = set; then :
   13124   withval=$with_libiconv_prefix;
   13125     if test "X$withval" = "Xno"; then
   13126       use_additional=no
   13127     else
   13128       if test "X$withval" = "X"; then
   13129 
   13130   acl_save_prefix="$prefix"
   13131   prefix="$acl_final_prefix"
   13132   acl_save_exec_prefix="$exec_prefix"
   13133   exec_prefix="$acl_final_exec_prefix"
   13134 
   13135           eval additional_includedir=\"$includedir\"
   13136           eval additional_libdir=\"$libdir\"
   13137 
   13138   exec_prefix="$acl_save_exec_prefix"
   13139   prefix="$acl_save_prefix"
   13140 
   13141       else
   13142         additional_includedir="$withval/include"
   13143         additional_libdir="$withval/lib"
   13144       fi
   13145     fi
   13146 
   13147 fi
   13148 
   13149 
   13150 # Check whether --with-libiconv-type was given.
   13151 if test "${with_libiconv_type+set}" = set; then :
   13152   withval=$with_libiconv_type;  with_libiconv_type=$withval
   13153 else
   13154    with_libiconv_type=auto
   13155 fi
   13156 
   13157   lib_type=`eval echo \$with_libiconv_type`
   13158 
   13159       LIBICONV=
   13160   LTLIBICONV=
   13161   INCICONV=
   13162   rpathdirs=
   13163   ltrpathdirs=
   13164   names_already_handled=
   13165   names_next_round='iconv '
   13166   while test -n "$names_next_round"; do
   13167     names_this_round="$names_next_round"
   13168     names_next_round=
   13169     for name in $names_this_round; do
   13170       already_handled=
   13171       for n in $names_already_handled; do
   13172         if test "$n" = "$name"; then
   13173           already_handled=yes
   13174           break
   13175         fi
   13176       done
   13177       if test -z "$already_handled"; then
   13178         names_already_handled="$names_already_handled $name"
   13179                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   13180         eval value=\"\$HAVE_LIB$uppername\"
   13181         if test -n "$value"; then
   13182           if test "$value" = yes; then
   13183             eval value=\"\$LIB$uppername\"
   13184             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   13185             eval value=\"\$LTLIB$uppername\"
   13186             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   13187           else
   13188                                     :
   13189           fi
   13190         else
   13191                               found_dir=
   13192           found_la=
   13193           found_so=
   13194           found_a=
   13195           if test $use_additional = yes; then
   13196             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   13197               found_dir="$additional_libdir"
   13198               found_so="$additional_libdir/lib$name.$shlibext"
   13199               if test -f "$additional_libdir/lib$name.la"; then
   13200                 found_la="$additional_libdir/lib$name.la"
   13201               fi
   13202             elif test x$lib_type != xshared; then
   13203               if test -f "$additional_libdir/lib$name.$libext"; then
   13204                 found_dir="$additional_libdir"
   13205                 found_a="$additional_libdir/lib$name.$libext"
   13206                 if test -f "$additional_libdir/lib$name.la"; then
   13207                   found_la="$additional_libdir/lib$name.la"
   13208                 fi
   13209               fi
   13210             fi
   13211           fi
   13212           if test "X$found_dir" = "X"; then
   13213             for x in $LDFLAGS $LTLIBICONV; do
   13214 
   13215   acl_save_prefix="$prefix"
   13216   prefix="$acl_final_prefix"
   13217   acl_save_exec_prefix="$exec_prefix"
   13218   exec_prefix="$acl_final_exec_prefix"
   13219   eval x=\"$x\"
   13220   exec_prefix="$acl_save_exec_prefix"
   13221   prefix="$acl_save_prefix"
   13222 
   13223               case "$x" in
   13224                 -L*)
   13225                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   13226                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   13227                     found_dir="$dir"
   13228                     found_so="$dir/lib$name.$shlibext"
   13229                     if test -f "$dir/lib$name.la"; then
   13230                       found_la="$dir/lib$name.la"
   13231                     fi
   13232                   elif test x$lib_type != xshared; then
   13233                     if test -f "$dir/lib$name.$libext"; then
   13234                       found_dir="$dir"
   13235                       found_a="$dir/lib$name.$libext"
   13236                       if test -f "$dir/lib$name.la"; then
   13237                         found_la="$dir/lib$name.la"
   13238                       fi
   13239                     fi
   13240                   fi
   13241                   ;;
   13242               esac
   13243               if test "X$found_dir" != "X"; then
   13244                 break
   13245               fi
   13246             done
   13247           fi
   13248           if test "X$found_dir" != "X"; then
   13249                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   13250             if test "X$found_so" != "X"; then
   13251                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   13252                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   13253               else
   13254                                                                                 haveit=
   13255                 for x in $ltrpathdirs; do
   13256                   if test "X$x" = "X$found_dir"; then
   13257                     haveit=yes
   13258                     break
   13259                   fi
   13260                 done
   13261                 if test -z "$haveit"; then
   13262                   ltrpathdirs="$ltrpathdirs $found_dir"
   13263                 fi
   13264                                 if test "$hardcode_direct" = yes; then
   13265                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   13266                 else
   13267                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   13268                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   13269                                                             haveit=
   13270                     for x in $rpathdirs; do
   13271                       if test "X$x" = "X$found_dir"; then
   13272                         haveit=yes
   13273                         break
   13274                       fi
   13275                     done
   13276                     if test -z "$haveit"; then
   13277                       rpathdirs="$rpathdirs $found_dir"
   13278                     fi
   13279                   else
   13280                                                                                 haveit=
   13281                     for x in $LDFLAGS $LIBICONV; do
   13282 
   13283   acl_save_prefix="$prefix"
   13284   prefix="$acl_final_prefix"
   13285   acl_save_exec_prefix="$exec_prefix"
   13286   exec_prefix="$acl_final_exec_prefix"
   13287   eval x=\"$x\"
   13288   exec_prefix="$acl_save_exec_prefix"
   13289   prefix="$acl_save_prefix"
   13290 
   13291                       if test "X$x" = "X-L$found_dir"; then
   13292                         haveit=yes
   13293                         break
   13294                       fi
   13295                     done
   13296                     if test -z "$haveit"; then
   13297                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   13298                     fi
   13299                     if test "$hardcode_minus_L" != no; then
   13300                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   13301                     else
   13302                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   13303                     fi
   13304                   fi
   13305                 fi
   13306               fi
   13307             else
   13308               if test "X$found_a" != "X"; then
   13309                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   13310               else
   13311                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   13312               fi
   13313             fi
   13314                         additional_includedir=
   13315             case "$found_dir" in
   13316               */lib | */lib/)
   13317                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   13318                 additional_includedir="$basedir/include"
   13319                 ;;
   13320             esac
   13321             if test "X$additional_includedir" != "X"; then
   13322                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   13323                 haveit=
   13324                 if test "X$additional_includedir" = "X/usr/local/include"; then
   13325                   if test -n "$GCC"; then
   13326                     case $host_os in
   13327                       linux*) haveit=yes;;
   13328                     esac
   13329                   fi
   13330                 fi
   13331                 if test -z "$haveit"; then
   13332                   for x in $CPPFLAGS $INCICONV; do
   13333 
   13334   acl_save_prefix="$prefix"
   13335   prefix="$acl_final_prefix"
   13336   acl_save_exec_prefix="$exec_prefix"
   13337   exec_prefix="$acl_final_exec_prefix"
   13338   eval x=\"$x\"
   13339   exec_prefix="$acl_save_exec_prefix"
   13340   prefix="$acl_save_prefix"
   13341 
   13342                     if test "X$x" = "X-I$additional_includedir"; then
   13343                       haveit=yes
   13344                       break
   13345                     fi
   13346                   done
   13347                   if test -z "$haveit"; then
   13348                     if test -d "$additional_includedir"; then
   13349                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   13350                     fi
   13351                   fi
   13352                 fi
   13353               fi
   13354             fi
   13355                         if test -n "$found_la"; then
   13356                                                         save_libdir="$libdir"
   13357               case "$found_la" in
   13358                 */* | *\\*) . "$found_la" ;;
   13359                 *) . "./$found_la" ;;
   13360               esac
   13361               libdir="$save_libdir"
   13362                             for dep in $dependency_libs; do
   13363                 case "$dep" in
   13364                   -L*)
   13365                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   13366                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   13367                       haveit=
   13368                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   13369                         if test -n "$GCC"; then
   13370                           case $host_os in
   13371                             linux*) haveit=yes;;
   13372                           esac
   13373                         fi
   13374                       fi
   13375                       if test -z "$haveit"; then
   13376                         haveit=
   13377                         for x in $LDFLAGS $LIBICONV; do
   13378 
   13379   acl_save_prefix="$prefix"
   13380   prefix="$acl_final_prefix"
   13381   acl_save_exec_prefix="$exec_prefix"
   13382   exec_prefix="$acl_final_exec_prefix"
   13383   eval x=\"$x\"
   13384   exec_prefix="$acl_save_exec_prefix"
   13385   prefix="$acl_save_prefix"
   13386 
   13387                           if test "X$x" = "X-L$additional_libdir"; then
   13388                             haveit=yes
   13389                             break
   13390                           fi
   13391                         done
   13392                         if test -z "$haveit"; then
   13393                           if test -d "$additional_libdir"; then
   13394                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   13395                           fi
   13396                         fi
   13397                         haveit=
   13398                         for x in $LDFLAGS $LTLIBICONV; do
   13399 
   13400   acl_save_prefix="$prefix"
   13401   prefix="$acl_final_prefix"
   13402   acl_save_exec_prefix="$exec_prefix"
   13403   exec_prefix="$acl_final_exec_prefix"
   13404   eval x=\"$x\"
   13405   exec_prefix="$acl_save_exec_prefix"
   13406   prefix="$acl_save_prefix"
   13407 
   13408                           if test "X$x" = "X-L$additional_libdir"; then
   13409                             haveit=yes
   13410                             break
   13411                           fi
   13412                         done
   13413                         if test -z "$haveit"; then
   13414                           if test -d "$additional_libdir"; then
   13415                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   13416                           fi
   13417                         fi
   13418                       fi
   13419                     fi
   13420                     ;;
   13421                   -R*)
   13422                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   13423                     if test "$enable_rpath" != no; then
   13424                                                                   haveit=
   13425                       for x in $rpathdirs; do
   13426                         if test "X$x" = "X$dir"; then
   13427                           haveit=yes
   13428                           break
   13429                         fi
   13430                       done
   13431                       if test -z "$haveit"; then
   13432                         rpathdirs="$rpathdirs $dir"
   13433                       fi
   13434                                                                   haveit=
   13435                       for x in $ltrpathdirs; do
   13436                         if test "X$x" = "X$dir"; then
   13437                           haveit=yes
   13438                           break
   13439                         fi
   13440                       done
   13441                       if test -z "$haveit"; then
   13442                         ltrpathdirs="$ltrpathdirs $dir"
   13443                       fi
   13444                     fi
   13445                     ;;
   13446                   -l*)
   13447                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   13448                     ;;
   13449                   *.la)
   13450                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   13451                     ;;
   13452                   *)
   13453                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   13454                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   13455                     ;;
   13456                 esac
   13457               done
   13458             fi
   13459           else
   13460                                                             if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
   13461               LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   13462               LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   13463             else
   13464               LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
   13465               LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
   13466             fi
   13467           fi
   13468         fi
   13469       fi
   13470     done
   13471   done
   13472   if test "X$rpathdirs" != "X"; then
   13473     if test -n "$hardcode_libdir_separator"; then
   13474                         alldirs=
   13475       for found_dir in $rpathdirs; do
   13476         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   13477       done
   13478             acl_save_libdir="$libdir"
   13479       libdir="$alldirs"
   13480       eval flag=\"$hardcode_libdir_flag_spec\"
   13481       libdir="$acl_save_libdir"
   13482       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   13483     else
   13484             for found_dir in $rpathdirs; do
   13485         acl_save_libdir="$libdir"
   13486         libdir="$found_dir"
   13487         eval flag=\"$hardcode_libdir_flag_spec\"
   13488         libdir="$acl_save_libdir"
   13489         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   13490       done
   13491     fi
   13492   fi
   13493   if test "X$ltrpathdirs" != "X"; then
   13494             for found_dir in $ltrpathdirs; do
   13495       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   13496     done
   13497   fi
   13498 
   13499 
   13500 
   13501 
   13502 
   13503 if test -f ../gettext/uninstalled-config.sh; then
   13504   relative_builddir='$(top_builddir)/../gettext'
   13505   .  ../gettext/uninstalled-config.sh
   13506 else
   13507   # The sister gettext directory doesn't exist and won't collect information on
   13508   # using gettext for us.  Call a bundled AM_GNU_GETTEXT.
   13509 
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 
   13516 
   13517 
   13518 
   13519 
   13520 
   13521 
   13522 
   13523 
   13524 
   13525 
   13526 
   13527 
   13528 
   13529 
   13530 
   13531 
   13532     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
   13533 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
   13534 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
   13535   $as_echo_n "(cached) " >&6
   13536 else
   13537   gt_save_LIBS="$LIBS"
   13538      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   13539      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13540 /* end confdefs.h.  */
   13541 #include <CoreFoundation/CFPreferences.h>
   13542 int
   13543 main ()
   13544 {
   13545 CFPreferencesCopyAppValue(NULL, NULL)
   13546   ;
   13547   return 0;
   13548 }
   13549 _ACEOF
   13550 if ac_fn_c_try_link "$LINENO"; then :
   13551   gt_cv_func_CFPreferencesCopyAppValue=yes
   13552 else
   13553   gt_cv_func_CFPreferencesCopyAppValue=no
   13554 fi
   13555 rm -f core conftest.err conftest.$ac_objext \
   13556     conftest$ac_exeext conftest.$ac_ext
   13557      LIBS="$gt_save_LIBS"
   13558 fi
   13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
   13560 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
   13561   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
   13562 
   13563 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
   13564 
   13565   fi
   13566                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
   13567 $as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; }
   13568 if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then :
   13569   $as_echo_n "(cached) " >&6
   13570 else
   13571   gt_save_LIBS="$LIBS"
   13572      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   13573      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13574 /* end confdefs.h.  */
   13575 #include <CoreFoundation/CFLocale.h>
   13576 int
   13577 main ()
   13578 {
   13579 CFLocaleCopyPreferredLanguages();
   13580   ;
   13581   return 0;
   13582 }
   13583 _ACEOF
   13584 if ac_fn_c_try_link "$LINENO"; then :
   13585   gt_cv_func_CFLocaleCopyPreferredLanguages=yes
   13586 else
   13587   gt_cv_func_CFLocaleCopyPreferredLanguages=no
   13588 fi
   13589 rm -f core conftest.err conftest.$ac_objext \
   13590     conftest$ac_exeext conftest.$ac_ext
   13591      LIBS="$gt_save_LIBS"
   13592 fi
   13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
   13594 $as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
   13595   if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
   13596 
   13597 $as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
   13598 
   13599   fi
   13600   INTL_MACOSX_LIBS=
   13601   if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
   13602      || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
   13603                     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices"
   13604   fi
   13605 
   13606 
   13607 
   13608 
   13609 
   13610 
   13611   LIBINTL=
   13612   LTLIBINTL=
   13613   POSUB=
   13614 
   13615     case " $gt_needs " in
   13616     *" need-formatstring-macros "*) gt_api_version=3 ;;
   13617     *" need-ngettext "*) gt_api_version=2 ;;
   13618     *) gt_api_version=1 ;;
   13619   esac
   13620   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
   13621   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
   13622 
   13623     if test "$USE_NLS" = "yes"; then
   13624     gt_use_preinstalled_gnugettext=no
   13625 
   13626 
   13627         if test $gt_api_version -ge 3; then
   13628           gt_revision_test_code='
   13629 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   13630 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
   13631 #endif
   13632 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
   13633 '
   13634         else
   13635           gt_revision_test_code=
   13636         fi
   13637         if test $gt_api_version -ge 2; then
   13638           gt_expression_test_code=' + * ngettext ("", "", 0)'
   13639         else
   13640           gt_expression_test_code=
   13641         fi
   13642 
   13643         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
   13644 $as_echo_n "checking for GNU gettext in libc... " >&6; }
   13645 if eval \${$gt_func_gnugettext_libc+:} false; then :
   13646   $as_echo_n "(cached) " >&6
   13647 else
   13648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13649 /* end confdefs.h.  */
   13650 
   13651 #include <libintl.h>
   13652 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   13653 extern int _nl_msg_cat_cntr;
   13654 extern int *_nl_domain_bindings;
   13655 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
   13656 #else
   13657 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   13658 #endif
   13659 $gt_revision_test_code
   13660 
   13661 int
   13662 main ()
   13663 {
   13664 
   13665 bindtextdomain ("", "");
   13666 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   13667 
   13668   ;
   13669   return 0;
   13670 }
   13671 _ACEOF
   13672 if ac_fn_c_try_link "$LINENO"; then :
   13673   eval "$gt_func_gnugettext_libc=yes"
   13674 else
   13675   eval "$gt_func_gnugettext_libc=no"
   13676 fi
   13677 rm -f core conftest.err conftest.$ac_objext \
   13678     conftest$ac_exeext conftest.$ac_ext
   13679 fi
   13680 eval ac_res=\$$gt_func_gnugettext_libc
   13681 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   13682 $as_echo "$ac_res" >&6; }
   13683 
   13684         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
   13685 
   13686 
   13687 
   13688 
   13689 
   13690           am_save_CPPFLAGS="$CPPFLAGS"
   13691 
   13692   for element in $INCICONV; do
   13693     haveit=
   13694     for x in $CPPFLAGS; do
   13695 
   13696   acl_save_prefix="$prefix"
   13697   prefix="$acl_final_prefix"
   13698   acl_save_exec_prefix="$exec_prefix"
   13699   exec_prefix="$acl_final_exec_prefix"
   13700   eval x=\"$x\"
   13701   exec_prefix="$acl_save_exec_prefix"
   13702   prefix="$acl_save_prefix"
   13703 
   13704       if test "X$x" = "X$element"; then
   13705         haveit=yes
   13706         break
   13707       fi
   13708     done
   13709     if test -z "$haveit"; then
   13710       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   13711     fi
   13712   done
   13713 
   13714 
   13715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   13716 $as_echo_n "checking for iconv... " >&6; }
   13717 if ${am_cv_func_iconv+:} false; then :
   13718   $as_echo_n "(cached) " >&6
   13719 else
   13720 
   13721     am_cv_func_iconv="no, consider installing GNU libiconv"
   13722     am_cv_lib_iconv=no
   13723     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13724 /* end confdefs.h.  */
   13725 
   13726 #include <stdlib.h>
   13727 #include <iconv.h>
   13728 
   13729 int
   13730 main ()
   13731 {
   13732 iconv_t cd = iconv_open("","");
   13733            iconv(cd,NULL,NULL,NULL,NULL);
   13734            iconv_close(cd);
   13735   ;
   13736   return 0;
   13737 }
   13738 _ACEOF
   13739 if ac_fn_c_try_link "$LINENO"; then :
   13740   am_cv_func_iconv=yes
   13741 fi
   13742 rm -f core conftest.err conftest.$ac_objext \
   13743     conftest$ac_exeext conftest.$ac_ext
   13744     if test "$am_cv_func_iconv" != yes; then
   13745       am_save_LIBS="$LIBS"
   13746       LIBS="$LIBS $LIBICONV"
   13747       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13748 /* end confdefs.h.  */
   13749 
   13750 #include <stdlib.h>
   13751 #include <iconv.h>
   13752 
   13753 int
   13754 main ()
   13755 {
   13756 iconv_t cd = iconv_open("","");
   13757              iconv(cd,NULL,NULL,NULL,NULL);
   13758              iconv_close(cd);
   13759   ;
   13760   return 0;
   13761 }
   13762 _ACEOF
   13763 if ac_fn_c_try_link "$LINENO"; then :
   13764   am_cv_lib_iconv=yes
   13765         am_cv_func_iconv=yes
   13766 fi
   13767 rm -f core conftest.err conftest.$ac_objext \
   13768     conftest$ac_exeext conftest.$ac_ext
   13769       LIBS="$am_save_LIBS"
   13770     fi
   13771 
   13772 fi
   13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   13774 $as_echo "$am_cv_func_iconv" >&6; }
   13775   if test "$am_cv_func_iconv" = yes; then
   13776     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
   13777 $as_echo_n "checking for working iconv... " >&6; }
   13778 if ${am_cv_func_iconv_works+:} false; then :
   13779   $as_echo_n "(cached) " >&6
   13780 else
   13781 
   13782                   am_save_LIBS="$LIBS"
   13783       if test $am_cv_lib_iconv = yes; then
   13784         LIBS="$LIBS $LIBICONV"
   13785       fi
   13786       am_cv_func_iconv_works=no
   13787       for ac_iconv_const in '' 'const'; do
   13788         if test "$cross_compiling" = yes; then :
   13789   case "$host_os" in
   13790              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
   13791              *)            am_cv_func_iconv_works="guessing yes" ;;
   13792            esac
   13793 else
   13794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13795 /* end confdefs.h.  */
   13796 
   13797 #include <iconv.h>
   13798 #include <string.h>
   13799 
   13800 #ifndef ICONV_CONST
   13801 # define ICONV_CONST $ac_iconv_const
   13802 #endif
   13803 
   13804 int
   13805 main ()
   13806 {
   13807 int result = 0;
   13808   /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
   13809      successful returns.  This is even documented in
   13810      <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
   13811   {
   13812     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
   13813     if (cd_utf8_to_88591 != (iconv_t)(-1))
   13814       {
   13815         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
   13816         char buf[10];
   13817         ICONV_CONST char *inptr = input;
   13818         size_t inbytesleft = strlen (input);
   13819         char *outptr = buf;
   13820         size_t outbytesleft = sizeof (buf);
   13821         size_t res = iconv (cd_utf8_to_88591,
   13822                             &inptr, &inbytesleft,
   13823                             &outptr, &outbytesleft);
   13824         if (res == 0)
   13825           result |= 1;
   13826         iconv_close (cd_utf8_to_88591);
   13827       }
   13828   }
   13829   /* Test against Solaris 10 bug: Failures are not distinguishable from
   13830      successful returns.  */
   13831   {
   13832     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
   13833     if (cd_ascii_to_88591 != (iconv_t)(-1))
   13834       {
   13835         static ICONV_CONST char input[] = "\263";
   13836         char buf[10];
   13837         ICONV_CONST char *inptr = input;
   13838         size_t inbytesleft = strlen (input);
   13839         char *outptr = buf;
   13840         size_t outbytesleft = sizeof (buf);
   13841         size_t res = iconv (cd_ascii_to_88591,
   13842                             &inptr, &inbytesleft,
   13843                             &outptr, &outbytesleft);
   13844         if (res == 0)
   13845           result |= 2;
   13846         iconv_close (cd_ascii_to_88591);
   13847       }
   13848   }
   13849   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
   13850   {
   13851     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
   13852     if (cd_88591_to_utf8 != (iconv_t)(-1))
   13853       {
   13854         static ICONV_CONST char input[] = "\304";
   13855         static char buf[2] = { (char)0xDE, (char)0xAD };
   13856         ICONV_CONST char *inptr = input;
   13857         size_t inbytesleft = 1;
   13858         char *outptr = buf;
   13859         size_t outbytesleft = 1;
   13860         size_t res = iconv (cd_88591_to_utf8,
   13861                             &inptr, &inbytesleft,
   13862                             &outptr, &outbytesleft);
   13863         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
   13864           result |= 4;
   13865         iconv_close (cd_88591_to_utf8);
   13866       }
   13867   }
   13868 #if 0 /* This bug could be worked around by the caller.  */
   13869   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
   13870   {
   13871     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
   13872     if (cd_88591_to_utf8 != (iconv_t)(-1))
   13873       {
   13874         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
   13875         char buf[50];
   13876         ICONV_CONST char *inptr = input;
   13877         size_t inbytesleft = strlen (input);
   13878         char *outptr = buf;
   13879         size_t outbytesleft = sizeof (buf);
   13880         size_t res = iconv (cd_88591_to_utf8,
   13881                             &inptr, &inbytesleft,
   13882                             &outptr, &outbytesleft);
   13883         if ((int)res > 0)
   13884           result |= 8;
   13885         iconv_close (cd_88591_to_utf8);
   13886       }
   13887   }
   13888 #endif
   13889   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
   13890      provided.  */
   13891   {
   13892     /* Try standardized names.  */
   13893     iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
   13894     /* Try IRIX, OSF/1 names.  */
   13895     iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
   13896     /* Try AIX names.  */
   13897     iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
   13898     /* Try HP-UX names.  */
   13899     iconv_t cd4 = iconv_open ("utf8", "eucJP");
   13900     if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
   13901         && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
   13902       result |= 16;
   13903     if (cd1 != (iconv_t)(-1))
   13904       iconv_close (cd1);
   13905     if (cd2 != (iconv_t)(-1))
   13906       iconv_close (cd2);
   13907     if (cd3 != (iconv_t)(-1))
   13908       iconv_close (cd3);
   13909     if (cd4 != (iconv_t)(-1))
   13910       iconv_close (cd4);
   13911   }
   13912   return result;
   13913 
   13914   ;
   13915   return 0;
   13916 }
   13917 _ACEOF
   13918 if ac_fn_c_try_run "$LINENO"; then :
   13919   am_cv_func_iconv_works=yes
   13920 fi
   13921 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13922   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13923 fi
   13924 
   13925         test "$am_cv_func_iconv_works" = no || break
   13926       done
   13927       LIBS="$am_save_LIBS"
   13928 
   13929 fi
   13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
   13931 $as_echo "$am_cv_func_iconv_works" >&6; }
   13932     case "$am_cv_func_iconv_works" in
   13933       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
   13934       *)   am_func_iconv=yes ;;
   13935     esac
   13936   else
   13937     am_func_iconv=no am_cv_lib_iconv=no
   13938   fi
   13939   if test "$am_func_iconv" = yes; then
   13940 
   13941 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   13942 
   13943   fi
   13944   if test "$am_cv_lib_iconv" = yes; then
   13945     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   13946 $as_echo_n "checking how to link with libiconv... " >&6; }
   13947     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   13948 $as_echo "$LIBICONV" >&6; }
   13949   else
   13950             CPPFLAGS="$am_save_CPPFLAGS"
   13951     LIBICONV=
   13952     LTLIBICONV=
   13953   fi
   13954 
   13955 
   13956 
   13957 
   13958 
   13959 
   13960     use_additional=yes
   13961 
   13962   acl_save_prefix="$prefix"
   13963   prefix="$acl_final_prefix"
   13964   acl_save_exec_prefix="$exec_prefix"
   13965   exec_prefix="$acl_final_exec_prefix"
   13966 
   13967     eval additional_includedir=\"$includedir\"
   13968     eval additional_libdir=\"$libdir\"
   13969 
   13970   exec_prefix="$acl_save_exec_prefix"
   13971   prefix="$acl_save_prefix"
   13972 
   13973 
   13974 # Check whether --with-libintl-prefix was given.
   13975 if test "${with_libintl_prefix+set}" = set; then :
   13976   withval=$with_libintl_prefix;
   13977     if test "X$withval" = "Xno"; then
   13978       use_additional=no
   13979     else
   13980       if test "X$withval" = "X"; then
   13981 
   13982   acl_save_prefix="$prefix"
   13983   prefix="$acl_final_prefix"
   13984   acl_save_exec_prefix="$exec_prefix"
   13985   exec_prefix="$acl_final_exec_prefix"
   13986 
   13987           eval additional_includedir=\"$includedir\"
   13988           eval additional_libdir=\"$libdir\"
   13989 
   13990   exec_prefix="$acl_save_exec_prefix"
   13991   prefix="$acl_save_prefix"
   13992 
   13993       else
   13994         additional_includedir="$withval/include"
   13995         additional_libdir="$withval/lib"
   13996       fi
   13997     fi
   13998 
   13999 fi
   14000 
   14001 
   14002 # Check whether --with-libintl-type was given.
   14003 if test "${with_libintl_type+set}" = set; then :
   14004   withval=$with_libintl_type;  with_libintl_type=$withval
   14005 else
   14006    with_libintl_type=auto
   14007 fi
   14008 
   14009   lib_type=`eval echo \$with_libintl_type`
   14010 
   14011       LIBINTL=
   14012   LTLIBINTL=
   14013   INCINTL=
   14014   rpathdirs=
   14015   ltrpathdirs=
   14016   names_already_handled=
   14017   names_next_round='intl '
   14018   while test -n "$names_next_round"; do
   14019     names_this_round="$names_next_round"
   14020     names_next_round=
   14021     for name in $names_this_round; do
   14022       already_handled=
   14023       for n in $names_already_handled; do
   14024         if test "$n" = "$name"; then
   14025           already_handled=yes
   14026           break
   14027         fi
   14028       done
   14029       if test -z "$already_handled"; then
   14030         names_already_handled="$names_already_handled $name"
   14031                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   14032         eval value=\"\$HAVE_LIB$uppername\"
   14033         if test -n "$value"; then
   14034           if test "$value" = yes; then
   14035             eval value=\"\$LIB$uppername\"
   14036             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   14037             eval value=\"\$LTLIB$uppername\"
   14038             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   14039           else
   14040                                     :
   14041           fi
   14042         else
   14043                               found_dir=
   14044           found_la=
   14045           found_so=
   14046           found_a=
   14047           if test $use_additional = yes; then
   14048             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   14049               found_dir="$additional_libdir"
   14050               found_so="$additional_libdir/lib$name.$shlibext"
   14051               if test -f "$additional_libdir/lib$name.la"; then
   14052                 found_la="$additional_libdir/lib$name.la"
   14053               fi
   14054             elif test x$lib_type != xshared; then
   14055               if test -f "$additional_libdir/lib$name.$libext"; then
   14056                 found_dir="$additional_libdir"
   14057                 found_a="$additional_libdir/lib$name.$libext"
   14058                 if test -f "$additional_libdir/lib$name.la"; then
   14059                   found_la="$additional_libdir/lib$name.la"
   14060                 fi
   14061               fi
   14062             fi
   14063           fi
   14064           if test "X$found_dir" = "X"; then
   14065             for x in $LDFLAGS $LTLIBINTL; do
   14066 
   14067   acl_save_prefix="$prefix"
   14068   prefix="$acl_final_prefix"
   14069   acl_save_exec_prefix="$exec_prefix"
   14070   exec_prefix="$acl_final_exec_prefix"
   14071   eval x=\"$x\"
   14072   exec_prefix="$acl_save_exec_prefix"
   14073   prefix="$acl_save_prefix"
   14074 
   14075               case "$x" in
   14076                 -L*)
   14077                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   14078                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   14079                     found_dir="$dir"
   14080                     found_so="$dir/lib$name.$shlibext"
   14081                     if test -f "$dir/lib$name.la"; then
   14082                       found_la="$dir/lib$name.la"
   14083                     fi
   14084                   elif test x$lib_type != xshared; then
   14085                     if test -f "$dir/lib$name.$libext"; then
   14086                       found_dir="$dir"
   14087                       found_a="$dir/lib$name.$libext"
   14088                       if test -f "$dir/lib$name.la"; then
   14089                         found_la="$dir/lib$name.la"
   14090                       fi
   14091                     fi
   14092                   fi
   14093                   ;;
   14094               esac
   14095               if test "X$found_dir" != "X"; then
   14096                 break
   14097               fi
   14098             done
   14099           fi
   14100           if test "X$found_dir" != "X"; then
   14101                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   14102             if test "X$found_so" != "X"; then
   14103                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   14104                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   14105               else
   14106                                                                                 haveit=
   14107                 for x in $ltrpathdirs; do
   14108                   if test "X$x" = "X$found_dir"; then
   14109                     haveit=yes
   14110                     break
   14111                   fi
   14112                 done
   14113                 if test -z "$haveit"; then
   14114                   ltrpathdirs="$ltrpathdirs $found_dir"
   14115                 fi
   14116                                 if test "$hardcode_direct" = yes; then
   14117                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   14118                 else
   14119                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   14120                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   14121                                                             haveit=
   14122                     for x in $rpathdirs; do
   14123                       if test "X$x" = "X$found_dir"; then
   14124                         haveit=yes
   14125                         break
   14126                       fi
   14127                     done
   14128                     if test -z "$haveit"; then
   14129                       rpathdirs="$rpathdirs $found_dir"
   14130                     fi
   14131                   else
   14132                                                                                 haveit=
   14133                     for x in $LDFLAGS $LIBINTL; do
   14134 
   14135   acl_save_prefix="$prefix"
   14136   prefix="$acl_final_prefix"
   14137   acl_save_exec_prefix="$exec_prefix"
   14138   exec_prefix="$acl_final_exec_prefix"
   14139   eval x=\"$x\"
   14140   exec_prefix="$acl_save_exec_prefix"
   14141   prefix="$acl_save_prefix"
   14142 
   14143                       if test "X$x" = "X-L$found_dir"; then
   14144                         haveit=yes
   14145                         break
   14146                       fi
   14147                     done
   14148                     if test -z "$haveit"; then
   14149                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   14150                     fi
   14151                     if test "$hardcode_minus_L" != no; then
   14152                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   14153                     else
   14154                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   14155                     fi
   14156                   fi
   14157                 fi
   14158               fi
   14159             else
   14160               if test "X$found_a" != "X"; then
   14161                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   14162               else
   14163                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   14164               fi
   14165             fi
   14166                         additional_includedir=
   14167             case "$found_dir" in
   14168               */lib | */lib/)
   14169                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   14170                 additional_includedir="$basedir/include"
   14171                 ;;
   14172             esac
   14173             if test "X$additional_includedir" != "X"; then
   14174                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   14175                 haveit=
   14176                 if test "X$additional_includedir" = "X/usr/local/include"; then
   14177                   if test -n "$GCC"; then
   14178                     case $host_os in
   14179                       linux*) haveit=yes;;
   14180                     esac
   14181                   fi
   14182                 fi
   14183                 if test -z "$haveit"; then
   14184                   for x in $CPPFLAGS $INCINTL; do
   14185 
   14186   acl_save_prefix="$prefix"
   14187   prefix="$acl_final_prefix"
   14188   acl_save_exec_prefix="$exec_prefix"
   14189   exec_prefix="$acl_final_exec_prefix"
   14190   eval x=\"$x\"
   14191   exec_prefix="$acl_save_exec_prefix"
   14192   prefix="$acl_save_prefix"
   14193 
   14194                     if test "X$x" = "X-I$additional_includedir"; then
   14195                       haveit=yes
   14196                       break
   14197                     fi
   14198                   done
   14199                   if test -z "$haveit"; then
   14200                     if test -d "$additional_includedir"; then
   14201                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   14202                     fi
   14203                   fi
   14204                 fi
   14205               fi
   14206             fi
   14207                         if test -n "$found_la"; then
   14208                                                         save_libdir="$libdir"
   14209               case "$found_la" in
   14210                 */* | *\\*) . "$found_la" ;;
   14211                 *) . "./$found_la" ;;
   14212               esac
   14213               libdir="$save_libdir"
   14214                             for dep in $dependency_libs; do
   14215                 case "$dep" in
   14216                   -L*)
   14217                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   14218                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   14219                       haveit=
   14220                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   14221                         if test -n "$GCC"; then
   14222                           case $host_os in
   14223                             linux*) haveit=yes;;
   14224                           esac
   14225                         fi
   14226                       fi
   14227                       if test -z "$haveit"; then
   14228                         haveit=
   14229                         for x in $LDFLAGS $LIBINTL; do
   14230 
   14231   acl_save_prefix="$prefix"
   14232   prefix="$acl_final_prefix"
   14233   acl_save_exec_prefix="$exec_prefix"
   14234   exec_prefix="$acl_final_exec_prefix"
   14235   eval x=\"$x\"
   14236   exec_prefix="$acl_save_exec_prefix"
   14237   prefix="$acl_save_prefix"
   14238 
   14239                           if test "X$x" = "X-L$additional_libdir"; then
   14240                             haveit=yes
   14241                             break
   14242                           fi
   14243                         done
   14244                         if test -z "$haveit"; then
   14245                           if test -d "$additional_libdir"; then
   14246                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   14247                           fi
   14248                         fi
   14249                         haveit=
   14250                         for x in $LDFLAGS $LTLIBINTL; do
   14251 
   14252   acl_save_prefix="$prefix"
   14253   prefix="$acl_final_prefix"
   14254   acl_save_exec_prefix="$exec_prefix"
   14255   exec_prefix="$acl_final_exec_prefix"
   14256   eval x=\"$x\"
   14257   exec_prefix="$acl_save_exec_prefix"
   14258   prefix="$acl_save_prefix"
   14259 
   14260                           if test "X$x" = "X-L$additional_libdir"; then
   14261                             haveit=yes
   14262                             break
   14263                           fi
   14264                         done
   14265                         if test -z "$haveit"; then
   14266                           if test -d "$additional_libdir"; then
   14267                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   14268                           fi
   14269                         fi
   14270                       fi
   14271                     fi
   14272                     ;;
   14273                   -R*)
   14274                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   14275                     if test "$enable_rpath" != no; then
   14276                                                                   haveit=
   14277                       for x in $rpathdirs; do
   14278                         if test "X$x" = "X$dir"; then
   14279                           haveit=yes
   14280                           break
   14281                         fi
   14282                       done
   14283                       if test -z "$haveit"; then
   14284                         rpathdirs="$rpathdirs $dir"
   14285                       fi
   14286                                                                   haveit=
   14287                       for x in $ltrpathdirs; do
   14288                         if test "X$x" = "X$dir"; then
   14289                           haveit=yes
   14290                           break
   14291                         fi
   14292                       done
   14293                       if test -z "$haveit"; then
   14294                         ltrpathdirs="$ltrpathdirs $dir"
   14295                       fi
   14296                     fi
   14297                     ;;
   14298                   -l*)
   14299                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   14300                     ;;
   14301                   *.la)
   14302                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   14303                     ;;
   14304                   *)
   14305                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   14306                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   14307                     ;;
   14308                 esac
   14309               done
   14310             fi
   14311           else
   14312                                                             if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
   14313               LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   14314               LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   14315             else
   14316               LIBINTL="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext"
   14317               LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext"
   14318             fi
   14319           fi
   14320         fi
   14321       fi
   14322     done
   14323   done
   14324   if test "X$rpathdirs" != "X"; then
   14325     if test -n "$hardcode_libdir_separator"; then
   14326                         alldirs=
   14327       for found_dir in $rpathdirs; do
   14328         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   14329       done
   14330             acl_save_libdir="$libdir"
   14331       libdir="$alldirs"
   14332       eval flag=\"$hardcode_libdir_flag_spec\"
   14333       libdir="$acl_save_libdir"
   14334       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   14335     else
   14336             for found_dir in $rpathdirs; do
   14337         acl_save_libdir="$libdir"
   14338         libdir="$found_dir"
   14339         eval flag=\"$hardcode_libdir_flag_spec\"
   14340         libdir="$acl_save_libdir"
   14341         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   14342       done
   14343     fi
   14344   fi
   14345   if test "X$ltrpathdirs" != "X"; then
   14346             for found_dir in $ltrpathdirs; do
   14347       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   14348     done
   14349   fi
   14350 
   14351           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
   14352 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
   14353 if eval \${$gt_func_gnugettext_libintl+:} false; then :
   14354   $as_echo_n "(cached) " >&6
   14355 else
   14356   gt_save_CPPFLAGS="$CPPFLAGS"
   14357             CPPFLAGS="$CPPFLAGS $INCINTL"
   14358             gt_save_LIBS="$LIBS"
   14359             LIBS="$LIBS $LIBINTL"
   14360                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14361 /* end confdefs.h.  */
   14362 
   14363 #include <libintl.h>
   14364 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   14365 extern int _nl_msg_cat_cntr;
   14366 extern
   14367 #ifdef __cplusplus
   14368 "C"
   14369 #endif
   14370 const char *_nl_expand_alias (const char *);
   14371 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   14372 #else
   14373 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   14374 #endif
   14375 $gt_revision_test_code
   14376 
   14377 int
   14378 main ()
   14379 {
   14380 
   14381 bindtextdomain ("", "");
   14382 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   14383 
   14384   ;
   14385   return 0;
   14386 }
   14387 _ACEOF
   14388 if ac_fn_c_try_link "$LINENO"; then :
   14389   eval "$gt_func_gnugettext_libintl=yes"
   14390 else
   14391   eval "$gt_func_gnugettext_libintl=no"
   14392 fi
   14393 rm -f core conftest.err conftest.$ac_objext \
   14394     conftest$ac_exeext conftest.$ac_ext
   14395                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
   14396               LIBS="$LIBS $LIBICONV"
   14397               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14398 /* end confdefs.h.  */
   14399 
   14400 #include <libintl.h>
   14401 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   14402 extern int _nl_msg_cat_cntr;
   14403 extern
   14404 #ifdef __cplusplus
   14405 "C"
   14406 #endif
   14407 const char *_nl_expand_alias (const char *);
   14408 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   14409 #else
   14410 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   14411 #endif
   14412 $gt_revision_test_code
   14413 
   14414 int
   14415 main ()
   14416 {
   14417 
   14418 bindtextdomain ("", "");
   14419 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   14420 
   14421   ;
   14422   return 0;
   14423 }
   14424 _ACEOF
   14425 if ac_fn_c_try_link "$LINENO"; then :
   14426   LIBINTL="$LIBINTL $LIBICONV"
   14427                  LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   14428                  eval "$gt_func_gnugettext_libintl=yes"
   14429 
   14430 fi
   14431 rm -f core conftest.err conftest.$ac_objext \
   14432     conftest$ac_exeext conftest.$ac_ext
   14433             fi
   14434             CPPFLAGS="$gt_save_CPPFLAGS"
   14435             LIBS="$gt_save_LIBS"
   14436 fi
   14437 eval ac_res=\$$gt_func_gnugettext_libintl
   14438 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   14439 $as_echo "$ac_res" >&6; }
   14440         fi
   14441 
   14442                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
   14443            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
   14444                 && test "$PACKAGE" != gettext-runtime \
   14445                 && test "$PACKAGE" != gettext-tools; }; then
   14446           gt_use_preinstalled_gnugettext=yes
   14447         else
   14448                     LIBINTL=
   14449           LTLIBINTL=
   14450           INCINTL=
   14451         fi
   14452 
   14453 
   14454 
   14455     if test -n "$INTL_MACOSX_LIBS"; then
   14456       if test "$gt_use_preinstalled_gnugettext" = "yes" \
   14457          || test "$nls_cv_use_gnu_gettext" = "yes"; then
   14458                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
   14459         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
   14460       fi
   14461     fi
   14462 
   14463     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   14464        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   14465 
   14466 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   14467 
   14468     else
   14469       USE_NLS=no
   14470     fi
   14471   fi
   14472 
   14473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
   14474 $as_echo_n "checking whether to use NLS... " >&6; }
   14475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   14476 $as_echo "$USE_NLS" >&6; }
   14477   if test "$USE_NLS" = "yes"; then
   14478     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
   14479 $as_echo_n "checking where the gettext function comes from... " >&6; }
   14480     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   14481       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   14482         gt_source="external libintl"
   14483       else
   14484         gt_source="libc"
   14485       fi
   14486     else
   14487       gt_source="included intl directory"
   14488     fi
   14489     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
   14490 $as_echo "$gt_source" >&6; }
   14491   fi
   14492 
   14493   if test "$USE_NLS" = "yes"; then
   14494 
   14495     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   14496       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   14497         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
   14498 $as_echo_n "checking how to link with libintl... " >&6; }
   14499         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
   14500 $as_echo "$LIBINTL" >&6; }
   14501 
   14502   for element in $INCINTL; do
   14503     haveit=
   14504     for x in $CPPFLAGS; do
   14505 
   14506   acl_save_prefix="$prefix"
   14507   prefix="$acl_final_prefix"
   14508   acl_save_exec_prefix="$exec_prefix"
   14509   exec_prefix="$acl_final_exec_prefix"
   14510   eval x=\"$x\"
   14511   exec_prefix="$acl_save_exec_prefix"
   14512   prefix="$acl_save_prefix"
   14513 
   14514       if test "X$x" = "X$element"; then
   14515         haveit=yes
   14516         break
   14517       fi
   14518     done
   14519     if test -z "$haveit"; then
   14520       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   14521     fi
   14522   done
   14523 
   14524       fi
   14525 
   14526 
   14527 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
   14528 
   14529 
   14530 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
   14531 
   14532     fi
   14533 
   14534         POSUB=po
   14535   fi
   14536 
   14537 
   14538 
   14539     INTLLIBS="$LIBINTL"
   14540 
   14541 
   14542 
   14543 
   14544 
   14545 
   14546 fi
   14547 
   14548 
   14549 
   14550 
   14551 
   14552 
   14553 
   14554 
   14555 
   14556 
   14557 
   14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   14559 $as_echo_n "checking whether NLS is requested... " >&6; }
   14560 if test x"$USE_NLS" != xyes; then
   14561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14562 $as_echo "no" >&6; }
   14563 else
   14564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14565 $as_echo "yes" >&6; }
   14566 
   14567 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   14568 
   14569 
   14570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
   14571 $as_echo_n "checking for catalogs to be installed... " >&6; }
   14572   # Look for .po and .gmo files in the source directory.
   14573   CATALOGS=
   14574   XLINGUAS=
   14575   for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
   14576     # If there aren't any .gmo files the shell will give us the
   14577     # literal string "../path/to/srcdir/po/*.gmo" which has to be
   14578     # weeded out.
   14579     case "$cat" in *\**)
   14580       continue;;
   14581     esac
   14582     # The quadruple backslash is collapsed to a double backslash
   14583     # by the backticks, then collapsed again by the double quotes,
   14584     # leaving us with one backslash in the sed expression (right
   14585     # before the dot that mustn't act as a wildcard).
   14586     cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
   14587     lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
   14588     # The user is allowed to set LINGUAS to a list of languages to
   14589     # install catalogs for.  If it's empty that means "all of them."
   14590     if test "x$LINGUAS" = x; then
   14591       CATALOGS="$CATALOGS $cat"
   14592       XLINGUAS="$XLINGUAS $lang"
   14593     else
   14594       case "$LINGUAS" in *$lang*)
   14595         CATALOGS="$CATALOGS $cat"
   14596         XLINGUAS="$XLINGUAS $lang"
   14597         ;;
   14598       esac
   14599     fi
   14600   done
   14601   LINGUAS="$XLINGUAS"
   14602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
   14603 $as_echo "$LINGUAS" >&6; }
   14604 
   14605 
   14606     DATADIRNAME=share
   14607 
   14608   INSTOBJEXT=.mo
   14609 
   14610   GENCAT=gencat
   14611 
   14612   CATOBJEXT=.gmo
   14613 
   14614 fi
   14615 
   14616 
   14617 
   14618 
   14619 # Prepare PATH_SEPARATOR.
   14620 # The user is always right.
   14621 if test "${PATH_SEPARATOR+set}" != set; then
   14622   echo "#! /bin/sh" >conf$$.sh
   14623   echo  "exit 0"   >>conf$$.sh
   14624   chmod +x conf$$.sh
   14625   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   14626     PATH_SEPARATOR=';'
   14627   else
   14628     PATH_SEPARATOR=:
   14629   fi
   14630   rm -f conf$$.sh
   14631 fi
   14632 
   14633 # Find out how to test for executable files. Don't use a zero-byte file,
   14634 # as systems may use methods other than mode bits to determine executability.
   14635 cat >conf$$.file <<_ASEOF
   14636 #! /bin/sh
   14637 exit 0
   14638 _ASEOF
   14639 chmod +x conf$$.file
   14640 if test -x conf$$.file >/dev/null 2>&1; then
   14641   ac_executable_p="test -x"
   14642 else
   14643   ac_executable_p="test -f"
   14644 fi
   14645 rm -f conf$$.file
   14646 
   14647 # Extract the first word of "msgfmt", so it can be a program name with args.
   14648 set dummy msgfmt; ac_word=$2
   14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14650 $as_echo_n "checking for $ac_word... " >&6; }
   14651 if ${ac_cv_path_MSGFMT+:} false; then :
   14652   $as_echo_n "(cached) " >&6
   14653 else
   14654   case "$MSGFMT" in
   14655   [\\/]* | ?:[\\/]*)
   14656     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   14657     ;;
   14658   *)
   14659     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   14660     for ac_dir in $PATH; do
   14661       IFS="$ac_save_IFS"
   14662       test -z "$ac_dir" && ac_dir=.
   14663       for ac_exec_ext in '' $ac_executable_extensions; do
   14664         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   14665           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   14666      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   14667             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   14668             break 2
   14669           fi
   14670         fi
   14671       done
   14672     done
   14673     IFS="$ac_save_IFS"
   14674   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   14675     ;;
   14676 esac
   14677 fi
   14678 MSGFMT="$ac_cv_path_MSGFMT"
   14679 if test "$MSGFMT" != ":"; then
   14680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   14681 $as_echo "$MSGFMT" >&6; }
   14682 else
   14683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14684 $as_echo "no" >&6; }
   14685 fi
   14686 
   14687   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   14688 set dummy gmsgfmt; ac_word=$2
   14689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14690 $as_echo_n "checking for $ac_word... " >&6; }
   14691 if ${ac_cv_path_GMSGFMT+:} false; then :
   14692   $as_echo_n "(cached) " >&6
   14693 else
   14694   case $GMSGFMT in
   14695   [\\/]* | ?:[\\/]*)
   14696   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   14697   ;;
   14698   *)
   14699   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14700 for as_dir in $PATH
   14701 do
   14702   IFS=$as_save_IFS
   14703   test -z "$as_dir" && as_dir=.
   14704     for ac_exec_ext in '' $ac_executable_extensions; do
   14705   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14706     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   14707     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14708     break 2
   14709   fi
   14710 done
   14711   done
   14712 IFS=$as_save_IFS
   14713 
   14714   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   14715   ;;
   14716 esac
   14717 fi
   14718 GMSGFMT=$ac_cv_path_GMSGFMT
   14719 if test -n "$GMSGFMT"; then
   14720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   14721 $as_echo "$GMSGFMT" >&6; }
   14722 else
   14723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14724 $as_echo "no" >&6; }
   14725 fi
   14726 
   14727 
   14728 
   14729 
   14730 # Prepare PATH_SEPARATOR.
   14731 # The user is always right.
   14732 if test "${PATH_SEPARATOR+set}" != set; then
   14733   echo "#! /bin/sh" >conf$$.sh
   14734   echo  "exit 0"   >>conf$$.sh
   14735   chmod +x conf$$.sh
   14736   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   14737     PATH_SEPARATOR=';'
   14738   else
   14739     PATH_SEPARATOR=:
   14740   fi
   14741   rm -f conf$$.sh
   14742 fi
   14743 
   14744 # Find out how to test for executable files. Don't use a zero-byte file,
   14745 # as systems may use methods other than mode bits to determine executability.
   14746 cat >conf$$.file <<_ASEOF
   14747 #! /bin/sh
   14748 exit 0
   14749 _ASEOF
   14750 chmod +x conf$$.file
   14751 if test -x conf$$.file >/dev/null 2>&1; then
   14752   ac_executable_p="test -x"
   14753 else
   14754   ac_executable_p="test -f"
   14755 fi
   14756 rm -f conf$$.file
   14757 
   14758 # Extract the first word of "xgettext", so it can be a program name with args.
   14759 set dummy xgettext; ac_word=$2
   14760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14761 $as_echo_n "checking for $ac_word... " >&6; }
   14762 if ${ac_cv_path_XGETTEXT+:} false; then :
   14763   $as_echo_n "(cached) " >&6
   14764 else
   14765   case "$XGETTEXT" in
   14766   [\\/]* | ?:[\\/]*)
   14767     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   14768     ;;
   14769   *)
   14770     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   14771     for ac_dir in $PATH; do
   14772       IFS="$ac_save_IFS"
   14773       test -z "$ac_dir" && ac_dir=.
   14774       for ac_exec_ext in '' $ac_executable_extensions; do
   14775         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   14776           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   14777      (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
   14778             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   14779             break 2
   14780           fi
   14781         fi
   14782       done
   14783     done
   14784     IFS="$ac_save_IFS"
   14785   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   14786     ;;
   14787 esac
   14788 fi
   14789 XGETTEXT="$ac_cv_path_XGETTEXT"
   14790 if test "$XGETTEXT" != ":"; then
   14791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   14792 $as_echo "$XGETTEXT" >&6; }
   14793 else
   14794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14795 $as_echo "no" >&6; }
   14796 fi
   14797 
   14798     rm -f messages.po
   14799 
   14800 
   14801 # Prepare PATH_SEPARATOR.
   14802 # The user is always right.
   14803 if test "${PATH_SEPARATOR+set}" != set; then
   14804   echo "#! /bin/sh" >conf$$.sh
   14805   echo  "exit 0"   >>conf$$.sh
   14806   chmod +x conf$$.sh
   14807   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   14808     PATH_SEPARATOR=';'
   14809   else
   14810     PATH_SEPARATOR=:
   14811   fi
   14812   rm -f conf$$.sh
   14813 fi
   14814 
   14815 # Find out how to test for executable files. Don't use a zero-byte file,
   14816 # as systems may use methods other than mode bits to determine executability.
   14817 cat >conf$$.file <<_ASEOF
   14818 #! /bin/sh
   14819 exit 0
   14820 _ASEOF
   14821 chmod +x conf$$.file
   14822 if test -x conf$$.file >/dev/null 2>&1; then
   14823   ac_executable_p="test -x"
   14824 else
   14825   ac_executable_p="test -f"
   14826 fi
   14827 rm -f conf$$.file
   14828 
   14829 # Extract the first word of "msgmerge", so it can be a program name with args.
   14830 set dummy msgmerge; ac_word=$2
   14831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14832 $as_echo_n "checking for $ac_word... " >&6; }
   14833 if ${ac_cv_path_MSGMERGE+:} false; then :
   14834   $as_echo_n "(cached) " >&6
   14835 else
   14836   case "$MSGMERGE" in
   14837   [\\/]* | ?:[\\/]*)
   14838     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   14839     ;;
   14840   *)
   14841     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   14842     for ac_dir in $PATH; do
   14843       IFS="$ac_save_IFS"
   14844       test -z "$ac_dir" && ac_dir=.
   14845       for ac_exec_ext in '' $ac_executable_extensions; do
   14846         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   14847           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   14848             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   14849             break 2
   14850           fi
   14851         fi
   14852       done
   14853     done
   14854     IFS="$ac_save_IFS"
   14855   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   14856     ;;
   14857 esac
   14858 fi
   14859 MSGMERGE="$ac_cv_path_MSGMERGE"
   14860 if test "$MSGMERGE" != ":"; then
   14861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   14862 $as_echo "$MSGMERGE" >&6; }
   14863 else
   14864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14865 $as_echo "no" >&6; }
   14866 fi
   14867 
   14868 
   14869       if test "$GMSGFMT" != ":"; then
   14870             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   14871        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   14872       : ;
   14873     else
   14874       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   14875       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   14876 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
   14877       GMSGFMT=":"
   14878     fi
   14879   fi
   14880 
   14881       if test "$XGETTEXT" != ":"; then
   14882             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   14883        (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
   14884       : ;
   14885     else
   14886       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
   14887 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
   14888       XGETTEXT=":"
   14889     fi
   14890         rm -f messages.po
   14891   fi
   14892 
   14893   ac_config_commands="$ac_config_commands default-2"
   14894 
   14895 
   14896 
   14897 # Permit host specific settings.
   14898 . ${srcdir}/configure.host
   14899 
   14900 
   14901 
   14902 
   14903 # The cast to long int works around a bug in the HP C Compiler
   14904 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14905 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14906 # This bug is HP SR number 8606223364.
   14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
   14908 $as_echo_n "checking size of long long... " >&6; }
   14909 if ${ac_cv_sizeof_long_long+:} false; then :
   14910   $as_echo_n "(cached) " >&6
   14911 else
   14912   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
   14913 
   14914 else
   14915   if test "$ac_cv_type_long_long" = yes; then
   14916      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14917 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14918 as_fn_error 77 "cannot compute sizeof (long long)
   14919 See \`config.log' for more details" "$LINENO" 5; }
   14920    else
   14921      ac_cv_sizeof_long_long=0
   14922    fi
   14923 fi
   14924 
   14925 fi
   14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
   14927 $as_echo "$ac_cv_sizeof_long_long" >&6; }
   14928 
   14929 
   14930 
   14931 cat >>confdefs.h <<_ACEOF
   14932 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
   14933 _ACEOF
   14934 
   14935 
   14936 # The cast to long int works around a bug in the HP C Compiler
   14937 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14938 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14939 # This bug is HP SR number 8606223364.
   14940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   14941 $as_echo_n "checking size of void *... " >&6; }
   14942 if ${ac_cv_sizeof_void_p+:} false; then :
   14943   $as_echo_n "(cached) " >&6
   14944 else
   14945   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   14946 
   14947 else
   14948   if test "$ac_cv_type_void_p" = yes; then
   14949      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14951 as_fn_error 77 "cannot compute sizeof (void *)
   14952 See \`config.log' for more details" "$LINENO" 5; }
   14953    else
   14954      ac_cv_sizeof_void_p=0
   14955    fi
   14956 fi
   14957 
   14958 fi
   14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   14960 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   14961 
   14962 
   14963 
   14964 cat >>confdefs.h <<_ACEOF
   14965 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   14966 _ACEOF
   14967 
   14968 
   14969 # The cast to long int works around a bug in the HP C Compiler
   14970 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14971 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14972 # This bug is HP SR number 8606223364.
   14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   14974 $as_echo_n "checking size of long... " >&6; }
   14975 if ${ac_cv_sizeof_long+:} false; then :
   14976   $as_echo_n "(cached) " >&6
   14977 else
   14978   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   14979 
   14980 else
   14981   if test "$ac_cv_type_long" = yes; then
   14982      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14984 as_fn_error 77 "cannot compute sizeof (long)
   14985 See \`config.log' for more details" "$LINENO" 5; }
   14986    else
   14987      ac_cv_sizeof_long=0
   14988    fi
   14989 fi
   14990 
   14991 fi
   14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   14993 $as_echo "$ac_cv_sizeof_long" >&6; }
   14994 
   14995 
   14996 
   14997 cat >>confdefs.h <<_ACEOF
   14998 #define SIZEOF_LONG $ac_cv_sizeof_long
   14999 _ACEOF
   15000 
   15001 
   15002 # The cast to long int works around a bug in the HP C Compiler
   15003 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   15004 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   15005 # This bug is HP SR number 8606223364.
   15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   15007 $as_echo_n "checking size of int... " >&6; }
   15008 if ${ac_cv_sizeof_int+:} false; then :
   15009   $as_echo_n "(cached) " >&6
   15010 else
   15011   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   15012 
   15013 else
   15014   if test "$ac_cv_type_int" = yes; then
   15015      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15017 as_fn_error 77 "cannot compute sizeof (int)
   15018 See \`config.log' for more details" "$LINENO" 5; }
   15019    else
   15020      ac_cv_sizeof_int=0
   15021    fi
   15022 fi
   15023 
   15024 fi
   15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   15026 $as_echo "$ac_cv_sizeof_int" >&6; }
   15027 
   15028 
   15029 
   15030 cat >>confdefs.h <<_ACEOF
   15031 #define SIZEOF_INT $ac_cv_sizeof_int
   15032 _ACEOF
   15033 
   15034 
   15035 
   15036 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
   15037   host64=true
   15038 fi
   15039 
   15040 # Put a plausible default for CC_FOR_BUILD in Makefile.
   15041 if test -z "$CC_FOR_BUILD"; then
   15042   if test "x$cross_compiling" = "xno"; then
   15043     CC_FOR_BUILD='$(CC)'
   15044   else
   15045     CC_FOR_BUILD=gcc
   15046   fi
   15047 fi
   15048 
   15049 # Also set EXEEXT_FOR_BUILD.
   15050 if test "x$cross_compiling" = "xno"; then
   15051   EXEEXT_FOR_BUILD='$(EXEEXT)'
   15052 else
   15053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
   15054 $as_echo_n "checking for build system executable suffix... " >&6; }
   15055 if ${bfd_cv_build_exeext+:} false; then :
   15056   $as_echo_n "(cached) " >&6
   15057 else
   15058   rm -f conftest*
   15059      echo 'int main () { return 0; }' > conftest.c
   15060      bfd_cv_build_exeext=
   15061      ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
   15062      for file in conftest.*; do
   15063        case $file in
   15064        *.c | *.o | *.obj | *.ilk | *.pdb) ;;
   15065        *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
   15066        esac
   15067      done
   15068      rm -f conftest*
   15069      test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
   15070 fi
   15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
   15072 $as_echo "$bfd_cv_build_exeext" >&6; }
   15073   EXEEXT_FOR_BUILD=""
   15074   test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
   15075 fi
   15076 
   15077 
   15078 for ac_header in fcntl.h sys/file.h sys/resource.h sys/stat.h sys/types.h \
   15079 		 unistd.h
   15080 do :
   15081   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   15082 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   15083 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   15084   cat >>confdefs.h <<_ACEOF
   15085 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   15086 _ACEOF
   15087 
   15088 fi
   15089 
   15090 done
   15091 
   15092 
   15093 for ac_func in fcntl fdopen fileno fls getgid getpagesize getrlimit getuid \
   15094 	       sysconf
   15095 do :
   15096   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   15097 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   15098 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   15099   cat >>confdefs.h <<_ACEOF
   15100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   15101 _ACEOF
   15102 
   15103 fi
   15104 done
   15105 
   15106 
   15107 ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
   15108 if test "x$ac_cv_have_decl_basename" = xyes; then :
   15109   ac_have_decl=1
   15110 else
   15111   ac_have_decl=0
   15112 fi
   15113 
   15114 cat >>confdefs.h <<_ACEOF
   15115 #define HAVE_DECL_BASENAME $ac_have_decl
   15116 _ACEOF
   15117 ac_fn_c_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
   15118 if test "x$ac_cv_have_decl_ffs" = xyes; then :
   15119   ac_have_decl=1
   15120 else
   15121   ac_have_decl=0
   15122 fi
   15123 
   15124 cat >>confdefs.h <<_ACEOF
   15125 #define HAVE_DECL_FFS $ac_have_decl
   15126 _ACEOF
   15127 ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
   15128 if test "x$ac_cv_have_decl_stpcpy" = xyes; then :
   15129   ac_have_decl=1
   15130 else
   15131   ac_have_decl=0
   15132 fi
   15133 
   15134 cat >>confdefs.h <<_ACEOF
   15135 #define HAVE_DECL_STPCPY $ac_have_decl
   15136 _ACEOF
   15137 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
   15138 if test "x$ac_cv_have_decl_asprintf" = xyes; then :
   15139   ac_have_decl=1
   15140 else
   15141   ac_have_decl=0
   15142 fi
   15143 
   15144 cat >>confdefs.h <<_ACEOF
   15145 #define HAVE_DECL_ASPRINTF $ac_have_decl
   15146 _ACEOF
   15147 ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
   15148 if test "x$ac_cv_have_decl_vasprintf" = xyes; then :
   15149   ac_have_decl=1
   15150 else
   15151   ac_have_decl=0
   15152 fi
   15153 
   15154 cat >>confdefs.h <<_ACEOF
   15155 #define HAVE_DECL_VASPRINTF $ac_have_decl
   15156 _ACEOF
   15157 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
   15158 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
   15159   ac_have_decl=1
   15160 else
   15161   ac_have_decl=0
   15162 fi
   15163 
   15164 cat >>confdefs.h <<_ACEOF
   15165 #define HAVE_DECL_STRNLEN $ac_have_decl
   15166 _ACEOF
   15167 
   15168 ac_fn_c_check_decl "$LINENO" "___lc_codepage_func" "ac_cv_have_decl____lc_codepage_func" "#include <locale.h>
   15169 "
   15170 if test "x$ac_cv_have_decl____lc_codepage_func" = xyes; then :
   15171   ac_have_decl=1
   15172 else
   15173   ac_have_decl=0
   15174 fi
   15175 
   15176 cat >>confdefs.h <<_ACEOF
   15177 #define HAVE_DECL____LC_CODEPAGE_FUNC $ac_have_decl
   15178 _ACEOF
   15179 
   15180 
   15181 
   15182 case "${host}" in
   15183 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
   15184 
   15185 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
   15186  ;;
   15187 esac
   15188 
   15189 
   15190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread local storage (TLS) class" >&5
   15191 $as_echo_n "checking for thread local storage (TLS) class... " >&6; }
   15192   if ${ac_cv_tls+:} false; then :
   15193   $as_echo_n "(cached) " >&6
   15194 else
   15195   for ax_tls_keyword in thread_local _Thread_local __thread '__declspec(thread)' none; do
   15196        case $ax_tls_keyword in #(
   15197   none) :
   15198     ac_cv_tls=none ; break ;; #(
   15199   *) :
   15200     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15201 /* end confdefs.h.  */
   15202 #include <stdlib.h>
   15203 int
   15204 main ()
   15205 {
   15206 static  $ax_tls_keyword  int bar;
   15207 
   15208   ;
   15209   return 0;
   15210 }
   15211 _ACEOF
   15212 if ac_fn_c_try_compile "$LINENO"; then :
   15213   ac_cv_tls=$ax_tls_keyword ; break
   15214 else
   15215   ac_cv_tls=none
   15216 
   15217 fi
   15218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15219          ;;
   15220 esac
   15221     done
   15222 
   15223 fi
   15224 
   15225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
   15226 $as_echo "$ac_cv_tls" >&6; }
   15227 
   15228   if test "$ac_cv_tls" != "none"; then :
   15229 
   15230 cat >>confdefs.h <<_ACEOF
   15231 #define TLS $ac_cv_tls
   15232 _ACEOF
   15233 
   15234      :
   15235 else
   15236   :
   15237 fi
   15238 
   15239 
   15240 # Link in zlib/zstd if we can.  This allows us to read compressed debug sections.
   15241 # This is used only by compress.c.
   15242 
   15243   # Use the system's zlib library.
   15244   zlibdir="-L\$(top_builddir)/../zlib"
   15245   zlibinc="-I\$(top_srcdir)/../zlib"
   15246 
   15247 # Check whether --with-system-zlib was given.
   15248 if test "${with_system_zlib+set}" = set; then :
   15249   withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
   15250     zlibdir=
   15251     zlibinc=
   15252   fi
   15253 
   15254 fi
   15255 
   15256 
   15257 
   15258 
   15259 
   15260 
   15261 
   15262 
   15263 
   15264 
   15265 
   15266 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   15267 	if test -n "$ac_tool_prefix"; then
   15268   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   15269 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   15270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15271 $as_echo_n "checking for $ac_word... " >&6; }
   15272 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   15273   $as_echo_n "(cached) " >&6
   15274 else
   15275   case $PKG_CONFIG in
   15276   [\\/]* | ?:[\\/]*)
   15277   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   15278   ;;
   15279   *)
   15280   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15281 for as_dir in $PATH
   15282 do
   15283   IFS=$as_save_IFS
   15284   test -z "$as_dir" && as_dir=.
   15285     for ac_exec_ext in '' $ac_executable_extensions; do
   15286   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15287     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   15288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15289     break 2
   15290   fi
   15291 done
   15292   done
   15293 IFS=$as_save_IFS
   15294 
   15295   ;;
   15296 esac
   15297 fi
   15298 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   15299 if test -n "$PKG_CONFIG"; then
   15300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   15301 $as_echo "$PKG_CONFIG" >&6; }
   15302 else
   15303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15304 $as_echo "no" >&6; }
   15305 fi
   15306 
   15307 
   15308 fi
   15309 if test -z "$ac_cv_path_PKG_CONFIG"; then
   15310   ac_pt_PKG_CONFIG=$PKG_CONFIG
   15311   # Extract the first word of "pkg-config", so it can be a program name with args.
   15312 set dummy pkg-config; ac_word=$2
   15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15314 $as_echo_n "checking for $ac_word... " >&6; }
   15315 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   15316   $as_echo_n "(cached) " >&6
   15317 else
   15318   case $ac_pt_PKG_CONFIG in
   15319   [\\/]* | ?:[\\/]*)
   15320   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   15321   ;;
   15322   *)
   15323   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15324 for as_dir in $PATH
   15325 do
   15326   IFS=$as_save_IFS
   15327   test -z "$as_dir" && as_dir=.
   15328     for ac_exec_ext in '' $ac_executable_extensions; do
   15329   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15330     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   15331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15332     break 2
   15333   fi
   15334 done
   15335   done
   15336 IFS=$as_save_IFS
   15337 
   15338   ;;
   15339 esac
   15340 fi
   15341 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   15342 if test -n "$ac_pt_PKG_CONFIG"; then
   15343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   15344 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   15345 else
   15346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15347 $as_echo "no" >&6; }
   15348 fi
   15349 
   15350   if test "x$ac_pt_PKG_CONFIG" = x; then
   15351     PKG_CONFIG=""
   15352   else
   15353     case $cross_compiling:$ac_tool_warned in
   15354 yes:)
   15355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15357 ac_tool_warned=yes ;;
   15358 esac
   15359     PKG_CONFIG=$ac_pt_PKG_CONFIG
   15360   fi
   15361 else
   15362   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   15363 fi
   15364 
   15365 fi
   15366 if test -n "$PKG_CONFIG"; then
   15367 	_pkg_min_version=0.9.0
   15368 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   15369 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   15370 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   15371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15372 $as_echo "yes" >&6; }
   15373 	else
   15374 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15375 $as_echo "no" >&6; }
   15376 		PKG_CONFIG=""
   15377 	fi
   15378 fi
   15379 
   15380 
   15381 # Check whether --with-zstd was given.
   15382 if test "${with_zstd+set}" = set; then :
   15383   withval=$with_zstd;
   15384 else
   15385   with_zstd=auto
   15386 fi
   15387 
   15388 
   15389 if test "$with_zstd" != no; then :
   15390 
   15391 pkg_failed=no
   15392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzstd >= 1.4.0" >&5
   15393 $as_echo_n "checking for libzstd >= 1.4.0... " >&6; }
   15394 
   15395 if test -n "$ZSTD_CFLAGS"; then
   15396     pkg_cv_ZSTD_CFLAGS="$ZSTD_CFLAGS"
   15397  elif test -n "$PKG_CONFIG"; then
   15398     if test -n "$PKG_CONFIG" && \
   15399     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0\""; } >&5
   15400   ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0") 2>&5
   15401   ac_status=$?
   15402   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15403   test $ac_status = 0; }; then
   15404   pkg_cv_ZSTD_CFLAGS=`$PKG_CONFIG --cflags "libzstd >= 1.4.0" 2>/dev/null`
   15405 		      test "x$?" != "x0" && pkg_failed=yes
   15406 else
   15407   pkg_failed=yes
   15408 fi
   15409  else
   15410     pkg_failed=untried
   15411 fi
   15412 if test -n "$ZSTD_LIBS"; then
   15413     pkg_cv_ZSTD_LIBS="$ZSTD_LIBS"
   15414  elif test -n "$PKG_CONFIG"; then
   15415     if test -n "$PKG_CONFIG" && \
   15416     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0\""; } >&5
   15417   ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0") 2>&5
   15418   ac_status=$?
   15419   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15420   test $ac_status = 0; }; then
   15421   pkg_cv_ZSTD_LIBS=`$PKG_CONFIG --libs "libzstd >= 1.4.0" 2>/dev/null`
   15422 		      test "x$?" != "x0" && pkg_failed=yes
   15423 else
   15424   pkg_failed=yes
   15425 fi
   15426  else
   15427     pkg_failed=untried
   15428 fi
   15429 
   15430 if test $pkg_failed = no; then
   15431   pkg_save_LDFLAGS="$LDFLAGS"
   15432   LDFLAGS="$LDFLAGS $pkg_cv_ZSTD_LIBS"
   15433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15434 /* end confdefs.h.  */
   15435 
   15436 int
   15437 main ()
   15438 {
   15439 
   15440   ;
   15441   return 0;
   15442 }
   15443 _ACEOF
   15444 if ac_fn_c_try_link "$LINENO"; then :
   15445 
   15446 else
   15447   pkg_failed=yes
   15448 fi
   15449 rm -f core conftest.err conftest.$ac_objext \
   15450     conftest$ac_exeext conftest.$ac_ext
   15451   LDFLAGS=$pkg_save_LDFLAGS
   15452 fi
   15453 
   15454 
   15455 
   15456 if test $pkg_failed = yes; then
   15457         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15458 $as_echo "no" >&6; }
   15459 
   15460 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   15461         _pkg_short_errors_supported=yes
   15462 else
   15463         _pkg_short_errors_supported=no
   15464 fi
   15465         if test $_pkg_short_errors_supported = yes; then
   15466 	        ZSTD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzstd >= 1.4.0" 2>&1`
   15467         else
   15468 	        ZSTD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzstd >= 1.4.0" 2>&1`
   15469         fi
   15470 	# Put the nasty error message in config.log where it belongs
   15471 	echo "$ZSTD_PKG_ERRORS" >&5
   15472 
   15473 
   15474     if test "$with_zstd" = yes; then
   15475       as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
   15476     fi
   15477 
   15478 elif test $pkg_failed = untried; then
   15479         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15480 $as_echo "no" >&6; }
   15481 
   15482     if test "$with_zstd" = yes; then
   15483       as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
   15484     fi
   15485 
   15486 else
   15487 	ZSTD_CFLAGS=$pkg_cv_ZSTD_CFLAGS
   15488 	ZSTD_LIBS=$pkg_cv_ZSTD_LIBS
   15489         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15490 $as_echo "yes" >&6; }
   15491 
   15492 
   15493 $as_echo "#define HAVE_ZSTD 1" >>confdefs.h
   15494 
   15495 
   15496 fi
   15497 
   15498 fi
   15499 
   15500 
   15501 save_CFLAGS="$CFLAGS"
   15502 CFLAGS="$CFLAGS -Werror"
   15503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler support for hidden visibility" >&5
   15504 $as_echo_n "checking compiler support for hidden visibility... " >&6; }
   15505 if ${bfd_cv_hidden+:} false; then :
   15506   $as_echo_n "(cached) " >&6
   15507 else
   15508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15509 /* end confdefs.h.  */
   15510 
   15511 const char hw[] __attribute__ ((__visibility__ ("hidden"))) = "Hello, World\n";
   15512 extern void print (const char *) __attribute__ ((__visibility__ ("hidden")));
   15513 int
   15514 main ()
   15515 {
   15516 print (hw);
   15517   ;
   15518   return 0;
   15519 }
   15520 _ACEOF
   15521 if ac_fn_c_try_compile "$LINENO"; then :
   15522   bfd_cv_hidden=yes
   15523 else
   15524   bfd_cv_hidden=no
   15525 fi
   15526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15527 fi
   15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_hidden" >&5
   15529 $as_echo "$bfd_cv_hidden" >&6; }
   15530 CFLAGS="$save_CFLAGS"
   15531 if test $bfd_cv_hidden = yes; then
   15532 
   15533 $as_echo "#define HAVE_HIDDEN 1" >>confdefs.h
   15534 
   15535 fi
   15536 
   15537 # Check if linker supports --as-needed and --no-as-needed options
   15538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
   15539 $as_echo_n "checking linker --as-needed support... " >&6; }
   15540 if ${bfd_cv_ld_as_needed+:} false; then :
   15541   $as_echo_n "(cached) " >&6
   15542 else
   15543   bfd_cv_ld_as_needed=no
   15544 	if $LD --help 2>/dev/null | grep as-needed > /dev/null; then
   15545 		bfd_cv_ld_as_needed=yes
   15546 	fi
   15547 
   15548 fi
   15549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
   15550 $as_echo "$bfd_cv_ld_as_needed" >&6; }
   15551 
   15552 LIBM=
   15553 case $host in
   15554 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
   15555   # These system don't have libm, or don't need it
   15556   ;;
   15557 *-ncr-sysv4.3*)
   15558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
   15559 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
   15560 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
   15561   $as_echo_n "(cached) " >&6
   15562 else
   15563   ac_check_lib_save_LIBS=$LIBS
   15564 LIBS="-lmw  $LIBS"
   15565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15566 /* end confdefs.h.  */
   15567 
   15568 /* Override any GCC internal prototype to avoid an error.
   15569    Use char because int might match the return type of a GCC
   15570    builtin and then its argument prototype would still apply.  */
   15571 #ifdef __cplusplus
   15572 extern "C"
   15573 #endif
   15574 char _mwvalidcheckl ();
   15575 int
   15576 main ()
   15577 {
   15578 return _mwvalidcheckl ();
   15579   ;
   15580   return 0;
   15581 }
   15582 _ACEOF
   15583 if ac_fn_c_try_link "$LINENO"; then :
   15584   ac_cv_lib_mw__mwvalidcheckl=yes
   15585 else
   15586   ac_cv_lib_mw__mwvalidcheckl=no
   15587 fi
   15588 rm -f core conftest.err conftest.$ac_objext \
   15589     conftest$ac_exeext conftest.$ac_ext
   15590 LIBS=$ac_check_lib_save_LIBS
   15591 fi
   15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
   15593 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
   15594 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
   15595   LIBM="-lmw"
   15596 fi
   15597 
   15598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
   15599 $as_echo_n "checking for cos in -lm... " >&6; }
   15600 if ${ac_cv_lib_m_cos+:} false; then :
   15601   $as_echo_n "(cached) " >&6
   15602 else
   15603   ac_check_lib_save_LIBS=$LIBS
   15604 LIBS="-lm  $LIBS"
   15605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15606 /* end confdefs.h.  */
   15607 
   15608 /* Override any GCC internal prototype to avoid an error.
   15609    Use char because int might match the return type of a GCC
   15610    builtin and then its argument prototype would still apply.  */
   15611 #ifdef __cplusplus
   15612 extern "C"
   15613 #endif
   15614 char cos ();
   15615 int
   15616 main ()
   15617 {
   15618 return cos ();
   15619   ;
   15620   return 0;
   15621 }
   15622 _ACEOF
   15623 if ac_fn_c_try_link "$LINENO"; then :
   15624   ac_cv_lib_m_cos=yes
   15625 else
   15626   ac_cv_lib_m_cos=no
   15627 fi
   15628 rm -f core conftest.err conftest.$ac_objext \
   15629     conftest$ac_exeext conftest.$ac_ext
   15630 LIBS=$ac_check_lib_save_LIBS
   15631 fi
   15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
   15633 $as_echo "$ac_cv_lib_m_cos" >&6; }
   15634 if test "x$ac_cv_lib_m_cos" = xyes; then :
   15635   LIBM="$LIBM -lm"
   15636 fi
   15637 
   15638   ;;
   15639 *)
   15640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
   15641 $as_echo_n "checking for cos in -lm... " >&6; }
   15642 if ${ac_cv_lib_m_cos+:} false; then :
   15643   $as_echo_n "(cached) " >&6
   15644 else
   15645   ac_check_lib_save_LIBS=$LIBS
   15646 LIBS="-lm  $LIBS"
   15647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15648 /* end confdefs.h.  */
   15649 
   15650 /* Override any GCC internal prototype to avoid an error.
   15651    Use char because int might match the return type of a GCC
   15652    builtin and then its argument prototype would still apply.  */
   15653 #ifdef __cplusplus
   15654 extern "C"
   15655 #endif
   15656 char cos ();
   15657 int
   15658 main ()
   15659 {
   15660 return cos ();
   15661   ;
   15662   return 0;
   15663 }
   15664 _ACEOF
   15665 if ac_fn_c_try_link "$LINENO"; then :
   15666   ac_cv_lib_m_cos=yes
   15667 else
   15668   ac_cv_lib_m_cos=no
   15669 fi
   15670 rm -f core conftest.err conftest.$ac_objext \
   15671     conftest$ac_exeext conftest.$ac_ext
   15672 LIBS=$ac_check_lib_save_LIBS
   15673 fi
   15674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
   15675 $as_echo "$ac_cv_lib_m_cos" >&6; }
   15676 if test "x$ac_cv_lib_m_cos" = xyes; then :
   15677   LIBM="-lm"
   15678 fi
   15679 
   15680   ;;
   15681 esac
   15682 
   15683 
   15684 
   15685 # When building a shared libbfd, link against the pic version of libiberty
   15686 # so that apps that use libbfd won't need libiberty just to satisfy any
   15687 # libbfd references.
   15688 # We can't do that if a pic libiberty is unavailable since including non-pic
   15689 # code would insert text relocations into libbfd.
   15690 SHARED_LIBADD=
   15691 SHARED_LDFLAGS=
   15692 if test "$enable_shared" = "yes"; then
   15693   x=`sed -n -e 's/^[ 	]*PICFLAG[ 	]*=[ 	]*//p' < ../libiberty/Makefile | sed -n '$p'`
   15694   if test -n "$x"; then
   15695     SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
   15696   fi
   15697 fi
   15698 
   15699 SHARED_LIBADD="$SHARED_LIBADD $LTLIBINTL"
   15700 
   15701 if test "$enable_shared" = "yes"; then
   15702   case "${host}" in
   15703   # More hacks to build DLLs on Windows.
   15704   *-*-cygwin*)
   15705     SHARED_LDFLAGS="-no-undefined"
   15706     SHARED_LIBADD="-L`pwd`/../libiberty -liberty $SHARED_LIBADD -lcygwin -lkernel32"
   15707   ;;
   15708   esac
   15709 
   15710   if test -n "$SHARED_LIBADD"; then
   15711     if test -n "$LIBM"; then
   15712       if test x"$bfd_cv_ld_as_needed" = xyes; then
   15713 	# Link against libm only when needed.  Put -lc, -lm inside -Wl
   15714 	# to stop libtool reordering these options.
   15715 	SHARED_LIBADD="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
   15716       else
   15717 	SHARED_LIBADD="$SHARED_LIBADD $LIBM"
   15718       fi
   15719     fi
   15720   fi
   15721 fi
   15722 
   15723 
   15724 
   15725 # target stuff:
   15726 
   15727 # Canonicalize the secondary target names.
   15728 if test -n "$enable_targets" ; then
   15729     for targ in `echo $enable_targets | sed 's/,/ /g'`
   15730     do
   15731 	result=`$ac_config_sub $targ 2>/dev/null`
   15732 	if test -n "$result" ; then
   15733 	    canon_targets="$canon_targets $result"
   15734 	else
   15735 	    # Allow targets that config.sub doesn't recognize, like "all".
   15736 	    canon_targets="$canon_targets $targ"
   15737 	fi
   15738     done
   15739 fi
   15740 
   15741 all_targets=false
   15742 defvec=
   15743 selvecs=
   15744 assocvecs=
   15745 selarchs=
   15746 TDEFINES=
   15747 for targ in $target $canon_targets
   15748 do
   15749     if test $targ = all; then
   15750         all_targets=true
   15751 	assocvecs="$assocvecs $targ_defvec $targ_selvecs"
   15752     elif test $targ != plugin; then
   15753 	. $srcdir/config.bfd
   15754 	if test $targ = $target; then
   15755 	    defvec=$targ_defvec
   15756 	fi
   15757 	selvecs="$selvecs $targ_defvec $targ_selvecs"
   15758 	selarchs="$selarchs $targ_archs"
   15759 	TDEFINES="$TDEFINES $targ_cflags"
   15760     fi
   15761 done
   15762 
   15763 
   15764 # This processing still needs to be done if we're to decide properly whether
   15765 # 64-bit support needs to be compiled in.  Currently, it will be included if
   15766 # the default or any other explicitly requested target requires it; it
   15767 # will not be included on a 32-bit host if no 64-bit target is requested, and
   15768 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
   15769 # used.
   15770 
   15771 # uniq the default and selected vectors in all the configured targets.
   15772 f=""
   15773 for i in $selvecs ; do
   15774     case " $f " in
   15775     *" $i "*) ;;
   15776     *) f="$f $i" ;;
   15777     esac
   15778 done
   15779 selvecs="$f"
   15780 
   15781 
   15782 # uniq the associated vectors in all the configured targets.
   15783 f=""
   15784 for i in $assocvecs ; do
   15785     case " $f " in
   15786     *" $i "*) ;;
   15787     *) f="$f $i" ;;
   15788     esac
   15789 done
   15790 assocvecs="$f"
   15791 
   15792 
   15793 # uniq the architectures in all the configured targets.
   15794 f=""
   15795 for i in $selarchs ; do
   15796     case " $f " in
   15797     *" $i "*) ;;
   15798     *) f="$f $i" ;;
   15799     esac
   15800 done
   15801 selarchs="$f"
   15802 
   15803 # Target backend .o files.
   15804 tb=
   15805 
   15806 elf="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo
   15807      elf-sframe.lo dwarf1.lo dwarf2.lo"
   15808 coffgen="coffgen.lo dwarf2.lo"
   15809 coff="cofflink.lo $coffgen"
   15810 ecoff="ecofflink.lo $coffgen"
   15811 xcoff="xcofflink.lo $coffgen"
   15812 
   15813 elfxx_x86="elfxx-x86.lo elf-ifunc.lo elf-vxworks.lo"
   15814 for vec in $selvecs
   15815 do
   15816     target_size=32
   15817     case "$vec" in
   15818     # This list is alphabetized to make it easy to compare
   15819     # with the two vector lists in targets.c.  For the same reason,
   15820     # use one entry per line, even though this leads to long lines.
   15821     aarch64_elf32_be_vec)	 tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
   15822     aarch64_elf32_le_vec)	 tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
   15823     aarch64_elf64_be_vec)	   tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   15824     aarch64_elf64_be_cloudabi_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   15825     aarch64_elf64_le_vec)	   tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   15826     aarch64_elf64_le_cloudabi_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   15827     aarch64_mach_o_vec)		 tb="$tb mach-o-aarch64.lo"; target_size=64 ;;
   15828     aarch64_pei_le_vec)		 tb="$tb pei-aarch64.lo pe-aarch64igen.lo $coff"; target_size=64 ;;
   15829     aarch64_pe_le_vec)		 tb="$tb pe-aarch64.lo pe-aarch64igen.lo $coff"; target_size=64 ;;
   15830     alpha_ecoff_le_vec)		 tb="$tb coff-alpha.lo ecoff.lo $ecoff"; target_size=64 ;;
   15831     alpha_elf64_vec)		 tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
   15832     alpha_elf64_fbsd_vec)	 tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
   15833     alpha_vms_vec)		 tb="$tb vms-alpha.lo vms-misc.lo vms-lib.lo"; target_size=64 ;;
   15834     alpha_vms_lib_txt_vec)	 tb="$tb vms-lib.lo vms-misc.lo" ;;
   15835     am33_elf32_linux_vec)	 tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
   15836     amdgcn_elf64_le_vec)	 tb="$tb elf64-amdgcn.lo elf64.lo $elf"; target_size=64 ;;
   15837     aout0_be_vec)		 tb="$tb aout0.lo aout32.lo" ;;
   15838     aout64_vec)			 tb="$tb demo64.lo aout64.lo"; target_size=64 ;;
   15839     aout_vec)			 tb="$tb host-aout.lo aout32.lo" ;;
   15840     arc_elf32_be_vec)		 tb="$tb elf32-arc.lo elf32.lo $elf" ;;
   15841     arc_elf32_le_vec)		 tb="$tb elf32-arc.lo elf32.lo $elf" ;;
   15842     arm_elf32_be_vec)		 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   15843     arm_elf32_le_vec)		 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   15844     arm_elf32_fdpic_be_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   15845     arm_elf32_fdpic_le_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   15846     arm_elf32_nacl_be_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   15847     arm_elf32_nacl_le_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   15848     arm_elf32_vxworks_be_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   15849     arm_elf32_vxworks_le_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   15850     arm_pe_be_vec)		 tb="$tb pe-arm.lo peigen.lo $coff" ;;
   15851     arm_pe_le_vec)		 tb="$tb pe-arm.lo peigen.lo $coff" ;;
   15852     arm_pe_wince_be_vec)	 tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo $coff" ;;
   15853     arm_pe_wince_le_vec)	 tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo $coff" ;;
   15854     arm_pei_be_vec)		 tb="$tb pei-arm.lo peigen.lo $coff" ;;
   15855     arm_pei_le_vec)		 tb="$tb pei-arm.lo peigen.lo $coff" ;;
   15856     arm_pei_wince_be_vec)	 tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo $coff" ;;
   15857     arm_pei_wince_le_vec)	 tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo $coff" ;;
   15858     arm_mach_o_vec)		 tb="$tb mach-o-arm.lo" ;;
   15859     avr_elf32_vec)		 tb="$tb elf32-avr.lo elf32.lo $elf" ;;
   15860     bfin_elf32_vec)		 tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
   15861     bfin_elf32_fdpic_vec)	 tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
   15862     cr16_elf32_vec)		 tb="$tb elf32-cr16.lo elf32.lo $elf" ;;
   15863     cris_aout_vec)		 tb="$tb aout-cris.lo" ;;
   15864     cris_elf32_vec)		 tb="$tb elf32-cris.lo elf32.lo $elf" ;;
   15865     cris_elf32_us_vec)		 tb="$tb elf32-cris.lo elf32.lo $elf" ;;
   15866     crx_elf32_vec)		 tb="$tb elf32-crx.lo elf32.lo $elf" ;;
   15867     csky_elf32_be_vec)		 tb="$tb elf32-csky.lo elf32.lo $elf" ;;
   15868     csky_elf32_le_vec)		 tb="$tb elf32-csky.lo elf32.lo $elf" ;;
   15869     d10v_elf32_vec)		 tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
   15870     d30v_elf32_vec)		 tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
   15871     dlx_elf32_be_vec)		 tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
   15872     elf32_be_vec)		 tb="$tb elf32-gen.lo elf32.lo $elf" ;;
   15873     elf32_le_vec)		 tb="$tb elf32-gen.lo elf32.lo $elf" ;;
   15874     elf64_be_vec)		 tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
   15875     elf64_le_vec)		 tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
   15876     bpf_elf64_le_vec)		 tb="$tb elf64-bpf.lo elf64.lo $elf"; target_size=64;;
   15877     bpf_elf64_be_vec)		 tb="$tb elf64-bpf.lo elf64.lo $elf"; target_size=64 ;;
   15878     epiphany_elf32_vec)		 tb="$tb elf32-epiphany.lo elf32.lo $elf" ;;
   15879     fr30_elf32_vec)		 tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
   15880     frv_elf32_vec)		 tb="$tb elf32-frv.lo elf32.lo $elf" ;;
   15881     frv_elf32_fdpic_vec)	 tb="$tb elf32-frv.lo elf32.lo $elf" ;;
   15882     h8300_elf32_vec)		 tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
   15883     h8300_elf32_linux_vec)	 tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
   15884     hppa_elf32_vec)		 tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
   15885     hppa_elf32_linux_vec)	 tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
   15886     hppa_elf32_nbsd_vec)	 tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
   15887     hppa_elf64_vec)		 tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
   15888     hppa_elf64_linux_vec)	 tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
   15889     hppa_som_vec)		 tb="$tb som.lo" ;;
   15890     i386_aout_vec)		 tb="$tb i386aout.lo aout32.lo" ;;
   15891     i386_aout_bsd_vec)		 tb="$tb i386bsd.lo aout32.lo" ;;
   15892     i386_aout_lynx_vec)		 tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
   15893     i386_coff_vec)		 tb="$tb coff-i386.lo $coff" ;;
   15894     i386_coff_go32_vec)		 tb="$tb coff-go32.lo $coff" ;;
   15895     i386_coff_go32stubbed_vec)	 tb="$tb coff-stgo32.lo $coff" ;;
   15896     i386_coff_lynx_vec)		 tb="$tb cf-i386lynx.lo lynx-core.lo $coff" ;;
   15897     i386_elf32_vec)		 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   15898     i386_elf32_fbsd_vec)	 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   15899     i386_elf32_sol2_vec)	 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   15900     i386_elf32_vxworks_vec)	 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   15901     i386_mach_o_vec)		 tb="$tb mach-o-i386.lo" ;;
   15902     i386_msdos_vec)		 tb="$tb i386msdos.lo" ;;
   15903     i386_pe_vec)		 tb="$tb pe-i386.lo peigen.lo $coff" ;;
   15904     i386_pe_big_vec)		 tb="$tb pe-i386.lo peigen.lo $coff" ;;
   15905     i386_pei_vec)		 tb="$tb pei-i386.lo peigen.lo $coff" ;;
   15906     iamcu_elf32_vec)		 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   15907     ia64_elf32_be_vec)		 tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
   15908     ia64_elf32_hpux_be_vec)	 tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
   15909     ia64_elf64_be_vec)		 tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
   15910     ia64_elf64_le_vec)		 tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
   15911     ia64_elf64_hpux_be_vec)	 tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
   15912     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 ;;
   15913     ia64_pei_vec)		 tb="$tb pei-ia64.lo pepigen.lo $coff"; target_size=64 ;;
   15914     ip2k_elf32_vec)		 tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
   15915     iq2000_elf32_vec)		 tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
   15916     kvx_elf32_vec)		 tb="$tb elf32-kvx.lo elfxx-kvx.lo elf32.lo $elf $ipa" ;;
   15917     kvx_elf64_vec)		 tb="$tb elf64-kvx.lo elfxx-kvx.lo elf64.lo $elf $ipa"; target_size=64 ;;
   15918     lm32_elf32_vec)		 tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
   15919     lm32_elf32_fdpic_vec)	 tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
   15920     loongarch_elf32_vec)	 tb="$tb elf32-loongarch.lo elfxx-loongarch.lo elf32.lo elf-ifunc.lo $elf" ;;
   15921     loongarch_elf64_vec)	 tb="$tb elf64-loongarch.lo elf64.lo elfxx-loongarch.lo elf32.lo elf-ifunc.lo $elf"; target_size=64 ;;
   15922     loongarch64_pei_vec)	 tb="$tb pei-loongarch64.lo pe-loongarch64igen.lo $coff"; target_size=64 ;;
   15923     m32c_elf32_vec)		 tb="$tb elf32-m32c.lo elf32.lo $elf" ;;
   15924     m32r_elf32_vec)		 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   15925     m32r_elf32_le_vec)		 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   15926     m32r_elf32_linux_vec)	 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   15927     m32r_elf32_linux_le_vec)	 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   15928     m68hc11_elf32_vec)		 tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
   15929     m68hc12_elf32_vec)		 tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
   15930     m68k_elf32_vec)		 tb="$tb elf32-m68k.lo elf32.lo $elf" ;;
   15931     s12z_elf32_vec)		 tb="$tb elf32-s12z.lo elf32.lo $elf" ;;
   15932     mach_o_be_vec)		 tb="$tb mach-o.lo dwarf2.lo" ;;
   15933     mach_o_le_vec)		 tb="$tb mach-o.lo dwarf2.lo" ;;
   15934     mach_o_fat_vec)		 tb="$tb mach-o.lo dwarf2.lo" ;;
   15935     mcore_elf32_be_vec)		 tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
   15936     mcore_elf32_le_vec)		 tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
   15937     mcore_pe_be_vec)		 tb="$tb pe-mcore.lo peigen.lo $coff" ;;
   15938     mcore_pe_le_vec)		 tb="$tb pe-mcore.lo peigen.lo $coff" ;;
   15939     mcore_pei_be_vec)		 tb="$tb pei-mcore.lo peigen.lo $coff" ;;
   15940     mcore_pei_le_vec)		 tb="$tb pei-mcore.lo peigen.lo $coff" ;;
   15941     mep_elf32_vec)		 tb="$tb elf32-mep.lo elf32.lo $elf" ;;
   15942     mep_elf32_le_vec)		 tb="$tb elf32-mep.lo elf32.lo $elf" ;;
   15943     metag_elf32_vec)		 tb="$tb elf32-metag.lo elf32.lo $elf" ;;
   15944     microblaze_elf32_vec)	 tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
   15945     microblaze_elf32_le_vec)	 tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
   15946     mips_ecoff_be_vec)		 tb="$tb coff-mips.lo ecoff.lo $ecoff" ;;
   15947     mips_ecoff_le_vec)		 tb="$tb coff-mips.lo ecoff.lo $ecoff" ;;
   15948     mips_ecoff_bele_vec)	 tb="$tb coff-mips.lo ecoff.lo $ecoff" ;;
   15949     mips_elf32_be_vec)		 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15950     mips_elf32_le_vec)		 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15951     mips_elf32_n_be_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   15952     mips_elf32_n_le_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   15953     mips_elf32_ntrad_be_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; ;;
   15954     mips_elf32_ntrad_le_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; ;;
   15955     mips_elf32_ntradfbsd_be_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   15956     mips_elf32_ntradfbsd_le_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   15957     mips_elf32_trad_be_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15958     mips_elf32_trad_le_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15959     mips_elf32_tradfbsd_be_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15960     mips_elf32_tradfbsd_le_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15961     mips_elf32_vxworks_be_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15962     mips_elf32_vxworks_le_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15963     mips_elf64_be_vec)		 tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   15964     mips_elf64_le_vec)		 tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   15965     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 ;;
   15966     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 ;;
   15967     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 ;;
   15968     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 ;;
   15969     mmix_elf64_vec)		 tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
   15970     mmix_mmo_vec)			 tb="$tb mmo.lo" target_size=64 ;;
   15971     mn10200_elf32_vec)		 tb="$tb elf-m10200.lo elf32.lo $elf" ;;
   15972     mn10300_elf32_vec)		 tb="$tb elf-m10300.lo elf32.lo $elf" ;;
   15973     moxie_elf32_be_vec)		 tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
   15974     moxie_elf32_le_vec)		 tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
   15975     msp430_elf32_vec)		 tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
   15976     msp430_elf32_ti_vec)	 tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
   15977     mt_elf32_vec)		 tb="$tb elf32-mt.lo elf32.lo $elf" ;;
   15978     nds32_elf32_be_vec)		 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   15979     nds32_elf32_le_vec)		 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   15980     nds32_elf32_linux_be_vec)	 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   15981     nds32_elf32_linux_le_vec)	 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   15982     nfp_elf64_vec)		 tb="$tb elf64-nfp.lo elf64.lo $elf" ;;
   15983     nios2_elf32_be_vec)		 tb="$tb elf32-nios2.lo elf32.lo $elf" ;;
   15984     nios2_elf32_le_vec)		 tb="$tb elf32-nios2.lo elf32.lo $elf" ;;
   15985     ns32k_aout_pc532mach_vec)	 tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
   15986     ns32k_aout_pc532nbsd_vec)	 tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
   15987     or1k_elf32_vec)		 tb="$tb elf32-or1k.lo elf32.lo $elf" ;;
   15988     pdb_vec)			 tb="$tb pdb.lo" ;;
   15989     pdp11_aout_vec)		 tb="$tb pdp11.lo" ;;
   15990     pef_vec)			 tb="$tb pef.lo" ;;
   15991     pef_xlib_vec)		 tb="$tb pef.lo" ;;
   15992     pj_elf32_vec)		 tb="$tb elf32-pj.lo elf32.lo $elf" ;;
   15993     pj_elf32_le_vec)		 tb="$tb elf32-pj.lo elf32.lo $elf" ;;
   15994     powerpc_boot_vec)		 tb="$tb ppcboot.lo" ;;
   15995     powerpc_elf32_vec)		 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   15996     powerpc_elf32_le_vec)	 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   15997     powerpc_elf32_fbsd_vec)	 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   15998     powerpc_elf32_vxworks_vec)	 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   15999     powerpc_elf64_vec)		 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
   16000     powerpc_elf64_le_vec)	 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
   16001     powerpc_elf64_fbsd_vec)	 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
   16002     powerpc_elf64_fbsd_le_vec)	 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
   16003     powerpc_xcoff_vec)		 tb="$tb coff-rs6000.lo $xcoff" ;;
   16004     pru_elf32_vec)		 tb="$tb elf32-pru.lo elf32.lo $elf" ;;
   16005     riscv_elf32_vec)		 tb="$tb elf32-riscv.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf" ;;
   16006     riscv_elf64_vec)		 tb="$tb elf64-riscv.lo elf64.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
   16007     riscv_elf32_be_vec)		 tb="$tb elf32-riscv.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf" ;;
   16008     riscv_elf64_be_vec)		 tb="$tb elf64-riscv.lo elf64.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
   16009     riscv64_pei_vec)		 tb="$tb pei-riscv64.lo pe-riscv64igen.lo $coff"; target_size=64 ;;
   16010     rl78_elf32_vec)		 tb="$tb elf32-rl78.lo elf32.lo $elf" ;;
   16011     rs6000_xcoff64_vec)		 tb="$tb coff64-rs6000.lo aix5ppc-core.lo $xcoff"; target_size=64 ;;
   16012     rs6000_xcoff64_aix_vec)	 tb="$tb coff64-rs6000.lo aix5ppc-core.lo $xcoff"; target_size=64 ;;
   16013     rs6000_xcoff_vec)		 tb="$tb coff-rs6000.lo $xcoff" ;;
   16014     rx_elf32_be_vec)		 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   16015     rx_elf32_be_ns_vec)		 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   16016     rx_elf32_le_vec)		 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   16017     rx_elf32_linux_le_vec)	 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   16018     s390_elf32_vec)		 tb="$tb elf32-s390.lo elf32.lo $elf" ;;
   16019     s390_elf64_vec)		 tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;;
   16020     score_elf32_be_vec)		 tb="$tb elf32-score.lo elf32-score7.lo elf32.lo elf64.lo $elf"; want64=true; target_size=64 ;;
   16021     score_elf32_le_vec)		 tb="$tb elf32-score.lo elf32-score7.lo elf32.lo elf64.lo $elf"; want64=true; target_size=64 ;;
   16022     sh_coff_vec)		 tb="$tb coff-sh.lo $coff" ;;
   16023     sh_coff_le_vec)		 tb="$tb coff-sh.lo $coff" ;;
   16024     sh_coff_small_vec)		 tb="$tb coff-sh.lo $coff" ;;
   16025     sh_coff_small_le_vec)	 tb="$tb coff-sh.lo $coff" ;;
   16026     sh_elf32_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16027     sh_elf32_le_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16028     sh_elf32_fdpic_be_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16029     sh_elf32_fdpic_le_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16030     sh_elf32_linux_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16031     sh_elf32_linux_be_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16032     sh_elf32_nbsd_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16033     sh_elf32_nbsd_le_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16034     sh_elf32_vxworks_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16035     sh_elf32_vxworks_le_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16036     sh_pe_le_vec)		 tb="$tb pe-sh.lo coff-sh.lo peigen.lo $coff" ;;
   16037     sh_pei_le_vec)		 tb="$tb pei-sh.lo coff-sh.lo peigen.lo $coff" ;;
   16038     sparc_elf32_vec)		 tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
   16039     sparc_elf32_sol2_vec)	 tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
   16040     sparc_elf32_vxworks_vec)	 tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
   16041     sparc_elf64_vec)		 tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
   16042     sparc_elf64_fbsd_vec)	 tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
   16043     sparc_elf64_sol2_vec)	 tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
   16044     spu_elf32_vec)		 tb="$tb elf32-spu.lo elf32.lo $elf" ;;
   16045     sym_vec)			 tb="$tb xsym.lo" ;;
   16046     tic30_coff_vec)		 tb="$tb coff-tic30.lo $coffgen" ;;
   16047     tic4x_coff0_vec)		 tb="$tb coff-tic4x.lo $coffgen" ;;
   16048     tic4x_coff0_beh_vec)	 tb="$tb coff-tic4x.lo $coffgen" ;;
   16049     tic4x_coff1_vec)		 tb="$tb coff-tic4x.lo $coffgen" ;;
   16050     tic4x_coff1_beh_vec)	 tb="$tb coff-tic4x.lo $coffgen" ;;
   16051     tic4x_coff2_vec)		 tb="$tb coff-tic4x.lo $coffgen" ;;
   16052     tic4x_coff2_beh_vec)	 tb="$tb coff-tic4x.lo $coffgen" ;;
   16053     tic54x_coff0_vec)		 tb="$tb coff-tic54x.lo $coffgen" ;;
   16054     tic54x_coff0_beh_vec)	 tb="$tb coff-tic54x.lo $coffgen" ;;
   16055     tic54x_coff1_vec)		 tb="$tb coff-tic54x.lo $coffgen" ;;
   16056     tic54x_coff1_beh_vec)	 tb="$tb coff-tic54x.lo $coffgen" ;;
   16057     tic54x_coff2_vec)		 tb="$tb coff-tic54x.lo $coffgen" ;;
   16058     tic54x_coff2_beh_vec)	 tb="$tb coff-tic54x.lo $coffgen" ;;
   16059     tic6x_elf32_be_vec)		 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   16060     tic6x_elf32_le_vec)		 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   16061     tic6x_elf32_c6000_be_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   16062     tic6x_elf32_c6000_le_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   16063     tic6x_elf32_linux_be_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   16064     tic6x_elf32_linux_le_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   16065     tilegx_elf32_be_vec)	 tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
   16066     tilegx_elf32_le_vec)	 tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
   16067     tilegx_elf64_be_vec)	 tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
   16068     tilegx_elf64_le_vec)	 tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
   16069     tilepro_elf32_vec)		 tb="$tb elf32-tilepro.lo elf32.lo $elf" ;;
   16070     v800_elf32_vec)		 tb="$tb elf32-v850.lo elf32.lo $elf" ;;
   16071     v850_elf32_vec)		 tb="$tb elf32-v850.lo elf32.lo $elf" ;;
   16072     vax_aout_1knbsd_vec)	 tb="$tb vax1knetbsd.lo aout32.lo" ;;
   16073     vax_aout_nbsd_vec)		 tb="$tb vaxnetbsd.lo aout32.lo" ;;
   16074     vax_elf32_vec)		 tb="$tb elf32-vax.lo elf32.lo $elf" ;;
   16075     ft32_elf32_vec)		 tb="$tb elf32-ft32.lo elf32.lo $elf" ;;
   16076     visium_elf32_vec)		 tb="$tb elf32-visium.lo elf32.lo $elf" ;;
   16077     wasm_vec)                    tb="$tb wasm-module.lo" ;;
   16078     wasm32_elf32_vec)            tb="$tb elf32-wasm32.lo elf32.lo $elf" ;;
   16079     x86_64_coff_vec)		 tb="$tb coff-x86_64.lo $coff"; target_size=64 ;;
   16080     x86_64_elf32_vec)		 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo elf32.lo $elf"; target_size=64 ;;
   16081     x86_64_elf64_vec)		 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   16082     x86_64_elf64_cloudabi_vec)	 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   16083     x86_64_elf64_fbsd_vec)	 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   16084     x86_64_elf64_sol2_vec)	 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   16085     x86_64_mach_o_vec)		 tb="$tb mach-o-x86-64.lo" ;;
   16086     x86_64_pe_vec)		 tb="$tb pe-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
   16087     x86_64_pe_big_vec)		 tb="$tb pe-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
   16088     x86_64_pei_vec)		 tb="$tb pei-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
   16089     xgate_elf32_vec)		 tb="$tb elf32-xgate.lo elf32.lo $elf" ;;
   16090     xstormy16_elf32_vec)	 tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
   16091     xtensa_elf32_be_vec)	 tb="$tb xtensa-dynconfig.lo xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
   16092     xtensa_elf32_le_vec)	 tb="$tb xtensa-dynconfig.lo xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
   16093     z80_coff_vec)		 tb="$tb coff-z80.lo reloc16.lo $coffgen" ;;
   16094     z80_elf32_vec)		 tb="$tb elf32-z80.lo elf32.lo $elf" ;;
   16095     z8k_coff_vec)		 tb="$tb coff-z8k.lo reloc16.lo $coff" ;;
   16096 
   16097     # These appear out of order in targets.c
   16098     srec_vec)			 tb="$tb srec.lo" ;;
   16099     symbolsrec_vec)		 tb="$tb srec.lo" ;;
   16100     tekhex_vec)			 tb="$tb tekhex.lo" ;;
   16101     core_cisco_be_vec)		 tb="$tb cisco-core.lo" ;;
   16102     core_cisco_le_vec)		 tb="$tb cisco-core.lo" ;;
   16103 
   16104     "")				 ;;
   16105     *) as_fn_error $? "*** unknown target vector $vec" "$LINENO" 5 ;;
   16106     esac
   16107 
   16108     if test ${target_size} = 64; then
   16109 	target64=true
   16110     fi
   16111     if test x"${vec}" = x"${defvec}"; then
   16112 	bfd_default_target_size=${target_size}
   16113     fi
   16114 done
   16115 
   16116 if test "$plugins" = "yes"; then
   16117      tb="$tb plugin.lo"
   16118 fi
   16119 
   16120 # Target architecture .o files.
   16121 # A couple of CPUs use shorter file names to avoid problems on DOS
   16122 # filesystems.
   16123 ta=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
   16124 
   16125 # Weed out duplicate .o files.
   16126 f=""
   16127 for i in $tb ; do
   16128     case " $f " in
   16129     *" $i "*) ;;
   16130     *) f="$f $i" ;;
   16131     esac
   16132 done
   16133 tb="$f"
   16134 
   16135 f=""
   16136 for i in $ta ; do
   16137     case " $f " in
   16138     *" $i "*) ;;
   16139     *) f="$f $i" ;;
   16140     esac
   16141 done
   16142 ta="$f"
   16143 
   16144 bfd_backends="$tb"
   16145 bfd_machines="$ta"
   16146 
   16147 if test x${all_targets} = xtrue ; then
   16148   bfd_backends="${bfd_backends}"' $(ALL_BACKENDS)'
   16149   bfd_machines="${bfd_machines}"' $(ALL_MACHINES)'
   16150   selvecs=
   16151   havevecs=-DHAVE_all_vecs
   16152   selarchs=
   16153   test -n "$assocvecs" &&
   16154     assocvecs=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
   16155 else	# all_targets is true
   16156   # Only set these if they will be nonempty, for the clever echo.
   16157   havevecs=
   16158   assocvecs=
   16159   test -n "$selvecs" &&
   16160     havevecs=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
   16161   test -n "$selvecs" &&
   16162     selvecs=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
   16163   test -n "$selarchs" &&
   16164     selarchs=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
   16165 fi	# all_targets is true
   16166 
   16167 # 64-bit archives need a 64-bit bfd_vma.
   16168 if test "x$want_64_bit_archive" = xtrue; then
   16169   want64=true
   16170 
   16171 $as_echo "#define USE_64_BIT_ARCHIVE 1" >>confdefs.h
   16172 
   16173 fi
   16174 
   16175 case ${host64}-${target64}-${want64} in
   16176   *true*)
   16177     wordsize=64
   16178     bfd64_libs='$(BFD64_LIBS)'
   16179     all_backends='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
   16180     if test -n "$GCC" ; then
   16181        bad_64bit_gcc=no;
   16182        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc version with buggy 64-bit support" >&5
   16183 $as_echo_n "checking for gcc version with buggy 64-bit support... " >&6; }
   16184        # Add more tests for gcc versions with non-working 64-bit support here.
   16185        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16186 /* end confdefs.h.  */
   16187 :__GNUC__:__GNUC_MINOR__:__i386__:
   16188 _ACEOF
   16189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   16190   $EGREP ": 2 : 91 : 1 :" >/dev/null 2>&1; then :
   16191   bad_64bit_gcc=yes;
   16192 		    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes: egcs-1.1.2 on ix86 spotted" >&5
   16193 $as_echo "yes: egcs-1.1.2 on ix86 spotted" >&6; }
   16194 else
   16195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16196 $as_echo "no" >&6; }
   16197 fi
   16198 rm -f conftest*
   16199 
   16200        if test $bad_64bit_gcc = yes ; then
   16201 	 as_fn_error $? "A newer version of gcc is needed for the requested 64-bit BFD configuration" "$LINENO" 5
   16202        fi
   16203     fi
   16204     ;;
   16205   false-false-false)
   16206     wordsize=32
   16207     all_backends='$(BFD32_BACKENDS)'
   16208     ;;
   16209 esac
   16210 
   16211 tdefaults=""
   16212 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
   16213 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
   16214 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
   16215 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
   16216 
   16217 
   16218 
   16219 
   16220 
   16221 
   16222 
   16223 
   16224 
   16225 
   16226 # If we are configured native, pick a core file support file.
   16227 COREFILE=
   16228 COREFLAG=
   16229 CORE_HEADER=
   16230 TRAD_HEADER=
   16231 if test "${target}" = "${host}"; then
   16232   case "${host}" in
   16233   alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu | alpha*-*-*vms*)
   16234 	COREFILE=''
   16235 	;;
   16236   alpha*-*-linux-*)
   16237 	COREFILE=trad-core.lo
   16238 	TRAD_HEADER='"hosts/alphalinux.h"'
   16239 	;;
   16240   alpha*-*-netbsd* | alpha*-*-openbsd*)
   16241 	COREFILE=netbsd-core.lo
   16242 	;;
   16243   alpha*-*-*)
   16244         COREFILE=osf-core.lo
   16245 	;;
   16246   arm-*-freebsd* | arm-*-kfreebsd*-gnu)
   16247 	COREFILE='' ;;
   16248   arm*-*-netbsd* | arm-*-openbsd*)
   16249 	COREFILE=netbsd-core.lo
   16250 	;;
   16251   hppa*-*-hpux*)	COREFILE=hpux-core.lo ;;
   16252   hppa*-*-hiux*)	COREFILE=hpux-core.lo ;;
   16253   hppa*-*-mpeix*)	COREFILE=hpux-core.lo ;;
   16254   hppa*-*-bsd*)		COREFILE="hpux-core.lo hppabsd-core.lo"
   16255 			COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;;
   16256   hppa*-*-netbsd* | hppa*-*-openbsd*)
   16257 	COREFILE=netbsd-core.lo
   16258 	;;
   16259 
   16260   i[3-7]86-*-bsdi)
   16261 	COREFILE=
   16262 	;;
   16263   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]\.*)
   16264 	COREFILE=trad-core.lo
   16265 	TRAD_HEADER='"hosts/i386bsd.h"'
   16266 	;;
   16267   i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu | i[3-7]86-*-dragonfly*)
   16268 	COREFILE=''
   16269 	TRAD_HEADER='"hosts/i386bsd.h"'
   16270 	;;
   16271   i[3-7]86-*-netbsd* | i[3-7]86-*-knetbsd*-gnu | i[3-7]86-*-openbsd*)
   16272 	COREFILE=netbsd-core.lo
   16273 	;;
   16274   i[3-7]86-esix-sysv3*)
   16275 	COREFILE=trad-core.lo
   16276 	TRAD_HEADER='"hosts/esix.h"'
   16277 	;;
   16278   i[3-7]86-*-mach3*)
   16279 	COREFILE=trad-core.lo
   16280 	TRAD_HEADER='"hosts/i386mach3.h"'
   16281 	;;
   16282   i[3-7]86-*-linux-*)
   16283 	COREFILE=trad-core.lo
   16284 	TRAD_HEADER='"hosts/i386linux.h"'
   16285 	case "$enable_targets"-"$want64" in
   16286 	*x86_64-*linux*|*-true)
   16287 	  CORE_HEADER='"hosts/x86-64linux.h"'
   16288 	esac
   16289 	;;
   16290   mips*-*-netbsd* | mips*-*-openbsd*)
   16291 	COREFILE=netbsd-core.lo
   16292 	;;
   16293   mips-*-irix*)
   16294 	COREFILE=irix-core.lo
   16295 	;;
   16296   m68*-*-linux-*)
   16297 	COREFILE=trad-core.lo
   16298 	TRAD_HEADER='"hosts/m68klinux.h"'
   16299 	;;
   16300   m68*-*-netbsd*)
   16301 	COREFILE=netbsd-core.lo
   16302 	;;
   16303   ns32k-pc532-mach)
   16304 	COREFILE=trad-core.lo
   16305 	TRAD_HEADER='"hosts/pc532mach.h"'
   16306 	;;
   16307   ns32k-*-netbsd* | ns32k-*-openbsd*)
   16308 	COREFILE=netbsd-core.lo
   16309 	;;
   16310   riscv*-*-netbsd*)
   16311 	COREFILE=netbsd-core.lo
   16312 	;;
   16313   rs6000-*-lynx*)
   16314 	COREFILE=lynx-core.lo
   16315 	;;
   16316   rs6000-*-aix[5-9].* | powerpc-*-aix[5-9].* | powerpc64-*-aix[5-9].*)
   16317         COREFILE=rs6000-core.lo
   16318 	COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
   16319 	;;
   16320   rs6000-*-aix4.[3-9]* | powerpc-*-aix4.[3-9]*)
   16321         COREFILE=rs6000-core.lo
   16322 	COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
   16323 	# Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
   16324 	# have c_impl as a member of struct core_dumpx
   16325 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for c_impl in struct core_dumpx" >&5
   16326 $as_echo_n "checking for c_impl in struct core_dumpx... " >&6; }
   16327 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16328 /* end confdefs.h.  */
   16329 #include <core.h>
   16330 int
   16331 main ()
   16332 {
   16333 struct core_dumpx c; c.c_impl = 0;
   16334   ;
   16335   return 0;
   16336 }
   16337 _ACEOF
   16338 if ac_fn_c_try_compile "$LINENO"; then :
   16339 
   16340 $as_echo "#define HAVE_ST_C_IMPL 1" >>confdefs.h
   16341 
   16342 	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16343 $as_echo "yes" >&6; }
   16344 else
   16345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16346 $as_echo "no" >&6; }
   16347 fi
   16348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16349 	;;
   16350   rs6000-*-aix4*)	COREFILE=rs6000-core.lo ;;
   16351   rs6000-*-*)		COREFILE=rs6000-core.lo ;;
   16352   powerpc64-*-aix*)	COREFILE=rs6000-core.lo ;;
   16353   powerpc-*-aix4*)	COREFILE=rs6000-core.lo ;;
   16354   powerpc-*-aix*)	COREFILE=rs6000-core.lo ;;
   16355   powerpc-*-beos*)	;;
   16356   powerpc-*-freebsd* | powerpc-*-kfreebsd*-gnu)
   16357 		        COREFILE='' ;;
   16358   powerpc-*-netbsd*)	COREFILE=netbsd-core.lo ;;
   16359   powerpc-*-*bsd*)	COREFILE=netbsd-core.lo ;;
   16360   s390*-*-*)            COREFILE=trad-core.lo ;;
   16361   sh*-*-netbsd* | sh*-*-openbsd*)
   16362 	COREFILE=netbsd-core.lo
   16363 	;;
   16364   sparc-*-netbsd* | sparc*-*-openbsd*)
   16365 	COREFILE=netbsd-core.lo
   16366 	;;
   16367   vax-*-netbsd* | vax-*-openbsd*)
   16368 	COREFILE=netbsd-core.lo
   16369 	;;
   16370   vax-*-linux-*)
   16371 	COREFILE=trad-core.lo
   16372 	TRAD_HEADER='"hosts/vaxlinux.h"'
   16373 	;;
   16374   vax-*-*)
   16375 	COREFILE=trad-core.lo
   16376 	TRAD_HEADER='"hosts/vaxbsd.h"'
   16377 	;;
   16378   x86_64-*-linux*)
   16379 	CORE_HEADER='"hosts/x86-64linux.h"'
   16380 	;;
   16381   x86_64-*-netbsd* | x86_64-*-openbsd*)
   16382 	COREFILE=netbsd-core.lo
   16383 	;;
   16384   esac
   16385 
   16386   case "$COREFILE" in
   16387   hppabsd-core.lo)	COREFLAG=-DHPPABSD_CORE ;;
   16388   hpux-core.lo)		COREFLAG=-DHPUX_CORE ;;
   16389   irix-core.lo)		COREFLAG=-DIRIX_CORE ;;
   16390   lynx-core.lo)		COREFLAG=-DLYNX_CORE ;;
   16391   netbsd-core.lo)	COREFLAG=-DNETBSD_CORE ;;
   16392   osf-core.lo)		COREFLAG=-DOSF_CORE ;;
   16393   ptrace-core.lo)	COREFLAG=-DPTRACE_CORE ;;
   16394   rs6000-core.lo)	COREFLAG="$COREFLAG -DAIX_CORE" ;;
   16395   trad-core.lo)		COREFLAG="$COREFLAG -DTRAD_CORE" ;;
   16396   esac
   16397 
   16398   # ELF corefile support has several flavors, but all of
   16399   # them use something called <sys/procfs.h>
   16400 
   16401 $as_echo "#define _STRUCTURED_PROC 1" >>confdefs.h
   16402 
   16403  for ac_header in sys/procfs.h
   16404 do :
   16405   ac_fn_c_check_header_mongrel "$LINENO" "sys/procfs.h" "ac_cv_header_sys_procfs_h" "$ac_includes_default"
   16406 if test "x$ac_cv_header_sys_procfs_h" = xyes; then :
   16407   cat >>confdefs.h <<_ACEOF
   16408 #define HAVE_SYS_PROCFS_H 1
   16409 _ACEOF
   16410 
   16411 fi
   16412 
   16413 done
   16414 
   16415   if test "$ac_cv_header_sys_procfs_h" = yes; then
   16416 
   16417  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus_t in sys/procfs.h" >&5
   16418 $as_echo_n "checking for prstatus_t in sys/procfs.h... " >&6; }
   16419  if ${bfd_cv_have_sys_procfs_type_prstatus_t+:} false; then :
   16420   $as_echo_n "(cached) " >&6
   16421 else
   16422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16423 /* end confdefs.h.  */
   16424 
   16425 #define _SYSCALL32
   16426 #include <sys/procfs.h>
   16427 int
   16428 main ()
   16429 {
   16430 prstatus_t avar
   16431   ;
   16432   return 0;
   16433 }
   16434 _ACEOF
   16435 if ac_fn_c_try_compile "$LINENO"; then :
   16436   bfd_cv_have_sys_procfs_type_prstatus_t=yes
   16437 else
   16438   bfd_cv_have_sys_procfs_type_prstatus_t=no
   16439 
   16440 fi
   16441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16442 fi
   16443 
   16444  if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
   16445 
   16446 $as_echo "#define HAVE_PRSTATUS_T 1" >>confdefs.h
   16447 
   16448  fi
   16449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
   16450 $as_echo "$bfd_cv_have_sys_procfs_type_prstatus_t" >&6; }
   16451 
   16452 
   16453  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus32_t in sys/procfs.h" >&5
   16454 $as_echo_n "checking for prstatus32_t in sys/procfs.h... " >&6; }
   16455  if ${bfd_cv_have_sys_procfs_type_prstatus32_t+:} false; then :
   16456   $as_echo_n "(cached) " >&6
   16457 else
   16458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16459 /* end confdefs.h.  */
   16460 
   16461 #define _SYSCALL32
   16462 #include <sys/procfs.h>
   16463 int
   16464 main ()
   16465 {
   16466 prstatus32_t avar
   16467   ;
   16468   return 0;
   16469 }
   16470 _ACEOF
   16471 if ac_fn_c_try_compile "$LINENO"; then :
   16472   bfd_cv_have_sys_procfs_type_prstatus32_t=yes
   16473 else
   16474   bfd_cv_have_sys_procfs_type_prstatus32_t=no
   16475 
   16476 fi
   16477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16478 fi
   16479 
   16480  if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
   16481 
   16482 $as_echo "#define HAVE_PRSTATUS32_T 1" >>confdefs.h
   16483 
   16484  fi
   16485  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
   16486 $as_echo "$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6; }
   16487 
   16488 
   16489  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus_t.pr_who in sys/procfs.h" >&5
   16490 $as_echo_n "checking for prstatus_t.pr_who in sys/procfs.h... " >&6; }
   16491  if ${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+:} false; then :
   16492   $as_echo_n "(cached) " >&6
   16493 else
   16494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16495 /* end confdefs.h.  */
   16496 
   16497 #define _SYSCALL32
   16498 #include <sys/procfs.h>
   16499 int
   16500 main ()
   16501 {
   16502 prstatus_t avar; void* aref = (void*) &avar.pr_who
   16503   ;
   16504   return 0;
   16505 }
   16506 _ACEOF
   16507 if ac_fn_c_try_compile "$LINENO"; then :
   16508   bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
   16509 else
   16510   bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no
   16511 
   16512 fi
   16513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16514 fi
   16515 
   16516  if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
   16517 
   16518 $as_echo "#define HAVE_PRSTATUS_T_PR_WHO 1" >>confdefs.h
   16519 
   16520  fi
   16521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
   16522 $as_echo "$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6; }
   16523 
   16524 
   16525  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
   16526 $as_echo_n "checking for prstatus32_t.pr_who in sys/procfs.h... " >&6; }
   16527  if ${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+:} false; then :
   16528   $as_echo_n "(cached) " >&6
   16529 else
   16530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16531 /* end confdefs.h.  */
   16532 
   16533 #define _SYSCALL32
   16534 #include <sys/procfs.h>
   16535 int
   16536 main ()
   16537 {
   16538 prstatus32_t avar; void* aref = (void*) &avar.pr_who
   16539   ;
   16540   return 0;
   16541 }
   16542 _ACEOF
   16543 if ac_fn_c_try_compile "$LINENO"; then :
   16544   bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
   16545 else
   16546   bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no
   16547 
   16548 fi
   16549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16550 fi
   16551 
   16552  if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
   16553 
   16554 $as_echo "#define HAVE_PRSTATUS32_T_PR_WHO 1" >>confdefs.h
   16555 
   16556  fi
   16557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
   16558 $as_echo "$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6; }
   16559 
   16560 
   16561  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pstatus_t in sys/procfs.h" >&5
   16562 $as_echo_n "checking for pstatus_t in sys/procfs.h... " >&6; }
   16563  if ${bfd_cv_have_sys_procfs_type_pstatus_t+:} false; then :
   16564   $as_echo_n "(cached) " >&6
   16565 else
   16566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16567 /* end confdefs.h.  */
   16568 
   16569 #define _SYSCALL32
   16570 #include <sys/procfs.h>
   16571 int
   16572 main ()
   16573 {
   16574 pstatus_t avar
   16575   ;
   16576   return 0;
   16577 }
   16578 _ACEOF
   16579 if ac_fn_c_try_compile "$LINENO"; then :
   16580   bfd_cv_have_sys_procfs_type_pstatus_t=yes
   16581 else
   16582   bfd_cv_have_sys_procfs_type_pstatus_t=no
   16583 
   16584 fi
   16585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16586 fi
   16587 
   16588  if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
   16589 
   16590 $as_echo "#define HAVE_PSTATUS_T 1" >>confdefs.h
   16591 
   16592  fi
   16593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
   16594 $as_echo "$bfd_cv_have_sys_procfs_type_pstatus_t" >&6; }
   16595 
   16596 
   16597  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pxstatus_t in sys/procfs.h" >&5
   16598 $as_echo_n "checking for pxstatus_t in sys/procfs.h... " >&6; }
   16599  if ${bfd_cv_have_sys_procfs_type_pxstatus_t+:} false; then :
   16600   $as_echo_n "(cached) " >&6
   16601 else
   16602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16603 /* end confdefs.h.  */
   16604 
   16605 #define _SYSCALL32
   16606 #include <sys/procfs.h>
   16607 int
   16608 main ()
   16609 {
   16610 pxstatus_t avar
   16611   ;
   16612   return 0;
   16613 }
   16614 _ACEOF
   16615 if ac_fn_c_try_compile "$LINENO"; then :
   16616   bfd_cv_have_sys_procfs_type_pxstatus_t=yes
   16617 else
   16618   bfd_cv_have_sys_procfs_type_pxstatus_t=no
   16619 
   16620 fi
   16621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16622 fi
   16623 
   16624  if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
   16625 
   16626 $as_echo "#define HAVE_PXSTATUS_T 1" >>confdefs.h
   16627 
   16628  fi
   16629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
   16630 $as_echo "$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6; }
   16631 
   16632 
   16633  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pstatus32_t in sys/procfs.h" >&5
   16634 $as_echo_n "checking for pstatus32_t in sys/procfs.h... " >&6; }
   16635  if ${bfd_cv_have_sys_procfs_type_pstatus32_t+:} false; then :
   16636   $as_echo_n "(cached) " >&6
   16637 else
   16638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16639 /* end confdefs.h.  */
   16640 
   16641 #define _SYSCALL32
   16642 #include <sys/procfs.h>
   16643 int
   16644 main ()
   16645 {
   16646 pstatus32_t avar
   16647   ;
   16648   return 0;
   16649 }
   16650 _ACEOF
   16651 if ac_fn_c_try_compile "$LINENO"; then :
   16652   bfd_cv_have_sys_procfs_type_pstatus32_t=yes
   16653 else
   16654   bfd_cv_have_sys_procfs_type_pstatus32_t=no
   16655 
   16656 fi
   16657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16658 fi
   16659 
   16660  if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
   16661 
   16662 $as_echo "#define HAVE_PSTATUS32_T 1" >>confdefs.h
   16663 
   16664  fi
   16665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
   16666 $as_echo "$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6; }
   16667 
   16668 
   16669  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo_t in sys/procfs.h" >&5
   16670 $as_echo_n "checking for prpsinfo_t in sys/procfs.h... " >&6; }
   16671  if ${bfd_cv_have_sys_procfs_type_prpsinfo_t+:} false; then :
   16672   $as_echo_n "(cached) " >&6
   16673 else
   16674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16675 /* end confdefs.h.  */
   16676 
   16677 #define _SYSCALL32
   16678 #include <sys/procfs.h>
   16679 int
   16680 main ()
   16681 {
   16682 prpsinfo_t avar
   16683   ;
   16684   return 0;
   16685 }
   16686 _ACEOF
   16687 if ac_fn_c_try_compile "$LINENO"; then :
   16688   bfd_cv_have_sys_procfs_type_prpsinfo_t=yes
   16689 else
   16690   bfd_cv_have_sys_procfs_type_prpsinfo_t=no
   16691 
   16692 fi
   16693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16694 fi
   16695 
   16696  if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
   16697 
   16698 $as_echo "#define HAVE_PRPSINFO_T 1" >>confdefs.h
   16699 
   16700  fi
   16701  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
   16702 $as_echo "$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6; }
   16703 
   16704 
   16705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo_t.pr_pid in sys/procfs.h" >&5
   16706 $as_echo_n "checking for prpsinfo_t.pr_pid in sys/procfs.h... " >&6; }
   16707  if ${bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid+:} false; then :
   16708   $as_echo_n "(cached) " >&6
   16709 else
   16710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16711 /* end confdefs.h.  */
   16712 
   16713 #define _SYSCALL32
   16714 #include <sys/procfs.h>
   16715 int
   16716 main ()
   16717 {
   16718 prpsinfo_t avar; void* aref = (void*) &avar.pr_pid
   16719   ;
   16720   return 0;
   16721 }
   16722 _ACEOF
   16723 if ac_fn_c_try_compile "$LINENO"; then :
   16724   bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid=yes
   16725 else
   16726   bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid=no
   16727 
   16728 fi
   16729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16730 fi
   16731 
   16732  if test $bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid = yes; then
   16733 
   16734 $as_echo "#define HAVE_PRPSINFO_T_PR_PID 1" >>confdefs.h
   16735 
   16736  fi
   16737  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid" >&5
   16738 $as_echo "$bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid" >&6; }
   16739 
   16740 
   16741  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo32_t in sys/procfs.h" >&5
   16742 $as_echo_n "checking for prpsinfo32_t in sys/procfs.h... " >&6; }
   16743  if ${bfd_cv_have_sys_procfs_type_prpsinfo32_t+:} false; then :
   16744   $as_echo_n "(cached) " >&6
   16745 else
   16746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16747 /* end confdefs.h.  */
   16748 
   16749 #define _SYSCALL32
   16750 #include <sys/procfs.h>
   16751 int
   16752 main ()
   16753 {
   16754 prpsinfo32_t avar
   16755   ;
   16756   return 0;
   16757 }
   16758 _ACEOF
   16759 if ac_fn_c_try_compile "$LINENO"; then :
   16760   bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes
   16761 else
   16762   bfd_cv_have_sys_procfs_type_prpsinfo32_t=no
   16763 
   16764 fi
   16765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16766 fi
   16767 
   16768  if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
   16769 
   16770 $as_echo "#define HAVE_PRPSINFO32_T 1" >>confdefs.h
   16771 
   16772  fi
   16773  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
   16774 $as_echo "$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6; }
   16775 
   16776 
   16777  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo32_t.pr_pid in sys/procfs.h" >&5
   16778 $as_echo_n "checking for prpsinfo32_t.pr_pid in sys/procfs.h... " >&6; }
   16779  if ${bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid+:} false; then :
   16780   $as_echo_n "(cached) " >&6
   16781 else
   16782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16783 /* end confdefs.h.  */
   16784 
   16785 #define _SYSCALL32
   16786 #include <sys/procfs.h>
   16787 int
   16788 main ()
   16789 {
   16790 prpsinfo32_t avar; void* aref = (void*) &avar.pr_pid
   16791   ;
   16792   return 0;
   16793 }
   16794 _ACEOF
   16795 if ac_fn_c_try_compile "$LINENO"; then :
   16796   bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid=yes
   16797 else
   16798   bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid=no
   16799 
   16800 fi
   16801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16802 fi
   16803 
   16804  if test $bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid = yes; then
   16805 
   16806 $as_echo "#define HAVE_PRPSINFO32_T_PR_PID 1" >>confdefs.h
   16807 
   16808  fi
   16809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid" >&5
   16810 $as_echo "$bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid" >&6; }
   16811 
   16812 
   16813  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo_t in sys/procfs.h" >&5
   16814 $as_echo_n "checking for psinfo_t in sys/procfs.h... " >&6; }
   16815  if ${bfd_cv_have_sys_procfs_type_psinfo_t+:} false; then :
   16816   $as_echo_n "(cached) " >&6
   16817 else
   16818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16819 /* end confdefs.h.  */
   16820 
   16821 #define _SYSCALL32
   16822 #include <sys/procfs.h>
   16823 int
   16824 main ()
   16825 {
   16826 psinfo_t avar
   16827   ;
   16828   return 0;
   16829 }
   16830 _ACEOF
   16831 if ac_fn_c_try_compile "$LINENO"; then :
   16832   bfd_cv_have_sys_procfs_type_psinfo_t=yes
   16833 else
   16834   bfd_cv_have_sys_procfs_type_psinfo_t=no
   16835 
   16836 fi
   16837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16838 fi
   16839 
   16840  if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
   16841 
   16842 $as_echo "#define HAVE_PSINFO_T 1" >>confdefs.h
   16843 
   16844  fi
   16845  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
   16846 $as_echo "$bfd_cv_have_sys_procfs_type_psinfo_t" >&6; }
   16847 
   16848 
   16849  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo_t.pr_pid in sys/procfs.h" >&5
   16850 $as_echo_n "checking for psinfo_t.pr_pid in sys/procfs.h... " >&6; }
   16851  if ${bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid+:} false; then :
   16852   $as_echo_n "(cached) " >&6
   16853 else
   16854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16855 /* end confdefs.h.  */
   16856 
   16857 #define _SYSCALL32
   16858 #include <sys/procfs.h>
   16859 int
   16860 main ()
   16861 {
   16862 psinfo_t avar; void* aref = (void*) &avar.pr_pid
   16863   ;
   16864   return 0;
   16865 }
   16866 _ACEOF
   16867 if ac_fn_c_try_compile "$LINENO"; then :
   16868   bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid=yes
   16869 else
   16870   bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid=no
   16871 
   16872 fi
   16873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16874 fi
   16875 
   16876  if test $bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid = yes; then
   16877 
   16878 $as_echo "#define HAVE_PSINFO_T_PR_PID 1" >>confdefs.h
   16879 
   16880  fi
   16881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid" >&5
   16882 $as_echo "$bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid" >&6; }
   16883 
   16884 
   16885  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo32_t in sys/procfs.h" >&5
   16886 $as_echo_n "checking for psinfo32_t in sys/procfs.h... " >&6; }
   16887  if ${bfd_cv_have_sys_procfs_type_psinfo32_t+:} false; then :
   16888   $as_echo_n "(cached) " >&6
   16889 else
   16890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16891 /* end confdefs.h.  */
   16892 
   16893 #define _SYSCALL32
   16894 #include <sys/procfs.h>
   16895 int
   16896 main ()
   16897 {
   16898 psinfo32_t avar
   16899   ;
   16900   return 0;
   16901 }
   16902 _ACEOF
   16903 if ac_fn_c_try_compile "$LINENO"; then :
   16904   bfd_cv_have_sys_procfs_type_psinfo32_t=yes
   16905 else
   16906   bfd_cv_have_sys_procfs_type_psinfo32_t=no
   16907 
   16908 fi
   16909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16910 fi
   16911 
   16912  if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
   16913 
   16914 $as_echo "#define HAVE_PSINFO32_T 1" >>confdefs.h
   16915 
   16916  fi
   16917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
   16918 $as_echo "$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6; }
   16919 
   16920 
   16921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo32_t.pr_pid in sys/procfs.h" >&5
   16922 $as_echo_n "checking for psinfo32_t.pr_pid in sys/procfs.h... " >&6; }
   16923  if ${bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid+:} false; then :
   16924   $as_echo_n "(cached) " >&6
   16925 else
   16926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16927 /* end confdefs.h.  */
   16928 
   16929 #define _SYSCALL32
   16930 #include <sys/procfs.h>
   16931 int
   16932 main ()
   16933 {
   16934 psinfo32_t avar; void* aref = (void*) &avar.pr_pid
   16935   ;
   16936   return 0;
   16937 }
   16938 _ACEOF
   16939 if ac_fn_c_try_compile "$LINENO"; then :
   16940   bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid=yes
   16941 else
   16942   bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid=no
   16943 
   16944 fi
   16945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16946 fi
   16947 
   16948  if test $bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid = yes; then
   16949 
   16950 $as_echo "#define HAVE_PSINFO32_T_PR_PID 1" >>confdefs.h
   16951 
   16952  fi
   16953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid" >&5
   16954 $as_echo "$bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid" >&6; }
   16955 
   16956 
   16957  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t in sys/procfs.h" >&5
   16958 $as_echo_n "checking for lwpstatus_t in sys/procfs.h... " >&6; }
   16959  if ${bfd_cv_have_sys_procfs_type_lwpstatus_t+:} false; then :
   16960   $as_echo_n "(cached) " >&6
   16961 else
   16962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16963 /* end confdefs.h.  */
   16964 
   16965 #define _SYSCALL32
   16966 #include <sys/procfs.h>
   16967 int
   16968 main ()
   16969 {
   16970 lwpstatus_t avar
   16971   ;
   16972   return 0;
   16973 }
   16974 _ACEOF
   16975 if ac_fn_c_try_compile "$LINENO"; then :
   16976   bfd_cv_have_sys_procfs_type_lwpstatus_t=yes
   16977 else
   16978   bfd_cv_have_sys_procfs_type_lwpstatus_t=no
   16979 
   16980 fi
   16981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16982 fi
   16983 
   16984  if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
   16985 
   16986 $as_echo "#define HAVE_LWPSTATUS_T 1" >>confdefs.h
   16987 
   16988  fi
   16989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
   16990 $as_echo "$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6; }
   16991 
   16992 
   16993  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpxstatus_t in sys/procfs.h" >&5
   16994 $as_echo_n "checking for lwpxstatus_t in sys/procfs.h... " >&6; }
   16995  if ${bfd_cv_have_sys_procfs_type_lwpxstatus_t+:} false; then :
   16996   $as_echo_n "(cached) " >&6
   16997 else
   16998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16999 /* end confdefs.h.  */
   17000 
   17001 #define _SYSCALL32
   17002 #include <sys/procfs.h>
   17003 int
   17004 main ()
   17005 {
   17006 lwpxstatus_t avar
   17007   ;
   17008   return 0;
   17009 }
   17010 _ACEOF
   17011 if ac_fn_c_try_compile "$LINENO"; then :
   17012   bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes
   17013 else
   17014   bfd_cv_have_sys_procfs_type_lwpxstatus_t=no
   17015 
   17016 fi
   17017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17018 fi
   17019 
   17020  if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
   17021 
   17022 $as_echo "#define HAVE_LWPXSTATUS_T 1" >>confdefs.h
   17023 
   17024  fi
   17025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
   17026 $as_echo "$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6; }
   17027 
   17028 
   17029  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
   17030 $as_echo_n "checking for lwpstatus_t.pr_context in sys/procfs.h... " >&6; }
   17031  if ${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+:} false; then :
   17032   $as_echo_n "(cached) " >&6
   17033 else
   17034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17035 /* end confdefs.h.  */
   17036 
   17037 #define _SYSCALL32
   17038 #include <sys/procfs.h>
   17039 int
   17040 main ()
   17041 {
   17042 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
   17043   ;
   17044   return 0;
   17045 }
   17046 _ACEOF
   17047 if ac_fn_c_try_compile "$LINENO"; then :
   17048   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes
   17049 else
   17050   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no
   17051 
   17052 fi
   17053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17054 fi
   17055 
   17056  if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
   17057 
   17058 $as_echo "#define HAVE_LWPSTATUS_T_PR_CONTEXT 1" >>confdefs.h
   17059 
   17060  fi
   17061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
   17062 $as_echo "$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6; }
   17063 
   17064 
   17065  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
   17066 $as_echo_n "checking for lwpstatus_t.pr_reg in sys/procfs.h... " >&6; }
   17067  if ${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+:} false; then :
   17068   $as_echo_n "(cached) " >&6
   17069 else
   17070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17071 /* end confdefs.h.  */
   17072 
   17073 #define _SYSCALL32
   17074 #include <sys/procfs.h>
   17075 int
   17076 main ()
   17077 {
   17078 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
   17079   ;
   17080   return 0;
   17081 }
   17082 _ACEOF
   17083 if ac_fn_c_try_compile "$LINENO"; then :
   17084   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes
   17085 else
   17086   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no
   17087 
   17088 fi
   17089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17090 fi
   17091 
   17092  if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
   17093 
   17094 $as_echo "#define HAVE_LWPSTATUS_T_PR_REG 1" >>confdefs.h
   17095 
   17096  fi
   17097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
   17098 $as_echo "$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6; }
   17099 
   17100 
   17101  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t.pr_fpreg in sys/procfs.h" >&5
   17102 $as_echo_n "checking for lwpstatus_t.pr_fpreg in sys/procfs.h... " >&6; }
   17103  if ${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg+:} false; then :
   17104   $as_echo_n "(cached) " >&6
   17105 else
   17106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17107 /* end confdefs.h.  */
   17108 
   17109 #define _SYSCALL32
   17110 #include <sys/procfs.h>
   17111 int
   17112 main ()
   17113 {
   17114 lwpstatus_t avar; void* aref = (void*) &avar.pr_fpreg
   17115   ;
   17116   return 0;
   17117 }
   17118 _ACEOF
   17119 if ac_fn_c_try_compile "$LINENO"; then :
   17120   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg=yes
   17121 else
   17122   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg=no
   17123 
   17124 fi
   17125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17126 fi
   17127 
   17128  if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg = yes; then
   17129 
   17130 $as_echo "#define HAVE_LWPSTATUS_T_PR_FPREG 1" >>confdefs.h
   17131 
   17132  fi
   17133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg" >&5
   17134 $as_echo "$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg" >&6; }
   17135 
   17136 
   17137  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for win32_pstatus_t in sys/procfs.h" >&5
   17138 $as_echo_n "checking for win32_pstatus_t in sys/procfs.h... " >&6; }
   17139  if ${bfd_cv_have_sys_procfs_type_win32_pstatus_t+:} false; then :
   17140   $as_echo_n "(cached) " >&6
   17141 else
   17142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17143 /* end confdefs.h.  */
   17144 
   17145 #define _SYSCALL32
   17146 #include <sys/procfs.h>
   17147 int
   17148 main ()
   17149 {
   17150 win32_pstatus_t avar
   17151   ;
   17152   return 0;
   17153 }
   17154 _ACEOF
   17155 if ac_fn_c_try_compile "$LINENO"; then :
   17156   bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes
   17157 else
   17158   bfd_cv_have_sys_procfs_type_win32_pstatus_t=no
   17159 
   17160 fi
   17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17162 fi
   17163 
   17164  if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
   17165 
   17166 $as_echo "#define HAVE_WIN32_PSTATUS_T 1" >>confdefs.h
   17167 
   17168  fi
   17169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
   17170 $as_echo "$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6; }
   17171 
   17172   fi
   17173 fi
   17174 
   17175 
   17176 if test -n "$CORE_HEADER"; then
   17177 
   17178 cat >>confdefs.h <<_ACEOF
   17179 #define CORE_HEADER $CORE_HEADER
   17180 _ACEOF
   17181 
   17182 fi
   17183 if test -n "$TRAD_HEADER"; then
   17184 
   17185 cat >>confdefs.h <<_ACEOF
   17186 #define TRAD_HEADER $TRAD_HEADER
   17187 _ACEOF
   17188 
   17189 fi
   17190 
   17191 if test "$plugins" = "yes"; then
   17192   supports_plugins=1
   17193 else
   17194   supports_plugins=0
   17195 fi
   17196 
   17197 
   17198 
   17199 # Determine the host dependent file_ptr a.k.a. off_t type.  In order
   17200 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
   17201 # fseeko, long.  This assumes that sizeof off_t is .ge. sizeof long.
   17202 # Hopefully a reasonable assumption since fseeko et.al. should be
   17203 # upward compatible.
   17204 for ac_func in ftello ftello64 fseeko fseeko64 fopen64
   17205 do :
   17206   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   17207 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   17208 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   17209   cat >>confdefs.h <<_ACEOF
   17210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   17211 _ACEOF
   17212 
   17213 fi
   17214 done
   17215 
   17216 ac_fn_c_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default"
   17217 if test "x$ac_cv_have_decl_ftello" = xyes; then :
   17218   ac_have_decl=1
   17219 else
   17220   ac_have_decl=0
   17221 fi
   17222 
   17223 cat >>confdefs.h <<_ACEOF
   17224 #define HAVE_DECL_FTELLO $ac_have_decl
   17225 _ACEOF
   17226 ac_fn_c_check_decl "$LINENO" "ftello64" "ac_cv_have_decl_ftello64" "$ac_includes_default"
   17227 if test "x$ac_cv_have_decl_ftello64" = xyes; then :
   17228   ac_have_decl=1
   17229 else
   17230   ac_have_decl=0
   17231 fi
   17232 
   17233 cat >>confdefs.h <<_ACEOF
   17234 #define HAVE_DECL_FTELLO64 $ac_have_decl
   17235 _ACEOF
   17236 ac_fn_c_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "$ac_includes_default"
   17237 if test "x$ac_cv_have_decl_fseeko" = xyes; then :
   17238   ac_have_decl=1
   17239 else
   17240   ac_have_decl=0
   17241 fi
   17242 
   17243 cat >>confdefs.h <<_ACEOF
   17244 #define HAVE_DECL_FSEEKO $ac_have_decl
   17245 _ACEOF
   17246 ac_fn_c_check_decl "$LINENO" "fseeko64" "ac_cv_have_decl_fseeko64" "$ac_includes_default"
   17247 if test "x$ac_cv_have_decl_fseeko64" = xyes; then :
   17248   ac_have_decl=1
   17249 else
   17250   ac_have_decl=0
   17251 fi
   17252 
   17253 cat >>confdefs.h <<_ACEOF
   17254 #define HAVE_DECL_FSEEKO64 $ac_have_decl
   17255 _ACEOF
   17256 ac_fn_c_check_decl "$LINENO" "fopen64" "ac_cv_have_decl_fopen64" "$ac_includes_default"
   17257 if test "x$ac_cv_have_decl_fopen64" = xyes; then :
   17258   ac_have_decl=1
   17259 else
   17260   ac_have_decl=0
   17261 fi
   17262 
   17263 cat >>confdefs.h <<_ACEOF
   17264 #define HAVE_DECL_FOPEN64 $ac_have_decl
   17265 _ACEOF
   17266 
   17267 if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then
   17268     # The cast to long int works around a bug in the HP C Compiler
   17269 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   17270 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   17271 # This bug is HP SR number 8606223364.
   17272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
   17273 $as_echo_n "checking size of off_t... " >&6; }
   17274 if ${ac_cv_sizeof_off_t+:} false; then :
   17275   $as_echo_n "(cached) " >&6
   17276 else
   17277   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
   17278 
   17279 else
   17280   if test "$ac_cv_type_off_t" = yes; then
   17281      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17283 as_fn_error 77 "cannot compute sizeof (off_t)
   17284 See \`config.log' for more details" "$LINENO" 5; }
   17285    else
   17286      ac_cv_sizeof_off_t=0
   17287    fi
   17288 fi
   17289 
   17290 fi
   17291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
   17292 $as_echo "$ac_cv_sizeof_off_t" >&6; }
   17293 
   17294 
   17295 
   17296 cat >>confdefs.h <<_ACEOF
   17297 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
   17298 _ACEOF
   17299 
   17300 
   17301 fi
   17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking file_ptr type" >&5
   17303 $as_echo_n "checking file_ptr type... " >&6; }
   17304 bfd_file_ptr="long"
   17305 bfd_ufile_ptr="unsigned long"
   17306 if test x"$ac_cv_func_ftello64" = xyes -a x"$ac_cv_func_fseeko64" = xyes \
   17307 	-o x"${ac_cv_sizeof_off_t}" = x8; then
   17308     bfd_file_ptr=int64_t
   17309     bfd_ufile_ptr=uint64_t
   17310 fi
   17311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_file_ptr" >&5
   17312 $as_echo "$bfd_file_ptr" >&6; }
   17313 
   17314 
   17315 
   17316 
   17317 
   17318 
   17319   for ac_header in $ac_header_list
   17320 do :
   17321   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   17322 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   17323 "
   17324 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   17325   cat >>confdefs.h <<_ACEOF
   17326 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   17327 _ACEOF
   17328 
   17329 fi
   17330 
   17331 done
   17332 
   17333 
   17334 
   17335 
   17336 
   17337 
   17338 
   17339 save_ASAN_OPTIONS="$ASAN_OPTIONS"
   17340   ASAN_OPTIONS=detect_leaks=0
   17341   export ASAN_OPTIONS
   17342 
   17343 for ac_func in getpagesize
   17344 do :
   17345   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   17346 if test "x$ac_cv_func_getpagesize" = xyes; then :
   17347   cat >>confdefs.h <<_ACEOF
   17348 #define HAVE_GETPAGESIZE 1
   17349 _ACEOF
   17350 
   17351 fi
   17352 done
   17353 
   17354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   17355 $as_echo_n "checking for working mmap... " >&6; }
   17356 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
   17357   $as_echo_n "(cached) " >&6
   17358 else
   17359   if test "$cross_compiling" = yes; then :
   17360   ac_cv_func_mmap_fixed_mapped=no
   17361 else
   17362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17363 /* end confdefs.h.  */
   17364 $ac_includes_default
   17365 /* malloc might have been renamed as rpl_malloc. */
   17366 #undef malloc
   17367 
   17368 /* Thanks to Mike Haertel and Jim Avera for this test.
   17369    Here is a matrix of mmap possibilities:
   17370 	mmap private not fixed
   17371 	mmap private fixed at somewhere currently unmapped
   17372 	mmap private fixed at somewhere already mapped
   17373 	mmap shared not fixed
   17374 	mmap shared fixed at somewhere currently unmapped
   17375 	mmap shared fixed at somewhere already mapped
   17376    For private mappings, we should verify that changes cannot be read()
   17377    back from the file, nor mmap's back from the file at a different
   17378    address.  (There have been systems where private was not correctly
   17379    implemented like the infamous i386 svr4.0, and systems where the
   17380    VM page cache was not coherent with the file system buffer cache
   17381    like early versions of FreeBSD and possibly contemporary NetBSD.)
   17382    For shared mappings, we should conversely verify that changes get
   17383    propagated back to all the places they're supposed to be.
   17384 
   17385    Grep wants private fixed already mapped.
   17386    The main things grep needs to know about mmap are:
   17387    * does it exist and is it safe to write into the mmap'd area
   17388    * how to use it (BSD variants)  */
   17389 
   17390 #include <fcntl.h>
   17391 #include <sys/mman.h>
   17392 
   17393 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
   17394 char *malloc ();
   17395 #endif
   17396 
   17397 /* This mess was copied from the GNU getpagesize.h.  */
   17398 #ifndef HAVE_GETPAGESIZE
   17399 # ifdef _SC_PAGESIZE
   17400 #  define getpagesize() sysconf(_SC_PAGESIZE)
   17401 # else /* no _SC_PAGESIZE */
   17402 #  ifdef HAVE_SYS_PARAM_H
   17403 #   include <sys/param.h>
   17404 #   ifdef EXEC_PAGESIZE
   17405 #    define getpagesize() EXEC_PAGESIZE
   17406 #   else /* no EXEC_PAGESIZE */
   17407 #    ifdef NBPG
   17408 #     define getpagesize() NBPG * CLSIZE
   17409 #     ifndef CLSIZE
   17410 #      define CLSIZE 1
   17411 #     endif /* no CLSIZE */
   17412 #    else /* no NBPG */
   17413 #     ifdef NBPC
   17414 #      define getpagesize() NBPC
   17415 #     else /* no NBPC */
   17416 #      ifdef PAGESIZE
   17417 #       define getpagesize() PAGESIZE
   17418 #      endif /* PAGESIZE */
   17419 #     endif /* no NBPC */
   17420 #    endif /* no NBPG */
   17421 #   endif /* no EXEC_PAGESIZE */
   17422 #  else /* no HAVE_SYS_PARAM_H */
   17423 #   define getpagesize() 8192	/* punt totally */
   17424 #  endif /* no HAVE_SYS_PARAM_H */
   17425 # endif /* no _SC_PAGESIZE */
   17426 
   17427 #endif /* no HAVE_GETPAGESIZE */
   17428 
   17429 int
   17430 main ()
   17431 {
   17432   char *data, *data2, *data3;
   17433   const char *cdata2;
   17434   int i, pagesize;
   17435   int fd, fd2;
   17436 
   17437   pagesize = getpagesize ();
   17438 
   17439   /* First, make a file with some known garbage in it. */
   17440   data = (char *) malloc (pagesize);
   17441   if (!data)
   17442     return 1;
   17443   for (i = 0; i < pagesize; ++i)
   17444     *(data + i) = rand ();
   17445   umask (0);
   17446   fd = creat ("conftest.mmap", 0600);
   17447   if (fd < 0)
   17448     return 2;
   17449   if (write (fd, data, pagesize) != pagesize)
   17450     return 3;
   17451   close (fd);
   17452 
   17453   /* Next, check that the tail of a page is zero-filled.  File must have
   17454      non-zero length, otherwise we risk SIGBUS for entire page.  */
   17455   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   17456   if (fd2 < 0)
   17457     return 4;
   17458   cdata2 = "";
   17459   if (write (fd2, cdata2, 1) != 1)
   17460     return 5;
   17461   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   17462   if (data2 == MAP_FAILED)
   17463     return 6;
   17464   for (i = 0; i < pagesize; ++i)
   17465     if (*(data2 + i))
   17466       return 7;
   17467   close (fd2);
   17468   if (munmap (data2, pagesize))
   17469     return 8;
   17470 
   17471   /* Next, try to mmap the file at a fixed address which already has
   17472      something else allocated at it.  If we can, also make sure that
   17473      we see the same garbage.  */
   17474   fd = open ("conftest.mmap", O_RDWR);
   17475   if (fd < 0)
   17476     return 9;
   17477   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   17478 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   17479     return 10;
   17480   for (i = 0; i < pagesize; ++i)
   17481     if (*(data + i) != *(data2 + i))
   17482       return 11;
   17483 
   17484   /* Finally, make sure that changes to the mapped area do not
   17485      percolate back to the file as seen by read().  (This is a bug on
   17486      some variants of i386 svr4.0.)  */
   17487   for (i = 0; i < pagesize; ++i)
   17488     *(data2 + i) = *(data2 + i) + 1;
   17489   data3 = (char *) malloc (pagesize);
   17490   if (!data3)
   17491     return 12;
   17492   if (read (fd, data3, pagesize) != pagesize)
   17493     return 13;
   17494   for (i = 0; i < pagesize; ++i)
   17495     if (*(data + i) != *(data3 + i))
   17496       return 14;
   17497   close (fd);
   17498   return 0;
   17499 }
   17500 _ACEOF
   17501 if ac_fn_c_try_run "$LINENO"; then :
   17502   ac_cv_func_mmap_fixed_mapped=yes
   17503 else
   17504   ac_cv_func_mmap_fixed_mapped=no
   17505 fi
   17506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   17507   conftest.$ac_objext conftest.beam conftest.$ac_ext
   17508 fi
   17509 
   17510 fi
   17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   17512 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
   17513 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   17514 
   17515 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
   17516 
   17517 fi
   17518 rm -f conftest.mmap conftest.txt
   17519 
   17520   ASAN_OPTIONS="$save_ASAN_OPTIONS"
   17521 
   17522 for ac_func in madvise mprotect
   17523 do :
   17524   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   17525 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   17526 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   17527   cat >>confdefs.h <<_ACEOF
   17528 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   17529 _ACEOF
   17530 
   17531 fi
   17532 done
   17533 
   17534 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
   17535   true+yes )
   17536 $as_echo "#define USE_MMAP 1" >>confdefs.h
   17537  ;;
   17538 esac
   17539 
   17540 ac_config_files="$ac_config_files Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
   17541 
   17542 
   17543 ac_config_commands="$ac_config_commands default"
   17544 
   17545 
   17546 
   17547 
   17548 
   17549 
   17550 
   17551 cat >confcache <<\_ACEOF
   17552 # This file is a shell script that caches the results of configure
   17553 # tests run on this system so they can be shared between configure
   17554 # scripts and configure runs, see configure's option --config-cache.
   17555 # It is not useful on other systems.  If it contains results you don't
   17556 # want to keep, you may remove or edit it.
   17557 #
   17558 # config.status only pays attention to the cache file if you give it
   17559 # the --recheck option to rerun configure.
   17560 #
   17561 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17562 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17563 # following values.
   17564 
   17565 _ACEOF
   17566 
   17567 # The following way of writing the cache mishandles newlines in values,
   17568 # but we know of no workaround that is simple, portable, and efficient.
   17569 # So, we kill variables containing newlines.
   17570 # Ultrix sh set writes to stderr and can't be redirected directly,
   17571 # and sets the high bit in the cache file unless we assign to the vars.
   17572 (
   17573   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17574     eval ac_val=\$$ac_var
   17575     case $ac_val in #(
   17576     *${as_nl}*)
   17577       case $ac_var in #(
   17578       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17579 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17580       esac
   17581       case $ac_var in #(
   17582       _ | IFS | as_nl) ;; #(
   17583       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17584       *) { eval $ac_var=; unset $ac_var;} ;;
   17585       esac ;;
   17586     esac
   17587   done
   17588 
   17589   (set) 2>&1 |
   17590     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17591     *${as_nl}ac_space=\ *)
   17592       # `set' does not quote correctly, so add quotes: double-quote
   17593       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17594       sed -n \
   17595 	"s/'/'\\\\''/g;
   17596 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17597       ;; #(
   17598     *)
   17599       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17600       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17601       ;;
   17602     esac |
   17603     sort
   17604 ) |
   17605   sed '
   17606      /^ac_cv_env_/b end
   17607      t clear
   17608      :clear
   17609      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17610      t end
   17611      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17612      :end' >>confcache
   17613 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17614   if test -w "$cache_file"; then
   17615     if test "x$cache_file" != "x/dev/null"; then
   17616       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17617 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17618       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17619 	cat confcache >"$cache_file"
   17620       else
   17621         case $cache_file in #(
   17622         */* | ?:*)
   17623 	  mv -f confcache "$cache_file"$$ &&
   17624 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17625         *)
   17626 	  mv -f confcache "$cache_file" ;;
   17627 	esac
   17628       fi
   17629     fi
   17630   else
   17631     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17632 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17633   fi
   17634 fi
   17635 rm -f confcache
   17636 
   17637 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17638 # Let make expand exec_prefix.
   17639 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17640 
   17641 DEFS=-DHAVE_CONFIG_H
   17642 
   17643 ac_libobjs=
   17644 ac_ltlibobjs=
   17645 U=
   17646 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17647   # 1. Remove the extension, and $U if already installed.
   17648   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17649   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17650   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17651   #    will be set to the directory where LIBOBJS objects are built.
   17652   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17653   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17654 done
   17655 LIBOBJS=$ac_libobjs
   17656 
   17657 LTLIBOBJS=$ac_ltlibobjs
   17658 
   17659 
   17660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17661 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17662    if test -n "$am_sleep_pid"; then
   17663      # Hide warnings about reused PIDs.
   17664      wait $am_sleep_pid 2>/dev/null
   17665    fi
   17666    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17667 $as_echo "done" >&6; }
   17668  if test -n "$EXEEXT"; then
   17669   am__EXEEXT_TRUE=
   17670   am__EXEEXT_FALSE='#'
   17671 else
   17672   am__EXEEXT_TRUE='#'
   17673   am__EXEEXT_FALSE=
   17674 fi
   17675 
   17676 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17677   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17679 fi
   17680 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17681   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17683 fi
   17684 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
   17685   as_fn_error $? "conditional \"PLUGINS\" was never defined.
   17686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17687 fi
   17688 if test -z "${ENABLE_BFD_64_BIT_TRUE}" && test -z "${ENABLE_BFD_64_BIT_FALSE}"; then
   17689   as_fn_error $? "conditional \"ENABLE_BFD_64_BIT\" was never defined.
   17690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17691 fi
   17692 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   17693   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   17694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17695 fi
   17696 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
   17697   as_fn_error $? "conditional \"GENINSRC_NEVER\" was never defined.
   17698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17699 fi
   17700 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
   17701   as_fn_error $? "conditional \"INSTALL_LIBBFD\" was never defined.
   17702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17703 fi
   17704 
   17705 
   17706 : "${CONFIG_STATUS=./config.status}"
   17707 ac_write_fail=0
   17708 ac_clean_files_save=$ac_clean_files
   17709 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17710 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17711 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17712 as_write_fail=0
   17713 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17714 #! $SHELL
   17715 # Generated by $as_me.
   17716 # Run this file to recreate the current configuration.
   17717 # Compiler output produced by configure, useful for debugging
   17718 # configure, is in config.log if it exists.
   17719 
   17720 debug=false
   17721 ac_cs_recheck=false
   17722 ac_cs_silent=false
   17723 
   17724 SHELL=\${CONFIG_SHELL-$SHELL}
   17725 export SHELL
   17726 _ASEOF
   17727 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17728 ## -------------------- ##
   17729 ## M4sh Initialization. ##
   17730 ## -------------------- ##
   17731 
   17732 # Be more Bourne compatible
   17733 DUALCASE=1; export DUALCASE # for MKS sh
   17734 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17735   emulate sh
   17736   NULLCMD=:
   17737   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17738   # is contrary to our usage.  Disable this feature.
   17739   alias -g '${1+"$@"}'='"$@"'
   17740   setopt NO_GLOB_SUBST
   17741 else
   17742   case `(set -o) 2>/dev/null` in #(
   17743   *posix*) :
   17744     set -o posix ;; #(
   17745   *) :
   17746      ;;
   17747 esac
   17748 fi
   17749 
   17750 
   17751 as_nl='
   17752 '
   17753 export as_nl
   17754 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17755 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17756 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17757 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17758 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17759 # but without wasting forks for bash or zsh.
   17760 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17761     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17762   as_echo='print -r --'
   17763   as_echo_n='print -rn --'
   17764 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17765   as_echo='printf %s\n'
   17766   as_echo_n='printf %s'
   17767 else
   17768   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17769     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17770     as_echo_n='/usr/ucb/echo -n'
   17771   else
   17772     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17773     as_echo_n_body='eval
   17774       arg=$1;
   17775       case $arg in #(
   17776       *"$as_nl"*)
   17777 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17778 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17779       esac;
   17780       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17781     '
   17782     export as_echo_n_body
   17783     as_echo_n='sh -c $as_echo_n_body as_echo'
   17784   fi
   17785   export as_echo_body
   17786   as_echo='sh -c $as_echo_body as_echo'
   17787 fi
   17788 
   17789 # The user is always right.
   17790 if test "${PATH_SEPARATOR+set}" != set; then
   17791   PATH_SEPARATOR=:
   17792   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17793     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17794       PATH_SEPARATOR=';'
   17795   }
   17796 fi
   17797 
   17798 
   17799 # IFS
   17800 # We need space, tab and new line, in precisely that order.  Quoting is
   17801 # there to prevent editors from complaining about space-tab.
   17802 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17803 # splitting by setting IFS to empty value.)
   17804 IFS=" ""	$as_nl"
   17805 
   17806 # Find who we are.  Look in the path if we contain no directory separator.
   17807 as_myself=
   17808 case $0 in #((
   17809   *[\\/]* ) as_myself=$0 ;;
   17810   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17811 for as_dir in $PATH
   17812 do
   17813   IFS=$as_save_IFS
   17814   test -z "$as_dir" && as_dir=.
   17815     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   17816   done
   17817 IFS=$as_save_IFS
   17818 
   17819      ;;
   17820 esac
   17821 # We did not find ourselves, most probably we were run as `sh COMMAND'
   17822 # in which case we are not to be found in the path.
   17823 if test "x$as_myself" = x; then
   17824   as_myself=$0
   17825 fi
   17826 if test ! -f "$as_myself"; then
   17827   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   17828   exit 1
   17829 fi
   17830 
   17831 # Unset variables that we do not need and which cause bugs (e.g. in
   17832 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   17833 # suppresses any "Segmentation fault" message there.  '((' could
   17834 # trigger a bug in pdksh 5.2.14.
   17835 for as_var in BASH_ENV ENV MAIL MAILPATH
   17836 do eval test x\${$as_var+set} = xset \
   17837   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   17838 done
   17839 PS1='$ '
   17840 PS2='> '
   17841 PS4='+ '
   17842 
   17843 # NLS nuisances.
   17844 LC_ALL=C
   17845 export LC_ALL
   17846 LANGUAGE=C
   17847 export LANGUAGE
   17848 
   17849 # CDPATH.
   17850 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17851 
   17852 
   17853 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   17854 # ----------------------------------------
   17855 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   17856 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   17857 # script with STATUS, using 1 if that was 0.
   17858 as_fn_error ()
   17859 {
   17860   as_status=$1; test $as_status -eq 0 && as_status=1
   17861   if test "$4"; then
   17862     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   17863     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   17864   fi
   17865   $as_echo "$as_me: error: $2" >&2
   17866   as_fn_exit $as_status
   17867 } # as_fn_error
   17868 
   17869 
   17870 # as_fn_set_status STATUS
   17871 # -----------------------
   17872 # Set $? to STATUS, without forking.
   17873 as_fn_set_status ()
   17874 {
   17875   return $1
   17876 } # as_fn_set_status
   17877 
   17878 # as_fn_exit STATUS
   17879 # -----------------
   17880 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   17881 as_fn_exit ()
   17882 {
   17883   set +e
   17884   as_fn_set_status $1
   17885   exit $1
   17886 } # as_fn_exit
   17887 
   17888 # as_fn_unset VAR
   17889 # ---------------
   17890 # Portably unset VAR.
   17891 as_fn_unset ()
   17892 {
   17893   { eval $1=; unset $1;}
   17894 }
   17895 as_unset=as_fn_unset
   17896 # as_fn_append VAR VALUE
   17897 # ----------------------
   17898 # Append the text in VALUE to the end of the definition contained in VAR. Take
   17899 # advantage of any shell optimizations that allow amortized linear growth over
   17900 # repeated appends, instead of the typical quadratic growth present in naive
   17901 # implementations.
   17902 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   17903   eval 'as_fn_append ()
   17904   {
   17905     eval $1+=\$2
   17906   }'
   17907 else
   17908   as_fn_append ()
   17909   {
   17910     eval $1=\$$1\$2
   17911   }
   17912 fi # as_fn_append
   17913 
   17914 # as_fn_arith ARG...
   17915 # ------------------
   17916 # Perform arithmetic evaluation on the ARGs, and store the result in the
   17917 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   17918 # must be portable across $(()) and expr.
   17919 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   17920   eval 'as_fn_arith ()
   17921   {
   17922     as_val=$(( $* ))
   17923   }'
   17924 else
   17925   as_fn_arith ()
   17926   {
   17927     as_val=`expr "$@" || test $? -eq 1`
   17928   }
   17929 fi # as_fn_arith
   17930 
   17931 
   17932 if expr a : '\(a\)' >/dev/null 2>&1 &&
   17933    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   17934   as_expr=expr
   17935 else
   17936   as_expr=false
   17937 fi
   17938 
   17939 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   17940   as_basename=basename
   17941 else
   17942   as_basename=false
   17943 fi
   17944 
   17945 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   17946   as_dirname=dirname
   17947 else
   17948   as_dirname=false
   17949 fi
   17950 
   17951 as_me=`$as_basename -- "$0" ||
   17952 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   17953 	 X"$0" : 'X\(//\)$' \| \
   17954 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   17955 $as_echo X/"$0" |
   17956     sed '/^.*\/\([^/][^/]*\)\/*$/{
   17957 	    s//\1/
   17958 	    q
   17959 	  }
   17960 	  /^X\/\(\/\/\)$/{
   17961 	    s//\1/
   17962 	    q
   17963 	  }
   17964 	  /^X\/\(\/\).*/{
   17965 	    s//\1/
   17966 	    q
   17967 	  }
   17968 	  s/.*/./; q'`
   17969 
   17970 # Avoid depending upon Character Ranges.
   17971 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   17972 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   17973 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   17974 as_cr_digits='0123456789'
   17975 as_cr_alnum=$as_cr_Letters$as_cr_digits
   17976 
   17977 ECHO_C= ECHO_N= ECHO_T=
   17978 case `echo -n x` in #(((((
   17979 -n*)
   17980   case `echo 'xy\c'` in
   17981   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   17982   xy)  ECHO_C='\c';;
   17983   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   17984        ECHO_T='	';;
   17985   esac;;
   17986 *)
   17987   ECHO_N='-n';;
   17988 esac
   17989 
   17990 rm -f conf$$ conf$$.exe conf$$.file
   17991 if test -d conf$$.dir; then
   17992   rm -f conf$$.dir/conf$$.file
   17993 else
   17994   rm -f conf$$.dir
   17995   mkdir conf$$.dir 2>/dev/null
   17996 fi
   17997 if (echo >conf$$.file) 2>/dev/null; then
   17998   if ln -s conf$$.file conf$$ 2>/dev/null; then
   17999     as_ln_s='ln -s'
   18000     # ... but there are two gotchas:
   18001     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18002     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18003     # In both cases, we have to default to `cp -pR'.
   18004     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18005       as_ln_s='cp -pR'
   18006   elif ln conf$$.file conf$$ 2>/dev/null; then
   18007     as_ln_s=ln
   18008   else
   18009     as_ln_s='cp -pR'
   18010   fi
   18011 else
   18012   as_ln_s='cp -pR'
   18013 fi
   18014 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18015 rmdir conf$$.dir 2>/dev/null
   18016 
   18017 
   18018 # as_fn_mkdir_p
   18019 # -------------
   18020 # Create "$as_dir" as a directory, including parents if necessary.
   18021 as_fn_mkdir_p ()
   18022 {
   18023 
   18024   case $as_dir in #(
   18025   -*) as_dir=./$as_dir;;
   18026   esac
   18027   test -d "$as_dir" || eval $as_mkdir_p || {
   18028     as_dirs=
   18029     while :; do
   18030       case $as_dir in #(
   18031       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18032       *) as_qdir=$as_dir;;
   18033       esac
   18034       as_dirs="'$as_qdir' $as_dirs"
   18035       as_dir=`$as_dirname -- "$as_dir" ||
   18036 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18037 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18038 	 X"$as_dir" : 'X\(//\)$' \| \
   18039 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18040 $as_echo X"$as_dir" |
   18041     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18042 	    s//\1/
   18043 	    q
   18044 	  }
   18045 	  /^X\(\/\/\)[^/].*/{
   18046 	    s//\1/
   18047 	    q
   18048 	  }
   18049 	  /^X\(\/\/\)$/{
   18050 	    s//\1/
   18051 	    q
   18052 	  }
   18053 	  /^X\(\/\).*/{
   18054 	    s//\1/
   18055 	    q
   18056 	  }
   18057 	  s/.*/./; q'`
   18058       test -d "$as_dir" && break
   18059     done
   18060     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18061   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18062 
   18063 
   18064 } # as_fn_mkdir_p
   18065 if mkdir -p . 2>/dev/null; then
   18066   as_mkdir_p='mkdir -p "$as_dir"'
   18067 else
   18068   test -d ./-p && rmdir ./-p
   18069   as_mkdir_p=false
   18070 fi
   18071 
   18072 
   18073 # as_fn_executable_p FILE
   18074 # -----------------------
   18075 # Test if FILE is an executable regular file.
   18076 as_fn_executable_p ()
   18077 {
   18078   test -f "$1" && test -x "$1"
   18079 } # as_fn_executable_p
   18080 as_test_x='test -x'
   18081 as_executable_p=as_fn_executable_p
   18082 
   18083 # Sed expression to map a string onto a valid CPP name.
   18084 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18085 
   18086 # Sed expression to map a string onto a valid variable name.
   18087 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18088 
   18089 
   18090 exec 6>&1
   18091 ## ----------------------------------- ##
   18092 ## Main body of $CONFIG_STATUS script. ##
   18093 ## ----------------------------------- ##
   18094 _ASEOF
   18095 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18096 
   18097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18098 # Save the log message, to keep $0 and so on meaningful, and to
   18099 # report actual input values of CONFIG_FILES etc. instead of their
   18100 # values after options handling.
   18101 ac_log="
   18102 This file was extended by bfd $as_me 2.42.50, which was
   18103 generated by GNU Autoconf 2.69.  Invocation command line was
   18104 
   18105   CONFIG_FILES    = $CONFIG_FILES
   18106   CONFIG_HEADERS  = $CONFIG_HEADERS
   18107   CONFIG_LINKS    = $CONFIG_LINKS
   18108   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18109   $ $0 $@
   18110 
   18111 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18112 "
   18113 
   18114 _ACEOF
   18115 
   18116 case $ac_config_files in *"
   18117 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18118 esac
   18119 
   18120 case $ac_config_headers in *"
   18121 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18122 esac
   18123 
   18124 
   18125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18126 # Files that config.status was made for.
   18127 config_files="$ac_config_files"
   18128 config_headers="$ac_config_headers"
   18129 config_commands="$ac_config_commands"
   18130 
   18131 _ACEOF
   18132 
   18133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18134 ac_cs_usage="\
   18135 \`$as_me' instantiates files and other configuration actions
   18136 from templates according to the current configuration.  Unless the files
   18137 and actions are specified as TAGs, all are instantiated by default.
   18138 
   18139 Usage: $0 [OPTION]... [TAG]...
   18140 
   18141   -h, --help       print this help, then exit
   18142   -V, --version    print version number and configuration settings, then exit
   18143       --config     print configuration, then exit
   18144   -q, --quiet, --silent
   18145                    do not print progress messages
   18146   -d, --debug      don't remove temporary files
   18147       --recheck    update $as_me by reconfiguring in the same conditions
   18148       --file=FILE[:TEMPLATE]
   18149                    instantiate the configuration file FILE
   18150       --header=FILE[:TEMPLATE]
   18151                    instantiate the configuration header FILE
   18152 
   18153 Configuration files:
   18154 $config_files
   18155 
   18156 Configuration headers:
   18157 $config_headers
   18158 
   18159 Configuration commands:
   18160 $config_commands
   18161 
   18162 Report bugs to the package provider."
   18163 
   18164 _ACEOF
   18165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18166 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18167 ac_cs_version="\\
   18168 bfd config.status 2.42.50
   18169 configured by $0, generated by GNU Autoconf 2.69,
   18170   with options \\"\$ac_cs_config\\"
   18171 
   18172 Copyright (C) 2012 Free Software Foundation, Inc.
   18173 This config.status script is free software; the Free Software Foundation
   18174 gives unlimited permission to copy, distribute and modify it."
   18175 
   18176 ac_pwd='$ac_pwd'
   18177 srcdir='$srcdir'
   18178 INSTALL='$INSTALL'
   18179 MKDIR_P='$MKDIR_P'
   18180 AWK='$AWK'
   18181 test -n "\$AWK" || AWK=awk
   18182 _ACEOF
   18183 
   18184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18185 # The default lists apply if the user does not specify any file.
   18186 ac_need_defaults=:
   18187 while test $# != 0
   18188 do
   18189   case $1 in
   18190   --*=?*)
   18191     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18192     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18193     ac_shift=:
   18194     ;;
   18195   --*=)
   18196     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18197     ac_optarg=
   18198     ac_shift=:
   18199     ;;
   18200   *)
   18201     ac_option=$1
   18202     ac_optarg=$2
   18203     ac_shift=shift
   18204     ;;
   18205   esac
   18206 
   18207   case $ac_option in
   18208   # Handling of the options.
   18209   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18210     ac_cs_recheck=: ;;
   18211   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18212     $as_echo "$ac_cs_version"; exit ;;
   18213   --config | --confi | --conf | --con | --co | --c )
   18214     $as_echo "$ac_cs_config"; exit ;;
   18215   --debug | --debu | --deb | --de | --d | -d )
   18216     debug=: ;;
   18217   --file | --fil | --fi | --f )
   18218     $ac_shift
   18219     case $ac_optarg in
   18220     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18221     '') as_fn_error $? "missing file argument" ;;
   18222     esac
   18223     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18224     ac_need_defaults=false;;
   18225   --header | --heade | --head | --hea )
   18226     $ac_shift
   18227     case $ac_optarg in
   18228     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18229     esac
   18230     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18231     ac_need_defaults=false;;
   18232   --he | --h)
   18233     # Conflict between --help and --header
   18234     as_fn_error $? "ambiguous option: \`$1'
   18235 Try \`$0 --help' for more information.";;
   18236   --help | --hel | -h )
   18237     $as_echo "$ac_cs_usage"; exit ;;
   18238   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18239   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18240     ac_cs_silent=: ;;
   18241 
   18242   # This is an error.
   18243   -*) as_fn_error $? "unrecognized option: \`$1'
   18244 Try \`$0 --help' for more information." ;;
   18245 
   18246   *) as_fn_append ac_config_targets " $1"
   18247      ac_need_defaults=false ;;
   18248 
   18249   esac
   18250   shift
   18251 done
   18252 
   18253 ac_configure_extra_args=
   18254 
   18255 if $ac_cs_silent; then
   18256   exec 6>/dev/null
   18257   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18258 fi
   18259 
   18260 _ACEOF
   18261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18262 if \$ac_cs_recheck; then
   18263   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18264   shift
   18265   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18266   CONFIG_SHELL='$SHELL'
   18267   export CONFIG_SHELL
   18268   exec "\$@"
   18269 fi
   18270 
   18271 _ACEOF
   18272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18273 exec 5>>config.log
   18274 {
   18275   echo
   18276   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18277 ## Running $as_me. ##
   18278 _ASBOX
   18279   $as_echo "$ac_log"
   18280 } >&5
   18281 
   18282 _ACEOF
   18283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18284 #
   18285 # INIT-COMMANDS
   18286 #
   18287 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18288 
   18289 
   18290 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18291 # if CDPATH is set.
   18292 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18293 
   18294 sed_quote_subst='$sed_quote_subst'
   18295 double_quote_subst='$double_quote_subst'
   18296 delay_variable_subst='$delay_variable_subst'
   18297 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18298 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18299 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18300 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18301 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18302 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18303 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18304 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18305 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18306 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18307 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18308 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18309 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18310 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18311 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18312 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18313 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18314 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18315 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18316 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18317 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18318 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18319 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18320 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18321 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18322 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18323 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18324 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18325 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18326 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18327 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18328 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18329 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18330 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18331 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18332 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18333 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18334 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18335 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18336 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18337 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18338 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18339 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18340 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18341 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18342 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18343 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18344 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18345 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"`'
   18346 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18347 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18348 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18349 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18350 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18351 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18352 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18353 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18354 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18355 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18356 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18357 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18358 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18359 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18360 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18361 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18362 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18363 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18364 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18365 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18366 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18367 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18368 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18369 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18370 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18371 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18372 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18373 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18374 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18375 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18376 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18377 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   18378 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18379 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18380 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18381 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18382 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18383 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18384 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18385 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18386 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   18387 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18388 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18389 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18390 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18391 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18392 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18393 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18394 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18395 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18396 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18397 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18398 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18399 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18400 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18401 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18402 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18403 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18404 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18405 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18406 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18407 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18408 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18409 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18410 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18411 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18412 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18413 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18414 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18415 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18416 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18417 
   18418 LTCC='$LTCC'
   18419 LTCFLAGS='$LTCFLAGS'
   18420 compiler='$compiler_DEFAULT'
   18421 
   18422 # A function that is used when there is no print builtin or printf.
   18423 func_fallback_echo ()
   18424 {
   18425   eval 'cat <<_LTECHO_EOF
   18426 \$1
   18427 _LTECHO_EOF'
   18428 }
   18429 
   18430 # Quote evaled strings.
   18431 for var in SHELL \
   18432 ECHO \
   18433 SED \
   18434 GREP \
   18435 EGREP \
   18436 FGREP \
   18437 LD \
   18438 NM \
   18439 LN_S \
   18440 lt_SP2NL \
   18441 lt_NL2SP \
   18442 reload_flag \
   18443 OBJDUMP \
   18444 deplibs_check_method \
   18445 file_magic_cmd \
   18446 AR \
   18447 AR_FLAGS \
   18448 STRIP \
   18449 RANLIB \
   18450 CC \
   18451 CFLAGS \
   18452 compiler \
   18453 lt_cv_sys_global_symbol_pipe \
   18454 lt_cv_sys_global_symbol_to_cdecl \
   18455 lt_cv_sys_global_symbol_to_c_name_address \
   18456 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18457 lt_prog_compiler_no_builtin_flag \
   18458 lt_prog_compiler_wl \
   18459 lt_prog_compiler_pic \
   18460 lt_prog_compiler_static \
   18461 lt_cv_prog_compiler_c_o \
   18462 need_locks \
   18463 DSYMUTIL \
   18464 NMEDIT \
   18465 LIPO \
   18466 OTOOL \
   18467 OTOOL64 \
   18468 shrext_cmds \
   18469 export_dynamic_flag_spec \
   18470 whole_archive_flag_spec \
   18471 compiler_needs_object \
   18472 with_gnu_ld \
   18473 allow_undefined_flag \
   18474 no_undefined_flag \
   18475 hardcode_libdir_flag_spec \
   18476 hardcode_libdir_flag_spec_ld \
   18477 hardcode_libdir_separator \
   18478 fix_srcfile_path \
   18479 exclude_expsyms \
   18480 include_expsyms \
   18481 file_list_spec \
   18482 variables_saved_for_relink \
   18483 libname_spec \
   18484 library_names_spec \
   18485 soname_spec \
   18486 install_override_mode \
   18487 finish_eval \
   18488 old_striplib \
   18489 striplib; do
   18490     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18491     *[\\\\\\\`\\"\\\$]*)
   18492       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18493       ;;
   18494     *)
   18495       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18496       ;;
   18497     esac
   18498 done
   18499 
   18500 # Double-quote double-evaled strings.
   18501 for var in reload_cmds \
   18502 old_postinstall_cmds \
   18503 old_postuninstall_cmds \
   18504 old_archive_cmds \
   18505 extract_expsyms_cmds \
   18506 old_archive_from_new_cmds \
   18507 old_archive_from_expsyms_cmds \
   18508 archive_cmds \
   18509 archive_expsym_cmds \
   18510 module_cmds \
   18511 module_expsym_cmds \
   18512 export_symbols_cmds \
   18513 prelink_cmds \
   18514 postinstall_cmds \
   18515 postuninstall_cmds \
   18516 finish_cmds \
   18517 sys_lib_search_path_spec \
   18518 sys_lib_dlsearch_path_spec; do
   18519     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18520     *[\\\\\\\`\\"\\\$]*)
   18521       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18522       ;;
   18523     *)
   18524       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18525       ;;
   18526     esac
   18527 done
   18528 
   18529 ac_aux_dir='$ac_aux_dir'
   18530 xsi_shell='$xsi_shell'
   18531 lt_shell_append='$lt_shell_append'
   18532 
   18533 # See if we are running on zsh, and set the options which allow our
   18534 # commands through without removal of \ escapes INIT.
   18535 if test -n "\${ZSH_VERSION+set}" ; then
   18536    setopt NO_GLOB_SUBST
   18537 fi
   18538 
   18539 
   18540     PACKAGE='$PACKAGE'
   18541     VERSION='$VERSION'
   18542     TIMESTAMP='$TIMESTAMP'
   18543     RM='$RM'
   18544     ofile='$ofile'
   18545 
   18546 
   18547 
   18548 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   18549     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
   18550     # from automake.
   18551     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   18552     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   18553     LINGUAS="${LINGUAS-%UNSET%}"
   18554 
   18555 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   18556     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
   18557     # from automake.
   18558     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   18559     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   18560     LINGUAS="${LINGUAS-%UNSET%}"
   18561 
   18562 
   18563 
   18564 _ACEOF
   18565 
   18566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18567 
   18568 # Handling of arguments.
   18569 for ac_config_target in $ac_config_targets
   18570 do
   18571   case $ac_config_target in
   18572     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18573     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18574     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
   18575     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   18576     "default-2") CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
   18577     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18578     "bfd-in3.h") CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
   18579     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
   18580     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
   18581 
   18582   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18583   esac
   18584 done
   18585 
   18586 
   18587 # If the user did not use the arguments to specify the items to instantiate,
   18588 # then the envvar interface is used.  Set only those that are not.
   18589 # We use the long form for the default assignment because of an extremely
   18590 # bizarre bug on SunOS 4.1.3.
   18591 if $ac_need_defaults; then
   18592   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18593   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18594   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18595 fi
   18596 
   18597 # Have a temporary directory for convenience.  Make it in the build tree
   18598 # simply because there is no reason against having it here, and in addition,
   18599 # creating and moving files from /tmp can sometimes cause problems.
   18600 # Hook for its removal unless debugging.
   18601 # Note that there is a small window in which the directory will not be cleaned:
   18602 # after its creation but before its name has been assigned to `$tmp'.
   18603 $debug ||
   18604 {
   18605   tmp= ac_tmp=
   18606   trap 'exit_status=$?
   18607   : "${ac_tmp:=$tmp}"
   18608   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18609 ' 0
   18610   trap 'as_fn_exit 1' 1 2 13 15
   18611 }
   18612 # Create a (secure) tmp directory for tmp files.
   18613 
   18614 {
   18615   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18616   test -d "$tmp"
   18617 }  ||
   18618 {
   18619   tmp=./conf$$-$RANDOM
   18620   (umask 077 && mkdir "$tmp")
   18621 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18622 ac_tmp=$tmp
   18623 
   18624 # Set up the scripts for CONFIG_FILES section.
   18625 # No need to generate them if there are no CONFIG_FILES.
   18626 # This happens for instance with `./config.status config.h'.
   18627 if test -n "$CONFIG_FILES"; then
   18628 
   18629 
   18630 ac_cr=`echo X | tr X '\015'`
   18631 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18632 # But we know of no other shell where ac_cr would be empty at this
   18633 # point, so we can use a bashism as a fallback.
   18634 if test "x$ac_cr" = x; then
   18635   eval ac_cr=\$\'\\r\'
   18636 fi
   18637 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18638 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18639   ac_cs_awk_cr='\\r'
   18640 else
   18641   ac_cs_awk_cr=$ac_cr
   18642 fi
   18643 
   18644 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18645 _ACEOF
   18646 
   18647 
   18648 {
   18649   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18650   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18651   echo "_ACEOF"
   18652 } >conf$$subs.sh ||
   18653   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18654 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18655 ac_delim='%!_!# '
   18656 for ac_last_try in false false false false false :; do
   18657   . ./conf$$subs.sh ||
   18658     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18659 
   18660   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18661   if test $ac_delim_n = $ac_delim_num; then
   18662     break
   18663   elif $ac_last_try; then
   18664     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18665   else
   18666     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18667   fi
   18668 done
   18669 rm -f conf$$subs.sh
   18670 
   18671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18672 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18673 _ACEOF
   18674 sed -n '
   18675 h
   18676 s/^/S["/; s/!.*/"]=/
   18677 p
   18678 g
   18679 s/^[^!]*!//
   18680 :repl
   18681 t repl
   18682 s/'"$ac_delim"'$//
   18683 t delim
   18684 :nl
   18685 h
   18686 s/\(.\{148\}\)..*/\1/
   18687 t more1
   18688 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18689 p
   18690 n
   18691 b repl
   18692 :more1
   18693 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18694 p
   18695 g
   18696 s/.\{148\}//
   18697 t nl
   18698 :delim
   18699 h
   18700 s/\(.\{148\}\)..*/\1/
   18701 t more2
   18702 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18703 p
   18704 b
   18705 :more2
   18706 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18707 p
   18708 g
   18709 s/.\{148\}//
   18710 t delim
   18711 ' <conf$$subs.awk | sed '
   18712 /^[^""]/{
   18713   N
   18714   s/\n//
   18715 }
   18716 ' >>$CONFIG_STATUS || ac_write_fail=1
   18717 rm -f conf$$subs.awk
   18718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18719 _ACAWK
   18720 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18721   for (key in S) S_is_set[key] = 1
   18722   FS = ""
   18723 
   18724 }
   18725 {
   18726   line = $ 0
   18727   nfields = split(line, field, "@")
   18728   substed = 0
   18729   len = length(field[1])
   18730   for (i = 2; i < nfields; i++) {
   18731     key = field[i]
   18732     keylen = length(key)
   18733     if (S_is_set[key]) {
   18734       value = S[key]
   18735       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18736       len += length(value) + length(field[++i])
   18737       substed = 1
   18738     } else
   18739       len += 1 + keylen
   18740   }
   18741 
   18742   print line
   18743 }
   18744 
   18745 _ACAWK
   18746 _ACEOF
   18747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18748 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18749   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18750 else
   18751   cat
   18752 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18753   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18754 _ACEOF
   18755 
   18756 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18757 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18758 # trailing colons and then remove the whole line if VPATH becomes empty
   18759 # (actually we leave an empty line to preserve line numbers).
   18760 if test "x$srcdir" = x.; then
   18761   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18762 h
   18763 s///
   18764 s/^/:/
   18765 s/[	 ]*$/:/
   18766 s/:\$(srcdir):/:/g
   18767 s/:\${srcdir}:/:/g
   18768 s/:@srcdir@:/:/g
   18769 s/^:*//
   18770 s/:*$//
   18771 x
   18772 s/\(=[	 ]*\).*/\1/
   18773 G
   18774 s/\n//
   18775 s/^[^=]*=[	 ]*$//
   18776 }'
   18777 fi
   18778 
   18779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18780 fi # test -n "$CONFIG_FILES"
   18781 
   18782 # Set up the scripts for CONFIG_HEADERS section.
   18783 # No need to generate them if there are no CONFIG_HEADERS.
   18784 # This happens for instance with `./config.status Makefile'.
   18785 if test -n "$CONFIG_HEADERS"; then
   18786 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   18787 BEGIN {
   18788 _ACEOF
   18789 
   18790 # Transform confdefs.h into an awk script `defines.awk', embedded as
   18791 # here-document in config.status, that substitutes the proper values into
   18792 # config.h.in to produce config.h.
   18793 
   18794 # Create a delimiter string that does not exist in confdefs.h, to ease
   18795 # handling of long lines.
   18796 ac_delim='%!_!# '
   18797 for ac_last_try in false false :; do
   18798   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   18799   if test -z "$ac_tt"; then
   18800     break
   18801   elif $ac_last_try; then
   18802     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   18803   else
   18804     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18805   fi
   18806 done
   18807 
   18808 # For the awk script, D is an array of macro values keyed by name,
   18809 # likewise P contains macro parameters if any.  Preserve backslash
   18810 # newline sequences.
   18811 
   18812 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   18813 sed -n '
   18814 s/.\{148\}/&'"$ac_delim"'/g
   18815 t rset
   18816 :rset
   18817 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   18818 t def
   18819 d
   18820 :def
   18821 s/\\$//
   18822 t bsnl
   18823 s/["\\]/\\&/g
   18824 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18825 D["\1"]=" \3"/p
   18826 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   18827 d
   18828 :bsnl
   18829 s/["\\]/\\&/g
   18830 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18831 D["\1"]=" \3\\\\\\n"\\/p
   18832 t cont
   18833 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   18834 t cont
   18835 d
   18836 :cont
   18837 n
   18838 s/.\{148\}/&'"$ac_delim"'/g
   18839 t clear
   18840 :clear
   18841 s/\\$//
   18842 t bsnlc
   18843 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   18844 d
   18845 :bsnlc
   18846 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   18847 b cont
   18848 ' <confdefs.h | sed '
   18849 s/'"$ac_delim"'/"\\\
   18850 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   18851 
   18852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18853   for (key in D) D_is_set[key] = 1
   18854   FS = ""
   18855 }
   18856 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   18857   line = \$ 0
   18858   split(line, arg, " ")
   18859   if (arg[1] == "#") {
   18860     defundef = arg[2]
   18861     mac1 = arg[3]
   18862   } else {
   18863     defundef = substr(arg[1], 2)
   18864     mac1 = arg[2]
   18865   }
   18866   split(mac1, mac2, "(") #)
   18867   macro = mac2[1]
   18868   prefix = substr(line, 1, index(line, defundef) - 1)
   18869   if (D_is_set[macro]) {
   18870     # Preserve the white space surrounding the "#".
   18871     print prefix "define", macro P[macro] D[macro]
   18872     next
   18873   } else {
   18874     # Replace #undef with comments.  This is necessary, for example,
   18875     # in the case of _POSIX_SOURCE, which is predefined and required
   18876     # on some systems where configure will not decide to define it.
   18877     if (defundef == "undef") {
   18878       print "/*", prefix defundef, macro, "*/"
   18879       next
   18880     }
   18881   }
   18882 }
   18883 { print }
   18884 _ACAWK
   18885 _ACEOF
   18886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18887   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   18888 fi # test -n "$CONFIG_HEADERS"
   18889 
   18890 
   18891 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   18892 shift
   18893 for ac_tag
   18894 do
   18895   case $ac_tag in
   18896   :[FHLC]) ac_mode=$ac_tag; continue;;
   18897   esac
   18898   case $ac_mode$ac_tag in
   18899   :[FHL]*:*);;
   18900   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   18901   :[FH]-) ac_tag=-:-;;
   18902   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   18903   esac
   18904   ac_save_IFS=$IFS
   18905   IFS=:
   18906   set x $ac_tag
   18907   IFS=$ac_save_IFS
   18908   shift
   18909   ac_file=$1
   18910   shift
   18911 
   18912   case $ac_mode in
   18913   :L) ac_source=$1;;
   18914   :[FH])
   18915     ac_file_inputs=
   18916     for ac_f
   18917     do
   18918       case $ac_f in
   18919       -) ac_f="$ac_tmp/stdin";;
   18920       *) # Look for the file first in the build tree, then in the source tree
   18921 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   18922 	 # because $ac_f cannot contain `:'.
   18923 	 test -f "$ac_f" ||
   18924 	   case $ac_f in
   18925 	   [\\/$]*) false;;
   18926 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   18927 	   esac ||
   18928 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   18929       esac
   18930       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   18931       as_fn_append ac_file_inputs " '$ac_f'"
   18932     done
   18933 
   18934     # Let's still pretend it is `configure' which instantiates (i.e., don't
   18935     # use $as_me), people would be surprised to read:
   18936     #    /* config.h.  Generated by config.status.  */
   18937     configure_input='Generated from '`
   18938 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   18939 	`' by configure.'
   18940     if test x"$ac_file" != x-; then
   18941       configure_input="$ac_file.  $configure_input"
   18942       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   18943 $as_echo "$as_me: creating $ac_file" >&6;}
   18944     fi
   18945     # Neutralize special characters interpreted by sed in replacement strings.
   18946     case $configure_input in #(
   18947     *\&* | *\|* | *\\* )
   18948        ac_sed_conf_input=`$as_echo "$configure_input" |
   18949        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   18950     *) ac_sed_conf_input=$configure_input;;
   18951     esac
   18952 
   18953     case $ac_tag in
   18954     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   18955       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   18956     esac
   18957     ;;
   18958   esac
   18959 
   18960   ac_dir=`$as_dirname -- "$ac_file" ||
   18961 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18962 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   18963 	 X"$ac_file" : 'X\(//\)$' \| \
   18964 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   18965 $as_echo X"$ac_file" |
   18966     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18967 	    s//\1/
   18968 	    q
   18969 	  }
   18970 	  /^X\(\/\/\)[^/].*/{
   18971 	    s//\1/
   18972 	    q
   18973 	  }
   18974 	  /^X\(\/\/\)$/{
   18975 	    s//\1/
   18976 	    q
   18977 	  }
   18978 	  /^X\(\/\).*/{
   18979 	    s//\1/
   18980 	    q
   18981 	  }
   18982 	  s/.*/./; q'`
   18983   as_dir="$ac_dir"; as_fn_mkdir_p
   18984   ac_builddir=.
   18985 
   18986 case "$ac_dir" in
   18987 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18988 *)
   18989   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   18990   # A ".." for each directory in $ac_dir_suffix.
   18991   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   18992   case $ac_top_builddir_sub in
   18993   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18994   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   18995   esac ;;
   18996 esac
   18997 ac_abs_top_builddir=$ac_pwd
   18998 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   18999 # for backward compatibility:
   19000 ac_top_builddir=$ac_top_build_prefix
   19001 
   19002 case $srcdir in
   19003   .)  # We are building in place.
   19004     ac_srcdir=.
   19005     ac_top_srcdir=$ac_top_builddir_sub
   19006     ac_abs_top_srcdir=$ac_pwd ;;
   19007   [\\/]* | ?:[\\/]* )  # Absolute name.
   19008     ac_srcdir=$srcdir$ac_dir_suffix;
   19009     ac_top_srcdir=$srcdir
   19010     ac_abs_top_srcdir=$srcdir ;;
   19011   *) # Relative name.
   19012     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19013     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19014     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19015 esac
   19016 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19017 
   19018 
   19019   case $ac_mode in
   19020   :F)
   19021   #
   19022   # CONFIG_FILE
   19023   #
   19024 
   19025   case $INSTALL in
   19026   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19027   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19028   esac
   19029   ac_MKDIR_P=$MKDIR_P
   19030   case $MKDIR_P in
   19031   [\\/$]* | ?:[\\/]* ) ;;
   19032   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19033   esac
   19034 _ACEOF
   19035 
   19036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19037 # If the template does not know about datarootdir, expand it.
   19038 # FIXME: This hack should be removed a few years after 2.60.
   19039 ac_datarootdir_hack=; ac_datarootdir_seen=
   19040 ac_sed_dataroot='
   19041 /datarootdir/ {
   19042   p
   19043   q
   19044 }
   19045 /@datadir@/p
   19046 /@docdir@/p
   19047 /@infodir@/p
   19048 /@localedir@/p
   19049 /@mandir@/p'
   19050 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19051 *datarootdir*) ac_datarootdir_seen=yes;;
   19052 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19053   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19054 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19055 _ACEOF
   19056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19057   ac_datarootdir_hack='
   19058   s&@datadir@&$datadir&g
   19059   s&@docdir@&$docdir&g
   19060   s&@infodir@&$infodir&g
   19061   s&@localedir@&$localedir&g
   19062   s&@mandir@&$mandir&g
   19063   s&\\\${datarootdir}&$datarootdir&g' ;;
   19064 esac
   19065 _ACEOF
   19066 
   19067 # Neutralize VPATH when `$srcdir' = `.'.
   19068 # Shell code in configure.ac might set extrasub.
   19069 # FIXME: do we really want to maintain this feature?
   19070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19071 ac_sed_extra="$ac_vpsub
   19072 $extrasub
   19073 _ACEOF
   19074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19075 :t
   19076 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19077 s|@configure_input@|$ac_sed_conf_input|;t t
   19078 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19079 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19080 s&@srcdir@&$ac_srcdir&;t t
   19081 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19082 s&@top_srcdir@&$ac_top_srcdir&;t t
   19083 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19084 s&@builddir@&$ac_builddir&;t t
   19085 s&@abs_builddir@&$ac_abs_builddir&;t t
   19086 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19087 s&@INSTALL@&$ac_INSTALL&;t t
   19088 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19089 $ac_datarootdir_hack
   19090 "
   19091 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19092   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19093 
   19094 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19095   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19096   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19097       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19098   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19099 which seems to be undefined.  Please make sure it is defined" >&5
   19100 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19101 which seems to be undefined.  Please make sure it is defined" >&2;}
   19102 
   19103   rm -f "$ac_tmp/stdin"
   19104   case $ac_file in
   19105   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19106   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19107   esac \
   19108   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19109  ;;
   19110   :H)
   19111   #
   19112   # CONFIG_HEADER
   19113   #
   19114   if test x"$ac_file" != x-; then
   19115     {
   19116       $as_echo "/* $configure_input  */" \
   19117       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19118     } >"$ac_tmp/config.h" \
   19119       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19120     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19121       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19122 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19123     else
   19124       rm -f "$ac_file"
   19125       mv "$ac_tmp/config.h" "$ac_file" \
   19126 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19127     fi
   19128   else
   19129     $as_echo "/* $configure_input  */" \
   19130       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19131       || as_fn_error $? "could not create -" "$LINENO" 5
   19132   fi
   19133 # Compute "$ac_file"'s index in $config_headers.
   19134 _am_arg="$ac_file"
   19135 _am_stamp_count=1
   19136 for _am_header in $config_headers :; do
   19137   case $_am_header in
   19138     $_am_arg | $_am_arg:* )
   19139       break ;;
   19140     * )
   19141       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19142   esac
   19143 done
   19144 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19145 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19146 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19147 	 X"$_am_arg" : 'X\(//\)$' \| \
   19148 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19149 $as_echo X"$_am_arg" |
   19150     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19151 	    s//\1/
   19152 	    q
   19153 	  }
   19154 	  /^X\(\/\/\)[^/].*/{
   19155 	    s//\1/
   19156 	    q
   19157 	  }
   19158 	  /^X\(\/\/\)$/{
   19159 	    s//\1/
   19160 	    q
   19161 	  }
   19162 	  /^X\(\/\).*/{
   19163 	    s//\1/
   19164 	    q
   19165 	  }
   19166 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19167  ;;
   19168 
   19169   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19170 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19171  ;;
   19172   esac
   19173 
   19174 
   19175   case $ac_file$ac_mode in
   19176     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19177   # Older Autoconf quotes --file arguments for eval, but not when files
   19178   # are listed without --file.  Let's play safe and only enable the eval
   19179   # if we detect the quoting.
   19180   case $CONFIG_FILES in
   19181   *\'*) eval set x "$CONFIG_FILES" ;;
   19182   *)   set x $CONFIG_FILES ;;
   19183   esac
   19184   shift
   19185   for mf
   19186   do
   19187     # Strip MF so we end up with the name of the file.
   19188     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19189     # Check whether this is an Automake generated Makefile or not.
   19190     # We used to match only the files named 'Makefile.in', but
   19191     # some people rename them; so instead we look at the file content.
   19192     # Grep'ing the first line is not enough: some people post-process
   19193     # each Makefile.in and add a new line on top of each file to say so.
   19194     # Grep'ing the whole file is not good either: AIX grep has a line
   19195     # limit of 2048, but all sed's we know have understand at least 4000.
   19196     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19197       dirpart=`$as_dirname -- "$mf" ||
   19198 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19199 	 X"$mf" : 'X\(//\)[^/]' \| \
   19200 	 X"$mf" : 'X\(//\)$' \| \
   19201 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19202 $as_echo X"$mf" |
   19203     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19204 	    s//\1/
   19205 	    q
   19206 	  }
   19207 	  /^X\(\/\/\)[^/].*/{
   19208 	    s//\1/
   19209 	    q
   19210 	  }
   19211 	  /^X\(\/\/\)$/{
   19212 	    s//\1/
   19213 	    q
   19214 	  }
   19215 	  /^X\(\/\).*/{
   19216 	    s//\1/
   19217 	    q
   19218 	  }
   19219 	  s/.*/./; q'`
   19220     else
   19221       continue
   19222     fi
   19223     # Extract the definition of DEPDIR, am__include, and am__quote
   19224     # from the Makefile without running 'make'.
   19225     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19226     test -z "$DEPDIR" && continue
   19227     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19228     test -z "$am__include" && continue
   19229     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19230     # Find all dependency output files, they are included files with
   19231     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19232     # simplest approach to changing $(DEPDIR) to its actual value in the
   19233     # expansion.
   19234     for file in `sed -n "
   19235       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19236 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19237       # Make sure the directory exists.
   19238       test -f "$dirpart/$file" && continue
   19239       fdir=`$as_dirname -- "$file" ||
   19240 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19241 	 X"$file" : 'X\(//\)[^/]' \| \
   19242 	 X"$file" : 'X\(//\)$' \| \
   19243 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19244 $as_echo X"$file" |
   19245     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19246 	    s//\1/
   19247 	    q
   19248 	  }
   19249 	  /^X\(\/\/\)[^/].*/{
   19250 	    s//\1/
   19251 	    q
   19252 	  }
   19253 	  /^X\(\/\/\)$/{
   19254 	    s//\1/
   19255 	    q
   19256 	  }
   19257 	  /^X\(\/\).*/{
   19258 	    s//\1/
   19259 	    q
   19260 	  }
   19261 	  s/.*/./; q'`
   19262       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19263       # echo "creating $dirpart/$file"
   19264       echo '# dummy' > "$dirpart/$file"
   19265     done
   19266   done
   19267 }
   19268  ;;
   19269     "libtool":C)
   19270 
   19271     # See if we are running on zsh, and set the options which allow our
   19272     # commands through without removal of \ escapes.
   19273     if test -n "${ZSH_VERSION+set}" ; then
   19274       setopt NO_GLOB_SUBST
   19275     fi
   19276 
   19277     cfgfile="${ofile}T"
   19278     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19279     $RM "$cfgfile"
   19280 
   19281     cat <<_LT_EOF >> "$cfgfile"
   19282 #! $SHELL
   19283 
   19284 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19285 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19286 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19287 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19288 #
   19289 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19290 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   19291 #   Written by Gordon Matzigkeit, 1996
   19292 #
   19293 #   This file is part of GNU Libtool.
   19294 #
   19295 # GNU Libtool is free software; you can redistribute it and/or
   19296 # modify it under the terms of the GNU General Public License as
   19297 # published by the Free Software Foundation; either version 2 of
   19298 # the License, or (at your option) any later version.
   19299 #
   19300 # As a special exception to the GNU General Public License,
   19301 # if you distribute this file as part of a program or library that
   19302 # is built using GNU Libtool, you may include this file under the
   19303 # same distribution terms that you use for the rest of that program.
   19304 #
   19305 # GNU Libtool is distributed in the hope that it will be useful,
   19306 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19307 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19308 # GNU General Public License for more details.
   19309 #
   19310 # You should have received a copy of the GNU General Public License
   19311 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19312 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19313 # obtained by writing to the Free Software Foundation, Inc.,
   19314 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19315 
   19316 
   19317 # The names of the tagged configurations supported by this script.
   19318 available_tags=""
   19319 
   19320 # ### BEGIN LIBTOOL CONFIG
   19321 
   19322 # Whether or not to build shared libraries.
   19323 build_libtool_libs=$enable_shared
   19324 
   19325 # Which release of libtool.m4 was used?
   19326 macro_version=$macro_version
   19327 macro_revision=$macro_revision
   19328 
   19329 # Whether or not to build static libraries.
   19330 build_old_libs=$enable_static
   19331 
   19332 # What type of objects to build.
   19333 pic_mode=$pic_mode
   19334 
   19335 # Whether or not to optimize for fast installation.
   19336 fast_install=$enable_fast_install
   19337 
   19338 # Shell to use when invoking shell scripts.
   19339 SHELL=$lt_SHELL
   19340 
   19341 # An echo program that protects backslashes.
   19342 ECHO=$lt_ECHO
   19343 
   19344 # The host system.
   19345 host_alias=$host_alias
   19346 host=$host
   19347 host_os=$host_os
   19348 
   19349 # The build system.
   19350 build_alias=$build_alias
   19351 build=$build
   19352 build_os=$build_os
   19353 
   19354 # A sed program that does not truncate output.
   19355 SED=$lt_SED
   19356 
   19357 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19358 Xsed="\$SED -e 1s/^X//"
   19359 
   19360 # A grep program that handles long lines.
   19361 GREP=$lt_GREP
   19362 
   19363 # An ERE matcher.
   19364 EGREP=$lt_EGREP
   19365 
   19366 # A literal string matcher.
   19367 FGREP=$lt_FGREP
   19368 
   19369 # A BSD- or MS-compatible name lister.
   19370 NM=$lt_NM
   19371 
   19372 # Whether we need soft or hard links.
   19373 LN_S=$lt_LN_S
   19374 
   19375 # What is the maximum length of a command?
   19376 max_cmd_len=$max_cmd_len
   19377 
   19378 # Object file suffix (normally "o").
   19379 objext=$ac_objext
   19380 
   19381 # Executable file suffix (normally "").
   19382 exeext=$exeext
   19383 
   19384 # whether the shell understands "unset".
   19385 lt_unset=$lt_unset
   19386 
   19387 # turn spaces into newlines.
   19388 SP2NL=$lt_lt_SP2NL
   19389 
   19390 # turn newlines into spaces.
   19391 NL2SP=$lt_lt_NL2SP
   19392 
   19393 # An object symbol dumper.
   19394 OBJDUMP=$lt_OBJDUMP
   19395 
   19396 # Method to check whether dependent libraries are shared objects.
   19397 deplibs_check_method=$lt_deplibs_check_method
   19398 
   19399 # Command to use when deplibs_check_method == "file_magic".
   19400 file_magic_cmd=$lt_file_magic_cmd
   19401 
   19402 # The archiver.
   19403 AR=$lt_AR
   19404 AR_FLAGS=$lt_AR_FLAGS
   19405 
   19406 # A symbol stripping program.
   19407 STRIP=$lt_STRIP
   19408 
   19409 # Commands used to install an old-style archive.
   19410 RANLIB=$lt_RANLIB
   19411 old_postinstall_cmds=$lt_old_postinstall_cmds
   19412 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19413 
   19414 # Whether to use a lock for old archive extraction.
   19415 lock_old_archive_extraction=$lock_old_archive_extraction
   19416 
   19417 # A C compiler.
   19418 LTCC=$lt_CC
   19419 
   19420 # LTCC compiler flags.
   19421 LTCFLAGS=$lt_CFLAGS
   19422 
   19423 # Take the output of nm and produce a listing of raw symbols and C names.
   19424 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19425 
   19426 # Transform the output of nm in a proper C declaration.
   19427 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19428 
   19429 # Transform the output of nm in a C name address pair.
   19430 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19431 
   19432 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19433 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19434 
   19435 # The name of the directory that contains temporary libtool files.
   19436 objdir=$objdir
   19437 
   19438 # Used to examine libraries when file_magic_cmd begins with "file".
   19439 MAGIC_CMD=$MAGIC_CMD
   19440 
   19441 # Must we lock files when doing compilation?
   19442 need_locks=$lt_need_locks
   19443 
   19444 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19445 DSYMUTIL=$lt_DSYMUTIL
   19446 
   19447 # Tool to change global to local symbols on Mac OS X.
   19448 NMEDIT=$lt_NMEDIT
   19449 
   19450 # Tool to manipulate fat objects and archives on Mac OS X.
   19451 LIPO=$lt_LIPO
   19452 
   19453 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19454 OTOOL=$lt_OTOOL
   19455 
   19456 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19457 OTOOL64=$lt_OTOOL64
   19458 
   19459 # Old archive suffix (normally "a").
   19460 libext=$libext
   19461 
   19462 # Shared library suffix (normally ".so").
   19463 shrext_cmds=$lt_shrext_cmds
   19464 
   19465 # The commands to extract the exported symbol list from a shared archive.
   19466 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19467 
   19468 # Variables whose values should be saved in libtool wrapper scripts and
   19469 # restored at link time.
   19470 variables_saved_for_relink=$lt_variables_saved_for_relink
   19471 
   19472 # Do we need the "lib" prefix for modules?
   19473 need_lib_prefix=$need_lib_prefix
   19474 
   19475 # Do we need a version for libraries?
   19476 need_version=$need_version
   19477 
   19478 # Library versioning type.
   19479 version_type=$version_type
   19480 
   19481 # Shared library runtime path variable.
   19482 runpath_var=$runpath_var
   19483 
   19484 # Shared library path variable.
   19485 shlibpath_var=$shlibpath_var
   19486 
   19487 # Is shlibpath searched before the hard-coded library search path?
   19488 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19489 
   19490 # Format of library name prefix.
   19491 libname_spec=$lt_libname_spec
   19492 
   19493 # List of archive names.  First name is the real one, the rest are links.
   19494 # The last name is the one that the linker finds with -lNAME
   19495 library_names_spec=$lt_library_names_spec
   19496 
   19497 # The coded name of the library, if different from the real name.
   19498 soname_spec=$lt_soname_spec
   19499 
   19500 # Permission mode override for installation of shared libraries.
   19501 install_override_mode=$lt_install_override_mode
   19502 
   19503 # Command to use after installation of a shared archive.
   19504 postinstall_cmds=$lt_postinstall_cmds
   19505 
   19506 # Command to use after uninstallation of a shared archive.
   19507 postuninstall_cmds=$lt_postuninstall_cmds
   19508 
   19509 # Commands used to finish a libtool library installation in a directory.
   19510 finish_cmds=$lt_finish_cmds
   19511 
   19512 # As "finish_cmds", except a single script fragment to be evaled but
   19513 # not shown.
   19514 finish_eval=$lt_finish_eval
   19515 
   19516 # Whether we should hardcode library paths into libraries.
   19517 hardcode_into_libs=$hardcode_into_libs
   19518 
   19519 # Compile-time system search path for libraries.
   19520 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19521 
   19522 # Run-time system search path for libraries.
   19523 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19524 
   19525 # Whether dlopen is supported.
   19526 dlopen_support=$enable_dlopen
   19527 
   19528 # Whether dlopen of programs is supported.
   19529 dlopen_self=$enable_dlopen_self
   19530 
   19531 # Whether dlopen of statically linked programs is supported.
   19532 dlopen_self_static=$enable_dlopen_self_static
   19533 
   19534 # Commands to strip libraries.
   19535 old_striplib=$lt_old_striplib
   19536 striplib=$lt_striplib
   19537 
   19538 
   19539 # The linker used to build libraries.
   19540 LD=$lt_LD
   19541 
   19542 # How to create reloadable object files.
   19543 reload_flag=$lt_reload_flag
   19544 reload_cmds=$lt_reload_cmds
   19545 
   19546 # Commands used to build an old-style archive.
   19547 old_archive_cmds=$lt_old_archive_cmds
   19548 
   19549 # A language specific compiler.
   19550 CC=$lt_compiler
   19551 
   19552 # Is the compiler the GNU compiler?
   19553 with_gcc=$GCC
   19554 
   19555 # Compiler flag to turn off builtin functions.
   19556 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19557 
   19558 # How to pass a linker flag through the compiler.
   19559 wl=$lt_lt_prog_compiler_wl
   19560 
   19561 # Additional compiler flags for building library objects.
   19562 pic_flag=$lt_lt_prog_compiler_pic
   19563 
   19564 # Compiler flag to prevent dynamic linking.
   19565 link_static_flag=$lt_lt_prog_compiler_static
   19566 
   19567 # Does compiler simultaneously support -c and -o options?
   19568 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19569 
   19570 # Whether or not to add -lc for building shared libraries.
   19571 build_libtool_need_lc=$archive_cmds_need_lc
   19572 
   19573 # Whether or not to disallow shared libs when runtime libs are static.
   19574 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19575 
   19576 # Compiler flag to allow reflexive dlopens.
   19577 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19578 
   19579 # Compiler flag to generate shared objects directly from archives.
   19580 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19581 
   19582 # Whether the compiler copes with passing no objects directly.
   19583 compiler_needs_object=$lt_compiler_needs_object
   19584 
   19585 # Create an old-style archive from a shared archive.
   19586 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19587 
   19588 # Create a temporary old-style archive to link instead of a shared archive.
   19589 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19590 
   19591 # Commands used to build a shared archive.
   19592 archive_cmds=$lt_archive_cmds
   19593 archive_expsym_cmds=$lt_archive_expsym_cmds
   19594 
   19595 # Commands used to build a loadable module if different from building
   19596 # a shared archive.
   19597 module_cmds=$lt_module_cmds
   19598 module_expsym_cmds=$lt_module_expsym_cmds
   19599 
   19600 # Whether we are building with GNU ld or not.
   19601 with_gnu_ld=$lt_with_gnu_ld
   19602 
   19603 # Flag that allows shared libraries with undefined symbols to be built.
   19604 allow_undefined_flag=$lt_allow_undefined_flag
   19605 
   19606 # Flag that enforces no undefined symbols.
   19607 no_undefined_flag=$lt_no_undefined_flag
   19608 
   19609 # Flag to hardcode \$libdir into a binary during linking.
   19610 # This must work even if \$libdir does not exist
   19611 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19612 
   19613 # If ld is used when linking, flag to hardcode \$libdir into a binary
   19614 # during linking.  This must work even if \$libdir does not exist.
   19615 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   19616 
   19617 # Whether we need a single "-rpath" flag with a separated argument.
   19618 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19619 
   19620 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19621 # DIR into the resulting binary.
   19622 hardcode_direct=$hardcode_direct
   19623 
   19624 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19625 # DIR into the resulting binary and the resulting library dependency is
   19626 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19627 # library is relocated.
   19628 hardcode_direct_absolute=$hardcode_direct_absolute
   19629 
   19630 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19631 # into the resulting binary.
   19632 hardcode_minus_L=$hardcode_minus_L
   19633 
   19634 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19635 # into the resulting binary.
   19636 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19637 
   19638 # Set to "yes" if building a shared library automatically hardcodes DIR
   19639 # into the library and all subsequent libraries and executables linked
   19640 # against it.
   19641 hardcode_automatic=$hardcode_automatic
   19642 
   19643 # Set to yes if linker adds runtime paths of dependent libraries
   19644 # to runtime path list.
   19645 inherit_rpath=$inherit_rpath
   19646 
   19647 # Whether libtool must link a program against all its dependency libraries.
   19648 link_all_deplibs=$link_all_deplibs
   19649 
   19650 # Fix the shell variable \$srcfile for the compiler.
   19651 fix_srcfile_path=$lt_fix_srcfile_path
   19652 
   19653 # Set to "yes" if exported symbols are required.
   19654 always_export_symbols=$always_export_symbols
   19655 
   19656 # The commands to list exported symbols.
   19657 export_symbols_cmds=$lt_export_symbols_cmds
   19658 
   19659 # Symbols that should not be listed in the preloaded symbols.
   19660 exclude_expsyms=$lt_exclude_expsyms
   19661 
   19662 # Symbols that must always be exported.
   19663 include_expsyms=$lt_include_expsyms
   19664 
   19665 # Commands necessary for linking programs (against libraries) with templates.
   19666 prelink_cmds=$lt_prelink_cmds
   19667 
   19668 # Specify filename containing input files.
   19669 file_list_spec=$lt_file_list_spec
   19670 
   19671 # How to hardcode a shared library path into an executable.
   19672 hardcode_action=$hardcode_action
   19673 
   19674 # ### END LIBTOOL CONFIG
   19675 
   19676 _LT_EOF
   19677 
   19678   case $host_os in
   19679   aix3*)
   19680     cat <<\_LT_EOF >> "$cfgfile"
   19681 # AIX sometimes has problems with the GCC collect2 program.  For some
   19682 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19683 # vanish in a puff of smoke.
   19684 if test "X${COLLECT_NAMES+set}" != Xset; then
   19685   COLLECT_NAMES=
   19686   export COLLECT_NAMES
   19687 fi
   19688 _LT_EOF
   19689     ;;
   19690   esac
   19691 
   19692 
   19693 ltmain="$ac_aux_dir/ltmain.sh"
   19694 
   19695 
   19696   # We use sed instead of cat because bash on DJGPP gets confused if
   19697   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19698   # text mode, it properly converts lines to CR/LF.  This bash problem
   19699   # is reportedly fixed, but why not run on old versions too?
   19700   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   19701     || (rm -f "$cfgfile"; exit 1)
   19702 
   19703   case $xsi_shell in
   19704   yes)
   19705     cat << \_LT_EOF >> "$cfgfile"
   19706 
   19707 # func_dirname file append nondir_replacement
   19708 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19709 # otherwise set result to NONDIR_REPLACEMENT.
   19710 func_dirname ()
   19711 {
   19712   case ${1} in
   19713     */*) func_dirname_result="${1%/*}${2}" ;;
   19714     *  ) func_dirname_result="${3}" ;;
   19715   esac
   19716 }
   19717 
   19718 # func_basename file
   19719 func_basename ()
   19720 {
   19721   func_basename_result="${1##*/}"
   19722 }
   19723 
   19724 # func_dirname_and_basename file append nondir_replacement
   19725 # perform func_basename and func_dirname in a single function
   19726 # call:
   19727 #   dirname:  Compute the dirname of FILE.  If nonempty,
   19728 #             add APPEND to the result, otherwise set result
   19729 #             to NONDIR_REPLACEMENT.
   19730 #             value returned in "$func_dirname_result"
   19731 #   basename: Compute filename of FILE.
   19732 #             value retuned in "$func_basename_result"
   19733 # Implementation must be kept synchronized with func_dirname
   19734 # and func_basename. For efficiency, we do not delegate to
   19735 # those functions but instead duplicate the functionality here.
   19736 func_dirname_and_basename ()
   19737 {
   19738   case ${1} in
   19739     */*) func_dirname_result="${1%/*}${2}" ;;
   19740     *  ) func_dirname_result="${3}" ;;
   19741   esac
   19742   func_basename_result="${1##*/}"
   19743 }
   19744 
   19745 # func_stripname prefix suffix name
   19746 # strip PREFIX and SUFFIX off of NAME.
   19747 # PREFIX and SUFFIX must not contain globbing or regex special
   19748 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19749 # dot (in which case that matches only a dot).
   19750 func_stripname ()
   19751 {
   19752   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   19753   # positional parameters, so assign one to ordinary parameter first.
   19754   func_stripname_result=${3}
   19755   func_stripname_result=${func_stripname_result#"${1}"}
   19756   func_stripname_result=${func_stripname_result%"${2}"}
   19757 }
   19758 
   19759 # func_opt_split
   19760 func_opt_split ()
   19761 {
   19762   func_opt_split_opt=${1%%=*}
   19763   func_opt_split_arg=${1#*=}
   19764 }
   19765 
   19766 # func_lo2o object
   19767 func_lo2o ()
   19768 {
   19769   case ${1} in
   19770     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   19771     *)    func_lo2o_result=${1} ;;
   19772   esac
   19773 }
   19774 
   19775 # func_xform libobj-or-source
   19776 func_xform ()
   19777 {
   19778   func_xform_result=${1%.*}.lo
   19779 }
   19780 
   19781 # func_arith arithmetic-term...
   19782 func_arith ()
   19783 {
   19784   func_arith_result=$(( $* ))
   19785 }
   19786 
   19787 # func_len string
   19788 # STRING may not start with a hyphen.
   19789 func_len ()
   19790 {
   19791   func_len_result=${#1}
   19792 }
   19793 
   19794 _LT_EOF
   19795     ;;
   19796   *) # Bourne compatible functions.
   19797     cat << \_LT_EOF >> "$cfgfile"
   19798 
   19799 # func_dirname file append nondir_replacement
   19800 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19801 # otherwise set result to NONDIR_REPLACEMENT.
   19802 func_dirname ()
   19803 {
   19804   # Extract subdirectory from the argument.
   19805   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   19806   if test "X$func_dirname_result" = "X${1}"; then
   19807     func_dirname_result="${3}"
   19808   else
   19809     func_dirname_result="$func_dirname_result${2}"
   19810   fi
   19811 }
   19812 
   19813 # func_basename file
   19814 func_basename ()
   19815 {
   19816   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   19817 }
   19818 
   19819 
   19820 # func_stripname prefix suffix name
   19821 # strip PREFIX and SUFFIX off of NAME.
   19822 # PREFIX and SUFFIX must not contain globbing or regex special
   19823 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19824 # dot (in which case that matches only a dot).
   19825 # func_strip_suffix prefix name
   19826 func_stripname ()
   19827 {
   19828   case ${2} in
   19829     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   19830     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   19831   esac
   19832 }
   19833 
   19834 # sed scripts:
   19835 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   19836 my_sed_long_arg='1s/^-[^=]*=//'
   19837 
   19838 # func_opt_split
   19839 func_opt_split ()
   19840 {
   19841   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   19842   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   19843 }
   19844 
   19845 # func_lo2o object
   19846 func_lo2o ()
   19847 {
   19848   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   19849 }
   19850 
   19851 # func_xform libobj-or-source
   19852 func_xform ()
   19853 {
   19854   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   19855 }
   19856 
   19857 # func_arith arithmetic-term...
   19858 func_arith ()
   19859 {
   19860   func_arith_result=`expr "$@"`
   19861 }
   19862 
   19863 # func_len string
   19864 # STRING may not start with a hyphen.
   19865 func_len ()
   19866 {
   19867   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   19868 }
   19869 
   19870 _LT_EOF
   19871 esac
   19872 
   19873 case $lt_shell_append in
   19874   yes)
   19875     cat << \_LT_EOF >> "$cfgfile"
   19876 
   19877 # func_append var value
   19878 # Append VALUE to the end of shell variable VAR.
   19879 func_append ()
   19880 {
   19881   eval "$1+=\$2"
   19882 }
   19883 _LT_EOF
   19884     ;;
   19885   *)
   19886     cat << \_LT_EOF >> "$cfgfile"
   19887 
   19888 # func_append var value
   19889 # Append VALUE to the end of shell variable VAR.
   19890 func_append ()
   19891 {
   19892   eval "$1=\$$1\$2"
   19893 }
   19894 
   19895 _LT_EOF
   19896     ;;
   19897   esac
   19898 
   19899 
   19900   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   19901     || (rm -f "$cfgfile"; exit 1)
   19902 
   19903   mv -f "$cfgfile" "$ofile" ||
   19904     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   19905   chmod +x "$ofile"
   19906 
   19907  ;;
   19908     "default-1":C)
   19909     for ac_file in $CONFIG_FILES; do
   19910       # Support "outfile[:infile[:infile...]]"
   19911       case "$ac_file" in
   19912         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   19913       esac
   19914       # PO directories have a Makefile.in generated from Makefile.in.in.
   19915       case "$ac_file" in */Makefile.in)
   19916         # Adjust a relative srcdir.
   19917         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   19918         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
   19919         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   19920         # In autoconf-2.13 it is called $ac_given_srcdir.
   19921         # In autoconf-2.50 it is called $srcdir.
   19922         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   19923         case "$ac_given_srcdir" in
   19924           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   19925           /*) top_srcdir="$ac_given_srcdir" ;;
   19926           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   19927         esac
   19928         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   19929           rm -f "$ac_dir/POTFILES"
   19930           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   19931           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   19932           POMAKEFILEDEPS="POTFILES.in"
   19933           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
   19934           # on $ac_dir but don't depend on user-specified configuration
   19935           # parameters.
   19936           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   19937             # The LINGUAS file contains the set of available languages.
   19938             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   19939               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
   19940             fi
   19941             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   19942             # Hide the ALL_LINGUAS assigment from automake.
   19943             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   19944             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   19945           else
   19946             # The set of available languages was given in configure.ac.
   19947             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   19948           fi
   19949           case "$ac_given_srcdir" in
   19950             .) srcdirpre= ;;
   19951             *) srcdirpre='$(srcdir)/' ;;
   19952           esac
   19953           POFILES=
   19954           GMOFILES=
   19955           UPDATEPOFILES=
   19956           DUMMYPOFILES=
   19957           for lang in $ALL_LINGUAS; do
   19958             POFILES="$POFILES $srcdirpre$lang.po"
   19959             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   19960             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   19961             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   19962           done
   19963           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   19964           # environment variable.
   19965           INST_LINGUAS=
   19966           if test -n "$ALL_LINGUAS"; then
   19967             for presentlang in $ALL_LINGUAS; do
   19968               useit=no
   19969               if test "%UNSET%" != "$LINGUAS"; then
   19970                 desiredlanguages="$LINGUAS"
   19971               else
   19972                 desiredlanguages="$ALL_LINGUAS"
   19973               fi
   19974               for desiredlang in $desiredlanguages; do
   19975                 # Use the presentlang catalog if desiredlang is
   19976                 #   a. equal to presentlang, or
   19977                 #   b. a variant of presentlang (because in this case,
   19978                 #      presentlang can be used as a fallback for messages
   19979                 #      which are not translated in the desiredlang catalog).
   19980                 case "$desiredlang" in
   19981                   "$presentlang"*) useit=yes;;
   19982                 esac
   19983               done
   19984               if test $useit = yes; then
   19985                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   19986               fi
   19987             done
   19988           fi
   19989           CATALOGS=
   19990           if test -n "$INST_LINGUAS"; then
   19991             for lang in $INST_LINGUAS; do
   19992               CATALOGS="$CATALOGS $lang.gmo"
   19993             done
   19994           fi
   19995           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   19996           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"
   19997           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   19998             if test -f "$f"; then
   19999               case "$f" in
   20000                 *.orig | *.bak | *~) ;;
   20001                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   20002               esac
   20003             fi
   20004           done
   20005         fi
   20006         ;;
   20007       esac
   20008     done ;;
   20009     "default-2":C)
   20010     for ac_file in $CONFIG_FILES; do
   20011       # Support "outfile[:infile[:infile...]]"
   20012       case "$ac_file" in
   20013         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   20014       esac
   20015       # PO directories have a Makefile.in generated from Makefile.in.in.
   20016       case "$ac_file" in */Makefile.in)
   20017         # Adjust a relative srcdir.
   20018         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   20019         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
   20020         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   20021         # In autoconf-2.13 it is called $ac_given_srcdir.
   20022         # In autoconf-2.50 it is called $srcdir.
   20023         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   20024         case "$ac_given_srcdir" in
   20025           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   20026           /*) top_srcdir="$ac_given_srcdir" ;;
   20027           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   20028         esac
   20029         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   20030           rm -f "$ac_dir/POTFILES"
   20031           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   20032           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   20033           POMAKEFILEDEPS="POTFILES.in"
   20034           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
   20035           # on $ac_dir but don't depend on user-specified configuration
   20036           # parameters.
   20037           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   20038             # The LINGUAS file contains the set of available languages.
   20039             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   20040               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
   20041             fi
   20042             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   20043             # Hide the ALL_LINGUAS assigment from automake.
   20044             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   20045             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   20046           else
   20047             # The set of available languages was given in configure.ac.
   20048             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   20049           fi
   20050           case "$ac_given_srcdir" in
   20051             .) srcdirpre= ;;
   20052             *) srcdirpre='$(srcdir)/' ;;
   20053           esac
   20054           POFILES=
   20055           GMOFILES=
   20056           UPDATEPOFILES=
   20057           DUMMYPOFILES=
   20058           for lang in $ALL_LINGUAS; do
   20059             POFILES="$POFILES $srcdirpre$lang.po"
   20060             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   20061             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   20062             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   20063           done
   20064           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   20065           # environment variable.
   20066           INST_LINGUAS=
   20067           if test -n "$ALL_LINGUAS"; then
   20068             for presentlang in $ALL_LINGUAS; do
   20069               useit=no
   20070               if test "%UNSET%" != "$LINGUAS"; then
   20071                 desiredlanguages="$LINGUAS"
   20072               else
   20073                 desiredlanguages="$ALL_LINGUAS"
   20074               fi
   20075               for desiredlang in $desiredlanguages; do
   20076                 # Use the presentlang catalog if desiredlang is
   20077                 #   a. equal to presentlang, or
   20078                 #   b. a variant of presentlang (because in this case,
   20079                 #      presentlang can be used as a fallback for messages
   20080                 #      which are not translated in the desiredlang catalog).
   20081                 case "$desiredlang" in
   20082                   "$presentlang"*) useit=yes;;
   20083                 esac
   20084               done
   20085               if test $useit = yes; then
   20086                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   20087               fi
   20088             done
   20089           fi
   20090           CATALOGS=
   20091           if test -n "$INST_LINGUAS"; then
   20092             for lang in $INST_LINGUAS; do
   20093               CATALOGS="$CATALOGS $lang.gmo"
   20094             done
   20095           fi
   20096           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   20097           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"
   20098           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   20099             if test -f "$f"; then
   20100               case "$f" in
   20101                 *.orig | *.bak | *~) ;;
   20102                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   20103               esac
   20104             fi
   20105           done
   20106         fi
   20107         ;;
   20108       esac
   20109     done ;;
   20110     "default":C)
   20111 case "$srcdir" in
   20112   .) srcdirpre= ;;
   20113   *) srcdirpre='$(srcdir)/' ;;
   20114 esac
   20115 POFILES=
   20116 GMOFILES=
   20117 for lang in dummy $OBSOLETE_ALL_LINGUAS; do
   20118   if test $lang != dummy; then
   20119     POFILES="$POFILES $srcdirpre$lang.po"
   20120     GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   20121   fi
   20122 done
   20123 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
   20124     -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
   20125     -e "s,@POFILES@,$POFILES," \
   20126     -e "s,@GMOFILES@,$GMOFILES," \
   20127     po/Makefile.in > po/Makefile ;;
   20128 
   20129   esac
   20130 done # for ac_tag
   20131 
   20132 
   20133 as_fn_exit 0
   20134 _ACEOF
   20135 ac_clean_files=$ac_clean_files_save
   20136 
   20137 test $ac_write_fail = 0 ||
   20138   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20139 
   20140 
   20141 # configure is writing to config.log, and then calls config.status.
   20142 # config.status does its own redirection, appending to config.log.
   20143 # Unfortunately, on DOS this fails, as config.log is still kept open
   20144 # by configure, so config.status won't be able to write to it; its
   20145 # output is simply discarded.  So we exec the FD to /dev/null,
   20146 # effectively closing config.log, so it can be properly (re)opened and
   20147 # appended to by config.status.  When coming back to configure, we
   20148 # need to make the FD available again.
   20149 if test "$no_create" != yes; then
   20150   ac_cs_success=:
   20151   ac_config_status_args=
   20152   test "$silent" = yes &&
   20153     ac_config_status_args="$ac_config_status_args --quiet"
   20154   exec 5>/dev/null
   20155   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20156   exec 5>>config.log
   20157   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20158   # would make configure fail if this is the last instruction.
   20159   $ac_cs_success || as_fn_exit 1
   20160 fi
   20161 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20162   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20163 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20164 fi
   20165 
   20166 
   20167 
   20168 touch config.status.tmp
   20169 if touch --reference=config.status config.status.tmp > /dev/null 2>&1; then
   20170   sed '/as_fn_exit 0/i \
   20171 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
   20172 touch --reference=Makefile Makefile.tmp \
   20173 mv Makefile.tmp Makefile \
   20174 ' config.status > config.status.tmp
   20175   touch --reference=config.status config.status.tmp
   20176   mv config.status.tmp config.status
   20177   chmod +x config.status
   20178   sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile > Makefile.tmp
   20179   touch --reference=Makefile Makefile.tmp
   20180   mv Makefile.tmp Makefile
   20181 else
   20182   rm -f config.status.tmp
   20183 fi
   20184