Home | History | Annotate | Line # | Download | only in bfd
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for bfd 2.43.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.43.50'
    592 PACKAGE_STRING='bfd 2.43.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.43.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.43.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.43.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.43.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.43.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 case `pwd` in
   5058   *\ * | *\	*)
   5059     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5060 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5061 esac
   5062 
   5063 
   5064 
   5065 macro_version='2.2.7a'
   5066 macro_revision='1.3134'
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 
   5080 ltmain="$ac_aux_dir/ltmain.sh"
   5081 
   5082 # Backslashify metacharacters that are still active within
   5083 # double-quoted strings.
   5084 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5085 
   5086 # Same as above, but do not quote variable references.
   5087 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5088 
   5089 # Sed substitution to delay expansion of an escaped shell variable in a
   5090 # double_quote_subst'ed string.
   5091 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5092 
   5093 # Sed substitution to delay expansion of an escaped single quote.
   5094 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5095 
   5096 # Sed substitution to avoid accidental globbing in evaled expressions
   5097 no_glob_subst='s/\*/\\\*/g'
   5098 
   5099 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5100 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5101 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5102 
   5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5104 $as_echo_n "checking how to print strings... " >&6; }
   5105 # Test print first, because it will be a builtin if present.
   5106 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   5107    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5108   ECHO='print -r --'
   5109 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5110   ECHO='printf %s\n'
   5111 else
   5112   # Use this function as a fallback that always works.
   5113   func_fallback_echo ()
   5114   {
   5115     eval 'cat <<_LTECHO_EOF
   5116 $1
   5117 _LTECHO_EOF'
   5118   }
   5119   ECHO='func_fallback_echo'
   5120 fi
   5121 
   5122 # func_echo_all arg...
   5123 # Invoke $ECHO with all args, space-separated.
   5124 func_echo_all ()
   5125 {
   5126     $ECHO ""
   5127 }
   5128 
   5129 case "$ECHO" in
   5130   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5131 $as_echo "printf" >&6; } ;;
   5132   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5133 $as_echo "print -r" >&6; } ;;
   5134   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5135 $as_echo "cat" >&6; } ;;
   5136 esac
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5152 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5153 if ${ac_cv_path_SED+:} false; then :
   5154   $as_echo_n "(cached) " >&6
   5155 else
   5156             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5157      for ac_i in 1 2 3 4 5 6 7; do
   5158        ac_script="$ac_script$as_nl$ac_script"
   5159      done
   5160      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5161      { ac_script=; unset ac_script;}
   5162      if test -z "$SED"; then
   5163   ac_path_SED_found=false
   5164   # Loop through the user's path and test for each of PROGNAME-LIST
   5165   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5166 for as_dir in $PATH
   5167 do
   5168   IFS=$as_save_IFS
   5169   test -z "$as_dir" && as_dir=.
   5170     for ac_prog in sed gsed; do
   5171     for ac_exec_ext in '' $ac_executable_extensions; do
   5172       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5173       as_fn_executable_p "$ac_path_SED" || continue
   5174 # Check for GNU ac_path_SED and select it if it is found.
   5175   # Check for GNU $ac_path_SED
   5176 case `"$ac_path_SED" --version 2>&1` in
   5177 *GNU*)
   5178   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5179 *)
   5180   ac_count=0
   5181   $as_echo_n 0123456789 >"conftest.in"
   5182   while :
   5183   do
   5184     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5185     mv "conftest.tmp" "conftest.in"
   5186     cp "conftest.in" "conftest.nl"
   5187     $as_echo '' >> "conftest.nl"
   5188     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5189     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5190     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5191     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5192       # Best one so far, save it but keep looking for a better one
   5193       ac_cv_path_SED="$ac_path_SED"
   5194       ac_path_SED_max=$ac_count
   5195     fi
   5196     # 10*(2^10) chars as input seems more than enough
   5197     test $ac_count -gt 10 && break
   5198   done
   5199   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5200 esac
   5201 
   5202       $ac_path_SED_found && break 3
   5203     done
   5204   done
   5205   done
   5206 IFS=$as_save_IFS
   5207   if test -z "$ac_cv_path_SED"; then
   5208     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5209   fi
   5210 else
   5211   ac_cv_path_SED=$SED
   5212 fi
   5213 
   5214 fi
   5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5216 $as_echo "$ac_cv_path_SED" >&6; }
   5217  SED="$ac_cv_path_SED"
   5218   rm -f conftest.sed
   5219 
   5220 test -z "$SED" && SED=sed
   5221 Xsed="$SED -e 1s/^X//"
   5222 
   5223 
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5234 $as_echo_n "checking for fgrep... " >&6; }
   5235 if ${ac_cv_path_FGREP+:} false; then :
   5236   $as_echo_n "(cached) " >&6
   5237 else
   5238   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5239    then ac_cv_path_FGREP="$GREP -F"
   5240    else
   5241      if test -z "$FGREP"; then
   5242   ac_path_FGREP_found=false
   5243   # Loop through the user's path and test for each of PROGNAME-LIST
   5244   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5245 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5246 do
   5247   IFS=$as_save_IFS
   5248   test -z "$as_dir" && as_dir=.
   5249     for ac_prog in fgrep; do
   5250     for ac_exec_ext in '' $ac_executable_extensions; do
   5251       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5252       as_fn_executable_p "$ac_path_FGREP" || continue
   5253 # Check for GNU ac_path_FGREP and select it if it is found.
   5254   # Check for GNU $ac_path_FGREP
   5255 case `"$ac_path_FGREP" --version 2>&1` in
   5256 *GNU*)
   5257   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5258 *)
   5259   ac_count=0
   5260   $as_echo_n 0123456789 >"conftest.in"
   5261   while :
   5262   do
   5263     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5264     mv "conftest.tmp" "conftest.in"
   5265     cp "conftest.in" "conftest.nl"
   5266     $as_echo 'FGREP' >> "conftest.nl"
   5267     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5268     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5269     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5270     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5271       # Best one so far, save it but keep looking for a better one
   5272       ac_cv_path_FGREP="$ac_path_FGREP"
   5273       ac_path_FGREP_max=$ac_count
   5274     fi
   5275     # 10*(2^10) chars as input seems more than enough
   5276     test $ac_count -gt 10 && break
   5277   done
   5278   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5279 esac
   5280 
   5281       $ac_path_FGREP_found && break 3
   5282     done
   5283   done
   5284   done
   5285 IFS=$as_save_IFS
   5286   if test -z "$ac_cv_path_FGREP"; then
   5287     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5288   fi
   5289 else
   5290   ac_cv_path_FGREP=$FGREP
   5291 fi
   5292 
   5293    fi
   5294 fi
   5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5296 $as_echo "$ac_cv_path_FGREP" >&6; }
   5297  FGREP="$ac_cv_path_FGREP"
   5298 
   5299 
   5300 test -z "$GREP" && GREP=grep
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 # Check whether --with-gnu-ld was given.
   5321 if test "${with_gnu_ld+set}" = set; then :
   5322   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5323 else
   5324   with_gnu_ld=no
   5325 fi
   5326 
   5327 ac_prog=ld
   5328 if test "$GCC" = yes; then
   5329   # Check if gcc -print-prog-name=ld gives a path.
   5330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5331 $as_echo_n "checking for ld used by $CC... " >&6; }
   5332   case $host in
   5333   *-*-mingw*)
   5334     # gcc leaves a trailing carriage return which upsets mingw
   5335     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5336   *)
   5337     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5338   esac
   5339   case $ac_prog in
   5340     # Accept absolute paths.
   5341     [\\/]* | ?:[\\/]*)
   5342       re_direlt='/[^/][^/]*/\.\./'
   5343       # Canonicalize the pathname of ld
   5344       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5345       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5346 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5347       done
   5348       test -z "$LD" && LD="$ac_prog"
   5349       ;;
   5350   "")
   5351     # If it fails, then pretend we aren't using GCC.
   5352     ac_prog=ld
   5353     ;;
   5354   *)
   5355     # If it is relative, then search for the first ld in PATH.
   5356     with_gnu_ld=unknown
   5357     ;;
   5358   esac
   5359 elif test "$with_gnu_ld" = yes; then
   5360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5361 $as_echo_n "checking for GNU ld... " >&6; }
   5362 else
   5363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5364 $as_echo_n "checking for non-GNU ld... " >&6; }
   5365 fi
   5366 if ${lt_cv_path_LD+:} false; then :
   5367   $as_echo_n "(cached) " >&6
   5368 else
   5369   if test -z "$LD"; then
   5370   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5371   for ac_dir in $PATH; do
   5372     IFS="$lt_save_ifs"
   5373     test -z "$ac_dir" && ac_dir=.
   5374     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5375       lt_cv_path_LD="$ac_dir/$ac_prog"
   5376       # Check to see if the program is GNU ld.  I'd rather use --version,
   5377       # but apparently some variants of GNU ld only accept -v.
   5378       # Break only if it was the GNU/non-GNU ld that we prefer.
   5379       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5380       *GNU* | *'with BFD'*)
   5381 	test "$with_gnu_ld" != no && break
   5382 	;;
   5383       *)
   5384 	test "$with_gnu_ld" != yes && break
   5385 	;;
   5386       esac
   5387     fi
   5388   done
   5389   IFS="$lt_save_ifs"
   5390 else
   5391   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5392 fi
   5393 fi
   5394 
   5395 LD="$lt_cv_path_LD"
   5396 if test -n "$LD"; then
   5397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5398 $as_echo "$LD" >&6; }
   5399 else
   5400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5401 $as_echo "no" >&6; }
   5402 fi
   5403 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5405 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5406 if ${lt_cv_prog_gnu_ld+:} false; then :
   5407   $as_echo_n "(cached) " >&6
   5408 else
   5409   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5410 case `$LD -v 2>&1 </dev/null` in
   5411 *GNU* | *'with BFD'*)
   5412   lt_cv_prog_gnu_ld=yes
   5413   ;;
   5414 *)
   5415   lt_cv_prog_gnu_ld=no
   5416   ;;
   5417 esac
   5418 fi
   5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5420 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5421 with_gnu_ld=$lt_cv_prog_gnu_ld
   5422 
   5423 
   5424 
   5425 
   5426 
   5427 
   5428 
   5429 
   5430 
   5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5432 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5433 if ${lt_cv_path_NM+:} false; then :
   5434   $as_echo_n "(cached) " >&6
   5435 else
   5436   if test -n "$NM"; then
   5437    # Let the user override the nm to test.
   5438    lt_nm_to_check="$NM"
   5439  else
   5440    lt_nm_to_check="${ac_tool_prefix}nm"
   5441    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5442      lt_nm_to_check="$lt_nm_to_check nm"
   5443    fi
   5444  fi
   5445  for lt_tmp_nm in "$lt_nm_to_check"; do
   5446    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5447    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5448      IFS="$lt_save_ifs"
   5449      test -z "$ac_dir" && ac_dir=.
   5450      # Strip out any user-provided options from the nm to test twice,
   5451      # the first time to test to see if nm (rather than its options) has
   5452      # an explicit path, the second time to yield a file which can be
   5453      # nm'ed itself.
   5454      tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
   5455      case "$tmp_nm_path" in
   5456      */*|*\\*) tmp_nm="$lt_tmp_nm";;
   5457      *) tmp_nm="$ac_dir/$lt_tmp_nm";;
   5458      esac
   5459      tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
   5460      if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
   5461        # Check to see if the nm accepts a BSD-compat flag.
   5462        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5463        #   nm: unknown option "B" ignored
   5464        case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   5465        *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
   5466 	 break
   5467 	 ;;
   5468        *)
   5469 	 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   5470 	 *$tmp_nm*)
   5471 	   lt_cv_path_NM="$tmp_nm -p"
   5472 	   break
   5473 	   ;;
   5474 	 *)
   5475 	   lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5476 	   continue # so that we can try to find one that supports BSD flags
   5477 	   ;;
   5478 	 esac
   5479 	 ;;
   5480        esac
   5481      fi
   5482    done
   5483    IFS="$lt_save_ifs"
   5484  done
   5485  : ${lt_cv_path_NM=no}
   5486 fi
   5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5488 $as_echo "$lt_cv_path_NM" >&6; }
   5489 if test "$lt_cv_path_NM" != "no"; then
   5490   NM="$lt_cv_path_NM"
   5491 else
   5492   # Didn't find any BSD compatible name lister, look for dumpbin.
   5493   if test -n "$DUMPBIN"; then :
   5494     # Let the user override the test.
   5495   else
   5496     if test -n "$ac_tool_prefix"; then
   5497   for ac_prog in dumpbin "link -dump"
   5498   do
   5499     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5500 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5502 $as_echo_n "checking for $ac_word... " >&6; }
   5503 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5504   $as_echo_n "(cached) " >&6
   5505 else
   5506   if test -n "$DUMPBIN"; then
   5507   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5508 else
   5509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5510 for as_dir in $PATH
   5511 do
   5512   IFS=$as_save_IFS
   5513   test -z "$as_dir" && as_dir=.
   5514     for ac_exec_ext in '' $ac_executable_extensions; do
   5515   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5516     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5518     break 2
   5519   fi
   5520 done
   5521   done
   5522 IFS=$as_save_IFS
   5523 
   5524 fi
   5525 fi
   5526 DUMPBIN=$ac_cv_prog_DUMPBIN
   5527 if test -n "$DUMPBIN"; then
   5528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5529 $as_echo "$DUMPBIN" >&6; }
   5530 else
   5531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5532 $as_echo "no" >&6; }
   5533 fi
   5534 
   5535 
   5536     test -n "$DUMPBIN" && break
   5537   done
   5538 fi
   5539 if test -z "$DUMPBIN"; then
   5540   ac_ct_DUMPBIN=$DUMPBIN
   5541   for ac_prog in dumpbin "link -dump"
   5542 do
   5543   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5544 set dummy $ac_prog; ac_word=$2
   5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5546 $as_echo_n "checking for $ac_word... " >&6; }
   5547 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5548   $as_echo_n "(cached) " >&6
   5549 else
   5550   if test -n "$ac_ct_DUMPBIN"; then
   5551   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5552 else
   5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5554 for as_dir in $PATH
   5555 do
   5556   IFS=$as_save_IFS
   5557   test -z "$as_dir" && as_dir=.
   5558     for ac_exec_ext in '' $ac_executable_extensions; do
   5559   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5560     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5561     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5562     break 2
   5563   fi
   5564 done
   5565   done
   5566 IFS=$as_save_IFS
   5567 
   5568 fi
   5569 fi
   5570 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5571 if test -n "$ac_ct_DUMPBIN"; then
   5572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5573 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5574 else
   5575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5576 $as_echo "no" >&6; }
   5577 fi
   5578 
   5579 
   5580   test -n "$ac_ct_DUMPBIN" && break
   5581 done
   5582 
   5583   if test "x$ac_ct_DUMPBIN" = x; then
   5584     DUMPBIN=":"
   5585   else
   5586     case $cross_compiling:$ac_tool_warned in
   5587 yes:)
   5588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5590 ac_tool_warned=yes ;;
   5591 esac
   5592     DUMPBIN=$ac_ct_DUMPBIN
   5593   fi
   5594 fi
   5595 
   5596     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5597     *COFF*)
   5598       DUMPBIN="$DUMPBIN -symbols"
   5599       ;;
   5600     *)
   5601       DUMPBIN=:
   5602       ;;
   5603     esac
   5604   fi
   5605 
   5606   if test "$DUMPBIN" != ":"; then
   5607     NM="$DUMPBIN"
   5608   fi
   5609 fi
   5610 test -z "$NM" && NM=nm
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5618 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5619 if ${lt_cv_nm_interface+:} false; then :
   5620   $as_echo_n "(cached) " >&6
   5621 else
   5622   lt_cv_nm_interface="BSD nm"
   5623   echo "int some_variable = 0;" > conftest.$ac_ext
   5624   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5625   (eval "$ac_compile" 2>conftest.err)
   5626   cat conftest.err >&5
   5627   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5628   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5629   cat conftest.err >&5
   5630   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5631   cat conftest.out >&5
   5632   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5633     lt_cv_nm_interface="MS dumpbin"
   5634   fi
   5635   rm -f conftest*
   5636 fi
   5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5638 $as_echo "$lt_cv_nm_interface" >&6; }
   5639 
   5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5641 $as_echo_n "checking whether ln -s works... " >&6; }
   5642 LN_S=$as_ln_s
   5643 if test "$LN_S" = "ln -s"; then
   5644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5645 $as_echo "yes" >&6; }
   5646 else
   5647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5648 $as_echo "no, using $LN_S" >&6; }
   5649 fi
   5650 
   5651 # find the maximum length of command line arguments
   5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5653 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5654 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5655   $as_echo_n "(cached) " >&6
   5656 else
   5657     i=0
   5658   teststring="ABCD"
   5659 
   5660   case $build_os in
   5661   msdosdjgpp*)
   5662     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5663     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5664     # during glob expansion).  Even if it were fixed, the result of this
   5665     # check would be larger than it should be.
   5666     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5667     ;;
   5668 
   5669   gnu*)
   5670     # Under GNU Hurd, this test is not required because there is
   5671     # no limit to the length of command line arguments.
   5672     # Libtool will interpret -1 as no limit whatsoever
   5673     lt_cv_sys_max_cmd_len=-1;
   5674     ;;
   5675 
   5676   cygwin* | mingw* | cegcc*)
   5677     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5678     # about 5 minutes as the teststring grows exponentially.
   5679     # Worse, since 9x/ME are not pre-emptively multitasking,
   5680     # you end up with a "frozen" computer, even though with patience
   5681     # the test eventually succeeds (with a max line length of 256k).
   5682     # Instead, let's just punt: use the minimum linelength reported by
   5683     # all of the supported platforms: 8192 (on NT/2K/XP).
   5684     lt_cv_sys_max_cmd_len=8192;
   5685     ;;
   5686 
   5687   mint*)
   5688     # On MiNT this can take a long time and run out of memory.
   5689     lt_cv_sys_max_cmd_len=8192;
   5690     ;;
   5691 
   5692   amigaos*)
   5693     # On AmigaOS with pdksh, this test takes hours, literally.
   5694     # So we just punt and use a minimum line length of 8192.
   5695     lt_cv_sys_max_cmd_len=8192;
   5696     ;;
   5697 
   5698   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5699     # This has been around since 386BSD, at least.  Likely further.
   5700     if test -x /sbin/sysctl; then
   5701       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5702     elif test -x /usr/sbin/sysctl; then
   5703       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5704     else
   5705       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5706     fi
   5707     # And add a safety zone
   5708     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5709     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5710     ;;
   5711 
   5712   interix*)
   5713     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5714     lt_cv_sys_max_cmd_len=196608
   5715     ;;
   5716 
   5717   osf*)
   5718     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5719     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5720     # nice to cause kernel panics so lets avoid the loop below.
   5721     # First set a reasonable default.
   5722     lt_cv_sys_max_cmd_len=16384
   5723     #
   5724     if test -x /sbin/sysconfig; then
   5725       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5726         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5727       esac
   5728     fi
   5729     ;;
   5730   sco3.2v5*)
   5731     lt_cv_sys_max_cmd_len=102400
   5732     ;;
   5733   sysv5* | sco5v6* | sysv4.2uw2*)
   5734     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5735     if test -n "$kargmax"; then
   5736       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5737     else
   5738       lt_cv_sys_max_cmd_len=32768
   5739     fi
   5740     ;;
   5741   *)
   5742     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5743     if test -n "$lt_cv_sys_max_cmd_len"; then
   5744       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5745       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5746     else
   5747       # Make teststring a little bigger before we do anything with it.
   5748       # a 1K string should be a reasonable start.
   5749       for i in 1 2 3 4 5 6 7 8 ; do
   5750         teststring=$teststring$teststring
   5751       done
   5752       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5753       # If test is not a shell built-in, we'll probably end up computing a
   5754       # maximum length that is only half of the actual maximum length, but
   5755       # we can't tell.
   5756       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   5757 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5758 	      test $i != 17 # 1/2 MB should be enough
   5759       do
   5760         i=`expr $i + 1`
   5761         teststring=$teststring$teststring
   5762       done
   5763       # Only check the string length outside the loop.
   5764       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5765       teststring=
   5766       # Add a significant safety factor because C++ compilers can tack on
   5767       # massive amounts of additional arguments before passing them to the
   5768       # linker.  It appears as though 1/2 is a usable value.
   5769       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5770     fi
   5771     ;;
   5772   esac
   5773 
   5774 fi
   5775 
   5776 if test -n $lt_cv_sys_max_cmd_len ; then
   5777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5778 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5779 else
   5780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5781 $as_echo "none" >&6; }
   5782 fi
   5783 max_cmd_len=$lt_cv_sys_max_cmd_len
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 : ${CP="cp -f"}
   5791 : ${MV="mv -f"}
   5792 : ${RM="rm -f"}
   5793 
   5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5795 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5796 # Try some XSI features
   5797 xsi_shell=no
   5798 ( _lt_dummy="a/b/c"
   5799   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5800       = c,a/b,, \
   5801     && eval 'test $(( 1 + 1 )) -eq 2 \
   5802     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5803   && xsi_shell=yes
   5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5805 $as_echo "$xsi_shell" >&6; }
   5806 
   5807 
   5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5809 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5810 lt_shell_append=no
   5811 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5812     >/dev/null 2>&1 \
   5813   && lt_shell_append=yes
   5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5815 $as_echo "$lt_shell_append" >&6; }
   5816 
   5817 
   5818 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5819   lt_unset=unset
   5820 else
   5821   lt_unset=false
   5822 fi
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 # test EBCDIC or ASCII
   5829 case `echo X|tr X '\101'` in
   5830  A) # ASCII based system
   5831     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5832   lt_SP2NL='tr \040 \012'
   5833   lt_NL2SP='tr \015\012 \040\040'
   5834   ;;
   5835  *) # EBCDIC based system
   5836   lt_SP2NL='tr \100 \n'
   5837   lt_NL2SP='tr \r\n \100\100'
   5838   ;;
   5839 esac
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5850 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5851 if ${lt_cv_ld_reload_flag+:} false; then :
   5852   $as_echo_n "(cached) " >&6
   5853 else
   5854   lt_cv_ld_reload_flag='-r'
   5855 fi
   5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5857 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5858 reload_flag=$lt_cv_ld_reload_flag
   5859 case $reload_flag in
   5860 "" | " "*) ;;
   5861 *) reload_flag=" $reload_flag" ;;
   5862 esac
   5863 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5864 case $host_os in
   5865   darwin*)
   5866     if test "$GCC" = yes; then
   5867       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5868     else
   5869       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5870     fi
   5871     ;;
   5872 esac
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 if test -n "$ac_tool_prefix"; then
   5883   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5884 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5886 $as_echo_n "checking for $ac_word... " >&6; }
   5887 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5888   $as_echo_n "(cached) " >&6
   5889 else
   5890   if test -n "$OBJDUMP"; then
   5891   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5892 else
   5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5894 for as_dir in $PATH
   5895 do
   5896   IFS=$as_save_IFS
   5897   test -z "$as_dir" && as_dir=.
   5898     for ac_exec_ext in '' $ac_executable_extensions; do
   5899   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5900     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5901     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5902     break 2
   5903   fi
   5904 done
   5905   done
   5906 IFS=$as_save_IFS
   5907 
   5908 fi
   5909 fi
   5910 OBJDUMP=$ac_cv_prog_OBJDUMP
   5911 if test -n "$OBJDUMP"; then
   5912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5913 $as_echo "$OBJDUMP" >&6; }
   5914 else
   5915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5916 $as_echo "no" >&6; }
   5917 fi
   5918 
   5919 
   5920 fi
   5921 if test -z "$ac_cv_prog_OBJDUMP"; then
   5922   ac_ct_OBJDUMP=$OBJDUMP
   5923   # Extract the first word of "objdump", so it can be a program name with args.
   5924 set dummy objdump; ac_word=$2
   5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5926 $as_echo_n "checking for $ac_word... " >&6; }
   5927 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5928   $as_echo_n "(cached) " >&6
   5929 else
   5930   if test -n "$ac_ct_OBJDUMP"; then
   5931   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5932 else
   5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5934 for as_dir in $PATH
   5935 do
   5936   IFS=$as_save_IFS
   5937   test -z "$as_dir" && as_dir=.
   5938     for ac_exec_ext in '' $ac_executable_extensions; do
   5939   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5940     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5941     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5942     break 2
   5943   fi
   5944 done
   5945   done
   5946 IFS=$as_save_IFS
   5947 
   5948 fi
   5949 fi
   5950 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5951 if test -n "$ac_ct_OBJDUMP"; then
   5952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5953 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5954 else
   5955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5956 $as_echo "no" >&6; }
   5957 fi
   5958 
   5959   if test "x$ac_ct_OBJDUMP" = x; then
   5960     OBJDUMP="false"
   5961   else
   5962     case $cross_compiling:$ac_tool_warned in
   5963 yes:)
   5964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5966 ac_tool_warned=yes ;;
   5967 esac
   5968     OBJDUMP=$ac_ct_OBJDUMP
   5969   fi
   5970 else
   5971   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5972 fi
   5973 
   5974 test -z "$OBJDUMP" && OBJDUMP=objdump
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5985 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5986 if ${lt_cv_deplibs_check_method+:} false; then :
   5987   $as_echo_n "(cached) " >&6
   5988 else
   5989   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5990 lt_cv_file_magic_test_file=
   5991 lt_cv_deplibs_check_method='unknown'
   5992 # Need to set the preceding variable on all platforms that support
   5993 # interlibrary dependencies.
   5994 # 'none' -- dependencies not supported.
   5995 # `unknown' -- same as none, but documents that we really don't know.
   5996 # 'pass_all' -- all dependencies passed with no checks.
   5997 # 'test_compile' -- check by making test program.
   5998 # 'file_magic [[regex]]' -- check by looking for files in library path
   5999 # which responds to the $file_magic_cmd with a given extended regex.
   6000 # If you have `file' or equivalent on your system and you're not sure
   6001 # whether `pass_all' will *always* work, you probably want this one.
   6002 
   6003 case $host_os in
   6004 aix[4-9]*)
   6005   lt_cv_deplibs_check_method=pass_all
   6006   ;;
   6007 
   6008 beos*)
   6009   lt_cv_deplibs_check_method=pass_all
   6010   ;;
   6011 
   6012 bsdi[45]*)
   6013   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6014   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6015   lt_cv_file_magic_test_file=/shlib/libc.so
   6016   ;;
   6017 
   6018 cygwin*)
   6019   # func_win32_libid is a shell function defined in ltmain.sh
   6020   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6021   lt_cv_file_magic_cmd='func_win32_libid'
   6022   ;;
   6023 
   6024 mingw* | pw32*)
   6025   # Base MSYS/MinGW do not provide the 'file' command needed by
   6026   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6027   # unless we find 'file', for example because we are cross-compiling.
   6028   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6029   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6030     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6031     lt_cv_file_magic_cmd='func_win32_libid'
   6032   else
   6033     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6034     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6035   fi
   6036   ;;
   6037 
   6038 cegcc*)
   6039   # use the weaker test based on 'objdump'. See mingw*.
   6040   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6041   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6042   ;;
   6043 
   6044 darwin* | rhapsody*)
   6045   lt_cv_deplibs_check_method=pass_all
   6046   ;;
   6047 
   6048 freebsd* | dragonfly*)
   6049   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6050     case $host_cpu in
   6051     i*86 )
   6052       # Not sure whether the presence of OpenBSD here was a mistake.
   6053       # Let's accept both of them until this is cleared up.
   6054       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6055       lt_cv_file_magic_cmd=/usr/bin/file
   6056       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6057       ;;
   6058     esac
   6059   else
   6060     lt_cv_deplibs_check_method=pass_all
   6061   fi
   6062   ;;
   6063 
   6064 gnu*)
   6065   lt_cv_deplibs_check_method=pass_all
   6066   ;;
   6067 
   6068 haiku*)
   6069   lt_cv_deplibs_check_method=pass_all
   6070   ;;
   6071 
   6072 hpux10.20* | hpux11*)
   6073   lt_cv_file_magic_cmd=/usr/bin/file
   6074   case $host_cpu in
   6075   ia64*)
   6076     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6077     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6078     ;;
   6079   hppa*64*)
   6080     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]'
   6081     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6082     ;;
   6083   *)
   6084     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6085     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6086     ;;
   6087   esac
   6088   ;;
   6089 
   6090 interix[3-9]*)
   6091   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6092   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6093   ;;
   6094 
   6095 irix5* | irix6* | nonstopux*)
   6096   case $LD in
   6097   *-32|*"-32 ") libmagic=32-bit;;
   6098   *-n32|*"-n32 ") libmagic=N32;;
   6099   *-64|*"-64 ") libmagic=64-bit;;
   6100   *) libmagic=never-match;;
   6101   esac
   6102   lt_cv_deplibs_check_method=pass_all
   6103   ;;
   6104 
   6105 # This must be Linux ELF.
   6106 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   6107   lt_cv_deplibs_check_method=pass_all
   6108   ;;
   6109 
   6110 netbsd*)
   6111   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6112     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6113   else
   6114     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6115   fi
   6116   ;;
   6117 
   6118 newos6*)
   6119   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6120   lt_cv_file_magic_cmd=/usr/bin/file
   6121   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6122   ;;
   6123 
   6124 *nto* | *qnx*)
   6125   lt_cv_deplibs_check_method=pass_all
   6126   ;;
   6127 
   6128 openbsd*)
   6129   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6130     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6131   else
   6132     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6133   fi
   6134   ;;
   6135 
   6136 osf3* | osf4* | osf5*)
   6137   lt_cv_deplibs_check_method=pass_all
   6138   ;;
   6139 
   6140 rdos*)
   6141   lt_cv_deplibs_check_method=pass_all
   6142   ;;
   6143 
   6144 solaris*)
   6145   lt_cv_deplibs_check_method=pass_all
   6146   ;;
   6147 
   6148 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6149   lt_cv_deplibs_check_method=pass_all
   6150   ;;
   6151 
   6152 sysv4 | sysv4.3*)
   6153   case $host_vendor in
   6154   motorola)
   6155     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]'
   6156     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6157     ;;
   6158   ncr)
   6159     lt_cv_deplibs_check_method=pass_all
   6160     ;;
   6161   sequent)
   6162     lt_cv_file_magic_cmd='/bin/file'
   6163     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6164     ;;
   6165   sni)
   6166     lt_cv_file_magic_cmd='/bin/file'
   6167     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6168     lt_cv_file_magic_test_file=/lib/libc.so
   6169     ;;
   6170   siemens)
   6171     lt_cv_deplibs_check_method=pass_all
   6172     ;;
   6173   pc)
   6174     lt_cv_deplibs_check_method=pass_all
   6175     ;;
   6176   esac
   6177   ;;
   6178 
   6179 tpf*)
   6180   lt_cv_deplibs_check_method=pass_all
   6181   ;;
   6182 vxworks*)
   6183   # Assume VxWorks cross toolchains are built on Linux, possibly
   6184   # as canadian for Windows hosts.
   6185   lt_cv_deplibs_check_method=pass_all
   6186   ;;
   6187 esac
   6188 
   6189 fi
   6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6191 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6192 file_magic_cmd=$lt_cv_file_magic_cmd
   6193 deplibs_check_method=$lt_cv_deplibs_check_method
   6194 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 plugin_option=
   6208 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
   6209 for plugin in $plugin_names; do
   6210   plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
   6211   if test x$plugin_so = x$plugin; then
   6212     plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
   6213   fi
   6214   if test x$plugin_so != x$plugin; then
   6215     plugin_option="--plugin $plugin_so"
   6216     break
   6217   fi
   6218 done
   6219 
   6220 if test -n "$ac_tool_prefix"; then
   6221   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6222 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6224 $as_echo_n "checking for $ac_word... " >&6; }
   6225 if ${ac_cv_prog_AR+:} false; then :
   6226   $as_echo_n "(cached) " >&6
   6227 else
   6228   if test -n "$AR"; then
   6229   ac_cv_prog_AR="$AR" # Let the user override the test.
   6230 else
   6231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6232 for as_dir in $PATH
   6233 do
   6234   IFS=$as_save_IFS
   6235   test -z "$as_dir" && as_dir=.
   6236     for ac_exec_ext in '' $ac_executable_extensions; do
   6237   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6238     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6239     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6240     break 2
   6241   fi
   6242 done
   6243   done
   6244 IFS=$as_save_IFS
   6245 
   6246 fi
   6247 fi
   6248 AR=$ac_cv_prog_AR
   6249 if test -n "$AR"; then
   6250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6251 $as_echo "$AR" >&6; }
   6252 else
   6253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6254 $as_echo "no" >&6; }
   6255 fi
   6256 
   6257 
   6258 fi
   6259 if test -z "$ac_cv_prog_AR"; then
   6260   ac_ct_AR=$AR
   6261   # Extract the first word of "ar", so it can be a program name with args.
   6262 set dummy ar; ac_word=$2
   6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6264 $as_echo_n "checking for $ac_word... " >&6; }
   6265 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6266   $as_echo_n "(cached) " >&6
   6267 else
   6268   if test -n "$ac_ct_AR"; then
   6269   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6270 else
   6271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6272 for as_dir in $PATH
   6273 do
   6274   IFS=$as_save_IFS
   6275   test -z "$as_dir" && as_dir=.
   6276     for ac_exec_ext in '' $ac_executable_extensions; do
   6277   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6278     ac_cv_prog_ac_ct_AR="ar"
   6279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6280     break 2
   6281   fi
   6282 done
   6283   done
   6284 IFS=$as_save_IFS
   6285 
   6286 fi
   6287 fi
   6288 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6289 if test -n "$ac_ct_AR"; then
   6290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6291 $as_echo "$ac_ct_AR" >&6; }
   6292 else
   6293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6294 $as_echo "no" >&6; }
   6295 fi
   6296 
   6297   if test "x$ac_ct_AR" = x; then
   6298     AR="false"
   6299   else
   6300     case $cross_compiling:$ac_tool_warned in
   6301 yes:)
   6302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6304 ac_tool_warned=yes ;;
   6305 esac
   6306     AR=$ac_ct_AR
   6307   fi
   6308 else
   6309   AR="$ac_cv_prog_AR"
   6310 fi
   6311 
   6312 test -z "$AR" && AR=ar
   6313 if test -n "$plugin_option"; then
   6314   if $AR --help 2>&1 | grep -q "\--plugin"; then
   6315     touch conftest.c
   6316     $AR $plugin_option rc conftest.a conftest.c
   6317     if test "$?" != 0; then
   6318       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   6319 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   6320     else
   6321       AR="$AR $plugin_option"
   6322     fi
   6323     rm -f conftest.*
   6324   fi
   6325 fi
   6326 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6327 
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 if test -n "$ac_tool_prefix"; then
   6339   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6340 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6342 $as_echo_n "checking for $ac_word... " >&6; }
   6343 if ${ac_cv_prog_STRIP+:} false; then :
   6344   $as_echo_n "(cached) " >&6
   6345 else
   6346   if test -n "$STRIP"; then
   6347   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6348 else
   6349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6350 for as_dir in $PATH
   6351 do
   6352   IFS=$as_save_IFS
   6353   test -z "$as_dir" && as_dir=.
   6354     for ac_exec_ext in '' $ac_executable_extensions; do
   6355   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6356     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6357     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6358     break 2
   6359   fi
   6360 done
   6361   done
   6362 IFS=$as_save_IFS
   6363 
   6364 fi
   6365 fi
   6366 STRIP=$ac_cv_prog_STRIP
   6367 if test -n "$STRIP"; then
   6368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6369 $as_echo "$STRIP" >&6; }
   6370 else
   6371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6372 $as_echo "no" >&6; }
   6373 fi
   6374 
   6375 
   6376 fi
   6377 if test -z "$ac_cv_prog_STRIP"; then
   6378   ac_ct_STRIP=$STRIP
   6379   # Extract the first word of "strip", so it can be a program name with args.
   6380 set dummy strip; ac_word=$2
   6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6382 $as_echo_n "checking for $ac_word... " >&6; }
   6383 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6384   $as_echo_n "(cached) " >&6
   6385 else
   6386   if test -n "$ac_ct_STRIP"; then
   6387   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6388 else
   6389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6390 for as_dir in $PATH
   6391 do
   6392   IFS=$as_save_IFS
   6393   test -z "$as_dir" && as_dir=.
   6394     for ac_exec_ext in '' $ac_executable_extensions; do
   6395   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6396     ac_cv_prog_ac_ct_STRIP="strip"
   6397     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6398     break 2
   6399   fi
   6400 done
   6401   done
   6402 IFS=$as_save_IFS
   6403 
   6404 fi
   6405 fi
   6406 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6407 if test -n "$ac_ct_STRIP"; then
   6408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6409 $as_echo "$ac_ct_STRIP" >&6; }
   6410 else
   6411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6412 $as_echo "no" >&6; }
   6413 fi
   6414 
   6415   if test "x$ac_ct_STRIP" = x; then
   6416     STRIP=":"
   6417   else
   6418     case $cross_compiling:$ac_tool_warned in
   6419 yes:)
   6420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6422 ac_tool_warned=yes ;;
   6423 esac
   6424     STRIP=$ac_ct_STRIP
   6425   fi
   6426 else
   6427   STRIP="$ac_cv_prog_STRIP"
   6428 fi
   6429 
   6430 test -z "$STRIP" && STRIP=:
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 if test -n "$ac_tool_prefix"; then
   6438   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6439 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6441 $as_echo_n "checking for $ac_word... " >&6; }
   6442 if ${ac_cv_prog_RANLIB+:} false; then :
   6443   $as_echo_n "(cached) " >&6
   6444 else
   6445   if test -n "$RANLIB"; then
   6446   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6447 else
   6448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6449 for as_dir in $PATH
   6450 do
   6451   IFS=$as_save_IFS
   6452   test -z "$as_dir" && as_dir=.
   6453     for ac_exec_ext in '' $ac_executable_extensions; do
   6454   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6455     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6456     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6457     break 2
   6458   fi
   6459 done
   6460   done
   6461 IFS=$as_save_IFS
   6462 
   6463 fi
   6464 fi
   6465 RANLIB=$ac_cv_prog_RANLIB
   6466 if test -n "$RANLIB"; then
   6467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6468 $as_echo "$RANLIB" >&6; }
   6469 else
   6470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6471 $as_echo "no" >&6; }
   6472 fi
   6473 
   6474 
   6475 fi
   6476 if test -z "$ac_cv_prog_RANLIB"; then
   6477   ac_ct_RANLIB=$RANLIB
   6478   # Extract the first word of "ranlib", so it can be a program name with args.
   6479 set dummy ranlib; ac_word=$2
   6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6481 $as_echo_n "checking for $ac_word... " >&6; }
   6482 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6483   $as_echo_n "(cached) " >&6
   6484 else
   6485   if test -n "$ac_ct_RANLIB"; then
   6486   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6487 else
   6488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6489 for as_dir in $PATH
   6490 do
   6491   IFS=$as_save_IFS
   6492   test -z "$as_dir" && as_dir=.
   6493     for ac_exec_ext in '' $ac_executable_extensions; do
   6494   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6495     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6497     break 2
   6498   fi
   6499 done
   6500   done
   6501 IFS=$as_save_IFS
   6502 
   6503 fi
   6504 fi
   6505 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6506 if test -n "$ac_ct_RANLIB"; then
   6507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6508 $as_echo "$ac_ct_RANLIB" >&6; }
   6509 else
   6510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6511 $as_echo "no" >&6; }
   6512 fi
   6513 
   6514   if test "x$ac_ct_RANLIB" = x; then
   6515     RANLIB=":"
   6516   else
   6517     case $cross_compiling:$ac_tool_warned in
   6518 yes:)
   6519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6521 ac_tool_warned=yes ;;
   6522 esac
   6523     RANLIB=$ac_ct_RANLIB
   6524   fi
   6525 else
   6526   RANLIB="$ac_cv_prog_RANLIB"
   6527 fi
   6528 
   6529 test -z "$RANLIB" && RANLIB=:
   6530 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
   6531   if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
   6532     RANLIB="$RANLIB $plugin_option"
   6533   fi
   6534 fi
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 # Determine commands to create old-style static archives.
   6542 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6543 old_postinstall_cmds='chmod 644 $oldlib'
   6544 old_postuninstall_cmds=
   6545 
   6546 if test -n "$RANLIB"; then
   6547   case $host_os in
   6548   openbsd*)
   6549     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6550     ;;
   6551   *)
   6552     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6553     ;;
   6554   esac
   6555   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6556 fi
   6557 
   6558 case $host_os in
   6559   darwin*)
   6560     lock_old_archive_extraction=yes ;;
   6561   *)
   6562     lock_old_archive_extraction=no ;;
   6563 esac
   6564 
   6565 
   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 # If no C compiler was specified, use CC.
   6604 LTCC=${LTCC-"$CC"}
   6605 
   6606 # If no C compiler flags were specified, use CFLAGS.
   6607 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6608 
   6609 # Allow CC to be a program name with arguments.
   6610 compiler=$CC
   6611 
   6612 
   6613 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6615 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6616 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6617   $as_echo_n "(cached) " >&6
   6618 else
   6619 
   6620 # These are sane defaults that work on at least a few old systems.
   6621 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6622 
   6623 # Character class describing NM global symbol codes.
   6624 symcode='[BCDEGRST]'
   6625 
   6626 # Regexp to match symbols that can be accessed directly from C.
   6627 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6628 
   6629 # Define system-specific variables.
   6630 case $host_os in
   6631 aix*)
   6632   symcode='[BCDT]'
   6633   ;;
   6634 cygwin* | mingw* | pw32* | cegcc*)
   6635   symcode='[ABCDGISTW]'
   6636   ;;
   6637 hpux*)
   6638   if test "$host_cpu" = ia64; then
   6639     symcode='[ABCDEGRST]'
   6640   fi
   6641   ;;
   6642 irix* | nonstopux*)
   6643   symcode='[BCDEGRST]'
   6644   ;;
   6645 osf*)
   6646   symcode='[BCDEGQRST]'
   6647   ;;
   6648 solaris*)
   6649   symcode='[BCDRT]'
   6650   ;;
   6651 sco3.2v5*)
   6652   symcode='[DT]'
   6653   ;;
   6654 sysv4.2uw2*)
   6655   symcode='[DT]'
   6656   ;;
   6657 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6658   symcode='[ABDT]'
   6659   ;;
   6660 sysv4)
   6661   symcode='[DFNSTU]'
   6662   ;;
   6663 esac
   6664 
   6665 # If we're using GNU nm, then use its standard symbol codes.
   6666 case `$NM -V 2>&1` in
   6667 *GNU* | *'with BFD'*)
   6668   symcode='[ABCDGIRSTW]' ;;
   6669 esac
   6670 
   6671 # Transform an extracted symbol line into a proper C declaration.
   6672 # Some systems (esp. on ia64) link data and code symbols differently,
   6673 # so use this general approach.
   6674 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6675 
   6676 # Transform an extracted symbol line into symbol name and symbol address
   6677 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6678 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'"
   6679 
   6680 # Handle CRLF in mingw tool chain
   6681 opt_cr=
   6682 case $build_os in
   6683 mingw*)
   6684   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6685   ;;
   6686 esac
   6687 
   6688 # Try without a prefix underscore, then with it.
   6689 for ac_symprfx in "" "_"; do
   6690 
   6691   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6692   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6693 
   6694   # Write the raw and C identifiers.
   6695   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6696     # Fake it for dumpbin and say T for any non-static function
   6697     # and D for any global variable.
   6698     # Also find C++ and __fastcall symbols from MSVC++,
   6699     # which start with @ or ?.
   6700     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6701 "     {last_section=section; section=\$ 3};"\
   6702 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6703 "     \$ 0!~/External *\|/{next};"\
   6704 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6705 "     {if(hide[section]) next};"\
   6706 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6707 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6708 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6709 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6710 "     ' prfx=^$ac_symprfx"
   6711   else
   6712     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6713   fi
   6714 
   6715   # Check to see that the pipe works correctly.
   6716   pipe_works=no
   6717 
   6718   rm -f conftest*
   6719   cat > conftest.$ac_ext <<_LT_EOF
   6720 #ifdef __cplusplus
   6721 extern "C" {
   6722 #endif
   6723 char nm_test_var;
   6724 void nm_test_func(void);
   6725 void nm_test_func(void){}
   6726 #ifdef __cplusplus
   6727 }
   6728 #endif
   6729 int main(){nm_test_var='a';nm_test_func();return(0);}
   6730 _LT_EOF
   6731 
   6732   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6733   (eval $ac_compile) 2>&5
   6734   ac_status=$?
   6735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6736   test $ac_status = 0; }; then
   6737     # Now try to grab the symbols.
   6738     nlist=conftest.nm
   6739     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6740   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6741   ac_status=$?
   6742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6743   test $ac_status = 0; } && test -s "$nlist"; then
   6744       # Try sorting and uniquifying the output.
   6745       if sort "$nlist" | uniq > "$nlist"T; then
   6746 	mv -f "$nlist"T "$nlist"
   6747       else
   6748 	rm -f "$nlist"T
   6749       fi
   6750 
   6751       # Make sure that we snagged all the symbols we need.
   6752       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6753 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6754 	  cat <<_LT_EOF > conftest.$ac_ext
   6755 #ifdef __cplusplus
   6756 extern "C" {
   6757 #endif
   6758 
   6759 _LT_EOF
   6760 	  # Now generate the symbol file.
   6761 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6762 
   6763 	  cat <<_LT_EOF >> conftest.$ac_ext
   6764 
   6765 /* The mapping between symbol names and symbols.  */
   6766 const struct {
   6767   const char *name;
   6768   void       *address;
   6769 }
   6770 lt__PROGRAM__LTX_preloaded_symbols[] =
   6771 {
   6772   { "@PROGRAM@", (void *) 0 },
   6773 _LT_EOF
   6774 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6775 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6776   {0, (void *) 0}
   6777 };
   6778 
   6779 /* This works around a problem in FreeBSD linker */
   6780 #ifdef FREEBSD_WORKAROUND
   6781 static const void *lt_preloaded_setup() {
   6782   return lt__PROGRAM__LTX_preloaded_symbols;
   6783 }
   6784 #endif
   6785 
   6786 #ifdef __cplusplus
   6787 }
   6788 #endif
   6789 _LT_EOF
   6790 	  # Now try linking the two files.
   6791 	  mv conftest.$ac_objext conftstm.$ac_objext
   6792 	  lt_save_LIBS="$LIBS"
   6793 	  lt_save_CFLAGS="$CFLAGS"
   6794 	  LIBS="conftstm.$ac_objext"
   6795 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6796 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6797   (eval $ac_link) 2>&5
   6798   ac_status=$?
   6799   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6800   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6801 	    pipe_works=yes
   6802 	  fi
   6803 	  LIBS="$lt_save_LIBS"
   6804 	  CFLAGS="$lt_save_CFLAGS"
   6805 	else
   6806 	  echo "cannot find nm_test_func in $nlist" >&5
   6807 	fi
   6808       else
   6809 	echo "cannot find nm_test_var in $nlist" >&5
   6810       fi
   6811     else
   6812       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6813     fi
   6814   else
   6815     echo "$progname: failed program was:" >&5
   6816     cat conftest.$ac_ext >&5
   6817   fi
   6818   rm -rf conftest* conftst*
   6819 
   6820   # Do not use the global_symbol_pipe unless it works.
   6821   if test "$pipe_works" = yes; then
   6822     break
   6823   else
   6824     lt_cv_sys_global_symbol_pipe=
   6825   fi
   6826 done
   6827 
   6828 fi
   6829 
   6830 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6831   lt_cv_sys_global_symbol_to_cdecl=
   6832 fi
   6833 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6835 $as_echo "failed" >&6; }
   6836 else
   6837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6838 $as_echo "ok" >&6; }
   6839 fi
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 # Check whether --enable-libtool-lock was given.
   6863 if test "${enable_libtool_lock+set}" = set; then :
   6864   enableval=$enable_libtool_lock;
   6865 fi
   6866 
   6867 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6868 
   6869 # Some flags need to be propagated to the compiler or linker for good
   6870 # libtool support.
   6871 case $host in
   6872 ia64-*-hpux*)
   6873   # Find out which ABI we are using.
   6874   echo 'int i;' > conftest.$ac_ext
   6875   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6876   (eval $ac_compile) 2>&5
   6877   ac_status=$?
   6878   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6879   test $ac_status = 0; }; then
   6880     case `/usr/bin/file conftest.$ac_objext` in
   6881       *ELF-32*)
   6882 	HPUX_IA64_MODE="32"
   6883 	;;
   6884       *ELF-64*)
   6885 	HPUX_IA64_MODE="64"
   6886 	;;
   6887     esac
   6888   fi
   6889   rm -rf conftest*
   6890   ;;
   6891 *-*-irix6*)
   6892   # Find out which ABI we are using.
   6893   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6894   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6895   (eval $ac_compile) 2>&5
   6896   ac_status=$?
   6897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6898   test $ac_status = 0; }; then
   6899     if test "$lt_cv_prog_gnu_ld" = yes; then
   6900       case `/usr/bin/file conftest.$ac_objext` in
   6901 	*32-bit*)
   6902 	  LD="${LD-ld} -melf32bsmip"
   6903 	  ;;
   6904 	*N32*)
   6905 	  LD="${LD-ld} -melf32bmipn32"
   6906 	  ;;
   6907 	*64-bit*)
   6908 	  LD="${LD-ld} -melf64bmip"
   6909 	;;
   6910       esac
   6911     else
   6912       case `/usr/bin/file conftest.$ac_objext` in
   6913 	*32-bit*)
   6914 	  LD="${LD-ld} -32"
   6915 	  ;;
   6916 	*N32*)
   6917 	  LD="${LD-ld} -n32"
   6918 	  ;;
   6919 	*64-bit*)
   6920 	  LD="${LD-ld} -64"
   6921 	  ;;
   6922       esac
   6923     fi
   6924   fi
   6925   rm -rf conftest*
   6926   ;;
   6927 
   6928 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6929 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6930   # Find out which ABI we are using.
   6931   echo 'int i;' > conftest.$ac_ext
   6932   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6933   (eval $ac_compile) 2>&5
   6934   ac_status=$?
   6935   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6936   test $ac_status = 0; }; then
   6937     case `/usr/bin/file conftest.o` in
   6938       *32-bit*)
   6939 	case $host in
   6940 	  x86_64-*kfreebsd*-gnu)
   6941 	    LD="${LD-ld} -m elf_i386_fbsd"
   6942 	    ;;
   6943 	  x86_64-*linux*)
   6944 	    case `/usr/bin/file conftest.o` in
   6945 	      *x86-64*)
   6946 		LD="${LD-ld} -m elf32_x86_64"
   6947 		;;
   6948 	      *)
   6949 		LD="${LD-ld} -m elf_i386"
   6950 		;;
   6951 	    esac
   6952 	    ;;
   6953 	  powerpc64le-*linux*)
   6954 	    LD="${LD-ld} -m elf32lppclinux"
   6955 	    ;;
   6956 	  powerpc64-*linux*)
   6957 	    LD="${LD-ld} -m elf32ppclinux"
   6958 	    ;;
   6959 	  s390x-*linux*)
   6960 	    LD="${LD-ld} -m elf_s390"
   6961 	    ;;
   6962 	  sparc64-*linux*)
   6963 	    LD="${LD-ld} -m elf32_sparc"
   6964 	    ;;
   6965 	esac
   6966 	;;
   6967       *64-bit*)
   6968 	case $host in
   6969 	  x86_64-*kfreebsd*-gnu)
   6970 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6971 	    ;;
   6972 	  x86_64-*linux*)
   6973 	    LD="${LD-ld} -m elf_x86_64"
   6974 	    ;;
   6975 	  powerpcle-*linux*)
   6976 	    LD="${LD-ld} -m elf64lppc"
   6977 	    ;;
   6978 	  powerpc-*linux*)
   6979 	    LD="${LD-ld} -m elf64ppc"
   6980 	    ;;
   6981 	  s390*-*linux*|s390*-*tpf*)
   6982 	    LD="${LD-ld} -m elf64_s390"
   6983 	    ;;
   6984 	  sparc*-*linux*)
   6985 	    LD="${LD-ld} -m elf64_sparc"
   6986 	    ;;
   6987 	esac
   6988 	;;
   6989     esac
   6990   fi
   6991   rm -rf conftest*
   6992   ;;
   6993 
   6994 *-*-sco3.2v5*)
   6995   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6996   SAVE_CFLAGS="$CFLAGS"
   6997   CFLAGS="$CFLAGS -belf"
   6998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6999 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7000 if ${lt_cv_cc_needs_belf+:} false; then :
   7001   $as_echo_n "(cached) " >&6
   7002 else
   7003   ac_ext=c
   7004 ac_cpp='$CPP $CPPFLAGS'
   7005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7008 
   7009      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7010 /* end confdefs.h.  */
   7011 
   7012 int
   7013 main ()
   7014 {
   7015 
   7016   ;
   7017   return 0;
   7018 }
   7019 _ACEOF
   7020 if ac_fn_c_try_link "$LINENO"; then :
   7021   lt_cv_cc_needs_belf=yes
   7022 else
   7023   lt_cv_cc_needs_belf=no
   7024 fi
   7025 rm -f core conftest.err conftest.$ac_objext \
   7026     conftest$ac_exeext conftest.$ac_ext
   7027      ac_ext=c
   7028 ac_cpp='$CPP $CPPFLAGS'
   7029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7032 
   7033 fi
   7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7035 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7036   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7037     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7038     CFLAGS="$SAVE_CFLAGS"
   7039   fi
   7040   ;;
   7041 sparc*-*solaris*)
   7042   # Find out which ABI we are using.
   7043   echo 'int i;' > conftest.$ac_ext
   7044   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7045   (eval $ac_compile) 2>&5
   7046   ac_status=$?
   7047   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7048   test $ac_status = 0; }; then
   7049     case `/usr/bin/file conftest.o` in
   7050     *64-bit*)
   7051       case $lt_cv_prog_gnu_ld in
   7052       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7053       *)
   7054 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7055 	  LD="${LD-ld} -64"
   7056 	fi
   7057 	;;
   7058       esac
   7059       ;;
   7060     esac
   7061   fi
   7062   rm -rf conftest*
   7063   ;;
   7064 esac
   7065 
   7066 need_locks="$enable_libtool_lock"
   7067 
   7068 
   7069   case $host_os in
   7070     rhapsody* | darwin*)
   7071     if test -n "$ac_tool_prefix"; then
   7072   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7073 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7075 $as_echo_n "checking for $ac_word... " >&6; }
   7076 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7077   $as_echo_n "(cached) " >&6
   7078 else
   7079   if test -n "$DSYMUTIL"; then
   7080   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7081 else
   7082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7083 for as_dir in $PATH
   7084 do
   7085   IFS=$as_save_IFS
   7086   test -z "$as_dir" && as_dir=.
   7087     for ac_exec_ext in '' $ac_executable_extensions; do
   7088   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7089     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7090     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7091     break 2
   7092   fi
   7093 done
   7094   done
   7095 IFS=$as_save_IFS
   7096 
   7097 fi
   7098 fi
   7099 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7100 if test -n "$DSYMUTIL"; then
   7101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7102 $as_echo "$DSYMUTIL" >&6; }
   7103 else
   7104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7105 $as_echo "no" >&6; }
   7106 fi
   7107 
   7108 
   7109 fi
   7110 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7111   ac_ct_DSYMUTIL=$DSYMUTIL
   7112   # Extract the first word of "dsymutil", so it can be a program name with args.
   7113 set dummy dsymutil; ac_word=$2
   7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7115 $as_echo_n "checking for $ac_word... " >&6; }
   7116 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7117   $as_echo_n "(cached) " >&6
   7118 else
   7119   if test -n "$ac_ct_DSYMUTIL"; then
   7120   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7121 else
   7122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7123 for as_dir in $PATH
   7124 do
   7125   IFS=$as_save_IFS
   7126   test -z "$as_dir" && as_dir=.
   7127     for ac_exec_ext in '' $ac_executable_extensions; do
   7128   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7129     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7130     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7131     break 2
   7132   fi
   7133 done
   7134   done
   7135 IFS=$as_save_IFS
   7136 
   7137 fi
   7138 fi
   7139 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7140 if test -n "$ac_ct_DSYMUTIL"; then
   7141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7142 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7143 else
   7144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7145 $as_echo "no" >&6; }
   7146 fi
   7147 
   7148   if test "x$ac_ct_DSYMUTIL" = x; then
   7149     DSYMUTIL=":"
   7150   else
   7151     case $cross_compiling:$ac_tool_warned in
   7152 yes:)
   7153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7155 ac_tool_warned=yes ;;
   7156 esac
   7157     DSYMUTIL=$ac_ct_DSYMUTIL
   7158   fi
   7159 else
   7160   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7161 fi
   7162 
   7163     if test -n "$ac_tool_prefix"; then
   7164   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7165 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7167 $as_echo_n "checking for $ac_word... " >&6; }
   7168 if ${ac_cv_prog_NMEDIT+:} false; then :
   7169   $as_echo_n "(cached) " >&6
   7170 else
   7171   if test -n "$NMEDIT"; then
   7172   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7173 else
   7174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7175 for as_dir in $PATH
   7176 do
   7177   IFS=$as_save_IFS
   7178   test -z "$as_dir" && as_dir=.
   7179     for ac_exec_ext in '' $ac_executable_extensions; do
   7180   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7181     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7182     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7183     break 2
   7184   fi
   7185 done
   7186   done
   7187 IFS=$as_save_IFS
   7188 
   7189 fi
   7190 fi
   7191 NMEDIT=$ac_cv_prog_NMEDIT
   7192 if test -n "$NMEDIT"; then
   7193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7194 $as_echo "$NMEDIT" >&6; }
   7195 else
   7196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7197 $as_echo "no" >&6; }
   7198 fi
   7199 
   7200 
   7201 fi
   7202 if test -z "$ac_cv_prog_NMEDIT"; then
   7203   ac_ct_NMEDIT=$NMEDIT
   7204   # Extract the first word of "nmedit", so it can be a program name with args.
   7205 set dummy nmedit; ac_word=$2
   7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7207 $as_echo_n "checking for $ac_word... " >&6; }
   7208 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7209   $as_echo_n "(cached) " >&6
   7210 else
   7211   if test -n "$ac_ct_NMEDIT"; then
   7212   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7213 else
   7214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7215 for as_dir in $PATH
   7216 do
   7217   IFS=$as_save_IFS
   7218   test -z "$as_dir" && as_dir=.
   7219     for ac_exec_ext in '' $ac_executable_extensions; do
   7220   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7221     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7222     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7223     break 2
   7224   fi
   7225 done
   7226   done
   7227 IFS=$as_save_IFS
   7228 
   7229 fi
   7230 fi
   7231 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7232 if test -n "$ac_ct_NMEDIT"; then
   7233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7234 $as_echo "$ac_ct_NMEDIT" >&6; }
   7235 else
   7236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7237 $as_echo "no" >&6; }
   7238 fi
   7239 
   7240   if test "x$ac_ct_NMEDIT" = x; then
   7241     NMEDIT=":"
   7242   else
   7243     case $cross_compiling:$ac_tool_warned in
   7244 yes:)
   7245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7247 ac_tool_warned=yes ;;
   7248 esac
   7249     NMEDIT=$ac_ct_NMEDIT
   7250   fi
   7251 else
   7252   NMEDIT="$ac_cv_prog_NMEDIT"
   7253 fi
   7254 
   7255     if test -n "$ac_tool_prefix"; then
   7256   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7257 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7259 $as_echo_n "checking for $ac_word... " >&6; }
   7260 if ${ac_cv_prog_LIPO+:} false; then :
   7261   $as_echo_n "(cached) " >&6
   7262 else
   7263   if test -n "$LIPO"; then
   7264   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7265 else
   7266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7267 for as_dir in $PATH
   7268 do
   7269   IFS=$as_save_IFS
   7270   test -z "$as_dir" && as_dir=.
   7271     for ac_exec_ext in '' $ac_executable_extensions; do
   7272   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7273     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7275     break 2
   7276   fi
   7277 done
   7278   done
   7279 IFS=$as_save_IFS
   7280 
   7281 fi
   7282 fi
   7283 LIPO=$ac_cv_prog_LIPO
   7284 if test -n "$LIPO"; then
   7285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7286 $as_echo "$LIPO" >&6; }
   7287 else
   7288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7289 $as_echo "no" >&6; }
   7290 fi
   7291 
   7292 
   7293 fi
   7294 if test -z "$ac_cv_prog_LIPO"; then
   7295   ac_ct_LIPO=$LIPO
   7296   # Extract the first word of "lipo", so it can be a program name with args.
   7297 set dummy lipo; ac_word=$2
   7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7299 $as_echo_n "checking for $ac_word... " >&6; }
   7300 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7301   $as_echo_n "(cached) " >&6
   7302 else
   7303   if test -n "$ac_ct_LIPO"; then
   7304   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7305 else
   7306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7307 for as_dir in $PATH
   7308 do
   7309   IFS=$as_save_IFS
   7310   test -z "$as_dir" && as_dir=.
   7311     for ac_exec_ext in '' $ac_executable_extensions; do
   7312   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7313     ac_cv_prog_ac_ct_LIPO="lipo"
   7314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7315     break 2
   7316   fi
   7317 done
   7318   done
   7319 IFS=$as_save_IFS
   7320 
   7321 fi
   7322 fi
   7323 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7324 if test -n "$ac_ct_LIPO"; then
   7325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7326 $as_echo "$ac_ct_LIPO" >&6; }
   7327 else
   7328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7329 $as_echo "no" >&6; }
   7330 fi
   7331 
   7332   if test "x$ac_ct_LIPO" = x; then
   7333     LIPO=":"
   7334   else
   7335     case $cross_compiling:$ac_tool_warned in
   7336 yes:)
   7337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7339 ac_tool_warned=yes ;;
   7340 esac
   7341     LIPO=$ac_ct_LIPO
   7342   fi
   7343 else
   7344   LIPO="$ac_cv_prog_LIPO"
   7345 fi
   7346 
   7347     if test -n "$ac_tool_prefix"; then
   7348   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7349 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7351 $as_echo_n "checking for $ac_word... " >&6; }
   7352 if ${ac_cv_prog_OTOOL+:} false; then :
   7353   $as_echo_n "(cached) " >&6
   7354 else
   7355   if test -n "$OTOOL"; then
   7356   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7357 else
   7358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7359 for as_dir in $PATH
   7360 do
   7361   IFS=$as_save_IFS
   7362   test -z "$as_dir" && as_dir=.
   7363     for ac_exec_ext in '' $ac_executable_extensions; do
   7364   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7365     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7367     break 2
   7368   fi
   7369 done
   7370   done
   7371 IFS=$as_save_IFS
   7372 
   7373 fi
   7374 fi
   7375 OTOOL=$ac_cv_prog_OTOOL
   7376 if test -n "$OTOOL"; then
   7377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7378 $as_echo "$OTOOL" >&6; }
   7379 else
   7380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7381 $as_echo "no" >&6; }
   7382 fi
   7383 
   7384 
   7385 fi
   7386 if test -z "$ac_cv_prog_OTOOL"; then
   7387   ac_ct_OTOOL=$OTOOL
   7388   # Extract the first word of "otool", so it can be a program name with args.
   7389 set dummy otool; ac_word=$2
   7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7391 $as_echo_n "checking for $ac_word... " >&6; }
   7392 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7393   $as_echo_n "(cached) " >&6
   7394 else
   7395   if test -n "$ac_ct_OTOOL"; then
   7396   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7397 else
   7398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7399 for as_dir in $PATH
   7400 do
   7401   IFS=$as_save_IFS
   7402   test -z "$as_dir" && as_dir=.
   7403     for ac_exec_ext in '' $ac_executable_extensions; do
   7404   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7405     ac_cv_prog_ac_ct_OTOOL="otool"
   7406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7407     break 2
   7408   fi
   7409 done
   7410   done
   7411 IFS=$as_save_IFS
   7412 
   7413 fi
   7414 fi
   7415 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7416 if test -n "$ac_ct_OTOOL"; then
   7417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7418 $as_echo "$ac_ct_OTOOL" >&6; }
   7419 else
   7420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7421 $as_echo "no" >&6; }
   7422 fi
   7423 
   7424   if test "x$ac_ct_OTOOL" = x; then
   7425     OTOOL=":"
   7426   else
   7427     case $cross_compiling:$ac_tool_warned in
   7428 yes:)
   7429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7431 ac_tool_warned=yes ;;
   7432 esac
   7433     OTOOL=$ac_ct_OTOOL
   7434   fi
   7435 else
   7436   OTOOL="$ac_cv_prog_OTOOL"
   7437 fi
   7438 
   7439     if test -n "$ac_tool_prefix"; then
   7440   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7441 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7443 $as_echo_n "checking for $ac_word... " >&6; }
   7444 if ${ac_cv_prog_OTOOL64+:} false; then :
   7445   $as_echo_n "(cached) " >&6
   7446 else
   7447   if test -n "$OTOOL64"; then
   7448   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7449 else
   7450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7451 for as_dir in $PATH
   7452 do
   7453   IFS=$as_save_IFS
   7454   test -z "$as_dir" && as_dir=.
   7455     for ac_exec_ext in '' $ac_executable_extensions; do
   7456   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7457     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7459     break 2
   7460   fi
   7461 done
   7462   done
   7463 IFS=$as_save_IFS
   7464 
   7465 fi
   7466 fi
   7467 OTOOL64=$ac_cv_prog_OTOOL64
   7468 if test -n "$OTOOL64"; then
   7469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7470 $as_echo "$OTOOL64" >&6; }
   7471 else
   7472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7473 $as_echo "no" >&6; }
   7474 fi
   7475 
   7476 
   7477 fi
   7478 if test -z "$ac_cv_prog_OTOOL64"; then
   7479   ac_ct_OTOOL64=$OTOOL64
   7480   # Extract the first word of "otool64", so it can be a program name with args.
   7481 set dummy otool64; ac_word=$2
   7482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7483 $as_echo_n "checking for $ac_word... " >&6; }
   7484 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7485   $as_echo_n "(cached) " >&6
   7486 else
   7487   if test -n "$ac_ct_OTOOL64"; then
   7488   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7489 else
   7490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7491 for as_dir in $PATH
   7492 do
   7493   IFS=$as_save_IFS
   7494   test -z "$as_dir" && as_dir=.
   7495     for ac_exec_ext in '' $ac_executable_extensions; do
   7496   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7497     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7499     break 2
   7500   fi
   7501 done
   7502   done
   7503 IFS=$as_save_IFS
   7504 
   7505 fi
   7506 fi
   7507 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7508 if test -n "$ac_ct_OTOOL64"; then
   7509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7510 $as_echo "$ac_ct_OTOOL64" >&6; }
   7511 else
   7512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7513 $as_echo "no" >&6; }
   7514 fi
   7515 
   7516   if test "x$ac_ct_OTOOL64" = x; then
   7517     OTOOL64=":"
   7518   else
   7519     case $cross_compiling:$ac_tool_warned in
   7520 yes:)
   7521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7523 ac_tool_warned=yes ;;
   7524 esac
   7525     OTOOL64=$ac_ct_OTOOL64
   7526   fi
   7527 else
   7528   OTOOL64="$ac_cv_prog_OTOOL64"
   7529 fi
   7530 
   7531 
   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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7558 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7559 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7560   $as_echo_n "(cached) " >&6
   7561 else
   7562   lt_cv_apple_cc_single_mod=no
   7563       if test -z "${LT_MULTI_MODULE}"; then
   7564 	# By default we will add the -single_module flag. You can override
   7565 	# by either setting the environment variable LT_MULTI_MODULE
   7566 	# non-empty at configure time, or by adding -multi_module to the
   7567 	# link flags.
   7568 	rm -rf libconftest.dylib*
   7569 	echo "int foo(void){return 1;}" > conftest.c
   7570 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7571 -dynamiclib -Wl,-single_module conftest.c" >&5
   7572 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7573 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7574         _lt_result=$?
   7575 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7576 	  lt_cv_apple_cc_single_mod=yes
   7577 	else
   7578 	  cat conftest.err >&5
   7579 	fi
   7580 	rm -rf libconftest.dylib*
   7581 	rm -f conftest.*
   7582       fi
   7583 fi
   7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7585 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7586     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7587 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7588 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7589   $as_echo_n "(cached) " >&6
   7590 else
   7591   lt_cv_ld_exported_symbols_list=no
   7592       save_LDFLAGS=$LDFLAGS
   7593       echo "_main" > conftest.sym
   7594       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7596 /* end confdefs.h.  */
   7597 
   7598 int
   7599 main ()
   7600 {
   7601 
   7602   ;
   7603   return 0;
   7604 }
   7605 _ACEOF
   7606 if ac_fn_c_try_link "$LINENO"; then :
   7607   lt_cv_ld_exported_symbols_list=yes
   7608 else
   7609   lt_cv_ld_exported_symbols_list=no
   7610 fi
   7611 rm -f core conftest.err conftest.$ac_objext \
   7612     conftest$ac_exeext conftest.$ac_ext
   7613 	LDFLAGS="$save_LDFLAGS"
   7614 
   7615 fi
   7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7617 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7618     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7619 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7620 if ${lt_cv_ld_force_load+:} false; then :
   7621   $as_echo_n "(cached) " >&6
   7622 else
   7623   lt_cv_ld_force_load=no
   7624       cat > conftest.c << _LT_EOF
   7625 int forced_loaded() { return 2;}
   7626 _LT_EOF
   7627       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7628       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7629       echo "$AR cru libconftest.a conftest.o" >&5
   7630       $AR cru libconftest.a conftest.o 2>&5
   7631       cat > conftest.c << _LT_EOF
   7632 int main() { return 0;}
   7633 _LT_EOF
   7634       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7635       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7636       _lt_result=$?
   7637       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7638 	lt_cv_ld_force_load=yes
   7639       else
   7640 	cat conftest.err >&5
   7641       fi
   7642         rm -f conftest.err libconftest.a conftest conftest.c
   7643         rm -rf conftest.dSYM
   7644 
   7645 fi
   7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7647 $as_echo "$lt_cv_ld_force_load" >&6; }
   7648     # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
   7649     # build without first building modern cctools / linker.
   7650     case $host_cpu-$host_os in
   7651     *-rhapsody* | *-darwin1.[012])
   7652       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7653     *-darwin1.*)
   7654       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7655     *-darwin*)
   7656       # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
   7657       # deployment target is forced to an earlier version.
   7658       case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
   7659 	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
   7660 	  ;;
   7661 	10.[012][,.]*)
   7662 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   7663 	  ;;
   7664 	*)
   7665 	  ;;
   7666      esac
   7667     ;;
   7668   esac
   7669     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7670       _lt_dar_single_mod='$single_module'
   7671     fi
   7672     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7673       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7674     else
   7675       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7676     fi
   7677     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7678       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7679     else
   7680       _lt_dsymutil=
   7681     fi
   7682     ;;
   7683   esac
   7684 
   7685 for ac_header in dlfcn.h
   7686 do :
   7687   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7688 "
   7689 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7690   cat >>confdefs.h <<_ACEOF
   7691 #define HAVE_DLFCN_H 1
   7692 _ACEOF
   7693 
   7694 fi
   7695 
   7696 done
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 # Set options
   7703 enable_dlopen=yes
   7704 
   7705 
   7706 
   7707 
   7708   enable_win32_dll=no
   7709 
   7710 
   7711 
   7712   # Check whether --enable-static was given.
   7713 if test "${enable_static+set}" = set; then :
   7714   enableval=$enable_static; p=${PACKAGE-default}
   7715     case $enableval in
   7716     yes) enable_static=yes ;;
   7717     no) enable_static=no ;;
   7718     *)
   7719      enable_static=no
   7720       # Look at the argument we got.  We use all the common list separators.
   7721       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7722       for pkg in $enableval; do
   7723 	IFS="$lt_save_ifs"
   7724 	if test "X$pkg" = "X$p"; then
   7725 	  enable_static=yes
   7726 	fi
   7727       done
   7728       IFS="$lt_save_ifs"
   7729       ;;
   7730     esac
   7731 else
   7732   enable_static=yes
   7733 fi
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 # Check whether --with-pic was given.
   7745 if test "${with_pic+set}" = set; then :
   7746   withval=$with_pic; pic_mode="$withval"
   7747 else
   7748   pic_mode=default
   7749 fi
   7750 
   7751 
   7752 test -z "$pic_mode" && pic_mode=default
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760   # Check whether --enable-fast-install was given.
   7761 if test "${enable_fast_install+set}" = set; then :
   7762   enableval=$enable_fast_install; p=${PACKAGE-default}
   7763     case $enableval in
   7764     yes) enable_fast_install=yes ;;
   7765     no) enable_fast_install=no ;;
   7766     *)
   7767       enable_fast_install=no
   7768       # Look at the argument we got.  We use all the common list separators.
   7769       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7770       for pkg in $enableval; do
   7771 	IFS="$lt_save_ifs"
   7772 	if test "X$pkg" = "X$p"; then
   7773 	  enable_fast_install=yes
   7774 	fi
   7775       done
   7776       IFS="$lt_save_ifs"
   7777       ;;
   7778     esac
   7779 else
   7780   enable_fast_install=yes
   7781 fi
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 # This can be used to rebuild libtool when needed
   7794 LIBTOOL_DEPS="$ltmain"
   7795 
   7796 # Always use our own libtool.
   7797 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7798 
   7799 
   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 test -z "$LN_S" && LN_S="ln -s"
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838 
   7839 if test -n "${ZSH_VERSION+set}" ; then
   7840    setopt NO_GLOB_SUBST
   7841 fi
   7842 
   7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7844 $as_echo_n "checking for objdir... " >&6; }
   7845 if ${lt_cv_objdir+:} false; then :
   7846   $as_echo_n "(cached) " >&6
   7847 else
   7848   rm -f .libs 2>/dev/null
   7849 mkdir .libs 2>/dev/null
   7850 if test -d .libs; then
   7851   lt_cv_objdir=.libs
   7852 else
   7853   # MS-DOS does not allow filenames that begin with a dot.
   7854   lt_cv_objdir=_libs
   7855 fi
   7856 rmdir .libs 2>/dev/null
   7857 fi
   7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7859 $as_echo "$lt_cv_objdir" >&6; }
   7860 objdir=$lt_cv_objdir
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 cat >>confdefs.h <<_ACEOF
   7867 #define LT_OBJDIR "$lt_cv_objdir/"
   7868 _ACEOF
   7869 
   7870 
   7871 
   7872 
   7873 case $host_os in
   7874 aix3*)
   7875   # AIX sometimes has problems with the GCC collect2 program.  For some
   7876   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7877   # vanish in a puff of smoke.
   7878   if test "X${COLLECT_NAMES+set}" != Xset; then
   7879     COLLECT_NAMES=
   7880     export COLLECT_NAMES
   7881   fi
   7882   ;;
   7883 esac
   7884 
   7885 # Global variables:
   7886 ofile=libtool
   7887 can_build_shared=yes
   7888 
   7889 # All known linkers require a `.a' archive for static linking (except MSVC,
   7890 # which needs '.lib').
   7891 libext=a
   7892 
   7893 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7894 
   7895 old_CC="$CC"
   7896 old_CFLAGS="$CFLAGS"
   7897 
   7898 # Set sane defaults for various variables
   7899 test -z "$CC" && CC=cc
   7900 test -z "$LTCC" && LTCC=$CC
   7901 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7902 test -z "$LD" && LD=ld
   7903 test -z "$ac_objext" && ac_objext=o
   7904 
   7905 for cc_temp in $compiler""; do
   7906   case $cc_temp in
   7907     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7908     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7909     \-*) ;;
   7910     *) break;;
   7911   esac
   7912 done
   7913 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7914 
   7915 
   7916 # Only perform the check for file, if the check method requires it
   7917 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7918 case $deplibs_check_method in
   7919 file_magic*)
   7920   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7921     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7922 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7923 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7924   $as_echo_n "(cached) " >&6
   7925 else
   7926   case $MAGIC_CMD in
   7927 [\\/*] |  ?:[\\/]*)
   7928   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7929   ;;
   7930 *)
   7931   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7932   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7933   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7934   for ac_dir in $ac_dummy; do
   7935     IFS="$lt_save_ifs"
   7936     test -z "$ac_dir" && ac_dir=.
   7937     if test -f $ac_dir/${ac_tool_prefix}file; then
   7938       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7939       if test -n "$file_magic_test_file"; then
   7940 	case $deplibs_check_method in
   7941 	"file_magic "*)
   7942 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7943 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7944 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7945 	    $EGREP "$file_magic_regex" > /dev/null; then
   7946 	    :
   7947 	  else
   7948 	    cat <<_LT_EOF 1>&2
   7949 
   7950 *** Warning: the command libtool uses to detect shared libraries,
   7951 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7952 *** The result is that libtool may fail to recognize shared libraries
   7953 *** as such.  This will affect the creation of libtool libraries that
   7954 *** depend on shared libraries, but programs linked with such libtool
   7955 *** libraries will work regardless of this problem.  Nevertheless, you
   7956 *** may want to report the problem to your system manager and/or to
   7957 *** bug-libtool@gnu.org
   7958 
   7959 _LT_EOF
   7960 	  fi ;;
   7961 	esac
   7962       fi
   7963       break
   7964     fi
   7965   done
   7966   IFS="$lt_save_ifs"
   7967   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7968   ;;
   7969 esac
   7970 fi
   7971 
   7972 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7973 if test -n "$MAGIC_CMD"; then
   7974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7975 $as_echo "$MAGIC_CMD" >&6; }
   7976 else
   7977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7978 $as_echo "no" >&6; }
   7979 fi
   7980 
   7981 
   7982 
   7983 
   7984 
   7985 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7986   if test -n "$ac_tool_prefix"; then
   7987     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7988 $as_echo_n "checking for file... " >&6; }
   7989 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7990   $as_echo_n "(cached) " >&6
   7991 else
   7992   case $MAGIC_CMD in
   7993 [\\/*] |  ?:[\\/]*)
   7994   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7995   ;;
   7996 *)
   7997   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7998   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7999   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8000   for ac_dir in $ac_dummy; do
   8001     IFS="$lt_save_ifs"
   8002     test -z "$ac_dir" && ac_dir=.
   8003     if test -f $ac_dir/file; then
   8004       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8005       if test -n "$file_magic_test_file"; then
   8006 	case $deplibs_check_method in
   8007 	"file_magic "*)
   8008 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8009 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8010 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8011 	    $EGREP "$file_magic_regex" > /dev/null; then
   8012 	    :
   8013 	  else
   8014 	    cat <<_LT_EOF 1>&2
   8015 
   8016 *** Warning: the command libtool uses to detect shared libraries,
   8017 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8018 *** The result is that libtool may fail to recognize shared libraries
   8019 *** as such.  This will affect the creation of libtool libraries that
   8020 *** depend on shared libraries, but programs linked with such libtool
   8021 *** libraries will work regardless of this problem.  Nevertheless, you
   8022 *** may want to report the problem to your system manager and/or to
   8023 *** bug-libtool@gnu.org
   8024 
   8025 _LT_EOF
   8026 	  fi ;;
   8027 	esac
   8028       fi
   8029       break
   8030     fi
   8031   done
   8032   IFS="$lt_save_ifs"
   8033   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8034   ;;
   8035 esac
   8036 fi
   8037 
   8038 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8039 if test -n "$MAGIC_CMD"; then
   8040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8041 $as_echo "$MAGIC_CMD" >&6; }
   8042 else
   8043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8044 $as_echo "no" >&6; }
   8045 fi
   8046 
   8047 
   8048   else
   8049     MAGIC_CMD=:
   8050   fi
   8051 fi
   8052 
   8053   fi
   8054   ;;
   8055 esac
   8056 
   8057 # Use C for the default configuration in the libtool script
   8058 
   8059 lt_save_CC="$CC"
   8060 ac_ext=c
   8061 ac_cpp='$CPP $CPPFLAGS'
   8062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8065 
   8066 
   8067 # Source file extension for C test sources.
   8068 ac_ext=c
   8069 
   8070 # Object file extension for compiled C test sources.
   8071 objext=o
   8072 objext=$objext
   8073 
   8074 # Code to be used in simple compile tests
   8075 lt_simple_compile_test_code="int some_variable = 0;"
   8076 
   8077 # Code to be used in simple link tests
   8078 lt_simple_link_test_code='int main(){return(0);}'
   8079 
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 # If no C compiler was specified, use CC.
   8087 LTCC=${LTCC-"$CC"}
   8088 
   8089 # If no C compiler flags were specified, use CFLAGS.
   8090 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8091 
   8092 # Allow CC to be a program name with arguments.
   8093 compiler=$CC
   8094 
   8095 # Save the default compiler, since it gets overwritten when the other
   8096 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8097 compiler_DEFAULT=$CC
   8098 
   8099 # save warnings/boilerplate of simple test code
   8100 ac_outfile=conftest.$ac_objext
   8101 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8102 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8103 _lt_compiler_boilerplate=`cat conftest.err`
   8104 $RM conftest*
   8105 
   8106 ac_outfile=conftest.$ac_objext
   8107 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8108 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8109 _lt_linker_boilerplate=`cat conftest.err`
   8110 $RM -r conftest*
   8111 
   8112 
   8113 ## CAVEAT EMPTOR:
   8114 ## There is no encapsulation within the following macros, do not change
   8115 ## the running order or otherwise move them around unless you know exactly
   8116 ## what you are doing...
   8117 if test -n "$compiler"; then
   8118 
   8119 lt_prog_compiler_no_builtin_flag=
   8120 
   8121 if test "$GCC" = yes; then
   8122   case $cc_basename in
   8123   nvcc*)
   8124     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8125   *)
   8126     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8127   esac
   8128 
   8129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8130 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8131 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8132   $as_echo_n "(cached) " >&6
   8133 else
   8134   lt_cv_prog_compiler_rtti_exceptions=no
   8135    ac_outfile=conftest.$ac_objext
   8136    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8137    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8138    # Insert the option either (1) after the last *FLAGS variable, or
   8139    # (2) before a word containing "conftest.", or (3) at the end.
   8140    # Note that $ac_compile itself does not contain backslashes and begins
   8141    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8142    # The option is referenced via a variable to avoid confusing sed.
   8143    lt_compile=`echo "$ac_compile" | $SED \
   8144    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8145    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8146    -e 's:$: $lt_compiler_flag:'`
   8147    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8148    (eval "$lt_compile" 2>conftest.err)
   8149    ac_status=$?
   8150    cat conftest.err >&5
   8151    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8152    if (exit $ac_status) && test -s "$ac_outfile"; then
   8153      # The compiler can only warn and ignore the option if not recognized
   8154      # So say no if there are warnings other than the usual output.
   8155      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8156      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8157      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8158        lt_cv_prog_compiler_rtti_exceptions=yes
   8159      fi
   8160    fi
   8161    $RM conftest*
   8162 
   8163 fi
   8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8165 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8166 
   8167 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8168     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8169 else
   8170     :
   8171 fi
   8172 
   8173 fi
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180   lt_prog_compiler_wl=
   8181 lt_prog_compiler_pic=
   8182 lt_prog_compiler_static=
   8183 
   8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8185 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8186 
   8187   if test "$GCC" = yes; then
   8188     lt_prog_compiler_wl='-Wl,'
   8189     lt_prog_compiler_static='-static'
   8190 
   8191     case $host_os in
   8192       aix*)
   8193       # All AIX code is PIC.
   8194       if test "$host_cpu" = ia64; then
   8195 	# AIX 5 now supports IA64 processor
   8196 	lt_prog_compiler_static='-Bstatic'
   8197       fi
   8198       lt_prog_compiler_pic='-fPIC'
   8199       ;;
   8200 
   8201     amigaos*)
   8202       case $host_cpu in
   8203       powerpc)
   8204             # see comment about AmigaOS4 .so support
   8205             lt_prog_compiler_pic='-fPIC'
   8206         ;;
   8207       m68k)
   8208             # FIXME: we need at least 68020 code to build shared libraries, but
   8209             # adding the `-m68020' flag to GCC prevents building anything better,
   8210             # like `-m68040'.
   8211             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8212         ;;
   8213       esac
   8214       ;;
   8215 
   8216     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8217       # PIC is the default for these OSes.
   8218       ;;
   8219 
   8220     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8221       # This hack is so that the source file can tell whether it is being
   8222       # built for inclusion in a dll (and should export symbols for example).
   8223       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8224       # (--disable-auto-import) libraries
   8225       lt_prog_compiler_pic='-DDLL_EXPORT'
   8226       ;;
   8227 
   8228     darwin* | rhapsody*)
   8229       # PIC is the default on this platform
   8230       # Common symbols not allowed in MH_DYLIB files
   8231       lt_prog_compiler_pic='-fno-common'
   8232       ;;
   8233 
   8234     haiku*)
   8235       # PIC is the default for Haiku.
   8236       # The "-static" flag exists, but is broken.
   8237       lt_prog_compiler_static=
   8238       ;;
   8239 
   8240     hpux*)
   8241       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8242       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8243       # sets the default TLS model and affects inlining.
   8244       case $host_cpu in
   8245       hppa*64*)
   8246 	# +Z the default
   8247 	;;
   8248       *)
   8249 	lt_prog_compiler_pic='-fPIC'
   8250 	;;
   8251       esac
   8252       ;;
   8253 
   8254     interix[3-9]*)
   8255       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8256       # Instead, we relocate shared libraries at runtime.
   8257       ;;
   8258 
   8259     msdosdjgpp*)
   8260       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8261       # on systems that don't support them.
   8262       lt_prog_compiler_can_build_shared=no
   8263       enable_shared=no
   8264       ;;
   8265 
   8266     *nto* | *qnx*)
   8267       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8268       # it will coredump.
   8269       lt_prog_compiler_pic='-fPIC -shared'
   8270       ;;
   8271 
   8272     sysv4*MP*)
   8273       if test -d /usr/nec; then
   8274 	lt_prog_compiler_pic=-Kconform_pic
   8275       fi
   8276       ;;
   8277 
   8278     *)
   8279       lt_prog_compiler_pic='-fPIC'
   8280       ;;
   8281     esac
   8282 
   8283     case $cc_basename in
   8284     nvcc*) # Cuda Compiler Driver 2.2
   8285       lt_prog_compiler_wl='-Xlinker '
   8286       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8287       ;;
   8288     esac
   8289   else
   8290     # PORTME Check for flag to pass linker flags through the system compiler.
   8291     case $host_os in
   8292     aix*)
   8293       lt_prog_compiler_wl='-Wl,'
   8294       if test "$host_cpu" = ia64; then
   8295 	# AIX 5 now supports IA64 processor
   8296 	lt_prog_compiler_static='-Bstatic'
   8297       else
   8298 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8299       fi
   8300       ;;
   8301 
   8302     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8303       # This hack is so that the source file can tell whether it is being
   8304       # built for inclusion in a dll (and should export symbols for example).
   8305       lt_prog_compiler_pic='-DDLL_EXPORT'
   8306       ;;
   8307 
   8308     hpux9* | hpux10* | hpux11*)
   8309       lt_prog_compiler_wl='-Wl,'
   8310       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8311       # not for PA HP-UX.
   8312       case $host_cpu in
   8313       hppa*64*|ia64*)
   8314 	# +Z the default
   8315 	;;
   8316       *)
   8317 	lt_prog_compiler_pic='+Z'
   8318 	;;
   8319       esac
   8320       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8321       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8322       ;;
   8323 
   8324     irix5* | irix6* | nonstopux*)
   8325       lt_prog_compiler_wl='-Wl,'
   8326       # PIC (with -KPIC) is the default.
   8327       lt_prog_compiler_static='-non_shared'
   8328       ;;
   8329 
   8330     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8331       case $cc_basename in
   8332       # old Intel for x86_64 which still supported -KPIC.
   8333       ecc*)
   8334 	lt_prog_compiler_wl='-Wl,'
   8335 	lt_prog_compiler_pic='-KPIC'
   8336 	lt_prog_compiler_static='-static'
   8337         ;;
   8338       # icc used to be incompatible with GCC.
   8339       # ICC 10 doesn't accept -KPIC any more.
   8340       icc* | ifort*)
   8341 	lt_prog_compiler_wl='-Wl,'
   8342 	lt_prog_compiler_pic='-fPIC'
   8343 	lt_prog_compiler_static='-static'
   8344         ;;
   8345       # Lahey Fortran 8.1.
   8346       lf95*)
   8347 	lt_prog_compiler_wl='-Wl,'
   8348 	lt_prog_compiler_pic='--shared'
   8349 	lt_prog_compiler_static='--static'
   8350 	;;
   8351       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8352         # Portland Group compilers (*not* the Pentium gcc compiler,
   8353 	# which looks to be a dead project)
   8354 	lt_prog_compiler_wl='-Wl,'
   8355 	lt_prog_compiler_pic='-fpic'
   8356 	lt_prog_compiler_static='-Bstatic'
   8357         ;;
   8358       ccc*)
   8359         lt_prog_compiler_wl='-Wl,'
   8360         # All Alpha code is PIC.
   8361         lt_prog_compiler_static='-non_shared'
   8362         ;;
   8363       xl* | bgxl* | bgf* | mpixl*)
   8364 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8365 	lt_prog_compiler_wl='-Wl,'
   8366 	lt_prog_compiler_pic='-qpic'
   8367 	lt_prog_compiler_static='-qstaticlink'
   8368 	;;
   8369       *)
   8370 	case `$CC -V 2>&1 | sed 5q` in
   8371 	*Sun\ F* | *Sun*Fortran*)
   8372 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8373 	  lt_prog_compiler_pic='-KPIC'
   8374 	  lt_prog_compiler_static='-Bstatic'
   8375 	  lt_prog_compiler_wl=''
   8376 	  ;;
   8377 	*Sun\ C*)
   8378 	  # Sun C 5.9
   8379 	  lt_prog_compiler_pic='-KPIC'
   8380 	  lt_prog_compiler_static='-Bstatic'
   8381 	  lt_prog_compiler_wl='-Wl,'
   8382 	  ;;
   8383 	esac
   8384 	;;
   8385       esac
   8386       ;;
   8387 
   8388     newsos6)
   8389       lt_prog_compiler_pic='-KPIC'
   8390       lt_prog_compiler_static='-Bstatic'
   8391       ;;
   8392 
   8393     *nto* | *qnx*)
   8394       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8395       # it will coredump.
   8396       lt_prog_compiler_pic='-fPIC -shared'
   8397       ;;
   8398 
   8399     osf3* | osf4* | osf5*)
   8400       lt_prog_compiler_wl='-Wl,'
   8401       # All OSF/1 code is PIC.
   8402       lt_prog_compiler_static='-non_shared'
   8403       ;;
   8404 
   8405     rdos*)
   8406       lt_prog_compiler_static='-non_shared'
   8407       ;;
   8408 
   8409     solaris*)
   8410       lt_prog_compiler_pic='-KPIC'
   8411       lt_prog_compiler_static='-Bstatic'
   8412       case $cc_basename in
   8413       f77* | f90* | f95*)
   8414 	lt_prog_compiler_wl='-Qoption ld ';;
   8415       *)
   8416 	lt_prog_compiler_wl='-Wl,';;
   8417       esac
   8418       ;;
   8419 
   8420     sunos4*)
   8421       lt_prog_compiler_wl='-Qoption ld '
   8422       lt_prog_compiler_pic='-PIC'
   8423       lt_prog_compiler_static='-Bstatic'
   8424       ;;
   8425 
   8426     sysv4 | sysv4.2uw2* | sysv4.3*)
   8427       lt_prog_compiler_wl='-Wl,'
   8428       lt_prog_compiler_pic='-KPIC'
   8429       lt_prog_compiler_static='-Bstatic'
   8430       ;;
   8431 
   8432     sysv4*MP*)
   8433       if test -d /usr/nec ;then
   8434 	lt_prog_compiler_pic='-Kconform_pic'
   8435 	lt_prog_compiler_static='-Bstatic'
   8436       fi
   8437       ;;
   8438 
   8439     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8440       lt_prog_compiler_wl='-Wl,'
   8441       lt_prog_compiler_pic='-KPIC'
   8442       lt_prog_compiler_static='-Bstatic'
   8443       ;;
   8444 
   8445     unicos*)
   8446       lt_prog_compiler_wl='-Wl,'
   8447       lt_prog_compiler_can_build_shared=no
   8448       ;;
   8449 
   8450     uts4*)
   8451       lt_prog_compiler_pic='-pic'
   8452       lt_prog_compiler_static='-Bstatic'
   8453       ;;
   8454 
   8455     *)
   8456       lt_prog_compiler_can_build_shared=no
   8457       ;;
   8458     esac
   8459   fi
   8460 
   8461 case $host_os in
   8462   # For platforms which do not support PIC, -DPIC is meaningless:
   8463   *djgpp*)
   8464     lt_prog_compiler_pic=
   8465     ;;
   8466   *)
   8467     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8468     ;;
   8469 esac
   8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8471 $as_echo "$lt_prog_compiler_pic" >&6; }
   8472 
   8473 
   8474 
   8475 
   8476 
   8477 
   8478 #
   8479 # Check to make sure the PIC flag actually works.
   8480 #
   8481 if test -n "$lt_prog_compiler_pic"; then
   8482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8483 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8484 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8485   $as_echo_n "(cached) " >&6
   8486 else
   8487   lt_cv_prog_compiler_pic_works=no
   8488    ac_outfile=conftest.$ac_objext
   8489    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8490    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8491    # Insert the option either (1) after the last *FLAGS variable, or
   8492    # (2) before a word containing "conftest.", or (3) at the end.
   8493    # Note that $ac_compile itself does not contain backslashes and begins
   8494    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8495    # The option is referenced via a variable to avoid confusing sed.
   8496    lt_compile=`echo "$ac_compile" | $SED \
   8497    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8498    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8499    -e 's:$: $lt_compiler_flag:'`
   8500    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8501    (eval "$lt_compile" 2>conftest.err)
   8502    ac_status=$?
   8503    cat conftest.err >&5
   8504    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8505    if (exit $ac_status) && test -s "$ac_outfile"; then
   8506      # The compiler can only warn and ignore the option if not recognized
   8507      # So say no if there are warnings other than the usual output.
   8508      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8509      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8510      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8511        lt_cv_prog_compiler_pic_works=yes
   8512      fi
   8513    fi
   8514    $RM conftest*
   8515 
   8516 fi
   8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8518 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8519 
   8520 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8521     case $lt_prog_compiler_pic in
   8522      "" | " "*) ;;
   8523      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8524      esac
   8525 else
   8526     lt_prog_compiler_pic=
   8527      lt_prog_compiler_can_build_shared=no
   8528 fi
   8529 
   8530 fi
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 #
   8538 # Check to make sure the static flag actually works.
   8539 #
   8540 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8542 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8543 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8544   $as_echo_n "(cached) " >&6
   8545 else
   8546   lt_cv_prog_compiler_static_works=no
   8547    save_LDFLAGS="$LDFLAGS"
   8548    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8549    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8550    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8551      # The linker can only warn and ignore the option if not recognized
   8552      # So say no if there are warnings
   8553      if test -s conftest.err; then
   8554        # Append any errors to the config.log.
   8555        cat conftest.err 1>&5
   8556        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8557        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8558        if diff conftest.exp conftest.er2 >/dev/null; then
   8559          lt_cv_prog_compiler_static_works=yes
   8560        fi
   8561      else
   8562        lt_cv_prog_compiler_static_works=yes
   8563      fi
   8564    fi
   8565    $RM -r conftest*
   8566    LDFLAGS="$save_LDFLAGS"
   8567 
   8568 fi
   8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8570 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8571 
   8572 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8573     :
   8574 else
   8575     lt_prog_compiler_static=
   8576 fi
   8577 
   8578 
   8579 
   8580 
   8581 
   8582 
   8583 
   8584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8585 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8586 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8587   $as_echo_n "(cached) " >&6
   8588 else
   8589   lt_cv_prog_compiler_c_o=no
   8590    $RM -r conftest 2>/dev/null
   8591    mkdir conftest
   8592    cd conftest
   8593    mkdir out
   8594    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8595 
   8596    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8597    # Insert the option either (1) after the last *FLAGS variable, or
   8598    # (2) before a word containing "conftest.", or (3) at the end.
   8599    # Note that $ac_compile itself does not contain backslashes and begins
   8600    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8601    lt_compile=`echo "$ac_compile" | $SED \
   8602    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8603    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8604    -e 's:$: $lt_compiler_flag:'`
   8605    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8606    (eval "$lt_compile" 2>out/conftest.err)
   8607    ac_status=$?
   8608    cat out/conftest.err >&5
   8609    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8610    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8611    then
   8612      # The compiler can only warn and ignore the option if not recognized
   8613      # So say no if there are warnings
   8614      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8615      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8616      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8617        lt_cv_prog_compiler_c_o=yes
   8618      fi
   8619    fi
   8620    chmod u+w . 2>&5
   8621    $RM conftest*
   8622    # SGI C++ compiler will create directory out/ii_files/ for
   8623    # template instantiation
   8624    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8625    $RM out/* && rmdir out
   8626    cd ..
   8627    $RM -r conftest
   8628    $RM conftest*
   8629 
   8630 fi
   8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8632 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8640 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8641 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8642   $as_echo_n "(cached) " >&6
   8643 else
   8644   lt_cv_prog_compiler_c_o=no
   8645    $RM -r conftest 2>/dev/null
   8646    mkdir conftest
   8647    cd conftest
   8648    mkdir out
   8649    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8650 
   8651    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8652    # Insert the option either (1) after the last *FLAGS variable, or
   8653    # (2) before a word containing "conftest.", or (3) at the end.
   8654    # Note that $ac_compile itself does not contain backslashes and begins
   8655    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8656    lt_compile=`echo "$ac_compile" | $SED \
   8657    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8658    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8659    -e 's:$: $lt_compiler_flag:'`
   8660    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8661    (eval "$lt_compile" 2>out/conftest.err)
   8662    ac_status=$?
   8663    cat out/conftest.err >&5
   8664    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8665    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8666    then
   8667      # The compiler can only warn and ignore the option if not recognized
   8668      # So say no if there are warnings
   8669      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8670      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8671      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8672        lt_cv_prog_compiler_c_o=yes
   8673      fi
   8674    fi
   8675    chmod u+w . 2>&5
   8676    $RM conftest*
   8677    # SGI C++ compiler will create directory out/ii_files/ for
   8678    # template instantiation
   8679    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8680    $RM out/* && rmdir out
   8681    cd ..
   8682    $RM -r conftest
   8683    $RM conftest*
   8684 
   8685 fi
   8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8687 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8688 
   8689 
   8690 
   8691 
   8692 hard_links="nottested"
   8693 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8694   # do not overwrite the value of need_locks provided by the user
   8695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8696 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8697   hard_links=yes
   8698   $RM conftest*
   8699   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8700   touch conftest.a
   8701   ln conftest.a conftest.b 2>&5 || hard_links=no
   8702   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8704 $as_echo "$hard_links" >&6; }
   8705   if test "$hard_links" = no; then
   8706     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8707 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8708     need_locks=warn
   8709   fi
   8710 else
   8711   need_locks=no
   8712 fi
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8720 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8721 
   8722   runpath_var=
   8723   allow_undefined_flag=
   8724   always_export_symbols=no
   8725   archive_cmds=
   8726   archive_expsym_cmds=
   8727   compiler_needs_object=no
   8728   enable_shared_with_static_runtimes=no
   8729   export_dynamic_flag_spec=
   8730   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8731   hardcode_automatic=no
   8732   hardcode_direct=no
   8733   hardcode_direct_absolute=no
   8734   hardcode_libdir_flag_spec=
   8735   hardcode_libdir_flag_spec_ld=
   8736   hardcode_libdir_separator=
   8737   hardcode_minus_L=no
   8738   hardcode_shlibpath_var=unsupported
   8739   inherit_rpath=no
   8740   link_all_deplibs=unknown
   8741   module_cmds=
   8742   module_expsym_cmds=
   8743   old_archive_from_new_cmds=
   8744   old_archive_from_expsyms_cmds=
   8745   thread_safe_flag_spec=
   8746   whole_archive_flag_spec=
   8747   # include_expsyms should be a list of space-separated symbols to be *always*
   8748   # included in the symbol list
   8749   include_expsyms=
   8750   # exclude_expsyms can be an extended regexp of symbols to exclude
   8751   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8752   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8753   # as well as any symbol that contains `d'.
   8754   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8755   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8756   # platforms (ab)use it in PIC code, but their linkers get confused if
   8757   # the symbol is explicitly referenced.  Since portable code cannot
   8758   # rely on this symbol name, it's probably fine to never include it in
   8759   # preloaded symbol tables.
   8760   # Exclude shared library initialization/finalization symbols.
   8761   extract_expsyms_cmds=
   8762 
   8763   case $host_os in
   8764   cygwin* | mingw* | pw32* | cegcc*)
   8765     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8766     # When not using gcc, we currently assume that we are using
   8767     # Microsoft Visual C++.
   8768     if test "$GCC" != yes; then
   8769       with_gnu_ld=no
   8770     fi
   8771     ;;
   8772   interix*)
   8773     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8774     with_gnu_ld=yes
   8775     ;;
   8776   openbsd*)
   8777     with_gnu_ld=no
   8778     ;;
   8779   esac
   8780 
   8781   ld_shlibs=yes
   8782 
   8783   # On some targets, GNU ld is compatible enough with the native linker
   8784   # that we're better off using the native interface for both.
   8785   lt_use_gnu_ld_interface=no
   8786   if test "$with_gnu_ld" = yes; then
   8787     case $host_os in
   8788       aix*)
   8789 	# The AIX port of GNU ld has always aspired to compatibility
   8790 	# with the native linker.  However, as the warning in the GNU ld
   8791 	# block says, versions before 2.19.5* couldn't really create working
   8792 	# shared libraries, regardless of the interface used.
   8793 	case `$LD -v 2>&1` in
   8794 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8795 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8796 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8797 	  *)
   8798 	    lt_use_gnu_ld_interface=yes
   8799 	    ;;
   8800 	esac
   8801 	;;
   8802       *)
   8803 	lt_use_gnu_ld_interface=yes
   8804 	;;
   8805     esac
   8806   fi
   8807 
   8808   if test "$lt_use_gnu_ld_interface" = yes; then
   8809     # If archive_cmds runs LD, not CC, wlarc should be empty
   8810     wlarc='${wl}'
   8811 
   8812     # Set some defaults for GNU ld with shared library support. These
   8813     # are reset later if shared libraries are not supported. Putting them
   8814     # here allows them to be overridden if necessary.
   8815     runpath_var=LD_RUN_PATH
   8816     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8817     export_dynamic_flag_spec='${wl}--export-dynamic'
   8818     # ancient GNU ld didn't support --whole-archive et. al.
   8819     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8820       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8821     else
   8822       whole_archive_flag_spec=
   8823     fi
   8824     supports_anon_versioning=no
   8825     case `$LD -v 2>&1` in
   8826       *GNU\ gold*) supports_anon_versioning=yes ;;
   8827       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8828       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8829       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8830       *\ 2.11.*) ;; # other 2.11 versions
   8831       *) supports_anon_versioning=yes ;;
   8832     esac
   8833 
   8834     # See if GNU ld supports shared libraries.
   8835     case $host_os in
   8836     aix[3-9]*)
   8837       # On AIX/PPC, the GNU linker is very broken
   8838       if test "$host_cpu" != ia64; then
   8839 	ld_shlibs=no
   8840 	cat <<_LT_EOF 1>&2
   8841 
   8842 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8843 *** to be unable to reliably create shared libraries on AIX.
   8844 *** Therefore, libtool is disabling shared libraries support.  If you
   8845 *** really care for shared libraries, you may want to install binutils
   8846 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8847 *** You will then need to restart the configuration process.
   8848 
   8849 _LT_EOF
   8850       fi
   8851       ;;
   8852 
   8853     amigaos*)
   8854       case $host_cpu in
   8855       powerpc)
   8856             # see comment about AmigaOS4 .so support
   8857             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8858             archive_expsym_cmds=''
   8859         ;;
   8860       m68k)
   8861             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)'
   8862             hardcode_libdir_flag_spec='-L$libdir'
   8863             hardcode_minus_L=yes
   8864         ;;
   8865       esac
   8866       ;;
   8867 
   8868     beos*)
   8869       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8870 	allow_undefined_flag=unsupported
   8871 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8872 	# support --undefined.  This deserves some investigation.  FIXME
   8873 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8874       else
   8875 	ld_shlibs=no
   8876       fi
   8877       ;;
   8878 
   8879     cygwin* | mingw* | pw32* | cegcc*)
   8880       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8881       # as there is no search path for DLLs.
   8882       hardcode_libdir_flag_spec='-L$libdir'
   8883       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8884       allow_undefined_flag=unsupported
   8885       always_export_symbols=no
   8886       enable_shared_with_static_runtimes=yes
   8887       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8888 
   8889       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8890         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8891 	# If the export-symbols file already is a .def file (1st line
   8892 	# is EXPORTS), use it as is; otherwise, prepend...
   8893 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8894 	  cp $export_symbols $output_objdir/$soname.def;
   8895 	else
   8896 	  echo EXPORTS > $output_objdir/$soname.def;
   8897 	  cat $export_symbols >> $output_objdir/$soname.def;
   8898 	fi~
   8899 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8900       else
   8901 	ld_shlibs=no
   8902       fi
   8903       ;;
   8904 
   8905     haiku*)
   8906       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8907       link_all_deplibs=yes
   8908       ;;
   8909 
   8910     interix[3-9]*)
   8911       hardcode_direct=no
   8912       hardcode_shlibpath_var=no
   8913       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8914       export_dynamic_flag_spec='${wl}-E'
   8915       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8916       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8917       # default) and relocated if they conflict, which is a slow very memory
   8918       # consuming and fragmenting process.  To avoid this, we pick a random,
   8919       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8920       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8921       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8922       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'
   8923       ;;
   8924 
   8925     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   8926       tmp_diet=no
   8927       if test "$host_os" = linux-dietlibc; then
   8928 	case $cc_basename in
   8929 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8930 	esac
   8931       fi
   8932       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8933 	 && test "$tmp_diet" = no
   8934       then
   8935 	tmp_addflag=' $pic_flag'
   8936 	tmp_sharedflag='-shared'
   8937 	case $cc_basename,$host_cpu in
   8938         pgcc*)				# Portland Group C compiler
   8939 	  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'
   8940 	  tmp_addflag=' $pic_flag'
   8941 	  ;;
   8942 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8943 					# Portland Group f77 and f90 compilers
   8944 	  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'
   8945 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8946 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8947 	  tmp_addflag=' -i_dynamic' ;;
   8948 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8949 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8950 	ifc* | ifort*)			# Intel Fortran compiler
   8951 	  tmp_addflag=' -nofor_main' ;;
   8952 	lf95*)				# Lahey Fortran 8.1
   8953 	  whole_archive_flag_spec=
   8954 	  tmp_sharedflag='--shared' ;;
   8955 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8956 	  tmp_sharedflag='-qmkshrobj'
   8957 	  tmp_addflag= ;;
   8958 	nvcc*)	# Cuda Compiler Driver 2.2
   8959 	  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'
   8960 	  compiler_needs_object=yes
   8961 	  ;;
   8962 	esac
   8963 	case `$CC -V 2>&1 | sed 5q` in
   8964 	*Sun\ C*)			# Sun C 5.9
   8965 	  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'
   8966 	  compiler_needs_object=yes
   8967 	  tmp_sharedflag='-G' ;;
   8968 	*Sun\ F*)			# Sun Fortran 8.3
   8969 	  tmp_sharedflag='-G' ;;
   8970 	esac
   8971 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8972 
   8973         if test "x$supports_anon_versioning" = xyes; then
   8974           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8975 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8976 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8977 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8978         fi
   8979 
   8980 	case $cc_basename in
   8981 	xlf* | bgf* | bgxlf* | mpixlf*)
   8982 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8983 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8984 	  hardcode_libdir_flag_spec=
   8985 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8986 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8987 	  if test "x$supports_anon_versioning" = xyes; then
   8988 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8989 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8990 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8991 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8992 	  fi
   8993 	  ;;
   8994 	esac
   8995       else
   8996         ld_shlibs=no
   8997       fi
   8998       ;;
   8999 
   9000     netbsd*)
   9001       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9002 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9003 	wlarc=
   9004       else
   9005 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9006 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9007       fi
   9008       ;;
   9009 
   9010     solaris*)
   9011       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9012 	ld_shlibs=no
   9013 	cat <<_LT_EOF 1>&2
   9014 
   9015 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9016 *** create shared libraries on Solaris systems.  Therefore, libtool
   9017 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9018 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9019 *** your PATH or compiler configuration so that the native linker is
   9020 *** used, and then restart.
   9021 
   9022 _LT_EOF
   9023       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9024 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9025 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9026       else
   9027 	ld_shlibs=no
   9028       fi
   9029       ;;
   9030 
   9031     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9032       case `$LD -v 2>&1` in
   9033         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9034 	ld_shlibs=no
   9035 	cat <<_LT_EOF 1>&2
   9036 
   9037 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9038 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9039 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9040 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9041 *** your PATH or compiler configuration so that the native linker is
   9042 *** used, and then restart.
   9043 
   9044 _LT_EOF
   9045 	;;
   9046 	*)
   9047 	  # For security reasons, it is highly recommended that you always
   9048 	  # use absolute paths for naming shared libraries, and exclude the
   9049 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9050 	  # requires that you compile everything twice, which is a pain.
   9051 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9052 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9053 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9054 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9055 	  else
   9056 	    ld_shlibs=no
   9057 	  fi
   9058 	;;
   9059       esac
   9060       ;;
   9061 
   9062     sunos4*)
   9063       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9064       wlarc=
   9065       hardcode_direct=yes
   9066       hardcode_shlibpath_var=no
   9067       ;;
   9068 
   9069     *)
   9070       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9071 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9072 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9073       else
   9074 	ld_shlibs=no
   9075       fi
   9076       ;;
   9077     esac
   9078 
   9079     if test "$ld_shlibs" = no; then
   9080       runpath_var=
   9081       hardcode_libdir_flag_spec=
   9082       export_dynamic_flag_spec=
   9083       whole_archive_flag_spec=
   9084     fi
   9085   else
   9086     # PORTME fill in a description of your system's linker (not GNU ld)
   9087     case $host_os in
   9088     aix3*)
   9089       allow_undefined_flag=unsupported
   9090       always_export_symbols=yes
   9091       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'
   9092       # Note: this linker hardcodes the directories in LIBPATH if there
   9093       # are no directories specified by -L.
   9094       hardcode_minus_L=yes
   9095       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9096 	# Neither direct hardcoding nor static linking is supported with a
   9097 	# broken collect2.
   9098 	hardcode_direct=unsupported
   9099       fi
   9100       ;;
   9101 
   9102     aix[4-9]*)
   9103       if test "$host_cpu" = ia64; then
   9104 	# On IA64, the linker does run time linking by default, so we don't
   9105 	# have to do anything special.
   9106 	aix_use_runtimelinking=no
   9107 	exp_sym_flag='-Bexport'
   9108 	no_entry_flag=""
   9109       else
   9110 	# If we're using GNU nm, then we don't want the "-C" option.
   9111 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9112 	# Also, AIX nm treats weak defined symbols like other global
   9113 	# defined symbols, whereas GNU nm marks them as "W".
   9114 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9115 	  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'
   9116 	else
   9117 	  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'
   9118 	fi
   9119 	aix_use_runtimelinking=no
   9120 
   9121 	# Test if we are trying to use run time linking or normal
   9122 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9123 	# need to do runtime linking.
   9124 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9125 	  for ld_flag in $LDFLAGS; do
   9126 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9127 	    aix_use_runtimelinking=yes
   9128 	    break
   9129 	  fi
   9130 	  done
   9131 	  ;;
   9132 	esac
   9133 
   9134 	exp_sym_flag='-bexport'
   9135 	no_entry_flag='-bnoentry'
   9136       fi
   9137 
   9138       # When large executables or shared objects are built, AIX ld can
   9139       # have problems creating the table of contents.  If linking a library
   9140       # or program results in "error TOC overflow" add -mminimal-toc to
   9141       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9142       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9143 
   9144       archive_cmds=''
   9145       hardcode_direct=yes
   9146       hardcode_direct_absolute=yes
   9147       hardcode_libdir_separator=':'
   9148       link_all_deplibs=yes
   9149       file_list_spec='${wl}-f,'
   9150 
   9151       if test "$GCC" = yes; then
   9152 	case $host_os in aix4.[012]|aix4.[012].*)
   9153 	# We only want to do this on AIX 4.2 and lower, the check
   9154 	# below for broken collect2 doesn't work under 4.3+
   9155 	  collect2name=`${CC} -print-prog-name=collect2`
   9156 	  if test -f "$collect2name" &&
   9157 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9158 	  then
   9159 	  # We have reworked collect2
   9160 	  :
   9161 	  else
   9162 	  # We have old collect2
   9163 	  hardcode_direct=unsupported
   9164 	  # It fails to find uninstalled libraries when the uninstalled
   9165 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9166 	  # to unsupported forces relinking
   9167 	  hardcode_minus_L=yes
   9168 	  hardcode_libdir_flag_spec='-L$libdir'
   9169 	  hardcode_libdir_separator=
   9170 	  fi
   9171 	  ;;
   9172 	esac
   9173 	shared_flag='-shared'
   9174 	if test "$aix_use_runtimelinking" = yes; then
   9175 	  shared_flag="$shared_flag "'${wl}-G'
   9176 	fi
   9177       else
   9178 	# not using gcc
   9179 	if test "$host_cpu" = ia64; then
   9180 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9181 	# chokes on -Wl,-G. The following line is correct:
   9182 	  shared_flag='-G'
   9183 	else
   9184 	  if test "$aix_use_runtimelinking" = yes; then
   9185 	    shared_flag='${wl}-G'
   9186 	  else
   9187 	    shared_flag='${wl}-bM:SRE'
   9188 	  fi
   9189 	fi
   9190       fi
   9191 
   9192       export_dynamic_flag_spec='${wl}-bexpall'
   9193       # It seems that -bexpall does not export symbols beginning with
   9194       # underscore (_), so it is better to generate a list of symbols to export.
   9195       always_export_symbols=yes
   9196       if test "$aix_use_runtimelinking" = yes; then
   9197 	# Warning - without using the other runtime loading flags (-brtl),
   9198 	# -berok will link without error, but may produce a broken library.
   9199 	allow_undefined_flag='-berok'
   9200         # Determine the default libpath from the value encoded in an
   9201         # empty executable.
   9202         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9203 /* end confdefs.h.  */
   9204 
   9205 int
   9206 main ()
   9207 {
   9208 
   9209   ;
   9210   return 0;
   9211 }
   9212 _ACEOF
   9213 if ac_fn_c_try_link "$LINENO"; then :
   9214 
   9215 lt_aix_libpath_sed='
   9216     /Import File Strings/,/^$/ {
   9217 	/^0/ {
   9218 	    s/^0  *\(.*\)$/\1/
   9219 	    p
   9220 	}
   9221     }'
   9222 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9223 # Check for a 64-bit object if we didn't find anything.
   9224 if test -z "$aix_libpath"; then
   9225   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9226 fi
   9227 fi
   9228 rm -f core conftest.err conftest.$ac_objext \
   9229     conftest$ac_exeext conftest.$ac_ext
   9230 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9231 
   9232         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9233         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"
   9234       else
   9235 	if test "$host_cpu" = ia64; then
   9236 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9237 	  allow_undefined_flag="-z nodefs"
   9238 	  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"
   9239 	else
   9240 	 # Determine the default libpath from the value encoded in an
   9241 	 # empty executable.
   9242 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9243 /* end confdefs.h.  */
   9244 
   9245 int
   9246 main ()
   9247 {
   9248 
   9249   ;
   9250   return 0;
   9251 }
   9252 _ACEOF
   9253 if ac_fn_c_try_link "$LINENO"; then :
   9254 
   9255 lt_aix_libpath_sed='
   9256     /Import File Strings/,/^$/ {
   9257 	/^0/ {
   9258 	    s/^0  *\(.*\)$/\1/
   9259 	    p
   9260 	}
   9261     }'
   9262 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9263 # Check for a 64-bit object if we didn't find anything.
   9264 if test -z "$aix_libpath"; then
   9265   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9266 fi
   9267 fi
   9268 rm -f core conftest.err conftest.$ac_objext \
   9269     conftest$ac_exeext conftest.$ac_ext
   9270 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9271 
   9272 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9273 	  # Warning - without using the other run time loading flags,
   9274 	  # -berok will link without error, but may produce a broken library.
   9275 	  no_undefined_flag=' ${wl}-bernotok'
   9276 	  allow_undefined_flag=' ${wl}-berok'
   9277 	  if test "$with_gnu_ld" = yes; then
   9278 	    # We only use this code for GNU lds that support --whole-archive.
   9279 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9280 	  else
   9281 	    # Exported symbols can be pulled into shared objects from archives
   9282 	    whole_archive_flag_spec='$convenience'
   9283 	  fi
   9284 	  archive_cmds_need_lc=yes
   9285 	  # This is similar to how AIX traditionally builds its shared libraries.
   9286 	  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'
   9287 	fi
   9288       fi
   9289       ;;
   9290 
   9291     amigaos*)
   9292       case $host_cpu in
   9293       powerpc)
   9294             # see comment about AmigaOS4 .so support
   9295             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9296             archive_expsym_cmds=''
   9297         ;;
   9298       m68k)
   9299             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)'
   9300             hardcode_libdir_flag_spec='-L$libdir'
   9301             hardcode_minus_L=yes
   9302         ;;
   9303       esac
   9304       ;;
   9305 
   9306     bsdi[45]*)
   9307       export_dynamic_flag_spec=-rdynamic
   9308       ;;
   9309 
   9310     cygwin* | mingw* | pw32* | cegcc*)
   9311       # When not using gcc, we currently assume that we are using
   9312       # Microsoft Visual C++.
   9313       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9314       # no search path for DLLs.
   9315       hardcode_libdir_flag_spec=' '
   9316       allow_undefined_flag=unsupported
   9317       # Tell ltmain to make .lib files, not .a files.
   9318       libext=lib
   9319       # Tell ltmain to make .dll files, not .so files.
   9320       shrext_cmds=".dll"
   9321       # FIXME: Setting linknames here is a bad hack.
   9322       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9323       # The linker will automatically build a .lib file if we build a DLL.
   9324       old_archive_from_new_cmds='true'
   9325       # FIXME: Should let the user specify the lib program.
   9326       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9327       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9328       enable_shared_with_static_runtimes=yes
   9329       ;;
   9330 
   9331     darwin* | rhapsody*)
   9332 
   9333 
   9334   archive_cmds_need_lc=no
   9335   hardcode_direct=no
   9336   hardcode_automatic=yes
   9337   hardcode_shlibpath_var=unsupported
   9338   if test "$lt_cv_ld_force_load" = "yes"; then
   9339     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\"`'
   9340   else
   9341     whole_archive_flag_spec=''
   9342   fi
   9343   link_all_deplibs=yes
   9344   allow_undefined_flag="$_lt_dar_allow_undefined"
   9345   case $cc_basename in
   9346      ifort*) _lt_dar_can_shared=yes ;;
   9347      *) _lt_dar_can_shared=$GCC ;;
   9348   esac
   9349   if test "$_lt_dar_can_shared" = "yes"; then
   9350     output_verbose_link_cmd=func_echo_all
   9351     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9352     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9353     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}"
   9354     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}"
   9355 
   9356   else
   9357   ld_shlibs=no
   9358   fi
   9359 
   9360       ;;
   9361 
   9362     dgux*)
   9363       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9364       hardcode_libdir_flag_spec='-L$libdir'
   9365       hardcode_shlibpath_var=no
   9366       ;;
   9367 
   9368     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9369     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9370     # does not break anything, and helps significantly (at the cost of a little
   9371     # extra space).
   9372     freebsd2.2*)
   9373       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9374       hardcode_libdir_flag_spec='-R$libdir'
   9375       hardcode_direct=yes
   9376       hardcode_shlibpath_var=no
   9377       ;;
   9378 
   9379     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9380     freebsd2.*)
   9381       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9382       hardcode_direct=yes
   9383       hardcode_minus_L=yes
   9384       hardcode_shlibpath_var=no
   9385       ;;
   9386 
   9387     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9388     freebsd* | dragonfly*)
   9389       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9390       hardcode_libdir_flag_spec='-R$libdir'
   9391       hardcode_direct=yes
   9392       hardcode_shlibpath_var=no
   9393       ;;
   9394 
   9395     hpux9*)
   9396       if test "$GCC" = yes; then
   9397 	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'
   9398       else
   9399 	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'
   9400       fi
   9401       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9402       hardcode_libdir_separator=:
   9403       hardcode_direct=yes
   9404 
   9405       # hardcode_minus_L: Not really in the search PATH,
   9406       # but as the default location of the library.
   9407       hardcode_minus_L=yes
   9408       export_dynamic_flag_spec='${wl}-E'
   9409       ;;
   9410 
   9411     hpux10*)
   9412       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9413 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9414       else
   9415 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9416       fi
   9417       if test "$with_gnu_ld" = no; then
   9418 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9419 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9420 	hardcode_libdir_separator=:
   9421 	hardcode_direct=yes
   9422 	hardcode_direct_absolute=yes
   9423 	export_dynamic_flag_spec='${wl}-E'
   9424 	# hardcode_minus_L: Not really in the search PATH,
   9425 	# but as the default location of the library.
   9426 	hardcode_minus_L=yes
   9427       fi
   9428       ;;
   9429 
   9430     hpux11*)
   9431       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9432 	case $host_cpu in
   9433 	hppa*64*)
   9434 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9435 	  ;;
   9436 	ia64*)
   9437 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9438 	  ;;
   9439 	*)
   9440 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9441 	  ;;
   9442 	esac
   9443       else
   9444 	case $host_cpu in
   9445 	hppa*64*)
   9446 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9447 	  ;;
   9448 	ia64*)
   9449 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9450 	  ;;
   9451 	*)
   9452 
   9453 	  # Older versions of the 11.00 compiler do not understand -b yet
   9454 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9455 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9456 $as_echo_n "checking if $CC understands -b... " >&6; }
   9457 if ${lt_cv_prog_compiler__b+:} false; then :
   9458   $as_echo_n "(cached) " >&6
   9459 else
   9460   lt_cv_prog_compiler__b=no
   9461    save_LDFLAGS="$LDFLAGS"
   9462    LDFLAGS="$LDFLAGS -b"
   9463    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9464    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9465      # The linker can only warn and ignore the option if not recognized
   9466      # So say no if there are warnings
   9467      if test -s conftest.err; then
   9468        # Append any errors to the config.log.
   9469        cat conftest.err 1>&5
   9470        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9471        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9472        if diff conftest.exp conftest.er2 >/dev/null; then
   9473          lt_cv_prog_compiler__b=yes
   9474        fi
   9475      else
   9476        lt_cv_prog_compiler__b=yes
   9477      fi
   9478    fi
   9479    $RM -r conftest*
   9480    LDFLAGS="$save_LDFLAGS"
   9481 
   9482 fi
   9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9484 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9485 
   9486 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9487     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9488 else
   9489     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9490 fi
   9491 
   9492 	  ;;
   9493 	esac
   9494       fi
   9495       if test "$with_gnu_ld" = no; then
   9496 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9497 	hardcode_libdir_separator=:
   9498 
   9499 	case $host_cpu in
   9500 	hppa*64*|ia64*)
   9501 	  hardcode_direct=no
   9502 	  hardcode_shlibpath_var=no
   9503 	  ;;
   9504 	*)
   9505 	  hardcode_direct=yes
   9506 	  hardcode_direct_absolute=yes
   9507 	  export_dynamic_flag_spec='${wl}-E'
   9508 
   9509 	  # hardcode_minus_L: Not really in the search PATH,
   9510 	  # but as the default location of the library.
   9511 	  hardcode_minus_L=yes
   9512 	  ;;
   9513 	esac
   9514       fi
   9515       ;;
   9516 
   9517     irix5* | irix6* | nonstopux*)
   9518       if test "$GCC" = yes; then
   9519 	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'
   9520 	# Try to use the -exported_symbol ld option, if it does not
   9521 	# work, assume that -exports_file does not work either and
   9522 	# implicitly export all symbols.
   9523         save_LDFLAGS="$LDFLAGS"
   9524         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9525         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9526 /* end confdefs.h.  */
   9527 int foo(void) {}
   9528 _ACEOF
   9529 if ac_fn_c_try_link "$LINENO"; then :
   9530   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'
   9531 
   9532 fi
   9533 rm -f core conftest.err conftest.$ac_objext \
   9534     conftest$ac_exeext conftest.$ac_ext
   9535         LDFLAGS="$save_LDFLAGS"
   9536       else
   9537 	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'
   9538 	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'
   9539       fi
   9540       archive_cmds_need_lc='no'
   9541       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9542       hardcode_libdir_separator=:
   9543       inherit_rpath=yes
   9544       link_all_deplibs=yes
   9545       ;;
   9546 
   9547     netbsd*)
   9548       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9549 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9550       else
   9551 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9552       fi
   9553       hardcode_libdir_flag_spec='-R$libdir'
   9554       hardcode_direct=yes
   9555       hardcode_shlibpath_var=no
   9556       ;;
   9557 
   9558     newsos6)
   9559       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9560       hardcode_direct=yes
   9561       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9562       hardcode_libdir_separator=:
   9563       hardcode_shlibpath_var=no
   9564       ;;
   9565 
   9566     *nto* | *qnx*)
   9567       ;;
   9568 
   9569     openbsd*)
   9570       if test -f /usr/libexec/ld.so; then
   9571 	hardcode_direct=yes
   9572 	hardcode_shlibpath_var=no
   9573 	hardcode_direct_absolute=yes
   9574 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9575 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9576 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9577 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9578 	  export_dynamic_flag_spec='${wl}-E'
   9579 	else
   9580 	  case $host_os in
   9581 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9582 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9583 	     hardcode_libdir_flag_spec='-R$libdir'
   9584 	     ;;
   9585 	   *)
   9586 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9587 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9588 	     ;;
   9589 	  esac
   9590 	fi
   9591       else
   9592 	ld_shlibs=no
   9593       fi
   9594       ;;
   9595 
   9596     os2*)
   9597       hardcode_libdir_flag_spec='-L$libdir'
   9598       hardcode_minus_L=yes
   9599       allow_undefined_flag=unsupported
   9600       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'
   9601       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9602       ;;
   9603 
   9604     osf3*)
   9605       if test "$GCC" = yes; then
   9606 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9607 	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'
   9608       else
   9609 	allow_undefined_flag=' -expect_unresolved \*'
   9610 	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'
   9611       fi
   9612       archive_cmds_need_lc='no'
   9613       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9614       hardcode_libdir_separator=:
   9615       ;;
   9616 
   9617     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9618       if test "$GCC" = yes; then
   9619 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9620 	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'
   9621 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9622       else
   9623 	allow_undefined_flag=' -expect_unresolved \*'
   9624 	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'
   9625 	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~
   9626 	$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'
   9627 
   9628 	# Both c and cxx compiler support -rpath directly
   9629 	hardcode_libdir_flag_spec='-rpath $libdir'
   9630       fi
   9631       archive_cmds_need_lc='no'
   9632       hardcode_libdir_separator=:
   9633       ;;
   9634 
   9635     solaris*)
   9636       no_undefined_flag=' -z defs'
   9637       if test "$GCC" = yes; then
   9638 	wlarc='${wl}'
   9639 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9640 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9641 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9642       else
   9643 	case `$CC -V 2>&1` in
   9644 	*"Compilers 5.0"*)
   9645 	  wlarc=''
   9646 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9647 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9648 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9649 	  ;;
   9650 	*)
   9651 	  wlarc='${wl}'
   9652 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9653 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9654 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9655 	  ;;
   9656 	esac
   9657       fi
   9658       hardcode_libdir_flag_spec='-R$libdir'
   9659       hardcode_shlibpath_var=no
   9660       case $host_os in
   9661       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9662       *)
   9663 	# The compiler driver will combine and reorder linker options,
   9664 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9665 	# but is careful enough not to reorder.
   9666 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9667 	if test "$GCC" = yes; then
   9668 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9669 	else
   9670 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9671 	fi
   9672 	;;
   9673       esac
   9674       link_all_deplibs=yes
   9675       ;;
   9676 
   9677     sunos4*)
   9678       if test "x$host_vendor" = xsequent; then
   9679 	# Use $CC to link under sequent, because it throws in some extra .o
   9680 	# files that make .init and .fini sections work.
   9681 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9682       else
   9683 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9684       fi
   9685       hardcode_libdir_flag_spec='-L$libdir'
   9686       hardcode_direct=yes
   9687       hardcode_minus_L=yes
   9688       hardcode_shlibpath_var=no
   9689       ;;
   9690 
   9691     sysv4)
   9692       case $host_vendor in
   9693 	sni)
   9694 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9695 	  hardcode_direct=yes # is this really true???
   9696 	;;
   9697 	siemens)
   9698 	  ## LD is ld it makes a PLAMLIB
   9699 	  ## CC just makes a GrossModule.
   9700 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9701 	  reload_cmds='$CC -r -o $output$reload_objs'
   9702 	  hardcode_direct=no
   9703         ;;
   9704 	motorola)
   9705 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9706 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9707 	;;
   9708       esac
   9709       runpath_var='LD_RUN_PATH'
   9710       hardcode_shlibpath_var=no
   9711       ;;
   9712 
   9713     sysv4.3*)
   9714       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9715       hardcode_shlibpath_var=no
   9716       export_dynamic_flag_spec='-Bexport'
   9717       ;;
   9718 
   9719     sysv4*MP*)
   9720       if test -d /usr/nec; then
   9721 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9722 	hardcode_shlibpath_var=no
   9723 	runpath_var=LD_RUN_PATH
   9724 	hardcode_runpath_var=yes
   9725 	ld_shlibs=yes
   9726       fi
   9727       ;;
   9728 
   9729     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9730       no_undefined_flag='${wl}-z,text'
   9731       archive_cmds_need_lc=no
   9732       hardcode_shlibpath_var=no
   9733       runpath_var='LD_RUN_PATH'
   9734 
   9735       if test "$GCC" = yes; then
   9736 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9737 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9738       else
   9739 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9740 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9741       fi
   9742       ;;
   9743 
   9744     sysv5* | sco3.2v5* | sco5v6*)
   9745       # Note: We can NOT use -z defs as we might desire, because we do not
   9746       # link with -lc, and that would cause any symbols used from libc to
   9747       # always be unresolved, which means just about no library would
   9748       # ever link correctly.  If we're not using GNU ld we use -z text
   9749       # though, which does catch some bad symbols but isn't as heavy-handed
   9750       # as -z defs.
   9751       no_undefined_flag='${wl}-z,text'
   9752       allow_undefined_flag='${wl}-z,nodefs'
   9753       archive_cmds_need_lc=no
   9754       hardcode_shlibpath_var=no
   9755       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9756       hardcode_libdir_separator=':'
   9757       link_all_deplibs=yes
   9758       export_dynamic_flag_spec='${wl}-Bexport'
   9759       runpath_var='LD_RUN_PATH'
   9760 
   9761       if test "$GCC" = yes; then
   9762 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9763 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9764       else
   9765 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9766 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9767       fi
   9768       ;;
   9769 
   9770     uts4*)
   9771       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9772       hardcode_libdir_flag_spec='-L$libdir'
   9773       hardcode_shlibpath_var=no
   9774       ;;
   9775 
   9776     *)
   9777       ld_shlibs=no
   9778       ;;
   9779     esac
   9780 
   9781     if test x$host_vendor = xsni; then
   9782       case $host in
   9783       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9784 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9785 	;;
   9786       esac
   9787     fi
   9788   fi
   9789 
   9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9791 $as_echo "$ld_shlibs" >&6; }
   9792 test "$ld_shlibs" = no && can_build_shared=no
   9793 
   9794 with_gnu_ld=$with_gnu_ld
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 #
   9811 # Do we need to explicitly link libc?
   9812 #
   9813 case "x$archive_cmds_need_lc" in
   9814 x|xyes)
   9815   # Assume -lc should be added
   9816   archive_cmds_need_lc=yes
   9817 
   9818   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9819     case $archive_cmds in
   9820     *'~'*)
   9821       # FIXME: we may have to deal with multi-command sequences.
   9822       ;;
   9823     '$CC '*)
   9824       # Test whether the compiler implicitly links with -lc since on some
   9825       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9826       # to ld, don't add -lc before -lgcc.
   9827       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9828 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9829 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9830   $as_echo_n "(cached) " >&6
   9831 else
   9832   $RM conftest*
   9833 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9834 
   9835 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9836   (eval $ac_compile) 2>&5
   9837   ac_status=$?
   9838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9839   test $ac_status = 0; } 2>conftest.err; then
   9840 	  soname=conftest
   9841 	  lib=conftest
   9842 	  libobjs=conftest.$ac_objext
   9843 	  deplibs=
   9844 	  wl=$lt_prog_compiler_wl
   9845 	  pic_flag=$lt_prog_compiler_pic
   9846 	  compiler_flags=-v
   9847 	  linker_flags=-v
   9848 	  verstring=
   9849 	  output_objdir=.
   9850 	  libname=conftest
   9851 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9852 	  allow_undefined_flag=
   9853 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9854   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9855   ac_status=$?
   9856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9857   test $ac_status = 0; }
   9858 	  then
   9859 	    lt_cv_archive_cmds_need_lc=no
   9860 	  else
   9861 	    lt_cv_archive_cmds_need_lc=yes
   9862 	  fi
   9863 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9864 	else
   9865 	  cat conftest.err 1>&5
   9866 	fi
   9867 	$RM conftest*
   9868 
   9869 fi
   9870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9871 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9872       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9873       ;;
   9874     esac
   9875   fi
   9876   ;;
   9877 esac
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10036 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10037 
   10038 if test "$GCC" = yes; then
   10039   case $host_os in
   10040     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10041     *) lt_awk_arg="/^libraries:/" ;;
   10042   esac
   10043   case $host_os in
   10044     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10045     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10046   esac
   10047   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10048   case $lt_search_path_spec in
   10049   *\;*)
   10050     # if the path contains ";" then we assume it to be the separator
   10051     # otherwise default to the standard path separator (i.e. ":") - it is
   10052     # assumed that no part of a normal pathname contains ";" but that should
   10053     # okay in the real world where ";" in dirpaths is itself problematic.
   10054     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10055     ;;
   10056   *)
   10057     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10058     ;;
   10059   esac
   10060   # Ok, now we have the path, separated by spaces, we can step through it
   10061   # and add multilib dir if necessary.
   10062   lt_tmp_lt_search_path_spec=
   10063   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10064   for lt_sys_path in $lt_search_path_spec; do
   10065     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10066       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10067     else
   10068       test -d "$lt_sys_path" && \
   10069 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10070     fi
   10071   done
   10072   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10073 BEGIN {RS=" "; FS="/|\n";} {
   10074   lt_foo="";
   10075   lt_count=0;
   10076   for (lt_i = NF; lt_i > 0; lt_i--) {
   10077     if ($lt_i != "" && $lt_i != ".") {
   10078       if ($lt_i == "..") {
   10079         lt_count++;
   10080       } else {
   10081         if (lt_count == 0) {
   10082           lt_foo="/" $lt_i lt_foo;
   10083         } else {
   10084           lt_count--;
   10085         }
   10086       }
   10087     }
   10088   }
   10089   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10090   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10091 }'`
   10092   # AWK program above erroneously prepends '/' to C:/dos/paths
   10093   # for these hosts.
   10094   case $host_os in
   10095     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10096       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10097   esac
   10098   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10099 else
   10100   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10101 fi
   10102 library_names_spec=
   10103 libname_spec='lib$name'
   10104 soname_spec=
   10105 shrext_cmds=".so"
   10106 postinstall_cmds=
   10107 postuninstall_cmds=
   10108 finish_cmds=
   10109 finish_eval=
   10110 shlibpath_var=
   10111 shlibpath_overrides_runpath=unknown
   10112 version_type=none
   10113 dynamic_linker="$host_os ld.so"
   10114 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10115 need_lib_prefix=unknown
   10116 hardcode_into_libs=no
   10117 
   10118 # when you set need_version to no, make sure it does not cause -set_version
   10119 # flags to be left without arguments
   10120 need_version=unknown
   10121 
   10122 case $host_os in
   10123 aix3*)
   10124   version_type=linux
   10125   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10126   shlibpath_var=LIBPATH
   10127 
   10128   # AIX 3 has no versioning support, so we append a major version to the name.
   10129   soname_spec='${libname}${release}${shared_ext}$major'
   10130   ;;
   10131 
   10132 aix[4-9]*)
   10133   version_type=linux
   10134   need_lib_prefix=no
   10135   need_version=no
   10136   hardcode_into_libs=yes
   10137   if test "$host_cpu" = ia64; then
   10138     # AIX 5 supports IA64
   10139     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10140     shlibpath_var=LD_LIBRARY_PATH
   10141   else
   10142     # With GCC up to 2.95.x, collect2 would create an import file
   10143     # for dependence libraries.  The import file would start with
   10144     # the line `#! .'.  This would cause the generated library to
   10145     # depend on `.', always an invalid library.  This was fixed in
   10146     # development snapshots of GCC prior to 3.0.
   10147     case $host_os in
   10148       aix4 | aix4.[01] | aix4.[01].*)
   10149       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10150 	   echo ' yes '
   10151 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10152 	:
   10153       else
   10154 	can_build_shared=no
   10155       fi
   10156       ;;
   10157     esac
   10158     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10159     # soname into executable. Probably we can add versioning support to
   10160     # collect2, so additional links can be useful in future.
   10161     if test "$aix_use_runtimelinking" = yes; then
   10162       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10163       # instead of lib<name>.a to let people know that these are not
   10164       # typical AIX shared libraries.
   10165       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10166     else
   10167       # We preserve .a as extension for shared libraries through AIX4.2
   10168       # and later when we are not doing run time linking.
   10169       library_names_spec='${libname}${release}.a $libname.a'
   10170       soname_spec='${libname}${release}${shared_ext}$major'
   10171     fi
   10172     shlibpath_var=LIBPATH
   10173   fi
   10174   ;;
   10175 
   10176 amigaos*)
   10177   case $host_cpu in
   10178   powerpc)
   10179     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10180     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10181     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10182     ;;
   10183   m68k)
   10184     library_names_spec='$libname.ixlibrary $libname.a'
   10185     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10186     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'
   10187     ;;
   10188   esac
   10189   ;;
   10190 
   10191 beos*)
   10192   library_names_spec='${libname}${shared_ext}'
   10193   dynamic_linker="$host_os ld.so"
   10194   shlibpath_var=LIBRARY_PATH
   10195   ;;
   10196 
   10197 bsdi[45]*)
   10198   version_type=linux
   10199   need_version=no
   10200   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10201   soname_spec='${libname}${release}${shared_ext}$major'
   10202   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10203   shlibpath_var=LD_LIBRARY_PATH
   10204   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10205   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10206   # the default ld.so.conf also contains /usr/contrib/lib and
   10207   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10208   # libtool to hard-code these into programs
   10209   ;;
   10210 
   10211 cygwin* | mingw* | pw32* | cegcc*)
   10212   version_type=windows
   10213   shrext_cmds=".dll"
   10214   need_version=no
   10215   need_lib_prefix=no
   10216 
   10217   case $GCC,$host_os in
   10218   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10219     library_names_spec='$libname.dll.a'
   10220     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10221     postinstall_cmds='base_file=`basename \${file}`~
   10222       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10223       dldir=$destdir/`dirname \$dlpath`~
   10224       test -d \$dldir || mkdir -p \$dldir~
   10225       $install_prog $dir/$dlname \$dldir/$dlname~
   10226       chmod a+x \$dldir/$dlname~
   10227       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10228         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10229       fi'
   10230     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10231       dlpath=$dir/\$dldll~
   10232        $RM \$dlpath'
   10233     shlibpath_overrides_runpath=yes
   10234 
   10235     case $host_os in
   10236     cygwin*)
   10237       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10238       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10239 
   10240       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10241       ;;
   10242     mingw* | cegcc*)
   10243       # MinGW DLLs use traditional 'lib' prefix
   10244       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10245       ;;
   10246     pw32*)
   10247       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10248       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10249       ;;
   10250     esac
   10251     ;;
   10252 
   10253   *)
   10254     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10255     ;;
   10256   esac
   10257   dynamic_linker='Win32 ld.exe'
   10258   # FIXME: first we should search . and the directory the executable is in
   10259   shlibpath_var=PATH
   10260   ;;
   10261 
   10262 darwin* | rhapsody*)
   10263   dynamic_linker="$host_os dyld"
   10264   version_type=darwin
   10265   need_lib_prefix=no
   10266   need_version=no
   10267   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10268   soname_spec='${libname}${release}${major}$shared_ext'
   10269   shlibpath_overrides_runpath=yes
   10270   shlibpath_var=DYLD_LIBRARY_PATH
   10271   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10272 
   10273   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10274   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10275   ;;
   10276 
   10277 dgux*)
   10278   version_type=linux
   10279   need_lib_prefix=no
   10280   need_version=no
   10281   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10282   soname_spec='${libname}${release}${shared_ext}$major'
   10283   shlibpath_var=LD_LIBRARY_PATH
   10284   ;;
   10285 
   10286 freebsd* | dragonfly*)
   10287   # DragonFly does not have aout.  When/if they implement a new
   10288   # versioning mechanism, adjust this.
   10289   if test -x /usr/bin/objformat; then
   10290     objformat=`/usr/bin/objformat`
   10291   else
   10292     case $host_os in
   10293     freebsd[23].*) objformat=aout ;;
   10294     *) objformat=elf ;;
   10295     esac
   10296   fi
   10297   version_type=freebsd-$objformat
   10298   case $version_type in
   10299     freebsd-elf*)
   10300       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10301       need_version=no
   10302       need_lib_prefix=no
   10303       ;;
   10304     freebsd-*)
   10305       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10306       need_version=yes
   10307       ;;
   10308   esac
   10309   shlibpath_var=LD_LIBRARY_PATH
   10310   case $host_os in
   10311   freebsd2.*)
   10312     shlibpath_overrides_runpath=yes
   10313     ;;
   10314   freebsd3.[01]* | freebsdelf3.[01]*)
   10315     shlibpath_overrides_runpath=yes
   10316     hardcode_into_libs=yes
   10317     ;;
   10318   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10319   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10320     shlibpath_overrides_runpath=no
   10321     hardcode_into_libs=yes
   10322     ;;
   10323   *) # from 4.6 on, and DragonFly
   10324     shlibpath_overrides_runpath=yes
   10325     hardcode_into_libs=yes
   10326     ;;
   10327   esac
   10328   ;;
   10329 
   10330 haiku*)
   10331   version_type=linux
   10332   need_lib_prefix=no
   10333   need_version=no
   10334   dynamic_linker="$host_os runtime_loader"
   10335   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10336   soname_spec='${libname}${release}${shared_ext}$major'
   10337   shlibpath_var=LIBRARY_PATH
   10338   shlibpath_overrides_runpath=yes
   10339   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10340   hardcode_into_libs=yes
   10341   ;;
   10342 
   10343 hpux9* | hpux10* | hpux11*)
   10344   # Give a soname corresponding to the major version so that dld.sl refuses to
   10345   # link against other versions.
   10346   version_type=sunos
   10347   need_lib_prefix=no
   10348   need_version=no
   10349   case $host_cpu in
   10350   ia64*)
   10351     shrext_cmds='.so'
   10352     hardcode_into_libs=yes
   10353     dynamic_linker="$host_os dld.so"
   10354     shlibpath_var=LD_LIBRARY_PATH
   10355     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10356     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10357     soname_spec='${libname}${release}${shared_ext}$major'
   10358     if test "X$HPUX_IA64_MODE" = X32; then
   10359       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10360     else
   10361       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10362     fi
   10363     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10364     ;;
   10365   hppa*64*)
   10366     shrext_cmds='.sl'
   10367     hardcode_into_libs=yes
   10368     dynamic_linker="$host_os dld.sl"
   10369     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10370     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10371     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10372     soname_spec='${libname}${release}${shared_ext}$major'
   10373     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10374     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10375     ;;
   10376   *)
   10377     shrext_cmds='.sl'
   10378     dynamic_linker="$host_os dld.sl"
   10379     shlibpath_var=SHLIB_PATH
   10380     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10381     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10382     soname_spec='${libname}${release}${shared_ext}$major'
   10383     ;;
   10384   esac
   10385   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10386   postinstall_cmds='chmod 555 $lib'
   10387   # or fails outright, so override atomically:
   10388   install_override_mode=555
   10389   ;;
   10390 
   10391 interix[3-9]*)
   10392   version_type=linux
   10393   need_lib_prefix=no
   10394   need_version=no
   10395   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10396   soname_spec='${libname}${release}${shared_ext}$major'
   10397   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10398   shlibpath_var=LD_LIBRARY_PATH
   10399   shlibpath_overrides_runpath=no
   10400   hardcode_into_libs=yes
   10401   ;;
   10402 
   10403 irix5* | irix6* | nonstopux*)
   10404   case $host_os in
   10405     nonstopux*) version_type=nonstopux ;;
   10406     *)
   10407 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10408 		version_type=linux
   10409 	else
   10410 		version_type=irix
   10411 	fi ;;
   10412   esac
   10413   need_lib_prefix=no
   10414   need_version=no
   10415   soname_spec='${libname}${release}${shared_ext}$major'
   10416   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10417   case $host_os in
   10418   irix5* | nonstopux*)
   10419     libsuff= shlibsuff=
   10420     ;;
   10421   *)
   10422     case $LD in # libtool.m4 will add one of these switches to LD
   10423     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10424       libsuff= shlibsuff= libmagic=32-bit;;
   10425     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10426       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10427     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10428       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10429     *) libsuff= shlibsuff= libmagic=never-match;;
   10430     esac
   10431     ;;
   10432   esac
   10433   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10434   shlibpath_overrides_runpath=no
   10435   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10436   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10437   hardcode_into_libs=yes
   10438   ;;
   10439 
   10440 # No shared lib support for Linux oldld, aout, or coff.
   10441 linux*oldld* | linux*aout* | linux*coff*)
   10442   dynamic_linker=no
   10443   ;;
   10444 
   10445 # This must be Linux ELF.
   10446 
   10447 # uclinux* changes (here and below) have been submitted to the libtool
   10448 # project, but have not yet been accepted: they are GCC-local changes
   10449 # for the time being.  (See
   10450 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   10451 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   10452   version_type=linux
   10453   need_lib_prefix=no
   10454   need_version=no
   10455   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10456   soname_spec='${libname}${release}${shared_ext}$major'
   10457   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10458   shlibpath_var=LD_LIBRARY_PATH
   10459   shlibpath_overrides_runpath=no
   10460 
   10461   # Some binutils ld are patched to set DT_RUNPATH
   10462   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10463   $as_echo_n "(cached) " >&6
   10464 else
   10465   lt_cv_shlibpath_overrides_runpath=no
   10466     save_LDFLAGS=$LDFLAGS
   10467     save_libdir=$libdir
   10468     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10469 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10470     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10471 /* end confdefs.h.  */
   10472 
   10473 int
   10474 main ()
   10475 {
   10476 
   10477   ;
   10478   return 0;
   10479 }
   10480 _ACEOF
   10481 if ac_fn_c_try_link "$LINENO"; then :
   10482   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10483   lt_cv_shlibpath_overrides_runpath=yes
   10484 fi
   10485 fi
   10486 rm -f core conftest.err conftest.$ac_objext \
   10487     conftest$ac_exeext conftest.$ac_ext
   10488     LDFLAGS=$save_LDFLAGS
   10489     libdir=$save_libdir
   10490 
   10491 fi
   10492 
   10493   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10494 
   10495   # This implies no fast_install, which is unacceptable.
   10496   # Some rework will be needed to allow for fast_install
   10497   # before this can be enabled.
   10498   hardcode_into_libs=yes
   10499 
   10500   # Append ld.so.conf contents to the search path
   10501   if test -f /etc/ld.so.conf; then
   10502     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' ' '`
   10503     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10504   fi
   10505 
   10506   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10507   # powerpc, because MkLinux only supported shared libraries with the
   10508   # GNU dynamic linker.  Since this was broken with cross compilers,
   10509   # most powerpc-linux boxes support dynamic linking these days and
   10510   # people can always --disable-shared, the test was removed, and we
   10511   # assume the GNU/Linux dynamic linker is in use.
   10512   dynamic_linker='GNU/Linux ld.so'
   10513   ;;
   10514 
   10515 netbsd*)
   10516   version_type=sunos
   10517   need_lib_prefix=no
   10518   need_version=no
   10519   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10520     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10521     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10522     dynamic_linker='NetBSD (a.out) ld.so'
   10523   else
   10524     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10525     soname_spec='${libname}${release}${shared_ext}$major'
   10526     dynamic_linker='NetBSD ld.elf_so'
   10527   fi
   10528   shlibpath_var=LD_LIBRARY_PATH
   10529   shlibpath_overrides_runpath=yes
   10530   hardcode_into_libs=yes
   10531   ;;
   10532 
   10533 newsos6)
   10534   version_type=linux
   10535   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10536   shlibpath_var=LD_LIBRARY_PATH
   10537   shlibpath_overrides_runpath=yes
   10538   ;;
   10539 
   10540 *nto* | *qnx*)
   10541   version_type=qnx
   10542   need_lib_prefix=no
   10543   need_version=no
   10544   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10545   soname_spec='${libname}${release}${shared_ext}$major'
   10546   shlibpath_var=LD_LIBRARY_PATH
   10547   shlibpath_overrides_runpath=no
   10548   hardcode_into_libs=yes
   10549   dynamic_linker='ldqnx.so'
   10550   ;;
   10551 
   10552 openbsd*)
   10553   version_type=sunos
   10554   sys_lib_dlsearch_path_spec="/usr/lib"
   10555   need_lib_prefix=no
   10556   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10557   case $host_os in
   10558     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10559     *)				need_version=no  ;;
   10560   esac
   10561   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10562   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10563   shlibpath_var=LD_LIBRARY_PATH
   10564   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10565     case $host_os in
   10566       openbsd2.[89] | openbsd2.[89].*)
   10567 	shlibpath_overrides_runpath=no
   10568 	;;
   10569       *)
   10570 	shlibpath_overrides_runpath=yes
   10571 	;;
   10572       esac
   10573   else
   10574     shlibpath_overrides_runpath=yes
   10575   fi
   10576   ;;
   10577 
   10578 os2*)
   10579   libname_spec='$name'
   10580   shrext_cmds=".dll"
   10581   need_lib_prefix=no
   10582   library_names_spec='$libname${shared_ext} $libname.a'
   10583   dynamic_linker='OS/2 ld.exe'
   10584   shlibpath_var=LIBPATH
   10585   ;;
   10586 
   10587 osf3* | osf4* | osf5*)
   10588   version_type=osf
   10589   need_lib_prefix=no
   10590   need_version=no
   10591   soname_spec='${libname}${release}${shared_ext}$major'
   10592   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10593   shlibpath_var=LD_LIBRARY_PATH
   10594   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10595   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10596   ;;
   10597 
   10598 rdos*)
   10599   dynamic_linker=no
   10600   ;;
   10601 
   10602 solaris*)
   10603   version_type=linux
   10604   need_lib_prefix=no
   10605   need_version=no
   10606   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10607   soname_spec='${libname}${release}${shared_ext}$major'
   10608   shlibpath_var=LD_LIBRARY_PATH
   10609   shlibpath_overrides_runpath=yes
   10610   hardcode_into_libs=yes
   10611   # ldd complains unless libraries are executable
   10612   postinstall_cmds='chmod +x $lib'
   10613   ;;
   10614 
   10615 sunos4*)
   10616   version_type=sunos
   10617   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10618   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10619   shlibpath_var=LD_LIBRARY_PATH
   10620   shlibpath_overrides_runpath=yes
   10621   if test "$with_gnu_ld" = yes; then
   10622     need_lib_prefix=no
   10623   fi
   10624   need_version=yes
   10625   ;;
   10626 
   10627 sysv4 | sysv4.3*)
   10628   version_type=linux
   10629   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10630   soname_spec='${libname}${release}${shared_ext}$major'
   10631   shlibpath_var=LD_LIBRARY_PATH
   10632   case $host_vendor in
   10633     sni)
   10634       shlibpath_overrides_runpath=no
   10635       need_lib_prefix=no
   10636       runpath_var=LD_RUN_PATH
   10637       ;;
   10638     siemens)
   10639       need_lib_prefix=no
   10640       ;;
   10641     motorola)
   10642       need_lib_prefix=no
   10643       need_version=no
   10644       shlibpath_overrides_runpath=no
   10645       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10646       ;;
   10647   esac
   10648   ;;
   10649 
   10650 sysv4*MP*)
   10651   if test -d /usr/nec ;then
   10652     version_type=linux
   10653     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10654     soname_spec='$libname${shared_ext}.$major'
   10655     shlibpath_var=LD_LIBRARY_PATH
   10656   fi
   10657   ;;
   10658 
   10659 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10660   version_type=freebsd-elf
   10661   need_lib_prefix=no
   10662   need_version=no
   10663   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10664   soname_spec='${libname}${release}${shared_ext}$major'
   10665   shlibpath_var=LD_LIBRARY_PATH
   10666   shlibpath_overrides_runpath=yes
   10667   hardcode_into_libs=yes
   10668   if test "$with_gnu_ld" = yes; then
   10669     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10670   else
   10671     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10672     case $host_os in
   10673       sco3.2v5*)
   10674         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10675 	;;
   10676     esac
   10677   fi
   10678   sys_lib_dlsearch_path_spec='/usr/lib'
   10679   ;;
   10680 
   10681 tpf*)
   10682   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10683   version_type=linux
   10684   need_lib_prefix=no
   10685   need_version=no
   10686   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10687   shlibpath_var=LD_LIBRARY_PATH
   10688   shlibpath_overrides_runpath=no
   10689   hardcode_into_libs=yes
   10690   ;;
   10691 
   10692 uts4*)
   10693   version_type=linux
   10694   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10695   soname_spec='${libname}${release}${shared_ext}$major'
   10696   shlibpath_var=LD_LIBRARY_PATH
   10697   ;;
   10698 
   10699 # Shared libraries for VwWorks, >= 7 only at this stage
   10700 # and (fpic) still incompatible with "large" code models
   10701 # in a few configurations. Only for RTP mode in any case,
   10702 # and upon explicit request at configure time.
   10703 vxworks7*)
   10704   dynamic_linker=no
   10705   case ${with_multisubdir}-${enable_shared} in
   10706     *large*)
   10707       ;;
   10708     *mrtp*-yes)
   10709       version_type=linux
   10710       need_lib_prefix=no
   10711       need_version=no
   10712       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10713       soname_spec='${libname}${release}${shared_ext}$major'
   10714       dynamic_linker="$host_os module_loader"
   10715       ;;
   10716   esac
   10717   ;;
   10718 *)
   10719   dynamic_linker=no
   10720   ;;
   10721 esac
   10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10723 $as_echo "$dynamic_linker" >&6; }
   10724 test "$dynamic_linker" = no && can_build_shared=no
   10725 
   10726 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10727 if test "$GCC" = yes; then
   10728   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10729 fi
   10730 
   10731 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10732   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10733 fi
   10734 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10735   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10736 fi
   10737 
   10738 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10830 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10831 hardcode_action=
   10832 if test -n "$hardcode_libdir_flag_spec" ||
   10833    test -n "$runpath_var" ||
   10834    test "X$hardcode_automatic" = "Xyes" ; then
   10835 
   10836   # We can hardcode non-existent directories.
   10837   if test "$hardcode_direct" != no &&
   10838      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10839      # have to relink, otherwise we might link with an installed library
   10840      # when we should be linking with a yet-to-be-installed one
   10841      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10842      test "$hardcode_minus_L" != no; then
   10843     # Linking always hardcodes the temporary library directory.
   10844     hardcode_action=relink
   10845   else
   10846     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10847     hardcode_action=immediate
   10848   fi
   10849 else
   10850   # We cannot hardcode anything, or else we can only hardcode existing
   10851   # directories.
   10852   hardcode_action=unsupported
   10853 fi
   10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10855 $as_echo "$hardcode_action" >&6; }
   10856 
   10857 if test "$hardcode_action" = relink ||
   10858    test "$inherit_rpath" = yes; then
   10859   # Fast installation is not supported
   10860   enable_fast_install=no
   10861 elif test "$shlibpath_overrides_runpath" = yes ||
   10862      test "$enable_shared" = no; then
   10863   # Fast installation is not necessary
   10864   enable_fast_install=needless
   10865 fi
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872   if test "x$enable_dlopen" != xyes; then
   10873   enable_dlopen=unknown
   10874   enable_dlopen_self=unknown
   10875   enable_dlopen_self_static=unknown
   10876 else
   10877   lt_cv_dlopen=no
   10878   lt_cv_dlopen_libs=
   10879 
   10880   case $host_os in
   10881   beos*)
   10882     lt_cv_dlopen="load_add_on"
   10883     lt_cv_dlopen_libs=
   10884     lt_cv_dlopen_self=yes
   10885     ;;
   10886 
   10887   mingw* | pw32* | cegcc*)
   10888     lt_cv_dlopen="LoadLibrary"
   10889     lt_cv_dlopen_libs=
   10890     ;;
   10891 
   10892   cygwin*)
   10893     lt_cv_dlopen="dlopen"
   10894     lt_cv_dlopen_libs=
   10895     ;;
   10896 
   10897   darwin*)
   10898   # if libdl is installed we need to link against it
   10899     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10900 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10901 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10902   $as_echo_n "(cached) " >&6
   10903 else
   10904   ac_check_lib_save_LIBS=$LIBS
   10905 LIBS="-ldl  $LIBS"
   10906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10907 /* end confdefs.h.  */
   10908 
   10909 /* Override any GCC internal prototype to avoid an error.
   10910    Use char because int might match the return type of a GCC
   10911    builtin and then its argument prototype would still apply.  */
   10912 #ifdef __cplusplus
   10913 extern "C"
   10914 #endif
   10915 char dlopen ();
   10916 int
   10917 main ()
   10918 {
   10919 return dlopen ();
   10920   ;
   10921   return 0;
   10922 }
   10923 _ACEOF
   10924 if ac_fn_c_try_link "$LINENO"; then :
   10925   ac_cv_lib_dl_dlopen=yes
   10926 else
   10927   ac_cv_lib_dl_dlopen=no
   10928 fi
   10929 rm -f core conftest.err conftest.$ac_objext \
   10930     conftest$ac_exeext conftest.$ac_ext
   10931 LIBS=$ac_check_lib_save_LIBS
   10932 fi
   10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10934 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10935 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10936   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10937 else
   10938 
   10939     lt_cv_dlopen="dyld"
   10940     lt_cv_dlopen_libs=
   10941     lt_cv_dlopen_self=yes
   10942 
   10943 fi
   10944 
   10945     ;;
   10946 
   10947   *)
   10948     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10949 if test "x$ac_cv_func_shl_load" = xyes; then :
   10950   lt_cv_dlopen="shl_load"
   10951 else
   10952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10953 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10954 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10955   $as_echo_n "(cached) " >&6
   10956 else
   10957   ac_check_lib_save_LIBS=$LIBS
   10958 LIBS="-ldld  $LIBS"
   10959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10960 /* end confdefs.h.  */
   10961 
   10962 /* Override any GCC internal prototype to avoid an error.
   10963    Use char because int might match the return type of a GCC
   10964    builtin and then its argument prototype would still apply.  */
   10965 #ifdef __cplusplus
   10966 extern "C"
   10967 #endif
   10968 char shl_load ();
   10969 int
   10970 main ()
   10971 {
   10972 return shl_load ();
   10973   ;
   10974   return 0;
   10975 }
   10976 _ACEOF
   10977 if ac_fn_c_try_link "$LINENO"; then :
   10978   ac_cv_lib_dld_shl_load=yes
   10979 else
   10980   ac_cv_lib_dld_shl_load=no
   10981 fi
   10982 rm -f core conftest.err conftest.$ac_objext \
   10983     conftest$ac_exeext conftest.$ac_ext
   10984 LIBS=$ac_check_lib_save_LIBS
   10985 fi
   10986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10987 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10988 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10989   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10990 else
   10991   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10992 if test "x$ac_cv_func_dlopen" = xyes; then :
   10993   lt_cv_dlopen="dlopen"
   10994 else
   10995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10996 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10997 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10998   $as_echo_n "(cached) " >&6
   10999 else
   11000   ac_check_lib_save_LIBS=$LIBS
   11001 LIBS="-ldl  $LIBS"
   11002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11003 /* end confdefs.h.  */
   11004 
   11005 /* Override any GCC internal prototype to avoid an error.
   11006    Use char because int might match the return type of a GCC
   11007    builtin and then its argument prototype would still apply.  */
   11008 #ifdef __cplusplus
   11009 extern "C"
   11010 #endif
   11011 char dlopen ();
   11012 int
   11013 main ()
   11014 {
   11015 return dlopen ();
   11016   ;
   11017   return 0;
   11018 }
   11019 _ACEOF
   11020 if ac_fn_c_try_link "$LINENO"; then :
   11021   ac_cv_lib_dl_dlopen=yes
   11022 else
   11023   ac_cv_lib_dl_dlopen=no
   11024 fi
   11025 rm -f core conftest.err conftest.$ac_objext \
   11026     conftest$ac_exeext conftest.$ac_ext
   11027 LIBS=$ac_check_lib_save_LIBS
   11028 fi
   11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11030 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11031 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11032   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11033 else
   11034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11035 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11036 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11037   $as_echo_n "(cached) " >&6
   11038 else
   11039   ac_check_lib_save_LIBS=$LIBS
   11040 LIBS="-lsvld  $LIBS"
   11041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11042 /* end confdefs.h.  */
   11043 
   11044 /* Override any GCC internal prototype to avoid an error.
   11045    Use char because int might match the return type of a GCC
   11046    builtin and then its argument prototype would still apply.  */
   11047 #ifdef __cplusplus
   11048 extern "C"
   11049 #endif
   11050 char dlopen ();
   11051 int
   11052 main ()
   11053 {
   11054 return dlopen ();
   11055   ;
   11056   return 0;
   11057 }
   11058 _ACEOF
   11059 if ac_fn_c_try_link "$LINENO"; then :
   11060   ac_cv_lib_svld_dlopen=yes
   11061 else
   11062   ac_cv_lib_svld_dlopen=no
   11063 fi
   11064 rm -f core conftest.err conftest.$ac_objext \
   11065     conftest$ac_exeext conftest.$ac_ext
   11066 LIBS=$ac_check_lib_save_LIBS
   11067 fi
   11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11069 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11070 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11071   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11072 else
   11073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11074 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11075 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11076   $as_echo_n "(cached) " >&6
   11077 else
   11078   ac_check_lib_save_LIBS=$LIBS
   11079 LIBS="-ldld  $LIBS"
   11080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11081 /* end confdefs.h.  */
   11082 
   11083 /* Override any GCC internal prototype to avoid an error.
   11084    Use char because int might match the return type of a GCC
   11085    builtin and then its argument prototype would still apply.  */
   11086 #ifdef __cplusplus
   11087 extern "C"
   11088 #endif
   11089 char dld_link ();
   11090 int
   11091 main ()
   11092 {
   11093 return dld_link ();
   11094   ;
   11095   return 0;
   11096 }
   11097 _ACEOF
   11098 if ac_fn_c_try_link "$LINENO"; then :
   11099   ac_cv_lib_dld_dld_link=yes
   11100 else
   11101   ac_cv_lib_dld_dld_link=no
   11102 fi
   11103 rm -f core conftest.err conftest.$ac_objext \
   11104     conftest$ac_exeext conftest.$ac_ext
   11105 LIBS=$ac_check_lib_save_LIBS
   11106 fi
   11107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11108 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11109 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11110   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11111 fi
   11112 
   11113 
   11114 fi
   11115 
   11116 
   11117 fi
   11118 
   11119 
   11120 fi
   11121 
   11122 
   11123 fi
   11124 
   11125 
   11126 fi
   11127 
   11128     ;;
   11129   esac
   11130 
   11131   if test "x$lt_cv_dlopen" != xno; then
   11132     enable_dlopen=yes
   11133   else
   11134     enable_dlopen=no
   11135   fi
   11136 
   11137   case $lt_cv_dlopen in
   11138   dlopen)
   11139     save_CPPFLAGS="$CPPFLAGS"
   11140     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11141 
   11142     save_LDFLAGS="$LDFLAGS"
   11143     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11144 
   11145     save_LIBS="$LIBS"
   11146     LIBS="$lt_cv_dlopen_libs $LIBS"
   11147 
   11148     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11149 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11150 if ${lt_cv_dlopen_self+:} false; then :
   11151   $as_echo_n "(cached) " >&6
   11152 else
   11153   	  if test "$cross_compiling" = yes; then :
   11154   lt_cv_dlopen_self=cross
   11155 else
   11156   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11157   lt_status=$lt_dlunknown
   11158   cat > conftest.$ac_ext <<_LT_EOF
   11159 #line 11158 "configure"
   11160 #include "confdefs.h"
   11161 
   11162 #if HAVE_DLFCN_H
   11163 #include <dlfcn.h>
   11164 #endif
   11165 
   11166 #include <stdio.h>
   11167 
   11168 #ifdef RTLD_GLOBAL
   11169 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11170 #else
   11171 #  ifdef DL_GLOBAL
   11172 #    define LT_DLGLOBAL		DL_GLOBAL
   11173 #  else
   11174 #    define LT_DLGLOBAL		0
   11175 #  endif
   11176 #endif
   11177 
   11178 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11179    find out it does not work in some platform. */
   11180 #ifndef LT_DLLAZY_OR_NOW
   11181 #  ifdef RTLD_LAZY
   11182 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11183 #  else
   11184 #    ifdef DL_LAZY
   11185 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11186 #    else
   11187 #      ifdef RTLD_NOW
   11188 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11189 #      else
   11190 #        ifdef DL_NOW
   11191 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11192 #        else
   11193 #          define LT_DLLAZY_OR_NOW	0
   11194 #        endif
   11195 #      endif
   11196 #    endif
   11197 #  endif
   11198 #endif
   11199 
   11200 /* When -fvisbility=hidden is used, assume the code has been annotated
   11201    correspondingly for the symbols needed.  */
   11202 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11203 void fnord () __attribute__((visibility("default")));
   11204 #endif
   11205 
   11206 void fnord () { int i=42; }
   11207 int main ()
   11208 {
   11209   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11210   int status = $lt_dlunknown;
   11211 
   11212   if (self)
   11213     {
   11214       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11215       else
   11216         {
   11217 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11218           else puts (dlerror ());
   11219 	}
   11220       /* dlclose (self); */
   11221     }
   11222   else
   11223     puts (dlerror ());
   11224 
   11225   return status;
   11226 }
   11227 _LT_EOF
   11228   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11229   (eval $ac_link) 2>&5
   11230   ac_status=$?
   11231   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11232   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11233     (./conftest; exit; ) >&5 2>/dev/null
   11234     lt_status=$?
   11235     case x$lt_status in
   11236       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11237       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11238       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11239     esac
   11240   else :
   11241     # compilation failed
   11242     lt_cv_dlopen_self=no
   11243   fi
   11244 fi
   11245 rm -fr conftest*
   11246 
   11247 
   11248 fi
   11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11250 $as_echo "$lt_cv_dlopen_self" >&6; }
   11251 
   11252     if test "x$lt_cv_dlopen_self" = xyes; then
   11253       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11254       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11255 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11256 if ${lt_cv_dlopen_self_static+:} false; then :
   11257   $as_echo_n "(cached) " >&6
   11258 else
   11259   	  if test "$cross_compiling" = yes; then :
   11260   lt_cv_dlopen_self_static=cross
   11261 else
   11262   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11263   lt_status=$lt_dlunknown
   11264   cat > conftest.$ac_ext <<_LT_EOF
   11265 #line 11264 "configure"
   11266 #include "confdefs.h"
   11267 
   11268 #if HAVE_DLFCN_H
   11269 #include <dlfcn.h>
   11270 #endif
   11271 
   11272 #include <stdio.h>
   11273 
   11274 #ifdef RTLD_GLOBAL
   11275 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11276 #else
   11277 #  ifdef DL_GLOBAL
   11278 #    define LT_DLGLOBAL		DL_GLOBAL
   11279 #  else
   11280 #    define LT_DLGLOBAL		0
   11281 #  endif
   11282 #endif
   11283 
   11284 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11285    find out it does not work in some platform. */
   11286 #ifndef LT_DLLAZY_OR_NOW
   11287 #  ifdef RTLD_LAZY
   11288 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11289 #  else
   11290 #    ifdef DL_LAZY
   11291 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11292 #    else
   11293 #      ifdef RTLD_NOW
   11294 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11295 #      else
   11296 #        ifdef DL_NOW
   11297 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11298 #        else
   11299 #          define LT_DLLAZY_OR_NOW	0
   11300 #        endif
   11301 #      endif
   11302 #    endif
   11303 #  endif
   11304 #endif
   11305 
   11306 /* When -fvisbility=hidden is used, assume the code has been annotated
   11307    correspondingly for the symbols needed.  */
   11308 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11309 void fnord () __attribute__((visibility("default")));
   11310 #endif
   11311 
   11312 void fnord () { int i=42; }
   11313 int main ()
   11314 {
   11315   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11316   int status = $lt_dlunknown;
   11317 
   11318   if (self)
   11319     {
   11320       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11321       else
   11322         {
   11323 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11324           else puts (dlerror ());
   11325 	}
   11326       /* dlclose (self); */
   11327     }
   11328   else
   11329     puts (dlerror ());
   11330 
   11331   return status;
   11332 }
   11333 _LT_EOF
   11334   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11335   (eval $ac_link) 2>&5
   11336   ac_status=$?
   11337   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11338   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11339     (./conftest; exit; ) >&5 2>/dev/null
   11340     lt_status=$?
   11341     case x$lt_status in
   11342       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11343       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11344       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11345     esac
   11346   else :
   11347     # compilation failed
   11348     lt_cv_dlopen_self_static=no
   11349   fi
   11350 fi
   11351 rm -fr conftest*
   11352 
   11353 
   11354 fi
   11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11356 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11357     fi
   11358 
   11359     CPPFLAGS="$save_CPPFLAGS"
   11360     LDFLAGS="$save_LDFLAGS"
   11361     LIBS="$save_LIBS"
   11362     ;;
   11363   esac
   11364 
   11365   case $lt_cv_dlopen_self in
   11366   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11367   *) enable_dlopen_self=unknown ;;
   11368   esac
   11369 
   11370   case $lt_cv_dlopen_self_static in
   11371   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11372   *) enable_dlopen_self_static=unknown ;;
   11373   esac
   11374 fi
   11375 
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 striplib=
   11393 old_striplib=
   11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11395 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11396 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11397   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11398   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11400 $as_echo "yes" >&6; }
   11401 else
   11402 # FIXME - insert some real tests, host_os isn't really good enough
   11403   case $host_os in
   11404   darwin*)
   11405     if test -n "$STRIP" ; then
   11406       striplib="$STRIP -x"
   11407       old_striplib="$STRIP -S"
   11408       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11409 $as_echo "yes" >&6; }
   11410     else
   11411       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11412 $as_echo "no" >&6; }
   11413     fi
   11414     ;;
   11415   *)
   11416     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11417 $as_echo "no" >&6; }
   11418     ;;
   11419   esac
   11420 fi
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433   # Report which library types will actually be built
   11434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11435 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11437 $as_echo "$can_build_shared" >&6; }
   11438 
   11439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11440 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11441   test "$can_build_shared" = "no" && enable_shared=no
   11442 
   11443   # On AIX, shared libraries and static libraries use the same namespace, and
   11444   # are all built from PIC.
   11445   case $host_os in
   11446   aix3*)
   11447     test "$enable_shared" = yes && enable_static=no
   11448     if test -n "$RANLIB"; then
   11449       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11450       postinstall_cmds='$RANLIB $lib'
   11451     fi
   11452     ;;
   11453 
   11454   aix[4-9]*)
   11455     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11456       test "$enable_shared" = yes && enable_static=no
   11457     fi
   11458     ;;
   11459   esac
   11460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11461 $as_echo "$enable_shared" >&6; }
   11462 
   11463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11464 $as_echo_n "checking whether to build static libraries... " >&6; }
   11465   # Make sure either enable_shared or enable_static is yes.
   11466   test "$enable_shared" = yes || enable_static=yes
   11467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11468 $as_echo "$enable_static" >&6; }
   11469 
   11470 
   11471 
   11472 
   11473 fi
   11474 ac_ext=c
   11475 ac_cpp='$CPP $CPPFLAGS'
   11476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11479 
   11480 CC="$lt_save_CC"
   11481 
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 
   11494         ac_config_commands="$ac_config_commands libtool"
   11495 
   11496 
   11497 
   11498 
   11499 # Only expand once:
   11500 
   11501 
   11502 
   11503 # AC_PLUGINS setting $plugins is called by ACX_LARGEFILE.
   11504 
   11505 # The tests for host and target for $enable_largefile require
   11506 # canonical names.
   11507 
   11508 
   11509 
   11510 # As the $enable_largefile decision depends on --enable-plugins we must set it
   11511 # even in directories otherwise not depending on the $plugins option.
   11512 
   11513 
   11514   maybe_plugins=no
   11515   for ac_header in dlfcn.h
   11516 do :
   11517   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   11518 "
   11519 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   11520   cat >>confdefs.h <<_ACEOF
   11521 #define HAVE_DLFCN_H 1
   11522 _ACEOF
   11523  maybe_plugins=yes
   11524 fi
   11525 
   11526 done
   11527 
   11528   for ac_header in windows.h
   11529 do :
   11530   ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
   11531 "
   11532 if test "x$ac_cv_header_windows_h" = xyes; then :
   11533   cat >>confdefs.h <<_ACEOF
   11534 #define HAVE_WINDOWS_H 1
   11535 _ACEOF
   11536  maybe_plugins=yes
   11537 fi
   11538 
   11539 done
   11540 
   11541 
   11542   # Check whether --enable-plugins was given.
   11543 if test "${enable_plugins+set}" = set; then :
   11544   enableval=$enable_plugins; case "${enableval}" in
   11545       no) plugins=no ;;
   11546       *) plugins=yes
   11547          if test "$maybe_plugins" != "yes" ; then
   11548 	   as_fn_error $? "Building with plugin support requires a host that supports dlopen." "$LINENO" 5
   11549 	 fi ;;
   11550      esac
   11551 else
   11552   plugins=$maybe_plugins
   11553 
   11554 fi
   11555 
   11556   if test "$plugins" = "yes"; then
   11557     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
   11558 $as_echo_n "checking for library containing dlsym... " >&6; }
   11559 if ${ac_cv_search_dlsym+:} false; then :
   11560   $as_echo_n "(cached) " >&6
   11561 else
   11562   ac_func_search_save_LIBS=$LIBS
   11563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11564 /* end confdefs.h.  */
   11565 
   11566 /* Override any GCC internal prototype to avoid an error.
   11567    Use char because int might match the return type of a GCC
   11568    builtin and then its argument prototype would still apply.  */
   11569 #ifdef __cplusplus
   11570 extern "C"
   11571 #endif
   11572 char dlsym ();
   11573 int
   11574 main ()
   11575 {
   11576 return dlsym ();
   11577   ;
   11578   return 0;
   11579 }
   11580 _ACEOF
   11581 for ac_lib in '' dl; do
   11582   if test -z "$ac_lib"; then
   11583     ac_res="none required"
   11584   else
   11585     ac_res=-l$ac_lib
   11586     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11587   fi
   11588   if ac_fn_c_try_link "$LINENO"; then :
   11589   ac_cv_search_dlsym=$ac_res
   11590 fi
   11591 rm -f core conftest.err conftest.$ac_objext \
   11592     conftest$ac_exeext
   11593   if ${ac_cv_search_dlsym+:} false; then :
   11594   break
   11595 fi
   11596 done
   11597 if ${ac_cv_search_dlsym+:} false; then :
   11598 
   11599 else
   11600   ac_cv_search_dlsym=no
   11601 fi
   11602 rm conftest.$ac_ext
   11603 LIBS=$ac_func_search_save_LIBS
   11604 fi
   11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
   11606 $as_echo "$ac_cv_search_dlsym" >&6; }
   11607 ac_res=$ac_cv_search_dlsym
   11608 if test "$ac_res" != no; then :
   11609   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11610 
   11611 fi
   11612 
   11613   fi
   11614 
   11615 
   11616 case "${host}" in
   11617   sparc-*-solaris*|i?86-*-solaris*)
   11618     # On native 32-bit Solaris/SPARC and x86, large-file and procfs support
   11619     # were mutually exclusive until Solaris 11.3.  Without procfs support,
   11620     # the bfd/ elf module cannot provide certain routines such as
   11621     # elfcore_write_prpsinfo or elfcore_write_prstatus.  So unless the user
   11622     # explicitly requested large-file support through the
   11623     # --enable-largefile switch, disable large-file support in favor of
   11624     # procfs support.
   11625     #
   11626     # Check if <sys/procfs.h> is incompatible with large-file support.
   11627     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11628 /* end confdefs.h.  */
   11629 #define _FILE_OFFSET_BITS 64
   11630 #define _STRUCTURED_PROC 1
   11631 #include <sys/procfs.h>
   11632 int
   11633 main ()
   11634 {
   11635 
   11636   ;
   11637   return 0;
   11638 }
   11639 _ACEOF
   11640 if ac_fn_c_try_compile "$LINENO"; then :
   11641   acx_cv_procfs_lfs=yes
   11642 else
   11643   acx_cv_procfs_lfs=no
   11644 fi
   11645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11646     #
   11647     # Forcefully disable large-file support only if necessary, gdb is in
   11648     # tree and enabled.
   11649     if test "${target}" = "${host}" -a "$acx_cv_procfs_lfs" = no \
   11650          -a -d $srcdir/../gdb -a "$enable_gdb" != no; then
   11651       : ${enable_largefile="no"}
   11652       if test "$plugins" = yes; then
   11653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
   11654 plugin support disabled; require large-file support which is incompatible with GDB." >&5
   11655 $as_echo "$as_me: WARNING:
   11656 plugin support disabled; require large-file support which is incompatible with GDB." >&2;}
   11657 	plugins=no
   11658       fi
   11659     fi
   11660     #
   11661     # Explicitly undef _FILE_OFFSET_BITS if enable_largefile=no for the
   11662     # benefit of g++ 9+ which predefines it on Solaris.
   11663     if test "$enable_largefile" = no; then
   11664       LARGEFILE_CPPFLAGS="-U_FILE_OFFSET_BITS"
   11665 
   11666     fi
   11667     ;;
   11668 esac
   11669 
   11670 # Check whether --enable-largefile was given.
   11671 if test "${enable_largefile+set}" = set; then :
   11672   enableval=$enable_largefile;
   11673 fi
   11674 
   11675 if test "$enable_largefile" != no; then
   11676 
   11677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   11678 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   11679 if ${ac_cv_sys_largefile_CC+:} false; then :
   11680   $as_echo_n "(cached) " >&6
   11681 else
   11682   ac_cv_sys_largefile_CC=no
   11683      if test "$GCC" != yes; then
   11684        ac_save_CC=$CC
   11685        while :; do
   11686 	 # IRIX 6.2 and later do not support large files by default,
   11687 	 # so use the C compiler's -n32 option if that helps.
   11688 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11689 /* end confdefs.h.  */
   11690 #include <sys/types.h>
   11691  /* Check that off_t can represent 2**63 - 1 correctly.
   11692     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11693     since some C++ compilers masquerading as C compilers
   11694     incorrectly reject 9223372036854775807.  */
   11695 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11696   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11697 		       && LARGE_OFF_T % 2147483647 == 1)
   11698 		      ? 1 : -1];
   11699 int
   11700 main ()
   11701 {
   11702 
   11703   ;
   11704   return 0;
   11705 }
   11706 _ACEOF
   11707 	 if ac_fn_c_try_compile "$LINENO"; then :
   11708   break
   11709 fi
   11710 rm -f core conftest.err conftest.$ac_objext
   11711 	 CC="$CC -n32"
   11712 	 if ac_fn_c_try_compile "$LINENO"; then :
   11713   ac_cv_sys_largefile_CC=' -n32'; break
   11714 fi
   11715 rm -f core conftest.err conftest.$ac_objext
   11716 	 break
   11717        done
   11718        CC=$ac_save_CC
   11719        rm -f conftest.$ac_ext
   11720     fi
   11721 fi
   11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   11723 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   11724   if test "$ac_cv_sys_largefile_CC" != no; then
   11725     CC=$CC$ac_cv_sys_largefile_CC
   11726   fi
   11727 
   11728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   11729 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   11730 if ${ac_cv_sys_file_offset_bits+:} false; then :
   11731   $as_echo_n "(cached) " >&6
   11732 else
   11733   while :; do
   11734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11735 /* end confdefs.h.  */
   11736 #include <sys/types.h>
   11737  /* Check that off_t can represent 2**63 - 1 correctly.
   11738     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11739     since some C++ compilers masquerading as C compilers
   11740     incorrectly reject 9223372036854775807.  */
   11741 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11742   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11743 		       && LARGE_OFF_T % 2147483647 == 1)
   11744 		      ? 1 : -1];
   11745 int
   11746 main ()
   11747 {
   11748 
   11749   ;
   11750   return 0;
   11751 }
   11752 _ACEOF
   11753 if ac_fn_c_try_compile "$LINENO"; then :
   11754   ac_cv_sys_file_offset_bits=no; break
   11755 fi
   11756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11758 /* end confdefs.h.  */
   11759 #define _FILE_OFFSET_BITS 64
   11760 #include <sys/types.h>
   11761  /* Check that off_t can represent 2**63 - 1 correctly.
   11762     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11763     since some C++ compilers masquerading as C compilers
   11764     incorrectly reject 9223372036854775807.  */
   11765 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11766   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11767 		       && LARGE_OFF_T % 2147483647 == 1)
   11768 		      ? 1 : -1];
   11769 int
   11770 main ()
   11771 {
   11772 
   11773   ;
   11774   return 0;
   11775 }
   11776 _ACEOF
   11777 if ac_fn_c_try_compile "$LINENO"; then :
   11778   ac_cv_sys_file_offset_bits=64; break
   11779 fi
   11780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11781   ac_cv_sys_file_offset_bits=unknown
   11782   break
   11783 done
   11784 fi
   11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   11786 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   11787 case $ac_cv_sys_file_offset_bits in #(
   11788   no | unknown) ;;
   11789   *)
   11790 cat >>confdefs.h <<_ACEOF
   11791 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   11792 _ACEOF
   11793 ;;
   11794 esac
   11795 rm -rf conftest*
   11796   if test $ac_cv_sys_file_offset_bits = unknown; then
   11797     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   11798 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   11799 if ${ac_cv_sys_large_files+:} false; then :
   11800   $as_echo_n "(cached) " >&6
   11801 else
   11802   while :; do
   11803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11804 /* end confdefs.h.  */
   11805 #include <sys/types.h>
   11806  /* Check that off_t can represent 2**63 - 1 correctly.
   11807     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11808     since some C++ compilers masquerading as C compilers
   11809     incorrectly reject 9223372036854775807.  */
   11810 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11811   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11812 		       && LARGE_OFF_T % 2147483647 == 1)
   11813 		      ? 1 : -1];
   11814 int
   11815 main ()
   11816 {
   11817 
   11818   ;
   11819   return 0;
   11820 }
   11821 _ACEOF
   11822 if ac_fn_c_try_compile "$LINENO"; then :
   11823   ac_cv_sys_large_files=no; break
   11824 fi
   11825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11827 /* end confdefs.h.  */
   11828 #define _LARGE_FILES 1
   11829 #include <sys/types.h>
   11830  /* Check that off_t can represent 2**63 - 1 correctly.
   11831     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11832     since some C++ compilers masquerading as C compilers
   11833     incorrectly reject 9223372036854775807.  */
   11834 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11835   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11836 		       && LARGE_OFF_T % 2147483647 == 1)
   11837 		      ? 1 : -1];
   11838 int
   11839 main ()
   11840 {
   11841 
   11842   ;
   11843   return 0;
   11844 }
   11845 _ACEOF
   11846 if ac_fn_c_try_compile "$LINENO"; then :
   11847   ac_cv_sys_large_files=1; break
   11848 fi
   11849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11850   ac_cv_sys_large_files=unknown
   11851   break
   11852 done
   11853 fi
   11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   11855 $as_echo "$ac_cv_sys_large_files" >&6; }
   11856 case $ac_cv_sys_large_files in #(
   11857   no | unknown) ;;
   11858   *)
   11859 cat >>confdefs.h <<_ACEOF
   11860 #define _LARGE_FILES $ac_cv_sys_large_files
   11861 _ACEOF
   11862 ;;
   11863 esac
   11864 rm -rf conftest*
   11865   fi
   11866 
   11867 
   11868 fi
   11869 
   11870 
   11871 
   11872 case "${target}" in
   11873     hppa*64*-*-*) ;;
   11874     *-*-*aout*| i[3-7]86-*-msdos* | ns32k-*-* | pdp11-*-*)
   11875 	if test "$plugins" = "yes"; then
   11876 	    if test "${enable_plugins+set}" = set; then
   11877 		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling plugins for AOUT is experimental" >&5
   11878 $as_echo "$as_me: WARNING: Enabling plugins for AOUT is experimental" >&2;}
   11879 	    else
   11880 		plugins=no
   11881 	    fi
   11882 	fi ;;
   11883     hppa*-*-hpux* | *-*-*vms* | \
   11884     powerpc*-*-aix* | powerpc-*-beos* | powerpc-*-macos* | rs6000-*-*)
   11885 	if test "$plugins" = "yes"; then
   11886 	    if test "${enable_plugins+set}" = set; then
   11887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling plugins may result in ar creating non-standard archives for ${target}" >&5
   11888 $as_echo "$as_me: WARNING: Enabling plugins may result in ar creating non-standard archives for ${target}" >&2;}
   11889 	    else
   11890 		plugins=no
   11891 	    fi
   11892 	fi ;;
   11893 esac
   11894 
   11895  if test "$plugins" = "yes"; then
   11896   PLUGINS_TRUE=
   11897   PLUGINS_FALSE='#'
   11898 else
   11899   PLUGINS_TRUE='#'
   11900   PLUGINS_FALSE=
   11901 fi
   11902 
   11903 
   11904 ac_checking=
   11905 . ${srcdir}/development.sh
   11906 test "$development" = true && ac_checking=yes
   11907 # Check whether --enable-checking was given.
   11908 if test "${enable_checking+set}" = set; then :
   11909   enableval=$enable_checking; case "${enableval}" in
   11910   no|none)  ac_checking= ;;
   11911   *)	    ac_checking=yes ;;
   11912 esac
   11913 fi
   11914 if test x$ac_checking != x ; then
   11915 
   11916 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
   11917 
   11918 fi
   11919 
   11920 # Check whether --enable-64-bit-bfd was given.
   11921 if test "${enable_64_bit_bfd+set}" = set; then :
   11922   enableval=$enable_64_bit_bfd; case $enableval in #(
   11923   yes|no) :
   11924      ;; #(
   11925   *) :
   11926     as_fn_error $? "bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;; #(
   11927   *) :
   11928      ;;
   11929 esac
   11930 else
   11931   enable_64_bit_bfd=no
   11932 fi
   11933 
   11934 
   11935 if test "x$enable_64_bit_bfd" = "xno"; then :
   11936     # The cast to long int works around a bug in the HP C Compiler
   11937 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   11938 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   11939 # This bug is HP SR number 8606223364.
   11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   11941 $as_echo_n "checking size of void *... " >&6; }
   11942 if ${ac_cv_sizeof_void_p+:} false; then :
   11943   $as_echo_n "(cached) " >&6
   11944 else
   11945   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   11946 
   11947 else
   11948   if test "$ac_cv_type_void_p" = yes; then
   11949      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11951 as_fn_error 77 "cannot compute sizeof (void *)
   11952 See \`config.log' for more details" "$LINENO" 5; }
   11953    else
   11954      ac_cv_sizeof_void_p=0
   11955    fi
   11956 fi
   11957 
   11958 fi
   11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   11960 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   11961 
   11962 
   11963 
   11964 cat >>confdefs.h <<_ACEOF
   11965 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   11966 _ACEOF
   11967 
   11968 
   11969   if test "x$ac_cv_sizeof_void_p" = "x8"; then :
   11970   enable_64_bit_bfd=yes
   11971 fi
   11972 
   11973 fi
   11974 
   11975  if test "x$enable_64_bit_bfd" = "xyes"; then
   11976   ENABLE_BFD_64_BIT_TRUE=
   11977   ENABLE_BFD_64_BIT_FALSE='#'
   11978 else
   11979   ENABLE_BFD_64_BIT_TRUE='#'
   11980   ENABLE_BFD_64_BIT_FALSE=
   11981 fi
   11982 
   11983 
   11984 if test $enable_64_bit_bfd = yes ; then
   11985   want64=true
   11986 else
   11987   want64=false
   11988 fi
   11989 
   11990 # Check whether --enable-targets was given.
   11991 if test "${enable_targets+set}" = set; then :
   11992   enableval=$enable_targets; case "${enableval}" in
   11993   yes | "") as_fn_error $? "enable-targets option must specify target names or 'all'" "$LINENO" 5
   11994             ;;
   11995   no)       enable_targets= ;;
   11996   *)        enable_targets=$enableval ;;
   11997 esac
   11998 fi
   11999 
   12000 # Check whether --enable-64_bit_archive was given.
   12001 if test "${enable_64_bit_archive+set}" = set; then :
   12002   enableval=$enable_64_bit_archive; case "${enableval}" in
   12003   yes)  want_64_bit_archive=true  ;;
   12004   no)   want_64_bit_archive=false ;;
   12005   *)    as_fn_error $? "bad value ${enableval} for 64-bit-archive option" "$LINENO" 5 ;;
   12006 esac
   12007 else
   12008   want_64_bit_archive=unset
   12009 fi
   12010 
   12011 
   12012 # Check whether --with-mmap was given.
   12013 if test "${with_mmap+set}" = set; then :
   12014   withval=$with_mmap; case "${withval}" in
   12015   yes)  want_mmap=true ;;
   12016   no)   want_mmap=false ;;
   12017   *)    as_fn_error $? "bad value ${withval} for BFD with-mmap option" "$LINENO" 5 ;;
   12018 esac
   12019 else
   12020   want_mmap=true
   12021 fi
   12022 
   12023 # Check whether --enable-secureplt was given.
   12024 if test "${enable_secureplt+set}" = set; then :
   12025   enableval=$enable_secureplt; case "${enableval}" in
   12026   yes)  use_secureplt=true  ;;
   12027   no)   use_secureplt=false ;;
   12028   *)    as_fn_error $? "bad value ${enableval} for secureplt option" "$LINENO" 5 ;;
   12029 esac
   12030 else
   12031   use_secureplt=false	# XXX port-alpha/57511
   12032 fi
   12033 if test $use_secureplt = true; then
   12034 
   12035 $as_echo "#define USE_SECUREPLT 1" >>confdefs.h
   12036 
   12037 fi
   12038 
   12039 # Decide if -z separate-code should be enabled in ELF linker by default.
   12040 ac_default_ld_z_separate_code=unset
   12041 # Check whether --enable-separate-code was given.
   12042 if test "${enable_separate_code+set}" = set; then :
   12043   enableval=$enable_separate_code; case "${enableval}" in
   12044   yes) ac_default_ld_z_separate_code=1 ;;
   12045   no) ac_default_ld_z_separate_code=0 ;;
   12046 esac
   12047 fi
   12048 
   12049 # Enable -z separate-code by default for Linux/x86.
   12050 case "${target}" in
   12051 i[3-7]86-*-linux-* | x86_64-*-linux-*)
   12052   if test ${ac_default_ld_z_separate_code} = unset; then
   12053     ac_default_ld_z_separate_code=1
   12054   fi
   12055   ;;
   12056 esac
   12057 if test "${ac_default_ld_z_separate_code}" = unset; then
   12058   ac_default_ld_z_separate_code=0
   12059 fi
   12060 
   12061 cat >>confdefs.h <<_ACEOF
   12062 #define DEFAULT_LD_Z_SEPARATE_CODE $ac_default_ld_z_separate_code
   12063 _ACEOF
   12064 
   12065 
   12066 # Check whether --enable-leading-mingw64-underscores was given.
   12067 if test "${enable_leading_mingw64_underscores+set}" = set; then :
   12068   enableval=$enable_leading_mingw64_underscores;
   12069 fi
   12070 
   12071 if  test x"$enable_leading_mingw64_underscores" = xyes ; then :
   12072 
   12073 $as_echo "#define USE_MINGW64_LEADING_UNDERSCORES 1" >>confdefs.h
   12074 
   12075 fi
   12076 
   12077 DEBUGDIR=${libdir}/debug
   12078 
   12079 # Check whether --with-separate-debug-dir was given.
   12080 if test "${with_separate_debug_dir+set}" = set; then :
   12081   withval=$with_separate_debug_dir; DEBUGDIR="${withval}"
   12082 fi
   12083 
   12084 
   12085 
   12086 
   12087 
   12088 # Check whether --with-pkgversion was given.
   12089 if test "${with_pkgversion+set}" = set; then :
   12090   withval=$with_pkgversion; case "$withval" in
   12091       yes) as_fn_error $? "package version not specified" "$LINENO" 5 ;;
   12092       no)  PKGVERSION= ;;
   12093       *)   PKGVERSION="($withval) " ;;
   12094      esac
   12095 else
   12096   PKGVERSION="(GNU Binutils) "
   12097 
   12098 fi
   12099 
   12100 
   12101 
   12102 
   12103 
   12104 # Check whether --with-bugurl was given.
   12105 if test "${with_bugurl+set}" = set; then :
   12106   withval=$with_bugurl; case "$withval" in
   12107       yes) as_fn_error $? "bug URL not specified" "$LINENO" 5 ;;
   12108       no)  BUGURL=
   12109 	   ;;
   12110       *)   BUGURL="$withval"
   12111 	   ;;
   12112      esac
   12113 else
   12114   BUGURL="https://sourceware.org/bugzilla/"
   12115 
   12116 fi
   12117 
   12118   case ${BUGURL} in
   12119   "")
   12120     REPORT_BUGS_TO=
   12121     REPORT_BUGS_TEXI=
   12122     ;;
   12123   *)
   12124     REPORT_BUGS_TO="<$BUGURL>"
   12125     REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`}
   12126     ;;
   12127   esac;
   12128 
   12129 
   12130 
   12131 
   12132 
   12133 # Set the 'development' global.
   12134 . $srcdir/../bfd/development.sh
   12135 
   12136 # Set acp_cpp_for_build variable
   12137 ac_cpp_for_build="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
   12138 
   12139 # Default set of GCC warnings to enable.
   12140 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   12141 GCC_WARN_CFLAGS_FOR_BUILD="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   12142 
   12143 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   12144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12145 /* end confdefs.h.  */
   12146 __GNUC__
   12147 _ACEOF
   12148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12149   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12150 
   12151 else
   12152   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
   12153 fi
   12154 rm -f conftest*
   12155 
   12156 
   12157 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   12158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12159 /* end confdefs.h.  */
   12160 __GNUC__
   12161 _ACEOF
   12162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12163   $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12164 
   12165 else
   12166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12167 /* end confdefs.h.  */
   12168 __clang__
   12169 _ACEOF
   12170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12171   $EGREP "^__clang__$" >/dev/null 2>&1; then :
   12172   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
   12173 fi
   12174 rm -f conftest*
   12175 
   12176 fi
   12177 rm -f conftest*
   12178 
   12179 
   12180 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
   12181 WARN_WRITE_STRINGS=""
   12182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12183 /* end confdefs.h.  */
   12184 __GNUC__
   12185 _ACEOF
   12186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12187   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12188 
   12189 else
   12190   WARN_WRITE_STRINGS="-Wwrite-strings"
   12191 fi
   12192 rm -f conftest*
   12193 
   12194 
   12195 # Verify CC_FOR_BUILD to be compatible with warning flags
   12196 
   12197 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   12198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12199 /* end confdefs.h.  */
   12200 __GNUC__
   12201 _ACEOF
   12202 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   12203   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12204 
   12205 else
   12206   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
   12207 fi
   12208 rm -f conftest*
   12209 
   12210 
   12211 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   12212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12213 /* end confdefs.h.  */
   12214 __GNUC__
   12215 _ACEOF
   12216 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   12217   $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12218 
   12219 else
   12220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12221 /* end confdefs.h.  */
   12222 __clang__
   12223 _ACEOF
   12224 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   12225   $EGREP "^__clang__$" >/dev/null 2>&1; then :
   12226   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
   12227 fi
   12228 rm -f conftest*
   12229 
   12230 fi
   12231 rm -f conftest*
   12232 
   12233 
   12234 # Check whether --enable-werror was given.
   12235 if test "${enable_werror+set}" = set; then :
   12236   enableval=$enable_werror; case "${enableval}" in
   12237      yes | y) ERROR_ON_WARNING="yes" ;;
   12238      no | n)  ERROR_ON_WARNING="no" ;;
   12239      *) as_fn_error $? "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
   12240    esac
   12241 fi
   12242 
   12243 
   12244 # Disable -Wformat by default when using gcc on mingw
   12245 case "${host}" in
   12246   *-*-mingw32*)
   12247     if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
   12248       GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
   12249       GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
   12250     fi
   12251     ;;
   12252   *) ;;
   12253 esac
   12254 
   12255 # Enable -Werror by default when using gcc.  Turn it off for releases.
   12256 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then
   12257     ERROR_ON_WARNING=yes
   12258 fi
   12259 
   12260 NO_WERROR=
   12261 if test "${ERROR_ON_WARNING}" = yes ; then
   12262     GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
   12263     GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
   12264     NO_WERROR="-Wno-error"
   12265 fi
   12266 
   12267 if test "${GCC}" = yes ; then
   12268   WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   12269   WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}"
   12270 fi
   12271 
   12272 # Check whether --enable-build-warnings was given.
   12273 if test "${enable_build_warnings+set}" = set; then :
   12274   enableval=$enable_build_warnings; case "${enableval}" in
   12275   yes)	WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   12276         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}";;
   12277   no)	if test "${GCC}" = yes ; then
   12278 	  WARN_CFLAGS="-w"
   12279       WARN_CFLAGS_FOR_BUILD="-w"
   12280 	fi;;
   12281   ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   12282         WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}"
   12283         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
   12284   *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   12285         WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}"
   12286         WARN_CFLAGS_FOR_BUILD="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
   12287   *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`
   12288         WARN_CFLAGS_FOR_BUILD=`echo "${enableval}" | sed -e "s/,/ /g"`;;
   12289 esac
   12290 fi
   12291 
   12292 
   12293 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
   12294   echo "Setting warning flags = $WARN_CFLAGS" 6>&1
   12295 fi
   12296 
   12297 
   12298 
   12299 
   12300 
   12301 
   12302 
   12303 ac_config_headers="$ac_config_headers config.h:config.in"
   12304 
   12305 
   12306 # PR 14072
   12307 
   12308 
   12309 if test -z "$target" ; then
   12310     as_fn_error $? "Unrecognized target system type; please check config.sub." "$LINENO" 5
   12311 fi
   12312 
   12313 
   12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   12315 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   12316     # Check whether --enable-maintainer-mode was given.
   12317 if test "${enable_maintainer_mode+set}" = set; then :
   12318   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   12319 else
   12320   USE_MAINTAINER_MODE=no
   12321 fi
   12322 
   12323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   12324 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   12325    if test $USE_MAINTAINER_MODE = yes; then
   12326   MAINTAINER_MODE_TRUE=
   12327   MAINTAINER_MODE_FALSE='#'
   12328 else
   12329   MAINTAINER_MODE_TRUE='#'
   12330   MAINTAINER_MODE_FALSE=
   12331 fi
   12332 
   12333   MAINT=$MAINTAINER_MODE_TRUE
   12334 
   12335 
   12336  if false; then
   12337   GENINSRC_NEVER_TRUE=
   12338   GENINSRC_NEVER_FALSE='#'
   12339 else
   12340   GENINSRC_NEVER_TRUE='#'
   12341   GENINSRC_NEVER_FALSE=
   12342 fi
   12343 
   12344  case ${build_alias} in
   12345   "") build_noncanonical=${build} ;;
   12346   *) build_noncanonical=${build_alias} ;;
   12347 esac
   12348 
   12349  case ${host_alias} in
   12350   "") host_noncanonical=${build_noncanonical} ;;
   12351   *) host_noncanonical=${host_alias} ;;
   12352 esac
   12353 
   12354  case ${target_alias} in
   12355   "") target_noncanonical=${host_noncanonical} ;;
   12356   *) target_noncanonical=${target_alias} ;;
   12357 esac
   12358 
   12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libbfd" >&5
   12360 $as_echo_n "checking whether to install libbfd... " >&6; }
   12361   # Check whether --enable-install-libbfd was given.
   12362 if test "${enable_install_libbfd+set}" = set; then :
   12363   enableval=$enable_install_libbfd; install_libbfd_p=$enableval
   12364 else
   12365   if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
   12366         install_libbfd_p=yes
   12367       else
   12368         install_libbfd_p=no
   12369       fi
   12370 fi
   12371 
   12372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_libbfd_p" >&5
   12373 $as_echo "$install_libbfd_p" >&6; }
   12374    if test $install_libbfd_p = yes; then
   12375   INSTALL_LIBBFD_TRUE=
   12376   INSTALL_LIBBFD_FALSE='#'
   12377 else
   12378   INSTALL_LIBBFD_TRUE='#'
   12379   INSTALL_LIBBFD_FALSE=
   12380 fi
   12381 
   12382   # Need _noncanonical variables for this.
   12383 
   12384 
   12385 
   12386 
   12387   # libbfd.a is a host library containing target dependent code
   12388   bfdlibdir='$(libdir)'
   12389   bfdincludedir='$(includedir)'
   12390   if test "${host}" != "${target}"; then
   12391     bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
   12392     bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
   12393   fi
   12394 
   12395 
   12396 
   12397 
   12398 
   12399 
   12400 
   12401 
   12402  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   12403 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   12404 if ${ac_cv_c_bigendian+:} false; then :
   12405   $as_echo_n "(cached) " >&6
   12406 else
   12407   ac_cv_c_bigendian=unknown
   12408     # See if we're dealing with a universal compiler.
   12409     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12410 /* end confdefs.h.  */
   12411 #ifndef __APPLE_CC__
   12412 	       not a universal capable compiler
   12413 	     #endif
   12414 	     typedef int dummy;
   12415 
   12416 _ACEOF
   12417 if ac_fn_c_try_compile "$LINENO"; then :
   12418 
   12419 	# Check for potential -arch flags.  It is not universal unless
   12420 	# there are at least two -arch flags with different values.
   12421 	ac_arch=
   12422 	ac_prev=
   12423 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   12424 	 if test -n "$ac_prev"; then
   12425 	   case $ac_word in
   12426 	     i?86 | x86_64 | ppc | ppc64)
   12427 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   12428 		 ac_arch=$ac_word
   12429 	       else
   12430 		 ac_cv_c_bigendian=universal
   12431 		 break
   12432 	       fi
   12433 	       ;;
   12434 	   esac
   12435 	   ac_prev=
   12436 	 elif test "x$ac_word" = "x-arch"; then
   12437 	   ac_prev=arch
   12438 	 fi
   12439        done
   12440 fi
   12441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12442     if test $ac_cv_c_bigendian = unknown; then
   12443       # See if sys/param.h defines the BYTE_ORDER macro.
   12444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12445 /* end confdefs.h.  */
   12446 #include <sys/types.h>
   12447 	     #include <sys/param.h>
   12448 
   12449 int
   12450 main ()
   12451 {
   12452 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   12453 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   12454 		     && LITTLE_ENDIAN)
   12455 	      bogus endian macros
   12456 	     #endif
   12457 
   12458   ;
   12459   return 0;
   12460 }
   12461 _ACEOF
   12462 if ac_fn_c_try_compile "$LINENO"; then :
   12463   # It does; now see whether it defined to BIG_ENDIAN or not.
   12464 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12465 /* end confdefs.h.  */
   12466 #include <sys/types.h>
   12467 		#include <sys/param.h>
   12468 
   12469 int
   12470 main ()
   12471 {
   12472 #if BYTE_ORDER != BIG_ENDIAN
   12473 		 not big endian
   12474 		#endif
   12475 
   12476   ;
   12477   return 0;
   12478 }
   12479 _ACEOF
   12480 if ac_fn_c_try_compile "$LINENO"; then :
   12481   ac_cv_c_bigendian=yes
   12482 else
   12483   ac_cv_c_bigendian=no
   12484 fi
   12485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12486 fi
   12487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12488     fi
   12489     if test $ac_cv_c_bigendian = unknown; then
   12490       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   12491       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12492 /* end confdefs.h.  */
   12493 #include <limits.h>
   12494 
   12495 int
   12496 main ()
   12497 {
   12498 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   12499 	      bogus endian macros
   12500 	     #endif
   12501 
   12502   ;
   12503   return 0;
   12504 }
   12505 _ACEOF
   12506 if ac_fn_c_try_compile "$LINENO"; then :
   12507   # It does; now see whether it defined to _BIG_ENDIAN or not.
   12508 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12509 /* end confdefs.h.  */
   12510 #include <limits.h>
   12511 
   12512 int
   12513 main ()
   12514 {
   12515 #ifndef _BIG_ENDIAN
   12516 		 not big endian
   12517 		#endif
   12518 
   12519   ;
   12520   return 0;
   12521 }
   12522 _ACEOF
   12523 if ac_fn_c_try_compile "$LINENO"; then :
   12524   ac_cv_c_bigendian=yes
   12525 else
   12526   ac_cv_c_bigendian=no
   12527 fi
   12528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12529 fi
   12530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12531     fi
   12532     if test $ac_cv_c_bigendian = unknown; then
   12533       # Compile a test program.
   12534       if test "$cross_compiling" = yes; then :
   12535   # Try to guess by grepping values from an object file.
   12536 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12537 /* end confdefs.h.  */
   12538 short int ascii_mm[] =
   12539 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   12540 		short int ascii_ii[] =
   12541 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   12542 		int use_ascii (int i) {
   12543 		  return ascii_mm[i] + ascii_ii[i];
   12544 		}
   12545 		short int ebcdic_ii[] =
   12546 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   12547 		short int ebcdic_mm[] =
   12548 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   12549 		int use_ebcdic (int i) {
   12550 		  return ebcdic_mm[i] + ebcdic_ii[i];
   12551 		}
   12552 		extern int foo;
   12553 
   12554 int
   12555 main ()
   12556 {
   12557 return use_ascii (foo) == use_ebcdic (foo);
   12558   ;
   12559   return 0;
   12560 }
   12561 _ACEOF
   12562 if ac_fn_c_try_compile "$LINENO"; then :
   12563   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   12564 	      ac_cv_c_bigendian=yes
   12565 	    fi
   12566 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   12567 	      if test "$ac_cv_c_bigendian" = unknown; then
   12568 		ac_cv_c_bigendian=no
   12569 	      else
   12570 		# finding both strings is unlikely to happen, but who knows?
   12571 		ac_cv_c_bigendian=unknown
   12572 	      fi
   12573 	    fi
   12574 fi
   12575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12576 else
   12577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12578 /* end confdefs.h.  */
   12579 $ac_includes_default
   12580 int
   12581 main ()
   12582 {
   12583 
   12584 	     /* Are we little or big endian?  From Harbison&Steele.  */
   12585 	     union
   12586 	     {
   12587 	       long int l;
   12588 	       char c[sizeof (long int)];
   12589 	     } u;
   12590 	     u.l = 1;
   12591 	     return u.c[sizeof (long int) - 1] == 1;
   12592 
   12593   ;
   12594   return 0;
   12595 }
   12596 _ACEOF
   12597 if ac_fn_c_try_run "$LINENO"; then :
   12598   ac_cv_c_bigendian=no
   12599 else
   12600   ac_cv_c_bigendian=yes
   12601 fi
   12602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12603   conftest.$ac_objext conftest.beam conftest.$ac_ext
   12604 fi
   12605 
   12606     fi
   12607 fi
   12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   12609 $as_echo "$ac_cv_c_bigendian" >&6; }
   12610  case $ac_cv_c_bigendian in #(
   12611    yes)
   12612      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   12613 ;; #(
   12614    no)
   12615       ;; #(
   12616    universal)
   12617 
   12618 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   12619 
   12620      ;; #(
   12621    *)
   12622      as_fn_error $? "unknown endianness
   12623  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   12624  esac
   12625 
   12626 
   12627 host64=false
   12628 target64=false
   12629 bfd_default_target_size=32
   12630 
   12631 # host stuff:
   12632 
   12633 ALL_LINGUAS="da es fi fr hr id ja ro ru rw sr sv tr uk vi zh_CN pt"
   12634 
   12635         MKINSTALLDIRS=
   12636   if test -n "$ac_aux_dir"; then
   12637     case "$ac_aux_dir" in
   12638       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   12639       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   12640     esac
   12641   fi
   12642   if test -z "$MKINSTALLDIRS"; then
   12643     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   12644   fi
   12645 
   12646 
   12647 
   12648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   12649 $as_echo_n "checking whether NLS is requested... " >&6; }
   12650     # Check whether --enable-nls was given.
   12651 if test "${enable_nls+set}" = set; then :
   12652   enableval=$enable_nls; USE_NLS=$enableval
   12653 else
   12654   USE_NLS=yes
   12655 fi
   12656 
   12657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   12658 $as_echo "$USE_NLS" >&6; }
   12659 
   12660 
   12661 
   12662 
   12663 
   12664 
   12665 # Prepare PATH_SEPARATOR.
   12666 # The user is always right.
   12667 if test "${PATH_SEPARATOR+set}" != set; then
   12668   echo "#! /bin/sh" >conf$$.sh
   12669   echo  "exit 0"   >>conf$$.sh
   12670   chmod +x conf$$.sh
   12671   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   12672     PATH_SEPARATOR=';'
   12673   else
   12674     PATH_SEPARATOR=:
   12675   fi
   12676   rm -f conf$$.sh
   12677 fi
   12678 
   12679 # Find out how to test for executable files. Don't use a zero-byte file,
   12680 # as systems may use methods other than mode bits to determine executability.
   12681 cat >conf$$.file <<_ASEOF
   12682 #! /bin/sh
   12683 exit 0
   12684 _ASEOF
   12685 chmod +x conf$$.file
   12686 if test -x conf$$.file >/dev/null 2>&1; then
   12687   ac_executable_p="test -x"
   12688 else
   12689   ac_executable_p="test -f"
   12690 fi
   12691 rm -f conf$$.file
   12692 
   12693 # Extract the first word of "msgfmt", so it can be a program name with args.
   12694 set dummy msgfmt; ac_word=$2
   12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12696 $as_echo_n "checking for $ac_word... " >&6; }
   12697 if ${ac_cv_path_MSGFMT+:} false; then :
   12698   $as_echo_n "(cached) " >&6
   12699 else
   12700   case "$MSGFMT" in
   12701   [\\/]* | ?:[\\/]*)
   12702     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   12703     ;;
   12704   *)
   12705     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   12706     for ac_dir in $PATH; do
   12707       IFS="$ac_save_IFS"
   12708       test -z "$ac_dir" && ac_dir=.
   12709       for ac_exec_ext in '' $ac_executable_extensions; do
   12710         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   12711           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   12712      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   12713             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   12714             break 2
   12715           fi
   12716         fi
   12717       done
   12718     done
   12719     IFS="$ac_save_IFS"
   12720   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   12721     ;;
   12722 esac
   12723 fi
   12724 MSGFMT="$ac_cv_path_MSGFMT"
   12725 if test "$MSGFMT" != ":"; then
   12726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   12727 $as_echo "$MSGFMT" >&6; }
   12728 else
   12729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12730 $as_echo "no" >&6; }
   12731 fi
   12732 
   12733   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   12734 set dummy gmsgfmt; ac_word=$2
   12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12736 $as_echo_n "checking for $ac_word... " >&6; }
   12737 if ${ac_cv_path_GMSGFMT+:} false; then :
   12738   $as_echo_n "(cached) " >&6
   12739 else
   12740   case $GMSGFMT in
   12741   [\\/]* | ?:[\\/]*)
   12742   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   12743   ;;
   12744   *)
   12745   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12746 for as_dir in $PATH
   12747 do
   12748   IFS=$as_save_IFS
   12749   test -z "$as_dir" && as_dir=.
   12750     for ac_exec_ext in '' $ac_executable_extensions; do
   12751   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12752     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   12753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12754     break 2
   12755   fi
   12756 done
   12757   done
   12758 IFS=$as_save_IFS
   12759 
   12760   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   12761   ;;
   12762 esac
   12763 fi
   12764 GMSGFMT=$ac_cv_path_GMSGFMT
   12765 if test -n "$GMSGFMT"; then
   12766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   12767 $as_echo "$GMSGFMT" >&6; }
   12768 else
   12769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12770 $as_echo "no" >&6; }
   12771 fi
   12772 
   12773 
   12774 
   12775 
   12776 # Prepare PATH_SEPARATOR.
   12777 # The user is always right.
   12778 if test "${PATH_SEPARATOR+set}" != set; then
   12779   echo "#! /bin/sh" >conf$$.sh
   12780   echo  "exit 0"   >>conf$$.sh
   12781   chmod +x conf$$.sh
   12782   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   12783     PATH_SEPARATOR=';'
   12784   else
   12785     PATH_SEPARATOR=:
   12786   fi
   12787   rm -f conf$$.sh
   12788 fi
   12789 
   12790 # Find out how to test for executable files. Don't use a zero-byte file,
   12791 # as systems may use methods other than mode bits to determine executability.
   12792 cat >conf$$.file <<_ASEOF
   12793 #! /bin/sh
   12794 exit 0
   12795 _ASEOF
   12796 chmod +x conf$$.file
   12797 if test -x conf$$.file >/dev/null 2>&1; then
   12798   ac_executable_p="test -x"
   12799 else
   12800   ac_executable_p="test -f"
   12801 fi
   12802 rm -f conf$$.file
   12803 
   12804 # Extract the first word of "xgettext", so it can be a program name with args.
   12805 set dummy xgettext; ac_word=$2
   12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12807 $as_echo_n "checking for $ac_word... " >&6; }
   12808 if ${ac_cv_path_XGETTEXT+:} false; then :
   12809   $as_echo_n "(cached) " >&6
   12810 else
   12811   case "$XGETTEXT" in
   12812   [\\/]* | ?:[\\/]*)
   12813     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   12814     ;;
   12815   *)
   12816     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   12817     for ac_dir in $PATH; do
   12818       IFS="$ac_save_IFS"
   12819       test -z "$ac_dir" && ac_dir=.
   12820       for ac_exec_ext in '' $ac_executable_extensions; do
   12821         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   12822           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   12823      (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
   12824             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   12825             break 2
   12826           fi
   12827         fi
   12828       done
   12829     done
   12830     IFS="$ac_save_IFS"
   12831   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   12832     ;;
   12833 esac
   12834 fi
   12835 XGETTEXT="$ac_cv_path_XGETTEXT"
   12836 if test "$XGETTEXT" != ":"; then
   12837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   12838 $as_echo "$XGETTEXT" >&6; }
   12839 else
   12840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12841 $as_echo "no" >&6; }
   12842 fi
   12843 
   12844     rm -f messages.po
   12845 
   12846 
   12847 # Prepare PATH_SEPARATOR.
   12848 # The user is always right.
   12849 if test "${PATH_SEPARATOR+set}" != set; then
   12850   echo "#! /bin/sh" >conf$$.sh
   12851   echo  "exit 0"   >>conf$$.sh
   12852   chmod +x conf$$.sh
   12853   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   12854     PATH_SEPARATOR=';'
   12855   else
   12856     PATH_SEPARATOR=:
   12857   fi
   12858   rm -f conf$$.sh
   12859 fi
   12860 
   12861 # Find out how to test for executable files. Don't use a zero-byte file,
   12862 # as systems may use methods other than mode bits to determine executability.
   12863 cat >conf$$.file <<_ASEOF
   12864 #! /bin/sh
   12865 exit 0
   12866 _ASEOF
   12867 chmod +x conf$$.file
   12868 if test -x conf$$.file >/dev/null 2>&1; then
   12869   ac_executable_p="test -x"
   12870 else
   12871   ac_executable_p="test -f"
   12872 fi
   12873 rm -f conf$$.file
   12874 
   12875 # Extract the first word of "msgmerge", so it can be a program name with args.
   12876 set dummy msgmerge; ac_word=$2
   12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12878 $as_echo_n "checking for $ac_word... " >&6; }
   12879 if ${ac_cv_path_MSGMERGE+:} false; then :
   12880   $as_echo_n "(cached) " >&6
   12881 else
   12882   case "$MSGMERGE" in
   12883   [\\/]* | ?:[\\/]*)
   12884     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   12885     ;;
   12886   *)
   12887     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   12888     for ac_dir in $PATH; do
   12889       IFS="$ac_save_IFS"
   12890       test -z "$ac_dir" && ac_dir=.
   12891       for ac_exec_ext in '' $ac_executable_extensions; do
   12892         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   12893           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   12894             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   12895             break 2
   12896           fi
   12897         fi
   12898       done
   12899     done
   12900     IFS="$ac_save_IFS"
   12901   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   12902     ;;
   12903 esac
   12904 fi
   12905 MSGMERGE="$ac_cv_path_MSGMERGE"
   12906 if test "$MSGMERGE" != ":"; then
   12907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   12908 $as_echo "$MSGMERGE" >&6; }
   12909 else
   12910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12911 $as_echo "no" >&6; }
   12912 fi
   12913 
   12914 
   12915       if test "$GMSGFMT" != ":"; then
   12916             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   12917        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   12918       : ;
   12919     else
   12920       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   12921       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   12922 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
   12923       GMSGFMT=":"
   12924     fi
   12925   fi
   12926 
   12927       if test "$XGETTEXT" != ":"; then
   12928             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   12929        (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
   12930       : ;
   12931     else
   12932       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
   12933 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
   12934       XGETTEXT=":"
   12935     fi
   12936         rm -f messages.po
   12937   fi
   12938 
   12939   ac_config_commands="$ac_config_commands default-1"
   12940 
   12941 
   12942 
   12943       if test "X$prefix" = "XNONE"; then
   12944     acl_final_prefix="$ac_default_prefix"
   12945   else
   12946     acl_final_prefix="$prefix"
   12947   fi
   12948   if test "X$exec_prefix" = "XNONE"; then
   12949     acl_final_exec_prefix='${prefix}'
   12950   else
   12951     acl_final_exec_prefix="$exec_prefix"
   12952   fi
   12953   acl_save_prefix="$prefix"
   12954   prefix="$acl_final_prefix"
   12955   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   12956   prefix="$acl_save_prefix"
   12957 
   12958 
   12959 # Check whether --with-gnu-ld was given.
   12960 if test "${with_gnu_ld+set}" = set; then :
   12961   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   12962 else
   12963   with_gnu_ld=no
   12964 fi
   12965 
   12966 # Prepare PATH_SEPARATOR.
   12967 # The user is always right.
   12968 if test "${PATH_SEPARATOR+set}" != set; then
   12969   echo "#! /bin/sh" >conf$$.sh
   12970   echo  "exit 0"   >>conf$$.sh
   12971   chmod +x conf$$.sh
   12972   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   12973     PATH_SEPARATOR=';'
   12974   else
   12975     PATH_SEPARATOR=:
   12976   fi
   12977   rm -f conf$$.sh
   12978 fi
   12979 ac_prog=ld
   12980 if test "$GCC" = yes; then
   12981   # Check if gcc -print-prog-name=ld gives a path.
   12982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
   12983 $as_echo_n "checking for ld used by GCC... " >&6; }
   12984   case $host in
   12985   *-*-mingw*)
   12986     # gcc leaves a trailing carriage return which upsets mingw
   12987     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12988   *)
   12989     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12990   esac
   12991   case $ac_prog in
   12992     # Accept absolute paths.
   12993     [\\/]* | [A-Za-z]:[\\/]*)
   12994       re_direlt='/[^/][^/]*/\.\./'
   12995       # Canonicalize the path of ld
   12996       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
   12997       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   12998 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   12999       done
   13000       test -z "$LD" && LD="$ac_prog"
   13001       ;;
   13002   "")
   13003     # If it fails, then pretend we aren't using GCC.
   13004     ac_prog=ld
   13005     ;;
   13006   *)
   13007     # If it is relative, then search for the first ld in PATH.
   13008     with_gnu_ld=unknown
   13009     ;;
   13010   esac
   13011 elif test "$with_gnu_ld" = yes; then
   13012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   13013 $as_echo_n "checking for GNU ld... " >&6; }
   13014 else
   13015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   13016 $as_echo_n "checking for non-GNU ld... " >&6; }
   13017 fi
   13018 if ${acl_cv_path_LD+:} false; then :
   13019   $as_echo_n "(cached) " >&6
   13020 else
   13021   if test -z "$LD"; then
   13022   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
   13023   for ac_dir in $PATH; do
   13024     test -z "$ac_dir" && ac_dir=.
   13025     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   13026       acl_cv_path_LD="$ac_dir/$ac_prog"
   13027       # Check to see if the program is GNU ld.  I'd rather use --version,
   13028       # but apparently some GNU ld's only accept -v.
   13029       # Break only if it was the GNU/non-GNU ld that we prefer.
   13030       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then
   13031 	test "$with_gnu_ld" != no && break
   13032       else
   13033 	test "$with_gnu_ld" != yes && break
   13034       fi
   13035     fi
   13036   done
   13037   IFS="$ac_save_ifs"
   13038 else
   13039   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   13040 fi
   13041 fi
   13042 
   13043 LD="$acl_cv_path_LD"
   13044 if test -n "$LD"; then
   13045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   13046 $as_echo "$LD" >&6; }
   13047 else
   13048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13049 $as_echo "no" >&6; }
   13050 fi
   13051 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   13052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   13053 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   13054 if ${acl_cv_prog_gnu_ld+:} false; then :
   13055   $as_echo_n "(cached) " >&6
   13056 else
   13057   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   13058 if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then
   13059   acl_cv_prog_gnu_ld=yes
   13060 else
   13061   acl_cv_prog_gnu_ld=no
   13062 fi
   13063 fi
   13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   13065 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
   13066 with_gnu_ld=$acl_cv_prog_gnu_ld
   13067 
   13068 
   13069 
   13070                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   13071 $as_echo_n "checking for shared library run path origin... " >&6; }
   13072 if ${acl_cv_rpath+:} false; then :
   13073   $as_echo_n "(cached) " >&6
   13074 else
   13075 
   13076     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   13077     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   13078     . ./conftest.sh
   13079     rm -f ./conftest.sh
   13080     acl_cv_rpath=done
   13081 
   13082 fi
   13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   13084 $as_echo "$acl_cv_rpath" >&6; }
   13085   wl="$acl_cv_wl"
   13086   libext="$acl_cv_libext"
   13087   shlibext="$acl_cv_shlibext"
   13088   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   13089   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   13090   hardcode_direct="$acl_cv_hardcode_direct"
   13091   hardcode_minus_L="$acl_cv_hardcode_minus_L"
   13092     # Check whether --enable-rpath was given.
   13093 if test "${enable_rpath+set}" = set; then :
   13094   enableval=$enable_rpath; :
   13095 else
   13096   enable_rpath=yes
   13097 fi
   13098 
   13099 
   13100 
   13101 
   13102 
   13103 
   13104 
   13105 
   13106     use_additional=yes
   13107 
   13108   acl_save_prefix="$prefix"
   13109   prefix="$acl_final_prefix"
   13110   acl_save_exec_prefix="$exec_prefix"
   13111   exec_prefix="$acl_final_exec_prefix"
   13112 
   13113     eval additional_includedir=\"$includedir\"
   13114     eval additional_libdir=\"$libdir\"
   13115 
   13116   exec_prefix="$acl_save_exec_prefix"
   13117   prefix="$acl_save_prefix"
   13118 
   13119 
   13120 # Check whether --with-libiconv-prefix was given.
   13121 if test "${with_libiconv_prefix+set}" = set; then :
   13122   withval=$with_libiconv_prefix;
   13123     if test "X$withval" = "Xno"; then
   13124       use_additional=no
   13125     else
   13126       if test "X$withval" = "X"; then
   13127 
   13128   acl_save_prefix="$prefix"
   13129   prefix="$acl_final_prefix"
   13130   acl_save_exec_prefix="$exec_prefix"
   13131   exec_prefix="$acl_final_exec_prefix"
   13132 
   13133           eval additional_includedir=\"$includedir\"
   13134           eval additional_libdir=\"$libdir\"
   13135 
   13136   exec_prefix="$acl_save_exec_prefix"
   13137   prefix="$acl_save_prefix"
   13138 
   13139       else
   13140         additional_includedir="$withval/include"
   13141         additional_libdir="$withval/lib"
   13142       fi
   13143     fi
   13144 
   13145 fi
   13146 
   13147 
   13148 # Check whether --with-libiconv-type was given.
   13149 if test "${with_libiconv_type+set}" = set; then :
   13150   withval=$with_libiconv_type;  with_libiconv_type=$withval
   13151 else
   13152    with_libiconv_type=auto
   13153 fi
   13154 
   13155   lib_type=`eval echo \$with_libiconv_type`
   13156 
   13157       LIBICONV=
   13158   LTLIBICONV=
   13159   INCICONV=
   13160   rpathdirs=
   13161   ltrpathdirs=
   13162   names_already_handled=
   13163   names_next_round='iconv '
   13164   while test -n "$names_next_round"; do
   13165     names_this_round="$names_next_round"
   13166     names_next_round=
   13167     for name in $names_this_round; do
   13168       already_handled=
   13169       for n in $names_already_handled; do
   13170         if test "$n" = "$name"; then
   13171           already_handled=yes
   13172           break
   13173         fi
   13174       done
   13175       if test -z "$already_handled"; then
   13176         names_already_handled="$names_already_handled $name"
   13177                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   13178         eval value=\"\$HAVE_LIB$uppername\"
   13179         if test -n "$value"; then
   13180           if test "$value" = yes; then
   13181             eval value=\"\$LIB$uppername\"
   13182             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   13183             eval value=\"\$LTLIB$uppername\"
   13184             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   13185           else
   13186                                     :
   13187           fi
   13188         else
   13189                               found_dir=
   13190           found_la=
   13191           found_so=
   13192           found_a=
   13193           if test $use_additional = yes; then
   13194             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   13195               found_dir="$additional_libdir"
   13196               found_so="$additional_libdir/lib$name.$shlibext"
   13197               if test -f "$additional_libdir/lib$name.la"; then
   13198                 found_la="$additional_libdir/lib$name.la"
   13199               fi
   13200             elif test x$lib_type != xshared; then
   13201               if test -f "$additional_libdir/lib$name.$libext"; then
   13202                 found_dir="$additional_libdir"
   13203                 found_a="$additional_libdir/lib$name.$libext"
   13204                 if test -f "$additional_libdir/lib$name.la"; then
   13205                   found_la="$additional_libdir/lib$name.la"
   13206                 fi
   13207               fi
   13208             fi
   13209           fi
   13210           if test "X$found_dir" = "X"; then
   13211             for x in $LDFLAGS $LTLIBICONV; do
   13212 
   13213   acl_save_prefix="$prefix"
   13214   prefix="$acl_final_prefix"
   13215   acl_save_exec_prefix="$exec_prefix"
   13216   exec_prefix="$acl_final_exec_prefix"
   13217   eval x=\"$x\"
   13218   exec_prefix="$acl_save_exec_prefix"
   13219   prefix="$acl_save_prefix"
   13220 
   13221               case "$x" in
   13222                 -L*)
   13223                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   13224                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   13225                     found_dir="$dir"
   13226                     found_so="$dir/lib$name.$shlibext"
   13227                     if test -f "$dir/lib$name.la"; then
   13228                       found_la="$dir/lib$name.la"
   13229                     fi
   13230                   elif test x$lib_type != xshared; then
   13231                     if test -f "$dir/lib$name.$libext"; then
   13232                       found_dir="$dir"
   13233                       found_a="$dir/lib$name.$libext"
   13234                       if test -f "$dir/lib$name.la"; then
   13235                         found_la="$dir/lib$name.la"
   13236                       fi
   13237                     fi
   13238                   fi
   13239                   ;;
   13240               esac
   13241               if test "X$found_dir" != "X"; then
   13242                 break
   13243               fi
   13244             done
   13245           fi
   13246           if test "X$found_dir" != "X"; then
   13247                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   13248             if test "X$found_so" != "X"; then
   13249                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   13250                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   13251               else
   13252                                                                                 haveit=
   13253                 for x in $ltrpathdirs; do
   13254                   if test "X$x" = "X$found_dir"; then
   13255                     haveit=yes
   13256                     break
   13257                   fi
   13258                 done
   13259                 if test -z "$haveit"; then
   13260                   ltrpathdirs="$ltrpathdirs $found_dir"
   13261                 fi
   13262                                 if test "$hardcode_direct" = yes; then
   13263                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   13264                 else
   13265                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   13266                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   13267                                                             haveit=
   13268                     for x in $rpathdirs; do
   13269                       if test "X$x" = "X$found_dir"; then
   13270                         haveit=yes
   13271                         break
   13272                       fi
   13273                     done
   13274                     if test -z "$haveit"; then
   13275                       rpathdirs="$rpathdirs $found_dir"
   13276                     fi
   13277                   else
   13278                                                                                 haveit=
   13279                     for x in $LDFLAGS $LIBICONV; do
   13280 
   13281   acl_save_prefix="$prefix"
   13282   prefix="$acl_final_prefix"
   13283   acl_save_exec_prefix="$exec_prefix"
   13284   exec_prefix="$acl_final_exec_prefix"
   13285   eval x=\"$x\"
   13286   exec_prefix="$acl_save_exec_prefix"
   13287   prefix="$acl_save_prefix"
   13288 
   13289                       if test "X$x" = "X-L$found_dir"; then
   13290                         haveit=yes
   13291                         break
   13292                       fi
   13293                     done
   13294                     if test -z "$haveit"; then
   13295                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   13296                     fi
   13297                     if test "$hardcode_minus_L" != no; then
   13298                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   13299                     else
   13300                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   13301                     fi
   13302                   fi
   13303                 fi
   13304               fi
   13305             else
   13306               if test "X$found_a" != "X"; then
   13307                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   13308               else
   13309                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   13310               fi
   13311             fi
   13312                         additional_includedir=
   13313             case "$found_dir" in
   13314               */lib | */lib/)
   13315                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   13316                 additional_includedir="$basedir/include"
   13317                 ;;
   13318             esac
   13319             if test "X$additional_includedir" != "X"; then
   13320                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   13321                 haveit=
   13322                 if test "X$additional_includedir" = "X/usr/local/include"; then
   13323                   if test -n "$GCC"; then
   13324                     case $host_os in
   13325                       linux*) haveit=yes;;
   13326                     esac
   13327                   fi
   13328                 fi
   13329                 if test -z "$haveit"; then
   13330                   for x in $CPPFLAGS $INCICONV; do
   13331 
   13332   acl_save_prefix="$prefix"
   13333   prefix="$acl_final_prefix"
   13334   acl_save_exec_prefix="$exec_prefix"
   13335   exec_prefix="$acl_final_exec_prefix"
   13336   eval x=\"$x\"
   13337   exec_prefix="$acl_save_exec_prefix"
   13338   prefix="$acl_save_prefix"
   13339 
   13340                     if test "X$x" = "X-I$additional_includedir"; then
   13341                       haveit=yes
   13342                       break
   13343                     fi
   13344                   done
   13345                   if test -z "$haveit"; then
   13346                     if test -d "$additional_includedir"; then
   13347                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   13348                     fi
   13349                   fi
   13350                 fi
   13351               fi
   13352             fi
   13353                         if test -n "$found_la"; then
   13354                                                         save_libdir="$libdir"
   13355               case "$found_la" in
   13356                 */* | *\\*) . "$found_la" ;;
   13357                 *) . "./$found_la" ;;
   13358               esac
   13359               libdir="$save_libdir"
   13360                             for dep in $dependency_libs; do
   13361                 case "$dep" in
   13362                   -L*)
   13363                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   13364                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   13365                       haveit=
   13366                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   13367                         if test -n "$GCC"; then
   13368                           case $host_os in
   13369                             linux*) haveit=yes;;
   13370                           esac
   13371                         fi
   13372                       fi
   13373                       if test -z "$haveit"; then
   13374                         haveit=
   13375                         for x in $LDFLAGS $LIBICONV; do
   13376 
   13377   acl_save_prefix="$prefix"
   13378   prefix="$acl_final_prefix"
   13379   acl_save_exec_prefix="$exec_prefix"
   13380   exec_prefix="$acl_final_exec_prefix"
   13381   eval x=\"$x\"
   13382   exec_prefix="$acl_save_exec_prefix"
   13383   prefix="$acl_save_prefix"
   13384 
   13385                           if test "X$x" = "X-L$additional_libdir"; then
   13386                             haveit=yes
   13387                             break
   13388                           fi
   13389                         done
   13390                         if test -z "$haveit"; then
   13391                           if test -d "$additional_libdir"; then
   13392                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   13393                           fi
   13394                         fi
   13395                         haveit=
   13396                         for x in $LDFLAGS $LTLIBICONV; do
   13397 
   13398   acl_save_prefix="$prefix"
   13399   prefix="$acl_final_prefix"
   13400   acl_save_exec_prefix="$exec_prefix"
   13401   exec_prefix="$acl_final_exec_prefix"
   13402   eval x=\"$x\"
   13403   exec_prefix="$acl_save_exec_prefix"
   13404   prefix="$acl_save_prefix"
   13405 
   13406                           if test "X$x" = "X-L$additional_libdir"; then
   13407                             haveit=yes
   13408                             break
   13409                           fi
   13410                         done
   13411                         if test -z "$haveit"; then
   13412                           if test -d "$additional_libdir"; then
   13413                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   13414                           fi
   13415                         fi
   13416                       fi
   13417                     fi
   13418                     ;;
   13419                   -R*)
   13420                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   13421                     if test "$enable_rpath" != no; then
   13422                                                                   haveit=
   13423                       for x in $rpathdirs; do
   13424                         if test "X$x" = "X$dir"; then
   13425                           haveit=yes
   13426                           break
   13427                         fi
   13428                       done
   13429                       if test -z "$haveit"; then
   13430                         rpathdirs="$rpathdirs $dir"
   13431                       fi
   13432                                                                   haveit=
   13433                       for x in $ltrpathdirs; do
   13434                         if test "X$x" = "X$dir"; then
   13435                           haveit=yes
   13436                           break
   13437                         fi
   13438                       done
   13439                       if test -z "$haveit"; then
   13440                         ltrpathdirs="$ltrpathdirs $dir"
   13441                       fi
   13442                     fi
   13443                     ;;
   13444                   -l*)
   13445                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   13446                     ;;
   13447                   *.la)
   13448                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   13449                     ;;
   13450                   *)
   13451                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   13452                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   13453                     ;;
   13454                 esac
   13455               done
   13456             fi
   13457           else
   13458                                                             if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
   13459               LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   13460               LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   13461             else
   13462               LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
   13463               LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
   13464             fi
   13465           fi
   13466         fi
   13467       fi
   13468     done
   13469   done
   13470   if test "X$rpathdirs" != "X"; then
   13471     if test -n "$hardcode_libdir_separator"; then
   13472                         alldirs=
   13473       for found_dir in $rpathdirs; do
   13474         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   13475       done
   13476             acl_save_libdir="$libdir"
   13477       libdir="$alldirs"
   13478       eval flag=\"$hardcode_libdir_flag_spec\"
   13479       libdir="$acl_save_libdir"
   13480       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   13481     else
   13482             for found_dir in $rpathdirs; do
   13483         acl_save_libdir="$libdir"
   13484         libdir="$found_dir"
   13485         eval flag=\"$hardcode_libdir_flag_spec\"
   13486         libdir="$acl_save_libdir"
   13487         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   13488       done
   13489     fi
   13490   fi
   13491   if test "X$ltrpathdirs" != "X"; then
   13492             for found_dir in $ltrpathdirs; do
   13493       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   13494     done
   13495   fi
   13496 
   13497 
   13498 
   13499 
   13500 
   13501 if test -f ../gettext/uninstalled-config.sh; then
   13502   relative_builddir='$(top_builddir)/../gettext'
   13503   .  ../gettext/uninstalled-config.sh
   13504 else
   13505   # The sister gettext directory doesn't exist and won't collect information on
   13506   # using gettext for us.  Call a bundled AM_GNU_GETTEXT.
   13507 
   13508 
   13509 
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 
   13516 
   13517 
   13518 
   13519 
   13520 
   13521 
   13522 
   13523 
   13524 
   13525 
   13526 
   13527 
   13528 
   13529 
   13530     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
   13531 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
   13532 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
   13533   $as_echo_n "(cached) " >&6
   13534 else
   13535   gt_save_LIBS="$LIBS"
   13536      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   13537      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13538 /* end confdefs.h.  */
   13539 #include <CoreFoundation/CFPreferences.h>
   13540 int
   13541 main ()
   13542 {
   13543 CFPreferencesCopyAppValue(NULL, NULL)
   13544   ;
   13545   return 0;
   13546 }
   13547 _ACEOF
   13548 if ac_fn_c_try_link "$LINENO"; then :
   13549   gt_cv_func_CFPreferencesCopyAppValue=yes
   13550 else
   13551   gt_cv_func_CFPreferencesCopyAppValue=no
   13552 fi
   13553 rm -f core conftest.err conftest.$ac_objext \
   13554     conftest$ac_exeext conftest.$ac_ext
   13555      LIBS="$gt_save_LIBS"
   13556 fi
   13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
   13558 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
   13559   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
   13560 
   13561 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
   13562 
   13563   fi
   13564                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
   13565 $as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; }
   13566 if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then :
   13567   $as_echo_n "(cached) " >&6
   13568 else
   13569   gt_save_LIBS="$LIBS"
   13570      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   13571      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13572 /* end confdefs.h.  */
   13573 #include <CoreFoundation/CFLocale.h>
   13574 int
   13575 main ()
   13576 {
   13577 CFLocaleCopyPreferredLanguages();
   13578   ;
   13579   return 0;
   13580 }
   13581 _ACEOF
   13582 if ac_fn_c_try_link "$LINENO"; then :
   13583   gt_cv_func_CFLocaleCopyPreferredLanguages=yes
   13584 else
   13585   gt_cv_func_CFLocaleCopyPreferredLanguages=no
   13586 fi
   13587 rm -f core conftest.err conftest.$ac_objext \
   13588     conftest$ac_exeext conftest.$ac_ext
   13589      LIBS="$gt_save_LIBS"
   13590 fi
   13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
   13592 $as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
   13593   if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
   13594 
   13595 $as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
   13596 
   13597   fi
   13598   INTL_MACOSX_LIBS=
   13599   if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
   13600      || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
   13601                     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices"
   13602   fi
   13603 
   13604 
   13605 
   13606 
   13607 
   13608 
   13609   LIBINTL=
   13610   LTLIBINTL=
   13611   POSUB=
   13612 
   13613     case " $gt_needs " in
   13614     *" need-formatstring-macros "*) gt_api_version=3 ;;
   13615     *" need-ngettext "*) gt_api_version=2 ;;
   13616     *) gt_api_version=1 ;;
   13617   esac
   13618   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
   13619   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
   13620 
   13621     if test "$USE_NLS" = "yes"; then
   13622     gt_use_preinstalled_gnugettext=no
   13623 
   13624 
   13625         if test $gt_api_version -ge 3; then
   13626           gt_revision_test_code='
   13627 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   13628 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
   13629 #endif
   13630 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
   13631 '
   13632         else
   13633           gt_revision_test_code=
   13634         fi
   13635         if test $gt_api_version -ge 2; then
   13636           gt_expression_test_code=' + * ngettext ("", "", 0)'
   13637         else
   13638           gt_expression_test_code=
   13639         fi
   13640 
   13641         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
   13642 $as_echo_n "checking for GNU gettext in libc... " >&6; }
   13643 if eval \${$gt_func_gnugettext_libc+:} false; then :
   13644   $as_echo_n "(cached) " >&6
   13645 else
   13646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13647 /* end confdefs.h.  */
   13648 
   13649 #include <libintl.h>
   13650 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   13651 extern int _nl_msg_cat_cntr;
   13652 extern int *_nl_domain_bindings;
   13653 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
   13654 #else
   13655 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   13656 #endif
   13657 $gt_revision_test_code
   13658 
   13659 int
   13660 main ()
   13661 {
   13662 
   13663 bindtextdomain ("", "");
   13664 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   13665 
   13666   ;
   13667   return 0;
   13668 }
   13669 _ACEOF
   13670 if ac_fn_c_try_link "$LINENO"; then :
   13671   eval "$gt_func_gnugettext_libc=yes"
   13672 else
   13673   eval "$gt_func_gnugettext_libc=no"
   13674 fi
   13675 rm -f core conftest.err conftest.$ac_objext \
   13676     conftest$ac_exeext conftest.$ac_ext
   13677 fi
   13678 eval ac_res=\$$gt_func_gnugettext_libc
   13679 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   13680 $as_echo "$ac_res" >&6; }
   13681 
   13682         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
   13683 
   13684 
   13685 
   13686 
   13687 
   13688           am_save_CPPFLAGS="$CPPFLAGS"
   13689 
   13690   for element in $INCICONV; do
   13691     haveit=
   13692     for x in $CPPFLAGS; do
   13693 
   13694   acl_save_prefix="$prefix"
   13695   prefix="$acl_final_prefix"
   13696   acl_save_exec_prefix="$exec_prefix"
   13697   exec_prefix="$acl_final_exec_prefix"
   13698   eval x=\"$x\"
   13699   exec_prefix="$acl_save_exec_prefix"
   13700   prefix="$acl_save_prefix"
   13701 
   13702       if test "X$x" = "X$element"; then
   13703         haveit=yes
   13704         break
   13705       fi
   13706     done
   13707     if test -z "$haveit"; then
   13708       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   13709     fi
   13710   done
   13711 
   13712 
   13713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   13714 $as_echo_n "checking for iconv... " >&6; }
   13715 if ${am_cv_func_iconv+:} false; then :
   13716   $as_echo_n "(cached) " >&6
   13717 else
   13718 
   13719     am_cv_func_iconv="no, consider installing GNU libiconv"
   13720     am_cv_lib_iconv=no
   13721     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13722 /* end confdefs.h.  */
   13723 
   13724 #include <stdlib.h>
   13725 #include <iconv.h>
   13726 
   13727 int
   13728 main ()
   13729 {
   13730 iconv_t cd = iconv_open("","");
   13731            iconv(cd,NULL,NULL,NULL,NULL);
   13732            iconv_close(cd);
   13733   ;
   13734   return 0;
   13735 }
   13736 _ACEOF
   13737 if ac_fn_c_try_link "$LINENO"; then :
   13738   am_cv_func_iconv=yes
   13739 fi
   13740 rm -f core conftest.err conftest.$ac_objext \
   13741     conftest$ac_exeext conftest.$ac_ext
   13742     if test "$am_cv_func_iconv" != yes; then
   13743       am_save_LIBS="$LIBS"
   13744       LIBS="$LIBS $LIBICONV"
   13745       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13746 /* end confdefs.h.  */
   13747 
   13748 #include <stdlib.h>
   13749 #include <iconv.h>
   13750 
   13751 int
   13752 main ()
   13753 {
   13754 iconv_t cd = iconv_open("","");
   13755              iconv(cd,NULL,NULL,NULL,NULL);
   13756              iconv_close(cd);
   13757   ;
   13758   return 0;
   13759 }
   13760 _ACEOF
   13761 if ac_fn_c_try_link "$LINENO"; then :
   13762   am_cv_lib_iconv=yes
   13763         am_cv_func_iconv=yes
   13764 fi
   13765 rm -f core conftest.err conftest.$ac_objext \
   13766     conftest$ac_exeext conftest.$ac_ext
   13767       LIBS="$am_save_LIBS"
   13768     fi
   13769 
   13770 fi
   13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   13772 $as_echo "$am_cv_func_iconv" >&6; }
   13773   if test "$am_cv_func_iconv" = yes; then
   13774     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
   13775 $as_echo_n "checking for working iconv... " >&6; }
   13776 if ${am_cv_func_iconv_works+:} false; then :
   13777   $as_echo_n "(cached) " >&6
   13778 else
   13779 
   13780                   am_save_LIBS="$LIBS"
   13781       if test $am_cv_lib_iconv = yes; then
   13782         LIBS="$LIBS $LIBICONV"
   13783       fi
   13784       am_cv_func_iconv_works=no
   13785       for ac_iconv_const in '' 'const'; do
   13786         if test "$cross_compiling" = yes; then :
   13787   case "$host_os" in
   13788              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
   13789              *)            am_cv_func_iconv_works="guessing yes" ;;
   13790            esac
   13791 else
   13792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13793 /* end confdefs.h.  */
   13794 
   13795 #include <iconv.h>
   13796 #include <string.h>
   13797 
   13798 #ifndef ICONV_CONST
   13799 # define ICONV_CONST $ac_iconv_const
   13800 #endif
   13801 
   13802 int
   13803 main ()
   13804 {
   13805 int result = 0;
   13806   /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
   13807      successful returns.  This is even documented in
   13808      <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
   13809   {
   13810     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
   13811     if (cd_utf8_to_88591 != (iconv_t)(-1))
   13812       {
   13813         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
   13814         char buf[10];
   13815         ICONV_CONST char *inptr = input;
   13816         size_t inbytesleft = strlen (input);
   13817         char *outptr = buf;
   13818         size_t outbytesleft = sizeof (buf);
   13819         size_t res = iconv (cd_utf8_to_88591,
   13820                             &inptr, &inbytesleft,
   13821                             &outptr, &outbytesleft);
   13822         if (res == 0)
   13823           result |= 1;
   13824         iconv_close (cd_utf8_to_88591);
   13825       }
   13826   }
   13827   /* Test against Solaris 10 bug: Failures are not distinguishable from
   13828      successful returns.  */
   13829   {
   13830     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
   13831     if (cd_ascii_to_88591 != (iconv_t)(-1))
   13832       {
   13833         static ICONV_CONST char input[] = "\263";
   13834         char buf[10];
   13835         ICONV_CONST char *inptr = input;
   13836         size_t inbytesleft = strlen (input);
   13837         char *outptr = buf;
   13838         size_t outbytesleft = sizeof (buf);
   13839         size_t res = iconv (cd_ascii_to_88591,
   13840                             &inptr, &inbytesleft,
   13841                             &outptr, &outbytesleft);
   13842         if (res == 0)
   13843           result |= 2;
   13844         iconv_close (cd_ascii_to_88591);
   13845       }
   13846   }
   13847   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
   13848   {
   13849     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
   13850     if (cd_88591_to_utf8 != (iconv_t)(-1))
   13851       {
   13852         static ICONV_CONST char input[] = "\304";
   13853         static char buf[2] = { (char)0xDE, (char)0xAD };
   13854         ICONV_CONST char *inptr = input;
   13855         size_t inbytesleft = 1;
   13856         char *outptr = buf;
   13857         size_t outbytesleft = 1;
   13858         size_t res = iconv (cd_88591_to_utf8,
   13859                             &inptr, &inbytesleft,
   13860                             &outptr, &outbytesleft);
   13861         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
   13862           result |= 4;
   13863         iconv_close (cd_88591_to_utf8);
   13864       }
   13865   }
   13866 #if 0 /* This bug could be worked around by the caller.  */
   13867   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
   13868   {
   13869     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
   13870     if (cd_88591_to_utf8 != (iconv_t)(-1))
   13871       {
   13872         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
   13873         char buf[50];
   13874         ICONV_CONST char *inptr = input;
   13875         size_t inbytesleft = strlen (input);
   13876         char *outptr = buf;
   13877         size_t outbytesleft = sizeof (buf);
   13878         size_t res = iconv (cd_88591_to_utf8,
   13879                             &inptr, &inbytesleft,
   13880                             &outptr, &outbytesleft);
   13881         if ((int)res > 0)
   13882           result |= 8;
   13883         iconv_close (cd_88591_to_utf8);
   13884       }
   13885   }
   13886 #endif
   13887   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
   13888      provided.  */
   13889   {
   13890     /* Try standardized names.  */
   13891     iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
   13892     /* Try IRIX, OSF/1 names.  */
   13893     iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
   13894     /* Try AIX names.  */
   13895     iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
   13896     /* Try HP-UX names.  */
   13897     iconv_t cd4 = iconv_open ("utf8", "eucJP");
   13898     if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
   13899         && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
   13900       result |= 16;
   13901     if (cd1 != (iconv_t)(-1))
   13902       iconv_close (cd1);
   13903     if (cd2 != (iconv_t)(-1))
   13904       iconv_close (cd2);
   13905     if (cd3 != (iconv_t)(-1))
   13906       iconv_close (cd3);
   13907     if (cd4 != (iconv_t)(-1))
   13908       iconv_close (cd4);
   13909   }
   13910   return result;
   13911 
   13912   ;
   13913   return 0;
   13914 }
   13915 _ACEOF
   13916 if ac_fn_c_try_run "$LINENO"; then :
   13917   am_cv_func_iconv_works=yes
   13918 fi
   13919 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13920   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13921 fi
   13922 
   13923         test "$am_cv_func_iconv_works" = no || break
   13924       done
   13925       LIBS="$am_save_LIBS"
   13926 
   13927 fi
   13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
   13929 $as_echo "$am_cv_func_iconv_works" >&6; }
   13930     case "$am_cv_func_iconv_works" in
   13931       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
   13932       *)   am_func_iconv=yes ;;
   13933     esac
   13934   else
   13935     am_func_iconv=no am_cv_lib_iconv=no
   13936   fi
   13937   if test "$am_func_iconv" = yes; then
   13938 
   13939 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   13940 
   13941   fi
   13942   if test "$am_cv_lib_iconv" = yes; then
   13943     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   13944 $as_echo_n "checking how to link with libiconv... " >&6; }
   13945     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   13946 $as_echo "$LIBICONV" >&6; }
   13947   else
   13948             CPPFLAGS="$am_save_CPPFLAGS"
   13949     LIBICONV=
   13950     LTLIBICONV=
   13951   fi
   13952 
   13953 
   13954 
   13955 
   13956 
   13957 
   13958     use_additional=yes
   13959 
   13960   acl_save_prefix="$prefix"
   13961   prefix="$acl_final_prefix"
   13962   acl_save_exec_prefix="$exec_prefix"
   13963   exec_prefix="$acl_final_exec_prefix"
   13964 
   13965     eval additional_includedir=\"$includedir\"
   13966     eval additional_libdir=\"$libdir\"
   13967 
   13968   exec_prefix="$acl_save_exec_prefix"
   13969   prefix="$acl_save_prefix"
   13970 
   13971 
   13972 # Check whether --with-libintl-prefix was given.
   13973 if test "${with_libintl_prefix+set}" = set; then :
   13974   withval=$with_libintl_prefix;
   13975     if test "X$withval" = "Xno"; then
   13976       use_additional=no
   13977     else
   13978       if test "X$withval" = "X"; then
   13979 
   13980   acl_save_prefix="$prefix"
   13981   prefix="$acl_final_prefix"
   13982   acl_save_exec_prefix="$exec_prefix"
   13983   exec_prefix="$acl_final_exec_prefix"
   13984 
   13985           eval additional_includedir=\"$includedir\"
   13986           eval additional_libdir=\"$libdir\"
   13987 
   13988   exec_prefix="$acl_save_exec_prefix"
   13989   prefix="$acl_save_prefix"
   13990 
   13991       else
   13992         additional_includedir="$withval/include"
   13993         additional_libdir="$withval/lib"
   13994       fi
   13995     fi
   13996 
   13997 fi
   13998 
   13999 
   14000 # Check whether --with-libintl-type was given.
   14001 if test "${with_libintl_type+set}" = set; then :
   14002   withval=$with_libintl_type;  with_libintl_type=$withval
   14003 else
   14004    with_libintl_type=auto
   14005 fi
   14006 
   14007   lib_type=`eval echo \$with_libintl_type`
   14008 
   14009       LIBINTL=
   14010   LTLIBINTL=
   14011   INCINTL=
   14012   rpathdirs=
   14013   ltrpathdirs=
   14014   names_already_handled=
   14015   names_next_round='intl '
   14016   while test -n "$names_next_round"; do
   14017     names_this_round="$names_next_round"
   14018     names_next_round=
   14019     for name in $names_this_round; do
   14020       already_handled=
   14021       for n in $names_already_handled; do
   14022         if test "$n" = "$name"; then
   14023           already_handled=yes
   14024           break
   14025         fi
   14026       done
   14027       if test -z "$already_handled"; then
   14028         names_already_handled="$names_already_handled $name"
   14029                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   14030         eval value=\"\$HAVE_LIB$uppername\"
   14031         if test -n "$value"; then
   14032           if test "$value" = yes; then
   14033             eval value=\"\$LIB$uppername\"
   14034             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   14035             eval value=\"\$LTLIB$uppername\"
   14036             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   14037           else
   14038                                     :
   14039           fi
   14040         else
   14041                               found_dir=
   14042           found_la=
   14043           found_so=
   14044           found_a=
   14045           if test $use_additional = yes; then
   14046             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   14047               found_dir="$additional_libdir"
   14048               found_so="$additional_libdir/lib$name.$shlibext"
   14049               if test -f "$additional_libdir/lib$name.la"; then
   14050                 found_la="$additional_libdir/lib$name.la"
   14051               fi
   14052             elif test x$lib_type != xshared; then
   14053               if test -f "$additional_libdir/lib$name.$libext"; then
   14054                 found_dir="$additional_libdir"
   14055                 found_a="$additional_libdir/lib$name.$libext"
   14056                 if test -f "$additional_libdir/lib$name.la"; then
   14057                   found_la="$additional_libdir/lib$name.la"
   14058                 fi
   14059               fi
   14060             fi
   14061           fi
   14062           if test "X$found_dir" = "X"; then
   14063             for x in $LDFLAGS $LTLIBINTL; do
   14064 
   14065   acl_save_prefix="$prefix"
   14066   prefix="$acl_final_prefix"
   14067   acl_save_exec_prefix="$exec_prefix"
   14068   exec_prefix="$acl_final_exec_prefix"
   14069   eval x=\"$x\"
   14070   exec_prefix="$acl_save_exec_prefix"
   14071   prefix="$acl_save_prefix"
   14072 
   14073               case "$x" in
   14074                 -L*)
   14075                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   14076                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   14077                     found_dir="$dir"
   14078                     found_so="$dir/lib$name.$shlibext"
   14079                     if test -f "$dir/lib$name.la"; then
   14080                       found_la="$dir/lib$name.la"
   14081                     fi
   14082                   elif test x$lib_type != xshared; then
   14083                     if test -f "$dir/lib$name.$libext"; then
   14084                       found_dir="$dir"
   14085                       found_a="$dir/lib$name.$libext"
   14086                       if test -f "$dir/lib$name.la"; then
   14087                         found_la="$dir/lib$name.la"
   14088                       fi
   14089                     fi
   14090                   fi
   14091                   ;;
   14092               esac
   14093               if test "X$found_dir" != "X"; then
   14094                 break
   14095               fi
   14096             done
   14097           fi
   14098           if test "X$found_dir" != "X"; then
   14099                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   14100             if test "X$found_so" != "X"; then
   14101                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   14102                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   14103               else
   14104                                                                                 haveit=
   14105                 for x in $ltrpathdirs; do
   14106                   if test "X$x" = "X$found_dir"; then
   14107                     haveit=yes
   14108                     break
   14109                   fi
   14110                 done
   14111                 if test -z "$haveit"; then
   14112                   ltrpathdirs="$ltrpathdirs $found_dir"
   14113                 fi
   14114                                 if test "$hardcode_direct" = yes; then
   14115                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   14116                 else
   14117                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   14118                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   14119                                                             haveit=
   14120                     for x in $rpathdirs; do
   14121                       if test "X$x" = "X$found_dir"; then
   14122                         haveit=yes
   14123                         break
   14124                       fi
   14125                     done
   14126                     if test -z "$haveit"; then
   14127                       rpathdirs="$rpathdirs $found_dir"
   14128                     fi
   14129                   else
   14130                                                                                 haveit=
   14131                     for x in $LDFLAGS $LIBINTL; do
   14132 
   14133   acl_save_prefix="$prefix"
   14134   prefix="$acl_final_prefix"
   14135   acl_save_exec_prefix="$exec_prefix"
   14136   exec_prefix="$acl_final_exec_prefix"
   14137   eval x=\"$x\"
   14138   exec_prefix="$acl_save_exec_prefix"
   14139   prefix="$acl_save_prefix"
   14140 
   14141                       if test "X$x" = "X-L$found_dir"; then
   14142                         haveit=yes
   14143                         break
   14144                       fi
   14145                     done
   14146                     if test -z "$haveit"; then
   14147                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   14148                     fi
   14149                     if test "$hardcode_minus_L" != no; then
   14150                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   14151                     else
   14152                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   14153                     fi
   14154                   fi
   14155                 fi
   14156               fi
   14157             else
   14158               if test "X$found_a" != "X"; then
   14159                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   14160               else
   14161                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   14162               fi
   14163             fi
   14164                         additional_includedir=
   14165             case "$found_dir" in
   14166               */lib | */lib/)
   14167                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   14168                 additional_includedir="$basedir/include"
   14169                 ;;
   14170             esac
   14171             if test "X$additional_includedir" != "X"; then
   14172                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   14173                 haveit=
   14174                 if test "X$additional_includedir" = "X/usr/local/include"; then
   14175                   if test -n "$GCC"; then
   14176                     case $host_os in
   14177                       linux*) haveit=yes;;
   14178                     esac
   14179                   fi
   14180                 fi
   14181                 if test -z "$haveit"; then
   14182                   for x in $CPPFLAGS $INCINTL; do
   14183 
   14184   acl_save_prefix="$prefix"
   14185   prefix="$acl_final_prefix"
   14186   acl_save_exec_prefix="$exec_prefix"
   14187   exec_prefix="$acl_final_exec_prefix"
   14188   eval x=\"$x\"
   14189   exec_prefix="$acl_save_exec_prefix"
   14190   prefix="$acl_save_prefix"
   14191 
   14192                     if test "X$x" = "X-I$additional_includedir"; then
   14193                       haveit=yes
   14194                       break
   14195                     fi
   14196                   done
   14197                   if test -z "$haveit"; then
   14198                     if test -d "$additional_includedir"; then
   14199                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   14200                     fi
   14201                   fi
   14202                 fi
   14203               fi
   14204             fi
   14205                         if test -n "$found_la"; then
   14206                                                         save_libdir="$libdir"
   14207               case "$found_la" in
   14208                 */* | *\\*) . "$found_la" ;;
   14209                 *) . "./$found_la" ;;
   14210               esac
   14211               libdir="$save_libdir"
   14212                             for dep in $dependency_libs; do
   14213                 case "$dep" in
   14214                   -L*)
   14215                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   14216                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   14217                       haveit=
   14218                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   14219                         if test -n "$GCC"; then
   14220                           case $host_os in
   14221                             linux*) haveit=yes;;
   14222                           esac
   14223                         fi
   14224                       fi
   14225                       if test -z "$haveit"; then
   14226                         haveit=
   14227                         for x in $LDFLAGS $LIBINTL; do
   14228 
   14229   acl_save_prefix="$prefix"
   14230   prefix="$acl_final_prefix"
   14231   acl_save_exec_prefix="$exec_prefix"
   14232   exec_prefix="$acl_final_exec_prefix"
   14233   eval x=\"$x\"
   14234   exec_prefix="$acl_save_exec_prefix"
   14235   prefix="$acl_save_prefix"
   14236 
   14237                           if test "X$x" = "X-L$additional_libdir"; then
   14238                             haveit=yes
   14239                             break
   14240                           fi
   14241                         done
   14242                         if test -z "$haveit"; then
   14243                           if test -d "$additional_libdir"; then
   14244                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   14245                           fi
   14246                         fi
   14247                         haveit=
   14248                         for x in $LDFLAGS $LTLIBINTL; do
   14249 
   14250   acl_save_prefix="$prefix"
   14251   prefix="$acl_final_prefix"
   14252   acl_save_exec_prefix="$exec_prefix"
   14253   exec_prefix="$acl_final_exec_prefix"
   14254   eval x=\"$x\"
   14255   exec_prefix="$acl_save_exec_prefix"
   14256   prefix="$acl_save_prefix"
   14257 
   14258                           if test "X$x" = "X-L$additional_libdir"; then
   14259                             haveit=yes
   14260                             break
   14261                           fi
   14262                         done
   14263                         if test -z "$haveit"; then
   14264                           if test -d "$additional_libdir"; then
   14265                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   14266                           fi
   14267                         fi
   14268                       fi
   14269                     fi
   14270                     ;;
   14271                   -R*)
   14272                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   14273                     if test "$enable_rpath" != no; then
   14274                                                                   haveit=
   14275                       for x in $rpathdirs; do
   14276                         if test "X$x" = "X$dir"; then
   14277                           haveit=yes
   14278                           break
   14279                         fi
   14280                       done
   14281                       if test -z "$haveit"; then
   14282                         rpathdirs="$rpathdirs $dir"
   14283                       fi
   14284                                                                   haveit=
   14285                       for x in $ltrpathdirs; do
   14286                         if test "X$x" = "X$dir"; then
   14287                           haveit=yes
   14288                           break
   14289                         fi
   14290                       done
   14291                       if test -z "$haveit"; then
   14292                         ltrpathdirs="$ltrpathdirs $dir"
   14293                       fi
   14294                     fi
   14295                     ;;
   14296                   -l*)
   14297                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   14298                     ;;
   14299                   *.la)
   14300                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   14301                     ;;
   14302                   *)
   14303                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   14304                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   14305                     ;;
   14306                 esac
   14307               done
   14308             fi
   14309           else
   14310                                                             if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
   14311               LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   14312               LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   14313             else
   14314               LIBINTL="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext"
   14315               LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext"
   14316             fi
   14317           fi
   14318         fi
   14319       fi
   14320     done
   14321   done
   14322   if test "X$rpathdirs" != "X"; then
   14323     if test -n "$hardcode_libdir_separator"; then
   14324                         alldirs=
   14325       for found_dir in $rpathdirs; do
   14326         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   14327       done
   14328             acl_save_libdir="$libdir"
   14329       libdir="$alldirs"
   14330       eval flag=\"$hardcode_libdir_flag_spec\"
   14331       libdir="$acl_save_libdir"
   14332       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   14333     else
   14334             for found_dir in $rpathdirs; do
   14335         acl_save_libdir="$libdir"
   14336         libdir="$found_dir"
   14337         eval flag=\"$hardcode_libdir_flag_spec\"
   14338         libdir="$acl_save_libdir"
   14339         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   14340       done
   14341     fi
   14342   fi
   14343   if test "X$ltrpathdirs" != "X"; then
   14344             for found_dir in $ltrpathdirs; do
   14345       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   14346     done
   14347   fi
   14348 
   14349           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
   14350 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
   14351 if eval \${$gt_func_gnugettext_libintl+:} false; then :
   14352   $as_echo_n "(cached) " >&6
   14353 else
   14354   gt_save_CPPFLAGS="$CPPFLAGS"
   14355             CPPFLAGS="$CPPFLAGS $INCINTL"
   14356             gt_save_LIBS="$LIBS"
   14357             LIBS="$LIBS $LIBINTL"
   14358                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14359 /* end confdefs.h.  */
   14360 
   14361 #include <libintl.h>
   14362 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   14363 extern int _nl_msg_cat_cntr;
   14364 extern
   14365 #ifdef __cplusplus
   14366 "C"
   14367 #endif
   14368 const char *_nl_expand_alias (const char *);
   14369 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   14370 #else
   14371 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   14372 #endif
   14373 $gt_revision_test_code
   14374 
   14375 int
   14376 main ()
   14377 {
   14378 
   14379 bindtextdomain ("", "");
   14380 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   14381 
   14382   ;
   14383   return 0;
   14384 }
   14385 _ACEOF
   14386 if ac_fn_c_try_link "$LINENO"; then :
   14387   eval "$gt_func_gnugettext_libintl=yes"
   14388 else
   14389   eval "$gt_func_gnugettext_libintl=no"
   14390 fi
   14391 rm -f core conftest.err conftest.$ac_objext \
   14392     conftest$ac_exeext conftest.$ac_ext
   14393                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
   14394               LIBS="$LIBS $LIBICONV"
   14395               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14396 /* end confdefs.h.  */
   14397 
   14398 #include <libintl.h>
   14399 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   14400 extern int _nl_msg_cat_cntr;
   14401 extern
   14402 #ifdef __cplusplus
   14403 "C"
   14404 #endif
   14405 const char *_nl_expand_alias (const char *);
   14406 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   14407 #else
   14408 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   14409 #endif
   14410 $gt_revision_test_code
   14411 
   14412 int
   14413 main ()
   14414 {
   14415 
   14416 bindtextdomain ("", "");
   14417 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   14418 
   14419   ;
   14420   return 0;
   14421 }
   14422 _ACEOF
   14423 if ac_fn_c_try_link "$LINENO"; then :
   14424   LIBINTL="$LIBINTL $LIBICONV"
   14425                  LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   14426                  eval "$gt_func_gnugettext_libintl=yes"
   14427 
   14428 fi
   14429 rm -f core conftest.err conftest.$ac_objext \
   14430     conftest$ac_exeext conftest.$ac_ext
   14431             fi
   14432             CPPFLAGS="$gt_save_CPPFLAGS"
   14433             LIBS="$gt_save_LIBS"
   14434 fi
   14435 eval ac_res=\$$gt_func_gnugettext_libintl
   14436 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   14437 $as_echo "$ac_res" >&6; }
   14438         fi
   14439 
   14440                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
   14441            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
   14442                 && test "$PACKAGE" != gettext-runtime \
   14443                 && test "$PACKAGE" != gettext-tools; }; then
   14444           gt_use_preinstalled_gnugettext=yes
   14445         else
   14446                     LIBINTL=
   14447           LTLIBINTL=
   14448           INCINTL=
   14449         fi
   14450 
   14451 
   14452 
   14453     if test -n "$INTL_MACOSX_LIBS"; then
   14454       if test "$gt_use_preinstalled_gnugettext" = "yes" \
   14455          || test "$nls_cv_use_gnu_gettext" = "yes"; then
   14456                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
   14457         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
   14458       fi
   14459     fi
   14460 
   14461     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   14462        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   14463 
   14464 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   14465 
   14466     else
   14467       USE_NLS=no
   14468     fi
   14469   fi
   14470 
   14471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
   14472 $as_echo_n "checking whether to use NLS... " >&6; }
   14473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   14474 $as_echo "$USE_NLS" >&6; }
   14475   if test "$USE_NLS" = "yes"; then
   14476     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
   14477 $as_echo_n "checking where the gettext function comes from... " >&6; }
   14478     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   14479       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   14480         gt_source="external libintl"
   14481       else
   14482         gt_source="libc"
   14483       fi
   14484     else
   14485       gt_source="included intl directory"
   14486     fi
   14487     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
   14488 $as_echo "$gt_source" >&6; }
   14489   fi
   14490 
   14491   if test "$USE_NLS" = "yes"; then
   14492 
   14493     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   14494       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   14495         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
   14496 $as_echo_n "checking how to link with libintl... " >&6; }
   14497         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
   14498 $as_echo "$LIBINTL" >&6; }
   14499 
   14500   for element in $INCINTL; do
   14501     haveit=
   14502     for x in $CPPFLAGS; do
   14503 
   14504   acl_save_prefix="$prefix"
   14505   prefix="$acl_final_prefix"
   14506   acl_save_exec_prefix="$exec_prefix"
   14507   exec_prefix="$acl_final_exec_prefix"
   14508   eval x=\"$x\"
   14509   exec_prefix="$acl_save_exec_prefix"
   14510   prefix="$acl_save_prefix"
   14511 
   14512       if test "X$x" = "X$element"; then
   14513         haveit=yes
   14514         break
   14515       fi
   14516     done
   14517     if test -z "$haveit"; then
   14518       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   14519     fi
   14520   done
   14521 
   14522       fi
   14523 
   14524 
   14525 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
   14526 
   14527 
   14528 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
   14529 
   14530     fi
   14531 
   14532         POSUB=po
   14533   fi
   14534 
   14535 
   14536 
   14537     INTLLIBS="$LIBINTL"
   14538 
   14539 
   14540 
   14541 
   14542 
   14543 
   14544 fi
   14545 
   14546 
   14547 
   14548 
   14549 
   14550 
   14551 
   14552 
   14553 
   14554 
   14555 
   14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   14557 $as_echo_n "checking whether NLS is requested... " >&6; }
   14558 if test x"$USE_NLS" != xyes; then
   14559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14560 $as_echo "no" >&6; }
   14561 else
   14562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14563 $as_echo "yes" >&6; }
   14564 
   14565 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   14566 
   14567 
   14568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
   14569 $as_echo_n "checking for catalogs to be installed... " >&6; }
   14570   # Look for .po and .gmo files in the source directory.
   14571   CATALOGS=
   14572   XLINGUAS=
   14573   for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
   14574     # If there aren't any .gmo files the shell will give us the
   14575     # literal string "../path/to/srcdir/po/*.gmo" which has to be
   14576     # weeded out.
   14577     case "$cat" in *\**)
   14578       continue;;
   14579     esac
   14580     # The quadruple backslash is collapsed to a double backslash
   14581     # by the backticks, then collapsed again by the double quotes,
   14582     # leaving us with one backslash in the sed expression (right
   14583     # before the dot that mustn't act as a wildcard).
   14584     cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
   14585     lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
   14586     # The user is allowed to set LINGUAS to a list of languages to
   14587     # install catalogs for.  If it's empty that means "all of them."
   14588     if test "x$LINGUAS" = x; then
   14589       CATALOGS="$CATALOGS $cat"
   14590       XLINGUAS="$XLINGUAS $lang"
   14591     else
   14592       case "$LINGUAS" in *$lang*)
   14593         CATALOGS="$CATALOGS $cat"
   14594         XLINGUAS="$XLINGUAS $lang"
   14595         ;;
   14596       esac
   14597     fi
   14598   done
   14599   LINGUAS="$XLINGUAS"
   14600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
   14601 $as_echo "$LINGUAS" >&6; }
   14602 
   14603 
   14604     DATADIRNAME=share
   14605 
   14606   INSTOBJEXT=.mo
   14607 
   14608   GENCAT=gencat
   14609 
   14610   CATOBJEXT=.gmo
   14611 
   14612 fi
   14613 
   14614 
   14615 
   14616 
   14617 # Prepare PATH_SEPARATOR.
   14618 # The user is always right.
   14619 if test "${PATH_SEPARATOR+set}" != set; then
   14620   echo "#! /bin/sh" >conf$$.sh
   14621   echo  "exit 0"   >>conf$$.sh
   14622   chmod +x conf$$.sh
   14623   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   14624     PATH_SEPARATOR=';'
   14625   else
   14626     PATH_SEPARATOR=:
   14627   fi
   14628   rm -f conf$$.sh
   14629 fi
   14630 
   14631 # Find out how to test for executable files. Don't use a zero-byte file,
   14632 # as systems may use methods other than mode bits to determine executability.
   14633 cat >conf$$.file <<_ASEOF
   14634 #! /bin/sh
   14635 exit 0
   14636 _ASEOF
   14637 chmod +x conf$$.file
   14638 if test -x conf$$.file >/dev/null 2>&1; then
   14639   ac_executable_p="test -x"
   14640 else
   14641   ac_executable_p="test -f"
   14642 fi
   14643 rm -f conf$$.file
   14644 
   14645 # Extract the first word of "msgfmt", so it can be a program name with args.
   14646 set dummy msgfmt; ac_word=$2
   14647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14648 $as_echo_n "checking for $ac_word... " >&6; }
   14649 if ${ac_cv_path_MSGFMT+:} false; then :
   14650   $as_echo_n "(cached) " >&6
   14651 else
   14652   case "$MSGFMT" in
   14653   [\\/]* | ?:[\\/]*)
   14654     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   14655     ;;
   14656   *)
   14657     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   14658     for ac_dir in $PATH; do
   14659       IFS="$ac_save_IFS"
   14660       test -z "$ac_dir" && ac_dir=.
   14661       for ac_exec_ext in '' $ac_executable_extensions; do
   14662         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   14663           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   14664      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   14665             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   14666             break 2
   14667           fi
   14668         fi
   14669       done
   14670     done
   14671     IFS="$ac_save_IFS"
   14672   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   14673     ;;
   14674 esac
   14675 fi
   14676 MSGFMT="$ac_cv_path_MSGFMT"
   14677 if test "$MSGFMT" != ":"; then
   14678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   14679 $as_echo "$MSGFMT" >&6; }
   14680 else
   14681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14682 $as_echo "no" >&6; }
   14683 fi
   14684 
   14685   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   14686 set dummy gmsgfmt; ac_word=$2
   14687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14688 $as_echo_n "checking for $ac_word... " >&6; }
   14689 if ${ac_cv_path_GMSGFMT+:} false; then :
   14690   $as_echo_n "(cached) " >&6
   14691 else
   14692   case $GMSGFMT in
   14693   [\\/]* | ?:[\\/]*)
   14694   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   14695   ;;
   14696   *)
   14697   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14698 for as_dir in $PATH
   14699 do
   14700   IFS=$as_save_IFS
   14701   test -z "$as_dir" && as_dir=.
   14702     for ac_exec_ext in '' $ac_executable_extensions; do
   14703   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14704     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   14705     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14706     break 2
   14707   fi
   14708 done
   14709   done
   14710 IFS=$as_save_IFS
   14711 
   14712   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   14713   ;;
   14714 esac
   14715 fi
   14716 GMSGFMT=$ac_cv_path_GMSGFMT
   14717 if test -n "$GMSGFMT"; then
   14718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   14719 $as_echo "$GMSGFMT" >&6; }
   14720 else
   14721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14722 $as_echo "no" >&6; }
   14723 fi
   14724 
   14725 
   14726 
   14727 
   14728 # Prepare PATH_SEPARATOR.
   14729 # The user is always right.
   14730 if test "${PATH_SEPARATOR+set}" != set; then
   14731   echo "#! /bin/sh" >conf$$.sh
   14732   echo  "exit 0"   >>conf$$.sh
   14733   chmod +x conf$$.sh
   14734   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   14735     PATH_SEPARATOR=';'
   14736   else
   14737     PATH_SEPARATOR=:
   14738   fi
   14739   rm -f conf$$.sh
   14740 fi
   14741 
   14742 # Find out how to test for executable files. Don't use a zero-byte file,
   14743 # as systems may use methods other than mode bits to determine executability.
   14744 cat >conf$$.file <<_ASEOF
   14745 #! /bin/sh
   14746 exit 0
   14747 _ASEOF
   14748 chmod +x conf$$.file
   14749 if test -x conf$$.file >/dev/null 2>&1; then
   14750   ac_executable_p="test -x"
   14751 else
   14752   ac_executable_p="test -f"
   14753 fi
   14754 rm -f conf$$.file
   14755 
   14756 # Extract the first word of "xgettext", so it can be a program name with args.
   14757 set dummy xgettext; ac_word=$2
   14758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14759 $as_echo_n "checking for $ac_word... " >&6; }
   14760 if ${ac_cv_path_XGETTEXT+:} false; then :
   14761   $as_echo_n "(cached) " >&6
   14762 else
   14763   case "$XGETTEXT" in
   14764   [\\/]* | ?:[\\/]*)
   14765     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   14766     ;;
   14767   *)
   14768     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   14769     for ac_dir in $PATH; do
   14770       IFS="$ac_save_IFS"
   14771       test -z "$ac_dir" && ac_dir=.
   14772       for ac_exec_ext in '' $ac_executable_extensions; do
   14773         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   14774           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   14775      (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
   14776             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   14777             break 2
   14778           fi
   14779         fi
   14780       done
   14781     done
   14782     IFS="$ac_save_IFS"
   14783   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   14784     ;;
   14785 esac
   14786 fi
   14787 XGETTEXT="$ac_cv_path_XGETTEXT"
   14788 if test "$XGETTEXT" != ":"; then
   14789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   14790 $as_echo "$XGETTEXT" >&6; }
   14791 else
   14792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14793 $as_echo "no" >&6; }
   14794 fi
   14795 
   14796     rm -f messages.po
   14797 
   14798 
   14799 # Prepare PATH_SEPARATOR.
   14800 # The user is always right.
   14801 if test "${PATH_SEPARATOR+set}" != set; then
   14802   echo "#! /bin/sh" >conf$$.sh
   14803   echo  "exit 0"   >>conf$$.sh
   14804   chmod +x conf$$.sh
   14805   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   14806     PATH_SEPARATOR=';'
   14807   else
   14808     PATH_SEPARATOR=:
   14809   fi
   14810   rm -f conf$$.sh
   14811 fi
   14812 
   14813 # Find out how to test for executable files. Don't use a zero-byte file,
   14814 # as systems may use methods other than mode bits to determine executability.
   14815 cat >conf$$.file <<_ASEOF
   14816 #! /bin/sh
   14817 exit 0
   14818 _ASEOF
   14819 chmod +x conf$$.file
   14820 if test -x conf$$.file >/dev/null 2>&1; then
   14821   ac_executable_p="test -x"
   14822 else
   14823   ac_executable_p="test -f"
   14824 fi
   14825 rm -f conf$$.file
   14826 
   14827 # Extract the first word of "msgmerge", so it can be a program name with args.
   14828 set dummy msgmerge; ac_word=$2
   14829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14830 $as_echo_n "checking for $ac_word... " >&6; }
   14831 if ${ac_cv_path_MSGMERGE+:} false; then :
   14832   $as_echo_n "(cached) " >&6
   14833 else
   14834   case "$MSGMERGE" in
   14835   [\\/]* | ?:[\\/]*)
   14836     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   14837     ;;
   14838   *)
   14839     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   14840     for ac_dir in $PATH; do
   14841       IFS="$ac_save_IFS"
   14842       test -z "$ac_dir" && ac_dir=.
   14843       for ac_exec_ext in '' $ac_executable_extensions; do
   14844         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   14845           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   14846             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   14847             break 2
   14848           fi
   14849         fi
   14850       done
   14851     done
   14852     IFS="$ac_save_IFS"
   14853   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   14854     ;;
   14855 esac
   14856 fi
   14857 MSGMERGE="$ac_cv_path_MSGMERGE"
   14858 if test "$MSGMERGE" != ":"; then
   14859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   14860 $as_echo "$MSGMERGE" >&6; }
   14861 else
   14862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14863 $as_echo "no" >&6; }
   14864 fi
   14865 
   14866 
   14867       if test "$GMSGFMT" != ":"; then
   14868             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   14869        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   14870       : ;
   14871     else
   14872       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   14873       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   14874 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
   14875       GMSGFMT=":"
   14876     fi
   14877   fi
   14878 
   14879       if test "$XGETTEXT" != ":"; then
   14880             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   14881        (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
   14882       : ;
   14883     else
   14884       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
   14885 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
   14886       XGETTEXT=":"
   14887     fi
   14888         rm -f messages.po
   14889   fi
   14890 
   14891   ac_config_commands="$ac_config_commands default-2"
   14892 
   14893 
   14894 
   14895 # Permit host specific settings.
   14896 . ${srcdir}/configure.host
   14897 
   14898 
   14899 
   14900 
   14901 # The cast to long int works around a bug in the HP C Compiler
   14902 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14903 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14904 # This bug is HP SR number 8606223364.
   14905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
   14906 $as_echo_n "checking size of long long... " >&6; }
   14907 if ${ac_cv_sizeof_long_long+:} false; then :
   14908   $as_echo_n "(cached) " >&6
   14909 else
   14910   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
   14911 
   14912 else
   14913   if test "$ac_cv_type_long_long" = yes; then
   14914      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14916 as_fn_error 77 "cannot compute sizeof (long long)
   14917 See \`config.log' for more details" "$LINENO" 5; }
   14918    else
   14919      ac_cv_sizeof_long_long=0
   14920    fi
   14921 fi
   14922 
   14923 fi
   14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
   14925 $as_echo "$ac_cv_sizeof_long_long" >&6; }
   14926 
   14927 
   14928 
   14929 cat >>confdefs.h <<_ACEOF
   14930 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
   14931 _ACEOF
   14932 
   14933 
   14934 # The cast to long int works around a bug in the HP C Compiler
   14935 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14936 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14937 # This bug is HP SR number 8606223364.
   14938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   14939 $as_echo_n "checking size of void *... " >&6; }
   14940 if ${ac_cv_sizeof_void_p+:} false; then :
   14941   $as_echo_n "(cached) " >&6
   14942 else
   14943   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   14944 
   14945 else
   14946   if test "$ac_cv_type_void_p" = yes; then
   14947      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14949 as_fn_error 77 "cannot compute sizeof (void *)
   14950 See \`config.log' for more details" "$LINENO" 5; }
   14951    else
   14952      ac_cv_sizeof_void_p=0
   14953    fi
   14954 fi
   14955 
   14956 fi
   14957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   14958 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   14959 
   14960 
   14961 
   14962 cat >>confdefs.h <<_ACEOF
   14963 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   14964 _ACEOF
   14965 
   14966 
   14967 # The cast to long int works around a bug in the HP C Compiler
   14968 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14969 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14970 # This bug is HP SR number 8606223364.
   14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   14972 $as_echo_n "checking size of long... " >&6; }
   14973 if ${ac_cv_sizeof_long+:} false; then :
   14974   $as_echo_n "(cached) " >&6
   14975 else
   14976   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   14977 
   14978 else
   14979   if test "$ac_cv_type_long" = yes; then
   14980      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14982 as_fn_error 77 "cannot compute sizeof (long)
   14983 See \`config.log' for more details" "$LINENO" 5; }
   14984    else
   14985      ac_cv_sizeof_long=0
   14986    fi
   14987 fi
   14988 
   14989 fi
   14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   14991 $as_echo "$ac_cv_sizeof_long" >&6; }
   14992 
   14993 
   14994 
   14995 cat >>confdefs.h <<_ACEOF
   14996 #define SIZEOF_LONG $ac_cv_sizeof_long
   14997 _ACEOF
   14998 
   14999 
   15000 # The cast to long int works around a bug in the HP C Compiler
   15001 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   15002 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   15003 # This bug is HP SR number 8606223364.
   15004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   15005 $as_echo_n "checking size of int... " >&6; }
   15006 if ${ac_cv_sizeof_int+:} false; then :
   15007   $as_echo_n "(cached) " >&6
   15008 else
   15009   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   15010 
   15011 else
   15012   if test "$ac_cv_type_int" = yes; then
   15013      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15015 as_fn_error 77 "cannot compute sizeof (int)
   15016 See \`config.log' for more details" "$LINENO" 5; }
   15017    else
   15018      ac_cv_sizeof_int=0
   15019    fi
   15020 fi
   15021 
   15022 fi
   15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   15024 $as_echo "$ac_cv_sizeof_int" >&6; }
   15025 
   15026 
   15027 
   15028 cat >>confdefs.h <<_ACEOF
   15029 #define SIZEOF_INT $ac_cv_sizeof_int
   15030 _ACEOF
   15031 
   15032 
   15033 
   15034 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
   15035   host64=true
   15036 fi
   15037 
   15038 # Put a plausible default for CC_FOR_BUILD in Makefile.
   15039 if test -z "$CC_FOR_BUILD"; then
   15040   if test "x$cross_compiling" = "xno"; then
   15041     CC_FOR_BUILD='$(CC)'
   15042   else
   15043     CC_FOR_BUILD=gcc
   15044   fi
   15045 fi
   15046 
   15047 # Also set EXEEXT_FOR_BUILD.
   15048 if test "x$cross_compiling" = "xno"; then
   15049   EXEEXT_FOR_BUILD='$(EXEEXT)'
   15050 else
   15051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
   15052 $as_echo_n "checking for build system executable suffix... " >&6; }
   15053 if ${bfd_cv_build_exeext+:} false; then :
   15054   $as_echo_n "(cached) " >&6
   15055 else
   15056   rm -f conftest*
   15057      echo 'int main () { return 0; }' > conftest.c
   15058      bfd_cv_build_exeext=
   15059      ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
   15060      for file in conftest.*; do
   15061        case $file in
   15062        *.c | *.o | *.obj | *.ilk | *.pdb) ;;
   15063        *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
   15064        esac
   15065      done
   15066      rm -f conftest*
   15067      test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
   15068 fi
   15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
   15070 $as_echo "$bfd_cv_build_exeext" >&6; }
   15071   EXEEXT_FOR_BUILD=""
   15072   test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
   15073 fi
   15074 
   15075 
   15076 for ac_header in fcntl.h sys/file.h sys/resource.h sys/stat.h sys/types.h \
   15077 		 unistd.h
   15078 do :
   15079   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   15080 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   15081 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   15082   cat >>confdefs.h <<_ACEOF
   15083 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   15084 _ACEOF
   15085 
   15086 fi
   15087 
   15088 done
   15089 
   15090 
   15091 for ac_func in fcntl fdopen fileno fls getgid getpagesize getrlimit getuid \
   15092 	       sysconf
   15093 do :
   15094   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   15095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   15096 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   15097   cat >>confdefs.h <<_ACEOF
   15098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   15099 _ACEOF
   15100 
   15101 fi
   15102 done
   15103 
   15104 
   15105 ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
   15106 if test "x$ac_cv_have_decl_basename" = xyes; then :
   15107   ac_have_decl=1
   15108 else
   15109   ac_have_decl=0
   15110 fi
   15111 
   15112 cat >>confdefs.h <<_ACEOF
   15113 #define HAVE_DECL_BASENAME $ac_have_decl
   15114 _ACEOF
   15115 ac_fn_c_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
   15116 if test "x$ac_cv_have_decl_ffs" = xyes; then :
   15117   ac_have_decl=1
   15118 else
   15119   ac_have_decl=0
   15120 fi
   15121 
   15122 cat >>confdefs.h <<_ACEOF
   15123 #define HAVE_DECL_FFS $ac_have_decl
   15124 _ACEOF
   15125 ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
   15126 if test "x$ac_cv_have_decl_stpcpy" = xyes; then :
   15127   ac_have_decl=1
   15128 else
   15129   ac_have_decl=0
   15130 fi
   15131 
   15132 cat >>confdefs.h <<_ACEOF
   15133 #define HAVE_DECL_STPCPY $ac_have_decl
   15134 _ACEOF
   15135 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
   15136 if test "x$ac_cv_have_decl_asprintf" = xyes; then :
   15137   ac_have_decl=1
   15138 else
   15139   ac_have_decl=0
   15140 fi
   15141 
   15142 cat >>confdefs.h <<_ACEOF
   15143 #define HAVE_DECL_ASPRINTF $ac_have_decl
   15144 _ACEOF
   15145 ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
   15146 if test "x$ac_cv_have_decl_vasprintf" = xyes; then :
   15147   ac_have_decl=1
   15148 else
   15149   ac_have_decl=0
   15150 fi
   15151 
   15152 cat >>confdefs.h <<_ACEOF
   15153 #define HAVE_DECL_VASPRINTF $ac_have_decl
   15154 _ACEOF
   15155 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
   15156 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
   15157   ac_have_decl=1
   15158 else
   15159   ac_have_decl=0
   15160 fi
   15161 
   15162 cat >>confdefs.h <<_ACEOF
   15163 #define HAVE_DECL_STRNLEN $ac_have_decl
   15164 _ACEOF
   15165 
   15166 ac_fn_c_check_decl "$LINENO" "___lc_codepage_func" "ac_cv_have_decl____lc_codepage_func" "#include <locale.h>
   15167 "
   15168 if test "x$ac_cv_have_decl____lc_codepage_func" = xyes; then :
   15169   ac_have_decl=1
   15170 else
   15171   ac_have_decl=0
   15172 fi
   15173 
   15174 cat >>confdefs.h <<_ACEOF
   15175 #define HAVE_DECL____LC_CODEPAGE_FUNC $ac_have_decl
   15176 _ACEOF
   15177 
   15178 
   15179 
   15180 case "${host}" in
   15181 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
   15182 
   15183 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
   15184  ;;
   15185 esac
   15186 
   15187 
   15188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread local storage (TLS) class" >&5
   15189 $as_echo_n "checking for thread local storage (TLS) class... " >&6; }
   15190   if ${ac_cv_tls+:} false; then :
   15191   $as_echo_n "(cached) " >&6
   15192 else
   15193   for ax_tls_keyword in thread_local _Thread_local __thread '__declspec(thread)' none; do
   15194        case $ax_tls_keyword in #(
   15195   none) :
   15196     ac_cv_tls=none ; break ;; #(
   15197   *) :
   15198     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15199 /* end confdefs.h.  */
   15200 #include <stdlib.h>
   15201 int
   15202 main ()
   15203 {
   15204 static  $ax_tls_keyword  int bar;
   15205 
   15206   ;
   15207   return 0;
   15208 }
   15209 _ACEOF
   15210 if ac_fn_c_try_compile "$LINENO"; then :
   15211   ac_cv_tls=$ax_tls_keyword ; break
   15212 else
   15213   ac_cv_tls=none
   15214 
   15215 fi
   15216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15217          ;;
   15218 esac
   15219     done
   15220 
   15221 fi
   15222 
   15223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
   15224 $as_echo "$ac_cv_tls" >&6; }
   15225 
   15226   if test "$ac_cv_tls" != "none"; then :
   15227 
   15228 cat >>confdefs.h <<_ACEOF
   15229 #define TLS $ac_cv_tls
   15230 _ACEOF
   15231 
   15232      :
   15233 else
   15234   :
   15235 fi
   15236 
   15237 
   15238 # Link in zlib/zstd if we can.  This allows us to read compressed debug sections.
   15239 # This is used only by compress.c.
   15240 
   15241   # Use the system's zlib library.
   15242   zlibdir="-L\$(top_builddir)/../zlib"
   15243   zlibinc="-I\$(top_srcdir)/../zlib"
   15244 
   15245 # Check whether --with-system-zlib was given.
   15246 if test "${with_system_zlib+set}" = set; then :
   15247   withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
   15248     zlibdir=
   15249     zlibinc=
   15250   fi
   15251 
   15252 fi
   15253 
   15254 
   15255 
   15256 
   15257 
   15258 
   15259 
   15260 
   15261 
   15262 
   15263 
   15264 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   15265 	if test -n "$ac_tool_prefix"; then
   15266   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   15267 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   15268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15269 $as_echo_n "checking for $ac_word... " >&6; }
   15270 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   15271   $as_echo_n "(cached) " >&6
   15272 else
   15273   case $PKG_CONFIG in
   15274   [\\/]* | ?:[\\/]*)
   15275   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   15276   ;;
   15277   *)
   15278   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15279 for as_dir in $PATH
   15280 do
   15281   IFS=$as_save_IFS
   15282   test -z "$as_dir" && as_dir=.
   15283     for ac_exec_ext in '' $ac_executable_extensions; do
   15284   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15285     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   15286     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15287     break 2
   15288   fi
   15289 done
   15290   done
   15291 IFS=$as_save_IFS
   15292 
   15293   ;;
   15294 esac
   15295 fi
   15296 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   15297 if test -n "$PKG_CONFIG"; then
   15298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   15299 $as_echo "$PKG_CONFIG" >&6; }
   15300 else
   15301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15302 $as_echo "no" >&6; }
   15303 fi
   15304 
   15305 
   15306 fi
   15307 if test -z "$ac_cv_path_PKG_CONFIG"; then
   15308   ac_pt_PKG_CONFIG=$PKG_CONFIG
   15309   # Extract the first word of "pkg-config", so it can be a program name with args.
   15310 set dummy pkg-config; ac_word=$2
   15311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15312 $as_echo_n "checking for $ac_word... " >&6; }
   15313 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   15314   $as_echo_n "(cached) " >&6
   15315 else
   15316   case $ac_pt_PKG_CONFIG in
   15317   [\\/]* | ?:[\\/]*)
   15318   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   15319   ;;
   15320   *)
   15321   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15322 for as_dir in $PATH
   15323 do
   15324   IFS=$as_save_IFS
   15325   test -z "$as_dir" && as_dir=.
   15326     for ac_exec_ext in '' $ac_executable_extensions; do
   15327   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15328     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   15329     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15330     break 2
   15331   fi
   15332 done
   15333   done
   15334 IFS=$as_save_IFS
   15335 
   15336   ;;
   15337 esac
   15338 fi
   15339 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   15340 if test -n "$ac_pt_PKG_CONFIG"; then
   15341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   15342 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   15343 else
   15344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15345 $as_echo "no" >&6; }
   15346 fi
   15347 
   15348   if test "x$ac_pt_PKG_CONFIG" = x; then
   15349     PKG_CONFIG=""
   15350   else
   15351     case $cross_compiling:$ac_tool_warned in
   15352 yes:)
   15353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15355 ac_tool_warned=yes ;;
   15356 esac
   15357     PKG_CONFIG=$ac_pt_PKG_CONFIG
   15358   fi
   15359 else
   15360   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   15361 fi
   15362 
   15363 fi
   15364 if test -n "$PKG_CONFIG"; then
   15365 	_pkg_min_version=0.9.0
   15366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   15367 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   15368 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   15369 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15370 $as_echo "yes" >&6; }
   15371 	else
   15372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15373 $as_echo "no" >&6; }
   15374 		PKG_CONFIG=""
   15375 	fi
   15376 fi
   15377 
   15378 
   15379 # Check whether --with-zstd was given.
   15380 if test "${with_zstd+set}" = set; then :
   15381   withval=$with_zstd;
   15382 else
   15383   with_zstd=auto
   15384 fi
   15385 
   15386 
   15387 if test "$with_zstd" != no; then :
   15388 
   15389 pkg_failed=no
   15390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzstd >= 1.4.0" >&5
   15391 $as_echo_n "checking for libzstd >= 1.4.0... " >&6; }
   15392 
   15393 if test -n "$ZSTD_CFLAGS"; then
   15394     pkg_cv_ZSTD_CFLAGS="$ZSTD_CFLAGS"
   15395  elif test -n "$PKG_CONFIG"; then
   15396     if test -n "$PKG_CONFIG" && \
   15397     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0\""; } >&5
   15398   ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0") 2>&5
   15399   ac_status=$?
   15400   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15401   test $ac_status = 0; }; then
   15402   pkg_cv_ZSTD_CFLAGS=`$PKG_CONFIG --cflags "libzstd >= 1.4.0" 2>/dev/null`
   15403 		      test "x$?" != "x0" && pkg_failed=yes
   15404 else
   15405   pkg_failed=yes
   15406 fi
   15407  else
   15408     pkg_failed=untried
   15409 fi
   15410 if test -n "$ZSTD_LIBS"; then
   15411     pkg_cv_ZSTD_LIBS="$ZSTD_LIBS"
   15412  elif test -n "$PKG_CONFIG"; then
   15413     if test -n "$PKG_CONFIG" && \
   15414     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0\""; } >&5
   15415   ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0") 2>&5
   15416   ac_status=$?
   15417   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15418   test $ac_status = 0; }; then
   15419   pkg_cv_ZSTD_LIBS=`$PKG_CONFIG --libs "libzstd >= 1.4.0" 2>/dev/null`
   15420 		      test "x$?" != "x0" && pkg_failed=yes
   15421 else
   15422   pkg_failed=yes
   15423 fi
   15424  else
   15425     pkg_failed=untried
   15426 fi
   15427 
   15428 if test $pkg_failed = no; then
   15429   pkg_save_LDFLAGS="$LDFLAGS"
   15430   LDFLAGS="$LDFLAGS $pkg_cv_ZSTD_LIBS"
   15431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15432 /* end confdefs.h.  */
   15433 
   15434 int
   15435 main ()
   15436 {
   15437 
   15438   ;
   15439   return 0;
   15440 }
   15441 _ACEOF
   15442 if ac_fn_c_try_link "$LINENO"; then :
   15443 
   15444 else
   15445   pkg_failed=yes
   15446 fi
   15447 rm -f core conftest.err conftest.$ac_objext \
   15448     conftest$ac_exeext conftest.$ac_ext
   15449   LDFLAGS=$pkg_save_LDFLAGS
   15450 fi
   15451 
   15452 
   15453 
   15454 if test $pkg_failed = yes; then
   15455         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15456 $as_echo "no" >&6; }
   15457 
   15458 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   15459         _pkg_short_errors_supported=yes
   15460 else
   15461         _pkg_short_errors_supported=no
   15462 fi
   15463         if test $_pkg_short_errors_supported = yes; then
   15464 	        ZSTD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzstd >= 1.4.0" 2>&1`
   15465         else
   15466 	        ZSTD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzstd >= 1.4.0" 2>&1`
   15467         fi
   15468 	# Put the nasty error message in config.log where it belongs
   15469 	echo "$ZSTD_PKG_ERRORS" >&5
   15470 
   15471 
   15472     if test "$with_zstd" = yes; then
   15473       as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
   15474     fi
   15475 
   15476 elif test $pkg_failed = untried; then
   15477         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15478 $as_echo "no" >&6; }
   15479 
   15480     if test "$with_zstd" = yes; then
   15481       as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
   15482     fi
   15483 
   15484 else
   15485 	ZSTD_CFLAGS=$pkg_cv_ZSTD_CFLAGS
   15486 	ZSTD_LIBS=$pkg_cv_ZSTD_LIBS
   15487         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15488 $as_echo "yes" >&6; }
   15489 
   15490 
   15491 $as_echo "#define HAVE_ZSTD 1" >>confdefs.h
   15492 
   15493 
   15494 fi
   15495 
   15496 fi
   15497 
   15498 
   15499 save_CFLAGS="$CFLAGS"
   15500 CFLAGS="$CFLAGS -Werror"
   15501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler support for hidden visibility" >&5
   15502 $as_echo_n "checking compiler support for hidden visibility... " >&6; }
   15503 if ${bfd_cv_hidden+:} false; then :
   15504   $as_echo_n "(cached) " >&6
   15505 else
   15506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15507 /* end confdefs.h.  */
   15508 
   15509 const char hw[] __attribute__ ((__visibility__ ("hidden"))) = "Hello, World\n";
   15510 extern void print (const char *) __attribute__ ((__visibility__ ("hidden")));
   15511 int
   15512 main ()
   15513 {
   15514 print (hw);
   15515   ;
   15516   return 0;
   15517 }
   15518 _ACEOF
   15519 if ac_fn_c_try_compile "$LINENO"; then :
   15520   bfd_cv_hidden=yes
   15521 else
   15522   bfd_cv_hidden=no
   15523 fi
   15524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15525 fi
   15526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_hidden" >&5
   15527 $as_echo "$bfd_cv_hidden" >&6; }
   15528 CFLAGS="$save_CFLAGS"
   15529 if test $bfd_cv_hidden = yes; then
   15530 
   15531 $as_echo "#define HAVE_HIDDEN 1" >>confdefs.h
   15532 
   15533 fi
   15534 
   15535 # Check if linker supports --as-needed and --no-as-needed options
   15536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
   15537 $as_echo_n "checking linker --as-needed support... " >&6; }
   15538 if ${bfd_cv_ld_as_needed+:} false; then :
   15539   $as_echo_n "(cached) " >&6
   15540 else
   15541   bfd_cv_ld_as_needed=no
   15542 	if $LD --help 2>/dev/null | grep as-needed > /dev/null; then
   15543 		bfd_cv_ld_as_needed=yes
   15544 	fi
   15545 
   15546 fi
   15547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
   15548 $as_echo "$bfd_cv_ld_as_needed" >&6; }
   15549 
   15550 LIBM=
   15551 case $host in
   15552 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
   15553   # These system don't have libm, or don't need it
   15554   ;;
   15555 *-ncr-sysv4.3*)
   15556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
   15557 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
   15558 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
   15559   $as_echo_n "(cached) " >&6
   15560 else
   15561   ac_check_lib_save_LIBS=$LIBS
   15562 LIBS="-lmw  $LIBS"
   15563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15564 /* end confdefs.h.  */
   15565 
   15566 /* Override any GCC internal prototype to avoid an error.
   15567    Use char because int might match the return type of a GCC
   15568    builtin and then its argument prototype would still apply.  */
   15569 #ifdef __cplusplus
   15570 extern "C"
   15571 #endif
   15572 char _mwvalidcheckl ();
   15573 int
   15574 main ()
   15575 {
   15576 return _mwvalidcheckl ();
   15577   ;
   15578   return 0;
   15579 }
   15580 _ACEOF
   15581 if ac_fn_c_try_link "$LINENO"; then :
   15582   ac_cv_lib_mw__mwvalidcheckl=yes
   15583 else
   15584   ac_cv_lib_mw__mwvalidcheckl=no
   15585 fi
   15586 rm -f core conftest.err conftest.$ac_objext \
   15587     conftest$ac_exeext conftest.$ac_ext
   15588 LIBS=$ac_check_lib_save_LIBS
   15589 fi
   15590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
   15591 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
   15592 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
   15593   LIBM="-lmw"
   15594 fi
   15595 
   15596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
   15597 $as_echo_n "checking for cos in -lm... " >&6; }
   15598 if ${ac_cv_lib_m_cos+:} false; then :
   15599   $as_echo_n "(cached) " >&6
   15600 else
   15601   ac_check_lib_save_LIBS=$LIBS
   15602 LIBS="-lm  $LIBS"
   15603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15604 /* end confdefs.h.  */
   15605 
   15606 /* Override any GCC internal prototype to avoid an error.
   15607    Use char because int might match the return type of a GCC
   15608    builtin and then its argument prototype would still apply.  */
   15609 #ifdef __cplusplus
   15610 extern "C"
   15611 #endif
   15612 char cos ();
   15613 int
   15614 main ()
   15615 {
   15616 return cos ();
   15617   ;
   15618   return 0;
   15619 }
   15620 _ACEOF
   15621 if ac_fn_c_try_link "$LINENO"; then :
   15622   ac_cv_lib_m_cos=yes
   15623 else
   15624   ac_cv_lib_m_cos=no
   15625 fi
   15626 rm -f core conftest.err conftest.$ac_objext \
   15627     conftest$ac_exeext conftest.$ac_ext
   15628 LIBS=$ac_check_lib_save_LIBS
   15629 fi
   15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
   15631 $as_echo "$ac_cv_lib_m_cos" >&6; }
   15632 if test "x$ac_cv_lib_m_cos" = xyes; then :
   15633   LIBM="$LIBM -lm"
   15634 fi
   15635 
   15636   ;;
   15637 *)
   15638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
   15639 $as_echo_n "checking for cos in -lm... " >&6; }
   15640 if ${ac_cv_lib_m_cos+:} false; then :
   15641   $as_echo_n "(cached) " >&6
   15642 else
   15643   ac_check_lib_save_LIBS=$LIBS
   15644 LIBS="-lm  $LIBS"
   15645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15646 /* end confdefs.h.  */
   15647 
   15648 /* Override any GCC internal prototype to avoid an error.
   15649    Use char because int might match the return type of a GCC
   15650    builtin and then its argument prototype would still apply.  */
   15651 #ifdef __cplusplus
   15652 extern "C"
   15653 #endif
   15654 char cos ();
   15655 int
   15656 main ()
   15657 {
   15658 return cos ();
   15659   ;
   15660   return 0;
   15661 }
   15662 _ACEOF
   15663 if ac_fn_c_try_link "$LINENO"; then :
   15664   ac_cv_lib_m_cos=yes
   15665 else
   15666   ac_cv_lib_m_cos=no
   15667 fi
   15668 rm -f core conftest.err conftest.$ac_objext \
   15669     conftest$ac_exeext conftest.$ac_ext
   15670 LIBS=$ac_check_lib_save_LIBS
   15671 fi
   15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
   15673 $as_echo "$ac_cv_lib_m_cos" >&6; }
   15674 if test "x$ac_cv_lib_m_cos" = xyes; then :
   15675   LIBM="-lm"
   15676 fi
   15677 
   15678   ;;
   15679 esac
   15680 
   15681 
   15682 
   15683 # When building a shared libbfd, link against the pic version of libiberty
   15684 # so that apps that use libbfd won't need libiberty just to satisfy any
   15685 # libbfd references.
   15686 # We can't do that if a pic libiberty is unavailable since including non-pic
   15687 # code would insert text relocations into libbfd.
   15688 SHARED_LIBADD=
   15689 SHARED_LDFLAGS=
   15690 if test "$enable_shared" = "yes"; then
   15691   x=`sed -n -e 's/^[ 	]*PICFLAG[ 	]*=[ 	]*//p' < ../libiberty/Makefile | sed -n '$p'`
   15692   if test -n "$x"; then
   15693     SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
   15694   fi
   15695 fi
   15696 
   15697 SHARED_LIBADD="$SHARED_LIBADD $LTLIBINTL"
   15698 
   15699 if test "$enable_shared" = "yes"; then
   15700   case "${host}" in
   15701   # More hacks to build DLLs on Windows.
   15702   *-*-cygwin*)
   15703     SHARED_LDFLAGS="-no-undefined"
   15704     SHARED_LIBADD="-L`pwd`/../libiberty -liberty $SHARED_LIBADD -lcygwin -lkernel32"
   15705   ;;
   15706   esac
   15707 
   15708   if test -n "$SHARED_LIBADD"; then
   15709     if test -n "$LIBM"; then
   15710       if test x"$bfd_cv_ld_as_needed" = xyes; then
   15711 	# Link against libm only when needed.  Put -lc, -lm inside -Wl
   15712 	# to stop libtool reordering these options.
   15713 	SHARED_LIBADD="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
   15714       else
   15715 	SHARED_LIBADD="$SHARED_LIBADD $LIBM"
   15716       fi
   15717     fi
   15718   fi
   15719 fi
   15720 
   15721 
   15722 
   15723 # target stuff:
   15724 
   15725 # Canonicalize the secondary target names.
   15726 if test -n "$enable_targets" ; then
   15727     for targ in `echo $enable_targets | sed 's/,/ /g'`
   15728     do
   15729 	result=`$ac_config_sub $targ 2>/dev/null`
   15730 	if test -n "$result" ; then
   15731 	    canon_targets="$canon_targets $result"
   15732 	else
   15733 	    # Allow targets that config.sub doesn't recognize, like "all".
   15734 	    canon_targets="$canon_targets $targ"
   15735 	fi
   15736     done
   15737 fi
   15738 
   15739 all_targets=false
   15740 defvec=
   15741 selvecs=
   15742 assocvecs=
   15743 selarchs=
   15744 TDEFINES=
   15745 for targ in $target $canon_targets
   15746 do
   15747     if test $targ = all; then
   15748         all_targets=true
   15749 	assocvecs="$assocvecs $targ_defvec $targ_selvecs"
   15750     elif test $targ != plugin; then
   15751 	. $srcdir/config.bfd
   15752 	if test $targ = $target; then
   15753 	    defvec=$targ_defvec
   15754 	fi
   15755 	selvecs="$selvecs $targ_defvec $targ_selvecs"
   15756 	selarchs="$selarchs $targ_archs"
   15757 	TDEFINES="$TDEFINES $targ_cflags"
   15758     fi
   15759 done
   15760 
   15761 
   15762 # This processing still needs to be done if we're to decide properly whether
   15763 # 64-bit support needs to be compiled in.  Currently, it will be included if
   15764 # the default or any other explicitly requested target requires it; it
   15765 # will not be included on a 32-bit host if no 64-bit target is requested, and
   15766 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
   15767 # used.
   15768 
   15769 # uniq the default and selected vectors in all the configured targets.
   15770 f=""
   15771 for i in $selvecs ; do
   15772     case " $f " in
   15773     *" $i "*) ;;
   15774     *) f="$f $i" ;;
   15775     esac
   15776 done
   15777 selvecs="$f"
   15778 
   15779 
   15780 # uniq the associated vectors in all the configured targets.
   15781 f=""
   15782 for i in $assocvecs ; do
   15783     case " $f " in
   15784     *" $i "*) ;;
   15785     *) f="$f $i" ;;
   15786     esac
   15787 done
   15788 assocvecs="$f"
   15789 
   15790 
   15791 # uniq the architectures in all the configured targets.
   15792 f=""
   15793 for i in $selarchs ; do
   15794     case " $f " in
   15795     *" $i "*) ;;
   15796     *) f="$f $i" ;;
   15797     esac
   15798 done
   15799 selarchs="$f"
   15800 
   15801 # Target backend .o files.
   15802 tb=
   15803 
   15804 elf="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo
   15805      elf-sframe.lo dwarf1.lo dwarf2.lo"
   15806 coffgen="coffgen.lo dwarf2.lo"
   15807 coff="cofflink.lo $coffgen"
   15808 ecoff="ecofflink.lo $coffgen"
   15809 xcoff="xcofflink.lo $coffgen"
   15810 
   15811 elfxx_x86="elfxx-x86.lo elf-ifunc.lo elf-vxworks.lo"
   15812 for vec in $selvecs
   15813 do
   15814     target_size=32
   15815     case "$vec" in
   15816     # This list is alphabetized to make it easy to compare
   15817     # with the two vector lists in targets.c.  For the same reason,
   15818     # use one entry per line, even though this leads to long lines.
   15819     aarch64_elf32_be_vec)	 tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
   15820     aarch64_elf32_le_vec)	 tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
   15821     aarch64_elf64_be_vec)	   tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   15822     aarch64_elf64_be_cloudabi_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   15823     aarch64_elf64_le_vec)	   tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   15824     aarch64_elf64_le_cloudabi_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   15825     aarch64_mach_o_vec)		 tb="$tb mach-o-aarch64.lo"; target_size=64 ;;
   15826     aarch64_pei_le_vec)		 tb="$tb pei-aarch64.lo pe-aarch64igen.lo $coff"; target_size=64 ;;
   15827     aarch64_pe_le_vec)		 tb="$tb pe-aarch64.lo pe-aarch64igen.lo $coff"; target_size=64 ;;
   15828     alpha_ecoff_le_vec)		 tb="$tb coff-alpha.lo ecoff.lo $ecoff"; target_size=64 ;;
   15829     alpha_elf64_vec)		 tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
   15830     alpha_elf64_fbsd_vec)	 tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
   15831     alpha_vms_vec)		 tb="$tb vms-alpha.lo vms-misc.lo vms-lib.lo"; target_size=64 ;;
   15832     alpha_vms_lib_txt_vec)	 tb="$tb vms-lib.lo vms-misc.lo" ;;
   15833     am33_elf32_linux_vec)	 tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
   15834     amdgcn_elf64_le_vec)	 tb="$tb elf64-amdgcn.lo elf64.lo $elf"; target_size=64 ;;
   15835     aout0_be_vec)		 tb="$tb aout0.lo aout32.lo" ;;
   15836     aout64_vec)			 tb="$tb demo64.lo aout64.lo"; target_size=64 ;;
   15837     aout_vec)			 tb="$tb host-aout.lo aout32.lo" ;;
   15838     arc_elf32_be_vec)		 tb="$tb elf32-arc.lo elf32.lo $elf" ;;
   15839     arc_elf32_le_vec)		 tb="$tb elf32-arc.lo elf32.lo $elf" ;;
   15840     arm_elf32_be_vec)		 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   15841     arm_elf32_le_vec)		 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   15842     arm_elf32_fdpic_be_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   15843     arm_elf32_fdpic_le_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   15844     arm_elf32_nacl_be_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   15845     arm_elf32_nacl_le_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   15846     arm_elf32_vxworks_be_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   15847     arm_elf32_vxworks_le_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
   15848     arm_pe_be_vec)		 tb="$tb pe-arm.lo peigen.lo $coff" ;;
   15849     arm_pe_le_vec)		 tb="$tb pe-arm.lo peigen.lo $coff" ;;
   15850     arm_pe_wince_be_vec)	 tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo $coff" ;;
   15851     arm_pe_wince_le_vec)	 tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo $coff" ;;
   15852     arm_pei_be_vec)		 tb="$tb pei-arm.lo peigen.lo $coff" ;;
   15853     arm_pei_le_vec)		 tb="$tb pei-arm.lo peigen.lo $coff" ;;
   15854     arm_pei_wince_be_vec)	 tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo $coff" ;;
   15855     arm_pei_wince_le_vec)	 tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo $coff" ;;
   15856     arm_mach_o_vec)		 tb="$tb mach-o-arm.lo" ;;
   15857     avr_elf32_vec)		 tb="$tb elf32-avr.lo elf32.lo $elf" ;;
   15858     bfin_elf32_vec)		 tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
   15859     bfin_elf32_fdpic_vec)	 tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
   15860     cr16_elf32_vec)		 tb="$tb elf32-cr16.lo elf32.lo $elf" ;;
   15861     cris_aout_vec)		 tb="$tb aout-cris.lo" ;;
   15862     cris_elf32_vec)		 tb="$tb elf32-cris.lo elf32.lo $elf" ;;
   15863     cris_elf32_us_vec)		 tb="$tb elf32-cris.lo elf32.lo $elf" ;;
   15864     crx_elf32_vec)		 tb="$tb elf32-crx.lo elf32.lo $elf" ;;
   15865     csky_elf32_be_vec)		 tb="$tb elf32-csky.lo elf32.lo $elf" ;;
   15866     csky_elf32_le_vec)		 tb="$tb elf32-csky.lo elf32.lo $elf" ;;
   15867     d10v_elf32_vec)		 tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
   15868     d30v_elf32_vec)		 tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
   15869     dlx_elf32_be_vec)		 tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
   15870     elf32_be_vec)		 tb="$tb elf32-gen.lo elf32.lo $elf" ;;
   15871     elf32_le_vec)		 tb="$tb elf32-gen.lo elf32.lo $elf" ;;
   15872     elf64_be_vec)		 tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
   15873     elf64_le_vec)		 tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
   15874     bpf_elf64_le_vec)		 tb="$tb elf64-bpf.lo elf64.lo $elf"; target_size=64;;
   15875     bpf_elf64_be_vec)		 tb="$tb elf64-bpf.lo elf64.lo $elf"; target_size=64 ;;
   15876     epiphany_elf32_vec)		 tb="$tb elf32-epiphany.lo elf32.lo $elf" ;;
   15877     fr30_elf32_vec)		 tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
   15878     frv_elf32_vec)		 tb="$tb elf32-frv.lo elf32.lo $elf" ;;
   15879     frv_elf32_fdpic_vec)	 tb="$tb elf32-frv.lo elf32.lo $elf" ;;
   15880     h8300_elf32_vec)		 tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
   15881     h8300_elf32_linux_vec)	 tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
   15882     hppa_elf32_vec)		 tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
   15883     hppa_elf32_linux_vec)	 tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
   15884     hppa_elf32_nbsd_vec)	 tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
   15885     hppa_elf64_vec)		 tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
   15886     hppa_elf64_linux_vec)	 tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
   15887     hppa_som_vec)		 tb="$tb som.lo" ;;
   15888     i386_aout_vec)		 tb="$tb i386aout.lo aout32.lo" ;;
   15889     i386_aout_bsd_vec)		 tb="$tb i386bsd.lo aout32.lo" ;;
   15890     i386_aout_lynx_vec)		 tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
   15891     i386_coff_vec)		 tb="$tb coff-i386.lo $coff" ;;
   15892     i386_coff_go32_vec)		 tb="$tb coff-go32.lo $coff" ;;
   15893     i386_coff_go32stubbed_vec)	 tb="$tb coff-stgo32.lo $coff" ;;
   15894     i386_coff_lynx_vec)		 tb="$tb cf-i386lynx.lo lynx-core.lo $coff" ;;
   15895     i386_elf32_vec)		 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   15896     i386_elf32_fbsd_vec)	 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   15897     i386_elf32_sol2_vec)	 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   15898     i386_elf32_vxworks_vec)	 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   15899     i386_mach_o_vec)		 tb="$tb mach-o-i386.lo" ;;
   15900     i386_msdos_vec)		 tb="$tb i386msdos.lo" ;;
   15901     i386_pe_vec)		 tb="$tb pe-i386.lo peigen.lo $coff" ;;
   15902     i386_pe_big_vec)		 tb="$tb pe-i386.lo peigen.lo $coff" ;;
   15903     i386_pei_vec)		 tb="$tb pei-i386.lo peigen.lo $coff" ;;
   15904     iamcu_elf32_vec)		 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   15905     ia64_elf32_be_vec)		 tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
   15906     ia64_elf32_hpux_be_vec)	 tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
   15907     ia64_elf64_be_vec)		 tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
   15908     ia64_elf64_le_vec)		 tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
   15909     ia64_elf64_hpux_be_vec)	 tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
   15910     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 ;;
   15911     ia64_pei_vec)		 tb="$tb pei-ia64.lo pepigen.lo $coff"; target_size=64 ;;
   15912     ip2k_elf32_vec)		 tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
   15913     iq2000_elf32_vec)		 tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
   15914     kvx_elf32_vec)		 tb="$tb elf32-kvx.lo elfxx-kvx.lo elf32.lo $elf $ipa" ;;
   15915     kvx_elf64_vec)		 tb="$tb elf64-kvx.lo elfxx-kvx.lo elf64.lo $elf $ipa"; target_size=64 ;;
   15916     lm32_elf32_vec)		 tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
   15917     lm32_elf32_fdpic_vec)	 tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
   15918     loongarch_elf32_vec)	 tb="$tb elf32-loongarch.lo elfxx-loongarch.lo elf32.lo elf-ifunc.lo $elf" ;;
   15919     loongarch_elf64_vec)	 tb="$tb elf64-loongarch.lo elf64.lo elfxx-loongarch.lo elf32.lo elf-ifunc.lo $elf"; target_size=64 ;;
   15920     loongarch64_pei_vec)	 tb="$tb pei-loongarch64.lo pe-loongarch64igen.lo $coff"; target_size=64 ;;
   15921     m32c_elf32_vec)		 tb="$tb elf32-m32c.lo elf32.lo $elf" ;;
   15922     m32r_elf32_vec)		 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   15923     m32r_elf32_le_vec)		 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   15924     m32r_elf32_linux_vec)	 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   15925     m32r_elf32_linux_le_vec)	 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   15926     m68hc11_elf32_vec)		 tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
   15927     m68hc12_elf32_vec)		 tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
   15928     m68k_elf32_vec)		 tb="$tb elf32-m68k.lo elf32.lo $elf" ;;
   15929     s12z_elf32_vec)		 tb="$tb elf32-s12z.lo elf32.lo $elf" ;;
   15930     mach_o_be_vec)		 tb="$tb mach-o.lo dwarf2.lo" ;;
   15931     mach_o_le_vec)		 tb="$tb mach-o.lo dwarf2.lo" ;;
   15932     mach_o_fat_vec)		 tb="$tb mach-o.lo dwarf2.lo" ;;
   15933     mcore_elf32_be_vec)		 tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
   15934     mcore_elf32_le_vec)		 tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
   15935     mcore_pe_be_vec)		 tb="$tb pe-mcore.lo peigen.lo $coff" ;;
   15936     mcore_pe_le_vec)		 tb="$tb pe-mcore.lo peigen.lo $coff" ;;
   15937     mcore_pei_be_vec)		 tb="$tb pei-mcore.lo peigen.lo $coff" ;;
   15938     mcore_pei_le_vec)		 tb="$tb pei-mcore.lo peigen.lo $coff" ;;
   15939     mep_elf32_vec)		 tb="$tb elf32-mep.lo elf32.lo $elf" ;;
   15940     mep_elf32_le_vec)		 tb="$tb elf32-mep.lo elf32.lo $elf" ;;
   15941     metag_elf32_vec)		 tb="$tb elf32-metag.lo elf32.lo $elf" ;;
   15942     microblaze_elf32_vec)	 tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
   15943     microblaze_elf32_le_vec)	 tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
   15944     mips_ecoff_be_vec)		 tb="$tb coff-mips.lo ecoff.lo $ecoff" ;;
   15945     mips_ecoff_le_vec)		 tb="$tb coff-mips.lo ecoff.lo $ecoff" ;;
   15946     mips_ecoff_bele_vec)	 tb="$tb coff-mips.lo ecoff.lo $ecoff" ;;
   15947     mips_elf32_be_vec)		 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15948     mips_elf32_le_vec)		 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15949     mips_elf32_n_be_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   15950     mips_elf32_n_le_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   15951     mips_elf32_ntrad_be_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; ;;
   15952     mips_elf32_ntrad_le_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; ;;
   15953     mips_elf32_ntradfbsd_be_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   15954     mips_elf32_ntradfbsd_le_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   15955     mips_elf32_trad_be_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15956     mips_elf32_trad_le_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15957     mips_elf32_tradfbsd_be_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15958     mips_elf32_tradfbsd_le_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15959     mips_elf32_vxworks_be_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15960     mips_elf32_vxworks_le_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15961     mips_elf64_be_vec)		 tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   15962     mips_elf64_le_vec)		 tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   15963     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 ;;
   15964     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 ;;
   15965     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 ;;
   15966     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 ;;
   15967     mmix_elf64_vec)		 tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
   15968     mmix_mmo_vec)			 tb="$tb mmo.lo" target_size=64 ;;
   15969     mn10200_elf32_vec)		 tb="$tb elf-m10200.lo elf32.lo $elf" ;;
   15970     mn10300_elf32_vec)		 tb="$tb elf-m10300.lo elf32.lo $elf" ;;
   15971     moxie_elf32_be_vec)		 tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
   15972     moxie_elf32_le_vec)		 tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
   15973     msp430_elf32_vec)		 tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
   15974     msp430_elf32_ti_vec)	 tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
   15975     mt_elf32_vec)		 tb="$tb elf32-mt.lo elf32.lo $elf" ;;
   15976     nds32_elf32_be_vec)		 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   15977     nds32_elf32_le_vec)		 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   15978     nds32_elf32_linux_be_vec)	 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   15979     nds32_elf32_linux_le_vec)	 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   15980     nfp_elf64_vec)		 tb="$tb elf64-nfp.lo elf64.lo $elf" ;;
   15981     ns32k_aout_pc532mach_vec)	 tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
   15982     ns32k_aout_pc532nbsd_vec)	 tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
   15983     or1k_elf32_vec)		 tb="$tb elf32-or1k.lo elf32.lo $elf" ;;
   15984     pdb_vec)			 tb="$tb pdb.lo" ;;
   15985     pdp11_aout_vec)		 tb="$tb pdp11.lo" ;;
   15986     pef_vec)			 tb="$tb pef.lo" ;;
   15987     pef_xlib_vec)		 tb="$tb pef.lo" ;;
   15988     pj_elf32_vec)		 tb="$tb elf32-pj.lo elf32.lo $elf" ;;
   15989     pj_elf32_le_vec)		 tb="$tb elf32-pj.lo elf32.lo $elf" ;;
   15990     powerpc_boot_vec)		 tb="$tb ppcboot.lo" ;;
   15991     powerpc_elf32_vec)		 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   15992     powerpc_elf32_le_vec)	 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   15993     powerpc_elf32_fbsd_vec)	 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   15994     powerpc_elf32_vxworks_vec)	 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   15995     powerpc_elf64_vec)		 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
   15996     powerpc_elf64_le_vec)	 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
   15997     powerpc_elf64_fbsd_vec)	 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
   15998     powerpc_elf64_fbsd_le_vec)	 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
   15999     powerpc_xcoff_vec)		 tb="$tb coff-rs6000.lo $xcoff" ;;
   16000     pru_elf32_vec)		 tb="$tb elf32-pru.lo elf32.lo $elf" ;;
   16001     riscv_elf32_vec)		 tb="$tb elf32-riscv.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf" ;;
   16002     riscv_elf64_vec)		 tb="$tb elf64-riscv.lo elf64.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
   16003     riscv_elf32_be_vec)		 tb="$tb elf32-riscv.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf" ;;
   16004     riscv_elf64_be_vec)		 tb="$tb elf64-riscv.lo elf64.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
   16005     riscv64_pei_vec)		 tb="$tb pei-riscv64.lo pe-riscv64igen.lo $coff"; target_size=64 ;;
   16006     rl78_elf32_vec)		 tb="$tb elf32-rl78.lo elf32.lo $elf" ;;
   16007     rs6000_xcoff64_vec)		 tb="$tb coff64-rs6000.lo aix5ppc-core.lo $xcoff"; target_size=64 ;;
   16008     rs6000_xcoff64_aix_vec)	 tb="$tb coff64-rs6000.lo aix5ppc-core.lo $xcoff"; target_size=64 ;;
   16009     rs6000_xcoff_vec)		 tb="$tb coff-rs6000.lo $xcoff" ;;
   16010     rx_elf32_be_vec)		 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   16011     rx_elf32_be_ns_vec)		 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   16012     rx_elf32_le_vec)		 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   16013     rx_elf32_linux_le_vec)	 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   16014     s390_elf32_vec)		 tb="$tb elf32-s390.lo elf32.lo $elf" ;;
   16015     s390_elf64_vec)		 tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;;
   16016     score_elf32_be_vec)		 tb="$tb elf32-score.lo elf32-score7.lo elf32.lo elf64.lo $elf"; want64=true; target_size=64 ;;
   16017     score_elf32_le_vec)		 tb="$tb elf32-score.lo elf32-score7.lo elf32.lo elf64.lo $elf"; want64=true; target_size=64 ;;
   16018     sh_coff_vec)		 tb="$tb coff-sh.lo $coff" ;;
   16019     sh_coff_le_vec)		 tb="$tb coff-sh.lo $coff" ;;
   16020     sh_coff_small_vec)		 tb="$tb coff-sh.lo $coff" ;;
   16021     sh_coff_small_le_vec)	 tb="$tb coff-sh.lo $coff" ;;
   16022     sh_elf32_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16023     sh_elf32_le_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16024     sh_elf32_fdpic_be_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16025     sh_elf32_fdpic_le_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16026     sh_elf32_linux_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16027     sh_elf32_linux_be_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16028     sh_elf32_nbsd_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16029     sh_elf32_nbsd_le_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16030     sh_elf32_vxworks_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16031     sh_elf32_vxworks_le_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16032     sh_pe_le_vec)		 tb="$tb pe-sh.lo coff-sh.lo peigen.lo $coff" ;;
   16033     sh_pei_le_vec)		 tb="$tb pei-sh.lo coff-sh.lo peigen.lo $coff" ;;
   16034     sparc_elf32_vec)		 tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
   16035     sparc_elf32_sol2_vec)	 tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
   16036     sparc_elf32_vxworks_vec)	 tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
   16037     sparc_elf64_vec)		 tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
   16038     sparc_elf64_fbsd_vec)	 tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
   16039     sparc_elf64_sol2_vec)	 tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
   16040     spu_elf32_vec)		 tb="$tb elf32-spu.lo elf32.lo $elf" ;;
   16041     sym_vec)			 tb="$tb xsym.lo" ;;
   16042     tic30_coff_vec)		 tb="$tb coff-tic30.lo $coffgen" ;;
   16043     tic4x_coff0_vec)		 tb="$tb coff-tic4x.lo $coffgen" ;;
   16044     tic4x_coff0_beh_vec)	 tb="$tb coff-tic4x.lo $coffgen" ;;
   16045     tic4x_coff1_vec)		 tb="$tb coff-tic4x.lo $coffgen" ;;
   16046     tic4x_coff1_beh_vec)	 tb="$tb coff-tic4x.lo $coffgen" ;;
   16047     tic4x_coff2_vec)		 tb="$tb coff-tic4x.lo $coffgen" ;;
   16048     tic4x_coff2_beh_vec)	 tb="$tb coff-tic4x.lo $coffgen" ;;
   16049     tic54x_coff0_vec)		 tb="$tb coff-tic54x.lo $coffgen" ;;
   16050     tic54x_coff0_beh_vec)	 tb="$tb coff-tic54x.lo $coffgen" ;;
   16051     tic54x_coff1_vec)		 tb="$tb coff-tic54x.lo $coffgen" ;;
   16052     tic54x_coff1_beh_vec)	 tb="$tb coff-tic54x.lo $coffgen" ;;
   16053     tic54x_coff2_vec)		 tb="$tb coff-tic54x.lo $coffgen" ;;
   16054     tic54x_coff2_beh_vec)	 tb="$tb coff-tic54x.lo $coffgen" ;;
   16055     tic6x_elf32_be_vec)		 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   16056     tic6x_elf32_le_vec)		 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   16057     tic6x_elf32_c6000_be_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   16058     tic6x_elf32_c6000_le_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   16059     tic6x_elf32_linux_be_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   16060     tic6x_elf32_linux_le_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   16061     tilegx_elf32_be_vec)	 tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
   16062     tilegx_elf32_le_vec)	 tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
   16063     tilegx_elf64_be_vec)	 tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
   16064     tilegx_elf64_le_vec)	 tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
   16065     tilepro_elf32_vec)		 tb="$tb elf32-tilepro.lo elf32.lo $elf" ;;
   16066     v800_elf32_vec)		 tb="$tb elf32-v850.lo elf32.lo $elf" ;;
   16067     v850_elf32_vec)		 tb="$tb elf32-v850.lo elf32.lo $elf" ;;
   16068     vax_aout_1knbsd_vec)	 tb="$tb vax1knetbsd.lo aout32.lo" ;;
   16069     vax_aout_nbsd_vec)		 tb="$tb vaxnetbsd.lo aout32.lo" ;;
   16070     vax_elf32_vec)		 tb="$tb elf32-vax.lo elf32.lo $elf" ;;
   16071     ft32_elf32_vec)		 tb="$tb elf32-ft32.lo elf32.lo $elf" ;;
   16072     visium_elf32_vec)		 tb="$tb elf32-visium.lo elf32.lo $elf" ;;
   16073     wasm_vec)                    tb="$tb wasm-module.lo" ;;
   16074     wasm32_elf32_vec)            tb="$tb elf32-wasm32.lo elf32.lo $elf" ;;
   16075     x86_64_coff_vec)		 tb="$tb coff-x86_64.lo $coff"; target_size=64 ;;
   16076     x86_64_elf32_vec)		 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo elf32.lo $elf"; target_size=64 ;;
   16077     x86_64_elf64_vec)		 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   16078     x86_64_elf64_cloudabi_vec)	 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   16079     x86_64_elf64_fbsd_vec)	 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   16080     x86_64_elf64_sol2_vec)	 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   16081     x86_64_mach_o_vec)		 tb="$tb mach-o-x86-64.lo" ;;
   16082     x86_64_pe_vec)		 tb="$tb pe-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
   16083     x86_64_pe_big_vec)		 tb="$tb pe-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
   16084     x86_64_pei_vec)		 tb="$tb pei-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
   16085     xgate_elf32_vec)		 tb="$tb elf32-xgate.lo elf32.lo $elf" ;;
   16086     xstormy16_elf32_vec)	 tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
   16087     xtensa_elf32_be_vec)	 tb="$tb xtensa-dynconfig.lo xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
   16088     xtensa_elf32_le_vec)	 tb="$tb xtensa-dynconfig.lo xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
   16089     z80_coff_vec)		 tb="$tb coff-z80.lo reloc16.lo $coffgen" ;;
   16090     z80_elf32_vec)		 tb="$tb elf32-z80.lo elf32.lo $elf" ;;
   16091     z8k_coff_vec)		 tb="$tb coff-z8k.lo reloc16.lo $coff" ;;
   16092 
   16093     # These appear out of order in targets.c
   16094     srec_vec)			 tb="$tb srec.lo" ;;
   16095     symbolsrec_vec)		 tb="$tb srec.lo" ;;
   16096     tekhex_vec)			 tb="$tb tekhex.lo" ;;
   16097     core_cisco_be_vec)		 tb="$tb cisco-core.lo" ;;
   16098     core_cisco_le_vec)		 tb="$tb cisco-core.lo" ;;
   16099 
   16100     "")				 ;;
   16101     *) as_fn_error $? "*** unknown target vector $vec" "$LINENO" 5 ;;
   16102     esac
   16103 
   16104     if test ${target_size} = 64; then
   16105 	target64=true
   16106     fi
   16107     if test x"${vec}" = x"${defvec}"; then
   16108 	bfd_default_target_size=${target_size}
   16109     fi
   16110 done
   16111 
   16112 if test "$plugins" = "yes"; then
   16113      tb="$tb plugin.lo"
   16114 fi
   16115 
   16116 # Target architecture .o files.
   16117 # A couple of CPUs use shorter file names to avoid problems on DOS
   16118 # filesystems.
   16119 ta=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
   16120 
   16121 # Weed out duplicate .o files.
   16122 f=""
   16123 for i in $tb ; do
   16124     case " $f " in
   16125     *" $i "*) ;;
   16126     *) f="$f $i" ;;
   16127     esac
   16128 done
   16129 tb="$f"
   16130 
   16131 f=""
   16132 for i in $ta ; do
   16133     case " $f " in
   16134     *" $i "*) ;;
   16135     *) f="$f $i" ;;
   16136     esac
   16137 done
   16138 ta="$f"
   16139 
   16140 bfd_backends="$tb"
   16141 bfd_machines="$ta"
   16142 
   16143 if test x${all_targets} = xtrue ; then
   16144   bfd_backends="${bfd_backends}"' $(ALL_BACKENDS)'
   16145   bfd_machines="${bfd_machines}"' $(ALL_MACHINES)'
   16146   selvecs=
   16147   havevecs=-DHAVE_all_vecs
   16148   selarchs=
   16149   test -n "$assocvecs" &&
   16150     assocvecs=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
   16151 else	# all_targets is true
   16152   # Only set these if they will be nonempty, for the clever echo.
   16153   havevecs=
   16154   assocvecs=
   16155   test -n "$selvecs" &&
   16156     havevecs=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
   16157   test -n "$selvecs" &&
   16158     selvecs=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
   16159   test -n "$selarchs" &&
   16160     selarchs=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
   16161 fi	# all_targets is true
   16162 
   16163 # 64-bit archives need a 64-bit bfd_vma.
   16164 if test "x$want_64_bit_archive" = xtrue; then
   16165   want64=true
   16166 
   16167 $as_echo "#define USE_64_BIT_ARCHIVE 1" >>confdefs.h
   16168 
   16169 fi
   16170 
   16171 case ${host64}-${target64}-${want64} in
   16172   *true*)
   16173     wordsize=64
   16174     bfd64_libs='$(BFD64_LIBS)'
   16175     all_backends='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
   16176     if test -n "$GCC" ; then
   16177        bad_64bit_gcc=no;
   16178        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc version with buggy 64-bit support" >&5
   16179 $as_echo_n "checking for gcc version with buggy 64-bit support... " >&6; }
   16180        # Add more tests for gcc versions with non-working 64-bit support here.
   16181        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16182 /* end confdefs.h.  */
   16183 :__GNUC__:__GNUC_MINOR__:__i386__:
   16184 _ACEOF
   16185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   16186   $EGREP ": 2 : 91 : 1 :" >/dev/null 2>&1; then :
   16187   bad_64bit_gcc=yes;
   16188 		    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes: egcs-1.1.2 on ix86 spotted" >&5
   16189 $as_echo "yes: egcs-1.1.2 on ix86 spotted" >&6; }
   16190 else
   16191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16192 $as_echo "no" >&6; }
   16193 fi
   16194 rm -f conftest*
   16195 
   16196        if test $bad_64bit_gcc = yes ; then
   16197 	 as_fn_error $? "A newer version of gcc is needed for the requested 64-bit BFD configuration" "$LINENO" 5
   16198        fi
   16199     fi
   16200     ;;
   16201   false-false-false)
   16202     wordsize=32
   16203     all_backends='$(BFD32_BACKENDS)'
   16204     ;;
   16205 esac
   16206 
   16207 tdefaults=""
   16208 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
   16209 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
   16210 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
   16211 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
   16212 
   16213 
   16214 
   16215 
   16216 
   16217 
   16218 
   16219 
   16220 
   16221 
   16222 # If we are configured native, pick a core file support file.
   16223 COREFILE=
   16224 COREFLAG=
   16225 CORE_HEADER=
   16226 TRAD_HEADER=
   16227 if test "${target}" = "${host}"; then
   16228   case "${host}" in
   16229   alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu | alpha*-*-*vms*)
   16230 	COREFILE=''
   16231 	;;
   16232   alpha*-*-linux-*)
   16233 	COREFILE=trad-core.lo
   16234 	TRAD_HEADER='"hosts/alphalinux.h"'
   16235 	;;
   16236   alpha*-*-netbsd* | alpha*-*-openbsd*)
   16237 	COREFILE=netbsd-core.lo
   16238 	;;
   16239   alpha*-*-*)
   16240         COREFILE=osf-core.lo
   16241 	;;
   16242   arm-*-freebsd* | arm-*-kfreebsd*-gnu)
   16243 	COREFILE='' ;;
   16244   arm*-*-netbsd* | arm-*-openbsd*)
   16245 	COREFILE=netbsd-core.lo
   16246 	;;
   16247   hppa*-*-hpux*)	COREFILE=hpux-core.lo ;;
   16248   hppa*-*-hiux*)	COREFILE=hpux-core.lo ;;
   16249   hppa*-*-mpeix*)	COREFILE=hpux-core.lo ;;
   16250   hppa*-*-bsd*)		COREFILE="hpux-core.lo hppabsd-core.lo"
   16251 			COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;;
   16252   hppa*-*-netbsd* | hppa*-*-openbsd*)
   16253 	COREFILE=netbsd-core.lo
   16254 	;;
   16255 
   16256   i[3-7]86-*-bsdi)
   16257 	COREFILE=
   16258 	;;
   16259   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]\.*)
   16260 	COREFILE=trad-core.lo
   16261 	TRAD_HEADER='"hosts/i386bsd.h"'
   16262 	;;
   16263   i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu | i[3-7]86-*-dragonfly*)
   16264 	COREFILE=''
   16265 	TRAD_HEADER='"hosts/i386bsd.h"'
   16266 	;;
   16267   i[3-7]86-*-netbsd* | i[3-7]86-*-knetbsd*-gnu | i[3-7]86-*-openbsd*)
   16268 	COREFILE=netbsd-core.lo
   16269 	;;
   16270   i[3-7]86-esix-sysv3*)
   16271 	COREFILE=trad-core.lo
   16272 	TRAD_HEADER='"hosts/esix.h"'
   16273 	;;
   16274   i[3-7]86-*-mach3*)
   16275 	COREFILE=trad-core.lo
   16276 	TRAD_HEADER='"hosts/i386mach3.h"'
   16277 	;;
   16278   i[3-7]86-*-linux-*)
   16279 	COREFILE=trad-core.lo
   16280 	TRAD_HEADER='"hosts/i386linux.h"'
   16281 	case "$enable_targets"-"$want64" in
   16282 	*x86_64-*linux*|*-true)
   16283 	  CORE_HEADER='"hosts/x86-64linux.h"'
   16284 	esac
   16285 	;;
   16286   mips*-*-netbsd* | mips*-*-openbsd*)
   16287 	COREFILE=netbsd-core.lo
   16288 	;;
   16289   mips-*-irix*)
   16290 	COREFILE=irix-core.lo
   16291 	;;
   16292   m68*-*-linux-*)
   16293 	COREFILE=trad-core.lo
   16294 	TRAD_HEADER='"hosts/m68klinux.h"'
   16295 	;;
   16296   m68*-*-netbsd*)
   16297 	COREFILE=netbsd-core.lo
   16298 	;;
   16299   ns32k-pc532-mach)
   16300 	COREFILE=trad-core.lo
   16301 	TRAD_HEADER='"hosts/pc532mach.h"'
   16302 	;;
   16303   ns32k-*-netbsd* | ns32k-*-openbsd*)
   16304 	COREFILE=netbsd-core.lo
   16305 	;;
   16306   riscv*-*-netbsd*)
   16307 	COREFILE=netbsd-core.lo
   16308 	;;
   16309   rs6000-*-lynx*)
   16310 	COREFILE=lynx-core.lo
   16311 	;;
   16312   rs6000-*-aix[5-9].* | powerpc-*-aix[5-9].* | powerpc64-*-aix[5-9].*)
   16313         COREFILE=rs6000-core.lo
   16314 	COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
   16315 	;;
   16316   rs6000-*-aix4.[3-9]* | powerpc-*-aix4.[3-9]*)
   16317         COREFILE=rs6000-core.lo
   16318 	COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
   16319 	# Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
   16320 	# have c_impl as a member of struct core_dumpx
   16321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for c_impl in struct core_dumpx" >&5
   16322 $as_echo_n "checking for c_impl in struct core_dumpx... " >&6; }
   16323 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16324 /* end confdefs.h.  */
   16325 #include <core.h>
   16326 int
   16327 main ()
   16328 {
   16329 struct core_dumpx c; c.c_impl = 0;
   16330   ;
   16331   return 0;
   16332 }
   16333 _ACEOF
   16334 if ac_fn_c_try_compile "$LINENO"; then :
   16335 
   16336 $as_echo "#define HAVE_ST_C_IMPL 1" >>confdefs.h
   16337 
   16338 	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16339 $as_echo "yes" >&6; }
   16340 else
   16341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16342 $as_echo "no" >&6; }
   16343 fi
   16344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16345 	;;
   16346   rs6000-*-aix4*)	COREFILE=rs6000-core.lo ;;
   16347   rs6000-*-*)		COREFILE=rs6000-core.lo ;;
   16348   powerpc64-*-aix*)	COREFILE=rs6000-core.lo ;;
   16349   powerpc-*-aix4*)	COREFILE=rs6000-core.lo ;;
   16350   powerpc-*-aix*)	COREFILE=rs6000-core.lo ;;
   16351   powerpc-*-beos*)	;;
   16352   powerpc-*-freebsd* | powerpc-*-kfreebsd*-gnu)
   16353 		        COREFILE='' ;;
   16354   powerpc-*-netbsd*)	COREFILE=netbsd-core.lo ;;
   16355   powerpc-*-*bsd*)	COREFILE=netbsd-core.lo ;;
   16356   s390*-*-*)            COREFILE=trad-core.lo ;;
   16357   sh*-*-netbsd* | sh*-*-openbsd*)
   16358 	COREFILE=netbsd-core.lo
   16359 	;;
   16360   sparc-*-netbsd* | sparc*-*-openbsd*)
   16361 	COREFILE=netbsd-core.lo
   16362 	;;
   16363   vax-*-netbsd* | vax-*-openbsd*)
   16364 	COREFILE=netbsd-core.lo
   16365 	;;
   16366   vax-*-linux-*)
   16367 	COREFILE=trad-core.lo
   16368 	TRAD_HEADER='"hosts/vaxlinux.h"'
   16369 	;;
   16370   vax-*-*)
   16371 	COREFILE=trad-core.lo
   16372 	TRAD_HEADER='"hosts/vaxbsd.h"'
   16373 	;;
   16374   x86_64-*-linux*)
   16375 	CORE_HEADER='"hosts/x86-64linux.h"'
   16376 	;;
   16377   x86_64-*-netbsd* | x86_64-*-openbsd*)
   16378 	COREFILE=netbsd-core.lo
   16379 	;;
   16380   esac
   16381 
   16382   case "$COREFILE" in
   16383   hppabsd-core.lo)	COREFLAG=-DHPPABSD_CORE ;;
   16384   hpux-core.lo)		COREFLAG=-DHPUX_CORE ;;
   16385   irix-core.lo)		COREFLAG=-DIRIX_CORE ;;
   16386   lynx-core.lo)		COREFLAG=-DLYNX_CORE ;;
   16387   netbsd-core.lo)	COREFLAG=-DNETBSD_CORE ;;
   16388   osf-core.lo)		COREFLAG=-DOSF_CORE ;;
   16389   ptrace-core.lo)	COREFLAG=-DPTRACE_CORE ;;
   16390   rs6000-core.lo)	COREFLAG="$COREFLAG -DAIX_CORE" ;;
   16391   trad-core.lo)		COREFLAG="$COREFLAG -DTRAD_CORE" ;;
   16392   esac
   16393 
   16394   # ELF corefile support has several flavors, but all of
   16395   # them use something called <sys/procfs.h>
   16396 
   16397 $as_echo "#define _STRUCTURED_PROC 1" >>confdefs.h
   16398 
   16399  for ac_header in sys/procfs.h
   16400 do :
   16401   ac_fn_c_check_header_mongrel "$LINENO" "sys/procfs.h" "ac_cv_header_sys_procfs_h" "$ac_includes_default"
   16402 if test "x$ac_cv_header_sys_procfs_h" = xyes; then :
   16403   cat >>confdefs.h <<_ACEOF
   16404 #define HAVE_SYS_PROCFS_H 1
   16405 _ACEOF
   16406 
   16407 fi
   16408 
   16409 done
   16410 
   16411   if test "$ac_cv_header_sys_procfs_h" = yes; then
   16412 
   16413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus_t in sys/procfs.h" >&5
   16414 $as_echo_n "checking for prstatus_t in sys/procfs.h... " >&6; }
   16415  if ${bfd_cv_have_sys_procfs_type_prstatus_t+:} false; then :
   16416   $as_echo_n "(cached) " >&6
   16417 else
   16418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16419 /* end confdefs.h.  */
   16420 
   16421 #define _SYSCALL32
   16422 #include <sys/procfs.h>
   16423 int
   16424 main ()
   16425 {
   16426 prstatus_t avar
   16427   ;
   16428   return 0;
   16429 }
   16430 _ACEOF
   16431 if ac_fn_c_try_compile "$LINENO"; then :
   16432   bfd_cv_have_sys_procfs_type_prstatus_t=yes
   16433 else
   16434   bfd_cv_have_sys_procfs_type_prstatus_t=no
   16435 
   16436 fi
   16437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16438 fi
   16439 
   16440  if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
   16441 
   16442 $as_echo "#define HAVE_PRSTATUS_T 1" >>confdefs.h
   16443 
   16444  fi
   16445  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
   16446 $as_echo "$bfd_cv_have_sys_procfs_type_prstatus_t" >&6; }
   16447 
   16448 
   16449  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus32_t in sys/procfs.h" >&5
   16450 $as_echo_n "checking for prstatus32_t in sys/procfs.h... " >&6; }
   16451  if ${bfd_cv_have_sys_procfs_type_prstatus32_t+:} false; then :
   16452   $as_echo_n "(cached) " >&6
   16453 else
   16454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16455 /* end confdefs.h.  */
   16456 
   16457 #define _SYSCALL32
   16458 #include <sys/procfs.h>
   16459 int
   16460 main ()
   16461 {
   16462 prstatus32_t avar
   16463   ;
   16464   return 0;
   16465 }
   16466 _ACEOF
   16467 if ac_fn_c_try_compile "$LINENO"; then :
   16468   bfd_cv_have_sys_procfs_type_prstatus32_t=yes
   16469 else
   16470   bfd_cv_have_sys_procfs_type_prstatus32_t=no
   16471 
   16472 fi
   16473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16474 fi
   16475 
   16476  if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
   16477 
   16478 $as_echo "#define HAVE_PRSTATUS32_T 1" >>confdefs.h
   16479 
   16480  fi
   16481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
   16482 $as_echo "$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6; }
   16483 
   16484 
   16485  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus_t.pr_who in sys/procfs.h" >&5
   16486 $as_echo_n "checking for prstatus_t.pr_who in sys/procfs.h... " >&6; }
   16487  if ${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+:} false; then :
   16488   $as_echo_n "(cached) " >&6
   16489 else
   16490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16491 /* end confdefs.h.  */
   16492 
   16493 #define _SYSCALL32
   16494 #include <sys/procfs.h>
   16495 int
   16496 main ()
   16497 {
   16498 prstatus_t avar; void* aref = (void*) &avar.pr_who
   16499   ;
   16500   return 0;
   16501 }
   16502 _ACEOF
   16503 if ac_fn_c_try_compile "$LINENO"; then :
   16504   bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
   16505 else
   16506   bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no
   16507 
   16508 fi
   16509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16510 fi
   16511 
   16512  if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
   16513 
   16514 $as_echo "#define HAVE_PRSTATUS_T_PR_WHO 1" >>confdefs.h
   16515 
   16516  fi
   16517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
   16518 $as_echo "$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6; }
   16519 
   16520 
   16521  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
   16522 $as_echo_n "checking for prstatus32_t.pr_who in sys/procfs.h... " >&6; }
   16523  if ${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+:} false; then :
   16524   $as_echo_n "(cached) " >&6
   16525 else
   16526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16527 /* end confdefs.h.  */
   16528 
   16529 #define _SYSCALL32
   16530 #include <sys/procfs.h>
   16531 int
   16532 main ()
   16533 {
   16534 prstatus32_t avar; void* aref = (void*) &avar.pr_who
   16535   ;
   16536   return 0;
   16537 }
   16538 _ACEOF
   16539 if ac_fn_c_try_compile "$LINENO"; then :
   16540   bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
   16541 else
   16542   bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no
   16543 
   16544 fi
   16545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16546 fi
   16547 
   16548  if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
   16549 
   16550 $as_echo "#define HAVE_PRSTATUS32_T_PR_WHO 1" >>confdefs.h
   16551 
   16552  fi
   16553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
   16554 $as_echo "$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6; }
   16555 
   16556 
   16557  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pstatus_t in sys/procfs.h" >&5
   16558 $as_echo_n "checking for pstatus_t in sys/procfs.h... " >&6; }
   16559  if ${bfd_cv_have_sys_procfs_type_pstatus_t+:} false; then :
   16560   $as_echo_n "(cached) " >&6
   16561 else
   16562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16563 /* end confdefs.h.  */
   16564 
   16565 #define _SYSCALL32
   16566 #include <sys/procfs.h>
   16567 int
   16568 main ()
   16569 {
   16570 pstatus_t avar
   16571   ;
   16572   return 0;
   16573 }
   16574 _ACEOF
   16575 if ac_fn_c_try_compile "$LINENO"; then :
   16576   bfd_cv_have_sys_procfs_type_pstatus_t=yes
   16577 else
   16578   bfd_cv_have_sys_procfs_type_pstatus_t=no
   16579 
   16580 fi
   16581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16582 fi
   16583 
   16584  if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
   16585 
   16586 $as_echo "#define HAVE_PSTATUS_T 1" >>confdefs.h
   16587 
   16588  fi
   16589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
   16590 $as_echo "$bfd_cv_have_sys_procfs_type_pstatus_t" >&6; }
   16591 
   16592 
   16593  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pxstatus_t in sys/procfs.h" >&5
   16594 $as_echo_n "checking for pxstatus_t in sys/procfs.h... " >&6; }
   16595  if ${bfd_cv_have_sys_procfs_type_pxstatus_t+:} false; then :
   16596   $as_echo_n "(cached) " >&6
   16597 else
   16598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16599 /* end confdefs.h.  */
   16600 
   16601 #define _SYSCALL32
   16602 #include <sys/procfs.h>
   16603 int
   16604 main ()
   16605 {
   16606 pxstatus_t avar
   16607   ;
   16608   return 0;
   16609 }
   16610 _ACEOF
   16611 if ac_fn_c_try_compile "$LINENO"; then :
   16612   bfd_cv_have_sys_procfs_type_pxstatus_t=yes
   16613 else
   16614   bfd_cv_have_sys_procfs_type_pxstatus_t=no
   16615 
   16616 fi
   16617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16618 fi
   16619 
   16620  if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
   16621 
   16622 $as_echo "#define HAVE_PXSTATUS_T 1" >>confdefs.h
   16623 
   16624  fi
   16625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
   16626 $as_echo "$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6; }
   16627 
   16628 
   16629  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pstatus32_t in sys/procfs.h" >&5
   16630 $as_echo_n "checking for pstatus32_t in sys/procfs.h... " >&6; }
   16631  if ${bfd_cv_have_sys_procfs_type_pstatus32_t+:} false; then :
   16632   $as_echo_n "(cached) " >&6
   16633 else
   16634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16635 /* end confdefs.h.  */
   16636 
   16637 #define _SYSCALL32
   16638 #include <sys/procfs.h>
   16639 int
   16640 main ()
   16641 {
   16642 pstatus32_t avar
   16643   ;
   16644   return 0;
   16645 }
   16646 _ACEOF
   16647 if ac_fn_c_try_compile "$LINENO"; then :
   16648   bfd_cv_have_sys_procfs_type_pstatus32_t=yes
   16649 else
   16650   bfd_cv_have_sys_procfs_type_pstatus32_t=no
   16651 
   16652 fi
   16653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16654 fi
   16655 
   16656  if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
   16657 
   16658 $as_echo "#define HAVE_PSTATUS32_T 1" >>confdefs.h
   16659 
   16660  fi
   16661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
   16662 $as_echo "$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6; }
   16663 
   16664 
   16665  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo_t in sys/procfs.h" >&5
   16666 $as_echo_n "checking for prpsinfo_t in sys/procfs.h... " >&6; }
   16667  if ${bfd_cv_have_sys_procfs_type_prpsinfo_t+:} false; then :
   16668   $as_echo_n "(cached) " >&6
   16669 else
   16670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16671 /* end confdefs.h.  */
   16672 
   16673 #define _SYSCALL32
   16674 #include <sys/procfs.h>
   16675 int
   16676 main ()
   16677 {
   16678 prpsinfo_t avar
   16679   ;
   16680   return 0;
   16681 }
   16682 _ACEOF
   16683 if ac_fn_c_try_compile "$LINENO"; then :
   16684   bfd_cv_have_sys_procfs_type_prpsinfo_t=yes
   16685 else
   16686   bfd_cv_have_sys_procfs_type_prpsinfo_t=no
   16687 
   16688 fi
   16689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16690 fi
   16691 
   16692  if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
   16693 
   16694 $as_echo "#define HAVE_PRPSINFO_T 1" >>confdefs.h
   16695 
   16696  fi
   16697  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
   16698 $as_echo "$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6; }
   16699 
   16700 
   16701  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo_t.pr_pid in sys/procfs.h" >&5
   16702 $as_echo_n "checking for prpsinfo_t.pr_pid in sys/procfs.h... " >&6; }
   16703  if ${bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid+:} false; then :
   16704   $as_echo_n "(cached) " >&6
   16705 else
   16706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16707 /* end confdefs.h.  */
   16708 
   16709 #define _SYSCALL32
   16710 #include <sys/procfs.h>
   16711 int
   16712 main ()
   16713 {
   16714 prpsinfo_t avar; void* aref = (void*) &avar.pr_pid
   16715   ;
   16716   return 0;
   16717 }
   16718 _ACEOF
   16719 if ac_fn_c_try_compile "$LINENO"; then :
   16720   bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid=yes
   16721 else
   16722   bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid=no
   16723 
   16724 fi
   16725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16726 fi
   16727 
   16728  if test $bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid = yes; then
   16729 
   16730 $as_echo "#define HAVE_PRPSINFO_T_PR_PID 1" >>confdefs.h
   16731 
   16732  fi
   16733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid" >&5
   16734 $as_echo "$bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid" >&6; }
   16735 
   16736 
   16737  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo32_t in sys/procfs.h" >&5
   16738 $as_echo_n "checking for prpsinfo32_t in sys/procfs.h... " >&6; }
   16739  if ${bfd_cv_have_sys_procfs_type_prpsinfo32_t+:} false; then :
   16740   $as_echo_n "(cached) " >&6
   16741 else
   16742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16743 /* end confdefs.h.  */
   16744 
   16745 #define _SYSCALL32
   16746 #include <sys/procfs.h>
   16747 int
   16748 main ()
   16749 {
   16750 prpsinfo32_t avar
   16751   ;
   16752   return 0;
   16753 }
   16754 _ACEOF
   16755 if ac_fn_c_try_compile "$LINENO"; then :
   16756   bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes
   16757 else
   16758   bfd_cv_have_sys_procfs_type_prpsinfo32_t=no
   16759 
   16760 fi
   16761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16762 fi
   16763 
   16764  if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
   16765 
   16766 $as_echo "#define HAVE_PRPSINFO32_T 1" >>confdefs.h
   16767 
   16768  fi
   16769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
   16770 $as_echo "$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6; }
   16771 
   16772 
   16773  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo32_t.pr_pid in sys/procfs.h" >&5
   16774 $as_echo_n "checking for prpsinfo32_t.pr_pid in sys/procfs.h... " >&6; }
   16775  if ${bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid+:} false; then :
   16776   $as_echo_n "(cached) " >&6
   16777 else
   16778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16779 /* end confdefs.h.  */
   16780 
   16781 #define _SYSCALL32
   16782 #include <sys/procfs.h>
   16783 int
   16784 main ()
   16785 {
   16786 prpsinfo32_t avar; void* aref = (void*) &avar.pr_pid
   16787   ;
   16788   return 0;
   16789 }
   16790 _ACEOF
   16791 if ac_fn_c_try_compile "$LINENO"; then :
   16792   bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid=yes
   16793 else
   16794   bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid=no
   16795 
   16796 fi
   16797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16798 fi
   16799 
   16800  if test $bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid = yes; then
   16801 
   16802 $as_echo "#define HAVE_PRPSINFO32_T_PR_PID 1" >>confdefs.h
   16803 
   16804  fi
   16805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid" >&5
   16806 $as_echo "$bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid" >&6; }
   16807 
   16808 
   16809  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo_t in sys/procfs.h" >&5
   16810 $as_echo_n "checking for psinfo_t in sys/procfs.h... " >&6; }
   16811  if ${bfd_cv_have_sys_procfs_type_psinfo_t+:} false; then :
   16812   $as_echo_n "(cached) " >&6
   16813 else
   16814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16815 /* end confdefs.h.  */
   16816 
   16817 #define _SYSCALL32
   16818 #include <sys/procfs.h>
   16819 int
   16820 main ()
   16821 {
   16822 psinfo_t avar
   16823   ;
   16824   return 0;
   16825 }
   16826 _ACEOF
   16827 if ac_fn_c_try_compile "$LINENO"; then :
   16828   bfd_cv_have_sys_procfs_type_psinfo_t=yes
   16829 else
   16830   bfd_cv_have_sys_procfs_type_psinfo_t=no
   16831 
   16832 fi
   16833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16834 fi
   16835 
   16836  if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
   16837 
   16838 $as_echo "#define HAVE_PSINFO_T 1" >>confdefs.h
   16839 
   16840  fi
   16841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
   16842 $as_echo "$bfd_cv_have_sys_procfs_type_psinfo_t" >&6; }
   16843 
   16844 
   16845  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo_t.pr_pid in sys/procfs.h" >&5
   16846 $as_echo_n "checking for psinfo_t.pr_pid in sys/procfs.h... " >&6; }
   16847  if ${bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid+:} false; then :
   16848   $as_echo_n "(cached) " >&6
   16849 else
   16850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16851 /* end confdefs.h.  */
   16852 
   16853 #define _SYSCALL32
   16854 #include <sys/procfs.h>
   16855 int
   16856 main ()
   16857 {
   16858 psinfo_t avar; void* aref = (void*) &avar.pr_pid
   16859   ;
   16860   return 0;
   16861 }
   16862 _ACEOF
   16863 if ac_fn_c_try_compile "$LINENO"; then :
   16864   bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid=yes
   16865 else
   16866   bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid=no
   16867 
   16868 fi
   16869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16870 fi
   16871 
   16872  if test $bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid = yes; then
   16873 
   16874 $as_echo "#define HAVE_PSINFO_T_PR_PID 1" >>confdefs.h
   16875 
   16876  fi
   16877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid" >&5
   16878 $as_echo "$bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid" >&6; }
   16879 
   16880 
   16881  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo32_t in sys/procfs.h" >&5
   16882 $as_echo_n "checking for psinfo32_t in sys/procfs.h... " >&6; }
   16883  if ${bfd_cv_have_sys_procfs_type_psinfo32_t+:} false; then :
   16884   $as_echo_n "(cached) " >&6
   16885 else
   16886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16887 /* end confdefs.h.  */
   16888 
   16889 #define _SYSCALL32
   16890 #include <sys/procfs.h>
   16891 int
   16892 main ()
   16893 {
   16894 psinfo32_t avar
   16895   ;
   16896   return 0;
   16897 }
   16898 _ACEOF
   16899 if ac_fn_c_try_compile "$LINENO"; then :
   16900   bfd_cv_have_sys_procfs_type_psinfo32_t=yes
   16901 else
   16902   bfd_cv_have_sys_procfs_type_psinfo32_t=no
   16903 
   16904 fi
   16905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16906 fi
   16907 
   16908  if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
   16909 
   16910 $as_echo "#define HAVE_PSINFO32_T 1" >>confdefs.h
   16911 
   16912  fi
   16913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
   16914 $as_echo "$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6; }
   16915 
   16916 
   16917  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo32_t.pr_pid in sys/procfs.h" >&5
   16918 $as_echo_n "checking for psinfo32_t.pr_pid in sys/procfs.h... " >&6; }
   16919  if ${bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid+:} false; then :
   16920   $as_echo_n "(cached) " >&6
   16921 else
   16922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16923 /* end confdefs.h.  */
   16924 
   16925 #define _SYSCALL32
   16926 #include <sys/procfs.h>
   16927 int
   16928 main ()
   16929 {
   16930 psinfo32_t avar; void* aref = (void*) &avar.pr_pid
   16931   ;
   16932   return 0;
   16933 }
   16934 _ACEOF
   16935 if ac_fn_c_try_compile "$LINENO"; then :
   16936   bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid=yes
   16937 else
   16938   bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid=no
   16939 
   16940 fi
   16941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16942 fi
   16943 
   16944  if test $bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid = yes; then
   16945 
   16946 $as_echo "#define HAVE_PSINFO32_T_PR_PID 1" >>confdefs.h
   16947 
   16948  fi
   16949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid" >&5
   16950 $as_echo "$bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid" >&6; }
   16951 
   16952 
   16953  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t in sys/procfs.h" >&5
   16954 $as_echo_n "checking for lwpstatus_t in sys/procfs.h... " >&6; }
   16955  if ${bfd_cv_have_sys_procfs_type_lwpstatus_t+:} false; then :
   16956   $as_echo_n "(cached) " >&6
   16957 else
   16958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16959 /* end confdefs.h.  */
   16960 
   16961 #define _SYSCALL32
   16962 #include <sys/procfs.h>
   16963 int
   16964 main ()
   16965 {
   16966 lwpstatus_t avar
   16967   ;
   16968   return 0;
   16969 }
   16970 _ACEOF
   16971 if ac_fn_c_try_compile "$LINENO"; then :
   16972   bfd_cv_have_sys_procfs_type_lwpstatus_t=yes
   16973 else
   16974   bfd_cv_have_sys_procfs_type_lwpstatus_t=no
   16975 
   16976 fi
   16977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16978 fi
   16979 
   16980  if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
   16981 
   16982 $as_echo "#define HAVE_LWPSTATUS_T 1" >>confdefs.h
   16983 
   16984  fi
   16985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
   16986 $as_echo "$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6; }
   16987 
   16988 
   16989  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpxstatus_t in sys/procfs.h" >&5
   16990 $as_echo_n "checking for lwpxstatus_t in sys/procfs.h... " >&6; }
   16991  if ${bfd_cv_have_sys_procfs_type_lwpxstatus_t+:} false; then :
   16992   $as_echo_n "(cached) " >&6
   16993 else
   16994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16995 /* end confdefs.h.  */
   16996 
   16997 #define _SYSCALL32
   16998 #include <sys/procfs.h>
   16999 int
   17000 main ()
   17001 {
   17002 lwpxstatus_t avar
   17003   ;
   17004   return 0;
   17005 }
   17006 _ACEOF
   17007 if ac_fn_c_try_compile "$LINENO"; then :
   17008   bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes
   17009 else
   17010   bfd_cv_have_sys_procfs_type_lwpxstatus_t=no
   17011 
   17012 fi
   17013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17014 fi
   17015 
   17016  if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
   17017 
   17018 $as_echo "#define HAVE_LWPXSTATUS_T 1" >>confdefs.h
   17019 
   17020  fi
   17021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
   17022 $as_echo "$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6; }
   17023 
   17024 
   17025  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
   17026 $as_echo_n "checking for lwpstatus_t.pr_context in sys/procfs.h... " >&6; }
   17027  if ${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+:} false; then :
   17028   $as_echo_n "(cached) " >&6
   17029 else
   17030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17031 /* end confdefs.h.  */
   17032 
   17033 #define _SYSCALL32
   17034 #include <sys/procfs.h>
   17035 int
   17036 main ()
   17037 {
   17038 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
   17039   ;
   17040   return 0;
   17041 }
   17042 _ACEOF
   17043 if ac_fn_c_try_compile "$LINENO"; then :
   17044   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes
   17045 else
   17046   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no
   17047 
   17048 fi
   17049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17050 fi
   17051 
   17052  if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
   17053 
   17054 $as_echo "#define HAVE_LWPSTATUS_T_PR_CONTEXT 1" >>confdefs.h
   17055 
   17056  fi
   17057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
   17058 $as_echo "$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6; }
   17059 
   17060 
   17061  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
   17062 $as_echo_n "checking for lwpstatus_t.pr_reg in sys/procfs.h... " >&6; }
   17063  if ${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+:} false; then :
   17064   $as_echo_n "(cached) " >&6
   17065 else
   17066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17067 /* end confdefs.h.  */
   17068 
   17069 #define _SYSCALL32
   17070 #include <sys/procfs.h>
   17071 int
   17072 main ()
   17073 {
   17074 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
   17075   ;
   17076   return 0;
   17077 }
   17078 _ACEOF
   17079 if ac_fn_c_try_compile "$LINENO"; then :
   17080   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes
   17081 else
   17082   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no
   17083 
   17084 fi
   17085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17086 fi
   17087 
   17088  if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
   17089 
   17090 $as_echo "#define HAVE_LWPSTATUS_T_PR_REG 1" >>confdefs.h
   17091 
   17092  fi
   17093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
   17094 $as_echo "$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6; }
   17095 
   17096 
   17097  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t.pr_fpreg in sys/procfs.h" >&5
   17098 $as_echo_n "checking for lwpstatus_t.pr_fpreg in sys/procfs.h... " >&6; }
   17099  if ${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg+:} false; then :
   17100   $as_echo_n "(cached) " >&6
   17101 else
   17102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17103 /* end confdefs.h.  */
   17104 
   17105 #define _SYSCALL32
   17106 #include <sys/procfs.h>
   17107 int
   17108 main ()
   17109 {
   17110 lwpstatus_t avar; void* aref = (void*) &avar.pr_fpreg
   17111   ;
   17112   return 0;
   17113 }
   17114 _ACEOF
   17115 if ac_fn_c_try_compile "$LINENO"; then :
   17116   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg=yes
   17117 else
   17118   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg=no
   17119 
   17120 fi
   17121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17122 fi
   17123 
   17124  if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg = yes; then
   17125 
   17126 $as_echo "#define HAVE_LWPSTATUS_T_PR_FPREG 1" >>confdefs.h
   17127 
   17128  fi
   17129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg" >&5
   17130 $as_echo "$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg" >&6; }
   17131 
   17132 
   17133  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for win32_pstatus_t in sys/procfs.h" >&5
   17134 $as_echo_n "checking for win32_pstatus_t in sys/procfs.h... " >&6; }
   17135  if ${bfd_cv_have_sys_procfs_type_win32_pstatus_t+:} false; then :
   17136   $as_echo_n "(cached) " >&6
   17137 else
   17138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17139 /* end confdefs.h.  */
   17140 
   17141 #define _SYSCALL32
   17142 #include <sys/procfs.h>
   17143 int
   17144 main ()
   17145 {
   17146 win32_pstatus_t avar
   17147   ;
   17148   return 0;
   17149 }
   17150 _ACEOF
   17151 if ac_fn_c_try_compile "$LINENO"; then :
   17152   bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes
   17153 else
   17154   bfd_cv_have_sys_procfs_type_win32_pstatus_t=no
   17155 
   17156 fi
   17157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17158 fi
   17159 
   17160  if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
   17161 
   17162 $as_echo "#define HAVE_WIN32_PSTATUS_T 1" >>confdefs.h
   17163 
   17164  fi
   17165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
   17166 $as_echo "$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6; }
   17167 
   17168   fi
   17169 fi
   17170 
   17171 
   17172 if test -n "$CORE_HEADER"; then
   17173 
   17174 cat >>confdefs.h <<_ACEOF
   17175 #define CORE_HEADER $CORE_HEADER
   17176 _ACEOF
   17177 
   17178 fi
   17179 if test -n "$TRAD_HEADER"; then
   17180 
   17181 cat >>confdefs.h <<_ACEOF
   17182 #define TRAD_HEADER $TRAD_HEADER
   17183 _ACEOF
   17184 
   17185 fi
   17186 
   17187 if test "$plugins" = "yes"; then
   17188   supports_plugins=1
   17189 else
   17190   supports_plugins=0
   17191 fi
   17192 
   17193 
   17194 
   17195 # Determine the host dependent file_ptr a.k.a. off_t type.  In order
   17196 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
   17197 # fseeko, long.  This assumes that sizeof off_t is .ge. sizeof long.
   17198 # Hopefully a reasonable assumption since fseeko et.al. should be
   17199 # upward compatible.
   17200 for ac_func in ftello ftello64 fseeko fseeko64 fopen64
   17201 do :
   17202   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   17203 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   17204 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   17205   cat >>confdefs.h <<_ACEOF
   17206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   17207 _ACEOF
   17208 
   17209 fi
   17210 done
   17211 
   17212 ac_fn_c_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default"
   17213 if test "x$ac_cv_have_decl_ftello" = xyes; then :
   17214   ac_have_decl=1
   17215 else
   17216   ac_have_decl=0
   17217 fi
   17218 
   17219 cat >>confdefs.h <<_ACEOF
   17220 #define HAVE_DECL_FTELLO $ac_have_decl
   17221 _ACEOF
   17222 ac_fn_c_check_decl "$LINENO" "ftello64" "ac_cv_have_decl_ftello64" "$ac_includes_default"
   17223 if test "x$ac_cv_have_decl_ftello64" = xyes; then :
   17224   ac_have_decl=1
   17225 else
   17226   ac_have_decl=0
   17227 fi
   17228 
   17229 cat >>confdefs.h <<_ACEOF
   17230 #define HAVE_DECL_FTELLO64 $ac_have_decl
   17231 _ACEOF
   17232 ac_fn_c_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "$ac_includes_default"
   17233 if test "x$ac_cv_have_decl_fseeko" = xyes; then :
   17234   ac_have_decl=1
   17235 else
   17236   ac_have_decl=0
   17237 fi
   17238 
   17239 cat >>confdefs.h <<_ACEOF
   17240 #define HAVE_DECL_FSEEKO $ac_have_decl
   17241 _ACEOF
   17242 ac_fn_c_check_decl "$LINENO" "fseeko64" "ac_cv_have_decl_fseeko64" "$ac_includes_default"
   17243 if test "x$ac_cv_have_decl_fseeko64" = xyes; then :
   17244   ac_have_decl=1
   17245 else
   17246   ac_have_decl=0
   17247 fi
   17248 
   17249 cat >>confdefs.h <<_ACEOF
   17250 #define HAVE_DECL_FSEEKO64 $ac_have_decl
   17251 _ACEOF
   17252 ac_fn_c_check_decl "$LINENO" "fopen64" "ac_cv_have_decl_fopen64" "$ac_includes_default"
   17253 if test "x$ac_cv_have_decl_fopen64" = xyes; then :
   17254   ac_have_decl=1
   17255 else
   17256   ac_have_decl=0
   17257 fi
   17258 
   17259 cat >>confdefs.h <<_ACEOF
   17260 #define HAVE_DECL_FOPEN64 $ac_have_decl
   17261 _ACEOF
   17262 
   17263 if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then
   17264     # The cast to long int works around a bug in the HP C Compiler
   17265 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   17266 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   17267 # This bug is HP SR number 8606223364.
   17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
   17269 $as_echo_n "checking size of off_t... " >&6; }
   17270 if ${ac_cv_sizeof_off_t+:} false; then :
   17271   $as_echo_n "(cached) " >&6
   17272 else
   17273   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
   17274 
   17275 else
   17276   if test "$ac_cv_type_off_t" = yes; then
   17277      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17279 as_fn_error 77 "cannot compute sizeof (off_t)
   17280 See \`config.log' for more details" "$LINENO" 5; }
   17281    else
   17282      ac_cv_sizeof_off_t=0
   17283    fi
   17284 fi
   17285 
   17286 fi
   17287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
   17288 $as_echo "$ac_cv_sizeof_off_t" >&6; }
   17289 
   17290 
   17291 
   17292 cat >>confdefs.h <<_ACEOF
   17293 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
   17294 _ACEOF
   17295 
   17296 
   17297 fi
   17298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking file_ptr type" >&5
   17299 $as_echo_n "checking file_ptr type... " >&6; }
   17300 bfd_file_ptr="long"
   17301 bfd_ufile_ptr="unsigned long"
   17302 if test x"$ac_cv_func_ftello64" = xyes -a x"$ac_cv_func_fseeko64" = xyes \
   17303 	-o x"${ac_cv_sizeof_off_t}" = x8; then
   17304     bfd_file_ptr=int64_t
   17305     bfd_ufile_ptr=uint64_t
   17306 fi
   17307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_file_ptr" >&5
   17308 $as_echo "$bfd_file_ptr" >&6; }
   17309 
   17310 
   17311 
   17312 
   17313 
   17314 
   17315   for ac_header in $ac_header_list
   17316 do :
   17317   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   17318 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   17319 "
   17320 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   17321   cat >>confdefs.h <<_ACEOF
   17322 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   17323 _ACEOF
   17324 
   17325 fi
   17326 
   17327 done
   17328 
   17329 
   17330 
   17331 
   17332 
   17333 
   17334 
   17335 save_ASAN_OPTIONS="$ASAN_OPTIONS"
   17336   ASAN_OPTIONS=detect_leaks=0
   17337   export ASAN_OPTIONS
   17338 
   17339 for ac_func in getpagesize
   17340 do :
   17341   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   17342 if test "x$ac_cv_func_getpagesize" = xyes; then :
   17343   cat >>confdefs.h <<_ACEOF
   17344 #define HAVE_GETPAGESIZE 1
   17345 _ACEOF
   17346 
   17347 fi
   17348 done
   17349 
   17350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   17351 $as_echo_n "checking for working mmap... " >&6; }
   17352 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
   17353   $as_echo_n "(cached) " >&6
   17354 else
   17355   if test "$cross_compiling" = yes; then :
   17356   ac_cv_func_mmap_fixed_mapped=no
   17357 else
   17358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17359 /* end confdefs.h.  */
   17360 $ac_includes_default
   17361 /* malloc might have been renamed as rpl_malloc. */
   17362 #undef malloc
   17363 
   17364 /* Thanks to Mike Haertel and Jim Avera for this test.
   17365    Here is a matrix of mmap possibilities:
   17366 	mmap private not fixed
   17367 	mmap private fixed at somewhere currently unmapped
   17368 	mmap private fixed at somewhere already mapped
   17369 	mmap shared not fixed
   17370 	mmap shared fixed at somewhere currently unmapped
   17371 	mmap shared fixed at somewhere already mapped
   17372    For private mappings, we should verify that changes cannot be read()
   17373    back from the file, nor mmap's back from the file at a different
   17374    address.  (There have been systems where private was not correctly
   17375    implemented like the infamous i386 svr4.0, and systems where the
   17376    VM page cache was not coherent with the file system buffer cache
   17377    like early versions of FreeBSD and possibly contemporary NetBSD.)
   17378    For shared mappings, we should conversely verify that changes get
   17379    propagated back to all the places they're supposed to be.
   17380 
   17381    Grep wants private fixed already mapped.
   17382    The main things grep needs to know about mmap are:
   17383    * does it exist and is it safe to write into the mmap'd area
   17384    * how to use it (BSD variants)  */
   17385 
   17386 #include <fcntl.h>
   17387 #include <sys/mman.h>
   17388 
   17389 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
   17390 char *malloc ();
   17391 #endif
   17392 
   17393 /* This mess was copied from the GNU getpagesize.h.  */
   17394 #ifndef HAVE_GETPAGESIZE
   17395 # ifdef _SC_PAGESIZE
   17396 #  define getpagesize() sysconf(_SC_PAGESIZE)
   17397 # else /* no _SC_PAGESIZE */
   17398 #  ifdef HAVE_SYS_PARAM_H
   17399 #   include <sys/param.h>
   17400 #   ifdef EXEC_PAGESIZE
   17401 #    define getpagesize() EXEC_PAGESIZE
   17402 #   else /* no EXEC_PAGESIZE */
   17403 #    ifdef NBPG
   17404 #     define getpagesize() NBPG * CLSIZE
   17405 #     ifndef CLSIZE
   17406 #      define CLSIZE 1
   17407 #     endif /* no CLSIZE */
   17408 #    else /* no NBPG */
   17409 #     ifdef NBPC
   17410 #      define getpagesize() NBPC
   17411 #     else /* no NBPC */
   17412 #      ifdef PAGESIZE
   17413 #       define getpagesize() PAGESIZE
   17414 #      endif /* PAGESIZE */
   17415 #     endif /* no NBPC */
   17416 #    endif /* no NBPG */
   17417 #   endif /* no EXEC_PAGESIZE */
   17418 #  else /* no HAVE_SYS_PARAM_H */
   17419 #   define getpagesize() 8192	/* punt totally */
   17420 #  endif /* no HAVE_SYS_PARAM_H */
   17421 # endif /* no _SC_PAGESIZE */
   17422 
   17423 #endif /* no HAVE_GETPAGESIZE */
   17424 
   17425 int
   17426 main ()
   17427 {
   17428   char *data, *data2, *data3;
   17429   const char *cdata2;
   17430   int i, pagesize;
   17431   int fd, fd2;
   17432 
   17433   pagesize = getpagesize ();
   17434 
   17435   /* First, make a file with some known garbage in it. */
   17436   data = (char *) malloc (pagesize);
   17437   if (!data)
   17438     return 1;
   17439   for (i = 0; i < pagesize; ++i)
   17440     *(data + i) = rand ();
   17441   umask (0);
   17442   fd = creat ("conftest.mmap", 0600);
   17443   if (fd < 0)
   17444     return 2;
   17445   if (write (fd, data, pagesize) != pagesize)
   17446     return 3;
   17447   close (fd);
   17448 
   17449   /* Next, check that the tail of a page is zero-filled.  File must have
   17450      non-zero length, otherwise we risk SIGBUS for entire page.  */
   17451   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   17452   if (fd2 < 0)
   17453     return 4;
   17454   cdata2 = "";
   17455   if (write (fd2, cdata2, 1) != 1)
   17456     return 5;
   17457   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   17458   if (data2 == MAP_FAILED)
   17459     return 6;
   17460   for (i = 0; i < pagesize; ++i)
   17461     if (*(data2 + i))
   17462       return 7;
   17463   close (fd2);
   17464   if (munmap (data2, pagesize))
   17465     return 8;
   17466 
   17467   /* Next, try to mmap the file at a fixed address which already has
   17468      something else allocated at it.  If we can, also make sure that
   17469      we see the same garbage.  */
   17470   fd = open ("conftest.mmap", O_RDWR);
   17471   if (fd < 0)
   17472     return 9;
   17473   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   17474 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   17475     return 10;
   17476   for (i = 0; i < pagesize; ++i)
   17477     if (*(data + i) != *(data2 + i))
   17478       return 11;
   17479 
   17480   /* Finally, make sure that changes to the mapped area do not
   17481      percolate back to the file as seen by read().  (This is a bug on
   17482      some variants of i386 svr4.0.)  */
   17483   for (i = 0; i < pagesize; ++i)
   17484     *(data2 + i) = *(data2 + i) + 1;
   17485   data3 = (char *) malloc (pagesize);
   17486   if (!data3)
   17487     return 12;
   17488   if (read (fd, data3, pagesize) != pagesize)
   17489     return 13;
   17490   for (i = 0; i < pagesize; ++i)
   17491     if (*(data + i) != *(data3 + i))
   17492       return 14;
   17493   close (fd);
   17494   return 0;
   17495 }
   17496 _ACEOF
   17497 if ac_fn_c_try_run "$LINENO"; then :
   17498   ac_cv_func_mmap_fixed_mapped=yes
   17499 else
   17500   ac_cv_func_mmap_fixed_mapped=no
   17501 fi
   17502 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   17503   conftest.$ac_objext conftest.beam conftest.$ac_ext
   17504 fi
   17505 
   17506 fi
   17507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   17508 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
   17509 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   17510 
   17511 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
   17512 
   17513 fi
   17514 rm -f conftest.mmap conftest.txt
   17515 
   17516   ASAN_OPTIONS="$save_ASAN_OPTIONS"
   17517 
   17518 for ac_func in madvise mprotect
   17519 do :
   17520   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   17521 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   17522 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   17523   cat >>confdefs.h <<_ACEOF
   17524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   17525 _ACEOF
   17526 
   17527 fi
   17528 done
   17529 
   17530 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
   17531   true+yes )
   17532 $as_echo "#define USE_MMAP 1" >>confdefs.h
   17533  ;;
   17534 esac
   17535 
   17536 ac_config_files="$ac_config_files Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
   17537 
   17538 
   17539 ac_config_commands="$ac_config_commands default"
   17540 
   17541 
   17542 
   17543 
   17544 
   17545 
   17546 
   17547 cat >confcache <<\_ACEOF
   17548 # This file is a shell script that caches the results of configure
   17549 # tests run on this system so they can be shared between configure
   17550 # scripts and configure runs, see configure's option --config-cache.
   17551 # It is not useful on other systems.  If it contains results you don't
   17552 # want to keep, you may remove or edit it.
   17553 #
   17554 # config.status only pays attention to the cache file if you give it
   17555 # the --recheck option to rerun configure.
   17556 #
   17557 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17558 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17559 # following values.
   17560 
   17561 _ACEOF
   17562 
   17563 # The following way of writing the cache mishandles newlines in values,
   17564 # but we know of no workaround that is simple, portable, and efficient.
   17565 # So, we kill variables containing newlines.
   17566 # Ultrix sh set writes to stderr and can't be redirected directly,
   17567 # and sets the high bit in the cache file unless we assign to the vars.
   17568 (
   17569   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17570     eval ac_val=\$$ac_var
   17571     case $ac_val in #(
   17572     *${as_nl}*)
   17573       case $ac_var in #(
   17574       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17575 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17576       esac
   17577       case $ac_var in #(
   17578       _ | IFS | as_nl) ;; #(
   17579       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17580       *) { eval $ac_var=; unset $ac_var;} ;;
   17581       esac ;;
   17582     esac
   17583   done
   17584 
   17585   (set) 2>&1 |
   17586     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17587     *${as_nl}ac_space=\ *)
   17588       # `set' does not quote correctly, so add quotes: double-quote
   17589       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17590       sed -n \
   17591 	"s/'/'\\\\''/g;
   17592 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17593       ;; #(
   17594     *)
   17595       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17596       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17597       ;;
   17598     esac |
   17599     sort
   17600 ) |
   17601   sed '
   17602      /^ac_cv_env_/b end
   17603      t clear
   17604      :clear
   17605      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17606      t end
   17607      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17608      :end' >>confcache
   17609 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17610   if test -w "$cache_file"; then
   17611     if test "x$cache_file" != "x/dev/null"; then
   17612       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17613 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17614       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17615 	cat confcache >"$cache_file"
   17616       else
   17617         case $cache_file in #(
   17618         */* | ?:*)
   17619 	  mv -f confcache "$cache_file"$$ &&
   17620 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17621         *)
   17622 	  mv -f confcache "$cache_file" ;;
   17623 	esac
   17624       fi
   17625     fi
   17626   else
   17627     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17628 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17629   fi
   17630 fi
   17631 rm -f confcache
   17632 
   17633 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17634 # Let make expand exec_prefix.
   17635 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17636 
   17637 DEFS=-DHAVE_CONFIG_H
   17638 
   17639 ac_libobjs=
   17640 ac_ltlibobjs=
   17641 U=
   17642 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17643   # 1. Remove the extension, and $U if already installed.
   17644   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17645   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17646   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17647   #    will be set to the directory where LIBOBJS objects are built.
   17648   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17649   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17650 done
   17651 LIBOBJS=$ac_libobjs
   17652 
   17653 LTLIBOBJS=$ac_ltlibobjs
   17654 
   17655 
   17656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17657 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17658    if test -n "$am_sleep_pid"; then
   17659      # Hide warnings about reused PIDs.
   17660      wait $am_sleep_pid 2>/dev/null
   17661    fi
   17662    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17663 $as_echo "done" >&6; }
   17664  if test -n "$EXEEXT"; then
   17665   am__EXEEXT_TRUE=
   17666   am__EXEEXT_FALSE='#'
   17667 else
   17668   am__EXEEXT_TRUE='#'
   17669   am__EXEEXT_FALSE=
   17670 fi
   17671 
   17672 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17673   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17675 fi
   17676 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17677   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17679 fi
   17680 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
   17681   as_fn_error $? "conditional \"PLUGINS\" was never defined.
   17682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17683 fi
   17684 if test -z "${ENABLE_BFD_64_BIT_TRUE}" && test -z "${ENABLE_BFD_64_BIT_FALSE}"; then
   17685   as_fn_error $? "conditional \"ENABLE_BFD_64_BIT\" was never defined.
   17686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17687 fi
   17688 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   17689   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   17690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17691 fi
   17692 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
   17693   as_fn_error $? "conditional \"GENINSRC_NEVER\" was never defined.
   17694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17695 fi
   17696 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
   17697   as_fn_error $? "conditional \"INSTALL_LIBBFD\" was never defined.
   17698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17699 fi
   17700 
   17701 
   17702 : "${CONFIG_STATUS=./config.status}"
   17703 ac_write_fail=0
   17704 ac_clean_files_save=$ac_clean_files
   17705 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17706 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17707 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17708 as_write_fail=0
   17709 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17710 #! $SHELL
   17711 # Generated by $as_me.
   17712 # Run this file to recreate the current configuration.
   17713 # Compiler output produced by configure, useful for debugging
   17714 # configure, is in config.log if it exists.
   17715 
   17716 debug=false
   17717 ac_cs_recheck=false
   17718 ac_cs_silent=false
   17719 
   17720 SHELL=\${CONFIG_SHELL-$SHELL}
   17721 export SHELL
   17722 _ASEOF
   17723 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17724 ## -------------------- ##
   17725 ## M4sh Initialization. ##
   17726 ## -------------------- ##
   17727 
   17728 # Be more Bourne compatible
   17729 DUALCASE=1; export DUALCASE # for MKS sh
   17730 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17731   emulate sh
   17732   NULLCMD=:
   17733   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17734   # is contrary to our usage.  Disable this feature.
   17735   alias -g '${1+"$@"}'='"$@"'
   17736   setopt NO_GLOB_SUBST
   17737 else
   17738   case `(set -o) 2>/dev/null` in #(
   17739   *posix*) :
   17740     set -o posix ;; #(
   17741   *) :
   17742      ;;
   17743 esac
   17744 fi
   17745 
   17746 
   17747 as_nl='
   17748 '
   17749 export as_nl
   17750 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17751 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17752 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17753 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17754 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17755 # but without wasting forks for bash or zsh.
   17756 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17757     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17758   as_echo='print -r --'
   17759   as_echo_n='print -rn --'
   17760 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17761   as_echo='printf %s\n'
   17762   as_echo_n='printf %s'
   17763 else
   17764   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17765     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17766     as_echo_n='/usr/ucb/echo -n'
   17767   else
   17768     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17769     as_echo_n_body='eval
   17770       arg=$1;
   17771       case $arg in #(
   17772       *"$as_nl"*)
   17773 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17774 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17775       esac;
   17776       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17777     '
   17778     export as_echo_n_body
   17779     as_echo_n='sh -c $as_echo_n_body as_echo'
   17780   fi
   17781   export as_echo_body
   17782   as_echo='sh -c $as_echo_body as_echo'
   17783 fi
   17784 
   17785 # The user is always right.
   17786 if test "${PATH_SEPARATOR+set}" != set; then
   17787   PATH_SEPARATOR=:
   17788   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17789     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17790       PATH_SEPARATOR=';'
   17791   }
   17792 fi
   17793 
   17794 
   17795 # IFS
   17796 # We need space, tab and new line, in precisely that order.  Quoting is
   17797 # there to prevent editors from complaining about space-tab.
   17798 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17799 # splitting by setting IFS to empty value.)
   17800 IFS=" ""	$as_nl"
   17801 
   17802 # Find who we are.  Look in the path if we contain no directory separator.
   17803 as_myself=
   17804 case $0 in #((
   17805   *[\\/]* ) as_myself=$0 ;;
   17806   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17807 for as_dir in $PATH
   17808 do
   17809   IFS=$as_save_IFS
   17810   test -z "$as_dir" && as_dir=.
   17811     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   17812   done
   17813 IFS=$as_save_IFS
   17814 
   17815      ;;
   17816 esac
   17817 # We did not find ourselves, most probably we were run as `sh COMMAND'
   17818 # in which case we are not to be found in the path.
   17819 if test "x$as_myself" = x; then
   17820   as_myself=$0
   17821 fi
   17822 if test ! -f "$as_myself"; then
   17823   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   17824   exit 1
   17825 fi
   17826 
   17827 # Unset variables that we do not need and which cause bugs (e.g. in
   17828 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   17829 # suppresses any "Segmentation fault" message there.  '((' could
   17830 # trigger a bug in pdksh 5.2.14.
   17831 for as_var in BASH_ENV ENV MAIL MAILPATH
   17832 do eval test x\${$as_var+set} = xset \
   17833   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   17834 done
   17835 PS1='$ '
   17836 PS2='> '
   17837 PS4='+ '
   17838 
   17839 # NLS nuisances.
   17840 LC_ALL=C
   17841 export LC_ALL
   17842 LANGUAGE=C
   17843 export LANGUAGE
   17844 
   17845 # CDPATH.
   17846 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17847 
   17848 
   17849 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   17850 # ----------------------------------------
   17851 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   17852 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   17853 # script with STATUS, using 1 if that was 0.
   17854 as_fn_error ()
   17855 {
   17856   as_status=$1; test $as_status -eq 0 && as_status=1
   17857   if test "$4"; then
   17858     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   17859     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   17860   fi
   17861   $as_echo "$as_me: error: $2" >&2
   17862   as_fn_exit $as_status
   17863 } # as_fn_error
   17864 
   17865 
   17866 # as_fn_set_status STATUS
   17867 # -----------------------
   17868 # Set $? to STATUS, without forking.
   17869 as_fn_set_status ()
   17870 {
   17871   return $1
   17872 } # as_fn_set_status
   17873 
   17874 # as_fn_exit STATUS
   17875 # -----------------
   17876 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   17877 as_fn_exit ()
   17878 {
   17879   set +e
   17880   as_fn_set_status $1
   17881   exit $1
   17882 } # as_fn_exit
   17883 
   17884 # as_fn_unset VAR
   17885 # ---------------
   17886 # Portably unset VAR.
   17887 as_fn_unset ()
   17888 {
   17889   { eval $1=; unset $1;}
   17890 }
   17891 as_unset=as_fn_unset
   17892 # as_fn_append VAR VALUE
   17893 # ----------------------
   17894 # Append the text in VALUE to the end of the definition contained in VAR. Take
   17895 # advantage of any shell optimizations that allow amortized linear growth over
   17896 # repeated appends, instead of the typical quadratic growth present in naive
   17897 # implementations.
   17898 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   17899   eval 'as_fn_append ()
   17900   {
   17901     eval $1+=\$2
   17902   }'
   17903 else
   17904   as_fn_append ()
   17905   {
   17906     eval $1=\$$1\$2
   17907   }
   17908 fi # as_fn_append
   17909 
   17910 # as_fn_arith ARG...
   17911 # ------------------
   17912 # Perform arithmetic evaluation on the ARGs, and store the result in the
   17913 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   17914 # must be portable across $(()) and expr.
   17915 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   17916   eval 'as_fn_arith ()
   17917   {
   17918     as_val=$(( $* ))
   17919   }'
   17920 else
   17921   as_fn_arith ()
   17922   {
   17923     as_val=`expr "$@" || test $? -eq 1`
   17924   }
   17925 fi # as_fn_arith
   17926 
   17927 
   17928 if expr a : '\(a\)' >/dev/null 2>&1 &&
   17929    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   17930   as_expr=expr
   17931 else
   17932   as_expr=false
   17933 fi
   17934 
   17935 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   17936   as_basename=basename
   17937 else
   17938   as_basename=false
   17939 fi
   17940 
   17941 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   17942   as_dirname=dirname
   17943 else
   17944   as_dirname=false
   17945 fi
   17946 
   17947 as_me=`$as_basename -- "$0" ||
   17948 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   17949 	 X"$0" : 'X\(//\)$' \| \
   17950 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   17951 $as_echo X/"$0" |
   17952     sed '/^.*\/\([^/][^/]*\)\/*$/{
   17953 	    s//\1/
   17954 	    q
   17955 	  }
   17956 	  /^X\/\(\/\/\)$/{
   17957 	    s//\1/
   17958 	    q
   17959 	  }
   17960 	  /^X\/\(\/\).*/{
   17961 	    s//\1/
   17962 	    q
   17963 	  }
   17964 	  s/.*/./; q'`
   17965 
   17966 # Avoid depending upon Character Ranges.
   17967 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   17968 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   17969 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   17970 as_cr_digits='0123456789'
   17971 as_cr_alnum=$as_cr_Letters$as_cr_digits
   17972 
   17973 ECHO_C= ECHO_N= ECHO_T=
   17974 case `echo -n x` in #(((((
   17975 -n*)
   17976   case `echo 'xy\c'` in
   17977   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   17978   xy)  ECHO_C='\c';;
   17979   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   17980        ECHO_T='	';;
   17981   esac;;
   17982 *)
   17983   ECHO_N='-n';;
   17984 esac
   17985 
   17986 rm -f conf$$ conf$$.exe conf$$.file
   17987 if test -d conf$$.dir; then
   17988   rm -f conf$$.dir/conf$$.file
   17989 else
   17990   rm -f conf$$.dir
   17991   mkdir conf$$.dir 2>/dev/null
   17992 fi
   17993 if (echo >conf$$.file) 2>/dev/null; then
   17994   if ln -s conf$$.file conf$$ 2>/dev/null; then
   17995     as_ln_s='ln -s'
   17996     # ... but there are two gotchas:
   17997     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   17998     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   17999     # In both cases, we have to default to `cp -pR'.
   18000     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18001       as_ln_s='cp -pR'
   18002   elif ln conf$$.file conf$$ 2>/dev/null; then
   18003     as_ln_s=ln
   18004   else
   18005     as_ln_s='cp -pR'
   18006   fi
   18007 else
   18008   as_ln_s='cp -pR'
   18009 fi
   18010 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18011 rmdir conf$$.dir 2>/dev/null
   18012 
   18013 
   18014 # as_fn_mkdir_p
   18015 # -------------
   18016 # Create "$as_dir" as a directory, including parents if necessary.
   18017 as_fn_mkdir_p ()
   18018 {
   18019 
   18020   case $as_dir in #(
   18021   -*) as_dir=./$as_dir;;
   18022   esac
   18023   test -d "$as_dir" || eval $as_mkdir_p || {
   18024     as_dirs=
   18025     while :; do
   18026       case $as_dir in #(
   18027       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18028       *) as_qdir=$as_dir;;
   18029       esac
   18030       as_dirs="'$as_qdir' $as_dirs"
   18031       as_dir=`$as_dirname -- "$as_dir" ||
   18032 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18033 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18034 	 X"$as_dir" : 'X\(//\)$' \| \
   18035 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18036 $as_echo X"$as_dir" |
   18037     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18038 	    s//\1/
   18039 	    q
   18040 	  }
   18041 	  /^X\(\/\/\)[^/].*/{
   18042 	    s//\1/
   18043 	    q
   18044 	  }
   18045 	  /^X\(\/\/\)$/{
   18046 	    s//\1/
   18047 	    q
   18048 	  }
   18049 	  /^X\(\/\).*/{
   18050 	    s//\1/
   18051 	    q
   18052 	  }
   18053 	  s/.*/./; q'`
   18054       test -d "$as_dir" && break
   18055     done
   18056     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18057   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18058 
   18059 
   18060 } # as_fn_mkdir_p
   18061 if mkdir -p . 2>/dev/null; then
   18062   as_mkdir_p='mkdir -p "$as_dir"'
   18063 else
   18064   test -d ./-p && rmdir ./-p
   18065   as_mkdir_p=false
   18066 fi
   18067 
   18068 
   18069 # as_fn_executable_p FILE
   18070 # -----------------------
   18071 # Test if FILE is an executable regular file.
   18072 as_fn_executable_p ()
   18073 {
   18074   test -f "$1" && test -x "$1"
   18075 } # as_fn_executable_p
   18076 as_test_x='test -x'
   18077 as_executable_p=as_fn_executable_p
   18078 
   18079 # Sed expression to map a string onto a valid CPP name.
   18080 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18081 
   18082 # Sed expression to map a string onto a valid variable name.
   18083 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18084 
   18085 
   18086 exec 6>&1
   18087 ## ----------------------------------- ##
   18088 ## Main body of $CONFIG_STATUS script. ##
   18089 ## ----------------------------------- ##
   18090 _ASEOF
   18091 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18092 
   18093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18094 # Save the log message, to keep $0 and so on meaningful, and to
   18095 # report actual input values of CONFIG_FILES etc. instead of their
   18096 # values after options handling.
   18097 ac_log="
   18098 This file was extended by bfd $as_me 2.43.50, which was
   18099 generated by GNU Autoconf 2.69.  Invocation command line was
   18100 
   18101   CONFIG_FILES    = $CONFIG_FILES
   18102   CONFIG_HEADERS  = $CONFIG_HEADERS
   18103   CONFIG_LINKS    = $CONFIG_LINKS
   18104   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18105   $ $0 $@
   18106 
   18107 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18108 "
   18109 
   18110 _ACEOF
   18111 
   18112 case $ac_config_files in *"
   18113 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18114 esac
   18115 
   18116 case $ac_config_headers in *"
   18117 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18118 esac
   18119 
   18120 
   18121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18122 # Files that config.status was made for.
   18123 config_files="$ac_config_files"
   18124 config_headers="$ac_config_headers"
   18125 config_commands="$ac_config_commands"
   18126 
   18127 _ACEOF
   18128 
   18129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18130 ac_cs_usage="\
   18131 \`$as_me' instantiates files and other configuration actions
   18132 from templates according to the current configuration.  Unless the files
   18133 and actions are specified as TAGs, all are instantiated by default.
   18134 
   18135 Usage: $0 [OPTION]... [TAG]...
   18136 
   18137   -h, --help       print this help, then exit
   18138   -V, --version    print version number and configuration settings, then exit
   18139       --config     print configuration, then exit
   18140   -q, --quiet, --silent
   18141                    do not print progress messages
   18142   -d, --debug      don't remove temporary files
   18143       --recheck    update $as_me by reconfiguring in the same conditions
   18144       --file=FILE[:TEMPLATE]
   18145                    instantiate the configuration file FILE
   18146       --header=FILE[:TEMPLATE]
   18147                    instantiate the configuration header FILE
   18148 
   18149 Configuration files:
   18150 $config_files
   18151 
   18152 Configuration headers:
   18153 $config_headers
   18154 
   18155 Configuration commands:
   18156 $config_commands
   18157 
   18158 Report bugs to the package provider."
   18159 
   18160 _ACEOF
   18161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18162 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18163 ac_cs_version="\\
   18164 bfd config.status 2.43.50
   18165 configured by $0, generated by GNU Autoconf 2.69,
   18166   with options \\"\$ac_cs_config\\"
   18167 
   18168 Copyright (C) 2012 Free Software Foundation, Inc.
   18169 This config.status script is free software; the Free Software Foundation
   18170 gives unlimited permission to copy, distribute and modify it."
   18171 
   18172 ac_pwd='$ac_pwd'
   18173 srcdir='$srcdir'
   18174 INSTALL='$INSTALL'
   18175 MKDIR_P='$MKDIR_P'
   18176 AWK='$AWK'
   18177 test -n "\$AWK" || AWK=awk
   18178 _ACEOF
   18179 
   18180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18181 # The default lists apply if the user does not specify any file.
   18182 ac_need_defaults=:
   18183 while test $# != 0
   18184 do
   18185   case $1 in
   18186   --*=?*)
   18187     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18188     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18189     ac_shift=:
   18190     ;;
   18191   --*=)
   18192     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18193     ac_optarg=
   18194     ac_shift=:
   18195     ;;
   18196   *)
   18197     ac_option=$1
   18198     ac_optarg=$2
   18199     ac_shift=shift
   18200     ;;
   18201   esac
   18202 
   18203   case $ac_option in
   18204   # Handling of the options.
   18205   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18206     ac_cs_recheck=: ;;
   18207   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18208     $as_echo "$ac_cs_version"; exit ;;
   18209   --config | --confi | --conf | --con | --co | --c )
   18210     $as_echo "$ac_cs_config"; exit ;;
   18211   --debug | --debu | --deb | --de | --d | -d )
   18212     debug=: ;;
   18213   --file | --fil | --fi | --f )
   18214     $ac_shift
   18215     case $ac_optarg in
   18216     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18217     '') as_fn_error $? "missing file argument" ;;
   18218     esac
   18219     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18220     ac_need_defaults=false;;
   18221   --header | --heade | --head | --hea )
   18222     $ac_shift
   18223     case $ac_optarg in
   18224     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18225     esac
   18226     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18227     ac_need_defaults=false;;
   18228   --he | --h)
   18229     # Conflict between --help and --header
   18230     as_fn_error $? "ambiguous option: \`$1'
   18231 Try \`$0 --help' for more information.";;
   18232   --help | --hel | -h )
   18233     $as_echo "$ac_cs_usage"; exit ;;
   18234   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18235   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18236     ac_cs_silent=: ;;
   18237 
   18238   # This is an error.
   18239   -*) as_fn_error $? "unrecognized option: \`$1'
   18240 Try \`$0 --help' for more information." ;;
   18241 
   18242   *) as_fn_append ac_config_targets " $1"
   18243      ac_need_defaults=false ;;
   18244 
   18245   esac
   18246   shift
   18247 done
   18248 
   18249 ac_configure_extra_args=
   18250 
   18251 if $ac_cs_silent; then
   18252   exec 6>/dev/null
   18253   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18254 fi
   18255 
   18256 _ACEOF
   18257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18258 if \$ac_cs_recheck; then
   18259   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18260   shift
   18261   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18262   CONFIG_SHELL='$SHELL'
   18263   export CONFIG_SHELL
   18264   exec "\$@"
   18265 fi
   18266 
   18267 _ACEOF
   18268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18269 exec 5>>config.log
   18270 {
   18271   echo
   18272   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18273 ## Running $as_me. ##
   18274 _ASBOX
   18275   $as_echo "$ac_log"
   18276 } >&5
   18277 
   18278 _ACEOF
   18279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18280 #
   18281 # INIT-COMMANDS
   18282 #
   18283 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18284 
   18285 
   18286 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18287 # if CDPATH is set.
   18288 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18289 
   18290 sed_quote_subst='$sed_quote_subst'
   18291 double_quote_subst='$double_quote_subst'
   18292 delay_variable_subst='$delay_variable_subst'
   18293 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18294 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18295 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18296 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18297 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18298 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18299 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18300 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18301 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18302 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18303 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18304 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18305 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18306 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18307 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18308 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18309 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18310 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18311 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18312 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18313 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18314 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18315 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18316 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18317 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18318 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18319 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18320 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18321 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18322 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18323 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18324 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18325 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18326 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18327 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18328 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18329 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18330 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18331 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18332 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18333 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18334 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18335 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18336 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18337 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18338 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18339 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18340 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18341 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"`'
   18342 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18343 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18344 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18345 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18346 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18347 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18348 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18349 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18350 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18351 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18352 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18353 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18354 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18355 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18356 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18357 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18358 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18359 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18360 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18361 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18362 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18363 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18364 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18365 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18366 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18367 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18368 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18369 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18370 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18371 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18372 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18373 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   18374 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18375 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18376 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18377 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18378 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18379 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18380 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18381 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18382 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   18383 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18384 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18385 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18386 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18387 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18388 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18389 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18390 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18391 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18392 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18393 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18394 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18395 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18396 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18397 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18398 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18399 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18400 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18401 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18402 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18403 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18404 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18405 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18406 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18407 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18408 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18409 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18410 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18411 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18412 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18413 
   18414 LTCC='$LTCC'
   18415 LTCFLAGS='$LTCFLAGS'
   18416 compiler='$compiler_DEFAULT'
   18417 
   18418 # A function that is used when there is no print builtin or printf.
   18419 func_fallback_echo ()
   18420 {
   18421   eval 'cat <<_LTECHO_EOF
   18422 \$1
   18423 _LTECHO_EOF'
   18424 }
   18425 
   18426 # Quote evaled strings.
   18427 for var in SHELL \
   18428 ECHO \
   18429 SED \
   18430 GREP \
   18431 EGREP \
   18432 FGREP \
   18433 LD \
   18434 NM \
   18435 LN_S \
   18436 lt_SP2NL \
   18437 lt_NL2SP \
   18438 reload_flag \
   18439 OBJDUMP \
   18440 deplibs_check_method \
   18441 file_magic_cmd \
   18442 AR \
   18443 AR_FLAGS \
   18444 STRIP \
   18445 RANLIB \
   18446 CC \
   18447 CFLAGS \
   18448 compiler \
   18449 lt_cv_sys_global_symbol_pipe \
   18450 lt_cv_sys_global_symbol_to_cdecl \
   18451 lt_cv_sys_global_symbol_to_c_name_address \
   18452 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18453 lt_prog_compiler_no_builtin_flag \
   18454 lt_prog_compiler_wl \
   18455 lt_prog_compiler_pic \
   18456 lt_prog_compiler_static \
   18457 lt_cv_prog_compiler_c_o \
   18458 need_locks \
   18459 DSYMUTIL \
   18460 NMEDIT \
   18461 LIPO \
   18462 OTOOL \
   18463 OTOOL64 \
   18464 shrext_cmds \
   18465 export_dynamic_flag_spec \
   18466 whole_archive_flag_spec \
   18467 compiler_needs_object \
   18468 with_gnu_ld \
   18469 allow_undefined_flag \
   18470 no_undefined_flag \
   18471 hardcode_libdir_flag_spec \
   18472 hardcode_libdir_flag_spec_ld \
   18473 hardcode_libdir_separator \
   18474 fix_srcfile_path \
   18475 exclude_expsyms \
   18476 include_expsyms \
   18477 file_list_spec \
   18478 variables_saved_for_relink \
   18479 libname_spec \
   18480 library_names_spec \
   18481 soname_spec \
   18482 install_override_mode \
   18483 finish_eval \
   18484 old_striplib \
   18485 striplib; do
   18486     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18487     *[\\\\\\\`\\"\\\$]*)
   18488       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18489       ;;
   18490     *)
   18491       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18492       ;;
   18493     esac
   18494 done
   18495 
   18496 # Double-quote double-evaled strings.
   18497 for var in reload_cmds \
   18498 old_postinstall_cmds \
   18499 old_postuninstall_cmds \
   18500 old_archive_cmds \
   18501 extract_expsyms_cmds \
   18502 old_archive_from_new_cmds \
   18503 old_archive_from_expsyms_cmds \
   18504 archive_cmds \
   18505 archive_expsym_cmds \
   18506 module_cmds \
   18507 module_expsym_cmds \
   18508 export_symbols_cmds \
   18509 prelink_cmds \
   18510 postinstall_cmds \
   18511 postuninstall_cmds \
   18512 finish_cmds \
   18513 sys_lib_search_path_spec \
   18514 sys_lib_dlsearch_path_spec; do
   18515     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18516     *[\\\\\\\`\\"\\\$]*)
   18517       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18518       ;;
   18519     *)
   18520       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18521       ;;
   18522     esac
   18523 done
   18524 
   18525 ac_aux_dir='$ac_aux_dir'
   18526 xsi_shell='$xsi_shell'
   18527 lt_shell_append='$lt_shell_append'
   18528 
   18529 # See if we are running on zsh, and set the options which allow our
   18530 # commands through without removal of \ escapes INIT.
   18531 if test -n "\${ZSH_VERSION+set}" ; then
   18532    setopt NO_GLOB_SUBST
   18533 fi
   18534 
   18535 
   18536     PACKAGE='$PACKAGE'
   18537     VERSION='$VERSION'
   18538     TIMESTAMP='$TIMESTAMP'
   18539     RM='$RM'
   18540     ofile='$ofile'
   18541 
   18542 
   18543 
   18544 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   18545     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
   18546     # from automake.
   18547     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   18548     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   18549     LINGUAS="${LINGUAS-%UNSET%}"
   18550 
   18551 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   18552     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
   18553     # from automake.
   18554     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   18555     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   18556     LINGUAS="${LINGUAS-%UNSET%}"
   18557 
   18558 
   18559 
   18560 _ACEOF
   18561 
   18562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18563 
   18564 # Handling of arguments.
   18565 for ac_config_target in $ac_config_targets
   18566 do
   18567   case $ac_config_target in
   18568     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18569     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18570     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
   18571     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   18572     "default-2") CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
   18573     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18574     "bfd-in3.h") CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
   18575     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
   18576     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
   18577 
   18578   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18579   esac
   18580 done
   18581 
   18582 
   18583 # If the user did not use the arguments to specify the items to instantiate,
   18584 # then the envvar interface is used.  Set only those that are not.
   18585 # We use the long form for the default assignment because of an extremely
   18586 # bizarre bug on SunOS 4.1.3.
   18587 if $ac_need_defaults; then
   18588   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18589   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18590   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18591 fi
   18592 
   18593 # Have a temporary directory for convenience.  Make it in the build tree
   18594 # simply because there is no reason against having it here, and in addition,
   18595 # creating and moving files from /tmp can sometimes cause problems.
   18596 # Hook for its removal unless debugging.
   18597 # Note that there is a small window in which the directory will not be cleaned:
   18598 # after its creation but before its name has been assigned to `$tmp'.
   18599 $debug ||
   18600 {
   18601   tmp= ac_tmp=
   18602   trap 'exit_status=$?
   18603   : "${ac_tmp:=$tmp}"
   18604   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18605 ' 0
   18606   trap 'as_fn_exit 1' 1 2 13 15
   18607 }
   18608 # Create a (secure) tmp directory for tmp files.
   18609 
   18610 {
   18611   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18612   test -d "$tmp"
   18613 }  ||
   18614 {
   18615   tmp=./conf$$-$RANDOM
   18616   (umask 077 && mkdir "$tmp")
   18617 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18618 ac_tmp=$tmp
   18619 
   18620 # Set up the scripts for CONFIG_FILES section.
   18621 # No need to generate them if there are no CONFIG_FILES.
   18622 # This happens for instance with `./config.status config.h'.
   18623 if test -n "$CONFIG_FILES"; then
   18624 
   18625 
   18626 ac_cr=`echo X | tr X '\015'`
   18627 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18628 # But we know of no other shell where ac_cr would be empty at this
   18629 # point, so we can use a bashism as a fallback.
   18630 if test "x$ac_cr" = x; then
   18631   eval ac_cr=\$\'\\r\'
   18632 fi
   18633 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18634 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18635   ac_cs_awk_cr='\\r'
   18636 else
   18637   ac_cs_awk_cr=$ac_cr
   18638 fi
   18639 
   18640 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18641 _ACEOF
   18642 
   18643 
   18644 {
   18645   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18646   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18647   echo "_ACEOF"
   18648 } >conf$$subs.sh ||
   18649   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18650 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18651 ac_delim='%!_!# '
   18652 for ac_last_try in false false false false false :; do
   18653   . ./conf$$subs.sh ||
   18654     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18655 
   18656   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18657   if test $ac_delim_n = $ac_delim_num; then
   18658     break
   18659   elif $ac_last_try; then
   18660     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18661   else
   18662     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18663   fi
   18664 done
   18665 rm -f conf$$subs.sh
   18666 
   18667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18668 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18669 _ACEOF
   18670 sed -n '
   18671 h
   18672 s/^/S["/; s/!.*/"]=/
   18673 p
   18674 g
   18675 s/^[^!]*!//
   18676 :repl
   18677 t repl
   18678 s/'"$ac_delim"'$//
   18679 t delim
   18680 :nl
   18681 h
   18682 s/\(.\{148\}\)..*/\1/
   18683 t more1
   18684 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18685 p
   18686 n
   18687 b repl
   18688 :more1
   18689 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18690 p
   18691 g
   18692 s/.\{148\}//
   18693 t nl
   18694 :delim
   18695 h
   18696 s/\(.\{148\}\)..*/\1/
   18697 t more2
   18698 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18699 p
   18700 b
   18701 :more2
   18702 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18703 p
   18704 g
   18705 s/.\{148\}//
   18706 t delim
   18707 ' <conf$$subs.awk | sed '
   18708 /^[^""]/{
   18709   N
   18710   s/\n//
   18711 }
   18712 ' >>$CONFIG_STATUS || ac_write_fail=1
   18713 rm -f conf$$subs.awk
   18714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18715 _ACAWK
   18716 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18717   for (key in S) S_is_set[key] = 1
   18718   FS = ""
   18719 
   18720 }
   18721 {
   18722   line = $ 0
   18723   nfields = split(line, field, "@")
   18724   substed = 0
   18725   len = length(field[1])
   18726   for (i = 2; i < nfields; i++) {
   18727     key = field[i]
   18728     keylen = length(key)
   18729     if (S_is_set[key]) {
   18730       value = S[key]
   18731       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18732       len += length(value) + length(field[++i])
   18733       substed = 1
   18734     } else
   18735       len += 1 + keylen
   18736   }
   18737 
   18738   print line
   18739 }
   18740 
   18741 _ACAWK
   18742 _ACEOF
   18743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18744 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18745   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18746 else
   18747   cat
   18748 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18749   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18750 _ACEOF
   18751 
   18752 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18753 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18754 # trailing colons and then remove the whole line if VPATH becomes empty
   18755 # (actually we leave an empty line to preserve line numbers).
   18756 if test "x$srcdir" = x.; then
   18757   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18758 h
   18759 s///
   18760 s/^/:/
   18761 s/[	 ]*$/:/
   18762 s/:\$(srcdir):/:/g
   18763 s/:\${srcdir}:/:/g
   18764 s/:@srcdir@:/:/g
   18765 s/^:*//
   18766 s/:*$//
   18767 x
   18768 s/\(=[	 ]*\).*/\1/
   18769 G
   18770 s/\n//
   18771 s/^[^=]*=[	 ]*$//
   18772 }'
   18773 fi
   18774 
   18775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18776 fi # test -n "$CONFIG_FILES"
   18777 
   18778 # Set up the scripts for CONFIG_HEADERS section.
   18779 # No need to generate them if there are no CONFIG_HEADERS.
   18780 # This happens for instance with `./config.status Makefile'.
   18781 if test -n "$CONFIG_HEADERS"; then
   18782 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   18783 BEGIN {
   18784 _ACEOF
   18785 
   18786 # Transform confdefs.h into an awk script `defines.awk', embedded as
   18787 # here-document in config.status, that substitutes the proper values into
   18788 # config.h.in to produce config.h.
   18789 
   18790 # Create a delimiter string that does not exist in confdefs.h, to ease
   18791 # handling of long lines.
   18792 ac_delim='%!_!# '
   18793 for ac_last_try in false false :; do
   18794   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   18795   if test -z "$ac_tt"; then
   18796     break
   18797   elif $ac_last_try; then
   18798     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   18799   else
   18800     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18801   fi
   18802 done
   18803 
   18804 # For the awk script, D is an array of macro values keyed by name,
   18805 # likewise P contains macro parameters if any.  Preserve backslash
   18806 # newline sequences.
   18807 
   18808 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   18809 sed -n '
   18810 s/.\{148\}/&'"$ac_delim"'/g
   18811 t rset
   18812 :rset
   18813 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   18814 t def
   18815 d
   18816 :def
   18817 s/\\$//
   18818 t bsnl
   18819 s/["\\]/\\&/g
   18820 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18821 D["\1"]=" \3"/p
   18822 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   18823 d
   18824 :bsnl
   18825 s/["\\]/\\&/g
   18826 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18827 D["\1"]=" \3\\\\\\n"\\/p
   18828 t cont
   18829 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   18830 t cont
   18831 d
   18832 :cont
   18833 n
   18834 s/.\{148\}/&'"$ac_delim"'/g
   18835 t clear
   18836 :clear
   18837 s/\\$//
   18838 t bsnlc
   18839 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   18840 d
   18841 :bsnlc
   18842 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   18843 b cont
   18844 ' <confdefs.h | sed '
   18845 s/'"$ac_delim"'/"\\\
   18846 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   18847 
   18848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18849   for (key in D) D_is_set[key] = 1
   18850   FS = ""
   18851 }
   18852 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   18853   line = \$ 0
   18854   split(line, arg, " ")
   18855   if (arg[1] == "#") {
   18856     defundef = arg[2]
   18857     mac1 = arg[3]
   18858   } else {
   18859     defundef = substr(arg[1], 2)
   18860     mac1 = arg[2]
   18861   }
   18862   split(mac1, mac2, "(") #)
   18863   macro = mac2[1]
   18864   prefix = substr(line, 1, index(line, defundef) - 1)
   18865   if (D_is_set[macro]) {
   18866     # Preserve the white space surrounding the "#".
   18867     print prefix "define", macro P[macro] D[macro]
   18868     next
   18869   } else {
   18870     # Replace #undef with comments.  This is necessary, for example,
   18871     # in the case of _POSIX_SOURCE, which is predefined and required
   18872     # on some systems where configure will not decide to define it.
   18873     if (defundef == "undef") {
   18874       print "/*", prefix defundef, macro, "*/"
   18875       next
   18876     }
   18877   }
   18878 }
   18879 { print }
   18880 _ACAWK
   18881 _ACEOF
   18882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18883   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   18884 fi # test -n "$CONFIG_HEADERS"
   18885 
   18886 
   18887 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   18888 shift
   18889 for ac_tag
   18890 do
   18891   case $ac_tag in
   18892   :[FHLC]) ac_mode=$ac_tag; continue;;
   18893   esac
   18894   case $ac_mode$ac_tag in
   18895   :[FHL]*:*);;
   18896   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   18897   :[FH]-) ac_tag=-:-;;
   18898   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   18899   esac
   18900   ac_save_IFS=$IFS
   18901   IFS=:
   18902   set x $ac_tag
   18903   IFS=$ac_save_IFS
   18904   shift
   18905   ac_file=$1
   18906   shift
   18907 
   18908   case $ac_mode in
   18909   :L) ac_source=$1;;
   18910   :[FH])
   18911     ac_file_inputs=
   18912     for ac_f
   18913     do
   18914       case $ac_f in
   18915       -) ac_f="$ac_tmp/stdin";;
   18916       *) # Look for the file first in the build tree, then in the source tree
   18917 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   18918 	 # because $ac_f cannot contain `:'.
   18919 	 test -f "$ac_f" ||
   18920 	   case $ac_f in
   18921 	   [\\/$]*) false;;
   18922 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   18923 	   esac ||
   18924 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   18925       esac
   18926       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   18927       as_fn_append ac_file_inputs " '$ac_f'"
   18928     done
   18929 
   18930     # Let's still pretend it is `configure' which instantiates (i.e., don't
   18931     # use $as_me), people would be surprised to read:
   18932     #    /* config.h.  Generated by config.status.  */
   18933     configure_input='Generated from '`
   18934 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   18935 	`' by configure.'
   18936     if test x"$ac_file" != x-; then
   18937       configure_input="$ac_file.  $configure_input"
   18938       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   18939 $as_echo "$as_me: creating $ac_file" >&6;}
   18940     fi
   18941     # Neutralize special characters interpreted by sed in replacement strings.
   18942     case $configure_input in #(
   18943     *\&* | *\|* | *\\* )
   18944        ac_sed_conf_input=`$as_echo "$configure_input" |
   18945        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   18946     *) ac_sed_conf_input=$configure_input;;
   18947     esac
   18948 
   18949     case $ac_tag in
   18950     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   18951       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   18952     esac
   18953     ;;
   18954   esac
   18955 
   18956   ac_dir=`$as_dirname -- "$ac_file" ||
   18957 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18958 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   18959 	 X"$ac_file" : 'X\(//\)$' \| \
   18960 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   18961 $as_echo X"$ac_file" |
   18962     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18963 	    s//\1/
   18964 	    q
   18965 	  }
   18966 	  /^X\(\/\/\)[^/].*/{
   18967 	    s//\1/
   18968 	    q
   18969 	  }
   18970 	  /^X\(\/\/\)$/{
   18971 	    s//\1/
   18972 	    q
   18973 	  }
   18974 	  /^X\(\/\).*/{
   18975 	    s//\1/
   18976 	    q
   18977 	  }
   18978 	  s/.*/./; q'`
   18979   as_dir="$ac_dir"; as_fn_mkdir_p
   18980   ac_builddir=.
   18981 
   18982 case "$ac_dir" in
   18983 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18984 *)
   18985   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   18986   # A ".." for each directory in $ac_dir_suffix.
   18987   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   18988   case $ac_top_builddir_sub in
   18989   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18990   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   18991   esac ;;
   18992 esac
   18993 ac_abs_top_builddir=$ac_pwd
   18994 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   18995 # for backward compatibility:
   18996 ac_top_builddir=$ac_top_build_prefix
   18997 
   18998 case $srcdir in
   18999   .)  # We are building in place.
   19000     ac_srcdir=.
   19001     ac_top_srcdir=$ac_top_builddir_sub
   19002     ac_abs_top_srcdir=$ac_pwd ;;
   19003   [\\/]* | ?:[\\/]* )  # Absolute name.
   19004     ac_srcdir=$srcdir$ac_dir_suffix;
   19005     ac_top_srcdir=$srcdir
   19006     ac_abs_top_srcdir=$srcdir ;;
   19007   *) # Relative name.
   19008     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19009     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19010     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19011 esac
   19012 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19013 
   19014 
   19015   case $ac_mode in
   19016   :F)
   19017   #
   19018   # CONFIG_FILE
   19019   #
   19020 
   19021   case $INSTALL in
   19022   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19023   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19024   esac
   19025   ac_MKDIR_P=$MKDIR_P
   19026   case $MKDIR_P in
   19027   [\\/$]* | ?:[\\/]* ) ;;
   19028   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19029   esac
   19030 _ACEOF
   19031 
   19032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19033 # If the template does not know about datarootdir, expand it.
   19034 # FIXME: This hack should be removed a few years after 2.60.
   19035 ac_datarootdir_hack=; ac_datarootdir_seen=
   19036 ac_sed_dataroot='
   19037 /datarootdir/ {
   19038   p
   19039   q
   19040 }
   19041 /@datadir@/p
   19042 /@docdir@/p
   19043 /@infodir@/p
   19044 /@localedir@/p
   19045 /@mandir@/p'
   19046 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19047 *datarootdir*) ac_datarootdir_seen=yes;;
   19048 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19049   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19050 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19051 _ACEOF
   19052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19053   ac_datarootdir_hack='
   19054   s&@datadir@&$datadir&g
   19055   s&@docdir@&$docdir&g
   19056   s&@infodir@&$infodir&g
   19057   s&@localedir@&$localedir&g
   19058   s&@mandir@&$mandir&g
   19059   s&\\\${datarootdir}&$datarootdir&g' ;;
   19060 esac
   19061 _ACEOF
   19062 
   19063 # Neutralize VPATH when `$srcdir' = `.'.
   19064 # Shell code in configure.ac might set extrasub.
   19065 # FIXME: do we really want to maintain this feature?
   19066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19067 ac_sed_extra="$ac_vpsub
   19068 $extrasub
   19069 _ACEOF
   19070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19071 :t
   19072 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19073 s|@configure_input@|$ac_sed_conf_input|;t t
   19074 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19075 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19076 s&@srcdir@&$ac_srcdir&;t t
   19077 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19078 s&@top_srcdir@&$ac_top_srcdir&;t t
   19079 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19080 s&@builddir@&$ac_builddir&;t t
   19081 s&@abs_builddir@&$ac_abs_builddir&;t t
   19082 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19083 s&@INSTALL@&$ac_INSTALL&;t t
   19084 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19085 $ac_datarootdir_hack
   19086 "
   19087 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19088   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19089 
   19090 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19091   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19092   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19093       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19094   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19095 which seems to be undefined.  Please make sure it is defined" >&5
   19096 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19097 which seems to be undefined.  Please make sure it is defined" >&2;}
   19098 
   19099   rm -f "$ac_tmp/stdin"
   19100   case $ac_file in
   19101   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19102   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19103   esac \
   19104   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19105  ;;
   19106   :H)
   19107   #
   19108   # CONFIG_HEADER
   19109   #
   19110   if test x"$ac_file" != x-; then
   19111     {
   19112       $as_echo "/* $configure_input  */" \
   19113       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19114     } >"$ac_tmp/config.h" \
   19115       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19116     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19117       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19118 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19119     else
   19120       rm -f "$ac_file"
   19121       mv "$ac_tmp/config.h" "$ac_file" \
   19122 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19123     fi
   19124   else
   19125     $as_echo "/* $configure_input  */" \
   19126       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19127       || as_fn_error $? "could not create -" "$LINENO" 5
   19128   fi
   19129 # Compute "$ac_file"'s index in $config_headers.
   19130 _am_arg="$ac_file"
   19131 _am_stamp_count=1
   19132 for _am_header in $config_headers :; do
   19133   case $_am_header in
   19134     $_am_arg | $_am_arg:* )
   19135       break ;;
   19136     * )
   19137       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19138   esac
   19139 done
   19140 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19141 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19142 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19143 	 X"$_am_arg" : 'X\(//\)$' \| \
   19144 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19145 $as_echo X"$_am_arg" |
   19146     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19147 	    s//\1/
   19148 	    q
   19149 	  }
   19150 	  /^X\(\/\/\)[^/].*/{
   19151 	    s//\1/
   19152 	    q
   19153 	  }
   19154 	  /^X\(\/\/\)$/{
   19155 	    s//\1/
   19156 	    q
   19157 	  }
   19158 	  /^X\(\/\).*/{
   19159 	    s//\1/
   19160 	    q
   19161 	  }
   19162 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19163  ;;
   19164 
   19165   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19166 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19167  ;;
   19168   esac
   19169 
   19170 
   19171   case $ac_file$ac_mode in
   19172     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19173   # Older Autoconf quotes --file arguments for eval, but not when files
   19174   # are listed without --file.  Let's play safe and only enable the eval
   19175   # if we detect the quoting.
   19176   case $CONFIG_FILES in
   19177   *\'*) eval set x "$CONFIG_FILES" ;;
   19178   *)   set x $CONFIG_FILES ;;
   19179   esac
   19180   shift
   19181   for mf
   19182   do
   19183     # Strip MF so we end up with the name of the file.
   19184     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19185     # Check whether this is an Automake generated Makefile or not.
   19186     # We used to match only the files named 'Makefile.in', but
   19187     # some people rename them; so instead we look at the file content.
   19188     # Grep'ing the first line is not enough: some people post-process
   19189     # each Makefile.in and add a new line on top of each file to say so.
   19190     # Grep'ing the whole file is not good either: AIX grep has a line
   19191     # limit of 2048, but all sed's we know have understand at least 4000.
   19192     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19193       dirpart=`$as_dirname -- "$mf" ||
   19194 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19195 	 X"$mf" : 'X\(//\)[^/]' \| \
   19196 	 X"$mf" : 'X\(//\)$' \| \
   19197 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19198 $as_echo X"$mf" |
   19199     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19200 	    s//\1/
   19201 	    q
   19202 	  }
   19203 	  /^X\(\/\/\)[^/].*/{
   19204 	    s//\1/
   19205 	    q
   19206 	  }
   19207 	  /^X\(\/\/\)$/{
   19208 	    s//\1/
   19209 	    q
   19210 	  }
   19211 	  /^X\(\/\).*/{
   19212 	    s//\1/
   19213 	    q
   19214 	  }
   19215 	  s/.*/./; q'`
   19216     else
   19217       continue
   19218     fi
   19219     # Extract the definition of DEPDIR, am__include, and am__quote
   19220     # from the Makefile without running 'make'.
   19221     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19222     test -z "$DEPDIR" && continue
   19223     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19224     test -z "$am__include" && continue
   19225     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19226     # Find all dependency output files, they are included files with
   19227     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19228     # simplest approach to changing $(DEPDIR) to its actual value in the
   19229     # expansion.
   19230     for file in `sed -n "
   19231       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19232 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19233       # Make sure the directory exists.
   19234       test -f "$dirpart/$file" && continue
   19235       fdir=`$as_dirname -- "$file" ||
   19236 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19237 	 X"$file" : 'X\(//\)[^/]' \| \
   19238 	 X"$file" : 'X\(//\)$' \| \
   19239 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19240 $as_echo X"$file" |
   19241     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19242 	    s//\1/
   19243 	    q
   19244 	  }
   19245 	  /^X\(\/\/\)[^/].*/{
   19246 	    s//\1/
   19247 	    q
   19248 	  }
   19249 	  /^X\(\/\/\)$/{
   19250 	    s//\1/
   19251 	    q
   19252 	  }
   19253 	  /^X\(\/\).*/{
   19254 	    s//\1/
   19255 	    q
   19256 	  }
   19257 	  s/.*/./; q'`
   19258       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19259       # echo "creating $dirpart/$file"
   19260       echo '# dummy' > "$dirpart/$file"
   19261     done
   19262   done
   19263 }
   19264  ;;
   19265     "libtool":C)
   19266 
   19267     # See if we are running on zsh, and set the options which allow our
   19268     # commands through without removal of \ escapes.
   19269     if test -n "${ZSH_VERSION+set}" ; then
   19270       setopt NO_GLOB_SUBST
   19271     fi
   19272 
   19273     cfgfile="${ofile}T"
   19274     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19275     $RM "$cfgfile"
   19276 
   19277     cat <<_LT_EOF >> "$cfgfile"
   19278 #! $SHELL
   19279 
   19280 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19281 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19282 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19283 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19284 #
   19285 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19286 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   19287 #   Written by Gordon Matzigkeit, 1996
   19288 #
   19289 #   This file is part of GNU Libtool.
   19290 #
   19291 # GNU Libtool is free software; you can redistribute it and/or
   19292 # modify it under the terms of the GNU General Public License as
   19293 # published by the Free Software Foundation; either version 2 of
   19294 # the License, or (at your option) any later version.
   19295 #
   19296 # As a special exception to the GNU General Public License,
   19297 # if you distribute this file as part of a program or library that
   19298 # is built using GNU Libtool, you may include this file under the
   19299 # same distribution terms that you use for the rest of that program.
   19300 #
   19301 # GNU Libtool is distributed in the hope that it will be useful,
   19302 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19303 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19304 # GNU General Public License for more details.
   19305 #
   19306 # You should have received a copy of the GNU General Public License
   19307 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19308 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19309 # obtained by writing to the Free Software Foundation, Inc.,
   19310 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19311 
   19312 
   19313 # The names of the tagged configurations supported by this script.
   19314 available_tags=""
   19315 
   19316 # ### BEGIN LIBTOOL CONFIG
   19317 
   19318 # Whether or not to build shared libraries.
   19319 build_libtool_libs=$enable_shared
   19320 
   19321 # Which release of libtool.m4 was used?
   19322 macro_version=$macro_version
   19323 macro_revision=$macro_revision
   19324 
   19325 # Whether or not to build static libraries.
   19326 build_old_libs=$enable_static
   19327 
   19328 # What type of objects to build.
   19329 pic_mode=$pic_mode
   19330 
   19331 # Whether or not to optimize for fast installation.
   19332 fast_install=$enable_fast_install
   19333 
   19334 # Shell to use when invoking shell scripts.
   19335 SHELL=$lt_SHELL
   19336 
   19337 # An echo program that protects backslashes.
   19338 ECHO=$lt_ECHO
   19339 
   19340 # The host system.
   19341 host_alias=$host_alias
   19342 host=$host
   19343 host_os=$host_os
   19344 
   19345 # The build system.
   19346 build_alias=$build_alias
   19347 build=$build
   19348 build_os=$build_os
   19349 
   19350 # A sed program that does not truncate output.
   19351 SED=$lt_SED
   19352 
   19353 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19354 Xsed="\$SED -e 1s/^X//"
   19355 
   19356 # A grep program that handles long lines.
   19357 GREP=$lt_GREP
   19358 
   19359 # An ERE matcher.
   19360 EGREP=$lt_EGREP
   19361 
   19362 # A literal string matcher.
   19363 FGREP=$lt_FGREP
   19364 
   19365 # A BSD- or MS-compatible name lister.
   19366 NM=$lt_NM
   19367 
   19368 # Whether we need soft or hard links.
   19369 LN_S=$lt_LN_S
   19370 
   19371 # What is the maximum length of a command?
   19372 max_cmd_len=$max_cmd_len
   19373 
   19374 # Object file suffix (normally "o").
   19375 objext=$ac_objext
   19376 
   19377 # Executable file suffix (normally "").
   19378 exeext=$exeext
   19379 
   19380 # whether the shell understands "unset".
   19381 lt_unset=$lt_unset
   19382 
   19383 # turn spaces into newlines.
   19384 SP2NL=$lt_lt_SP2NL
   19385 
   19386 # turn newlines into spaces.
   19387 NL2SP=$lt_lt_NL2SP
   19388 
   19389 # An object symbol dumper.
   19390 OBJDUMP=$lt_OBJDUMP
   19391 
   19392 # Method to check whether dependent libraries are shared objects.
   19393 deplibs_check_method=$lt_deplibs_check_method
   19394 
   19395 # Command to use when deplibs_check_method == "file_magic".
   19396 file_magic_cmd=$lt_file_magic_cmd
   19397 
   19398 # The archiver.
   19399 AR=$lt_AR
   19400 AR_FLAGS=$lt_AR_FLAGS
   19401 
   19402 # A symbol stripping program.
   19403 STRIP=$lt_STRIP
   19404 
   19405 # Commands used to install an old-style archive.
   19406 RANLIB=$lt_RANLIB
   19407 old_postinstall_cmds=$lt_old_postinstall_cmds
   19408 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19409 
   19410 # Whether to use a lock for old archive extraction.
   19411 lock_old_archive_extraction=$lock_old_archive_extraction
   19412 
   19413 # A C compiler.
   19414 LTCC=$lt_CC
   19415 
   19416 # LTCC compiler flags.
   19417 LTCFLAGS=$lt_CFLAGS
   19418 
   19419 # Take the output of nm and produce a listing of raw symbols and C names.
   19420 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19421 
   19422 # Transform the output of nm in a proper C declaration.
   19423 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19424 
   19425 # Transform the output of nm in a C name address pair.
   19426 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19427 
   19428 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19429 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19430 
   19431 # The name of the directory that contains temporary libtool files.
   19432 objdir=$objdir
   19433 
   19434 # Used to examine libraries when file_magic_cmd begins with "file".
   19435 MAGIC_CMD=$MAGIC_CMD
   19436 
   19437 # Must we lock files when doing compilation?
   19438 need_locks=$lt_need_locks
   19439 
   19440 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19441 DSYMUTIL=$lt_DSYMUTIL
   19442 
   19443 # Tool to change global to local symbols on Mac OS X.
   19444 NMEDIT=$lt_NMEDIT
   19445 
   19446 # Tool to manipulate fat objects and archives on Mac OS X.
   19447 LIPO=$lt_LIPO
   19448 
   19449 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19450 OTOOL=$lt_OTOOL
   19451 
   19452 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19453 OTOOL64=$lt_OTOOL64
   19454 
   19455 # Old archive suffix (normally "a").
   19456 libext=$libext
   19457 
   19458 # Shared library suffix (normally ".so").
   19459 shrext_cmds=$lt_shrext_cmds
   19460 
   19461 # The commands to extract the exported symbol list from a shared archive.
   19462 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19463 
   19464 # Variables whose values should be saved in libtool wrapper scripts and
   19465 # restored at link time.
   19466 variables_saved_for_relink=$lt_variables_saved_for_relink
   19467 
   19468 # Do we need the "lib" prefix for modules?
   19469 need_lib_prefix=$need_lib_prefix
   19470 
   19471 # Do we need a version for libraries?
   19472 need_version=$need_version
   19473 
   19474 # Library versioning type.
   19475 version_type=$version_type
   19476 
   19477 # Shared library runtime path variable.
   19478 runpath_var=$runpath_var
   19479 
   19480 # Shared library path variable.
   19481 shlibpath_var=$shlibpath_var
   19482 
   19483 # Is shlibpath searched before the hard-coded library search path?
   19484 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19485 
   19486 # Format of library name prefix.
   19487 libname_spec=$lt_libname_spec
   19488 
   19489 # List of archive names.  First name is the real one, the rest are links.
   19490 # The last name is the one that the linker finds with -lNAME
   19491 library_names_spec=$lt_library_names_spec
   19492 
   19493 # The coded name of the library, if different from the real name.
   19494 soname_spec=$lt_soname_spec
   19495 
   19496 # Permission mode override for installation of shared libraries.
   19497 install_override_mode=$lt_install_override_mode
   19498 
   19499 # Command to use after installation of a shared archive.
   19500 postinstall_cmds=$lt_postinstall_cmds
   19501 
   19502 # Command to use after uninstallation of a shared archive.
   19503 postuninstall_cmds=$lt_postuninstall_cmds
   19504 
   19505 # Commands used to finish a libtool library installation in a directory.
   19506 finish_cmds=$lt_finish_cmds
   19507 
   19508 # As "finish_cmds", except a single script fragment to be evaled but
   19509 # not shown.
   19510 finish_eval=$lt_finish_eval
   19511 
   19512 # Whether we should hardcode library paths into libraries.
   19513 hardcode_into_libs=$hardcode_into_libs
   19514 
   19515 # Compile-time system search path for libraries.
   19516 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19517 
   19518 # Run-time system search path for libraries.
   19519 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19520 
   19521 # Whether dlopen is supported.
   19522 dlopen_support=$enable_dlopen
   19523 
   19524 # Whether dlopen of programs is supported.
   19525 dlopen_self=$enable_dlopen_self
   19526 
   19527 # Whether dlopen of statically linked programs is supported.
   19528 dlopen_self_static=$enable_dlopen_self_static
   19529 
   19530 # Commands to strip libraries.
   19531 old_striplib=$lt_old_striplib
   19532 striplib=$lt_striplib
   19533 
   19534 
   19535 # The linker used to build libraries.
   19536 LD=$lt_LD
   19537 
   19538 # How to create reloadable object files.
   19539 reload_flag=$lt_reload_flag
   19540 reload_cmds=$lt_reload_cmds
   19541 
   19542 # Commands used to build an old-style archive.
   19543 old_archive_cmds=$lt_old_archive_cmds
   19544 
   19545 # A language specific compiler.
   19546 CC=$lt_compiler
   19547 
   19548 # Is the compiler the GNU compiler?
   19549 with_gcc=$GCC
   19550 
   19551 # Compiler flag to turn off builtin functions.
   19552 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19553 
   19554 # How to pass a linker flag through the compiler.
   19555 wl=$lt_lt_prog_compiler_wl
   19556 
   19557 # Additional compiler flags for building library objects.
   19558 pic_flag=$lt_lt_prog_compiler_pic
   19559 
   19560 # Compiler flag to prevent dynamic linking.
   19561 link_static_flag=$lt_lt_prog_compiler_static
   19562 
   19563 # Does compiler simultaneously support -c and -o options?
   19564 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19565 
   19566 # Whether or not to add -lc for building shared libraries.
   19567 build_libtool_need_lc=$archive_cmds_need_lc
   19568 
   19569 # Whether or not to disallow shared libs when runtime libs are static.
   19570 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19571 
   19572 # Compiler flag to allow reflexive dlopens.
   19573 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19574 
   19575 # Compiler flag to generate shared objects directly from archives.
   19576 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19577 
   19578 # Whether the compiler copes with passing no objects directly.
   19579 compiler_needs_object=$lt_compiler_needs_object
   19580 
   19581 # Create an old-style archive from a shared archive.
   19582 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19583 
   19584 # Create a temporary old-style archive to link instead of a shared archive.
   19585 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19586 
   19587 # Commands used to build a shared archive.
   19588 archive_cmds=$lt_archive_cmds
   19589 archive_expsym_cmds=$lt_archive_expsym_cmds
   19590 
   19591 # Commands used to build a loadable module if different from building
   19592 # a shared archive.
   19593 module_cmds=$lt_module_cmds
   19594 module_expsym_cmds=$lt_module_expsym_cmds
   19595 
   19596 # Whether we are building with GNU ld or not.
   19597 with_gnu_ld=$lt_with_gnu_ld
   19598 
   19599 # Flag that allows shared libraries with undefined symbols to be built.
   19600 allow_undefined_flag=$lt_allow_undefined_flag
   19601 
   19602 # Flag that enforces no undefined symbols.
   19603 no_undefined_flag=$lt_no_undefined_flag
   19604 
   19605 # Flag to hardcode \$libdir into a binary during linking.
   19606 # This must work even if \$libdir does not exist
   19607 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19608 
   19609 # If ld is used when linking, flag to hardcode \$libdir into a binary
   19610 # during linking.  This must work even if \$libdir does not exist.
   19611 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   19612 
   19613 # Whether we need a single "-rpath" flag with a separated argument.
   19614 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19615 
   19616 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19617 # DIR into the resulting binary.
   19618 hardcode_direct=$hardcode_direct
   19619 
   19620 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19621 # DIR into the resulting binary and the resulting library dependency is
   19622 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19623 # library is relocated.
   19624 hardcode_direct_absolute=$hardcode_direct_absolute
   19625 
   19626 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19627 # into the resulting binary.
   19628 hardcode_minus_L=$hardcode_minus_L
   19629 
   19630 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19631 # into the resulting binary.
   19632 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19633 
   19634 # Set to "yes" if building a shared library automatically hardcodes DIR
   19635 # into the library and all subsequent libraries and executables linked
   19636 # against it.
   19637 hardcode_automatic=$hardcode_automatic
   19638 
   19639 # Set to yes if linker adds runtime paths of dependent libraries
   19640 # to runtime path list.
   19641 inherit_rpath=$inherit_rpath
   19642 
   19643 # Whether libtool must link a program against all its dependency libraries.
   19644 link_all_deplibs=$link_all_deplibs
   19645 
   19646 # Fix the shell variable \$srcfile for the compiler.
   19647 fix_srcfile_path=$lt_fix_srcfile_path
   19648 
   19649 # Set to "yes" if exported symbols are required.
   19650 always_export_symbols=$always_export_symbols
   19651 
   19652 # The commands to list exported symbols.
   19653 export_symbols_cmds=$lt_export_symbols_cmds
   19654 
   19655 # Symbols that should not be listed in the preloaded symbols.
   19656 exclude_expsyms=$lt_exclude_expsyms
   19657 
   19658 # Symbols that must always be exported.
   19659 include_expsyms=$lt_include_expsyms
   19660 
   19661 # Commands necessary for linking programs (against libraries) with templates.
   19662 prelink_cmds=$lt_prelink_cmds
   19663 
   19664 # Specify filename containing input files.
   19665 file_list_spec=$lt_file_list_spec
   19666 
   19667 # How to hardcode a shared library path into an executable.
   19668 hardcode_action=$hardcode_action
   19669 
   19670 # ### END LIBTOOL CONFIG
   19671 
   19672 _LT_EOF
   19673 
   19674   case $host_os in
   19675   aix3*)
   19676     cat <<\_LT_EOF >> "$cfgfile"
   19677 # AIX sometimes has problems with the GCC collect2 program.  For some
   19678 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19679 # vanish in a puff of smoke.
   19680 if test "X${COLLECT_NAMES+set}" != Xset; then
   19681   COLLECT_NAMES=
   19682   export COLLECT_NAMES
   19683 fi
   19684 _LT_EOF
   19685     ;;
   19686   esac
   19687 
   19688 
   19689 ltmain="$ac_aux_dir/ltmain.sh"
   19690 
   19691 
   19692   # We use sed instead of cat because bash on DJGPP gets confused if
   19693   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19694   # text mode, it properly converts lines to CR/LF.  This bash problem
   19695   # is reportedly fixed, but why not run on old versions too?
   19696   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   19697     || (rm -f "$cfgfile"; exit 1)
   19698 
   19699   case $xsi_shell in
   19700   yes)
   19701     cat << \_LT_EOF >> "$cfgfile"
   19702 
   19703 # func_dirname file append nondir_replacement
   19704 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19705 # otherwise set result to NONDIR_REPLACEMENT.
   19706 func_dirname ()
   19707 {
   19708   case ${1} in
   19709     */*) func_dirname_result="${1%/*}${2}" ;;
   19710     *  ) func_dirname_result="${3}" ;;
   19711   esac
   19712 }
   19713 
   19714 # func_basename file
   19715 func_basename ()
   19716 {
   19717   func_basename_result="${1##*/}"
   19718 }
   19719 
   19720 # func_dirname_and_basename file append nondir_replacement
   19721 # perform func_basename and func_dirname in a single function
   19722 # call:
   19723 #   dirname:  Compute the dirname of FILE.  If nonempty,
   19724 #             add APPEND to the result, otherwise set result
   19725 #             to NONDIR_REPLACEMENT.
   19726 #             value returned in "$func_dirname_result"
   19727 #   basename: Compute filename of FILE.
   19728 #             value retuned in "$func_basename_result"
   19729 # Implementation must be kept synchronized with func_dirname
   19730 # and func_basename. For efficiency, we do not delegate to
   19731 # those functions but instead duplicate the functionality here.
   19732 func_dirname_and_basename ()
   19733 {
   19734   case ${1} in
   19735     */*) func_dirname_result="${1%/*}${2}" ;;
   19736     *  ) func_dirname_result="${3}" ;;
   19737   esac
   19738   func_basename_result="${1##*/}"
   19739 }
   19740 
   19741 # func_stripname prefix suffix name
   19742 # strip PREFIX and SUFFIX off of NAME.
   19743 # PREFIX and SUFFIX must not contain globbing or regex special
   19744 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19745 # dot (in which case that matches only a dot).
   19746 func_stripname ()
   19747 {
   19748   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   19749   # positional parameters, so assign one to ordinary parameter first.
   19750   func_stripname_result=${3}
   19751   func_stripname_result=${func_stripname_result#"${1}"}
   19752   func_stripname_result=${func_stripname_result%"${2}"}
   19753 }
   19754 
   19755 # func_opt_split
   19756 func_opt_split ()
   19757 {
   19758   func_opt_split_opt=${1%%=*}
   19759   func_opt_split_arg=${1#*=}
   19760 }
   19761 
   19762 # func_lo2o object
   19763 func_lo2o ()
   19764 {
   19765   case ${1} in
   19766     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   19767     *)    func_lo2o_result=${1} ;;
   19768   esac
   19769 }
   19770 
   19771 # func_xform libobj-or-source
   19772 func_xform ()
   19773 {
   19774   func_xform_result=${1%.*}.lo
   19775 }
   19776 
   19777 # func_arith arithmetic-term...
   19778 func_arith ()
   19779 {
   19780   func_arith_result=$(( $* ))
   19781 }
   19782 
   19783 # func_len string
   19784 # STRING may not start with a hyphen.
   19785 func_len ()
   19786 {
   19787   func_len_result=${#1}
   19788 }
   19789 
   19790 _LT_EOF
   19791     ;;
   19792   *) # Bourne compatible functions.
   19793     cat << \_LT_EOF >> "$cfgfile"
   19794 
   19795 # func_dirname file append nondir_replacement
   19796 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19797 # otherwise set result to NONDIR_REPLACEMENT.
   19798 func_dirname ()
   19799 {
   19800   # Extract subdirectory from the argument.
   19801   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   19802   if test "X$func_dirname_result" = "X${1}"; then
   19803     func_dirname_result="${3}"
   19804   else
   19805     func_dirname_result="$func_dirname_result${2}"
   19806   fi
   19807 }
   19808 
   19809 # func_basename file
   19810 func_basename ()
   19811 {
   19812   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   19813 }
   19814 
   19815 
   19816 # func_stripname prefix suffix name
   19817 # strip PREFIX and SUFFIX off of NAME.
   19818 # PREFIX and SUFFIX must not contain globbing or regex special
   19819 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19820 # dot (in which case that matches only a dot).
   19821 # func_strip_suffix prefix name
   19822 func_stripname ()
   19823 {
   19824   case ${2} in
   19825     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   19826     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   19827   esac
   19828 }
   19829 
   19830 # sed scripts:
   19831 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   19832 my_sed_long_arg='1s/^-[^=]*=//'
   19833 
   19834 # func_opt_split
   19835 func_opt_split ()
   19836 {
   19837   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   19838   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   19839 }
   19840 
   19841 # func_lo2o object
   19842 func_lo2o ()
   19843 {
   19844   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   19845 }
   19846 
   19847 # func_xform libobj-or-source
   19848 func_xform ()
   19849 {
   19850   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   19851 }
   19852 
   19853 # func_arith arithmetic-term...
   19854 func_arith ()
   19855 {
   19856   func_arith_result=`expr "$@"`
   19857 }
   19858 
   19859 # func_len string
   19860 # STRING may not start with a hyphen.
   19861 func_len ()
   19862 {
   19863   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   19864 }
   19865 
   19866 _LT_EOF
   19867 esac
   19868 
   19869 case $lt_shell_append in
   19870   yes)
   19871     cat << \_LT_EOF >> "$cfgfile"
   19872 
   19873 # func_append var value
   19874 # Append VALUE to the end of shell variable VAR.
   19875 func_append ()
   19876 {
   19877   eval "$1+=\$2"
   19878 }
   19879 _LT_EOF
   19880     ;;
   19881   *)
   19882     cat << \_LT_EOF >> "$cfgfile"
   19883 
   19884 # func_append var value
   19885 # Append VALUE to the end of shell variable VAR.
   19886 func_append ()
   19887 {
   19888   eval "$1=\$$1\$2"
   19889 }
   19890 
   19891 _LT_EOF
   19892     ;;
   19893   esac
   19894 
   19895 
   19896   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   19897     || (rm -f "$cfgfile"; exit 1)
   19898 
   19899   mv -f "$cfgfile" "$ofile" ||
   19900     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   19901   chmod +x "$ofile"
   19902 
   19903  ;;
   19904     "default-1":C)
   19905     for ac_file in $CONFIG_FILES; do
   19906       # Support "outfile[:infile[:infile...]]"
   19907       case "$ac_file" in
   19908         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   19909       esac
   19910       # PO directories have a Makefile.in generated from Makefile.in.in.
   19911       case "$ac_file" in */Makefile.in)
   19912         # Adjust a relative srcdir.
   19913         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   19914         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
   19915         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   19916         # In autoconf-2.13 it is called $ac_given_srcdir.
   19917         # In autoconf-2.50 it is called $srcdir.
   19918         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   19919         case "$ac_given_srcdir" in
   19920           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   19921           /*) top_srcdir="$ac_given_srcdir" ;;
   19922           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   19923         esac
   19924         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   19925           rm -f "$ac_dir/POTFILES"
   19926           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   19927           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   19928           POMAKEFILEDEPS="POTFILES.in"
   19929           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
   19930           # on $ac_dir but don't depend on user-specified configuration
   19931           # parameters.
   19932           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   19933             # The LINGUAS file contains the set of available languages.
   19934             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   19935               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
   19936             fi
   19937             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   19938             # Hide the ALL_LINGUAS assigment from automake.
   19939             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   19940             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   19941           else
   19942             # The set of available languages was given in configure.ac.
   19943             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   19944           fi
   19945           case "$ac_given_srcdir" in
   19946             .) srcdirpre= ;;
   19947             *) srcdirpre='$(srcdir)/' ;;
   19948           esac
   19949           POFILES=
   19950           GMOFILES=
   19951           UPDATEPOFILES=
   19952           DUMMYPOFILES=
   19953           for lang in $ALL_LINGUAS; do
   19954             POFILES="$POFILES $srcdirpre$lang.po"
   19955             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   19956             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   19957             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   19958           done
   19959           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   19960           # environment variable.
   19961           INST_LINGUAS=
   19962           if test -n "$ALL_LINGUAS"; then
   19963             for presentlang in $ALL_LINGUAS; do
   19964               useit=no
   19965               if test "%UNSET%" != "$LINGUAS"; then
   19966                 desiredlanguages="$LINGUAS"
   19967               else
   19968                 desiredlanguages="$ALL_LINGUAS"
   19969               fi
   19970               for desiredlang in $desiredlanguages; do
   19971                 # Use the presentlang catalog if desiredlang is
   19972                 #   a. equal to presentlang, or
   19973                 #   b. a variant of presentlang (because in this case,
   19974                 #      presentlang can be used as a fallback for messages
   19975                 #      which are not translated in the desiredlang catalog).
   19976                 case "$desiredlang" in
   19977                   "$presentlang"*) useit=yes;;
   19978                 esac
   19979               done
   19980               if test $useit = yes; then
   19981                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   19982               fi
   19983             done
   19984           fi
   19985           CATALOGS=
   19986           if test -n "$INST_LINGUAS"; then
   19987             for lang in $INST_LINGUAS; do
   19988               CATALOGS="$CATALOGS $lang.gmo"
   19989             done
   19990           fi
   19991           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   19992           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"
   19993           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   19994             if test -f "$f"; then
   19995               case "$f" in
   19996                 *.orig | *.bak | *~) ;;
   19997                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   19998               esac
   19999             fi
   20000           done
   20001         fi
   20002         ;;
   20003       esac
   20004     done ;;
   20005     "default-2":C)
   20006     for ac_file in $CONFIG_FILES; do
   20007       # Support "outfile[:infile[:infile...]]"
   20008       case "$ac_file" in
   20009         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   20010       esac
   20011       # PO directories have a Makefile.in generated from Makefile.in.in.
   20012       case "$ac_file" in */Makefile.in)
   20013         # Adjust a relative srcdir.
   20014         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   20015         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
   20016         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   20017         # In autoconf-2.13 it is called $ac_given_srcdir.
   20018         # In autoconf-2.50 it is called $srcdir.
   20019         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   20020         case "$ac_given_srcdir" in
   20021           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   20022           /*) top_srcdir="$ac_given_srcdir" ;;
   20023           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   20024         esac
   20025         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   20026           rm -f "$ac_dir/POTFILES"
   20027           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   20028           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   20029           POMAKEFILEDEPS="POTFILES.in"
   20030           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
   20031           # on $ac_dir but don't depend on user-specified configuration
   20032           # parameters.
   20033           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   20034             # The LINGUAS file contains the set of available languages.
   20035             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   20036               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
   20037             fi
   20038             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   20039             # Hide the ALL_LINGUAS assigment from automake.
   20040             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   20041             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   20042           else
   20043             # The set of available languages was given in configure.ac.
   20044             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   20045           fi
   20046           case "$ac_given_srcdir" in
   20047             .) srcdirpre= ;;
   20048             *) srcdirpre='$(srcdir)/' ;;
   20049           esac
   20050           POFILES=
   20051           GMOFILES=
   20052           UPDATEPOFILES=
   20053           DUMMYPOFILES=
   20054           for lang in $ALL_LINGUAS; do
   20055             POFILES="$POFILES $srcdirpre$lang.po"
   20056             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   20057             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   20058             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   20059           done
   20060           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   20061           # environment variable.
   20062           INST_LINGUAS=
   20063           if test -n "$ALL_LINGUAS"; then
   20064             for presentlang in $ALL_LINGUAS; do
   20065               useit=no
   20066               if test "%UNSET%" != "$LINGUAS"; then
   20067                 desiredlanguages="$LINGUAS"
   20068               else
   20069                 desiredlanguages="$ALL_LINGUAS"
   20070               fi
   20071               for desiredlang in $desiredlanguages; do
   20072                 # Use the presentlang catalog if desiredlang is
   20073                 #   a. equal to presentlang, or
   20074                 #   b. a variant of presentlang (because in this case,
   20075                 #      presentlang can be used as a fallback for messages
   20076                 #      which are not translated in the desiredlang catalog).
   20077                 case "$desiredlang" in
   20078                   "$presentlang"*) useit=yes;;
   20079                 esac
   20080               done
   20081               if test $useit = yes; then
   20082                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   20083               fi
   20084             done
   20085           fi
   20086           CATALOGS=
   20087           if test -n "$INST_LINGUAS"; then
   20088             for lang in $INST_LINGUAS; do
   20089               CATALOGS="$CATALOGS $lang.gmo"
   20090             done
   20091           fi
   20092           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   20093           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"
   20094           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   20095             if test -f "$f"; then
   20096               case "$f" in
   20097                 *.orig | *.bak | *~) ;;
   20098                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   20099               esac
   20100             fi
   20101           done
   20102         fi
   20103         ;;
   20104       esac
   20105     done ;;
   20106     "default":C)
   20107 case "$srcdir" in
   20108   .) srcdirpre= ;;
   20109   *) srcdirpre='$(srcdir)/' ;;
   20110 esac
   20111 POFILES=
   20112 GMOFILES=
   20113 for lang in dummy $OBSOLETE_ALL_LINGUAS; do
   20114   if test $lang != dummy; then
   20115     POFILES="$POFILES $srcdirpre$lang.po"
   20116     GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   20117   fi
   20118 done
   20119 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
   20120     -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
   20121     -e "s,@POFILES@,$POFILES," \
   20122     -e "s,@GMOFILES@,$GMOFILES," \
   20123     po/Makefile.in > po/Makefile ;;
   20124 
   20125   esac
   20126 done # for ac_tag
   20127 
   20128 
   20129 as_fn_exit 0
   20130 _ACEOF
   20131 ac_clean_files=$ac_clean_files_save
   20132 
   20133 test $ac_write_fail = 0 ||
   20134   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20135 
   20136 
   20137 # configure is writing to config.log, and then calls config.status.
   20138 # config.status does its own redirection, appending to config.log.
   20139 # Unfortunately, on DOS this fails, as config.log is still kept open
   20140 # by configure, so config.status won't be able to write to it; its
   20141 # output is simply discarded.  So we exec the FD to /dev/null,
   20142 # effectively closing config.log, so it can be properly (re)opened and
   20143 # appended to by config.status.  When coming back to configure, we
   20144 # need to make the FD available again.
   20145 if test "$no_create" != yes; then
   20146   ac_cs_success=:
   20147   ac_config_status_args=
   20148   test "$silent" = yes &&
   20149     ac_config_status_args="$ac_config_status_args --quiet"
   20150   exec 5>/dev/null
   20151   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20152   exec 5>>config.log
   20153   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20154   # would make configure fail if this is the last instruction.
   20155   $ac_cs_success || as_fn_exit 1
   20156 fi
   20157 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20158   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20159 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20160 fi
   20161 
   20162 
   20163 
   20164 touch config.status.tmp
   20165 if touch --reference=config.status config.status.tmp > /dev/null 2>&1; then
   20166   sed '/as_fn_exit 0/i \
   20167 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
   20168 touch --reference=Makefile Makefile.tmp \
   20169 mv Makefile.tmp Makefile \
   20170 ' config.status > config.status.tmp
   20171   touch --reference=config.status config.status.tmp
   20172   mv config.status.tmp config.status
   20173   chmod +x config.status
   20174   sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile > Makefile.tmp
   20175   touch --reference=Makefile Makefile.tmp
   20176   mv Makefile.tmp Makefile
   20177 else
   20178   rm -f config.status.tmp
   20179 fi
   20180