Home | History | Annotate | Line # | Download | only in bfd
configure revision 1.24
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for bfd 2.46.0.
      4 #
      5 #
      6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      7 #
      8 #
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## -------------------- ##
     12 ## M4sh Initialization. ##
     13 ## -------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in #(
     26   *posix*) :
     27     set -o posix ;; #(
     28   *) :
     29      ;;
     30 esac
     31 fi
     32 
     33 
     34 as_nl='
     35 '
     36 export as_nl
     37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     41 # Prefer a ksh shell builtin over an external printf program on Solaris,
     42 # but without wasting forks for bash or zsh.
     43 if test -z "$BASH_VERSION$ZSH_VERSION" \
     44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     45   as_echo='print -r --'
     46   as_echo_n='print -rn --'
     47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     48   as_echo='printf %s\n'
     49   as_echo_n='printf %s'
     50 else
     51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     53     as_echo_n='/usr/ucb/echo -n'
     54   else
     55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     56     as_echo_n_body='eval
     57       arg=$1;
     58       case $arg in #(
     59       *"$as_nl"*)
     60 	expr "X$arg" : "X\\(.*\\)$as_nl";
     61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     62       esac;
     63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     64     '
     65     export as_echo_n_body
     66     as_echo_n='sh -c $as_echo_n_body as_echo'
     67   fi
     68   export as_echo_body
     69   as_echo='sh -c $as_echo_body as_echo'
     70 fi
     71 
     72 # The user is always right.
     73 if test "${PATH_SEPARATOR+set}" != set; then
     74   PATH_SEPARATOR=:
     75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     77       PATH_SEPARATOR=';'
     78   }
     79 fi
     80 
     81 
     82 # IFS
     83 # We need space, tab and new line, in precisely that order.  Quoting is
     84 # there to prevent editors from complaining about space-tab.
     85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     86 # splitting by setting IFS to empty value.)
     87 IFS=" ""	$as_nl"
     88 
     89 # Find who we are.  Look in the path if we contain no directory separator.
     90 as_myself=
     91 case $0 in #((
     92   *[\\/]* ) as_myself=$0 ;;
     93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     94 for as_dir in $PATH
     95 do
     96   IFS=$as_save_IFS
     97   test -z "$as_dir" && as_dir=.
     98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     99   done
    100 IFS=$as_save_IFS
    101 
    102      ;;
    103 esac
    104 # We did not find ourselves, most probably we were run as `sh COMMAND'
    105 # in which case we are not to be found in the path.
    106 if test "x$as_myself" = x; then
    107   as_myself=$0
    108 fi
    109 if test ! -f "$as_myself"; then
    110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    111   exit 1
    112 fi
    113 
    114 # Unset variables that we do not need and which cause bugs (e.g. in
    115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    116 # suppresses any "Segmentation fault" message there.  '((' could
    117 # trigger a bug in pdksh 5.2.14.
    118 for as_var in BASH_ENV ENV MAIL MAILPATH
    119 do eval test x\${$as_var+set} = xset \
    120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    121 done
    122 PS1='$ '
    123 PS2='> '
    124 PS4='+ '
    125 
    126 # NLS nuisances.
    127 LC_ALL=C
    128 export LC_ALL
    129 LANGUAGE=C
    130 export LANGUAGE
    131 
    132 # CDPATH.
    133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    134 
    135 # Use a proper internal environment variable to ensure we don't fall
    136   # into an infinite loop, continuously re-executing ourselves.
    137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    138     _as_can_reexec=no; export _as_can_reexec;
    139     # We cannot yet assume a decent shell, so we have to provide a
    140 # neutralization value for shells without unset; and this also
    141 # works around shells that cannot unset nonexistent variables.
    142 # Preserve -v and -x to the replacement shell.
    143 BASH_ENV=/dev/null
    144 ENV=/dev/null
    145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    146 case $- in # ((((
    147   *v*x* | *x*v* ) as_opts=-vx ;;
    148   *v* ) as_opts=-v ;;
    149   *x* ) as_opts=-x ;;
    150   * ) as_opts= ;;
    151 esac
    152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    153 # Admittedly, this is quite paranoid, since all the known shells bail
    154 # out after a failed `exec'.
    155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    156 as_fn_exit 255
    157   fi
    158   # We don't want this to propagate to other subprocesses.
    159           { _as_can_reexec=; unset _as_can_reexec;}
    160 if test "x$CONFIG_SHELL" = x; then
    161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    162   emulate sh
    163   NULLCMD=:
    164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    165   # is contrary to our usage.  Disable this feature.
    166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    167   setopt NO_GLOB_SUBST
    168 else
    169   case \`(set -o) 2>/dev/null\` in #(
    170   *posix*) :
    171     set -o posix ;; #(
    172   *) :
    173      ;;
    174 esac
    175 fi
    176 "
    177   as_required="as_fn_return () { (exit \$1); }
    178 as_fn_success () { as_fn_return 0; }
    179 as_fn_failure () { as_fn_return 1; }
    180 as_fn_ret_success () { return 0; }
    181 as_fn_ret_failure () { return 1; }
    182 
    183 exitcode=0
    184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    189 
    190 else
    191   exitcode=1; echo positional parameters were not saved.
    192 fi
    193 test x\$exitcode = x0 || exit 1
    194 test -x / || exit 1"
    195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    199 test \$(( 1 + 1 )) = 2 || exit 1
    200 
    201   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    202     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     PATH=/empty FPATH=/empty; export PATH FPATH
    206     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    207       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    208   if (eval "$as_required") 2>/dev/null; then :
    209   as_have_required=yes
    210 else
    211   as_have_required=no
    212 fi
    213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    214 
    215 else
    216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    217 as_found=false
    218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    219 do
    220   IFS=$as_save_IFS
    221   test -z "$as_dir" && as_dir=.
    222   as_found=:
    223   case $as_dir in #(
    224 	 /*)
    225 	   for as_base in sh bash ksh sh5; do
    226 	     # Try only shells that exist, to save several forks.
    227 	     as_shell=$as_dir/$as_base
    228 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    229 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    230   CONFIG_SHELL=$as_shell as_have_required=yes
    231 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   break 2
    233 fi
    234 fi
    235 	   done;;
    236        esac
    237   as_found=false
    238 done
    239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    241   CONFIG_SHELL=$SHELL as_have_required=yes
    242 fi; }
    243 IFS=$as_save_IFS
    244 
    245 
    246       if test "x$CONFIG_SHELL" != x; then :
    247   export CONFIG_SHELL
    248              # We cannot yet assume a decent shell, so we have to provide a
    249 # neutralization value for shells without unset; and this also
    250 # works around shells that cannot unset nonexistent variables.
    251 # Preserve -v and -x to the replacement shell.
    252 BASH_ENV=/dev/null
    253 ENV=/dev/null
    254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    255 case $- in # ((((
    256   *v*x* | *x*v* ) as_opts=-vx ;;
    257   *v* ) as_opts=-v ;;
    258   *x* ) as_opts=-x ;;
    259   * ) as_opts= ;;
    260 esac
    261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    262 # Admittedly, this is quite paranoid, since all the known shells bail
    263 # out after a failed `exec'.
    264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    265 exit 255
    266 fi
    267 
    268     if test x$as_have_required = xno; then :
    269   $as_echo "$0: This script requires a shell more modern than all"
    270   $as_echo "$0: the shells that I found on your system."
    271   if test x${ZSH_VERSION+set} = xset ; then
    272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    274   else
    275     $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system,
    276 $0: including any error possibly output before this
    277 $0: message. Then install a modern shell, or manually run
    278 $0: the script under such a shell if you do have one."
    279   fi
    280   exit 1
    281 fi
    282 fi
    283 fi
    284 SHELL=${CONFIG_SHELL-/bin/sh}
    285 export SHELL
    286 # Unset more variables known to interfere with behavior of common tools.
    287 CLICOLOR_FORCE= GREP_OPTIONS=
    288 unset CLICOLOR_FORCE GREP_OPTIONS
    289 
    290 ## --------------------- ##
    291 ## M4sh Shell Functions. ##
    292 ## --------------------- ##
    293 # as_fn_unset VAR
    294 # ---------------
    295 # Portably unset VAR.
    296 as_fn_unset ()
    297 {
    298   { eval $1=; unset $1;}
    299 }
    300 as_unset=as_fn_unset
    301 
    302 # as_fn_set_status STATUS
    303 # -----------------------
    304 # Set $? to STATUS, without forking.
    305 as_fn_set_status ()
    306 {
    307   return $1
    308 } # as_fn_set_status
    309 
    310 # as_fn_exit STATUS
    311 # -----------------
    312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    313 as_fn_exit ()
    314 {
    315   set +e
    316   as_fn_set_status $1
    317   exit $1
    318 } # as_fn_exit
    319 
    320 # as_fn_mkdir_p
    321 # -------------
    322 # Create "$as_dir" as a directory, including parents if necessary.
    323 as_fn_mkdir_p ()
    324 {
    325 
    326   case $as_dir in #(
    327   -*) as_dir=./$as_dir;;
    328   esac
    329   test -d "$as_dir" || eval $as_mkdir_p || {
    330     as_dirs=
    331     while :; do
    332       case $as_dir in #(
    333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    334       *) as_qdir=$as_dir;;
    335       esac
    336       as_dirs="'$as_qdir' $as_dirs"
    337       as_dir=`$as_dirname -- "$as_dir" ||
    338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    339 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    340 	 X"$as_dir" : 'X\(//\)$' \| \
    341 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    342 $as_echo X"$as_dir" |
    343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)[^/].*/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)$/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\).*/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  s/.*/./; q'`
    360       test -d "$as_dir" && break
    361     done
    362     test -z "$as_dirs" || eval "mkdir $as_dirs"
    363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    364 
    365 
    366 } # as_fn_mkdir_p
    367 
    368 # as_fn_executable_p FILE
    369 # -----------------------
    370 # Test if FILE is an executable regular file.
    371 as_fn_executable_p ()
    372 {
    373   test -f "$1" && test -x "$1"
    374 } # as_fn_executable_p
    375 # as_fn_append VAR VALUE
    376 # ----------------------
    377 # Append the text in VALUE to the end of the definition contained in VAR. Take
    378 # advantage of any shell optimizations that allow amortized linear growth over
    379 # repeated appends, instead of the typical quadratic growth present in naive
    380 # implementations.
    381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    382   eval 'as_fn_append ()
    383   {
    384     eval $1+=\$2
    385   }'
    386 else
    387   as_fn_append ()
    388   {
    389     eval $1=\$$1\$2
    390   }
    391 fi # as_fn_append
    392 
    393 # as_fn_arith ARG...
    394 # ------------------
    395 # Perform arithmetic evaluation on the ARGs, and store the result in the
    396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    397 # must be portable across $(()) and expr.
    398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    399   eval 'as_fn_arith ()
    400   {
    401     as_val=$(( $* ))
    402   }'
    403 else
    404   as_fn_arith ()
    405   {
    406     as_val=`expr "$@" || test $? -eq 1`
    407   }
    408 fi # as_fn_arith
    409 
    410 
    411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    412 # ----------------------------------------
    413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    415 # script with STATUS, using 1 if that was 0.
    416 as_fn_error ()
    417 {
    418   as_status=$1; test $as_status -eq 0 && as_status=1
    419   if test "$4"; then
    420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    422   fi
    423   $as_echo "$as_me: error: $2" >&2
    424   as_fn_exit $as_status
    425 } # as_fn_error
    426 
    427 if expr a : '\(a\)' >/dev/null 2>&1 &&
    428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    429   as_expr=expr
    430 else
    431   as_expr=false
    432 fi
    433 
    434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    435   as_basename=basename
    436 else
    437   as_basename=false
    438 fi
    439 
    440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    441   as_dirname=dirname
    442 else
    443   as_dirname=false
    444 fi
    445 
    446 as_me=`$as_basename -- "$0" ||
    447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    448 	 X"$0" : 'X\(//\)$' \| \
    449 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    450 $as_echo X/"$0" |
    451     sed '/^.*\/\([^/][^/]*\)\/*$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\/\)$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\).*/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  s/.*/./; q'`
    464 
    465 # Avoid depending upon Character Ranges.
    466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    469 as_cr_digits='0123456789'
    470 as_cr_alnum=$as_cr_Letters$as_cr_digits
    471 
    472 
    473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    478   sed -n '
    479     p
    480     /[$]LINENO/=
    481   ' <$as_myself |
    482     sed '
    483       s/[$]LINENO.*/&-/
    484       t lineno
    485       b
    486       :lineno
    487       N
    488       :loop
    489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    490       t loop
    491       s/-\n.*//
    492     ' >$as_me.lineno &&
    493   chmod +x "$as_me.lineno" ||
    494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    495 
    496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    497   # already done that, so ensure we don't try to do so again and fall
    498   # in an infinite loop.  This has already happened in practice.
    499   _as_can_reexec=no; export _as_can_reexec
    500   # Don't try to exec as it changes $[0], causing all sort of problems
    501   # (the dirname of $[0] is not the place where we might find the
    502   # original and so on.  Autoconf is especially sensitive to this).
    503   . "./$as_me.lineno"
    504   # Exit status is that of the last command.
    505   exit
    506 }
    507 
    508 ECHO_C= ECHO_N= ECHO_T=
    509 case `echo -n x` in #(((((
    510 -n*)
    511   case `echo 'xy\c'` in
    512   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    513   xy)  ECHO_C='\c';;
    514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    515        ECHO_T='	';;
    516   esac;;
    517 *)
    518   ECHO_N='-n';;
    519 esac
    520 
    521 rm -f conf$$ conf$$.exe conf$$.file
    522 if test -d conf$$.dir; then
    523   rm -f conf$$.dir/conf$$.file
    524 else
    525   rm -f conf$$.dir
    526   mkdir conf$$.dir 2>/dev/null
    527 fi
    528 if (echo >conf$$.file) 2>/dev/null; then
    529   if ln -s conf$$.file conf$$ 2>/dev/null; then
    530     as_ln_s='ln -s'
    531     # ... but there are two gotchas:
    532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    534     # In both cases, we have to default to `cp -pR'.
    535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    536       as_ln_s='cp -pR'
    537   elif ln conf$$.file conf$$ 2>/dev/null; then
    538     as_ln_s=ln
    539   else
    540     as_ln_s='cp -pR'
    541   fi
    542 else
    543   as_ln_s='cp -pR'
    544 fi
    545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    546 rmdir conf$$.dir 2>/dev/null
    547 
    548 if mkdir -p . 2>/dev/null; then
    549   as_mkdir_p='mkdir -p "$as_dir"'
    550 else
    551   test -d ./-p && rmdir ./-p
    552   as_mkdir_p=false
    553 fi
    554 
    555 as_test_x='test -x'
    556 as_executable_p=as_fn_executable_p
    557 
    558 # Sed expression to map a string onto a valid CPP name.
    559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    560 
    561 # Sed expression to map a string onto a valid variable name.
    562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    563 
    564 SHELL=${CONFIG_SHELL-/bin/sh}
    565 
    566 
    567 test -n "$DJDIR" || exec 7<&0 </dev/null
    568 exec 6>&1
    569 
    570 # Name of the host.
    571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    572 # so uname gets run too.
    573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    574 
    575 #
    576 # Initializations.
    577 #
    578 ac_default_prefix=/usr/local
    579 ac_clean_files=
    580 ac_config_libobj_dir=.
    581 LIBOBJS=
    582 cross_compiling=no
    583 subdirs=
    584 MFLAGS=
    585 MAKEFLAGS=
    586 
    587 # Identity of this package.
    588 PACKAGE_NAME='bfd'
    589 PACKAGE_TARNAME='bfd'
    590 PACKAGE_VERSION='2.46.0'
    591 PACKAGE_STRING='bfd 2.46.0'
    592 PACKAGE_BUGREPORT=''
    593 PACKAGE_URL=''
    594 
    595 ac_unique_file="libbfd.c"
    596 # Factoring default headers for most tests.
    597 ac_includes_default="\
    598 #include <stdio.h>
    599 #ifdef HAVE_SYS_TYPES_H
    600 # include <sys/types.h>
    601 #endif
    602 #ifdef HAVE_SYS_STAT_H
    603 # include <sys/stat.h>
    604 #endif
    605 #ifdef STDC_HEADERS
    606 # include <stdlib.h>
    607 # include <stddef.h>
    608 #else
    609 # ifdef HAVE_STDLIB_H
    610 #  include <stdlib.h>
    611 # endif
    612 #endif
    613 #ifdef HAVE_STRING_H
    614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    615 #  include <memory.h>
    616 # endif
    617 # include <string.h>
    618 #endif
    619 #ifdef HAVE_STRINGS_H
    620 # include <strings.h>
    621 #endif
    622 #ifdef HAVE_INTTYPES_H
    623 # include <inttypes.h>
    624 #endif
    625 #ifdef HAVE_STDINT_H
    626 # include <stdint.h>
    627 #endif
    628 #ifdef HAVE_UNISTD_H
    629 # include <unistd.h>
    630 #endif"
    631 
    632 gt_needs=
    633 ac_header_list=
    634 ac_subst_vars='am__EXEEXT_FALSE
    635 am__EXEEXT_TRUE
    636 LTLIBOBJS
    637 LIBOBJS
    638 bfd_ufile_ptr
    639 bfd_file_ptr
    640 lt_cv_dlopen_libs
    641 supports_plugins
    642 COREFLAG
    643 COREFILE
    644 havevecs
    645 tdefaults
    646 bfd_default_target_size
    647 bfd_machines
    648 bfd_backends
    649 all_backends
    650 bfd64_libs
    651 wordsize
    652 TDEFINES
    653 SHARED_LIBADD
    654 SHARED_LDFLAGS
    655 LIBM
    656 ZSTD_LIBS
    657 ZSTD_CFLAGS
    658 PKG_CONFIG_LIBDIR
    659 PKG_CONFIG_PATH
    660 PKG_CONFIG
    661 zlibinc
    662 zlibdir
    663 EXEEXT_FOR_BUILD
    664 CC_FOR_BUILD
    665 HDEFINES
    666 CATOBJEXT
    667 GENCAT
    668 INSTOBJEXT
    669 DATADIRNAME
    670 CATALOGS
    671 INCINTL
    672 LIBINTL_DEP
    673 POSUB
    674 LTLIBINTL
    675 LIBINTL
    676 INTLLIBS
    677 LTLIBICONV
    678 LIBICONV
    679 INTL_MACOSX_LIBS
    680 MSGMERGE
    681 XGETTEXT
    682 GMSGFMT
    683 MSGFMT
    684 USE_NLS
    685 MKINSTALLDIRS
    686 bfdincludedir
    687 bfdlibdir
    688 target_noncanonical
    689 host_noncanonical
    690 INSTALL_LIBBFD_FALSE
    691 INSTALL_LIBBFD_TRUE
    692 GENINSRC_NEVER_FALSE
    693 GENINSRC_NEVER_TRUE
    694 MAINT
    695 MAINTAINER_MODE_FALSE
    696 MAINTAINER_MODE_TRUE
    697 WARN_WRITE_STRINGS
    698 NO_WERROR
    699 WARN_CFLAGS_FOR_BUILD
    700 WARN_CFLAGS
    701 REPORT_BUGS_TEXI
    702 REPORT_BUGS_TO
    703 PKGVERSION
    704 DEBUGDIR
    705 PLUGINS_FALSE
    706 PLUGINS_TRUE
    707 LARGEFILE_CPPFLAGS
    708 OTOOL64
    709 OTOOL
    710 LIPO
    711 NMEDIT
    712 DSYMUTIL
    713 LLVM_CONFIG
    714 OBJDUMP
    715 LN_S
    716 NM
    717 ac_ct_DUMPBIN
    718 DUMPBIN
    719 LD
    720 FGREP
    721 SED
    722 LIBTOOL
    723 EGREP
    724 GREP
    725 CPP
    726 am__fastdepCC_FALSE
    727 am__fastdepCC_TRUE
    728 CCDEPMODE
    729 am__nodep
    730 AMDEPBACKSLASH
    731 AMDEP_FALSE
    732 AMDEP_TRUE
    733 am__quote
    734 am__include
    735 DEPDIR
    736 OBJEXT
    737 EXEEXT
    738 ac_ct_CC
    739 CPPFLAGS
    740 LDFLAGS
    741 CFLAGS
    742 CC
    743 RANLIB
    744 AR
    745 AM_BACKSLASH
    746 AM_DEFAULT_VERBOSITY
    747 AM_DEFAULT_V
    748 AM_V
    749 am__untar
    750 am__tar
    751 AMTAR
    752 am__leading_dot
    753 SET_MAKE
    754 AWK
    755 mkdir_p
    756 MKDIR_P
    757 INSTALL_STRIP_PROGRAM
    758 STRIP
    759 install_sh
    760 MAKEINFO
    761 AUTOHEADER
    762 AUTOMAKE
    763 AUTOCONF
    764 ACLOCAL
    765 VERSION
    766 PACKAGE
    767 CYGPATH_W
    768 am__isrc
    769 INSTALL_DATA
    770 INSTALL_SCRIPT
    771 INSTALL_PROGRAM
    772 target_os
    773 target_vendor
    774 target_cpu
    775 target
    776 host_os
    777 host_vendor
    778 host_cpu
    779 host
    780 build_os
    781 build_vendor
    782 build_cpu
    783 build
    784 target_alias
    785 host_alias
    786 build_alias
    787 LIBS
    788 ECHO_T
    789 ECHO_N
    790 ECHO_C
    791 DEFS
    792 mandir
    793 localedir
    794 libdir
    795 psdir
    796 pdfdir
    797 dvidir
    798 htmldir
    799 infodir
    800 docdir
    801 oldincludedir
    802 includedir
    803 localstatedir
    804 sharedstatedir
    805 sysconfdir
    806 datadir
    807 datarootdir
    808 libexecdir
    809 sbindir
    810 bindir
    811 program_transform_name
    812 prefix
    813 exec_prefix
    814 PACKAGE_URL
    815 PACKAGE_BUGREPORT
    816 PACKAGE_STRING
    817 PACKAGE_VERSION
    818 PACKAGE_TARNAME
    819 PACKAGE_NAME
    820 PATH_SEPARATOR
    821 SHELL'
    822 ac_subst_files=''
    823 ac_user_opts='
    824 enable_option_checking
    825 enable_silent_rules
    826 enable_shared
    827 enable_dependency_tracking
    828 enable_static
    829 with_pic
    830 enable_fast_install
    831 with_gnu_ld
    832 enable_libtool_lock
    833 enable_plugins
    834 enable_largefile
    835 enable_checking
    836 enable_64_bit_bfd
    837 enable_targets
    838 enable_64_bit_archive
    839 with_mmap
    840 enable_secureplt
    841 enable_separate_code
    842 enable_leading_mingw64_underscores
    843 with_separate_debug_dir
    844 with_pkgversion
    845 with_bugurl
    846 enable_werror
    847 enable_build_warnings
    848 enable_maintainer_mode
    849 enable_install_libbfd
    850 enable_nls
    851 enable_rpath
    852 with_libiconv_prefix
    853 with_libiconv_type
    854 with_libintl_prefix
    855 with_libintl_type
    856 with_system_zlib
    857 with_zstd
    858 '
    859       ac_precious_vars='build_alias
    860 host_alias
    861 target_alias
    862 CC
    863 CFLAGS
    864 LDFLAGS
    865 LIBS
    866 CPPFLAGS
    867 CPP
    868 PKG_CONFIG
    869 PKG_CONFIG_PATH
    870 PKG_CONFIG_LIBDIR
    871 ZSTD_CFLAGS
    872 ZSTD_LIBS'
    873 
    874 
    875 # Initialize some variables set by options.
    876 ac_init_help=
    877 ac_init_version=false
    878 ac_unrecognized_opts=
    879 ac_unrecognized_sep=
    880 # The variables have the same names as the options, with
    881 # dashes changed to underlines.
    882 cache_file=/dev/null
    883 exec_prefix=NONE
    884 no_create=
    885 no_recursion=
    886 prefix=NONE
    887 program_prefix=NONE
    888 program_suffix=NONE
    889 program_transform_name=s,x,x,
    890 silent=
    891 site=
    892 srcdir=
    893 verbose=
    894 x_includes=NONE
    895 x_libraries=NONE
    896 
    897 # Installation directory options.
    898 # These are left unexpanded so users can "make install exec_prefix=/foo"
    899 # and all the variables that are supposed to be based on exec_prefix
    900 # by default will actually change.
    901 # Use braces instead of parens because sh, perl, etc. also accept them.
    902 # (The list follows the same order as the GNU Coding Standards.)
    903 bindir='${exec_prefix}/bin'
    904 sbindir='${exec_prefix}/sbin'
    905 libexecdir='${exec_prefix}/libexec'
    906 datarootdir='${prefix}/share'
    907 datadir='${datarootdir}'
    908 sysconfdir='${prefix}/etc'
    909 sharedstatedir='${prefix}/com'
    910 localstatedir='${prefix}/var'
    911 includedir='${prefix}/include'
    912 oldincludedir='/usr/include'
    913 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    914 infodir='${datarootdir}/info'
    915 htmldir='${docdir}'
    916 dvidir='${docdir}'
    917 pdfdir='${docdir}'
    918 psdir='${docdir}'
    919 libdir='${exec_prefix}/lib'
    920 localedir='${datarootdir}/locale'
    921 mandir='${datarootdir}/man'
    922 
    923 ac_prev=
    924 ac_dashdash=
    925 for ac_option
    926 do
    927   # If the previous option needs an argument, assign it.
    928   if test -n "$ac_prev"; then
    929     eval $ac_prev=\$ac_option
    930     ac_prev=
    931     continue
    932   fi
    933 
    934   case $ac_option in
    935   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    936   *=)   ac_optarg= ;;
    937   *)    ac_optarg=yes ;;
    938   esac
    939 
    940   # Accept the important Cygnus configure options, so we can diagnose typos.
    941 
    942   case $ac_dashdash$ac_option in
    943   --)
    944     ac_dashdash=yes ;;
    945 
    946   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    947     ac_prev=bindir ;;
    948   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    949     bindir=$ac_optarg ;;
    950 
    951   -build | --build | --buil | --bui | --bu)
    952     ac_prev=build_alias ;;
    953   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    954     build_alias=$ac_optarg ;;
    955 
    956   -cache-file | --cache-file | --cache-fil | --cache-fi \
    957   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    958     ac_prev=cache_file ;;
    959   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    960   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    961     cache_file=$ac_optarg ;;
    962 
    963   --config-cache | -C)
    964     cache_file=config.cache ;;
    965 
    966   -datadir | --datadir | --datadi | --datad)
    967     ac_prev=datadir ;;
    968   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    969     datadir=$ac_optarg ;;
    970 
    971   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    972   | --dataroo | --dataro | --datar)
    973     ac_prev=datarootdir ;;
    974   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    975   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    976     datarootdir=$ac_optarg ;;
    977 
    978   -disable-* | --disable-*)
    979     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    980     # Reject names that are not valid shell variable names.
    981     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    982       as_fn_error $? "invalid feature name: $ac_useropt"
    983     ac_useropt_orig=$ac_useropt
    984     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    985     case $ac_user_opts in
    986       *"
    987 "enable_$ac_useropt"
    988 "*) ;;
    989       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    990 	 ac_unrecognized_sep=', ';;
    991     esac
    992     eval enable_$ac_useropt=no ;;
    993 
    994   -docdir | --docdir | --docdi | --doc | --do)
    995     ac_prev=docdir ;;
    996   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    997     docdir=$ac_optarg ;;
    998 
    999   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1000     ac_prev=dvidir ;;
   1001   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1002     dvidir=$ac_optarg ;;
   1003 
   1004   -enable-* | --enable-*)
   1005     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1006     # Reject names that are not valid shell variable names.
   1007     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1008       as_fn_error $? "invalid feature name: $ac_useropt"
   1009     ac_useropt_orig=$ac_useropt
   1010     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1011     case $ac_user_opts in
   1012       *"
   1013 "enable_$ac_useropt"
   1014 "*) ;;
   1015       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1016 	 ac_unrecognized_sep=', ';;
   1017     esac
   1018     eval enable_$ac_useropt=\$ac_optarg ;;
   1019 
   1020   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1021   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1022   | --exec | --exe | --ex)
   1023     ac_prev=exec_prefix ;;
   1024   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1025   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1026   | --exec=* | --exe=* | --ex=*)
   1027     exec_prefix=$ac_optarg ;;
   1028 
   1029   -gas | --gas | --ga | --g)
   1030     # Obsolete; use --with-gas.
   1031     with_gas=yes ;;
   1032 
   1033   -help | --help | --hel | --he | -h)
   1034     ac_init_help=long ;;
   1035   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1036     ac_init_help=recursive ;;
   1037   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1038     ac_init_help=short ;;
   1039 
   1040   -host | --host | --hos | --ho)
   1041     ac_prev=host_alias ;;
   1042   -host=* | --host=* | --hos=* | --ho=*)
   1043     host_alias=$ac_optarg ;;
   1044 
   1045   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1046     ac_prev=htmldir ;;
   1047   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1048   | --ht=*)
   1049     htmldir=$ac_optarg ;;
   1050 
   1051   -includedir | --includedir | --includedi | --included | --include \
   1052   | --includ | --inclu | --incl | --inc)
   1053     ac_prev=includedir ;;
   1054   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1055   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1056     includedir=$ac_optarg ;;
   1057 
   1058   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1059     ac_prev=infodir ;;
   1060   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1061     infodir=$ac_optarg ;;
   1062 
   1063   -libdir | --libdir | --libdi | --libd)
   1064     ac_prev=libdir ;;
   1065   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1066     libdir=$ac_optarg ;;
   1067 
   1068   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1069   | --libexe | --libex | --libe)
   1070     ac_prev=libexecdir ;;
   1071   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1072   | --libexe=* | --libex=* | --libe=*)
   1073     libexecdir=$ac_optarg ;;
   1074 
   1075   -localedir | --localedir | --localedi | --localed | --locale)
   1076     ac_prev=localedir ;;
   1077   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1078     localedir=$ac_optarg ;;
   1079 
   1080   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1081   | --localstate | --localstat | --localsta | --localst | --locals)
   1082     ac_prev=localstatedir ;;
   1083   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1084   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1085     localstatedir=$ac_optarg ;;
   1086 
   1087   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1088     ac_prev=mandir ;;
   1089   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1090     mandir=$ac_optarg ;;
   1091 
   1092   -nfp | --nfp | --nf)
   1093     # Obsolete; use --without-fp.
   1094     with_fp=no ;;
   1095 
   1096   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1097   | --no-cr | --no-c | -n)
   1098     no_create=yes ;;
   1099 
   1100   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1101   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1102     no_recursion=yes ;;
   1103 
   1104   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1105   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1106   | --oldin | --oldi | --old | --ol | --o)
   1107     ac_prev=oldincludedir ;;
   1108   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1109   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1110   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1111     oldincludedir=$ac_optarg ;;
   1112 
   1113   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1114     ac_prev=prefix ;;
   1115   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1116     prefix=$ac_optarg ;;
   1117 
   1118   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1119   | --program-pre | --program-pr | --program-p)
   1120     ac_prev=program_prefix ;;
   1121   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1122   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1123     program_prefix=$ac_optarg ;;
   1124 
   1125   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1126   | --program-suf | --program-su | --program-s)
   1127     ac_prev=program_suffix ;;
   1128   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1129   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1130     program_suffix=$ac_optarg ;;
   1131 
   1132   -program-transform-name | --program-transform-name \
   1133   | --program-transform-nam | --program-transform-na \
   1134   | --program-transform-n | --program-transform- \
   1135   | --program-transform | --program-transfor \
   1136   | --program-transfo | --program-transf \
   1137   | --program-trans | --program-tran \
   1138   | --progr-tra | --program-tr | --program-t)
   1139     ac_prev=program_transform_name ;;
   1140   -program-transform-name=* | --program-transform-name=* \
   1141   | --program-transform-nam=* | --program-transform-na=* \
   1142   | --program-transform-n=* | --program-transform-=* \
   1143   | --program-transform=* | --program-transfor=* \
   1144   | --program-transfo=* | --program-transf=* \
   1145   | --program-trans=* | --program-tran=* \
   1146   | --progr-tra=* | --program-tr=* | --program-t=*)
   1147     program_transform_name=$ac_optarg ;;
   1148 
   1149   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1150     ac_prev=pdfdir ;;
   1151   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1152     pdfdir=$ac_optarg ;;
   1153 
   1154   -psdir | --psdir | --psdi | --psd | --ps)
   1155     ac_prev=psdir ;;
   1156   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1157     psdir=$ac_optarg ;;
   1158 
   1159   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1160   | -silent | --silent | --silen | --sile | --sil)
   1161     silent=yes ;;
   1162 
   1163   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1164     ac_prev=sbindir ;;
   1165   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1166   | --sbi=* | --sb=*)
   1167     sbindir=$ac_optarg ;;
   1168 
   1169   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1170   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1171   | --sharedst | --shareds | --shared | --share | --shar \
   1172   | --sha | --sh)
   1173     ac_prev=sharedstatedir ;;
   1174   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1175   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1176   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1177   | --sha=* | --sh=*)
   1178     sharedstatedir=$ac_optarg ;;
   1179 
   1180   -site | --site | --sit)
   1181     ac_prev=site ;;
   1182   -site=* | --site=* | --sit=*)
   1183     site=$ac_optarg ;;
   1184 
   1185   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1186     ac_prev=srcdir ;;
   1187   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1188     srcdir=$ac_optarg ;;
   1189 
   1190   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1191   | --syscon | --sysco | --sysc | --sys | --sy)
   1192     ac_prev=sysconfdir ;;
   1193   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1194   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1195     sysconfdir=$ac_optarg ;;
   1196 
   1197   -target | --target | --targe | --targ | --tar | --ta | --t)
   1198     ac_prev=target_alias ;;
   1199   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1200     target_alias=$ac_optarg ;;
   1201 
   1202   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1203     verbose=yes ;;
   1204 
   1205   -version | --version | --versio | --versi | --vers | -V)
   1206     ac_init_version=: ;;
   1207 
   1208   -with-* | --with-*)
   1209     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1210     # Reject names that are not valid shell variable names.
   1211     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1212       as_fn_error $? "invalid package name: $ac_useropt"
   1213     ac_useropt_orig=$ac_useropt
   1214     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1215     case $ac_user_opts in
   1216       *"
   1217 "with_$ac_useropt"
   1218 "*) ;;
   1219       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1220 	 ac_unrecognized_sep=', ';;
   1221     esac
   1222     eval with_$ac_useropt=\$ac_optarg ;;
   1223 
   1224   -without-* | --without-*)
   1225     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1226     # Reject names that are not valid shell variable names.
   1227     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1228       as_fn_error $? "invalid package name: $ac_useropt"
   1229     ac_useropt_orig=$ac_useropt
   1230     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1231     case $ac_user_opts in
   1232       *"
   1233 "with_$ac_useropt"
   1234 "*) ;;
   1235       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1236 	 ac_unrecognized_sep=', ';;
   1237     esac
   1238     eval with_$ac_useropt=no ;;
   1239 
   1240   --x)
   1241     # Obsolete; use --with-x.
   1242     with_x=yes ;;
   1243 
   1244   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1245   | --x-incl | --x-inc | --x-in | --x-i)
   1246     ac_prev=x_includes ;;
   1247   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1248   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1249     x_includes=$ac_optarg ;;
   1250 
   1251   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1252   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1253     ac_prev=x_libraries ;;
   1254   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1255   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1256     x_libraries=$ac_optarg ;;
   1257 
   1258   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1259 Try \`$0 --help' for more information"
   1260     ;;
   1261 
   1262   *=*)
   1263     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1264     # Reject names that are not valid shell variable names.
   1265     case $ac_envvar in #(
   1266       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1267       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1268     esac
   1269     eval $ac_envvar=\$ac_optarg
   1270     export $ac_envvar ;;
   1271 
   1272   *)
   1273     # FIXME: should be removed in autoconf 3.0.
   1274     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1275     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1276       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1277     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1278     ;;
   1279 
   1280   esac
   1281 done
   1282 
   1283 if test -n "$ac_prev"; then
   1284   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1285   as_fn_error $? "missing argument to $ac_option"
   1286 fi
   1287 
   1288 if test -n "$ac_unrecognized_opts"; then
   1289   case $enable_option_checking in
   1290     no) ;;
   1291     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1292     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1293   esac
   1294 fi
   1295 
   1296 # Check all directory arguments for consistency.
   1297 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1298 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1299 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1300 		libdir localedir mandir
   1301 do
   1302   eval ac_val=\$$ac_var
   1303   # Remove trailing slashes.
   1304   case $ac_val in
   1305     */ )
   1306       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1307       eval $ac_var=\$ac_val;;
   1308   esac
   1309   # Be sure to have absolute directory names.
   1310   case $ac_val in
   1311     [\\/$]* | ?:[\\/]* )  continue;;
   1312     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1313   esac
   1314   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1315 done
   1316 
   1317 # There might be people who depend on the old broken behavior: `$host'
   1318 # used to hold the argument of --host etc.
   1319 # FIXME: To remove some day.
   1320 build=$build_alias
   1321 host=$host_alias
   1322 target=$target_alias
   1323 
   1324 # FIXME: To remove some day.
   1325 if test "x$host_alias" != x; then
   1326   if test "x$build_alias" = x; then
   1327     cross_compiling=maybe
   1328   elif test "x$build_alias" != "x$host_alias"; then
   1329     cross_compiling=yes
   1330   fi
   1331 fi
   1332 
   1333 ac_tool_prefix=
   1334 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1335 
   1336 test "$silent" = yes && exec 6>/dev/null
   1337 
   1338 
   1339 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1340 ac_ls_di=`ls -di .` &&
   1341 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1342   as_fn_error $? "working directory cannot be determined"
   1343 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1344   as_fn_error $? "pwd does not report name of working directory"
   1345 
   1346 
   1347 # Find the source files, if location was not specified.
   1348 if test -z "$srcdir"; then
   1349   ac_srcdir_defaulted=yes
   1350   # Try the directory containing this script, then the parent directory.
   1351   ac_confdir=`$as_dirname -- "$as_myself" ||
   1352 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1353 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1354 	 X"$as_myself" : 'X\(//\)$' \| \
   1355 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1356 $as_echo X"$as_myself" |
   1357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1358 	    s//\1/
   1359 	    q
   1360 	  }
   1361 	  /^X\(\/\/\)[^/].*/{
   1362 	    s//\1/
   1363 	    q
   1364 	  }
   1365 	  /^X\(\/\/\)$/{
   1366 	    s//\1/
   1367 	    q
   1368 	  }
   1369 	  /^X\(\/\).*/{
   1370 	    s//\1/
   1371 	    q
   1372 	  }
   1373 	  s/.*/./; q'`
   1374   srcdir=$ac_confdir
   1375   if test ! -r "$srcdir/$ac_unique_file"; then
   1376     srcdir=..
   1377   fi
   1378 else
   1379   ac_srcdir_defaulted=no
   1380 fi
   1381 if test ! -r "$srcdir/$ac_unique_file"; then
   1382   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1383   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1384 fi
   1385 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1386 ac_abs_confdir=`(
   1387 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1388 	pwd)`
   1389 # When building in place, set srcdir=.
   1390 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1391   srcdir=.
   1392 fi
   1393 # Remove unnecessary trailing slashes from srcdir.
   1394 # Double slashes in file names in object file debugging info
   1395 # mess up M-x gdb in Emacs.
   1396 case $srcdir in
   1397 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1398 esac
   1399 for ac_var in $ac_precious_vars; do
   1400   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1401   eval ac_env_${ac_var}_value=\$${ac_var}
   1402   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1403   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1404 done
   1405 
   1406 #
   1407 # Report the --help message.
   1408 #
   1409 if test "$ac_init_help" = "long"; then
   1410   # Omit some internal or obsolete options to make the list less imposing.
   1411   # This message is too long to be a string in the A/UX 3.1 sh.
   1412   cat <<_ACEOF
   1413 \`configure' configures bfd 2.46.0 to adapt to many kinds of systems.
   1414 
   1415 Usage: $0 [OPTION]... [VAR=VALUE]...
   1416 
   1417 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1418 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1419 
   1420 Defaults for the options are specified in brackets.
   1421 
   1422 Configuration:
   1423   -h, --help              display this help and exit
   1424       --help=short        display options specific to this package
   1425       --help=recursive    display the short help of all the included packages
   1426   -V, --version           display version information and exit
   1427   -q, --quiet, --silent   do not print \`checking ...' messages
   1428       --cache-file=FILE   cache test results in FILE [disabled]
   1429   -C, --config-cache      alias for \`--cache-file=config.cache'
   1430   -n, --no-create         do not create output files
   1431       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1432 
   1433 Installation directories:
   1434   --prefix=PREFIX         install architecture-independent files in PREFIX
   1435                           [$ac_default_prefix]
   1436   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1437                           [PREFIX]
   1438 
   1439 By default, \`make install' will install all the files in
   1440 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1441 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1442 for instance \`--prefix=\$HOME'.
   1443 
   1444 For better control, use the options below.
   1445 
   1446 Fine tuning of the installation directories:
   1447   --bindir=DIR            user executables [EPREFIX/bin]
   1448   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1449   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1450   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1451   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1452   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1453   --libdir=DIR            object code libraries [EPREFIX/lib]
   1454   --includedir=DIR        C header files [PREFIX/include]
   1455   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1456   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1457   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1458   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1459   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1460   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1461   --docdir=DIR            documentation root [DATAROOTDIR/doc/bfd]
   1462   --htmldir=DIR           html documentation [DOCDIR]
   1463   --dvidir=DIR            dvi documentation [DOCDIR]
   1464   --pdfdir=DIR            pdf documentation [DOCDIR]
   1465   --psdir=DIR             ps documentation [DOCDIR]
   1466 _ACEOF
   1467 
   1468   cat <<\_ACEOF
   1469 
   1470 Program names:
   1471   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1472   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1473   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1474 
   1475 System types:
   1476   --build=BUILD     configure for building on BUILD [guessed]
   1477   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1478   --target=TARGET   configure for building compilers for TARGET [HOST]
   1479 _ACEOF
   1480 fi
   1481 
   1482 if test -n "$ac_init_help"; then
   1483   case $ac_init_help in
   1484      short | recursive ) echo "Configuration of bfd 2.46.0:";;
   1485    esac
   1486   cat <<\_ACEOF
   1487 
   1488 Optional Features:
   1489   --disable-option-checking  ignore unrecognized --enable/--with options
   1490   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1491   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1492   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1493   --disable-silent-rules  verbose build output (undo: "make V=0")
   1494   --enable-shared[=PKGS]  build shared libraries [default=no]
   1495   --enable-dependency-tracking
   1496                           do not reject slow dependency extractors
   1497   --disable-dependency-tracking
   1498                           speeds up one-time build
   1499   --enable-static[=PKGS]  build static libraries [default=yes]
   1500   --enable-fast-install[=PKGS]
   1501                           optimize for fast installation [default=yes]
   1502   --disable-libtool-lock  avoid locking (might break parallel builds)
   1503   --enable-plugins        Enable support for plugins
   1504   --disable-largefile     omit support for large files
   1505   --enable-checking       enable run-time checks
   1506   --enable-64-bit-bfd     64-bit support (on hosts with narrower word sizes)
   1507   --enable-targets        alternative target configurations
   1508   --enable-64-bit-archive force 64-bit archives
   1509   --enable-secureplt      Default to creating read-only plt entries
   1510   --enable-separate-code  enable -z separate-code in ELF linker by default
   1511   --enable-leading-mingw64-underscores
   1512                           Enable leading underscores on 64 bit mingw targets
   1513   --enable-werror         treat compile warnings as errors
   1514   --enable-build-warnings enable build-time compiler warnings
   1515   --enable-maintainer-mode
   1516                           enable make rules and dependencies not useful (and
   1517                           sometimes confusing) to the casual installer
   1518   --enable-install-libbfd controls installation of libbfd and related headers
   1519   --disable-nls           do not use Native Language Support
   1520   --disable-rpath         do not hardcode runtime library paths
   1521 
   1522 Optional Packages:
   1523   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1524   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1525   --with-pic              try to use only PIC/non-PIC objects [default=use
   1526                           both]
   1527   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1528   --with-mmap             try using mmap for BFD input files if available
   1529   --with-separate-debug-dir=DIR
   1530                           Look for global separate debug info in DIR
   1531                           [[default=LIBDIR/debug]]
   1532   --with-pkgversion=PKG   Use PKG in the version string in place of "GNU
   1533                           Binutils"
   1534   --with-bugurl=URL       Direct users to URL to report a bug
   1535   --with-gnu-ld           assume the C compiler uses GNU ld default=no
   1536   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1537   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1538   --with-libiconv-type=TYPE     type of library to search for (auto/static/shared)
   1539   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
   1540   --without-libintl-prefix     don't search for libintl in includedir and libdir
   1541   --with-libintl-type=TYPE     type of library to search for (auto/static/shared)
   1542   --with-system-zlib      use installed libz
   1543   --with-zstd             support zstd compressed debug sections
   1544                           (default=auto)
   1545 
   1546 Some influential environment variables:
   1547   CC          C compiler command
   1548   CFLAGS      C compiler flags
   1549   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1550               nonstandard directory <lib dir>
   1551   LIBS        libraries to pass to the linker, e.g. -l<library>
   1552   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1553               you have headers in a nonstandard directory <include dir>
   1554   CPP         C preprocessor
   1555   PKG_CONFIG  path to pkg-config utility
   1556   PKG_CONFIG_PATH
   1557               directories to add to pkg-config's search path
   1558   PKG_CONFIG_LIBDIR
   1559               path overriding pkg-config's built-in search path
   1560   ZSTD_CFLAGS C compiler flags for ZSTD, overriding pkg-config
   1561   ZSTD_LIBS   linker flags for ZSTD, overriding pkg-config
   1562 
   1563 Use these variables to override the choices made by `configure' or to help
   1564 it to find libraries and programs with nonstandard names/locations.
   1565 
   1566 Report bugs to the package provider.
   1567 _ACEOF
   1568 ac_status=$?
   1569 fi
   1570 
   1571 if test "$ac_init_help" = "recursive"; then
   1572   # If there are subdirs, report their specific --help.
   1573   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1574     test -d "$ac_dir" ||
   1575       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1576       continue
   1577     ac_builddir=.
   1578 
   1579 case "$ac_dir" in
   1580 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1581 *)
   1582   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1583   # A ".." for each directory in $ac_dir_suffix.
   1584   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1585   case $ac_top_builddir_sub in
   1586   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1587   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1588   esac ;;
   1589 esac
   1590 ac_abs_top_builddir=$ac_pwd
   1591 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1592 # for backward compatibility:
   1593 ac_top_builddir=$ac_top_build_prefix
   1594 
   1595 case $srcdir in
   1596   .)  # We are building in place.
   1597     ac_srcdir=.
   1598     ac_top_srcdir=$ac_top_builddir_sub
   1599     ac_abs_top_srcdir=$ac_pwd ;;
   1600   [\\/]* | ?:[\\/]* )  # Absolute name.
   1601     ac_srcdir=$srcdir$ac_dir_suffix;
   1602     ac_top_srcdir=$srcdir
   1603     ac_abs_top_srcdir=$srcdir ;;
   1604   *) # Relative name.
   1605     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1606     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1607     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1608 esac
   1609 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1610 
   1611     cd "$ac_dir" || { ac_status=$?; continue; }
   1612     # Check for guested configure.
   1613     if test -f "$ac_srcdir/configure.gnu"; then
   1614       echo &&
   1615       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1616     elif test -f "$ac_srcdir/configure"; then
   1617       echo &&
   1618       $SHELL "$ac_srcdir/configure" --help=recursive
   1619     else
   1620       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1621     fi || ac_status=$?
   1622     cd "$ac_pwd" || { ac_status=$?; break; }
   1623   done
   1624 fi
   1625 
   1626 test -n "$ac_init_help" && exit $ac_status
   1627 if $ac_init_version; then
   1628   cat <<\_ACEOF
   1629 bfd configure 2.46.0
   1630 generated by GNU Autoconf 2.69
   1631 
   1632 Copyright (C) 2012 Free Software Foundation, Inc.
   1633 This configure script is free software; the Free Software Foundation
   1634 gives unlimited permission to copy, distribute and modify it.
   1635 _ACEOF
   1636   exit
   1637 fi
   1638 
   1639 ## ------------------------ ##
   1640 ## Autoconf initialization. ##
   1641 ## ------------------------ ##
   1642 
   1643 # ac_fn_c_try_compile LINENO
   1644 # --------------------------
   1645 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1646 ac_fn_c_try_compile ()
   1647 {
   1648   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1649   rm -f conftest.$ac_objext
   1650   if { { ac_try="$ac_compile"
   1651 case "(($ac_try" in
   1652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1653   *) ac_try_echo=$ac_try;;
   1654 esac
   1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1656 $as_echo "$ac_try_echo"; } >&5
   1657   (eval "$ac_compile") 2>conftest.err
   1658   ac_status=$?
   1659   if test -s conftest.err; then
   1660     grep -v '^ *+' conftest.err >conftest.er1
   1661     cat conftest.er1 >&5
   1662     mv -f conftest.er1 conftest.err
   1663   fi
   1664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1665   test $ac_status = 0; } && {
   1666 	 test -z "$ac_c_werror_flag" ||
   1667 	 test ! -s conftest.err
   1668        } && test -s conftest.$ac_objext; then :
   1669   ac_retval=0
   1670 else
   1671   $as_echo "$as_me: failed program was:" >&5
   1672 sed 's/^/| /' conftest.$ac_ext >&5
   1673 
   1674 	ac_retval=1
   1675 fi
   1676   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1677   as_fn_set_status $ac_retval
   1678 
   1679 } # ac_fn_c_try_compile
   1680 
   1681 # ac_fn_c_try_cpp LINENO
   1682 # ----------------------
   1683 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1684 ac_fn_c_try_cpp ()
   1685 {
   1686   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1687   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1688 case "(($ac_try" in
   1689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1690   *) ac_try_echo=$ac_try;;
   1691 esac
   1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1693 $as_echo "$ac_try_echo"; } >&5
   1694   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1695   ac_status=$?
   1696   if test -s conftest.err; then
   1697     grep -v '^ *+' conftest.err >conftest.er1
   1698     cat conftest.er1 >&5
   1699     mv -f conftest.er1 conftest.err
   1700   fi
   1701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1702   test $ac_status = 0; } > conftest.i && {
   1703 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1704 	 test ! -s conftest.err
   1705        }; then :
   1706   ac_retval=0
   1707 else
   1708   $as_echo "$as_me: failed program was:" >&5
   1709 sed 's/^/| /' conftest.$ac_ext >&5
   1710 
   1711     ac_retval=1
   1712 fi
   1713   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1714   as_fn_set_status $ac_retval
   1715 
   1716 } # ac_fn_c_try_cpp
   1717 
   1718 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1719 # -------------------------------------------------------
   1720 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1721 # the include files in INCLUDES and setting the cache variable VAR
   1722 # accordingly.
   1723 ac_fn_c_check_header_mongrel ()
   1724 {
   1725   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1726   if eval \${$3+:} false; then :
   1727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1728 $as_echo_n "checking for $2... " >&6; }
   1729 if eval \${$3+:} false; then :
   1730   $as_echo_n "(cached) " >&6
   1731 fi
   1732 eval ac_res=\$$3
   1733 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1734 $as_echo "$ac_res" >&6; }
   1735 else
   1736   # Is the header compilable?
   1737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1738 $as_echo_n "checking $2 usability... " >&6; }
   1739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1740 /* end confdefs.h.  */
   1741 $4
   1742 #include <$2>
   1743 _ACEOF
   1744 if ac_fn_c_try_compile "$LINENO"; then :
   1745   ac_header_compiler=yes
   1746 else
   1747   ac_header_compiler=no
   1748 fi
   1749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1751 $as_echo "$ac_header_compiler" >&6; }
   1752 
   1753 # Is the header present?
   1754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1755 $as_echo_n "checking $2 presence... " >&6; }
   1756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1757 /* end confdefs.h.  */
   1758 #include <$2>
   1759 _ACEOF
   1760 if ac_fn_c_try_cpp "$LINENO"; then :
   1761   ac_header_preproc=yes
   1762 else
   1763   ac_header_preproc=no
   1764 fi
   1765 rm -f conftest.err conftest.i conftest.$ac_ext
   1766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1767 $as_echo "$ac_header_preproc" >&6; }
   1768 
   1769 # So?  What about this header?
   1770 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1771   yes:no: )
   1772     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1773 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1774     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1775 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1776     ;;
   1777   no:yes:* )
   1778     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1779 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1780     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1781 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1782     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1783 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1784     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1785 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1786     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1787 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1788     ;;
   1789 esac
   1790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1791 $as_echo_n "checking for $2... " >&6; }
   1792 if eval \${$3+:} false; then :
   1793   $as_echo_n "(cached) " >&6
   1794 else
   1795   eval "$3=\$ac_header_compiler"
   1796 fi
   1797 eval ac_res=\$$3
   1798 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1799 $as_echo "$ac_res" >&6; }
   1800 fi
   1801   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1802 
   1803 } # ac_fn_c_check_header_mongrel
   1804 
   1805 # ac_fn_c_try_run LINENO
   1806 # ----------------------
   1807 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1808 # that executables *can* be run.
   1809 ac_fn_c_try_run ()
   1810 {
   1811   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1812   if { { ac_try="$ac_link"
   1813 case "(($ac_try" in
   1814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1815   *) ac_try_echo=$ac_try;;
   1816 esac
   1817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1818 $as_echo "$ac_try_echo"; } >&5
   1819   (eval "$ac_link") 2>&5
   1820   ac_status=$?
   1821   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1822   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1823   { { case "(($ac_try" in
   1824   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1825   *) ac_try_echo=$ac_try;;
   1826 esac
   1827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1828 $as_echo "$ac_try_echo"; } >&5
   1829   (eval "$ac_try") 2>&5
   1830   ac_status=$?
   1831   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1832   test $ac_status = 0; }; }; then :
   1833   ac_retval=0
   1834 else
   1835   $as_echo "$as_me: program exited with status $ac_status" >&5
   1836        $as_echo "$as_me: failed program was:" >&5
   1837 sed 's/^/| /' conftest.$ac_ext >&5
   1838 
   1839        ac_retval=$ac_status
   1840 fi
   1841   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1842   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1843   as_fn_set_status $ac_retval
   1844 
   1845 } # ac_fn_c_try_run
   1846 
   1847 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1848 # -------------------------------------------------------
   1849 # Tests whether HEADER exists and can be compiled using the include files in
   1850 # INCLUDES, setting the cache variable VAR accordingly.
   1851 ac_fn_c_check_header_compile ()
   1852 {
   1853   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1855 $as_echo_n "checking for $2... " >&6; }
   1856 if eval \${$3+:} false; then :
   1857   $as_echo_n "(cached) " >&6
   1858 else
   1859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1860 /* end confdefs.h.  */
   1861 $4
   1862 #include <$2>
   1863 _ACEOF
   1864 if ac_fn_c_try_compile "$LINENO"; then :
   1865   eval "$3=yes"
   1866 else
   1867   eval "$3=no"
   1868 fi
   1869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1870 fi
   1871 eval ac_res=\$$3
   1872 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1873 $as_echo "$ac_res" >&6; }
   1874   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1875 
   1876 } # ac_fn_c_check_header_compile
   1877 
   1878 # ac_fn_c_try_link LINENO
   1879 # -----------------------
   1880 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1881 ac_fn_c_try_link ()
   1882 {
   1883   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1884   rm -f conftest.$ac_objext conftest$ac_exeext
   1885   if { { ac_try="$ac_link"
   1886 case "(($ac_try" in
   1887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1888   *) ac_try_echo=$ac_try;;
   1889 esac
   1890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1891 $as_echo "$ac_try_echo"; } >&5
   1892   (eval "$ac_link") 2>conftest.err
   1893   ac_status=$?
   1894   if test -s conftest.err; then
   1895     grep -v '^ *+' conftest.err >conftest.er1
   1896     cat conftest.er1 >&5
   1897     mv -f conftest.er1 conftest.err
   1898   fi
   1899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1900   test $ac_status = 0; } && {
   1901 	 test -z "$ac_c_werror_flag" ||
   1902 	 test ! -s conftest.err
   1903        } && test -s conftest$ac_exeext && {
   1904 	 test "$cross_compiling" = yes ||
   1905 	 test -x conftest$ac_exeext
   1906        }; then :
   1907   ac_retval=0
   1908 else
   1909   $as_echo "$as_me: failed program was:" >&5
   1910 sed 's/^/| /' conftest.$ac_ext >&5
   1911 
   1912 	ac_retval=1
   1913 fi
   1914   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1915   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1916   # interfere with the next link command; also delete a directory that is
   1917   # left behind by Apple's compiler.  We do this before executing the actions.
   1918   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1919   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1920   as_fn_set_status $ac_retval
   1921 
   1922 } # ac_fn_c_try_link
   1923 
   1924 # ac_fn_c_check_func LINENO FUNC VAR
   1925 # ----------------------------------
   1926 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1927 ac_fn_c_check_func ()
   1928 {
   1929   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1931 $as_echo_n "checking for $2... " >&6; }
   1932 if eval \${$3+:} false; then :
   1933   $as_echo_n "(cached) " >&6
   1934 else
   1935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1936 /* end confdefs.h.  */
   1937 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1938    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1939 #define $2 innocuous_$2
   1940 
   1941 /* System header to define __stub macros and hopefully few prototypes,
   1942     which can conflict with char $2 (); below.
   1943     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1944     <limits.h> exists even on freestanding compilers.  */
   1945 
   1946 #ifdef __STDC__
   1947 # include <limits.h>
   1948 #else
   1949 # include <assert.h>
   1950 #endif
   1951 
   1952 #undef $2
   1953 
   1954 /* Override any GCC internal prototype to avoid an error.
   1955    Use char because int might match the return type of a GCC
   1956    builtin and then its argument prototype would still apply.  */
   1957 #ifdef __cplusplus
   1958 extern "C"
   1959 #endif
   1960 char $2 ();
   1961 /* The GNU C library defines this for functions which it implements
   1962     to always fail with ENOSYS.  Some functions are actually named
   1963     something starting with __ and the normal name is an alias.  */
   1964 #if defined __stub_$2 || defined __stub___$2
   1965 choke me
   1966 #endif
   1967 
   1968 int
   1969 main ()
   1970 {
   1971 return $2 ();
   1972   ;
   1973   return 0;
   1974 }
   1975 _ACEOF
   1976 if ac_fn_c_try_link "$LINENO"; then :
   1977   eval "$3=yes"
   1978 else
   1979   eval "$3=no"
   1980 fi
   1981 rm -f core conftest.err conftest.$ac_objext \
   1982     conftest$ac_exeext conftest.$ac_ext
   1983 fi
   1984 eval ac_res=\$$3
   1985 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1986 $as_echo "$ac_res" >&6; }
   1987   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1988 
   1989 } # ac_fn_c_check_func
   1990 
   1991 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   1992 # --------------------------------------------
   1993 # Tries to find the compile-time value of EXPR in a program that includes
   1994 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   1995 # computed
   1996 ac_fn_c_compute_int ()
   1997 {
   1998   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1999   if test "$cross_compiling" = yes; then
   2000     # Depending upon the size, compute the lo and hi bounds.
   2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2002 /* end confdefs.h.  */
   2003 $4
   2004 int
   2005 main ()
   2006 {
   2007 static int test_array [1 - 2 * !(($2) >= 0)];
   2008 test_array [0] = 0;
   2009 return test_array [0];
   2010 
   2011   ;
   2012   return 0;
   2013 }
   2014 _ACEOF
   2015 if ac_fn_c_try_compile "$LINENO"; then :
   2016   ac_lo=0 ac_mid=0
   2017   while :; do
   2018     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2019 /* end confdefs.h.  */
   2020 $4
   2021 int
   2022 main ()
   2023 {
   2024 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2025 test_array [0] = 0;
   2026 return test_array [0];
   2027 
   2028   ;
   2029   return 0;
   2030 }
   2031 _ACEOF
   2032 if ac_fn_c_try_compile "$LINENO"; then :
   2033   ac_hi=$ac_mid; break
   2034 else
   2035   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2036 			if test $ac_lo -le $ac_mid; then
   2037 			  ac_lo= ac_hi=
   2038 			  break
   2039 			fi
   2040 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2041 fi
   2042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2043   done
   2044 else
   2045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2046 /* end confdefs.h.  */
   2047 $4
   2048 int
   2049 main ()
   2050 {
   2051 static int test_array [1 - 2 * !(($2) < 0)];
   2052 test_array [0] = 0;
   2053 return test_array [0];
   2054 
   2055   ;
   2056   return 0;
   2057 }
   2058 _ACEOF
   2059 if ac_fn_c_try_compile "$LINENO"; then :
   2060   ac_hi=-1 ac_mid=-1
   2061   while :; do
   2062     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2063 /* end confdefs.h.  */
   2064 $4
   2065 int
   2066 main ()
   2067 {
   2068 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2069 test_array [0] = 0;
   2070 return test_array [0];
   2071 
   2072   ;
   2073   return 0;
   2074 }
   2075 _ACEOF
   2076 if ac_fn_c_try_compile "$LINENO"; then :
   2077   ac_lo=$ac_mid; break
   2078 else
   2079   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2080 			if test $ac_mid -le $ac_hi; then
   2081 			  ac_lo= ac_hi=
   2082 			  break
   2083 			fi
   2084 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2085 fi
   2086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2087   done
   2088 else
   2089   ac_lo= ac_hi=
   2090 fi
   2091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2092 fi
   2093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2094 # Binary search between lo and hi bounds.
   2095 while test "x$ac_lo" != "x$ac_hi"; do
   2096   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2098 /* end confdefs.h.  */
   2099 $4
   2100 int
   2101 main ()
   2102 {
   2103 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2104 test_array [0] = 0;
   2105 return test_array [0];
   2106 
   2107   ;
   2108   return 0;
   2109 }
   2110 _ACEOF
   2111 if ac_fn_c_try_compile "$LINENO"; then :
   2112   ac_hi=$ac_mid
   2113 else
   2114   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2115 fi
   2116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2117 done
   2118 case $ac_lo in #((
   2119 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2120 '') ac_retval=1 ;;
   2121 esac
   2122   else
   2123     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2124 /* end confdefs.h.  */
   2125 $4
   2126 static long int longval () { return $2; }
   2127 static unsigned long int ulongval () { return $2; }
   2128 #include <stdio.h>
   2129 #include <stdlib.h>
   2130 int
   2131 main ()
   2132 {
   2133 
   2134   FILE *f = fopen ("conftest.val", "w");
   2135   if (! f)
   2136     return 1;
   2137   if (($2) < 0)
   2138     {
   2139       long int i = longval ();
   2140       if (i != ($2))
   2141 	return 1;
   2142       fprintf (f, "%ld", i);
   2143     }
   2144   else
   2145     {
   2146       unsigned long int i = ulongval ();
   2147       if (i != ($2))
   2148 	return 1;
   2149       fprintf (f, "%lu", i);
   2150     }
   2151   /* Do not output a trailing newline, as this causes \r\n confusion
   2152      on some platforms.  */
   2153   return ferror (f) || fclose (f) != 0;
   2154 
   2155   ;
   2156   return 0;
   2157 }
   2158 _ACEOF
   2159 if ac_fn_c_try_run "$LINENO"; then :
   2160   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2161 else
   2162   ac_retval=1
   2163 fi
   2164 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2165   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2166 rm -f conftest.val
   2167 
   2168   fi
   2169   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2170   as_fn_set_status $ac_retval
   2171 
   2172 } # ac_fn_c_compute_int
   2173 
   2174 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2175 # ---------------------------------------------
   2176 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2177 # accordingly.
   2178 ac_fn_c_check_decl ()
   2179 {
   2180   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2181   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2182   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2184 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2185 if eval \${$3+:} false; then :
   2186   $as_echo_n "(cached) " >&6
   2187 else
   2188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2189 /* end confdefs.h.  */
   2190 $4
   2191 int
   2192 main ()
   2193 {
   2194 #ifndef $as_decl_name
   2195 #ifdef __cplusplus
   2196   (void) $as_decl_use;
   2197 #else
   2198   (void) $as_decl_name;
   2199 #endif
   2200 #endif
   2201 
   2202   ;
   2203   return 0;
   2204 }
   2205 _ACEOF
   2206 if ac_fn_c_try_compile "$LINENO"; then :
   2207   eval "$3=yes"
   2208 else
   2209   eval "$3=no"
   2210 fi
   2211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2212 fi
   2213 eval ac_res=\$$3
   2214 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2215 $as_echo "$ac_res" >&6; }
   2216   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2217 
   2218 } # ac_fn_c_check_decl
   2219 cat >config.log <<_ACEOF
   2220 This file contains any messages produced by compilers while
   2221 running configure, to aid debugging if configure makes a mistake.
   2222 
   2223 It was created by bfd $as_me 2.46.0, which was
   2224 generated by GNU Autoconf 2.69.  Invocation command line was
   2225 
   2226   $ $0 $@
   2227 
   2228 _ACEOF
   2229 exec 5>>config.log
   2230 {
   2231 cat <<_ASUNAME
   2232 ## --------- ##
   2233 ## Platform. ##
   2234 ## --------- ##
   2235 
   2236 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2237 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2238 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2239 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2240 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2241 
   2242 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2243 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2244 
   2245 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2246 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2247 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2248 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2249 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2250 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2251 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2252 
   2253 _ASUNAME
   2254 
   2255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2256 for as_dir in $PATH
   2257 do
   2258   IFS=$as_save_IFS
   2259   test -z "$as_dir" && as_dir=.
   2260     $as_echo "PATH: $as_dir"
   2261   done
   2262 IFS=$as_save_IFS
   2263 
   2264 } >&5
   2265 
   2266 cat >&5 <<_ACEOF
   2267 
   2268 
   2269 ## ----------- ##
   2270 ## Core tests. ##
   2271 ## ----------- ##
   2272 
   2273 _ACEOF
   2274 
   2275 
   2276 # Keep a trace of the command line.
   2277 # Strip out --no-create and --no-recursion so they do not pile up.
   2278 # Strip out --silent because we don't want to record it for future runs.
   2279 # Also quote any args containing shell meta-characters.
   2280 # Make two passes to allow for proper duplicate-argument suppression.
   2281 ac_configure_args=
   2282 ac_configure_args0=
   2283 ac_configure_args1=
   2284 ac_must_keep_next=false
   2285 for ac_pass in 1 2
   2286 do
   2287   for ac_arg
   2288   do
   2289     case $ac_arg in
   2290     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2291     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2292     | -silent | --silent | --silen | --sile | --sil)
   2293       continue ;;
   2294     *\'*)
   2295       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2296     esac
   2297     case $ac_pass in
   2298     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2299     2)
   2300       as_fn_append ac_configure_args1 " '$ac_arg'"
   2301       if test $ac_must_keep_next = true; then
   2302 	ac_must_keep_next=false # Got value, back to normal.
   2303       else
   2304 	case $ac_arg in
   2305 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2306 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2307 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2308 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2309 	    case "$ac_configure_args0 " in
   2310 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2311 	    esac
   2312 	    ;;
   2313 	  -* ) ac_must_keep_next=true ;;
   2314 	esac
   2315       fi
   2316       as_fn_append ac_configure_args " '$ac_arg'"
   2317       ;;
   2318     esac
   2319   done
   2320 done
   2321 { ac_configure_args0=; unset ac_configure_args0;}
   2322 { ac_configure_args1=; unset ac_configure_args1;}
   2323 
   2324 # When interrupted or exit'd, cleanup temporary files, and complete
   2325 # config.log.  We remove comments because anyway the quotes in there
   2326 # would cause problems or look ugly.
   2327 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2328 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2329 trap 'exit_status=$?
   2330   # Save into config.log some information that might help in debugging.
   2331   {
   2332     echo
   2333 
   2334     $as_echo "## ---------------- ##
   2335 ## Cache variables. ##
   2336 ## ---------------- ##"
   2337     echo
   2338     # The following way of writing the cache mishandles newlines in values,
   2339 (
   2340   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2341     eval ac_val=\$$ac_var
   2342     case $ac_val in #(
   2343     *${as_nl}*)
   2344       case $ac_var in #(
   2345       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2346 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2347       esac
   2348       case $ac_var in #(
   2349       _ | IFS | as_nl) ;; #(
   2350       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2351       *) { eval $ac_var=; unset $ac_var;} ;;
   2352       esac ;;
   2353     esac
   2354   done
   2355   (set) 2>&1 |
   2356     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2357     *${as_nl}ac_space=\ *)
   2358       sed -n \
   2359 	"s/'\''/'\''\\\\'\'''\''/g;
   2360 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2361       ;; #(
   2362     *)
   2363       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2364       ;;
   2365     esac |
   2366     sort
   2367 )
   2368     echo
   2369 
   2370     $as_echo "## ----------------- ##
   2371 ## Output variables. ##
   2372 ## ----------------- ##"
   2373     echo
   2374     for ac_var in $ac_subst_vars
   2375     do
   2376       eval ac_val=\$$ac_var
   2377       case $ac_val in
   2378       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2379       esac
   2380       $as_echo "$ac_var='\''$ac_val'\''"
   2381     done | sort
   2382     echo
   2383 
   2384     if test -n "$ac_subst_files"; then
   2385       $as_echo "## ------------------- ##
   2386 ## File substitutions. ##
   2387 ## ------------------- ##"
   2388       echo
   2389       for ac_var in $ac_subst_files
   2390       do
   2391 	eval ac_val=\$$ac_var
   2392 	case $ac_val in
   2393 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2394 	esac
   2395 	$as_echo "$ac_var='\''$ac_val'\''"
   2396       done | sort
   2397       echo
   2398     fi
   2399 
   2400     if test -s confdefs.h; then
   2401       $as_echo "## ----------- ##
   2402 ## confdefs.h. ##
   2403 ## ----------- ##"
   2404       echo
   2405       cat confdefs.h
   2406       echo
   2407     fi
   2408     test "$ac_signal" != 0 &&
   2409       $as_echo "$as_me: caught signal $ac_signal"
   2410     $as_echo "$as_me: exit $exit_status"
   2411   } >&5
   2412   rm -f core *.core core.conftest.* &&
   2413     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2414     exit $exit_status
   2415 ' 0
   2416 for ac_signal in 1 2 13 15; do
   2417   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2418 done
   2419 ac_signal=0
   2420 
   2421 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2422 rm -f -r conftest* confdefs.h
   2423 
   2424 $as_echo "/* confdefs.h */" > confdefs.h
   2425 
   2426 # Predefined preprocessor variables.
   2427 
   2428 cat >>confdefs.h <<_ACEOF
   2429 #define PACKAGE_NAME "$PACKAGE_NAME"
   2430 _ACEOF
   2431 
   2432 cat >>confdefs.h <<_ACEOF
   2433 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2434 _ACEOF
   2435 
   2436 cat >>confdefs.h <<_ACEOF
   2437 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2438 _ACEOF
   2439 
   2440 cat >>confdefs.h <<_ACEOF
   2441 #define PACKAGE_STRING "$PACKAGE_STRING"
   2442 _ACEOF
   2443 
   2444 cat >>confdefs.h <<_ACEOF
   2445 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2446 _ACEOF
   2447 
   2448 cat >>confdefs.h <<_ACEOF
   2449 #define PACKAGE_URL "$PACKAGE_URL"
   2450 _ACEOF
   2451 
   2452 
   2453 # Let the site file select an alternate cache file if it wants to.
   2454 # Prefer an explicitly selected file to automatically selected ones.
   2455 ac_site_file1=NONE
   2456 ac_site_file2=NONE
   2457 if test -n "$CONFIG_SITE"; then
   2458   # We do not want a PATH search for config.site.
   2459   case $CONFIG_SITE in #((
   2460     -*)  ac_site_file1=./$CONFIG_SITE;;
   2461     */*) ac_site_file1=$CONFIG_SITE;;
   2462     *)   ac_site_file1=./$CONFIG_SITE;;
   2463   esac
   2464 elif test "x$prefix" != xNONE; then
   2465   ac_site_file1=$prefix/share/config.site
   2466   ac_site_file2=$prefix/etc/config.site
   2467 else
   2468   ac_site_file1=$ac_default_prefix/share/config.site
   2469   ac_site_file2=$ac_default_prefix/etc/config.site
   2470 fi
   2471 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2472 do
   2473   test "x$ac_site_file" = xNONE && continue
   2474   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2475     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2476 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2477     sed 's/^/| /' "$ac_site_file" >&5
   2478     . "$ac_site_file" \
   2479       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2481 as_fn_error $? "failed to load site script $ac_site_file
   2482 See \`config.log' for more details" "$LINENO" 5; }
   2483   fi
   2484 done
   2485 
   2486 if test -r "$cache_file"; then
   2487   # Some versions of bash will fail to source /dev/null (special files
   2488   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2489   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2490     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2491 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2492     case $cache_file in
   2493       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2494       *)                      . "./$cache_file";;
   2495     esac
   2496   fi
   2497 else
   2498   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2499 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2500   >$cache_file
   2501 fi
   2502 
   2503 gt_needs="$gt_needs "
   2504 as_fn_append ac_header_list " stdlib.h"
   2505 as_fn_append ac_header_list " unistd.h"
   2506 as_fn_append ac_header_list " sys/param.h"
   2507 # Check that the precious variables saved in the cache have kept the same
   2508 # value.
   2509 ac_cache_corrupted=false
   2510 for ac_var in $ac_precious_vars; do
   2511   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2512   eval ac_new_set=\$ac_env_${ac_var}_set
   2513   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2514   eval ac_new_val=\$ac_env_${ac_var}_value
   2515   case $ac_old_set,$ac_new_set in
   2516     set,)
   2517       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2518 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2519       ac_cache_corrupted=: ;;
   2520     ,set)
   2521       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2522 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2523       ac_cache_corrupted=: ;;
   2524     ,);;
   2525     *)
   2526       if test "x$ac_old_val" != "x$ac_new_val"; then
   2527 	# differences in whitespace do not lead to failure.
   2528 	ac_old_val_w=`echo x $ac_old_val`
   2529 	ac_new_val_w=`echo x $ac_new_val`
   2530 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2531 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2532 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2533 	  ac_cache_corrupted=:
   2534 	else
   2535 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2536 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2537 	  eval $ac_var=\$ac_old_val
   2538 	fi
   2539 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2540 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2541 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2542 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2543       fi;;
   2544   esac
   2545   # Pass precious variables to config.status.
   2546   if test "$ac_new_set" = set; then
   2547     case $ac_new_val in
   2548     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2549     *) ac_arg=$ac_var=$ac_new_val ;;
   2550     esac
   2551     case " $ac_configure_args " in
   2552       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2553       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2554     esac
   2555   fi
   2556 done
   2557 if $ac_cache_corrupted; then
   2558   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2560   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2561 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2562   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2563 fi
   2564 ## -------------------- ##
   2565 ## Main body of script. ##
   2566 ## -------------------- ##
   2567 
   2568 ac_ext=c
   2569 ac_cpp='$CPP $CPPFLAGS'
   2570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2573 
   2574 
   2575 
   2576 
   2577 
   2578 
   2579 
   2580 ac_aux_dir=
   2581 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2582   if test -f "$ac_dir/install-sh"; then
   2583     ac_aux_dir=$ac_dir
   2584     ac_install_sh="$ac_aux_dir/install-sh -c"
   2585     break
   2586   elif test -f "$ac_dir/install.sh"; then
   2587     ac_aux_dir=$ac_dir
   2588     ac_install_sh="$ac_aux_dir/install.sh -c"
   2589     break
   2590   elif test -f "$ac_dir/shtool"; then
   2591     ac_aux_dir=$ac_dir
   2592     ac_install_sh="$ac_aux_dir/shtool install -c"
   2593     break
   2594   fi
   2595 done
   2596 if test -z "$ac_aux_dir"; then
   2597   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2598 fi
   2599 
   2600 # These three variables are undocumented and unsupported,
   2601 # and are intended to be withdrawn in a future Autoconf release.
   2602 # They can cause serious problems if a builder's source tree is in a directory
   2603 # whose full name contains unusual characters.
   2604 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2605 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2606 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2607 
   2608 
   2609 # Make sure we can run config.sub.
   2610 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2611   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2612 
   2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2614 $as_echo_n "checking build system type... " >&6; }
   2615 if ${ac_cv_build+:} false; then :
   2616   $as_echo_n "(cached) " >&6
   2617 else
   2618   ac_build_alias=$build_alias
   2619 test "x$ac_build_alias" = x &&
   2620   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2621 test "x$ac_build_alias" = x &&
   2622   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2623 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2624   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2625 
   2626 fi
   2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2628 $as_echo "$ac_cv_build" >&6; }
   2629 case $ac_cv_build in
   2630 *-*-*) ;;
   2631 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2632 esac
   2633 build=$ac_cv_build
   2634 ac_save_IFS=$IFS; IFS='-'
   2635 set x $ac_cv_build
   2636 shift
   2637 build_cpu=$1
   2638 build_vendor=$2
   2639 shift; shift
   2640 # Remember, the first character of IFS is used to create $*,
   2641 # except with old shells:
   2642 build_os=$*
   2643 IFS=$ac_save_IFS
   2644 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2645 
   2646 
   2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2648 $as_echo_n "checking host system type... " >&6; }
   2649 if ${ac_cv_host+:} false; then :
   2650   $as_echo_n "(cached) " >&6
   2651 else
   2652   if test "x$host_alias" = x; then
   2653   ac_cv_host=$ac_cv_build
   2654 else
   2655   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2656     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2657 fi
   2658 
   2659 fi
   2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2661 $as_echo "$ac_cv_host" >&6; }
   2662 case $ac_cv_host in
   2663 *-*-*) ;;
   2664 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2665 esac
   2666 host=$ac_cv_host
   2667 ac_save_IFS=$IFS; IFS='-'
   2668 set x $ac_cv_host
   2669 shift
   2670 host_cpu=$1
   2671 host_vendor=$2
   2672 shift; shift
   2673 # Remember, the first character of IFS is used to create $*,
   2674 # except with old shells:
   2675 host_os=$*
   2676 IFS=$ac_save_IFS
   2677 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2678 
   2679 
   2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2681 $as_echo_n "checking target system type... " >&6; }
   2682 if ${ac_cv_target+:} false; then :
   2683   $as_echo_n "(cached) " >&6
   2684 else
   2685   if test "x$target_alias" = x; then
   2686   ac_cv_target=$ac_cv_host
   2687 else
   2688   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2689     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2690 fi
   2691 
   2692 fi
   2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2694 $as_echo "$ac_cv_target" >&6; }
   2695 case $ac_cv_target in
   2696 *-*-*) ;;
   2697 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2698 esac
   2699 target=$ac_cv_target
   2700 ac_save_IFS=$IFS; IFS='-'
   2701 set x $ac_cv_target
   2702 shift
   2703 target_cpu=$1
   2704 target_vendor=$2
   2705 shift; shift
   2706 # Remember, the first character of IFS is used to create $*,
   2707 # except with old shells:
   2708 target_os=$*
   2709 IFS=$ac_save_IFS
   2710 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2711 
   2712 
   2713 # The aliases save the names the user supplied, while $host etc.
   2714 # will get canonicalized.
   2715 test -n "$target_alias" &&
   2716   test "$program_prefix$program_suffix$program_transform_name" = \
   2717     NONENONEs,x,x, &&
   2718   program_prefix=${target_alias}-
   2719 
   2720 am__api_version='1.15'
   2721 
   2722 # Find a good install program.  We prefer a C program (faster),
   2723 # so one script is as good as another.  But avoid the broken or
   2724 # incompatible versions:
   2725 # SysV /etc/install, /usr/sbin/install
   2726 # SunOS /usr/etc/install
   2727 # IRIX /sbin/install
   2728 # AIX /bin/install
   2729 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2730 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2731 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2732 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2733 # OS/2's system install, which has a completely different semantic
   2734 # ./install, which can be erroneously created by make from ./install.sh.
   2735 # Reject install programs that cannot install multiple files.
   2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2737 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2738 if test -z "$INSTALL"; then
   2739 if ${ac_cv_path_install+:} false; then :
   2740   $as_echo_n "(cached) " >&6
   2741 else
   2742   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2743 for as_dir in $PATH
   2744 do
   2745   IFS=$as_save_IFS
   2746   test -z "$as_dir" && as_dir=.
   2747     # Account for people who put trailing slashes in PATH elements.
   2748 case $as_dir/ in #((
   2749   ./ | .// | /[cC]/* | \
   2750   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2751   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2752   /usr/ucb/* ) ;;
   2753   *)
   2754     # OSF1 and SCO ODT 3.0 have their own names for install.
   2755     # Don't use installbsd from OSF since it installs stuff as root
   2756     # by default.
   2757     for ac_prog in ginstall scoinst install; do
   2758       for ac_exec_ext in '' $ac_executable_extensions; do
   2759 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2760 	  if test $ac_prog = install &&
   2761 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2762 	    # AIX install.  It has an incompatible calling convention.
   2763 	    :
   2764 	  elif test $ac_prog = install &&
   2765 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2766 	    # program-specific install script used by HP pwplus--don't use.
   2767 	    :
   2768 	  else
   2769 	    rm -rf conftest.one conftest.two conftest.dir
   2770 	    echo one > conftest.one
   2771 	    echo two > conftest.two
   2772 	    mkdir conftest.dir
   2773 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2774 	      test -s conftest.one && test -s conftest.two &&
   2775 	      test -s conftest.dir/conftest.one &&
   2776 	      test -s conftest.dir/conftest.two
   2777 	    then
   2778 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2779 	      break 3
   2780 	    fi
   2781 	  fi
   2782 	fi
   2783       done
   2784     done
   2785     ;;
   2786 esac
   2787 
   2788   done
   2789 IFS=$as_save_IFS
   2790 
   2791 rm -rf conftest.one conftest.two conftest.dir
   2792 
   2793 fi
   2794   if test "${ac_cv_path_install+set}" = set; then
   2795     INSTALL=$ac_cv_path_install
   2796   else
   2797     # As a last resort, use the slow shell script.  Don't cache a
   2798     # value for INSTALL within a source directory, because that will
   2799     # break other packages using the cache if that directory is
   2800     # removed, or if the value is a relative name.
   2801     INSTALL=$ac_install_sh
   2802   fi
   2803 fi
   2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2805 $as_echo "$INSTALL" >&6; }
   2806 
   2807 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2808 # It thinks the first close brace ends the variable substitution.
   2809 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2810 
   2811 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2812 
   2813 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2814 
   2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2816 $as_echo_n "checking whether build environment is sane... " >&6; }
   2817 # Reject unsafe characters in $srcdir or the absolute working directory
   2818 # name.  Accept space and tab only in the latter.
   2819 am_lf='
   2820 '
   2821 case `pwd` in
   2822   *[\\\"\#\$\&\'\`$am_lf]*)
   2823     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2824 esac
   2825 case $srcdir in
   2826   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2827     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2828 esac
   2829 
   2830 # Do 'set' in a subshell so we don't clobber the current shell's
   2831 # arguments.  Must try -L first in case configure is actually a
   2832 # symlink; some systems play weird games with the mod time of symlinks
   2833 # (eg FreeBSD returns the mod time of the symlink's containing
   2834 # directory).
   2835 if (
   2836    am_has_slept=no
   2837    for am_try in 1 2; do
   2838      echo "timestamp, slept: $am_has_slept" > conftest.file
   2839      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2840      if test "$*" = "X"; then
   2841 	# -L didn't work.
   2842 	set X `ls -t "$srcdir/configure" conftest.file`
   2843      fi
   2844      if test "$*" != "X $srcdir/configure conftest.file" \
   2845 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2846 
   2847 	# If neither matched, then we have a broken ls.  This can happen
   2848 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2849 	# broken ls alias from the environment.  This has actually
   2850 	# happened.  Such a system could not be considered "sane".
   2851 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2852   alias in your environment" "$LINENO" 5
   2853      fi
   2854      if test "$2" = conftest.file || test $am_try -eq 2; then
   2855        break
   2856      fi
   2857      # Just in case.
   2858      sleep 1
   2859      am_has_slept=yes
   2860    done
   2861    test "$2" = conftest.file
   2862    )
   2863 then
   2864    # Ok.
   2865    :
   2866 else
   2867    as_fn_error $? "newly created file is older than distributed files!
   2868 Check your system clock" "$LINENO" 5
   2869 fi
   2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2871 $as_echo "yes" >&6; }
   2872 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2873 # generated files are strictly newer.
   2874 am_sleep_pid=
   2875 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2876   ( sleep 1 ) &
   2877   am_sleep_pid=$!
   2878 fi
   2879 
   2880 rm -f conftest.file
   2881 
   2882 test "$program_prefix" != NONE &&
   2883   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2884 # Use a double $ so make ignores it.
   2885 test "$program_suffix" != NONE &&
   2886   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2887 # Double any \ or $.
   2888 # By default was `s,x,x', remove it if useless.
   2889 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2890 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2891 
   2892 # Expand $ac_aux_dir to an absolute path.
   2893 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2894 
   2895 if test x"${MISSING+set}" != xset; then
   2896   case $am_aux_dir in
   2897   *\ * | *\	*)
   2898     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2899   *)
   2900     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2901   esac
   2902 fi
   2903 # Use eval to expand $SHELL
   2904 if eval "$MISSING --is-lightweight"; then
   2905   am_missing_run="$MISSING "
   2906 else
   2907   am_missing_run=
   2908   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2909 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2910 fi
   2911 
   2912 if test x"${install_sh+set}" != xset; then
   2913   case $am_aux_dir in
   2914   *\ * | *\	*)
   2915     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2916   *)
   2917     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2918   esac
   2919 fi
   2920 
   2921 # Installed binaries are usually stripped using 'strip' when the user
   2922 # run "make install-strip".  However 'strip' might not be the right
   2923 # tool to use in cross-compilation environments, therefore Automake
   2924 # will honor the 'STRIP' environment variable to overrule this program.
   2925 if test "$cross_compiling" != no; then
   2926   if test -n "$ac_tool_prefix"; then
   2927   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2928 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2930 $as_echo_n "checking for $ac_word... " >&6; }
   2931 if ${ac_cv_prog_STRIP+:} false; then :
   2932   $as_echo_n "(cached) " >&6
   2933 else
   2934   if test -n "$STRIP"; then
   2935   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2936 else
   2937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2938 for as_dir in $PATH
   2939 do
   2940   IFS=$as_save_IFS
   2941   test -z "$as_dir" && as_dir=.
   2942     for ac_exec_ext in '' $ac_executable_extensions; do
   2943   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2944     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2945     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2946     break 2
   2947   fi
   2948 done
   2949   done
   2950 IFS=$as_save_IFS
   2951 
   2952 fi
   2953 fi
   2954 STRIP=$ac_cv_prog_STRIP
   2955 if test -n "$STRIP"; then
   2956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2957 $as_echo "$STRIP" >&6; }
   2958 else
   2959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2960 $as_echo "no" >&6; }
   2961 fi
   2962 
   2963 
   2964 fi
   2965 if test -z "$ac_cv_prog_STRIP"; then
   2966   ac_ct_STRIP=$STRIP
   2967   # Extract the first word of "strip", so it can be a program name with args.
   2968 set dummy strip; ac_word=$2
   2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2970 $as_echo_n "checking for $ac_word... " >&6; }
   2971 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2972   $as_echo_n "(cached) " >&6
   2973 else
   2974   if test -n "$ac_ct_STRIP"; then
   2975   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2976 else
   2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2978 for as_dir in $PATH
   2979 do
   2980   IFS=$as_save_IFS
   2981   test -z "$as_dir" && as_dir=.
   2982     for ac_exec_ext in '' $ac_executable_extensions; do
   2983   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2984     ac_cv_prog_ac_ct_STRIP="strip"
   2985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2986     break 2
   2987   fi
   2988 done
   2989   done
   2990 IFS=$as_save_IFS
   2991 
   2992 fi
   2993 fi
   2994 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2995 if test -n "$ac_ct_STRIP"; then
   2996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2997 $as_echo "$ac_ct_STRIP" >&6; }
   2998 else
   2999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3000 $as_echo "no" >&6; }
   3001 fi
   3002 
   3003   if test "x$ac_ct_STRIP" = x; then
   3004     STRIP=":"
   3005   else
   3006     case $cross_compiling:$ac_tool_warned in
   3007 yes:)
   3008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3010 ac_tool_warned=yes ;;
   3011 esac
   3012     STRIP=$ac_ct_STRIP
   3013   fi
   3014 else
   3015   STRIP="$ac_cv_prog_STRIP"
   3016 fi
   3017 
   3018 fi
   3019 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3020 
   3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3022 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3023 if test -z "$MKDIR_P"; then
   3024   if ${ac_cv_path_mkdir+:} false; then :
   3025   $as_echo_n "(cached) " >&6
   3026 else
   3027   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3028 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3029 do
   3030   IFS=$as_save_IFS
   3031   test -z "$as_dir" && as_dir=.
   3032     for ac_prog in mkdir gmkdir; do
   3033 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3034 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3035 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3036 	     'mkdir (GNU coreutils) '* | \
   3037 	     'mkdir (coreutils) '* | \
   3038 	     'mkdir (fileutils) '4.1*)
   3039 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3040 	       break 3;;
   3041 	   esac
   3042 	 done
   3043        done
   3044   done
   3045 IFS=$as_save_IFS
   3046 
   3047 fi
   3048 
   3049   test -d ./--version && rmdir ./--version
   3050   if test "${ac_cv_path_mkdir+set}" = set; then
   3051     MKDIR_P="$ac_cv_path_mkdir -p"
   3052   else
   3053     # As a last resort, use the slow shell script.  Don't cache a
   3054     # value for MKDIR_P within a source directory, because that will
   3055     # break other packages using the cache if that directory is
   3056     # removed, or if the value is a relative name.
   3057     MKDIR_P="$ac_install_sh -d"
   3058   fi
   3059 fi
   3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3061 $as_echo "$MKDIR_P" >&6; }
   3062 
   3063 for ac_prog in gawk mawk nawk awk
   3064 do
   3065   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3066 set dummy $ac_prog; ac_word=$2
   3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3068 $as_echo_n "checking for $ac_word... " >&6; }
   3069 if ${ac_cv_prog_AWK+:} false; then :
   3070   $as_echo_n "(cached) " >&6
   3071 else
   3072   if test -n "$AWK"; then
   3073   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3074 else
   3075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3076 for as_dir in $PATH
   3077 do
   3078   IFS=$as_save_IFS
   3079   test -z "$as_dir" && as_dir=.
   3080     for ac_exec_ext in '' $ac_executable_extensions; do
   3081   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3082     ac_cv_prog_AWK="$ac_prog"
   3083     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3084     break 2
   3085   fi
   3086 done
   3087   done
   3088 IFS=$as_save_IFS
   3089 
   3090 fi
   3091 fi
   3092 AWK=$ac_cv_prog_AWK
   3093 if test -n "$AWK"; then
   3094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3095 $as_echo "$AWK" >&6; }
   3096 else
   3097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3098 $as_echo "no" >&6; }
   3099 fi
   3100 
   3101 
   3102   test -n "$AWK" && break
   3103 done
   3104 
   3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3106 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3107 set x ${MAKE-make}
   3108 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3109 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3110   $as_echo_n "(cached) " >&6
   3111 else
   3112   cat >conftest.make <<\_ACEOF
   3113 SHELL = /bin/sh
   3114 all:
   3115 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3116 _ACEOF
   3117 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3118 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3119   *@@@%%%=?*=@@@%%%*)
   3120     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3121   *)
   3122     eval ac_cv_prog_make_${ac_make}_set=no;;
   3123 esac
   3124 rm -f conftest.make
   3125 fi
   3126 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3128 $as_echo "yes" >&6; }
   3129   SET_MAKE=
   3130 else
   3131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3132 $as_echo "no" >&6; }
   3133   SET_MAKE="MAKE=${MAKE-make}"
   3134 fi
   3135 
   3136 rm -rf .tst 2>/dev/null
   3137 mkdir .tst 2>/dev/null
   3138 if test -d .tst; then
   3139   am__leading_dot=.
   3140 else
   3141   am__leading_dot=_
   3142 fi
   3143 rmdir .tst 2>/dev/null
   3144 
   3145 # Check whether --enable-silent-rules was given.
   3146 if test "${enable_silent_rules+set}" = set; then :
   3147   enableval=$enable_silent_rules;
   3148 fi
   3149 
   3150 case $enable_silent_rules in # (((
   3151   yes) AM_DEFAULT_VERBOSITY=0;;
   3152    no) AM_DEFAULT_VERBOSITY=1;;
   3153     *) AM_DEFAULT_VERBOSITY=1;;
   3154 esac
   3155 am_make=${MAKE-make}
   3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3157 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3158 if ${am_cv_make_support_nested_variables+:} false; then :
   3159   $as_echo_n "(cached) " >&6
   3160 else
   3161   if $as_echo 'TRUE=$(BAR$(V))
   3162 BAR0=false
   3163 BAR1=true
   3164 V=1
   3165 am__doit:
   3166 	@$(TRUE)
   3167 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3168   am_cv_make_support_nested_variables=yes
   3169 else
   3170   am_cv_make_support_nested_variables=no
   3171 fi
   3172 fi
   3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3174 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3175 if test $am_cv_make_support_nested_variables = yes; then
   3176     AM_V='$(V)'
   3177   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3178 else
   3179   AM_V=$AM_DEFAULT_VERBOSITY
   3180   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3181 fi
   3182 AM_BACKSLASH='\'
   3183 
   3184 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3185   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3186   # is not polluted with repeated "-I."
   3187   am__isrc=' -I$(srcdir)'
   3188   # test to see if srcdir already configured
   3189   if test -f $srcdir/config.status; then
   3190     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3191   fi
   3192 fi
   3193 
   3194 # test whether we have cygpath
   3195 if test -z "$CYGPATH_W"; then
   3196   if (cygpath --version) >/dev/null 2>/dev/null; then
   3197     CYGPATH_W='cygpath -w'
   3198   else
   3199     CYGPATH_W=echo
   3200   fi
   3201 fi
   3202 
   3203 
   3204 # Define the identity of the package.
   3205  PACKAGE='bfd'
   3206  VERSION='2.46.0'
   3207 
   3208 
   3209 cat >>confdefs.h <<_ACEOF
   3210 #define PACKAGE "$PACKAGE"
   3211 _ACEOF
   3212 
   3213 
   3214 cat >>confdefs.h <<_ACEOF
   3215 #define VERSION "$VERSION"
   3216 _ACEOF
   3217 
   3218 # Some tools Automake needs.
   3219 
   3220 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3221 
   3222 
   3223 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3224 
   3225 
   3226 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3227 
   3228 
   3229 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3230 
   3231 
   3232 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3233 
   3234 # For better backward compatibility.  To be removed once Automake 1.9.x
   3235 # dies out for good.  For more background, see:
   3236 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3237 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3238 mkdir_p='$(MKDIR_P)'
   3239 
   3240 # We need awk for the "check" target (and possibly the TAP driver).  The
   3241 # system "awk" is bad on some platforms.
   3242 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3243 # in the wild :-(  We should find a proper way to deprecate it ...
   3244 AMTAR='$${TAR-tar}'
   3245 
   3246 
   3247 # We'll loop over all known methods to create a tar archive until one works.
   3248 _am_tools='gnutar  pax cpio none'
   3249 
   3250 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3251 
   3252 
   3253 
   3254 
   3255 
   3256 
   3257 # POSIX will say in a future version that running "rm -f" with no argument
   3258 # is OK; and we want to be able to make that assumption in our Makefile
   3259 # recipes.  So use an aggressive probe to check that the usage we want is
   3260 # actually supported "in the wild" to an acceptable degree.
   3261 # See automake bug#10828.
   3262 # To make any issue more visible, cause the running configure to be aborted
   3263 # by default if the 'rm' program in use doesn't match our expectations; the
   3264 # user can still override this though.
   3265 if rm -f && rm -fr && rm -rf; then : OK; else
   3266   cat >&2 <<'END'
   3267 Oops!
   3268 
   3269 Your 'rm' program seems unable to run without file operands specified
   3270 on the command line, even when the '-f' option is present.  This is contrary
   3271 to the behaviour of most rm programs out there, and not conforming with
   3272 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3273 
   3274 Please tell bug-automake@gnu.org about your system, including the value
   3275 of your $PATH and any error possibly output before this message.  This
   3276 can help us improve future automake versions.
   3277 
   3278 END
   3279   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3280     echo 'Configuration will proceed anyway, since you have set the' >&2
   3281     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3282     echo >&2
   3283   else
   3284     cat >&2 <<'END'
   3285 Aborting the configuration process, to ensure you take notice of the issue.
   3286 
   3287 You can download and install GNU coreutils to get an 'rm' implementation
   3288 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3289 
   3290 If you want to complete the configuration process using your problematic
   3291 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3292 to "yes", and re-run configure.
   3293 
   3294 END
   3295     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3296   fi
   3297 fi
   3298 
   3299 # Check whether --enable-silent-rules was given.
   3300 if test "${enable_silent_rules+set}" = set; then :
   3301   enableval=$enable_silent_rules;
   3302 fi
   3303 
   3304 case $enable_silent_rules in # (((
   3305   yes) AM_DEFAULT_VERBOSITY=0;;
   3306    no) AM_DEFAULT_VERBOSITY=1;;
   3307     *) AM_DEFAULT_VERBOSITY=0;;
   3308 esac
   3309 am_make=${MAKE-make}
   3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3311 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3312 if ${am_cv_make_support_nested_variables+:} false; then :
   3313   $as_echo_n "(cached) " >&6
   3314 else
   3315   if $as_echo 'TRUE=$(BAR$(V))
   3316 BAR0=false
   3317 BAR1=true
   3318 V=1
   3319 am__doit:
   3320 	@$(TRUE)
   3321 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3322   am_cv_make_support_nested_variables=yes
   3323 else
   3324   am_cv_make_support_nested_variables=no
   3325 fi
   3326 fi
   3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3328 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3329 if test $am_cv_make_support_nested_variables = yes; then
   3330     AM_V='$(V)'
   3331   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3332 else
   3333   AM_V=$AM_DEFAULT_VERBOSITY
   3334   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3335 fi
   3336 AM_BACKSLASH='\'
   3337 
   3338 
   3339 if test -n "$ac_tool_prefix"; then
   3340   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   3341 set dummy ${ac_tool_prefix}ar; ac_word=$2
   3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3343 $as_echo_n "checking for $ac_word... " >&6; }
   3344 if ${ac_cv_prog_AR+:} false; then :
   3345   $as_echo_n "(cached) " >&6
   3346 else
   3347   if test -n "$AR"; then
   3348   ac_cv_prog_AR="$AR" # Let the user override the test.
   3349 else
   3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3351 for as_dir in $PATH
   3352 do
   3353   IFS=$as_save_IFS
   3354   test -z "$as_dir" && as_dir=.
   3355     for ac_exec_ext in '' $ac_executable_extensions; do
   3356   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3357     ac_cv_prog_AR="${ac_tool_prefix}ar"
   3358     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3359     break 2
   3360   fi
   3361 done
   3362   done
   3363 IFS=$as_save_IFS
   3364 
   3365 fi
   3366 fi
   3367 AR=$ac_cv_prog_AR
   3368 if test -n "$AR"; then
   3369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   3370 $as_echo "$AR" >&6; }
   3371 else
   3372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3373 $as_echo "no" >&6; }
   3374 fi
   3375 
   3376 
   3377 fi
   3378 if test -z "$ac_cv_prog_AR"; then
   3379   ac_ct_AR=$AR
   3380   # Extract the first word of "ar", so it can be a program name with args.
   3381 set dummy ar; ac_word=$2
   3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3383 $as_echo_n "checking for $ac_word... " >&6; }
   3384 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   3385   $as_echo_n "(cached) " >&6
   3386 else
   3387   if test -n "$ac_ct_AR"; then
   3388   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   3389 else
   3390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3391 for as_dir in $PATH
   3392 do
   3393   IFS=$as_save_IFS
   3394   test -z "$as_dir" && as_dir=.
   3395     for ac_exec_ext in '' $ac_executable_extensions; do
   3396   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3397     ac_cv_prog_ac_ct_AR="ar"
   3398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3399     break 2
   3400   fi
   3401 done
   3402   done
   3403 IFS=$as_save_IFS
   3404 
   3405 fi
   3406 fi
   3407 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   3408 if test -n "$ac_ct_AR"; then
   3409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   3410 $as_echo "$ac_ct_AR" >&6; }
   3411 else
   3412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3413 $as_echo "no" >&6; }
   3414 fi
   3415 
   3416   if test "x$ac_ct_AR" = x; then
   3417     AR=""
   3418   else
   3419     case $cross_compiling:$ac_tool_warned in
   3420 yes:)
   3421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3423 ac_tool_warned=yes ;;
   3424 esac
   3425     AR=$ac_ct_AR
   3426   fi
   3427 else
   3428   AR="$ac_cv_prog_AR"
   3429 fi
   3430 
   3431 if test -n "$ac_tool_prefix"; then
   3432   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   3433 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3435 $as_echo_n "checking for $ac_word... " >&6; }
   3436 if ${ac_cv_prog_RANLIB+:} false; then :
   3437   $as_echo_n "(cached) " >&6
   3438 else
   3439   if test -n "$RANLIB"; then
   3440   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   3441 else
   3442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3443 for as_dir in $PATH
   3444 do
   3445   IFS=$as_save_IFS
   3446   test -z "$as_dir" && as_dir=.
   3447     for ac_exec_ext in '' $ac_executable_extensions; do
   3448   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3449     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   3450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3451     break 2
   3452   fi
   3453 done
   3454   done
   3455 IFS=$as_save_IFS
   3456 
   3457 fi
   3458 fi
   3459 RANLIB=$ac_cv_prog_RANLIB
   3460 if test -n "$RANLIB"; then
   3461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   3462 $as_echo "$RANLIB" >&6; }
   3463 else
   3464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3465 $as_echo "no" >&6; }
   3466 fi
   3467 
   3468 
   3469 fi
   3470 if test -z "$ac_cv_prog_RANLIB"; then
   3471   ac_ct_RANLIB=$RANLIB
   3472   # Extract the first word of "ranlib", so it can be a program name with args.
   3473 set dummy ranlib; ac_word=$2
   3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3475 $as_echo_n "checking for $ac_word... " >&6; }
   3476 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   3477   $as_echo_n "(cached) " >&6
   3478 else
   3479   if test -n "$ac_ct_RANLIB"; then
   3480   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   3481 else
   3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3483 for as_dir in $PATH
   3484 do
   3485   IFS=$as_save_IFS
   3486   test -z "$as_dir" && as_dir=.
   3487     for ac_exec_ext in '' $ac_executable_extensions; do
   3488   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3489     ac_cv_prog_ac_ct_RANLIB="ranlib"
   3490     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3491     break 2
   3492   fi
   3493 done
   3494   done
   3495 IFS=$as_save_IFS
   3496 
   3497 fi
   3498 fi
   3499 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   3500 if test -n "$ac_ct_RANLIB"; then
   3501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   3502 $as_echo "$ac_ct_RANLIB" >&6; }
   3503 else
   3504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3505 $as_echo "no" >&6; }
   3506 fi
   3507 
   3508   if test "x$ac_ct_RANLIB" = x; then
   3509     RANLIB=":"
   3510   else
   3511     case $cross_compiling:$ac_tool_warned in
   3512 yes:)
   3513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3515 ac_tool_warned=yes ;;
   3516 esac
   3517     RANLIB=$ac_ct_RANLIB
   3518   fi
   3519 else
   3520   RANLIB="$ac_cv_prog_RANLIB"
   3521 fi
   3522 
   3523 
   3524 # Check whether --enable-shared was given.
   3525 if test "${enable_shared+set}" = set; then :
   3526   enableval=$enable_shared; p=${PACKAGE-default}
   3527     case $enableval in
   3528     yes) enable_shared=yes ;;
   3529     no) enable_shared=no ;;
   3530     *)
   3531       enable_shared=no
   3532       # Look at the argument we got.  We use all the common list separators.
   3533       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3534       for pkg in $enableval; do
   3535 	IFS="$lt_save_ifs"
   3536 	if test "X$pkg" = "X$p"; then
   3537 	  enable_shared=yes
   3538 	fi
   3539       done
   3540       IFS="$lt_save_ifs"
   3541       ;;
   3542     esac
   3543 else
   3544   enable_shared=no
   3545 fi
   3546 
   3547 
   3548 
   3549 
   3550 
   3551 
   3552 
   3553 
   3554 
   3555 
   3556 ac_ext=c
   3557 ac_cpp='$CPP $CPPFLAGS'
   3558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3561 if test -n "$ac_tool_prefix"; then
   3562   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3563 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3565 $as_echo_n "checking for $ac_word... " >&6; }
   3566 if ${ac_cv_prog_CC+:} false; then :
   3567   $as_echo_n "(cached) " >&6
   3568 else
   3569   if test -n "$CC"; then
   3570   ac_cv_prog_CC="$CC" # Let the user override the test.
   3571 else
   3572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3573 for as_dir in $PATH
   3574 do
   3575   IFS=$as_save_IFS
   3576   test -z "$as_dir" && as_dir=.
   3577     for ac_exec_ext in '' $ac_executable_extensions; do
   3578   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3579     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3581     break 2
   3582   fi
   3583 done
   3584   done
   3585 IFS=$as_save_IFS
   3586 
   3587 fi
   3588 fi
   3589 CC=$ac_cv_prog_CC
   3590 if test -n "$CC"; then
   3591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3592 $as_echo "$CC" >&6; }
   3593 else
   3594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3595 $as_echo "no" >&6; }
   3596 fi
   3597 
   3598 
   3599 fi
   3600 if test -z "$ac_cv_prog_CC"; then
   3601   ac_ct_CC=$CC
   3602   # Extract the first word of "gcc", so it can be a program name with args.
   3603 set dummy gcc; ac_word=$2
   3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3605 $as_echo_n "checking for $ac_word... " >&6; }
   3606 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3607   $as_echo_n "(cached) " >&6
   3608 else
   3609   if test -n "$ac_ct_CC"; then
   3610   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3611 else
   3612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3613 for as_dir in $PATH
   3614 do
   3615   IFS=$as_save_IFS
   3616   test -z "$as_dir" && as_dir=.
   3617     for ac_exec_ext in '' $ac_executable_extensions; do
   3618   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3619     ac_cv_prog_ac_ct_CC="gcc"
   3620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3621     break 2
   3622   fi
   3623 done
   3624   done
   3625 IFS=$as_save_IFS
   3626 
   3627 fi
   3628 fi
   3629 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3630 if test -n "$ac_ct_CC"; then
   3631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3632 $as_echo "$ac_ct_CC" >&6; }
   3633 else
   3634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3635 $as_echo "no" >&6; }
   3636 fi
   3637 
   3638   if test "x$ac_ct_CC" = x; then
   3639     CC=""
   3640   else
   3641     case $cross_compiling:$ac_tool_warned in
   3642 yes:)
   3643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3645 ac_tool_warned=yes ;;
   3646 esac
   3647     CC=$ac_ct_CC
   3648   fi
   3649 else
   3650   CC="$ac_cv_prog_CC"
   3651 fi
   3652 
   3653 if test -z "$CC"; then
   3654           if test -n "$ac_tool_prefix"; then
   3655     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3656 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3658 $as_echo_n "checking for $ac_word... " >&6; }
   3659 if ${ac_cv_prog_CC+:} false; then :
   3660   $as_echo_n "(cached) " >&6
   3661 else
   3662   if test -n "$CC"; then
   3663   ac_cv_prog_CC="$CC" # Let the user override the test.
   3664 else
   3665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3666 for as_dir in $PATH
   3667 do
   3668   IFS=$as_save_IFS
   3669   test -z "$as_dir" && as_dir=.
   3670     for ac_exec_ext in '' $ac_executable_extensions; do
   3671   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3672     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3673     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3674     break 2
   3675   fi
   3676 done
   3677   done
   3678 IFS=$as_save_IFS
   3679 
   3680 fi
   3681 fi
   3682 CC=$ac_cv_prog_CC
   3683 if test -n "$CC"; then
   3684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3685 $as_echo "$CC" >&6; }
   3686 else
   3687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3688 $as_echo "no" >&6; }
   3689 fi
   3690 
   3691 
   3692   fi
   3693 fi
   3694 if test -z "$CC"; then
   3695   # Extract the first word of "cc", so it can be a program name with args.
   3696 set dummy cc; ac_word=$2
   3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3698 $as_echo_n "checking for $ac_word... " >&6; }
   3699 if ${ac_cv_prog_CC+:} false; then :
   3700   $as_echo_n "(cached) " >&6
   3701 else
   3702   if test -n "$CC"; then
   3703   ac_cv_prog_CC="$CC" # Let the user override the test.
   3704 else
   3705   ac_prog_rejected=no
   3706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3707 for as_dir in $PATH
   3708 do
   3709   IFS=$as_save_IFS
   3710   test -z "$as_dir" && as_dir=.
   3711     for ac_exec_ext in '' $ac_executable_extensions; do
   3712   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3713     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3714        ac_prog_rejected=yes
   3715        continue
   3716      fi
   3717     ac_cv_prog_CC="cc"
   3718     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3719     break 2
   3720   fi
   3721 done
   3722   done
   3723 IFS=$as_save_IFS
   3724 
   3725 if test $ac_prog_rejected = yes; then
   3726   # We found a bogon in the path, so make sure we never use it.
   3727   set dummy $ac_cv_prog_CC
   3728   shift
   3729   if test $# != 0; then
   3730     # We chose a different compiler from the bogus one.
   3731     # However, it has the same basename, so the bogon will be chosen
   3732     # first if we set CC to just the basename; use the full file name.
   3733     shift
   3734     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3735   fi
   3736 fi
   3737 fi
   3738 fi
   3739 CC=$ac_cv_prog_CC
   3740 if test -n "$CC"; then
   3741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3742 $as_echo "$CC" >&6; }
   3743 else
   3744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3745 $as_echo "no" >&6; }
   3746 fi
   3747 
   3748 
   3749 fi
   3750 if test -z "$CC"; then
   3751   if test -n "$ac_tool_prefix"; then
   3752   for ac_prog in cl.exe
   3753   do
   3754     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3755 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3757 $as_echo_n "checking for $ac_word... " >&6; }
   3758 if ${ac_cv_prog_CC+:} false; then :
   3759   $as_echo_n "(cached) " >&6
   3760 else
   3761   if test -n "$CC"; then
   3762   ac_cv_prog_CC="$CC" # Let the user override the test.
   3763 else
   3764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3765 for as_dir in $PATH
   3766 do
   3767   IFS=$as_save_IFS
   3768   test -z "$as_dir" && as_dir=.
   3769     for ac_exec_ext in '' $ac_executable_extensions; do
   3770   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3771     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3772     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3773     break 2
   3774   fi
   3775 done
   3776   done
   3777 IFS=$as_save_IFS
   3778 
   3779 fi
   3780 fi
   3781 CC=$ac_cv_prog_CC
   3782 if test -n "$CC"; then
   3783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3784 $as_echo "$CC" >&6; }
   3785 else
   3786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3787 $as_echo "no" >&6; }
   3788 fi
   3789 
   3790 
   3791     test -n "$CC" && break
   3792   done
   3793 fi
   3794 if test -z "$CC"; then
   3795   ac_ct_CC=$CC
   3796   for ac_prog in cl.exe
   3797 do
   3798   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3799 set dummy $ac_prog; ac_word=$2
   3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3801 $as_echo_n "checking for $ac_word... " >&6; }
   3802 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3803   $as_echo_n "(cached) " >&6
   3804 else
   3805   if test -n "$ac_ct_CC"; then
   3806   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3807 else
   3808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3809 for as_dir in $PATH
   3810 do
   3811   IFS=$as_save_IFS
   3812   test -z "$as_dir" && as_dir=.
   3813     for ac_exec_ext in '' $ac_executable_extensions; do
   3814   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3815     ac_cv_prog_ac_ct_CC="$ac_prog"
   3816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3817     break 2
   3818   fi
   3819 done
   3820   done
   3821 IFS=$as_save_IFS
   3822 
   3823 fi
   3824 fi
   3825 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3826 if test -n "$ac_ct_CC"; then
   3827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3828 $as_echo "$ac_ct_CC" >&6; }
   3829 else
   3830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3831 $as_echo "no" >&6; }
   3832 fi
   3833 
   3834 
   3835   test -n "$ac_ct_CC" && break
   3836 done
   3837 
   3838   if test "x$ac_ct_CC" = x; then
   3839     CC=""
   3840   else
   3841     case $cross_compiling:$ac_tool_warned in
   3842 yes:)
   3843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3845 ac_tool_warned=yes ;;
   3846 esac
   3847     CC=$ac_ct_CC
   3848   fi
   3849 fi
   3850 
   3851 fi
   3852 
   3853 
   3854 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3856 as_fn_error $? "no acceptable C compiler found in \$PATH
   3857 See \`config.log' for more details" "$LINENO" 5; }
   3858 
   3859 # Provide some information about the compiler.
   3860 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3861 set X $ac_compile
   3862 ac_compiler=$2
   3863 for ac_option in --version -v -V -qversion; do
   3864   { { ac_try="$ac_compiler $ac_option >&5"
   3865 case "(($ac_try" in
   3866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3867   *) ac_try_echo=$ac_try;;
   3868 esac
   3869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3870 $as_echo "$ac_try_echo"; } >&5
   3871   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3872   ac_status=$?
   3873   if test -s conftest.err; then
   3874     sed '10a\
   3875 ... rest of stderr output deleted ...
   3876          10q' conftest.err >conftest.er1
   3877     cat conftest.er1 >&5
   3878   fi
   3879   rm -f conftest.er1 conftest.err
   3880   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3881   test $ac_status = 0; }
   3882 done
   3883 
   3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3885 /* end confdefs.h.  */
   3886 
   3887 int
   3888 main ()
   3889 {
   3890 
   3891   ;
   3892   return 0;
   3893 }
   3894 _ACEOF
   3895 ac_clean_files_save=$ac_clean_files
   3896 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3897 # Try to create an executable without -o first, disregard a.out.
   3898 # It will help us diagnose broken compilers, and finding out an intuition
   3899 # of exeext.
   3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3901 $as_echo_n "checking whether the C compiler works... " >&6; }
   3902 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3903 
   3904 # The possible output files:
   3905 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3906 
   3907 ac_rmfiles=
   3908 for ac_file in $ac_files
   3909 do
   3910   case $ac_file in
   3911     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3912     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3913   esac
   3914 done
   3915 rm -f $ac_rmfiles
   3916 
   3917 if { { ac_try="$ac_link_default"
   3918 case "(($ac_try" in
   3919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3920   *) ac_try_echo=$ac_try;;
   3921 esac
   3922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3923 $as_echo "$ac_try_echo"; } >&5
   3924   (eval "$ac_link_default") 2>&5
   3925   ac_status=$?
   3926   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3927   test $ac_status = 0; }; then :
   3928   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3929 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3930 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3931 # so that the user can short-circuit this test for compilers unknown to
   3932 # Autoconf.
   3933 for ac_file in $ac_files ''
   3934 do
   3935   test -f "$ac_file" || continue
   3936   case $ac_file in
   3937     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3938 	;;
   3939     [ab].out )
   3940 	# We found the default executable, but exeext='' is most
   3941 	# certainly right.
   3942 	break;;
   3943     *.* )
   3944 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3945 	then :; else
   3946 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3947 	fi
   3948 	# We set ac_cv_exeext here because the later test for it is not
   3949 	# safe: cross compilers may not add the suffix if given an `-o'
   3950 	# argument, so we may need to know it at that point already.
   3951 	# Even if this section looks crufty: it has the advantage of
   3952 	# actually working.
   3953 	break;;
   3954     * )
   3955 	break;;
   3956   esac
   3957 done
   3958 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3959 
   3960 else
   3961   ac_file=''
   3962 fi
   3963 if test -z "$ac_file"; then :
   3964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3965 $as_echo "no" >&6; }
   3966 $as_echo "$as_me: failed program was:" >&5
   3967 sed 's/^/| /' conftest.$ac_ext >&5
   3968 
   3969 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3971 as_fn_error 77 "C compiler cannot create executables
   3972 See \`config.log' for more details" "$LINENO" 5; }
   3973 else
   3974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3975 $as_echo "yes" >&6; }
   3976 fi
   3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3978 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3980 $as_echo "$ac_file" >&6; }
   3981 ac_exeext=$ac_cv_exeext
   3982 
   3983 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3984 ac_clean_files=$ac_clean_files_save
   3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3986 $as_echo_n "checking for suffix of executables... " >&6; }
   3987 if { { ac_try="$ac_link"
   3988 case "(($ac_try" in
   3989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3990   *) ac_try_echo=$ac_try;;
   3991 esac
   3992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3993 $as_echo "$ac_try_echo"; } >&5
   3994   (eval "$ac_link") 2>&5
   3995   ac_status=$?
   3996   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3997   test $ac_status = 0; }; then :
   3998   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3999 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4000 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4001 # `rm'.
   4002 for ac_file in conftest.exe conftest conftest.*; do
   4003   test -f "$ac_file" || continue
   4004   case $ac_file in
   4005     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4006     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4007 	  break;;
   4008     * ) break;;
   4009   esac
   4010 done
   4011 else
   4012   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4014 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4015 See \`config.log' for more details" "$LINENO" 5; }
   4016 fi
   4017 rm -f conftest conftest$ac_cv_exeext
   4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4019 $as_echo "$ac_cv_exeext" >&6; }
   4020 
   4021 rm -f conftest.$ac_ext
   4022 EXEEXT=$ac_cv_exeext
   4023 ac_exeext=$EXEEXT
   4024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4025 /* end confdefs.h.  */
   4026 #include <stdio.h>
   4027 int
   4028 main ()
   4029 {
   4030 FILE *f = fopen ("conftest.out", "w");
   4031  return ferror (f) || fclose (f) != 0;
   4032 
   4033   ;
   4034   return 0;
   4035 }
   4036 _ACEOF
   4037 ac_clean_files="$ac_clean_files conftest.out"
   4038 # Check that the compiler produces executables we can run.  If not, either
   4039 # the compiler is broken, or we cross compile.
   4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4041 $as_echo_n "checking whether we are cross compiling... " >&6; }
   4042 if test "$cross_compiling" != yes; then
   4043   { { ac_try="$ac_link"
   4044 case "(($ac_try" in
   4045   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4046   *) ac_try_echo=$ac_try;;
   4047 esac
   4048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4049 $as_echo "$ac_try_echo"; } >&5
   4050   (eval "$ac_link") 2>&5
   4051   ac_status=$?
   4052   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4053   test $ac_status = 0; }
   4054   if { ac_try='./conftest$ac_cv_exeext'
   4055   { { case "(($ac_try" in
   4056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4057   *) ac_try_echo=$ac_try;;
   4058 esac
   4059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4060 $as_echo "$ac_try_echo"; } >&5
   4061   (eval "$ac_try") 2>&5
   4062   ac_status=$?
   4063   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4064   test $ac_status = 0; }; }; then
   4065     cross_compiling=no
   4066   else
   4067     if test "$cross_compiling" = maybe; then
   4068 	cross_compiling=yes
   4069     else
   4070 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4072 as_fn_error $? "cannot run C compiled programs.
   4073 If you meant to cross compile, use \`--host'.
   4074 See \`config.log' for more details" "$LINENO" 5; }
   4075     fi
   4076   fi
   4077 fi
   4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4079 $as_echo "$cross_compiling" >&6; }
   4080 
   4081 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4082 ac_clean_files=$ac_clean_files_save
   4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4084 $as_echo_n "checking for suffix of object files... " >&6; }
   4085 if ${ac_cv_objext+:} false; then :
   4086   $as_echo_n "(cached) " >&6
   4087 else
   4088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4089 /* end confdefs.h.  */
   4090 
   4091 int
   4092 main ()
   4093 {
   4094 
   4095   ;
   4096   return 0;
   4097 }
   4098 _ACEOF
   4099 rm -f conftest.o conftest.obj
   4100 if { { ac_try="$ac_compile"
   4101 case "(($ac_try" in
   4102   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4103   *) ac_try_echo=$ac_try;;
   4104 esac
   4105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4106 $as_echo "$ac_try_echo"; } >&5
   4107   (eval "$ac_compile") 2>&5
   4108   ac_status=$?
   4109   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4110   test $ac_status = 0; }; then :
   4111   for ac_file in conftest.o conftest.obj conftest.*; do
   4112   test -f "$ac_file" || continue;
   4113   case $ac_file in
   4114     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4115     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4116        break;;
   4117   esac
   4118 done
   4119 else
   4120   $as_echo "$as_me: failed program was:" >&5
   4121 sed 's/^/| /' conftest.$ac_ext >&5
   4122 
   4123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4125 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4126 See \`config.log' for more details" "$LINENO" 5; }
   4127 fi
   4128 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4129 fi
   4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4131 $as_echo "$ac_cv_objext" >&6; }
   4132 OBJEXT=$ac_cv_objext
   4133 ac_objext=$OBJEXT
   4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4135 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4136 if ${ac_cv_c_compiler_gnu+:} false; then :
   4137   $as_echo_n "(cached) " >&6
   4138 else
   4139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4140 /* end confdefs.h.  */
   4141 
   4142 int
   4143 main ()
   4144 {
   4145 #ifndef __GNUC__
   4146        choke me
   4147 #endif
   4148 
   4149   ;
   4150   return 0;
   4151 }
   4152 _ACEOF
   4153 if ac_fn_c_try_compile "$LINENO"; then :
   4154   ac_compiler_gnu=yes
   4155 else
   4156   ac_compiler_gnu=no
   4157 fi
   4158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4159 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4160 
   4161 fi
   4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4163 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4164 if test $ac_compiler_gnu = yes; then
   4165   GCC=yes
   4166 else
   4167   GCC=
   4168 fi
   4169 ac_test_CFLAGS=${CFLAGS+set}
   4170 ac_save_CFLAGS=$CFLAGS
   4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4172 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4173 if ${ac_cv_prog_cc_g+:} false; then :
   4174   $as_echo_n "(cached) " >&6
   4175 else
   4176   ac_save_c_werror_flag=$ac_c_werror_flag
   4177    ac_c_werror_flag=yes
   4178    ac_cv_prog_cc_g=no
   4179    CFLAGS="-g"
   4180    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4181 /* end confdefs.h.  */
   4182 
   4183 int
   4184 main ()
   4185 {
   4186 
   4187   ;
   4188   return 0;
   4189 }
   4190 _ACEOF
   4191 if ac_fn_c_try_compile "$LINENO"; then :
   4192   ac_cv_prog_cc_g=yes
   4193 else
   4194   CFLAGS=""
   4195       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4196 /* end confdefs.h.  */
   4197 
   4198 int
   4199 main ()
   4200 {
   4201 
   4202   ;
   4203   return 0;
   4204 }
   4205 _ACEOF
   4206 if ac_fn_c_try_compile "$LINENO"; then :
   4207 
   4208 else
   4209   ac_c_werror_flag=$ac_save_c_werror_flag
   4210 	 CFLAGS="-g"
   4211 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4212 /* end confdefs.h.  */
   4213 
   4214 int
   4215 main ()
   4216 {
   4217 
   4218   ;
   4219   return 0;
   4220 }
   4221 _ACEOF
   4222 if ac_fn_c_try_compile "$LINENO"; then :
   4223   ac_cv_prog_cc_g=yes
   4224 fi
   4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   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    ac_c_werror_flag=$ac_save_c_werror_flag
   4231 fi
   4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4233 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4234 if test "$ac_test_CFLAGS" = set; then
   4235   CFLAGS=$ac_save_CFLAGS
   4236 elif test $ac_cv_prog_cc_g = yes; then
   4237   if test "$GCC" = yes; then
   4238     CFLAGS="-g -O2"
   4239   else
   4240     CFLAGS="-g"
   4241   fi
   4242 else
   4243   if test "$GCC" = yes; then
   4244     CFLAGS="-O2"
   4245   else
   4246     CFLAGS=
   4247   fi
   4248 fi
   4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4250 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4251 if ${ac_cv_prog_cc_c89+:} false; then :
   4252   $as_echo_n "(cached) " >&6
   4253 else
   4254   ac_cv_prog_cc_c89=no
   4255 ac_save_CC=$CC
   4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4257 /* end confdefs.h.  */
   4258 #include <stdarg.h>
   4259 #include <stdio.h>
   4260 struct stat;
   4261 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4262 struct buf { int x; };
   4263 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4264 static char *e (p, i)
   4265      char **p;
   4266      int i;
   4267 {
   4268   return p[i];
   4269 }
   4270 static char *f (char * (*g) (char **, int), char **p, ...)
   4271 {
   4272   char *s;
   4273   va_list v;
   4274   va_start (v,p);
   4275   s = g (p, va_arg (v,int));
   4276   va_end (v);
   4277   return s;
   4278 }
   4279 
   4280 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4281    function prototypes and stuff, but not '\xHH' hex character constants.
   4282    These don't provoke an error unfortunately, instead are silently treated
   4283    as 'x'.  The following induces an error, until -std is added to get
   4284    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4285    array size at least.  It's necessary to write '\x00'==0 to get something
   4286    that's true only with -std.  */
   4287 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4288 
   4289 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4290    inside strings and character constants.  */
   4291 #define FOO(x) 'x'
   4292 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4293 
   4294 int test (int i, double x);
   4295 struct s1 {int (*f) (int a);};
   4296 struct s2 {int (*f) (double a);};
   4297 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4298 int argc;
   4299 char **argv;
   4300 int
   4301 main ()
   4302 {
   4303 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4304   ;
   4305   return 0;
   4306 }
   4307 _ACEOF
   4308 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4309 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4310 do
   4311   CC="$ac_save_CC $ac_arg"
   4312   if ac_fn_c_try_compile "$LINENO"; then :
   4313   ac_cv_prog_cc_c89=$ac_arg
   4314 fi
   4315 rm -f core conftest.err conftest.$ac_objext
   4316   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4317 done
   4318 rm -f conftest.$ac_ext
   4319 CC=$ac_save_CC
   4320 
   4321 fi
   4322 # AC_CACHE_VAL
   4323 case "x$ac_cv_prog_cc_c89" in
   4324   x)
   4325     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4326 $as_echo "none needed" >&6; } ;;
   4327   xno)
   4328     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4329 $as_echo "unsupported" >&6; } ;;
   4330   *)
   4331     CC="$CC $ac_cv_prog_cc_c89"
   4332     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4333 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4334 esac
   4335 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4336 
   4337 fi
   4338 
   4339 ac_ext=c
   4340 ac_cpp='$CPP $CPPFLAGS'
   4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4344 
   4345 ac_ext=c
   4346 ac_cpp='$CPP $CPPFLAGS'
   4347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4351 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4352 if ${am_cv_prog_cc_c_o+:} false; then :
   4353   $as_echo_n "(cached) " >&6
   4354 else
   4355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4356 /* end confdefs.h.  */
   4357 
   4358 int
   4359 main ()
   4360 {
   4361 
   4362   ;
   4363   return 0;
   4364 }
   4365 _ACEOF
   4366   # Make sure it works both with $CC and with simple cc.
   4367   # Following AC_PROG_CC_C_O, we do the test twice because some
   4368   # compilers refuse to overwrite an existing .o file with -o,
   4369   # though they will create one.
   4370   am_cv_prog_cc_c_o=yes
   4371   for am_i in 1 2; do
   4372     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4373    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4374    ac_status=$?
   4375    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4376    (exit $ac_status); } \
   4377          && test -f conftest2.$ac_objext; then
   4378       : OK
   4379     else
   4380       am_cv_prog_cc_c_o=no
   4381       break
   4382     fi
   4383   done
   4384   rm -f core conftest*
   4385   unset am_i
   4386 fi
   4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4388 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4389 if test "$am_cv_prog_cc_c_o" != yes; then
   4390    # Losing compiler, so override with the script.
   4391    # FIXME: It is wrong to rewrite CC.
   4392    # But if we don't then we get into trouble of one sort or another.
   4393    # A longer-term fix would be to have automake use am__CC in this case,
   4394    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4395    CC="$am_aux_dir/compile $CC"
   4396 fi
   4397 ac_ext=c
   4398 ac_cpp='$CPP $CPPFLAGS'
   4399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4402 
   4403 DEPDIR="${am__leading_dot}deps"
   4404 
   4405 ac_config_commands="$ac_config_commands depfiles"
   4406 
   4407 
   4408 am_make=${MAKE-make}
   4409 cat > confinc << 'END'
   4410 am__doit:
   4411 	@echo this is the am__doit target
   4412 .PHONY: am__doit
   4413 END
   4414 # If we don't find an include directive, just comment out the code.
   4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4416 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4417 am__include="#"
   4418 am__quote=
   4419 _am_result=none
   4420 # First try GNU make style include.
   4421 echo "include confinc" > confmf
   4422 # Ignore all kinds of additional output from 'make'.
   4423 case `$am_make -s -f confmf 2> /dev/null` in #(
   4424 *the\ am__doit\ target*)
   4425   am__include=include
   4426   am__quote=
   4427   _am_result=GNU
   4428   ;;
   4429 esac
   4430 # Now try BSD make style include.
   4431 if test "$am__include" = "#"; then
   4432    echo '.include "confinc"' > confmf
   4433    case `$am_make -s -f confmf 2> /dev/null` in #(
   4434    *the\ am__doit\ target*)
   4435      am__include=.include
   4436      am__quote="\""
   4437      _am_result=BSD
   4438      ;;
   4439    esac
   4440 fi
   4441 
   4442 
   4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4444 $as_echo "$_am_result" >&6; }
   4445 rm -f confinc confmf
   4446 
   4447 # Check whether --enable-dependency-tracking was given.
   4448 if test "${enable_dependency_tracking+set}" = set; then :
   4449   enableval=$enable_dependency_tracking;
   4450 fi
   4451 
   4452 if test "x$enable_dependency_tracking" != xno; then
   4453   am_depcomp="$ac_aux_dir/depcomp"
   4454   AMDEPBACKSLASH='\'
   4455   am__nodep='_no'
   4456 fi
   4457  if test "x$enable_dependency_tracking" != xno; then
   4458   AMDEP_TRUE=
   4459   AMDEP_FALSE='#'
   4460 else
   4461   AMDEP_TRUE='#'
   4462   AMDEP_FALSE=
   4463 fi
   4464 
   4465 
   4466 
   4467 depcc="$CC"   am_compiler_list=
   4468 
   4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4470 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4471 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4472   $as_echo_n "(cached) " >&6
   4473 else
   4474   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4475   # We make a subdir and do the tests there.  Otherwise we can end up
   4476   # making bogus files that we don't know about and never remove.  For
   4477   # instance it was reported that on HP-UX the gcc test will end up
   4478   # making a dummy file named 'D' -- because '-MD' means "put the output
   4479   # in D".
   4480   rm -rf conftest.dir
   4481   mkdir conftest.dir
   4482   # Copy depcomp to subdir because otherwise we won't find it if we're
   4483   # using a relative directory.
   4484   cp "$am_depcomp" conftest.dir
   4485   cd conftest.dir
   4486   # We will build objects and dependencies in a subdirectory because
   4487   # it helps to detect inapplicable dependency modes.  For instance
   4488   # both Tru64's cc and ICC support -MD to output dependencies as a
   4489   # side effect of compilation, but ICC will put the dependencies in
   4490   # the current directory while Tru64 will put them in the object
   4491   # directory.
   4492   mkdir sub
   4493 
   4494   am_cv_CC_dependencies_compiler_type=none
   4495   if test "$am_compiler_list" = ""; then
   4496      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4497   fi
   4498   am__universal=false
   4499   case " $depcc " in #(
   4500      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4501      esac
   4502 
   4503   for depmode in $am_compiler_list; do
   4504     # Setup a source with many dependencies, because some compilers
   4505     # like to wrap large dependency lists on column 80 (with \), and
   4506     # we should not choose a depcomp mode which is confused by this.
   4507     #
   4508     # We need to recreate these files for each test, as the compiler may
   4509     # overwrite some of them when testing with obscure command lines.
   4510     # This happens at least with the AIX C compiler.
   4511     : > sub/conftest.c
   4512     for i in 1 2 3 4 5 6; do
   4513       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4514       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4515       # Solaris 10 /bin/sh.
   4516       echo '/* dummy */' > sub/conftst$i.h
   4517     done
   4518     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4519 
   4520     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4521     # mode.  It turns out that the SunPro C++ compiler does not properly
   4522     # handle '-M -o', and we need to detect this.  Also, some Intel
   4523     # versions had trouble with output in subdirs.
   4524     am__obj=sub/conftest.${OBJEXT-o}
   4525     am__minus_obj="-o $am__obj"
   4526     case $depmode in
   4527     gcc)
   4528       # This depmode causes a compiler race in universal mode.
   4529       test "$am__universal" = false || continue
   4530       ;;
   4531     nosideeffect)
   4532       # After this tag, mechanisms are not by side-effect, so they'll
   4533       # only be used when explicitly requested.
   4534       if test "x$enable_dependency_tracking" = xyes; then
   4535 	continue
   4536       else
   4537 	break
   4538       fi
   4539       ;;
   4540     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4541       # This compiler won't grok '-c -o', but also, the minuso test has
   4542       # not run yet.  These depmodes are late enough in the game, and
   4543       # so weak that their functioning should not be impacted.
   4544       am__obj=conftest.${OBJEXT-o}
   4545       am__minus_obj=
   4546       ;;
   4547     none) break ;;
   4548     esac
   4549     if depmode=$depmode \
   4550        source=sub/conftest.c object=$am__obj \
   4551        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4552        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4553          >/dev/null 2>conftest.err &&
   4554        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4555        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4556        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4557        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4558       # icc doesn't choke on unknown options, it will just issue warnings
   4559       # or remarks (even with -Werror).  So we grep stderr for any message
   4560       # that says an option was ignored or not supported.
   4561       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4562       #   icc: Command line warning: ignoring option '-M'; no argument required
   4563       # The diagnosis changed in icc 8.0:
   4564       #   icc: Command line remark: option '-MP' not supported
   4565       if (grep 'ignoring option' conftest.err ||
   4566           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4567         am_cv_CC_dependencies_compiler_type=$depmode
   4568         break
   4569       fi
   4570     fi
   4571   done
   4572 
   4573   cd ..
   4574   rm -rf conftest.dir
   4575 else
   4576   am_cv_CC_dependencies_compiler_type=none
   4577 fi
   4578 
   4579 fi
   4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4581 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4582 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4583 
   4584  if
   4585   test "x$enable_dependency_tracking" != xno \
   4586   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4587   am__fastdepCC_TRUE=
   4588   am__fastdepCC_FALSE='#'
   4589 else
   4590   am__fastdepCC_TRUE='#'
   4591   am__fastdepCC_FALSE=
   4592 fi
   4593 
   4594 
   4595 
   4596 ac_ext=c
   4597 ac_cpp='$CPP $CPPFLAGS'
   4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4602 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4603 # On Suns, sometimes $CPP names a directory.
   4604 if test -n "$CPP" && test -d "$CPP"; then
   4605   CPP=
   4606 fi
   4607 if test -z "$CPP"; then
   4608   if ${ac_cv_prog_CPP+:} false; then :
   4609   $as_echo_n "(cached) " >&6
   4610 else
   4611       # Double quotes because CPP needs to be expanded
   4612     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4613     do
   4614       ac_preproc_ok=false
   4615 for ac_c_preproc_warn_flag in '' yes
   4616 do
   4617   # Use a header file that comes with gcc, so configuring glibc
   4618   # with a fresh cross-compiler works.
   4619   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4620   # <limits.h> exists even on freestanding compilers.
   4621   # On the NeXT, cc -E runs the code through the compiler's parser,
   4622   # not just through cpp. "Syntax error" is here to catch this case.
   4623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4624 /* end confdefs.h.  */
   4625 #ifdef __STDC__
   4626 # include <limits.h>
   4627 #else
   4628 # include <assert.h>
   4629 #endif
   4630 		     Syntax error
   4631 _ACEOF
   4632 if ac_fn_c_try_cpp "$LINENO"; then :
   4633 
   4634 else
   4635   # Broken: fails on valid input.
   4636 continue
   4637 fi
   4638 rm -f conftest.err conftest.i conftest.$ac_ext
   4639 
   4640   # OK, works on sane cases.  Now check whether nonexistent headers
   4641   # can be detected and how.
   4642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4643 /* end confdefs.h.  */
   4644 #include <ac_nonexistent.h>
   4645 _ACEOF
   4646 if ac_fn_c_try_cpp "$LINENO"; then :
   4647   # Broken: success on invalid input.
   4648 continue
   4649 else
   4650   # Passes both tests.
   4651 ac_preproc_ok=:
   4652 break
   4653 fi
   4654 rm -f conftest.err conftest.i conftest.$ac_ext
   4655 
   4656 done
   4657 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4658 rm -f conftest.i conftest.err conftest.$ac_ext
   4659 if $ac_preproc_ok; then :
   4660   break
   4661 fi
   4662 
   4663     done
   4664     ac_cv_prog_CPP=$CPP
   4665 
   4666 fi
   4667   CPP=$ac_cv_prog_CPP
   4668 else
   4669   ac_cv_prog_CPP=$CPP
   4670 fi
   4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4672 $as_echo "$CPP" >&6; }
   4673 ac_preproc_ok=false
   4674 for ac_c_preproc_warn_flag in '' yes
   4675 do
   4676   # Use a header file that comes with gcc, so configuring glibc
   4677   # with a fresh cross-compiler works.
   4678   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4679   # <limits.h> exists even on freestanding compilers.
   4680   # On the NeXT, cc -E runs the code through the compiler's parser,
   4681   # not just through cpp. "Syntax error" is here to catch this case.
   4682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4683 /* end confdefs.h.  */
   4684 #ifdef __STDC__
   4685 # include <limits.h>
   4686 #else
   4687 # include <assert.h>
   4688 #endif
   4689 		     Syntax error
   4690 _ACEOF
   4691 if ac_fn_c_try_cpp "$LINENO"; then :
   4692 
   4693 else
   4694   # Broken: fails on valid input.
   4695 continue
   4696 fi
   4697 rm -f conftest.err conftest.i conftest.$ac_ext
   4698 
   4699   # OK, works on sane cases.  Now check whether nonexistent headers
   4700   # can be detected and how.
   4701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4702 /* end confdefs.h.  */
   4703 #include <ac_nonexistent.h>
   4704 _ACEOF
   4705 if ac_fn_c_try_cpp "$LINENO"; then :
   4706   # Broken: success on invalid input.
   4707 continue
   4708 else
   4709   # Passes both tests.
   4710 ac_preproc_ok=:
   4711 break
   4712 fi
   4713 rm -f conftest.err conftest.i conftest.$ac_ext
   4714 
   4715 done
   4716 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4717 rm -f conftest.i conftest.err conftest.$ac_ext
   4718 if $ac_preproc_ok; then :
   4719 
   4720 else
   4721   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4723 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4724 See \`config.log' for more details" "$LINENO" 5; }
   4725 fi
   4726 
   4727 ac_ext=c
   4728 ac_cpp='$CPP $CPPFLAGS'
   4729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4732 
   4733 
   4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4735 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4736 if ${ac_cv_path_GREP+:} false; then :
   4737   $as_echo_n "(cached) " >&6
   4738 else
   4739   if test -z "$GREP"; then
   4740   ac_path_GREP_found=false
   4741   # Loop through the user's path and test for each of PROGNAME-LIST
   4742   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4743 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4744 do
   4745   IFS=$as_save_IFS
   4746   test -z "$as_dir" && as_dir=.
   4747     for ac_prog in grep ggrep; do
   4748     for ac_exec_ext in '' $ac_executable_extensions; do
   4749       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4750       as_fn_executable_p "$ac_path_GREP" || continue
   4751 # Check for GNU ac_path_GREP and select it if it is found.
   4752   # Check for GNU $ac_path_GREP
   4753 case `"$ac_path_GREP" --version 2>&1` in
   4754 *GNU*)
   4755   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4756 *)
   4757   ac_count=0
   4758   $as_echo_n 0123456789 >"conftest.in"
   4759   while :
   4760   do
   4761     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4762     mv "conftest.tmp" "conftest.in"
   4763     cp "conftest.in" "conftest.nl"
   4764     $as_echo 'GREP' >> "conftest.nl"
   4765     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4766     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4767     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4768     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4769       # Best one so far, save it but keep looking for a better one
   4770       ac_cv_path_GREP="$ac_path_GREP"
   4771       ac_path_GREP_max=$ac_count
   4772     fi
   4773     # 10*(2^10) chars as input seems more than enough
   4774     test $ac_count -gt 10 && break
   4775   done
   4776   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4777 esac
   4778 
   4779       $ac_path_GREP_found && break 3
   4780     done
   4781   done
   4782   done
   4783 IFS=$as_save_IFS
   4784   if test -z "$ac_cv_path_GREP"; then
   4785     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4786   fi
   4787 else
   4788   ac_cv_path_GREP=$GREP
   4789 fi
   4790 
   4791 fi
   4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4793 $as_echo "$ac_cv_path_GREP" >&6; }
   4794  GREP="$ac_cv_path_GREP"
   4795 
   4796 
   4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4798 $as_echo_n "checking for egrep... " >&6; }
   4799 if ${ac_cv_path_EGREP+:} false; then :
   4800   $as_echo_n "(cached) " >&6
   4801 else
   4802   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4803    then ac_cv_path_EGREP="$GREP -E"
   4804    else
   4805      if test -z "$EGREP"; then
   4806   ac_path_EGREP_found=false
   4807   # Loop through the user's path and test for each of PROGNAME-LIST
   4808   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4809 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4810 do
   4811   IFS=$as_save_IFS
   4812   test -z "$as_dir" && as_dir=.
   4813     for ac_prog in egrep; do
   4814     for ac_exec_ext in '' $ac_executable_extensions; do
   4815       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4816       as_fn_executable_p "$ac_path_EGREP" || continue
   4817 # Check for GNU ac_path_EGREP and select it if it is found.
   4818   # Check for GNU $ac_path_EGREP
   4819 case `"$ac_path_EGREP" --version 2>&1` in
   4820 *GNU*)
   4821   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4822 *)
   4823   ac_count=0
   4824   $as_echo_n 0123456789 >"conftest.in"
   4825   while :
   4826   do
   4827     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4828     mv "conftest.tmp" "conftest.in"
   4829     cp "conftest.in" "conftest.nl"
   4830     $as_echo 'EGREP' >> "conftest.nl"
   4831     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4832     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4833     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4834     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4835       # Best one so far, save it but keep looking for a better one
   4836       ac_cv_path_EGREP="$ac_path_EGREP"
   4837       ac_path_EGREP_max=$ac_count
   4838     fi
   4839     # 10*(2^10) chars as input seems more than enough
   4840     test $ac_count -gt 10 && break
   4841   done
   4842   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4843 esac
   4844 
   4845       $ac_path_EGREP_found && break 3
   4846     done
   4847   done
   4848   done
   4849 IFS=$as_save_IFS
   4850   if test -z "$ac_cv_path_EGREP"; then
   4851     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4852   fi
   4853 else
   4854   ac_cv_path_EGREP=$EGREP
   4855 fi
   4856 
   4857    fi
   4858 fi
   4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4860 $as_echo "$ac_cv_path_EGREP" >&6; }
   4861  EGREP="$ac_cv_path_EGREP"
   4862 
   4863 
   4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4865 $as_echo_n "checking for ANSI C header files... " >&6; }
   4866 if ${ac_cv_header_stdc+:} false; then :
   4867   $as_echo_n "(cached) " >&6
   4868 else
   4869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4870 /* end confdefs.h.  */
   4871 #include <stdlib.h>
   4872 #include <stdarg.h>
   4873 #include <string.h>
   4874 #include <float.h>
   4875 
   4876 int
   4877 main ()
   4878 {
   4879 
   4880   ;
   4881   return 0;
   4882 }
   4883 _ACEOF
   4884 if ac_fn_c_try_compile "$LINENO"; then :
   4885   ac_cv_header_stdc=yes
   4886 else
   4887   ac_cv_header_stdc=no
   4888 fi
   4889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4890 
   4891 if test $ac_cv_header_stdc = yes; then
   4892   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4894 /* end confdefs.h.  */
   4895 #include <string.h>
   4896 
   4897 _ACEOF
   4898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4899   $EGREP "memchr" >/dev/null 2>&1; then :
   4900 
   4901 else
   4902   ac_cv_header_stdc=no
   4903 fi
   4904 rm -f conftest*
   4905 
   4906 fi
   4907 
   4908 if test $ac_cv_header_stdc = yes; then
   4909   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4911 /* end confdefs.h.  */
   4912 #include <stdlib.h>
   4913 
   4914 _ACEOF
   4915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4916   $EGREP "free" >/dev/null 2>&1; then :
   4917 
   4918 else
   4919   ac_cv_header_stdc=no
   4920 fi
   4921 rm -f conftest*
   4922 
   4923 fi
   4924 
   4925 if test $ac_cv_header_stdc = yes; then
   4926   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4927   if test "$cross_compiling" = yes; then :
   4928   :
   4929 else
   4930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4931 /* end confdefs.h.  */
   4932 #include <ctype.h>
   4933 #include <stdlib.h>
   4934 #if ((' ' & 0x0FF) == 0x020)
   4935 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4936 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4937 #else
   4938 # define ISLOWER(c) \
   4939 		   (('a' <= (c) && (c) <= 'i') \
   4940 		     || ('j' <= (c) && (c) <= 'r') \
   4941 		     || ('s' <= (c) && (c) <= 'z'))
   4942 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4943 #endif
   4944 
   4945 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4946 int
   4947 main ()
   4948 {
   4949   int i;
   4950   for (i = 0; i < 256; i++)
   4951     if (XOR (islower (i), ISLOWER (i))
   4952 	|| toupper (i) != TOUPPER (i))
   4953       return 2;
   4954   return 0;
   4955 }
   4956 _ACEOF
   4957 if ac_fn_c_try_run "$LINENO"; then :
   4958 
   4959 else
   4960   ac_cv_header_stdc=no
   4961 fi
   4962 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4963   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4964 fi
   4965 
   4966 fi
   4967 fi
   4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4969 $as_echo "$ac_cv_header_stdc" >&6; }
   4970 if test $ac_cv_header_stdc = yes; then
   4971 
   4972 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4973 
   4974 fi
   4975 
   4976 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4977 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4978 		  inttypes.h stdint.h unistd.h
   4979 do :
   4980   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4981 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4982 "
   4983 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4984   cat >>confdefs.h <<_ACEOF
   4985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4986 _ACEOF
   4987 
   4988 fi
   4989 
   4990 done
   4991 
   4992 
   4993 
   4994   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4995 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4996   MINIX=yes
   4997 else
   4998   MINIX=
   4999 fi
   5000 
   5001 
   5002   if test "$MINIX" = yes; then
   5003 
   5004 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   5005 
   5006 
   5007 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   5008 
   5009 
   5010 $as_echo "#define _MINIX 1" >>confdefs.h
   5011 
   5012   fi
   5013 
   5014 
   5015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   5016 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   5017 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   5018   $as_echo_n "(cached) " >&6
   5019 else
   5020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5021 /* end confdefs.h.  */
   5022 
   5023 #         define __EXTENSIONS__ 1
   5024           $ac_includes_default
   5025 int
   5026 main ()
   5027 {
   5028 
   5029   ;
   5030   return 0;
   5031 }
   5032 _ACEOF
   5033 if ac_fn_c_try_compile "$LINENO"; then :
   5034   ac_cv_safe_to_define___extensions__=yes
   5035 else
   5036   ac_cv_safe_to_define___extensions__=no
   5037 fi
   5038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5039 fi
   5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   5041 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   5042   test $ac_cv_safe_to_define___extensions__ = yes &&
   5043     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   5044 
   5045   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   5046 
   5047   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   5048 
   5049   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   5050 
   5051   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   5052 
   5053 
   5054 
   5055 case `pwd` in
   5056   *\ * | *\	*)
   5057     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5058 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5059 esac
   5060 
   5061 
   5062 
   5063 macro_version='2.2.7a'
   5064 macro_revision='1.3134'
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 ltmain="$ac_aux_dir/ltmain.sh"
   5079 
   5080 # Backslashify metacharacters that are still active within
   5081 # double-quoted strings.
   5082 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5083 
   5084 # Same as above, but do not quote variable references.
   5085 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5086 
   5087 # Sed substitution to delay expansion of an escaped shell variable in a
   5088 # double_quote_subst'ed string.
   5089 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5090 
   5091 # Sed substitution to delay expansion of an escaped single quote.
   5092 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5093 
   5094 # Sed substitution to avoid accidental globbing in evaled expressions
   5095 no_glob_subst='s/\*/\\\*/g'
   5096 
   5097 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5098 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5099 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5100 
   5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5102 $as_echo_n "checking how to print strings... " >&6; }
   5103 # Test print first, because it will be a builtin if present.
   5104 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   5105    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5106   ECHO='print -r --'
   5107 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5108   ECHO='printf %s\n'
   5109 else
   5110   # Use this function as a fallback that always works.
   5111   func_fallback_echo ()
   5112   {
   5113     eval 'cat <<_LTECHO_EOF
   5114 $1
   5115 _LTECHO_EOF'
   5116   }
   5117   ECHO='func_fallback_echo'
   5118 fi
   5119 
   5120 # func_echo_all arg...
   5121 # Invoke $ECHO with all args, space-separated.
   5122 func_echo_all ()
   5123 {
   5124     $ECHO ""
   5125 }
   5126 
   5127 case "$ECHO" in
   5128   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5129 $as_echo "printf" >&6; } ;;
   5130   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5131 $as_echo "print -r" >&6; } ;;
   5132   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5133 $as_echo "cat" >&6; } ;;
   5134 esac
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5150 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5151 if ${ac_cv_path_SED+:} false; then :
   5152   $as_echo_n "(cached) " >&6
   5153 else
   5154             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5155      for ac_i in 1 2 3 4 5 6 7; do
   5156        ac_script="$ac_script$as_nl$ac_script"
   5157      done
   5158      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5159      { ac_script=; unset ac_script;}
   5160      if test -z "$SED"; then
   5161   ac_path_SED_found=false
   5162   # Loop through the user's path and test for each of PROGNAME-LIST
   5163   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5164 for as_dir in $PATH
   5165 do
   5166   IFS=$as_save_IFS
   5167   test -z "$as_dir" && as_dir=.
   5168     for ac_prog in sed gsed; do
   5169     for ac_exec_ext in '' $ac_executable_extensions; do
   5170       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5171       as_fn_executable_p "$ac_path_SED" || continue
   5172 # Check for GNU ac_path_SED and select it if it is found.
   5173   # Check for GNU $ac_path_SED
   5174 case `"$ac_path_SED" --version 2>&1` in
   5175 *GNU*)
   5176   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5177 *)
   5178   ac_count=0
   5179   $as_echo_n 0123456789 >"conftest.in"
   5180   while :
   5181   do
   5182     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5183     mv "conftest.tmp" "conftest.in"
   5184     cp "conftest.in" "conftest.nl"
   5185     $as_echo '' >> "conftest.nl"
   5186     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5187     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5188     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5189     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5190       # Best one so far, save it but keep looking for a better one
   5191       ac_cv_path_SED="$ac_path_SED"
   5192       ac_path_SED_max=$ac_count
   5193     fi
   5194     # 10*(2^10) chars as input seems more than enough
   5195     test $ac_count -gt 10 && break
   5196   done
   5197   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5198 esac
   5199 
   5200       $ac_path_SED_found && break 3
   5201     done
   5202   done
   5203   done
   5204 IFS=$as_save_IFS
   5205   if test -z "$ac_cv_path_SED"; then
   5206     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5207   fi
   5208 else
   5209   ac_cv_path_SED=$SED
   5210 fi
   5211 
   5212 fi
   5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5214 $as_echo "$ac_cv_path_SED" >&6; }
   5215  SED="$ac_cv_path_SED"
   5216   rm -f conftest.sed
   5217 
   5218 test -z "$SED" && SED=sed
   5219 Xsed="$SED -e 1s/^X//"
   5220 
   5221 
   5222 
   5223 
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5232 $as_echo_n "checking for fgrep... " >&6; }
   5233 if ${ac_cv_path_FGREP+:} false; then :
   5234   $as_echo_n "(cached) " >&6
   5235 else
   5236   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5237    then ac_cv_path_FGREP="$GREP -F"
   5238    else
   5239      if test -z "$FGREP"; then
   5240   ac_path_FGREP_found=false
   5241   # Loop through the user's path and test for each of PROGNAME-LIST
   5242   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5243 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5244 do
   5245   IFS=$as_save_IFS
   5246   test -z "$as_dir" && as_dir=.
   5247     for ac_prog in fgrep; do
   5248     for ac_exec_ext in '' $ac_executable_extensions; do
   5249       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5250       as_fn_executable_p "$ac_path_FGREP" || continue
   5251 # Check for GNU ac_path_FGREP and select it if it is found.
   5252   # Check for GNU $ac_path_FGREP
   5253 case `"$ac_path_FGREP" --version 2>&1` in
   5254 *GNU*)
   5255   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5256 *)
   5257   ac_count=0
   5258   $as_echo_n 0123456789 >"conftest.in"
   5259   while :
   5260   do
   5261     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5262     mv "conftest.tmp" "conftest.in"
   5263     cp "conftest.in" "conftest.nl"
   5264     $as_echo 'FGREP' >> "conftest.nl"
   5265     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5266     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5267     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5268     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5269       # Best one so far, save it but keep looking for a better one
   5270       ac_cv_path_FGREP="$ac_path_FGREP"
   5271       ac_path_FGREP_max=$ac_count
   5272     fi
   5273     # 10*(2^10) chars as input seems more than enough
   5274     test $ac_count -gt 10 && break
   5275   done
   5276   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5277 esac
   5278 
   5279       $ac_path_FGREP_found && break 3
   5280     done
   5281   done
   5282   done
   5283 IFS=$as_save_IFS
   5284   if test -z "$ac_cv_path_FGREP"; then
   5285     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5286   fi
   5287 else
   5288   ac_cv_path_FGREP=$FGREP
   5289 fi
   5290 
   5291    fi
   5292 fi
   5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5294 $as_echo "$ac_cv_path_FGREP" >&6; }
   5295  FGREP="$ac_cv_path_FGREP"
   5296 
   5297 
   5298 test -z "$GREP" && GREP=grep
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 # Check whether --with-gnu-ld was given.
   5319 if test "${with_gnu_ld+set}" = set; then :
   5320   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5321 else
   5322   with_gnu_ld=no
   5323 fi
   5324 
   5325 ac_prog=ld
   5326 if test "$GCC" = yes; then
   5327   # Check if gcc -print-prog-name=ld gives a path.
   5328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5329 $as_echo_n "checking for ld used by $CC... " >&6; }
   5330   case $host in
   5331   *-*-mingw*)
   5332     # gcc leaves a trailing carriage return which upsets mingw
   5333     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5334   *)
   5335     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5336   esac
   5337   case $ac_prog in
   5338     # Accept absolute paths.
   5339     [\\/]* | ?:[\\/]*)
   5340       re_direlt='/[^/][^/]*/\.\./'
   5341       # Canonicalize the pathname of ld
   5342       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5343       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5344 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5345       done
   5346       test -z "$LD" && LD="$ac_prog"
   5347       ;;
   5348   "")
   5349     # If it fails, then pretend we aren't using GCC.
   5350     ac_prog=ld
   5351     ;;
   5352   *)
   5353     # If it is relative, then search for the first ld in PATH.
   5354     with_gnu_ld=unknown
   5355     ;;
   5356   esac
   5357 elif test "$with_gnu_ld" = yes; then
   5358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5359 $as_echo_n "checking for GNU ld... " >&6; }
   5360 else
   5361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5362 $as_echo_n "checking for non-GNU ld... " >&6; }
   5363 fi
   5364 if ${lt_cv_path_LD+:} false; then :
   5365   $as_echo_n "(cached) " >&6
   5366 else
   5367   if test -z "$LD"; then
   5368   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5369   for ac_dir in $PATH; do
   5370     IFS="$lt_save_ifs"
   5371     test -z "$ac_dir" && ac_dir=.
   5372     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5373       lt_cv_path_LD="$ac_dir/$ac_prog"
   5374       # Check to see if the program is GNU ld.  I'd rather use --version,
   5375       # but apparently some variants of GNU ld only accept -v.
   5376       # Break only if it was the GNU/non-GNU ld that we prefer.
   5377       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5378       *GNU* | *'with BFD'*)
   5379 	test "$with_gnu_ld" != no && break
   5380 	;;
   5381       *)
   5382 	test "$with_gnu_ld" != yes && break
   5383 	;;
   5384       esac
   5385     fi
   5386   done
   5387   IFS="$lt_save_ifs"
   5388 else
   5389   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5390 fi
   5391 fi
   5392 
   5393 LD="$lt_cv_path_LD"
   5394 if test -n "$LD"; then
   5395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5396 $as_echo "$LD" >&6; }
   5397 else
   5398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5399 $as_echo "no" >&6; }
   5400 fi
   5401 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5403 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5404 if ${lt_cv_prog_gnu_ld+:} false; then :
   5405   $as_echo_n "(cached) " >&6
   5406 else
   5407   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5408 case `$LD -v 2>&1 </dev/null` in
   5409 *GNU* | *'with BFD'*)
   5410   lt_cv_prog_gnu_ld=yes
   5411   ;;
   5412 *)
   5413   lt_cv_prog_gnu_ld=no
   5414   ;;
   5415 esac
   5416 fi
   5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5418 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5419 with_gnu_ld=$lt_cv_prog_gnu_ld
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 
   5427 
   5428 
   5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5430 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5431 if ${lt_cv_path_NM+:} false; then :
   5432   $as_echo_n "(cached) " >&6
   5433 else
   5434   if test -n "$NM"; then
   5435    # Let the user override the nm to test.
   5436    lt_nm_to_check="$NM"
   5437  else
   5438    lt_nm_to_check="${ac_tool_prefix}nm"
   5439    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5440      lt_nm_to_check="$lt_nm_to_check nm"
   5441    fi
   5442  fi
   5443  for lt_tmp_nm in "$lt_nm_to_check"; do
   5444    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5445    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5446      IFS="$lt_save_ifs"
   5447      test -z "$ac_dir" && ac_dir=.
   5448      # Strip out any user-provided options from the nm to test twice,
   5449      # the first time to test to see if nm (rather than its options) has
   5450      # an explicit path, the second time to yield a file which can be
   5451      # nm'ed itself.
   5452      tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
   5453      case "$tmp_nm_path" in
   5454      */*|*\\*) tmp_nm="$lt_tmp_nm";;
   5455      *) tmp_nm="$ac_dir/$lt_tmp_nm";;
   5456      esac
   5457      tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
   5458      if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
   5459        # Check to see if the nm accepts a BSD-compat flag.
   5460        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5461        #   nm: unknown option "B" ignored
   5462        case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   5463        *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
   5464 	 break
   5465 	 ;;
   5466        *)
   5467 	 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   5468 	 *$tmp_nm*)
   5469 	   lt_cv_path_NM="$tmp_nm -p"
   5470 	   break
   5471 	   ;;
   5472 	 *)
   5473 	   lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5474 	   continue # so that we can try to find one that supports BSD flags
   5475 	   ;;
   5476 	 esac
   5477 	 ;;
   5478        esac
   5479      fi
   5480    done
   5481    IFS="$lt_save_ifs"
   5482  done
   5483  : ${lt_cv_path_NM=no}
   5484 fi
   5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5486 $as_echo "$lt_cv_path_NM" >&6; }
   5487 if test "$lt_cv_path_NM" != "no"; then
   5488   NM="$lt_cv_path_NM"
   5489 else
   5490   # Didn't find any BSD compatible name lister, look for dumpbin.
   5491   if test -n "$DUMPBIN"; then :
   5492     # Let the user override the test.
   5493   else
   5494     if test -n "$ac_tool_prefix"; then
   5495   for ac_prog in dumpbin "link -dump"
   5496   do
   5497     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5498 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5500 $as_echo_n "checking for $ac_word... " >&6; }
   5501 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5502   $as_echo_n "(cached) " >&6
   5503 else
   5504   if test -n "$DUMPBIN"; then
   5505   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5506 else
   5507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5508 for as_dir in $PATH
   5509 do
   5510   IFS=$as_save_IFS
   5511   test -z "$as_dir" && as_dir=.
   5512     for ac_exec_ext in '' $ac_executable_extensions; do
   5513   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5514     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5515     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5516     break 2
   5517   fi
   5518 done
   5519   done
   5520 IFS=$as_save_IFS
   5521 
   5522 fi
   5523 fi
   5524 DUMPBIN=$ac_cv_prog_DUMPBIN
   5525 if test -n "$DUMPBIN"; then
   5526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5527 $as_echo "$DUMPBIN" >&6; }
   5528 else
   5529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5530 $as_echo "no" >&6; }
   5531 fi
   5532 
   5533 
   5534     test -n "$DUMPBIN" && break
   5535   done
   5536 fi
   5537 if test -z "$DUMPBIN"; then
   5538   ac_ct_DUMPBIN=$DUMPBIN
   5539   for ac_prog in dumpbin "link -dump"
   5540 do
   5541   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5542 set dummy $ac_prog; ac_word=$2
   5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5544 $as_echo_n "checking for $ac_word... " >&6; }
   5545 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5546   $as_echo_n "(cached) " >&6
   5547 else
   5548   if test -n "$ac_ct_DUMPBIN"; then
   5549   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5550 else
   5551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5552 for as_dir in $PATH
   5553 do
   5554   IFS=$as_save_IFS
   5555   test -z "$as_dir" && as_dir=.
   5556     for ac_exec_ext in '' $ac_executable_extensions; do
   5557   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5558     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5559     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5560     break 2
   5561   fi
   5562 done
   5563   done
   5564 IFS=$as_save_IFS
   5565 
   5566 fi
   5567 fi
   5568 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5569 if test -n "$ac_ct_DUMPBIN"; then
   5570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5571 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5572 else
   5573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5574 $as_echo "no" >&6; }
   5575 fi
   5576 
   5577 
   5578   test -n "$ac_ct_DUMPBIN" && break
   5579 done
   5580 
   5581   if test "x$ac_ct_DUMPBIN" = x; then
   5582     DUMPBIN=":"
   5583   else
   5584     case $cross_compiling:$ac_tool_warned in
   5585 yes:)
   5586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5588 ac_tool_warned=yes ;;
   5589 esac
   5590     DUMPBIN=$ac_ct_DUMPBIN
   5591   fi
   5592 fi
   5593 
   5594     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5595     *COFF*)
   5596       DUMPBIN="$DUMPBIN -symbols"
   5597       ;;
   5598     *)
   5599       DUMPBIN=:
   5600       ;;
   5601     esac
   5602   fi
   5603 
   5604   if test "$DUMPBIN" != ":"; then
   5605     NM="$DUMPBIN"
   5606   fi
   5607 fi
   5608 test -z "$NM" && NM=nm
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5616 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5617 if ${lt_cv_nm_interface+:} false; then :
   5618   $as_echo_n "(cached) " >&6
   5619 else
   5620   lt_cv_nm_interface="BSD nm"
   5621   echo "int some_variable = 0;" > conftest.$ac_ext
   5622   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5623   (eval "$ac_compile" 2>conftest.err)
   5624   cat conftest.err >&5
   5625   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5626   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5627   cat conftest.err >&5
   5628   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5629   cat conftest.out >&5
   5630   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5631     lt_cv_nm_interface="MS dumpbin"
   5632   fi
   5633   rm -f conftest*
   5634 fi
   5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5636 $as_echo "$lt_cv_nm_interface" >&6; }
   5637 
   5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5639 $as_echo_n "checking whether ln -s works... " >&6; }
   5640 LN_S=$as_ln_s
   5641 if test "$LN_S" = "ln -s"; then
   5642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5643 $as_echo "yes" >&6; }
   5644 else
   5645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5646 $as_echo "no, using $LN_S" >&6; }
   5647 fi
   5648 
   5649 # find the maximum length of command line arguments
   5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5651 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5652 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5653   $as_echo_n "(cached) " >&6
   5654 else
   5655     i=0
   5656   teststring="ABCD"
   5657 
   5658   case $build_os in
   5659   msdosdjgpp*)
   5660     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5661     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5662     # during glob expansion).  Even if it were fixed, the result of this
   5663     # check would be larger than it should be.
   5664     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5665     ;;
   5666 
   5667   gnu*)
   5668     # Under GNU Hurd, this test is not required because there is
   5669     # no limit to the length of command line arguments.
   5670     # Libtool will interpret -1 as no limit whatsoever
   5671     lt_cv_sys_max_cmd_len=-1;
   5672     ;;
   5673 
   5674   cygwin* | mingw* | cegcc*)
   5675     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5676     # about 5 minutes as the teststring grows exponentially.
   5677     # Worse, since 9x/ME are not pre-emptively multitasking,
   5678     # you end up with a "frozen" computer, even though with patience
   5679     # the test eventually succeeds (with a max line length of 256k).
   5680     # Instead, let's just punt: use the minimum linelength reported by
   5681     # all of the supported platforms: 8192 (on NT/2K/XP).
   5682     lt_cv_sys_max_cmd_len=8192;
   5683     ;;
   5684 
   5685   mint*)
   5686     # On MiNT this can take a long time and run out of memory.
   5687     lt_cv_sys_max_cmd_len=8192;
   5688     ;;
   5689 
   5690   amigaos*)
   5691     # On AmigaOS with pdksh, this test takes hours, literally.
   5692     # So we just punt and use a minimum line length of 8192.
   5693     lt_cv_sys_max_cmd_len=8192;
   5694     ;;
   5695 
   5696   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5697     # This has been around since 386BSD, at least.  Likely further.
   5698     if test -x /sbin/sysctl; then
   5699       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5700     elif test -x /usr/sbin/sysctl; then
   5701       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5702     else
   5703       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5704     fi
   5705     # And add a safety zone
   5706     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5707     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5708     ;;
   5709 
   5710   interix*)
   5711     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5712     lt_cv_sys_max_cmd_len=196608
   5713     ;;
   5714 
   5715   osf*)
   5716     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5717     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5718     # nice to cause kernel panics so lets avoid the loop below.
   5719     # First set a reasonable default.
   5720     lt_cv_sys_max_cmd_len=16384
   5721     #
   5722     if test -x /sbin/sysconfig; then
   5723       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5724         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5725       esac
   5726     fi
   5727     ;;
   5728   sco3.2v5*)
   5729     lt_cv_sys_max_cmd_len=102400
   5730     ;;
   5731   sysv5* | sco5v6* | sysv4.2uw2*)
   5732     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5733     if test -n "$kargmax"; then
   5734       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5735     else
   5736       lt_cv_sys_max_cmd_len=32768
   5737     fi
   5738     ;;
   5739   *)
   5740     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5741     if test -n "$lt_cv_sys_max_cmd_len"; then
   5742       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5743       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5744     else
   5745       # Make teststring a little bigger before we do anything with it.
   5746       # a 1K string should be a reasonable start.
   5747       for i in 1 2 3 4 5 6 7 8 ; do
   5748         teststring=$teststring$teststring
   5749       done
   5750       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5751       # If test is not a shell built-in, we'll probably end up computing a
   5752       # maximum length that is only half of the actual maximum length, but
   5753       # we can't tell.
   5754       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   5755 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5756 	      test $i != 17 # 1/2 MB should be enough
   5757       do
   5758         i=`expr $i + 1`
   5759         teststring=$teststring$teststring
   5760       done
   5761       # Only check the string length outside the loop.
   5762       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5763       teststring=
   5764       # Add a significant safety factor because C++ compilers can tack on
   5765       # massive amounts of additional arguments before passing them to the
   5766       # linker.  It appears as though 1/2 is a usable value.
   5767       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5768     fi
   5769     ;;
   5770   esac
   5771 
   5772 fi
   5773 
   5774 if test -n $lt_cv_sys_max_cmd_len ; then
   5775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5776 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5777 else
   5778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5779 $as_echo "none" >&6; }
   5780 fi
   5781 max_cmd_len=$lt_cv_sys_max_cmd_len
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 : ${CP="cp -f"}
   5789 : ${MV="mv -f"}
   5790 : ${RM="rm -f"}
   5791 
   5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5793 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5794 # Try some XSI features
   5795 xsi_shell=no
   5796 ( _lt_dummy="a/b/c"
   5797   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5798       = c,a/b,, \
   5799     && eval 'test $(( 1 + 1 )) -eq 2 \
   5800     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5801   && xsi_shell=yes
   5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5803 $as_echo "$xsi_shell" >&6; }
   5804 
   5805 
   5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5807 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5808 lt_shell_append=no
   5809 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5810     >/dev/null 2>&1 \
   5811   && lt_shell_append=yes
   5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5813 $as_echo "$lt_shell_append" >&6; }
   5814 
   5815 
   5816 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5817   lt_unset=unset
   5818 else
   5819   lt_unset=false
   5820 fi
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 # test EBCDIC or ASCII
   5827 case `echo X|tr X '\101'` in
   5828  A) # ASCII based system
   5829     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5830   lt_SP2NL='tr \040 \012'
   5831   lt_NL2SP='tr \015\012 \040\040'
   5832   ;;
   5833  *) # EBCDIC based system
   5834   lt_SP2NL='tr \100 \n'
   5835   lt_NL2SP='tr \r\n \100\100'
   5836   ;;
   5837 esac
   5838 
   5839 
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5848 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5849 if ${lt_cv_ld_reload_flag+:} false; then :
   5850   $as_echo_n "(cached) " >&6
   5851 else
   5852   lt_cv_ld_reload_flag='-r'
   5853 fi
   5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5855 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5856 reload_flag=$lt_cv_ld_reload_flag
   5857 case $reload_flag in
   5858 "" | " "*) ;;
   5859 *) reload_flag=" $reload_flag" ;;
   5860 esac
   5861 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5862 case $host_os in
   5863   darwin*)
   5864     if test "$GCC" = yes; then
   5865       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5866     else
   5867       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5868     fi
   5869     ;;
   5870 esac
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 if test -n "$ac_tool_prefix"; then
   5881   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5882 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5884 $as_echo_n "checking for $ac_word... " >&6; }
   5885 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5886   $as_echo_n "(cached) " >&6
   5887 else
   5888   if test -n "$OBJDUMP"; then
   5889   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5890 else
   5891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5892 for as_dir in $PATH
   5893 do
   5894   IFS=$as_save_IFS
   5895   test -z "$as_dir" && as_dir=.
   5896     for ac_exec_ext in '' $ac_executable_extensions; do
   5897   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5898     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5900     break 2
   5901   fi
   5902 done
   5903   done
   5904 IFS=$as_save_IFS
   5905 
   5906 fi
   5907 fi
   5908 OBJDUMP=$ac_cv_prog_OBJDUMP
   5909 if test -n "$OBJDUMP"; then
   5910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5911 $as_echo "$OBJDUMP" >&6; }
   5912 else
   5913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5914 $as_echo "no" >&6; }
   5915 fi
   5916 
   5917 
   5918 fi
   5919 if test -z "$ac_cv_prog_OBJDUMP"; then
   5920   ac_ct_OBJDUMP=$OBJDUMP
   5921   # Extract the first word of "objdump", so it can be a program name with args.
   5922 set dummy objdump; ac_word=$2
   5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5924 $as_echo_n "checking for $ac_word... " >&6; }
   5925 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5926   $as_echo_n "(cached) " >&6
   5927 else
   5928   if test -n "$ac_ct_OBJDUMP"; then
   5929   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5930 else
   5931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5932 for as_dir in $PATH
   5933 do
   5934   IFS=$as_save_IFS
   5935   test -z "$as_dir" && as_dir=.
   5936     for ac_exec_ext in '' $ac_executable_extensions; do
   5937   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5938     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5939     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5940     break 2
   5941   fi
   5942 done
   5943   done
   5944 IFS=$as_save_IFS
   5945 
   5946 fi
   5947 fi
   5948 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5949 if test -n "$ac_ct_OBJDUMP"; then
   5950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5951 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5952 else
   5953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5954 $as_echo "no" >&6; }
   5955 fi
   5956 
   5957   if test "x$ac_ct_OBJDUMP" = x; then
   5958     OBJDUMP="false"
   5959   else
   5960     case $cross_compiling:$ac_tool_warned in
   5961 yes:)
   5962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5964 ac_tool_warned=yes ;;
   5965 esac
   5966     OBJDUMP=$ac_ct_OBJDUMP
   5967   fi
   5968 else
   5969   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5970 fi
   5971 
   5972 test -z "$OBJDUMP" && OBJDUMP=objdump
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5983 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5984 if ${lt_cv_deplibs_check_method+:} false; then :
   5985   $as_echo_n "(cached) " >&6
   5986 else
   5987   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5988 lt_cv_file_magic_test_file=
   5989 lt_cv_deplibs_check_method='unknown'
   5990 # Need to set the preceding variable on all platforms that support
   5991 # interlibrary dependencies.
   5992 # 'none' -- dependencies not supported.
   5993 # `unknown' -- same as none, but documents that we really don't know.
   5994 # 'pass_all' -- all dependencies passed with no checks.
   5995 # 'test_compile' -- check by making test program.
   5996 # 'file_magic [[regex]]' -- check by looking for files in library path
   5997 # which responds to the $file_magic_cmd with a given extended regex.
   5998 # If you have `file' or equivalent on your system and you're not sure
   5999 # whether `pass_all' will *always* work, you probably want this one.
   6000 
   6001 case $host_os in
   6002 aix[4-9]*)
   6003   lt_cv_deplibs_check_method=pass_all
   6004   ;;
   6005 
   6006 beos*)
   6007   lt_cv_deplibs_check_method=pass_all
   6008   ;;
   6009 
   6010 bsdi[45]*)
   6011   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6012   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6013   lt_cv_file_magic_test_file=/shlib/libc.so
   6014   ;;
   6015 
   6016 cygwin*)
   6017   # func_win32_libid is a shell function defined in ltmain.sh
   6018   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6019   lt_cv_file_magic_cmd='func_win32_libid'
   6020   ;;
   6021 
   6022 mingw* | pw32*)
   6023   # Base MSYS/MinGW do not provide the 'file' command needed by
   6024   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6025   # unless we find 'file', for example because we are cross-compiling.
   6026   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6027   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6028     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6029     lt_cv_file_magic_cmd='func_win32_libid'
   6030   else
   6031     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6032     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6033   fi
   6034   ;;
   6035 
   6036 cegcc*)
   6037   # use the weaker test based on 'objdump'. See mingw*.
   6038   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6039   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6040   ;;
   6041 
   6042 darwin* | rhapsody*)
   6043   lt_cv_deplibs_check_method=pass_all
   6044   ;;
   6045 
   6046 freebsd* | dragonfly*)
   6047   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6048     case $host_cpu in
   6049     i*86 )
   6050       # Not sure whether the presence of OpenBSD here was a mistake.
   6051       # Let's accept both of them until this is cleared up.
   6052       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6053       lt_cv_file_magic_cmd=/usr/bin/file
   6054       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6055       ;;
   6056     esac
   6057   else
   6058     lt_cv_deplibs_check_method=pass_all
   6059   fi
   6060   ;;
   6061 
   6062 gnu*)
   6063   lt_cv_deplibs_check_method=pass_all
   6064   ;;
   6065 
   6066 haiku*)
   6067   lt_cv_deplibs_check_method=pass_all
   6068   ;;
   6069 
   6070 hpux10.20* | hpux11*)
   6071   lt_cv_file_magic_cmd=/usr/bin/file
   6072   case $host_cpu in
   6073   ia64*)
   6074     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6075     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6076     ;;
   6077   hppa*64*)
   6078     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]'
   6079     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6080     ;;
   6081   *)
   6082     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6083     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6084     ;;
   6085   esac
   6086   ;;
   6087 
   6088 interix[3-9]*)
   6089   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6090   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6091   ;;
   6092 
   6093 irix5* | irix6* | nonstopux*)
   6094   case $LD in
   6095   *-32|*"-32 ") libmagic=32-bit;;
   6096   *-n32|*"-n32 ") libmagic=N32;;
   6097   *-64|*"-64 ") libmagic=64-bit;;
   6098   *) libmagic=never-match;;
   6099   esac
   6100   lt_cv_deplibs_check_method=pass_all
   6101   ;;
   6102 
   6103 # This must be Linux ELF.
   6104 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   6105   lt_cv_deplibs_check_method=pass_all
   6106   ;;
   6107 
   6108 netbsd*)
   6109   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6110     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6111   else
   6112     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6113   fi
   6114   ;;
   6115 
   6116 newos6*)
   6117   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6118   lt_cv_file_magic_cmd=/usr/bin/file
   6119   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6120   ;;
   6121 
   6122 *nto* | *qnx*)
   6123   lt_cv_deplibs_check_method=pass_all
   6124   ;;
   6125 
   6126 openbsd*)
   6127   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6128     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6129   else
   6130     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6131   fi
   6132   ;;
   6133 
   6134 osf3* | osf4* | osf5*)
   6135   lt_cv_deplibs_check_method=pass_all
   6136   ;;
   6137 
   6138 rdos*)
   6139   lt_cv_deplibs_check_method=pass_all
   6140   ;;
   6141 
   6142 solaris*)
   6143   lt_cv_deplibs_check_method=pass_all
   6144   ;;
   6145 
   6146 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6147   lt_cv_deplibs_check_method=pass_all
   6148   ;;
   6149 
   6150 sysv4 | sysv4.3*)
   6151   case $host_vendor in
   6152   motorola)
   6153     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]'
   6154     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6155     ;;
   6156   ncr)
   6157     lt_cv_deplibs_check_method=pass_all
   6158     ;;
   6159   sequent)
   6160     lt_cv_file_magic_cmd='/bin/file'
   6161     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6162     ;;
   6163   sni)
   6164     lt_cv_file_magic_cmd='/bin/file'
   6165     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6166     lt_cv_file_magic_test_file=/lib/libc.so
   6167     ;;
   6168   siemens)
   6169     lt_cv_deplibs_check_method=pass_all
   6170     ;;
   6171   pc)
   6172     lt_cv_deplibs_check_method=pass_all
   6173     ;;
   6174   esac
   6175   ;;
   6176 
   6177 tpf*)
   6178   lt_cv_deplibs_check_method=pass_all
   6179   ;;
   6180 vxworks*)
   6181   # Assume VxWorks cross toolchains are built on Linux, possibly
   6182   # as canadian for Windows hosts.
   6183   lt_cv_deplibs_check_method=pass_all
   6184   ;;
   6185 esac
   6186 
   6187 fi
   6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6189 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6190 file_magic_cmd=$lt_cv_file_magic_cmd
   6191 deplibs_check_method=$lt_cv_deplibs_check_method
   6192 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6193 
   6194 
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 # Try CLANG_PLUGIN_FILE first since GCC_PLUGIN_OPTION may return the
   6207 # wrong plugin_option with clang.
   6208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
   6209 $as_echo_n "checking for clang... " >&6; }
   6210 if ${clang_cv_is_clang+:} false; then :
   6211   $as_echo_n "(cached) " >&6
   6212 else
   6213 
   6214     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6215 /* end confdefs.h.  */
   6216 
   6217 #ifdef __clang__
   6218   yes
   6219 #endif
   6220 
   6221 _ACEOF
   6222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6223   $EGREP "yes" >/dev/null 2>&1; then :
   6224   clang_cv_is_clang=yes
   6225 else
   6226   clang_cv_is_clang=no
   6227 fi
   6228 rm -f conftest*
   6229 
   6230 fi
   6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $clang_cv_is_clang" >&5
   6232 $as_echo "$clang_cv_is_clang" >&6; }
   6233   if test -n "$ac_tool_prefix"; then
   6234   # Extract the first word of "${ac_tool_prefix}llvm-config", so it can be a program name with args.
   6235 set dummy ${ac_tool_prefix}llvm-config; ac_word=$2
   6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6237 $as_echo_n "checking for $ac_word... " >&6; }
   6238 if ${ac_cv_prog_LLVM_CONFIG+:} false; then :
   6239   $as_echo_n "(cached) " >&6
   6240 else
   6241   if test -n "$LLVM_CONFIG"; then
   6242   ac_cv_prog_LLVM_CONFIG="$LLVM_CONFIG" # Let the user override the test.
   6243 else
   6244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6245 for as_dir in $PATH
   6246 do
   6247   IFS=$as_save_IFS
   6248   test -z "$as_dir" && as_dir=.
   6249     for ac_exec_ext in '' $ac_executable_extensions; do
   6250   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6251     ac_cv_prog_LLVM_CONFIG="${ac_tool_prefix}llvm-config"
   6252     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6253     break 2
   6254   fi
   6255 done
   6256   done
   6257 IFS=$as_save_IFS
   6258 
   6259 fi
   6260 fi
   6261 LLVM_CONFIG=$ac_cv_prog_LLVM_CONFIG
   6262 if test -n "$LLVM_CONFIG"; then
   6263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LLVM_CONFIG" >&5
   6264 $as_echo "$LLVM_CONFIG" >&6; }
   6265 else
   6266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6267 $as_echo "no" >&6; }
   6268 fi
   6269 
   6270 
   6271 fi
   6272 if test -z "$ac_cv_prog_LLVM_CONFIG"; then
   6273   ac_ct_LLVM_CONFIG=$LLVM_CONFIG
   6274   # Extract the first word of "llvm-config", so it can be a program name with args.
   6275 set dummy llvm-config; ac_word=$2
   6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6277 $as_echo_n "checking for $ac_word... " >&6; }
   6278 if ${ac_cv_prog_ac_ct_LLVM_CONFIG+:} false; then :
   6279   $as_echo_n "(cached) " >&6
   6280 else
   6281   if test -n "$ac_ct_LLVM_CONFIG"; then
   6282   ac_cv_prog_ac_ct_LLVM_CONFIG="$ac_ct_LLVM_CONFIG" # Let the user override the test.
   6283 else
   6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6285 for as_dir in $PATH
   6286 do
   6287   IFS=$as_save_IFS
   6288   test -z "$as_dir" && as_dir=.
   6289     for ac_exec_ext in '' $ac_executable_extensions; do
   6290   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6291     ac_cv_prog_ac_ct_LLVM_CONFIG="llvm-config"
   6292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6293     break 2
   6294   fi
   6295 done
   6296   done
   6297 IFS=$as_save_IFS
   6298 
   6299 fi
   6300 fi
   6301 ac_ct_LLVM_CONFIG=$ac_cv_prog_ac_ct_LLVM_CONFIG
   6302 if test -n "$ac_ct_LLVM_CONFIG"; then
   6303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LLVM_CONFIG" >&5
   6304 $as_echo "$ac_ct_LLVM_CONFIG" >&6; }
   6305 else
   6306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6307 $as_echo "no" >&6; }
   6308 fi
   6309 
   6310   if test "x$ac_ct_LLVM_CONFIG" = x; then
   6311     LLVM_CONFIG=""
   6312   else
   6313     case $cross_compiling:$ac_tool_warned in
   6314 yes:)
   6315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6317 ac_tool_warned=yes ;;
   6318 esac
   6319     LLVM_CONFIG=$ac_ct_LLVM_CONFIG
   6320   fi
   6321 else
   6322   LLVM_CONFIG="$ac_cv_prog_LLVM_CONFIG"
   6323 fi
   6324 
   6325   plugin_file=
   6326   if test $clang_cv_is_clang = yes; then
   6327     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang plugin file" >&5
   6328 $as_echo_n "checking for clang plugin file... " >&6; }
   6329     plugin_names="LLVMgold.so"
   6330     for plugin in $plugin_names; do
   6331       plugin_file=`${CC} ${CFLAGS} --print-file-name $plugin`
   6332       if test "$plugin_file" != "$plugin"; then
   6333 	break;
   6334       fi
   6335       if test -n "${LLVM_CONFIG}"; then
   6336 	plugin_file=`${LLVM_CONFIG} --libdir`/$plugin
   6337 	if test -f "$plugin_file"; then
   6338 	  break;
   6339 	fi
   6340       fi
   6341       plugin_file=
   6342     done
   6343     if test -z "$plugin_file"; then
   6344       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6345 $as_echo "no" >&6; }
   6346     else
   6347       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $plugin_file" >&5
   6348 $as_echo "$plugin_file" >&6; }
   6349             if test -n "$ac_tool_prefix"; then
   6350   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6351 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6353 $as_echo_n "checking for $ac_word... " >&6; }
   6354 if ${ac_cv_prog_AR+:} false; then :
   6355   $as_echo_n "(cached) " >&6
   6356 else
   6357   if test -n "$AR"; then
   6358   ac_cv_prog_AR="$AR" # Let the user override the test.
   6359 else
   6360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6361 for as_dir in $PATH
   6362 do
   6363   IFS=$as_save_IFS
   6364   test -z "$as_dir" && as_dir=.
   6365     for ac_exec_ext in '' $ac_executable_extensions; do
   6366   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6367     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6369     break 2
   6370   fi
   6371 done
   6372   done
   6373 IFS=$as_save_IFS
   6374 
   6375 fi
   6376 fi
   6377 AR=$ac_cv_prog_AR
   6378 if test -n "$AR"; then
   6379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6380 $as_echo "$AR" >&6; }
   6381 else
   6382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6383 $as_echo "no" >&6; }
   6384 fi
   6385 
   6386 
   6387 fi
   6388 if test -z "$ac_cv_prog_AR"; then
   6389   ac_ct_AR=$AR
   6390   # Extract the first word of "ar", so it can be a program name with args.
   6391 set dummy ar; ac_word=$2
   6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6393 $as_echo_n "checking for $ac_word... " >&6; }
   6394 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6395   $as_echo_n "(cached) " >&6
   6396 else
   6397   if test -n "$ac_ct_AR"; then
   6398   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6399 else
   6400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6401 for as_dir in $PATH
   6402 do
   6403   IFS=$as_save_IFS
   6404   test -z "$as_dir" && as_dir=.
   6405     for ac_exec_ext in '' $ac_executable_extensions; do
   6406   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6407     ac_cv_prog_ac_ct_AR="ar"
   6408     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6409     break 2
   6410   fi
   6411 done
   6412   done
   6413 IFS=$as_save_IFS
   6414 
   6415 fi
   6416 fi
   6417 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6418 if test -n "$ac_ct_AR"; then
   6419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6420 $as_echo "$ac_ct_AR" >&6; }
   6421 else
   6422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6423 $as_echo "no" >&6; }
   6424 fi
   6425 
   6426   if test "x$ac_ct_AR" = x; then
   6427     AR=""
   6428   else
   6429     case $cross_compiling:$ac_tool_warned in
   6430 yes:)
   6431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6433 ac_tool_warned=yes ;;
   6434 esac
   6435     AR=$ac_ct_AR
   6436   fi
   6437 else
   6438   AR="$ac_cv_prog_AR"
   6439 fi
   6440 
   6441       if test -z "${AR}"; then
   6442 	as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
   6443       fi
   6444       plugin_option="--plugin $plugin_file"
   6445       touch conftest.c
   6446       ${AR} $plugin_option rc conftest.a conftest.c
   6447       if test "$?" != 0; then
   6448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   6449 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   6450 	plugin_file=
   6451       fi
   6452       rm -f conftest.*
   6453     fi
   6454   fi
   6455   plugin_file="$plugin_file"
   6456 
   6457 if test -n "$plugin_file"; then
   6458   plugin_option="--plugin $plugin_file"
   6459 else
   6460   if test -n "$ac_tool_prefix"; then
   6461   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6462 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6464 $as_echo_n "checking for $ac_word... " >&6; }
   6465 if ${ac_cv_prog_AR+:} false; then :
   6466   $as_echo_n "(cached) " >&6
   6467 else
   6468   if test -n "$AR"; then
   6469   ac_cv_prog_AR="$AR" # Let the user override the test.
   6470 else
   6471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6472 for as_dir in $PATH
   6473 do
   6474   IFS=$as_save_IFS
   6475   test -z "$as_dir" && as_dir=.
   6476     for ac_exec_ext in '' $ac_executable_extensions; do
   6477   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6478     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6480     break 2
   6481   fi
   6482 done
   6483   done
   6484 IFS=$as_save_IFS
   6485 
   6486 fi
   6487 fi
   6488 AR=$ac_cv_prog_AR
   6489 if test -n "$AR"; then
   6490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6491 $as_echo "$AR" >&6; }
   6492 else
   6493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6494 $as_echo "no" >&6; }
   6495 fi
   6496 
   6497 
   6498 fi
   6499 if test -z "$ac_cv_prog_AR"; then
   6500   ac_ct_AR=$AR
   6501   # Extract the first word of "ar", so it can be a program name with args.
   6502 set dummy ar; ac_word=$2
   6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6504 $as_echo_n "checking for $ac_word... " >&6; }
   6505 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6506   $as_echo_n "(cached) " >&6
   6507 else
   6508   if test -n "$ac_ct_AR"; then
   6509   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6510 else
   6511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6512 for as_dir in $PATH
   6513 do
   6514   IFS=$as_save_IFS
   6515   test -z "$as_dir" && as_dir=.
   6516     for ac_exec_ext in '' $ac_executable_extensions; do
   6517   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6518     ac_cv_prog_ac_ct_AR="ar"
   6519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6520     break 2
   6521   fi
   6522 done
   6523   done
   6524 IFS=$as_save_IFS
   6525 
   6526 fi
   6527 fi
   6528 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6529 if test -n "$ac_ct_AR"; then
   6530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6531 $as_echo "$ac_ct_AR" >&6; }
   6532 else
   6533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6534 $as_echo "no" >&6; }
   6535 fi
   6536 
   6537   if test "x$ac_ct_AR" = x; then
   6538     AR=""
   6539   else
   6540     case $cross_compiling:$ac_tool_warned in
   6541 yes:)
   6542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6544 ac_tool_warned=yes ;;
   6545 esac
   6546     AR=$ac_ct_AR
   6547   fi
   6548 else
   6549   AR="$ac_cv_prog_AR"
   6550 fi
   6551 
   6552 if test -z "${AR}"; then
   6553   as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
   6554 fi
   6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -plugin option" >&5
   6556 $as_echo_n "checking for -plugin option... " >&6; }
   6557 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
   6558 plugin_option=
   6559 for plugin in $plugin_names; do
   6560   plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
   6561   if test x$plugin_so = x$plugin; then
   6562     plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
   6563   fi
   6564   if test x$plugin_so != x$plugin; then
   6565     plugin_option="--plugin $plugin_so"
   6566     break
   6567   fi
   6568 done
   6569 if test -z "$plugin_option"; then
   6570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6571 $as_echo "no" >&6; }
   6572 else
   6573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $plugin_option" >&5
   6574 $as_echo "$plugin_option" >&6; }
   6575     touch conftest.c
   6576   ${AR} $plugin_option rc conftest.a conftest.c
   6577   if test "$?" != 0; then
   6578     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   6579 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   6580     plugin_option=
   6581   fi
   6582   rm -f conftest.*
   6583 fi
   6584 plugin_option="$plugin_option"
   6585 
   6586 fi
   6587 if test -n "$ac_tool_prefix"; then
   6588   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6589 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6591 $as_echo_n "checking for $ac_word... " >&6; }
   6592 if ${ac_cv_prog_AR+:} false; then :
   6593   $as_echo_n "(cached) " >&6
   6594 else
   6595   if test -n "$AR"; then
   6596   ac_cv_prog_AR="$AR" # Let the user override the test.
   6597 else
   6598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6599 for as_dir in $PATH
   6600 do
   6601   IFS=$as_save_IFS
   6602   test -z "$as_dir" && as_dir=.
   6603     for ac_exec_ext in '' $ac_executable_extensions; do
   6604   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6605     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6606     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6607     break 2
   6608   fi
   6609 done
   6610   done
   6611 IFS=$as_save_IFS
   6612 
   6613 fi
   6614 fi
   6615 AR=$ac_cv_prog_AR
   6616 if test -n "$AR"; then
   6617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6618 $as_echo "$AR" >&6; }
   6619 else
   6620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6621 $as_echo "no" >&6; }
   6622 fi
   6623 
   6624 
   6625 fi
   6626 if test -z "$ac_cv_prog_AR"; then
   6627   ac_ct_AR=$AR
   6628   # Extract the first word of "ar", so it can be a program name with args.
   6629 set dummy ar; ac_word=$2
   6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6631 $as_echo_n "checking for $ac_word... " >&6; }
   6632 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6633   $as_echo_n "(cached) " >&6
   6634 else
   6635   if test -n "$ac_ct_AR"; then
   6636   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6637 else
   6638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6639 for as_dir in $PATH
   6640 do
   6641   IFS=$as_save_IFS
   6642   test -z "$as_dir" && as_dir=.
   6643     for ac_exec_ext in '' $ac_executable_extensions; do
   6644   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6645     ac_cv_prog_ac_ct_AR="ar"
   6646     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6647     break 2
   6648   fi
   6649 done
   6650   done
   6651 IFS=$as_save_IFS
   6652 
   6653 fi
   6654 fi
   6655 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6656 if test -n "$ac_ct_AR"; then
   6657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6658 $as_echo "$ac_ct_AR" >&6; }
   6659 else
   6660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6661 $as_echo "no" >&6; }
   6662 fi
   6663 
   6664   if test "x$ac_ct_AR" = x; then
   6665     AR="false"
   6666   else
   6667     case $cross_compiling:$ac_tool_warned in
   6668 yes:)
   6669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6671 ac_tool_warned=yes ;;
   6672 esac
   6673     AR=$ac_ct_AR
   6674   fi
   6675 else
   6676   AR="$ac_cv_prog_AR"
   6677 fi
   6678 
   6679 test -z "$AR" && AR=ar
   6680 if test -n "$plugin_option"; then
   6681   case "$AR" in
   6682   *"$plugin_option"*)
   6683     ;;
   6684   *)
   6685     if $AR --help 2>&1 | grep -q "\--plugin"; then
   6686       AR="$AR $plugin_option"
   6687     fi
   6688     ;;
   6689   esac
   6690 fi
   6691 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6692 
   6693 
   6694 
   6695 
   6696 
   6697 
   6698 
   6699 
   6700 
   6701 
   6702 
   6703 if test -n "$ac_tool_prefix"; then
   6704   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6705 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6707 $as_echo_n "checking for $ac_word... " >&6; }
   6708 if ${ac_cv_prog_STRIP+:} false; then :
   6709   $as_echo_n "(cached) " >&6
   6710 else
   6711   if test -n "$STRIP"; then
   6712   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6713 else
   6714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6715 for as_dir in $PATH
   6716 do
   6717   IFS=$as_save_IFS
   6718   test -z "$as_dir" && as_dir=.
   6719     for ac_exec_ext in '' $ac_executable_extensions; do
   6720   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6721     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6722     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6723     break 2
   6724   fi
   6725 done
   6726   done
   6727 IFS=$as_save_IFS
   6728 
   6729 fi
   6730 fi
   6731 STRIP=$ac_cv_prog_STRIP
   6732 if test -n "$STRIP"; then
   6733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6734 $as_echo "$STRIP" >&6; }
   6735 else
   6736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6737 $as_echo "no" >&6; }
   6738 fi
   6739 
   6740 
   6741 fi
   6742 if test -z "$ac_cv_prog_STRIP"; then
   6743   ac_ct_STRIP=$STRIP
   6744   # Extract the first word of "strip", so it can be a program name with args.
   6745 set dummy strip; ac_word=$2
   6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6747 $as_echo_n "checking for $ac_word... " >&6; }
   6748 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6749   $as_echo_n "(cached) " >&6
   6750 else
   6751   if test -n "$ac_ct_STRIP"; then
   6752   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6753 else
   6754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6755 for as_dir in $PATH
   6756 do
   6757   IFS=$as_save_IFS
   6758   test -z "$as_dir" && as_dir=.
   6759     for ac_exec_ext in '' $ac_executable_extensions; do
   6760   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6761     ac_cv_prog_ac_ct_STRIP="strip"
   6762     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6763     break 2
   6764   fi
   6765 done
   6766   done
   6767 IFS=$as_save_IFS
   6768 
   6769 fi
   6770 fi
   6771 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6772 if test -n "$ac_ct_STRIP"; then
   6773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6774 $as_echo "$ac_ct_STRIP" >&6; }
   6775 else
   6776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6777 $as_echo "no" >&6; }
   6778 fi
   6779 
   6780   if test "x$ac_ct_STRIP" = x; then
   6781     STRIP=":"
   6782   else
   6783     case $cross_compiling:$ac_tool_warned in
   6784 yes:)
   6785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6787 ac_tool_warned=yes ;;
   6788 esac
   6789     STRIP=$ac_ct_STRIP
   6790   fi
   6791 else
   6792   STRIP="$ac_cv_prog_STRIP"
   6793 fi
   6794 
   6795 test -z "$STRIP" && STRIP=:
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 if test -n "$ac_tool_prefix"; then
   6803   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6804 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6806 $as_echo_n "checking for $ac_word... " >&6; }
   6807 if ${ac_cv_prog_RANLIB+:} false; then :
   6808   $as_echo_n "(cached) " >&6
   6809 else
   6810   if test -n "$RANLIB"; then
   6811   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6812 else
   6813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6814 for as_dir in $PATH
   6815 do
   6816   IFS=$as_save_IFS
   6817   test -z "$as_dir" && as_dir=.
   6818     for ac_exec_ext in '' $ac_executable_extensions; do
   6819   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6820     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6821     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6822     break 2
   6823   fi
   6824 done
   6825   done
   6826 IFS=$as_save_IFS
   6827 
   6828 fi
   6829 fi
   6830 RANLIB=$ac_cv_prog_RANLIB
   6831 if test -n "$RANLIB"; then
   6832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6833 $as_echo "$RANLIB" >&6; }
   6834 else
   6835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6836 $as_echo "no" >&6; }
   6837 fi
   6838 
   6839 
   6840 fi
   6841 if test -z "$ac_cv_prog_RANLIB"; then
   6842   ac_ct_RANLIB=$RANLIB
   6843   # Extract the first word of "ranlib", so it can be a program name with args.
   6844 set dummy ranlib; ac_word=$2
   6845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6846 $as_echo_n "checking for $ac_word... " >&6; }
   6847 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6848   $as_echo_n "(cached) " >&6
   6849 else
   6850   if test -n "$ac_ct_RANLIB"; then
   6851   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6852 else
   6853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6854 for as_dir in $PATH
   6855 do
   6856   IFS=$as_save_IFS
   6857   test -z "$as_dir" && as_dir=.
   6858     for ac_exec_ext in '' $ac_executable_extensions; do
   6859   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6860     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6861     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6862     break 2
   6863   fi
   6864 done
   6865   done
   6866 IFS=$as_save_IFS
   6867 
   6868 fi
   6869 fi
   6870 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6871 if test -n "$ac_ct_RANLIB"; then
   6872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6873 $as_echo "$ac_ct_RANLIB" >&6; }
   6874 else
   6875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6876 $as_echo "no" >&6; }
   6877 fi
   6878 
   6879   if test "x$ac_ct_RANLIB" = x; then
   6880     RANLIB=":"
   6881   else
   6882     case $cross_compiling:$ac_tool_warned in
   6883 yes:)
   6884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6886 ac_tool_warned=yes ;;
   6887 esac
   6888     RANLIB=$ac_ct_RANLIB
   6889   fi
   6890 else
   6891   RANLIB="$ac_cv_prog_RANLIB"
   6892 fi
   6893 
   6894 test -z "$RANLIB" && RANLIB=:
   6895 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
   6896   case "$RANLIB" in
   6897   *"$plugin_option"*)
   6898     ;;
   6899   *)
   6900     if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
   6901       RANLIB="$RANLIB $plugin_option"
   6902     fi
   6903     ;;
   6904   esac
   6905 fi
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 # Determine commands to create old-style static archives.
   6913 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6914 old_postinstall_cmds='chmod 644 $oldlib'
   6915 old_postuninstall_cmds=
   6916 
   6917 if test -n "$RANLIB"; then
   6918   case $host_os in
   6919   openbsd*)
   6920     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6921     ;;
   6922   *)
   6923     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6924     ;;
   6925   esac
   6926   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6927 fi
   6928 
   6929 case $host_os in
   6930   darwin*)
   6931     lock_old_archive_extraction=yes ;;
   6932   *)
   6933     lock_old_archive_extraction=no ;;
   6934 esac
   6935 
   6936 
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 
   6944 
   6945 
   6946 
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 
   6957 
   6958 
   6959 
   6960 
   6961 
   6962 
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 # If no C compiler was specified, use CC.
   6975 LTCC=${LTCC-"$CC"}
   6976 
   6977 # If no C compiler flags were specified, use CFLAGS.
   6978 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6979 
   6980 # Allow CC to be a program name with arguments.
   6981 compiler=$CC
   6982 
   6983 
   6984 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6986 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6987 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6988   $as_echo_n "(cached) " >&6
   6989 else
   6990 
   6991 # These are sane defaults that work on at least a few old systems.
   6992 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6993 
   6994 # Character class describing NM global symbol codes.
   6995 symcode='[BCDEGRST]'
   6996 
   6997 # Regexp to match symbols that can be accessed directly from C.
   6998 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6999 
   7000 # Define system-specific variables.
   7001 case $host_os in
   7002 aix*)
   7003   symcode='[BCDT]'
   7004   ;;
   7005 cygwin* | mingw* | pw32* | cegcc*)
   7006   symcode='[ABCDGISTW]'
   7007   ;;
   7008 hpux*)
   7009   if test "$host_cpu" = ia64; then
   7010     symcode='[ABCDEGRST]'
   7011   fi
   7012   ;;
   7013 irix* | nonstopux*)
   7014   symcode='[BCDEGRST]'
   7015   ;;
   7016 osf*)
   7017   symcode='[BCDEGQRST]'
   7018   ;;
   7019 solaris*)
   7020   symcode='[BCDRT]'
   7021   ;;
   7022 sco3.2v5*)
   7023   symcode='[DT]'
   7024   ;;
   7025 sysv4.2uw2*)
   7026   symcode='[DT]'
   7027   ;;
   7028 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7029   symcode='[ABDT]'
   7030   ;;
   7031 sysv4)
   7032   symcode='[DFNSTU]'
   7033   ;;
   7034 esac
   7035 
   7036 # If we're using GNU nm, then use its standard symbol codes.
   7037 case `$NM -V 2>&1` in
   7038 *GNU* | *'with BFD'*)
   7039   symcode='[ABCDGIRSTW]' ;;
   7040 esac
   7041 
   7042 # Transform an extracted symbol line into a proper C declaration.
   7043 # Some systems (esp. on ia64) link data and code symbols differently,
   7044 # so use this general approach.
   7045 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7046 
   7047 # Transform an extracted symbol line into symbol name and symbol address
   7048 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7049 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'"
   7050 
   7051 # Handle CRLF in mingw tool chain
   7052 opt_cr=
   7053 case $build_os in
   7054 mingw*)
   7055   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7056   ;;
   7057 esac
   7058 
   7059 # Try without a prefix underscore, then with it.
   7060 for ac_symprfx in "" "_"; do
   7061 
   7062   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7063   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7064 
   7065   # Write the raw and C identifiers.
   7066   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7067     # Fake it for dumpbin and say T for any non-static function
   7068     # and D for any global variable.
   7069     # Also find C++ and __fastcall symbols from MSVC++,
   7070     # which start with @ or ?.
   7071     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7072 "     {last_section=section; section=\$ 3};"\
   7073 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7074 "     \$ 0!~/External *\|/{next};"\
   7075 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7076 "     {if(hide[section]) next};"\
   7077 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7078 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7079 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7080 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7081 "     ' prfx=^$ac_symprfx"
   7082   else
   7083     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7084   fi
   7085 
   7086   # Check to see that the pipe works correctly.
   7087   pipe_works=no
   7088 
   7089   rm -f conftest*
   7090   cat > conftest.$ac_ext <<_LT_EOF
   7091 #ifdef __cplusplus
   7092 extern "C" {
   7093 #endif
   7094 char nm_test_var;
   7095 void nm_test_func(void);
   7096 void nm_test_func(void){}
   7097 #ifdef __cplusplus
   7098 }
   7099 #endif
   7100 int main(){nm_test_var='a';nm_test_func();return(0);}
   7101 _LT_EOF
   7102 
   7103   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7104   (eval $ac_compile) 2>&5
   7105   ac_status=$?
   7106   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7107   test $ac_status = 0; }; then
   7108     # Now try to grab the symbols.
   7109     nlist=conftest.nm
   7110     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7111   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7112   ac_status=$?
   7113   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7114   test $ac_status = 0; } && test -s "$nlist"; then
   7115       # Try sorting and uniquifying the output.
   7116       if sort "$nlist" | uniq > "$nlist"T; then
   7117 	mv -f "$nlist"T "$nlist"
   7118       else
   7119 	rm -f "$nlist"T
   7120       fi
   7121 
   7122       # Make sure that we snagged all the symbols we need.
   7123       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7124 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7125 	  cat <<_LT_EOF > conftest.$ac_ext
   7126 #ifdef __cplusplus
   7127 extern "C" {
   7128 #endif
   7129 
   7130 _LT_EOF
   7131 	  # Now generate the symbol file.
   7132 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7133 
   7134 	  cat <<_LT_EOF >> conftest.$ac_ext
   7135 
   7136 /* The mapping between symbol names and symbols.  */
   7137 const struct {
   7138   const char *name;
   7139   void       *address;
   7140 }
   7141 lt__PROGRAM__LTX_preloaded_symbols[] =
   7142 {
   7143   { "@PROGRAM@", (void *) 0 },
   7144 _LT_EOF
   7145 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7146 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7147   {0, (void *) 0}
   7148 };
   7149 
   7150 /* This works around a problem in FreeBSD linker */
   7151 #ifdef FREEBSD_WORKAROUND
   7152 static const void *lt_preloaded_setup() {
   7153   return lt__PROGRAM__LTX_preloaded_symbols;
   7154 }
   7155 #endif
   7156 
   7157 #ifdef __cplusplus
   7158 }
   7159 #endif
   7160 _LT_EOF
   7161 	  # Now try linking the two files.
   7162 	  mv conftest.$ac_objext conftstm.$ac_objext
   7163 	  lt_save_LIBS="$LIBS"
   7164 	  lt_save_CFLAGS="$CFLAGS"
   7165 	  LIBS="conftstm.$ac_objext"
   7166 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7167 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7168   (eval $ac_link) 2>&5
   7169   ac_status=$?
   7170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7171   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7172 	    pipe_works=yes
   7173 	  fi
   7174 	  LIBS="$lt_save_LIBS"
   7175 	  CFLAGS="$lt_save_CFLAGS"
   7176 	else
   7177 	  echo "cannot find nm_test_func in $nlist" >&5
   7178 	fi
   7179       else
   7180 	echo "cannot find nm_test_var in $nlist" >&5
   7181       fi
   7182     else
   7183       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7184     fi
   7185   else
   7186     echo "$progname: failed program was:" >&5
   7187     cat conftest.$ac_ext >&5
   7188   fi
   7189   rm -rf conftest* conftst*
   7190 
   7191   # Do not use the global_symbol_pipe unless it works.
   7192   if test "$pipe_works" = yes; then
   7193     break
   7194   else
   7195     lt_cv_sys_global_symbol_pipe=
   7196   fi
   7197 done
   7198 
   7199 fi
   7200 
   7201 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7202   lt_cv_sys_global_symbol_to_cdecl=
   7203 fi
   7204 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7206 $as_echo "failed" >&6; }
   7207 else
   7208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7209 $as_echo "ok" >&6; }
   7210 fi
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 
   7230 
   7231 
   7232 
   7233 # Check whether --enable-libtool-lock was given.
   7234 if test "${enable_libtool_lock+set}" = set; then :
   7235   enableval=$enable_libtool_lock;
   7236 fi
   7237 
   7238 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7239 
   7240 # Some flags need to be propagated to the compiler or linker for good
   7241 # libtool support.
   7242 case $host in
   7243 ia64-*-hpux*)
   7244   # Find out which ABI we are using.
   7245   echo 'int i;' > conftest.$ac_ext
   7246   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7247   (eval $ac_compile) 2>&5
   7248   ac_status=$?
   7249   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7250   test $ac_status = 0; }; then
   7251     case `/usr/bin/file conftest.$ac_objext` in
   7252       *ELF-32*)
   7253 	HPUX_IA64_MODE="32"
   7254 	;;
   7255       *ELF-64*)
   7256 	HPUX_IA64_MODE="64"
   7257 	;;
   7258     esac
   7259   fi
   7260   rm -rf conftest*
   7261   ;;
   7262 *-*-irix6*)
   7263   # Find out which ABI we are using.
   7264   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7265   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7266   (eval $ac_compile) 2>&5
   7267   ac_status=$?
   7268   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7269   test $ac_status = 0; }; then
   7270     if test "$lt_cv_prog_gnu_ld" = yes; then
   7271       case `/usr/bin/file conftest.$ac_objext` in
   7272 	*32-bit*)
   7273 	  LD="${LD-ld} -melf32bsmip"
   7274 	  ;;
   7275 	*N32*)
   7276 	  LD="${LD-ld} -melf32bmipn32"
   7277 	  ;;
   7278 	*64-bit*)
   7279 	  LD="${LD-ld} -melf64bmip"
   7280 	;;
   7281       esac
   7282     else
   7283       case `/usr/bin/file conftest.$ac_objext` in
   7284 	*32-bit*)
   7285 	  LD="${LD-ld} -32"
   7286 	  ;;
   7287 	*N32*)
   7288 	  LD="${LD-ld} -n32"
   7289 	  ;;
   7290 	*64-bit*)
   7291 	  LD="${LD-ld} -64"
   7292 	  ;;
   7293       esac
   7294     fi
   7295   fi
   7296   rm -rf conftest*
   7297   ;;
   7298 
   7299 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7300 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7301   # Find out which ABI we are using.
   7302   echo 'int i;' > conftest.$ac_ext
   7303   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7304   (eval $ac_compile) 2>&5
   7305   ac_status=$?
   7306   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7307   test $ac_status = 0; }; then
   7308     case `/usr/bin/file conftest.o` in
   7309       *32-bit*)
   7310 	case $host in
   7311 	  x86_64-*kfreebsd*-gnu)
   7312 	    LD="${LD-ld} -m elf_i386_fbsd"
   7313 	    ;;
   7314 	  x86_64-*linux*)
   7315 	    case `/usr/bin/file conftest.o` in
   7316 	      *x86-64*)
   7317 		LD="${LD-ld} -m elf32_x86_64"
   7318 		;;
   7319 	      *)
   7320 		LD="${LD-ld} -m elf_i386"
   7321 		;;
   7322 	    esac
   7323 	    ;;
   7324 	  powerpc64le-*linux*)
   7325 	    LD="${LD-ld} -m elf32lppclinux"
   7326 	    ;;
   7327 	  powerpc64-*linux*)
   7328 	    LD="${LD-ld} -m elf32ppclinux"
   7329 	    ;;
   7330 	  s390x-*linux*)
   7331 	    LD="${LD-ld} -m elf_s390"
   7332 	    ;;
   7333 	  sparc64-*linux*)
   7334 	    LD="${LD-ld} -m elf32_sparc"
   7335 	    ;;
   7336 	esac
   7337 	;;
   7338       *64-bit*)
   7339 	case $host in
   7340 	  x86_64-*kfreebsd*-gnu)
   7341 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7342 	    ;;
   7343 	  x86_64-*linux*)
   7344 	    LD="${LD-ld} -m elf_x86_64"
   7345 	    ;;
   7346 	  powerpcle-*linux*)
   7347 	    LD="${LD-ld} -m elf64lppc"
   7348 	    ;;
   7349 	  powerpc-*linux*)
   7350 	    LD="${LD-ld} -m elf64ppc"
   7351 	    ;;
   7352 	  s390*-*linux*|s390*-*tpf*)
   7353 	    LD="${LD-ld} -m elf64_s390"
   7354 	    ;;
   7355 	  sparc*-*linux*)
   7356 	    LD="${LD-ld} -m elf64_sparc"
   7357 	    ;;
   7358 	esac
   7359 	;;
   7360     esac
   7361   fi
   7362   rm -rf conftest*
   7363   ;;
   7364 
   7365 *-*-sco3.2v5*)
   7366   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7367   SAVE_CFLAGS="$CFLAGS"
   7368   CFLAGS="$CFLAGS -belf"
   7369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7370 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7371 if ${lt_cv_cc_needs_belf+:} false; then :
   7372   $as_echo_n "(cached) " >&6
   7373 else
   7374   ac_ext=c
   7375 ac_cpp='$CPP $CPPFLAGS'
   7376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7379 
   7380      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7381 /* end confdefs.h.  */
   7382 
   7383 int
   7384 main ()
   7385 {
   7386 
   7387   ;
   7388   return 0;
   7389 }
   7390 _ACEOF
   7391 if ac_fn_c_try_link "$LINENO"; then :
   7392   lt_cv_cc_needs_belf=yes
   7393 else
   7394   lt_cv_cc_needs_belf=no
   7395 fi
   7396 rm -f core conftest.err conftest.$ac_objext \
   7397     conftest$ac_exeext conftest.$ac_ext
   7398      ac_ext=c
   7399 ac_cpp='$CPP $CPPFLAGS'
   7400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7403 
   7404 fi
   7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7406 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7407   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7408     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7409     CFLAGS="$SAVE_CFLAGS"
   7410   fi
   7411   ;;
   7412 sparc*-*solaris*)
   7413   # Find out which ABI we are using.
   7414   echo 'int i;' > conftest.$ac_ext
   7415   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7416   (eval $ac_compile) 2>&5
   7417   ac_status=$?
   7418   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7419   test $ac_status = 0; }; then
   7420     case `/usr/bin/file conftest.o` in
   7421     *64-bit*)
   7422       case $lt_cv_prog_gnu_ld in
   7423       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7424       *)
   7425 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7426 	  LD="${LD-ld} -64"
   7427 	fi
   7428 	;;
   7429       esac
   7430       ;;
   7431     esac
   7432   fi
   7433   rm -rf conftest*
   7434   ;;
   7435 esac
   7436 
   7437 need_locks="$enable_libtool_lock"
   7438 
   7439 
   7440   case $host_os in
   7441     rhapsody* | darwin*)
   7442     if test -n "$ac_tool_prefix"; then
   7443   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7444 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7446 $as_echo_n "checking for $ac_word... " >&6; }
   7447 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7448   $as_echo_n "(cached) " >&6
   7449 else
   7450   if test -n "$DSYMUTIL"; then
   7451   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7452 else
   7453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7454 for as_dir in $PATH
   7455 do
   7456   IFS=$as_save_IFS
   7457   test -z "$as_dir" && as_dir=.
   7458     for ac_exec_ext in '' $ac_executable_extensions; do
   7459   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7460     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7461     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7462     break 2
   7463   fi
   7464 done
   7465   done
   7466 IFS=$as_save_IFS
   7467 
   7468 fi
   7469 fi
   7470 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7471 if test -n "$DSYMUTIL"; then
   7472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7473 $as_echo "$DSYMUTIL" >&6; }
   7474 else
   7475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7476 $as_echo "no" >&6; }
   7477 fi
   7478 
   7479 
   7480 fi
   7481 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7482   ac_ct_DSYMUTIL=$DSYMUTIL
   7483   # Extract the first word of "dsymutil", so it can be a program name with args.
   7484 set dummy dsymutil; ac_word=$2
   7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7486 $as_echo_n "checking for $ac_word... " >&6; }
   7487 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7488   $as_echo_n "(cached) " >&6
   7489 else
   7490   if test -n "$ac_ct_DSYMUTIL"; then
   7491   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7492 else
   7493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7494 for as_dir in $PATH
   7495 do
   7496   IFS=$as_save_IFS
   7497   test -z "$as_dir" && as_dir=.
   7498     for ac_exec_ext in '' $ac_executable_extensions; do
   7499   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7500     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7501     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7502     break 2
   7503   fi
   7504 done
   7505   done
   7506 IFS=$as_save_IFS
   7507 
   7508 fi
   7509 fi
   7510 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7511 if test -n "$ac_ct_DSYMUTIL"; then
   7512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7513 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7514 else
   7515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7516 $as_echo "no" >&6; }
   7517 fi
   7518 
   7519   if test "x$ac_ct_DSYMUTIL" = x; then
   7520     DSYMUTIL=":"
   7521   else
   7522     case $cross_compiling:$ac_tool_warned in
   7523 yes:)
   7524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7526 ac_tool_warned=yes ;;
   7527 esac
   7528     DSYMUTIL=$ac_ct_DSYMUTIL
   7529   fi
   7530 else
   7531   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7532 fi
   7533 
   7534     if test -n "$ac_tool_prefix"; then
   7535   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7536 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7538 $as_echo_n "checking for $ac_word... " >&6; }
   7539 if ${ac_cv_prog_NMEDIT+:} false; then :
   7540   $as_echo_n "(cached) " >&6
   7541 else
   7542   if test -n "$NMEDIT"; then
   7543   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7544 else
   7545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7546 for as_dir in $PATH
   7547 do
   7548   IFS=$as_save_IFS
   7549   test -z "$as_dir" && as_dir=.
   7550     for ac_exec_ext in '' $ac_executable_extensions; do
   7551   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7552     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7553     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7554     break 2
   7555   fi
   7556 done
   7557   done
   7558 IFS=$as_save_IFS
   7559 
   7560 fi
   7561 fi
   7562 NMEDIT=$ac_cv_prog_NMEDIT
   7563 if test -n "$NMEDIT"; then
   7564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7565 $as_echo "$NMEDIT" >&6; }
   7566 else
   7567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7568 $as_echo "no" >&6; }
   7569 fi
   7570 
   7571 
   7572 fi
   7573 if test -z "$ac_cv_prog_NMEDIT"; then
   7574   ac_ct_NMEDIT=$NMEDIT
   7575   # Extract the first word of "nmedit", so it can be a program name with args.
   7576 set dummy nmedit; ac_word=$2
   7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7578 $as_echo_n "checking for $ac_word... " >&6; }
   7579 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7580   $as_echo_n "(cached) " >&6
   7581 else
   7582   if test -n "$ac_ct_NMEDIT"; then
   7583   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7584 else
   7585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7586 for as_dir in $PATH
   7587 do
   7588   IFS=$as_save_IFS
   7589   test -z "$as_dir" && as_dir=.
   7590     for ac_exec_ext in '' $ac_executable_extensions; do
   7591   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7592     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7594     break 2
   7595   fi
   7596 done
   7597   done
   7598 IFS=$as_save_IFS
   7599 
   7600 fi
   7601 fi
   7602 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7603 if test -n "$ac_ct_NMEDIT"; then
   7604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7605 $as_echo "$ac_ct_NMEDIT" >&6; }
   7606 else
   7607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7608 $as_echo "no" >&6; }
   7609 fi
   7610 
   7611   if test "x$ac_ct_NMEDIT" = x; then
   7612     NMEDIT=":"
   7613   else
   7614     case $cross_compiling:$ac_tool_warned in
   7615 yes:)
   7616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7618 ac_tool_warned=yes ;;
   7619 esac
   7620     NMEDIT=$ac_ct_NMEDIT
   7621   fi
   7622 else
   7623   NMEDIT="$ac_cv_prog_NMEDIT"
   7624 fi
   7625 
   7626     if test -n "$ac_tool_prefix"; then
   7627   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7628 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7630 $as_echo_n "checking for $ac_word... " >&6; }
   7631 if ${ac_cv_prog_LIPO+:} false; then :
   7632   $as_echo_n "(cached) " >&6
   7633 else
   7634   if test -n "$LIPO"; then
   7635   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7636 else
   7637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7638 for as_dir in $PATH
   7639 do
   7640   IFS=$as_save_IFS
   7641   test -z "$as_dir" && as_dir=.
   7642     for ac_exec_ext in '' $ac_executable_extensions; do
   7643   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7644     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7645     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7646     break 2
   7647   fi
   7648 done
   7649   done
   7650 IFS=$as_save_IFS
   7651 
   7652 fi
   7653 fi
   7654 LIPO=$ac_cv_prog_LIPO
   7655 if test -n "$LIPO"; then
   7656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7657 $as_echo "$LIPO" >&6; }
   7658 else
   7659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7660 $as_echo "no" >&6; }
   7661 fi
   7662 
   7663 
   7664 fi
   7665 if test -z "$ac_cv_prog_LIPO"; then
   7666   ac_ct_LIPO=$LIPO
   7667   # Extract the first word of "lipo", so it can be a program name with args.
   7668 set dummy lipo; ac_word=$2
   7669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7670 $as_echo_n "checking for $ac_word... " >&6; }
   7671 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7672   $as_echo_n "(cached) " >&6
   7673 else
   7674   if test -n "$ac_ct_LIPO"; then
   7675   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7676 else
   7677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7678 for as_dir in $PATH
   7679 do
   7680   IFS=$as_save_IFS
   7681   test -z "$as_dir" && as_dir=.
   7682     for ac_exec_ext in '' $ac_executable_extensions; do
   7683   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7684     ac_cv_prog_ac_ct_LIPO="lipo"
   7685     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7686     break 2
   7687   fi
   7688 done
   7689   done
   7690 IFS=$as_save_IFS
   7691 
   7692 fi
   7693 fi
   7694 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7695 if test -n "$ac_ct_LIPO"; then
   7696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7697 $as_echo "$ac_ct_LIPO" >&6; }
   7698 else
   7699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7700 $as_echo "no" >&6; }
   7701 fi
   7702 
   7703   if test "x$ac_ct_LIPO" = x; then
   7704     LIPO=":"
   7705   else
   7706     case $cross_compiling:$ac_tool_warned in
   7707 yes:)
   7708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7710 ac_tool_warned=yes ;;
   7711 esac
   7712     LIPO=$ac_ct_LIPO
   7713   fi
   7714 else
   7715   LIPO="$ac_cv_prog_LIPO"
   7716 fi
   7717 
   7718     if test -n "$ac_tool_prefix"; then
   7719   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7720 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7722 $as_echo_n "checking for $ac_word... " >&6; }
   7723 if ${ac_cv_prog_OTOOL+:} false; then :
   7724   $as_echo_n "(cached) " >&6
   7725 else
   7726   if test -n "$OTOOL"; then
   7727   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7728 else
   7729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7730 for as_dir in $PATH
   7731 do
   7732   IFS=$as_save_IFS
   7733   test -z "$as_dir" && as_dir=.
   7734     for ac_exec_ext in '' $ac_executable_extensions; do
   7735   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7736     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7737     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7738     break 2
   7739   fi
   7740 done
   7741   done
   7742 IFS=$as_save_IFS
   7743 
   7744 fi
   7745 fi
   7746 OTOOL=$ac_cv_prog_OTOOL
   7747 if test -n "$OTOOL"; then
   7748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7749 $as_echo "$OTOOL" >&6; }
   7750 else
   7751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7752 $as_echo "no" >&6; }
   7753 fi
   7754 
   7755 
   7756 fi
   7757 if test -z "$ac_cv_prog_OTOOL"; then
   7758   ac_ct_OTOOL=$OTOOL
   7759   # Extract the first word of "otool", so it can be a program name with args.
   7760 set dummy otool; ac_word=$2
   7761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7762 $as_echo_n "checking for $ac_word... " >&6; }
   7763 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7764   $as_echo_n "(cached) " >&6
   7765 else
   7766   if test -n "$ac_ct_OTOOL"; then
   7767   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7768 else
   7769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7770 for as_dir in $PATH
   7771 do
   7772   IFS=$as_save_IFS
   7773   test -z "$as_dir" && as_dir=.
   7774     for ac_exec_ext in '' $ac_executable_extensions; do
   7775   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7776     ac_cv_prog_ac_ct_OTOOL="otool"
   7777     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7778     break 2
   7779   fi
   7780 done
   7781   done
   7782 IFS=$as_save_IFS
   7783 
   7784 fi
   7785 fi
   7786 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7787 if test -n "$ac_ct_OTOOL"; then
   7788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7789 $as_echo "$ac_ct_OTOOL" >&6; }
   7790 else
   7791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7792 $as_echo "no" >&6; }
   7793 fi
   7794 
   7795   if test "x$ac_ct_OTOOL" = x; then
   7796     OTOOL=":"
   7797   else
   7798     case $cross_compiling:$ac_tool_warned in
   7799 yes:)
   7800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7802 ac_tool_warned=yes ;;
   7803 esac
   7804     OTOOL=$ac_ct_OTOOL
   7805   fi
   7806 else
   7807   OTOOL="$ac_cv_prog_OTOOL"
   7808 fi
   7809 
   7810     if test -n "$ac_tool_prefix"; then
   7811   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7812 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7814 $as_echo_n "checking for $ac_word... " >&6; }
   7815 if ${ac_cv_prog_OTOOL64+:} false; then :
   7816   $as_echo_n "(cached) " >&6
   7817 else
   7818   if test -n "$OTOOL64"; then
   7819   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7820 else
   7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7822 for as_dir in $PATH
   7823 do
   7824   IFS=$as_save_IFS
   7825   test -z "$as_dir" && as_dir=.
   7826     for ac_exec_ext in '' $ac_executable_extensions; do
   7827   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7828     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7829     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7830     break 2
   7831   fi
   7832 done
   7833   done
   7834 IFS=$as_save_IFS
   7835 
   7836 fi
   7837 fi
   7838 OTOOL64=$ac_cv_prog_OTOOL64
   7839 if test -n "$OTOOL64"; then
   7840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7841 $as_echo "$OTOOL64" >&6; }
   7842 else
   7843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7844 $as_echo "no" >&6; }
   7845 fi
   7846 
   7847 
   7848 fi
   7849 if test -z "$ac_cv_prog_OTOOL64"; then
   7850   ac_ct_OTOOL64=$OTOOL64
   7851   # Extract the first word of "otool64", so it can be a program name with args.
   7852 set dummy otool64; ac_word=$2
   7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7854 $as_echo_n "checking for $ac_word... " >&6; }
   7855 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7856   $as_echo_n "(cached) " >&6
   7857 else
   7858   if test -n "$ac_ct_OTOOL64"; then
   7859   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7860 else
   7861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7862 for as_dir in $PATH
   7863 do
   7864   IFS=$as_save_IFS
   7865   test -z "$as_dir" && as_dir=.
   7866     for ac_exec_ext in '' $ac_executable_extensions; do
   7867   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7868     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7869     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7870     break 2
   7871   fi
   7872 done
   7873   done
   7874 IFS=$as_save_IFS
   7875 
   7876 fi
   7877 fi
   7878 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7879 if test -n "$ac_ct_OTOOL64"; then
   7880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7881 $as_echo "$ac_ct_OTOOL64" >&6; }
   7882 else
   7883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7884 $as_echo "no" >&6; }
   7885 fi
   7886 
   7887   if test "x$ac_ct_OTOOL64" = x; then
   7888     OTOOL64=":"
   7889   else
   7890     case $cross_compiling:$ac_tool_warned in
   7891 yes:)
   7892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7894 ac_tool_warned=yes ;;
   7895 esac
   7896     OTOOL64=$ac_ct_OTOOL64
   7897   fi
   7898 else
   7899   OTOOL64="$ac_cv_prog_OTOOL64"
   7900 fi
   7901 
   7902 
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7929 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7930 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7931   $as_echo_n "(cached) " >&6
   7932 else
   7933   lt_cv_apple_cc_single_mod=no
   7934       if test -z "${LT_MULTI_MODULE}"; then
   7935 	# By default we will add the -single_module flag. You can override
   7936 	# by either setting the environment variable LT_MULTI_MODULE
   7937 	# non-empty at configure time, or by adding -multi_module to the
   7938 	# link flags.
   7939 	rm -rf libconftest.dylib*
   7940 	echo "int foo(void){return 1;}" > conftest.c
   7941 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7942 -dynamiclib -Wl,-single_module conftest.c" >&5
   7943 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7944 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7945         _lt_result=$?
   7946 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7947 	  lt_cv_apple_cc_single_mod=yes
   7948 	else
   7949 	  cat conftest.err >&5
   7950 	fi
   7951 	rm -rf libconftest.dylib*
   7952 	rm -f conftest.*
   7953       fi
   7954 fi
   7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7956 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7957     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7958 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7959 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7960   $as_echo_n "(cached) " >&6
   7961 else
   7962   lt_cv_ld_exported_symbols_list=no
   7963       save_LDFLAGS=$LDFLAGS
   7964       echo "_main" > conftest.sym
   7965       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7966       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7967 /* end confdefs.h.  */
   7968 
   7969 int
   7970 main ()
   7971 {
   7972 
   7973   ;
   7974   return 0;
   7975 }
   7976 _ACEOF
   7977 if ac_fn_c_try_link "$LINENO"; then :
   7978   lt_cv_ld_exported_symbols_list=yes
   7979 else
   7980   lt_cv_ld_exported_symbols_list=no
   7981 fi
   7982 rm -f core conftest.err conftest.$ac_objext \
   7983     conftest$ac_exeext conftest.$ac_ext
   7984 	LDFLAGS="$save_LDFLAGS"
   7985 
   7986 fi
   7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7988 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7989     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7990 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7991 if ${lt_cv_ld_force_load+:} false; then :
   7992   $as_echo_n "(cached) " >&6
   7993 else
   7994   lt_cv_ld_force_load=no
   7995       cat > conftest.c << _LT_EOF
   7996 int forced_loaded() { return 2;}
   7997 _LT_EOF
   7998       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7999       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8000       echo "$AR cru libconftest.a conftest.o" >&5
   8001       $AR cru libconftest.a conftest.o 2>&5
   8002       cat > conftest.c << _LT_EOF
   8003 int main() { return 0;}
   8004 _LT_EOF
   8005       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8006       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8007       _lt_result=$?
   8008       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   8009 	lt_cv_ld_force_load=yes
   8010       else
   8011 	cat conftest.err >&5
   8012       fi
   8013         rm -f conftest.err libconftest.a conftest conftest.c
   8014         rm -rf conftest.dSYM
   8015 
   8016 fi
   8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8018 $as_echo "$lt_cv_ld_force_load" >&6; }
   8019     # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
   8020     # build without first building modern cctools / linker.
   8021     case $host_cpu-$host_os in
   8022     *-rhapsody* | *-darwin1.[012])
   8023       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   8024     *-darwin1.*)
   8025       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8026     *-darwin*)
   8027       # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
   8028       # deployment target is forced to an earlier version.
   8029       case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
   8030 	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
   8031 	  ;;
   8032 	10.[012][,.]*)
   8033 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8034 	  ;;
   8035 	*)
   8036 	  ;;
   8037      esac
   8038     ;;
   8039   esac
   8040     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   8041       _lt_dar_single_mod='$single_module'
   8042     fi
   8043     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   8044       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8045     else
   8046       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8047     fi
   8048     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   8049       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8050     else
   8051       _lt_dsymutil=
   8052     fi
   8053     ;;
   8054   esac
   8055 
   8056 for ac_header in dlfcn.h
   8057 do :
   8058   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8059 "
   8060 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8061   cat >>confdefs.h <<_ACEOF
   8062 #define HAVE_DLFCN_H 1
   8063 _ACEOF
   8064 
   8065 fi
   8066 
   8067 done
   8068 
   8069 
   8070 
   8071 
   8072 
   8073 # Set options
   8074 enable_dlopen=yes
   8075 
   8076 
   8077 
   8078 
   8079   enable_win32_dll=no
   8080 
   8081 
   8082 
   8083   # Check whether --enable-static was given.
   8084 if test "${enable_static+set}" = set; then :
   8085   enableval=$enable_static; p=${PACKAGE-default}
   8086     case $enableval in
   8087     yes) enable_static=yes ;;
   8088     no) enable_static=no ;;
   8089     *)
   8090      enable_static=no
   8091       # Look at the argument we got.  We use all the common list separators.
   8092       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8093       for pkg in $enableval; do
   8094 	IFS="$lt_save_ifs"
   8095 	if test "X$pkg" = "X$p"; then
   8096 	  enable_static=yes
   8097 	fi
   8098       done
   8099       IFS="$lt_save_ifs"
   8100       ;;
   8101     esac
   8102 else
   8103   enable_static=yes
   8104 fi
   8105 
   8106 
   8107 
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 
   8114 
   8115 # Check whether --with-pic was given.
   8116 if test "${with_pic+set}" = set; then :
   8117   withval=$with_pic; pic_mode="$withval"
   8118 else
   8119   pic_mode=default
   8120 fi
   8121 
   8122 
   8123 test -z "$pic_mode" && pic_mode=default
   8124 
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131   # Check whether --enable-fast-install was given.
   8132 if test "${enable_fast_install+set}" = set; then :
   8133   enableval=$enable_fast_install; p=${PACKAGE-default}
   8134     case $enableval in
   8135     yes) enable_fast_install=yes ;;
   8136     no) enable_fast_install=no ;;
   8137     *)
   8138       enable_fast_install=no
   8139       # Look at the argument we got.  We use all the common list separators.
   8140       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8141       for pkg in $enableval; do
   8142 	IFS="$lt_save_ifs"
   8143 	if test "X$pkg" = "X$p"; then
   8144 	  enable_fast_install=yes
   8145 	fi
   8146       done
   8147       IFS="$lt_save_ifs"
   8148       ;;
   8149     esac
   8150 else
   8151   enable_fast_install=yes
   8152 fi
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 # This can be used to rebuild libtool when needed
   8165 LIBTOOL_DEPS="$ltmain"
   8166 
   8167 # Always use our own libtool.
   8168 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 test -z "$LN_S" && LN_S="ln -s"
   8196 
   8197 
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 
   8204 
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 if test -n "${ZSH_VERSION+set}" ; then
   8211    setopt NO_GLOB_SUBST
   8212 fi
   8213 
   8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8215 $as_echo_n "checking for objdir... " >&6; }
   8216 if ${lt_cv_objdir+:} false; then :
   8217   $as_echo_n "(cached) " >&6
   8218 else
   8219   rm -f .libs 2>/dev/null
   8220 mkdir .libs 2>/dev/null
   8221 if test -d .libs; then
   8222   lt_cv_objdir=.libs
   8223 else
   8224   # MS-DOS does not allow filenames that begin with a dot.
   8225   lt_cv_objdir=_libs
   8226 fi
   8227 rmdir .libs 2>/dev/null
   8228 fi
   8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8230 $as_echo "$lt_cv_objdir" >&6; }
   8231 objdir=$lt_cv_objdir
   8232 
   8233 
   8234 
   8235 
   8236 
   8237 cat >>confdefs.h <<_ACEOF
   8238 #define LT_OBJDIR "$lt_cv_objdir/"
   8239 _ACEOF
   8240 
   8241 
   8242 
   8243 
   8244 case $host_os in
   8245 aix3*)
   8246   # AIX sometimes has problems with the GCC collect2 program.  For some
   8247   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8248   # vanish in a puff of smoke.
   8249   if test "X${COLLECT_NAMES+set}" != Xset; then
   8250     COLLECT_NAMES=
   8251     export COLLECT_NAMES
   8252   fi
   8253   ;;
   8254 esac
   8255 
   8256 # Global variables:
   8257 ofile=libtool
   8258 can_build_shared=yes
   8259 
   8260 # All known linkers require a `.a' archive for static linking (except MSVC,
   8261 # which needs '.lib').
   8262 libext=a
   8263 
   8264 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8265 
   8266 old_CC="$CC"
   8267 old_CFLAGS="$CFLAGS"
   8268 
   8269 # Set sane defaults for various variables
   8270 test -z "$CC" && CC=cc
   8271 test -z "$LTCC" && LTCC=$CC
   8272 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8273 test -z "$LD" && LD=ld
   8274 test -z "$ac_objext" && ac_objext=o
   8275 
   8276 for cc_temp in $compiler""; do
   8277   case $cc_temp in
   8278     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8279     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8280     \-*) ;;
   8281     *) break;;
   8282   esac
   8283 done
   8284 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8285 
   8286 
   8287 # Only perform the check for file, if the check method requires it
   8288 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8289 case $deplibs_check_method in
   8290 file_magic*)
   8291   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8292     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8293 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8294 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8295   $as_echo_n "(cached) " >&6
   8296 else
   8297   case $MAGIC_CMD in
   8298 [\\/*] |  ?:[\\/]*)
   8299   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8300   ;;
   8301 *)
   8302   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8303   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8304   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8305   for ac_dir in $ac_dummy; do
   8306     IFS="$lt_save_ifs"
   8307     test -z "$ac_dir" && ac_dir=.
   8308     if test -f $ac_dir/${ac_tool_prefix}file; then
   8309       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8310       if test -n "$file_magic_test_file"; then
   8311 	case $deplibs_check_method in
   8312 	"file_magic "*)
   8313 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8314 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8315 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8316 	    $EGREP "$file_magic_regex" > /dev/null; then
   8317 	    :
   8318 	  else
   8319 	    cat <<_LT_EOF 1>&2
   8320 
   8321 *** Warning: the command libtool uses to detect shared libraries,
   8322 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8323 *** The result is that libtool may fail to recognize shared libraries
   8324 *** as such.  This will affect the creation of libtool libraries that
   8325 *** depend on shared libraries, but programs linked with such libtool
   8326 *** libraries will work regardless of this problem.  Nevertheless, you
   8327 *** may want to report the problem to your system manager and/or to
   8328 *** bug-libtool@gnu.org
   8329 
   8330 _LT_EOF
   8331 	  fi ;;
   8332 	esac
   8333       fi
   8334       break
   8335     fi
   8336   done
   8337   IFS="$lt_save_ifs"
   8338   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8339   ;;
   8340 esac
   8341 fi
   8342 
   8343 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8344 if test -n "$MAGIC_CMD"; then
   8345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8346 $as_echo "$MAGIC_CMD" >&6; }
   8347 else
   8348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8349 $as_echo "no" >&6; }
   8350 fi
   8351 
   8352 
   8353 
   8354 
   8355 
   8356 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8357   if test -n "$ac_tool_prefix"; then
   8358     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8359 $as_echo_n "checking for file... " >&6; }
   8360 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8361   $as_echo_n "(cached) " >&6
   8362 else
   8363   case $MAGIC_CMD in
   8364 [\\/*] |  ?:[\\/]*)
   8365   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8366   ;;
   8367 *)
   8368   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8369   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8370   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8371   for ac_dir in $ac_dummy; do
   8372     IFS="$lt_save_ifs"
   8373     test -z "$ac_dir" && ac_dir=.
   8374     if test -f $ac_dir/file; then
   8375       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8376       if test -n "$file_magic_test_file"; then
   8377 	case $deplibs_check_method in
   8378 	"file_magic "*)
   8379 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8380 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8381 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8382 	    $EGREP "$file_magic_regex" > /dev/null; then
   8383 	    :
   8384 	  else
   8385 	    cat <<_LT_EOF 1>&2
   8386 
   8387 *** Warning: the command libtool uses to detect shared libraries,
   8388 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8389 *** The result is that libtool may fail to recognize shared libraries
   8390 *** as such.  This will affect the creation of libtool libraries that
   8391 *** depend on shared libraries, but programs linked with such libtool
   8392 *** libraries will work regardless of this problem.  Nevertheless, you
   8393 *** may want to report the problem to your system manager and/or to
   8394 *** bug-libtool@gnu.org
   8395 
   8396 _LT_EOF
   8397 	  fi ;;
   8398 	esac
   8399       fi
   8400       break
   8401     fi
   8402   done
   8403   IFS="$lt_save_ifs"
   8404   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8405   ;;
   8406 esac
   8407 fi
   8408 
   8409 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8410 if test -n "$MAGIC_CMD"; then
   8411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8412 $as_echo "$MAGIC_CMD" >&6; }
   8413 else
   8414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8415 $as_echo "no" >&6; }
   8416 fi
   8417 
   8418 
   8419   else
   8420     MAGIC_CMD=:
   8421   fi
   8422 fi
   8423 
   8424   fi
   8425   ;;
   8426 esac
   8427 
   8428 # Use C for the default configuration in the libtool script
   8429 
   8430 lt_save_CC="$CC"
   8431 ac_ext=c
   8432 ac_cpp='$CPP $CPPFLAGS'
   8433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8436 
   8437 
   8438 # Source file extension for C test sources.
   8439 ac_ext=c
   8440 
   8441 # Object file extension for compiled C test sources.
   8442 objext=o
   8443 objext=$objext
   8444 
   8445 # Code to be used in simple compile tests
   8446 lt_simple_compile_test_code="int some_variable = 0;"
   8447 
   8448 # Code to be used in simple link tests
   8449 lt_simple_link_test_code='int main(){return(0);}'
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 # If no C compiler was specified, use CC.
   8458 LTCC=${LTCC-"$CC"}
   8459 
   8460 # If no C compiler flags were specified, use CFLAGS.
   8461 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8462 
   8463 # Allow CC to be a program name with arguments.
   8464 compiler=$CC
   8465 
   8466 # Save the default compiler, since it gets overwritten when the other
   8467 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8468 compiler_DEFAULT=$CC
   8469 
   8470 # save warnings/boilerplate of simple test code
   8471 ac_outfile=conftest.$ac_objext
   8472 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8473 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8474 _lt_compiler_boilerplate=`cat conftest.err`
   8475 $RM conftest*
   8476 
   8477 ac_outfile=conftest.$ac_objext
   8478 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8479 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8480 _lt_linker_boilerplate=`cat conftest.err`
   8481 $RM -r conftest*
   8482 
   8483 
   8484 ## CAVEAT EMPTOR:
   8485 ## There is no encapsulation within the following macros, do not change
   8486 ## the running order or otherwise move them around unless you know exactly
   8487 ## what you are doing...
   8488 if test -n "$compiler"; then
   8489 
   8490 lt_prog_compiler_no_builtin_flag=
   8491 
   8492 if test "$GCC" = yes; then
   8493   case $cc_basename in
   8494   nvcc*)
   8495     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8496   *)
   8497     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8498   esac
   8499 
   8500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8501 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8502 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8503   $as_echo_n "(cached) " >&6
   8504 else
   8505   lt_cv_prog_compiler_rtti_exceptions=no
   8506    ac_outfile=conftest.$ac_objext
   8507    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8508    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8509    # Insert the option either (1) after the last *FLAGS variable, or
   8510    # (2) before a word containing "conftest.", or (3) at the end.
   8511    # Note that $ac_compile itself does not contain backslashes and begins
   8512    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8513    # The option is referenced via a variable to avoid confusing sed.
   8514    lt_compile=`echo "$ac_compile" | $SED \
   8515    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8516    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8517    -e 's:$: $lt_compiler_flag:'`
   8518    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8519    (eval "$lt_compile" 2>conftest.err)
   8520    ac_status=$?
   8521    cat conftest.err >&5
   8522    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8523    if (exit $ac_status) && test -s "$ac_outfile"; then
   8524      # The compiler can only warn and ignore the option if not recognized
   8525      # So say no if there are warnings other than the usual output.
   8526      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8527      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8528      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8529        lt_cv_prog_compiler_rtti_exceptions=yes
   8530      fi
   8531    fi
   8532    $RM conftest*
   8533 
   8534 fi
   8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8536 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8537 
   8538 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8539     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8540 else
   8541     :
   8542 fi
   8543 
   8544 fi
   8545 
   8546 
   8547 
   8548 
   8549 
   8550 
   8551   lt_prog_compiler_wl=
   8552 lt_prog_compiler_pic=
   8553 lt_prog_compiler_static=
   8554 
   8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8556 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8557 
   8558   if test "$GCC" = yes; then
   8559     lt_prog_compiler_wl='-Wl,'
   8560     lt_prog_compiler_static='-static'
   8561 
   8562     case $host_os in
   8563       aix*)
   8564       # All AIX code is PIC.
   8565       if test "$host_cpu" = ia64; then
   8566 	# AIX 5 now supports IA64 processor
   8567 	lt_prog_compiler_static='-Bstatic'
   8568       fi
   8569       lt_prog_compiler_pic='-fPIC'
   8570       ;;
   8571 
   8572     amigaos*)
   8573       case $host_cpu in
   8574       powerpc)
   8575             # see comment about AmigaOS4 .so support
   8576             lt_prog_compiler_pic='-fPIC'
   8577         ;;
   8578       m68k)
   8579             # FIXME: we need at least 68020 code to build shared libraries, but
   8580             # adding the `-m68020' flag to GCC prevents building anything better,
   8581             # like `-m68040'.
   8582             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8583         ;;
   8584       esac
   8585       ;;
   8586 
   8587     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8588       # PIC is the default for these OSes.
   8589       ;;
   8590 
   8591     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8592       # This hack is so that the source file can tell whether it is being
   8593       # built for inclusion in a dll (and should export symbols for example).
   8594       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8595       # (--disable-auto-import) libraries
   8596       lt_prog_compiler_pic='-DDLL_EXPORT'
   8597       ;;
   8598 
   8599     darwin* | rhapsody*)
   8600       # PIC is the default on this platform
   8601       # Common symbols not allowed in MH_DYLIB files
   8602       lt_prog_compiler_pic='-fno-common'
   8603       ;;
   8604 
   8605     haiku*)
   8606       # PIC is the default for Haiku.
   8607       # The "-static" flag exists, but is broken.
   8608       lt_prog_compiler_static=
   8609       ;;
   8610 
   8611     hpux*)
   8612       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8613       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8614       # sets the default TLS model and affects inlining.
   8615       case $host_cpu in
   8616       hppa*64*)
   8617 	# +Z the default
   8618 	;;
   8619       *)
   8620 	lt_prog_compiler_pic='-fPIC'
   8621 	;;
   8622       esac
   8623       ;;
   8624 
   8625     interix[3-9]*)
   8626       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8627       # Instead, we relocate shared libraries at runtime.
   8628       ;;
   8629 
   8630     msdosdjgpp*)
   8631       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8632       # on systems that don't support them.
   8633       lt_prog_compiler_can_build_shared=no
   8634       enable_shared=no
   8635       ;;
   8636 
   8637     *nto* | *qnx*)
   8638       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8639       # it will coredump.
   8640       lt_prog_compiler_pic='-fPIC -shared'
   8641       ;;
   8642 
   8643     sysv4*MP*)
   8644       if test -d /usr/nec; then
   8645 	lt_prog_compiler_pic=-Kconform_pic
   8646       fi
   8647       ;;
   8648 
   8649     *)
   8650       lt_prog_compiler_pic='-fPIC'
   8651       ;;
   8652     esac
   8653 
   8654     case $cc_basename in
   8655     nvcc*) # Cuda Compiler Driver 2.2
   8656       lt_prog_compiler_wl='-Xlinker '
   8657       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8658       ;;
   8659     esac
   8660   else
   8661     # PORTME Check for flag to pass linker flags through the system compiler.
   8662     case $host_os in
   8663     aix*)
   8664       lt_prog_compiler_wl='-Wl,'
   8665       if test "$host_cpu" = ia64; then
   8666 	# AIX 5 now supports IA64 processor
   8667 	lt_prog_compiler_static='-Bstatic'
   8668       else
   8669 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8670       fi
   8671       ;;
   8672 
   8673     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8674       # This hack is so that the source file can tell whether it is being
   8675       # built for inclusion in a dll (and should export symbols for example).
   8676       lt_prog_compiler_pic='-DDLL_EXPORT'
   8677       ;;
   8678 
   8679     hpux9* | hpux10* | hpux11*)
   8680       lt_prog_compiler_wl='-Wl,'
   8681       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8682       # not for PA HP-UX.
   8683       case $host_cpu in
   8684       hppa*64*|ia64*)
   8685 	# +Z the default
   8686 	;;
   8687       *)
   8688 	lt_prog_compiler_pic='+Z'
   8689 	;;
   8690       esac
   8691       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8692       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8693       ;;
   8694 
   8695     irix5* | irix6* | nonstopux*)
   8696       lt_prog_compiler_wl='-Wl,'
   8697       # PIC (with -KPIC) is the default.
   8698       lt_prog_compiler_static='-non_shared'
   8699       ;;
   8700 
   8701     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8702       case $cc_basename in
   8703       # old Intel for x86_64 which still supported -KPIC.
   8704       ecc*)
   8705 	lt_prog_compiler_wl='-Wl,'
   8706 	lt_prog_compiler_pic='-KPIC'
   8707 	lt_prog_compiler_static='-static'
   8708         ;;
   8709       # icc used to be incompatible with GCC.
   8710       # ICC 10 doesn't accept -KPIC any more.
   8711       icc* | ifort*)
   8712 	lt_prog_compiler_wl='-Wl,'
   8713 	lt_prog_compiler_pic='-fPIC'
   8714 	lt_prog_compiler_static='-static'
   8715         ;;
   8716       # Lahey Fortran 8.1.
   8717       lf95*)
   8718 	lt_prog_compiler_wl='-Wl,'
   8719 	lt_prog_compiler_pic='--shared'
   8720 	lt_prog_compiler_static='--static'
   8721 	;;
   8722       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8723         # Portland Group compilers (*not* the Pentium gcc compiler,
   8724 	# which looks to be a dead project)
   8725 	lt_prog_compiler_wl='-Wl,'
   8726 	lt_prog_compiler_pic='-fpic'
   8727 	lt_prog_compiler_static='-Bstatic'
   8728         ;;
   8729       ccc*)
   8730         lt_prog_compiler_wl='-Wl,'
   8731         # All Alpha code is PIC.
   8732         lt_prog_compiler_static='-non_shared'
   8733         ;;
   8734       xl* | bgxl* | bgf* | mpixl*)
   8735 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8736 	lt_prog_compiler_wl='-Wl,'
   8737 	lt_prog_compiler_pic='-qpic'
   8738 	lt_prog_compiler_static='-qstaticlink'
   8739 	;;
   8740       *)
   8741 	case `$CC -V 2>&1 | sed 5q` in
   8742 	*Sun\ F* | *Sun*Fortran*)
   8743 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8744 	  lt_prog_compiler_pic='-KPIC'
   8745 	  lt_prog_compiler_static='-Bstatic'
   8746 	  lt_prog_compiler_wl=''
   8747 	  ;;
   8748 	*Sun\ C*)
   8749 	  # Sun C 5.9
   8750 	  lt_prog_compiler_pic='-KPIC'
   8751 	  lt_prog_compiler_static='-Bstatic'
   8752 	  lt_prog_compiler_wl='-Wl,'
   8753 	  ;;
   8754 	esac
   8755 	;;
   8756       esac
   8757       ;;
   8758 
   8759     newsos6)
   8760       lt_prog_compiler_pic='-KPIC'
   8761       lt_prog_compiler_static='-Bstatic'
   8762       ;;
   8763 
   8764     *nto* | *qnx*)
   8765       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8766       # it will coredump.
   8767       lt_prog_compiler_pic='-fPIC -shared'
   8768       ;;
   8769 
   8770     osf3* | osf4* | osf5*)
   8771       lt_prog_compiler_wl='-Wl,'
   8772       # All OSF/1 code is PIC.
   8773       lt_prog_compiler_static='-non_shared'
   8774       ;;
   8775 
   8776     rdos*)
   8777       lt_prog_compiler_static='-non_shared'
   8778       ;;
   8779 
   8780     solaris*)
   8781       lt_prog_compiler_pic='-KPIC'
   8782       lt_prog_compiler_static='-Bstatic'
   8783       case $cc_basename in
   8784       f77* | f90* | f95*)
   8785 	lt_prog_compiler_wl='-Qoption ld ';;
   8786       *)
   8787 	lt_prog_compiler_wl='-Wl,';;
   8788       esac
   8789       ;;
   8790 
   8791     sunos4*)
   8792       lt_prog_compiler_wl='-Qoption ld '
   8793       lt_prog_compiler_pic='-PIC'
   8794       lt_prog_compiler_static='-Bstatic'
   8795       ;;
   8796 
   8797     sysv4 | sysv4.2uw2* | sysv4.3*)
   8798       lt_prog_compiler_wl='-Wl,'
   8799       lt_prog_compiler_pic='-KPIC'
   8800       lt_prog_compiler_static='-Bstatic'
   8801       ;;
   8802 
   8803     sysv4*MP*)
   8804       if test -d /usr/nec ;then
   8805 	lt_prog_compiler_pic='-Kconform_pic'
   8806 	lt_prog_compiler_static='-Bstatic'
   8807       fi
   8808       ;;
   8809 
   8810     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8811       lt_prog_compiler_wl='-Wl,'
   8812       lt_prog_compiler_pic='-KPIC'
   8813       lt_prog_compiler_static='-Bstatic'
   8814       ;;
   8815 
   8816     unicos*)
   8817       lt_prog_compiler_wl='-Wl,'
   8818       lt_prog_compiler_can_build_shared=no
   8819       ;;
   8820 
   8821     uts4*)
   8822       lt_prog_compiler_pic='-pic'
   8823       lt_prog_compiler_static='-Bstatic'
   8824       ;;
   8825 
   8826     *)
   8827       lt_prog_compiler_can_build_shared=no
   8828       ;;
   8829     esac
   8830   fi
   8831 
   8832 case $host_os in
   8833   # For platforms which do not support PIC, -DPIC is meaningless:
   8834   *djgpp*)
   8835     lt_prog_compiler_pic=
   8836     ;;
   8837   *)
   8838     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8839     ;;
   8840 esac
   8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8842 $as_echo "$lt_prog_compiler_pic" >&6; }
   8843 
   8844 
   8845 
   8846 
   8847 
   8848 
   8849 #
   8850 # Check to make sure the PIC flag actually works.
   8851 #
   8852 if test -n "$lt_prog_compiler_pic"; then
   8853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8854 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8855 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8856   $as_echo_n "(cached) " >&6
   8857 else
   8858   lt_cv_prog_compiler_pic_works=no
   8859    ac_outfile=conftest.$ac_objext
   8860    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8861    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8862    # Insert the option either (1) after the last *FLAGS variable, or
   8863    # (2) before a word containing "conftest.", or (3) at the end.
   8864    # Note that $ac_compile itself does not contain backslashes and begins
   8865    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8866    # The option is referenced via a variable to avoid confusing sed.
   8867    lt_compile=`echo "$ac_compile" | $SED \
   8868    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8869    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8870    -e 's:$: $lt_compiler_flag:'`
   8871    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8872    (eval "$lt_compile" 2>conftest.err)
   8873    ac_status=$?
   8874    cat conftest.err >&5
   8875    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8876    if (exit $ac_status) && test -s "$ac_outfile"; then
   8877      # The compiler can only warn and ignore the option if not recognized
   8878      # So say no if there are warnings other than the usual output.
   8879      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8880      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8881      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8882        lt_cv_prog_compiler_pic_works=yes
   8883      fi
   8884    fi
   8885    $RM conftest*
   8886 
   8887 fi
   8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8889 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8890 
   8891 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8892     case $lt_prog_compiler_pic in
   8893      "" | " "*) ;;
   8894      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8895      esac
   8896 else
   8897     lt_prog_compiler_pic=
   8898      lt_prog_compiler_can_build_shared=no
   8899 fi
   8900 
   8901 fi
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 #
   8909 # Check to make sure the static flag actually works.
   8910 #
   8911 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8913 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8914 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8915   $as_echo_n "(cached) " >&6
   8916 else
   8917   lt_cv_prog_compiler_static_works=no
   8918    save_LDFLAGS="$LDFLAGS"
   8919    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8920    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8921    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8922      # The linker can only warn and ignore the option if not recognized
   8923      # So say no if there are warnings
   8924      if test -s conftest.err; then
   8925        # Append any errors to the config.log.
   8926        cat conftest.err 1>&5
   8927        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8928        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8929        if diff conftest.exp conftest.er2 >/dev/null; then
   8930          lt_cv_prog_compiler_static_works=yes
   8931        fi
   8932      else
   8933        lt_cv_prog_compiler_static_works=yes
   8934      fi
   8935    fi
   8936    $RM -r conftest*
   8937    LDFLAGS="$save_LDFLAGS"
   8938 
   8939 fi
   8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8941 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8942 
   8943 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8944     :
   8945 else
   8946     lt_prog_compiler_static=
   8947 fi
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8956 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8957 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8958   $as_echo_n "(cached) " >&6
   8959 else
   8960   lt_cv_prog_compiler_c_o=no
   8961    $RM -r conftest 2>/dev/null
   8962    mkdir conftest
   8963    cd conftest
   8964    mkdir out
   8965    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8966 
   8967    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8968    # Insert the option either (1) after the last *FLAGS variable, or
   8969    # (2) before a word containing "conftest.", or (3) at the end.
   8970    # Note that $ac_compile itself does not contain backslashes and begins
   8971    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8972    lt_compile=`echo "$ac_compile" | $SED \
   8973    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8974    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8975    -e 's:$: $lt_compiler_flag:'`
   8976    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8977    (eval "$lt_compile" 2>out/conftest.err)
   8978    ac_status=$?
   8979    cat out/conftest.err >&5
   8980    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8981    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8982    then
   8983      # The compiler can only warn and ignore the option if not recognized
   8984      # So say no if there are warnings
   8985      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8986      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8987      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8988        lt_cv_prog_compiler_c_o=yes
   8989      fi
   8990    fi
   8991    chmod u+w . 2>&5
   8992    $RM conftest*
   8993    # SGI C++ compiler will create directory out/ii_files/ for
   8994    # template instantiation
   8995    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8996    $RM out/* && rmdir out
   8997    cd ..
   8998    $RM -r conftest
   8999    $RM conftest*
   9000 
   9001 fi
   9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9003 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9011 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9012 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9013   $as_echo_n "(cached) " >&6
   9014 else
   9015   lt_cv_prog_compiler_c_o=no
   9016    $RM -r conftest 2>/dev/null
   9017    mkdir conftest
   9018    cd conftest
   9019    mkdir out
   9020    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9021 
   9022    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9023    # Insert the option either (1) after the last *FLAGS variable, or
   9024    # (2) before a word containing "conftest.", or (3) at the end.
   9025    # Note that $ac_compile itself does not contain backslashes and begins
   9026    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9027    lt_compile=`echo "$ac_compile" | $SED \
   9028    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9029    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9030    -e 's:$: $lt_compiler_flag:'`
   9031    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9032    (eval "$lt_compile" 2>out/conftest.err)
   9033    ac_status=$?
   9034    cat out/conftest.err >&5
   9035    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9036    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9037    then
   9038      # The compiler can only warn and ignore the option if not recognized
   9039      # So say no if there are warnings
   9040      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9041      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9042      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9043        lt_cv_prog_compiler_c_o=yes
   9044      fi
   9045    fi
   9046    chmod u+w . 2>&5
   9047    $RM conftest*
   9048    # SGI C++ compiler will create directory out/ii_files/ for
   9049    # template instantiation
   9050    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9051    $RM out/* && rmdir out
   9052    cd ..
   9053    $RM -r conftest
   9054    $RM conftest*
   9055 
   9056 fi
   9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9058 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9059 
   9060 
   9061 
   9062 
   9063 hard_links="nottested"
   9064 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9065   # do not overwrite the value of need_locks provided by the user
   9066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9067 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9068   hard_links=yes
   9069   $RM conftest*
   9070   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9071   touch conftest.a
   9072   ln conftest.a conftest.b 2>&5 || hard_links=no
   9073   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9075 $as_echo "$hard_links" >&6; }
   9076   if test "$hard_links" = no; then
   9077     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9078 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9079     need_locks=warn
   9080   fi
   9081 else
   9082   need_locks=no
   9083 fi
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9091 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9092 
   9093   runpath_var=
   9094   allow_undefined_flag=
   9095   always_export_symbols=no
   9096   archive_cmds=
   9097   archive_expsym_cmds=
   9098   compiler_needs_object=no
   9099   enable_shared_with_static_runtimes=no
   9100   export_dynamic_flag_spec=
   9101   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9102   hardcode_automatic=no
   9103   hardcode_direct=no
   9104   hardcode_direct_absolute=no
   9105   hardcode_libdir_flag_spec=
   9106   hardcode_libdir_flag_spec_ld=
   9107   hardcode_libdir_separator=
   9108   hardcode_minus_L=no
   9109   hardcode_shlibpath_var=unsupported
   9110   inherit_rpath=no
   9111   link_all_deplibs=unknown
   9112   module_cmds=
   9113   module_expsym_cmds=
   9114   old_archive_from_new_cmds=
   9115   old_archive_from_expsyms_cmds=
   9116   thread_safe_flag_spec=
   9117   whole_archive_flag_spec=
   9118   # include_expsyms should be a list of space-separated symbols to be *always*
   9119   # included in the symbol list
   9120   include_expsyms=
   9121   # exclude_expsyms can be an extended regexp of symbols to exclude
   9122   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9123   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9124   # as well as any symbol that contains `d'.
   9125   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9126   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9127   # platforms (ab)use it in PIC code, but their linkers get confused if
   9128   # the symbol is explicitly referenced.  Since portable code cannot
   9129   # rely on this symbol name, it's probably fine to never include it in
   9130   # preloaded symbol tables.
   9131   # Exclude shared library initialization/finalization symbols.
   9132   extract_expsyms_cmds=
   9133 
   9134   case $host_os in
   9135   cygwin* | mingw* | pw32* | cegcc*)
   9136     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9137     # When not using gcc, we currently assume that we are using
   9138     # Microsoft Visual C++.
   9139     if test "$GCC" != yes; then
   9140       with_gnu_ld=no
   9141     fi
   9142     ;;
   9143   interix*)
   9144     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9145     with_gnu_ld=yes
   9146     ;;
   9147   openbsd*)
   9148     with_gnu_ld=no
   9149     ;;
   9150   esac
   9151 
   9152   ld_shlibs=yes
   9153 
   9154   # On some targets, GNU ld is compatible enough with the native linker
   9155   # that we're better off using the native interface for both.
   9156   lt_use_gnu_ld_interface=no
   9157   if test "$with_gnu_ld" = yes; then
   9158     case $host_os in
   9159       aix*)
   9160 	# The AIX port of GNU ld has always aspired to compatibility
   9161 	# with the native linker.  However, as the warning in the GNU ld
   9162 	# block says, versions before 2.19.5* couldn't really create working
   9163 	# shared libraries, regardless of the interface used.
   9164 	case `$LD -v 2>&1` in
   9165 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9166 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9167 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9168 	  *)
   9169 	    lt_use_gnu_ld_interface=yes
   9170 	    ;;
   9171 	esac
   9172 	;;
   9173       *)
   9174 	lt_use_gnu_ld_interface=yes
   9175 	;;
   9176     esac
   9177   fi
   9178 
   9179   if test "$lt_use_gnu_ld_interface" = yes; then
   9180     # If archive_cmds runs LD, not CC, wlarc should be empty
   9181     wlarc='${wl}'
   9182 
   9183     # Set some defaults for GNU ld with shared library support. These
   9184     # are reset later if shared libraries are not supported. Putting them
   9185     # here allows them to be overridden if necessary.
   9186     runpath_var=LD_RUN_PATH
   9187     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9188     export_dynamic_flag_spec='${wl}--export-dynamic'
   9189     # ancient GNU ld didn't support --whole-archive et. al.
   9190     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9191       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9192     else
   9193       whole_archive_flag_spec=
   9194     fi
   9195     supports_anon_versioning=no
   9196     case `$LD -v 2>&1` in
   9197       *GNU\ gold*) supports_anon_versioning=yes ;;
   9198       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9199       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9200       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9201       *\ 2.11.*) ;; # other 2.11 versions
   9202       *) supports_anon_versioning=yes ;;
   9203     esac
   9204 
   9205     # See if GNU ld supports shared libraries.
   9206     case $host_os in
   9207     aix[3-9]*)
   9208       # On AIX/PPC, the GNU linker is very broken
   9209       if test "$host_cpu" != ia64; then
   9210 	ld_shlibs=no
   9211 	cat <<_LT_EOF 1>&2
   9212 
   9213 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9214 *** to be unable to reliably create shared libraries on AIX.
   9215 *** Therefore, libtool is disabling shared libraries support.  If you
   9216 *** really care for shared libraries, you may want to install binutils
   9217 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9218 *** You will then need to restart the configuration process.
   9219 
   9220 _LT_EOF
   9221       fi
   9222       ;;
   9223 
   9224     amigaos*)
   9225       case $host_cpu in
   9226       powerpc)
   9227             # see comment about AmigaOS4 .so support
   9228             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9229             archive_expsym_cmds=''
   9230         ;;
   9231       m68k)
   9232             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)'
   9233             hardcode_libdir_flag_spec='-L$libdir'
   9234             hardcode_minus_L=yes
   9235         ;;
   9236       esac
   9237       ;;
   9238 
   9239     beos*)
   9240       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9241 	allow_undefined_flag=unsupported
   9242 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9243 	# support --undefined.  This deserves some investigation.  FIXME
   9244 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9245       else
   9246 	ld_shlibs=no
   9247       fi
   9248       ;;
   9249 
   9250     cygwin* | mingw* | pw32* | cegcc*)
   9251       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9252       # as there is no search path for DLLs.
   9253       hardcode_libdir_flag_spec='-L$libdir'
   9254       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9255       allow_undefined_flag=unsupported
   9256       always_export_symbols=no
   9257       enable_shared_with_static_runtimes=yes
   9258       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9259 
   9260       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9261         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9262 	# If the export-symbols file already is a .def file (1st line
   9263 	# is EXPORTS), use it as is; otherwise, prepend...
   9264 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9265 	  cp $export_symbols $output_objdir/$soname.def;
   9266 	else
   9267 	  echo EXPORTS > $output_objdir/$soname.def;
   9268 	  cat $export_symbols >> $output_objdir/$soname.def;
   9269 	fi~
   9270 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9271       else
   9272 	ld_shlibs=no
   9273       fi
   9274       ;;
   9275 
   9276     haiku*)
   9277       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9278       link_all_deplibs=yes
   9279       ;;
   9280 
   9281     interix[3-9]*)
   9282       hardcode_direct=no
   9283       hardcode_shlibpath_var=no
   9284       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9285       export_dynamic_flag_spec='${wl}-E'
   9286       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9287       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9288       # default) and relocated if they conflict, which is a slow very memory
   9289       # consuming and fragmenting process.  To avoid this, we pick a random,
   9290       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9291       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9292       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9293       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'
   9294       ;;
   9295 
   9296     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   9297       tmp_diet=no
   9298       if test "$host_os" = linux-dietlibc; then
   9299 	case $cc_basename in
   9300 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9301 	esac
   9302       fi
   9303       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9304 	 && test "$tmp_diet" = no
   9305       then
   9306 	tmp_addflag=' $pic_flag'
   9307 	tmp_sharedflag='-shared'
   9308 	case $cc_basename,$host_cpu in
   9309         pgcc*)				# Portland Group C compiler
   9310 	  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'
   9311 	  tmp_addflag=' $pic_flag'
   9312 	  ;;
   9313 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9314 					# Portland Group f77 and f90 compilers
   9315 	  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'
   9316 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9317 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9318 	  tmp_addflag=' -i_dynamic' ;;
   9319 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9320 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9321 	ifc* | ifort*)			# Intel Fortran compiler
   9322 	  tmp_addflag=' -nofor_main' ;;
   9323 	lf95*)				# Lahey Fortran 8.1
   9324 	  whole_archive_flag_spec=
   9325 	  tmp_sharedflag='--shared' ;;
   9326 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9327 	  tmp_sharedflag='-qmkshrobj'
   9328 	  tmp_addflag= ;;
   9329 	nvcc*)	# Cuda Compiler Driver 2.2
   9330 	  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'
   9331 	  compiler_needs_object=yes
   9332 	  ;;
   9333 	esac
   9334 	case `$CC -V 2>&1 | sed 5q` in
   9335 	*Sun\ C*)			# Sun C 5.9
   9336 	  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'
   9337 	  compiler_needs_object=yes
   9338 	  tmp_sharedflag='-G' ;;
   9339 	*Sun\ F*)			# Sun Fortran 8.3
   9340 	  tmp_sharedflag='-G' ;;
   9341 	esac
   9342 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9343 
   9344         if test "x$supports_anon_versioning" = xyes; then
   9345           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9346 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9347 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9348 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9349         fi
   9350 
   9351 	case $cc_basename in
   9352 	xlf* | bgf* | bgxlf* | mpixlf*)
   9353 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9354 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9355 	  hardcode_libdir_flag_spec=
   9356 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9357 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   9358 	  if test "x$supports_anon_versioning" = xyes; then
   9359 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9360 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9361 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9362 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9363 	  fi
   9364 	  ;;
   9365 	esac
   9366       else
   9367         ld_shlibs=no
   9368       fi
   9369       ;;
   9370 
   9371     netbsd*)
   9372       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9373 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9374 	wlarc=
   9375       else
   9376 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9377 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9378       fi
   9379       ;;
   9380 
   9381     solaris*)
   9382       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9383 	ld_shlibs=no
   9384 	cat <<_LT_EOF 1>&2
   9385 
   9386 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9387 *** create shared libraries on Solaris systems.  Therefore, libtool
   9388 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9389 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9390 *** your PATH or compiler configuration so that the native linker is
   9391 *** used, and then restart.
   9392 
   9393 _LT_EOF
   9394       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9395 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9396 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9397       else
   9398 	ld_shlibs=no
   9399       fi
   9400       ;;
   9401 
   9402     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9403       case `$LD -v 2>&1` in
   9404         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9405 	ld_shlibs=no
   9406 	cat <<_LT_EOF 1>&2
   9407 
   9408 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9409 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9410 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9411 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9412 *** your PATH or compiler configuration so that the native linker is
   9413 *** used, and then restart.
   9414 
   9415 _LT_EOF
   9416 	;;
   9417 	*)
   9418 	  # For security reasons, it is highly recommended that you always
   9419 	  # use absolute paths for naming shared libraries, and exclude the
   9420 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9421 	  # requires that you compile everything twice, which is a pain.
   9422 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9423 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9424 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9425 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9426 	  else
   9427 	    ld_shlibs=no
   9428 	  fi
   9429 	;;
   9430       esac
   9431       ;;
   9432 
   9433     sunos4*)
   9434       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9435       wlarc=
   9436       hardcode_direct=yes
   9437       hardcode_shlibpath_var=no
   9438       ;;
   9439 
   9440     *)
   9441       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9442 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9443 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9444       else
   9445 	ld_shlibs=no
   9446       fi
   9447       ;;
   9448     esac
   9449 
   9450     if test "$ld_shlibs" = no; then
   9451       runpath_var=
   9452       hardcode_libdir_flag_spec=
   9453       export_dynamic_flag_spec=
   9454       whole_archive_flag_spec=
   9455     fi
   9456   else
   9457     # PORTME fill in a description of your system's linker (not GNU ld)
   9458     case $host_os in
   9459     aix3*)
   9460       allow_undefined_flag=unsupported
   9461       always_export_symbols=yes
   9462       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'
   9463       # Note: this linker hardcodes the directories in LIBPATH if there
   9464       # are no directories specified by -L.
   9465       hardcode_minus_L=yes
   9466       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9467 	# Neither direct hardcoding nor static linking is supported with a
   9468 	# broken collect2.
   9469 	hardcode_direct=unsupported
   9470       fi
   9471       ;;
   9472 
   9473     aix[4-9]*)
   9474       if test "$host_cpu" = ia64; then
   9475 	# On IA64, the linker does run time linking by default, so we don't
   9476 	# have to do anything special.
   9477 	aix_use_runtimelinking=no
   9478 	exp_sym_flag='-Bexport'
   9479 	no_entry_flag=""
   9480       else
   9481 	# If we're using GNU nm, then we don't want the "-C" option.
   9482 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9483 	# Also, AIX nm treats weak defined symbols like other global
   9484 	# defined symbols, whereas GNU nm marks them as "W".
   9485 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9486 	  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'
   9487 	else
   9488 	  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'
   9489 	fi
   9490 	aix_use_runtimelinking=no
   9491 
   9492 	# Test if we are trying to use run time linking or normal
   9493 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9494 	# need to do runtime linking.
   9495 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9496 	  for ld_flag in $LDFLAGS; do
   9497 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9498 	    aix_use_runtimelinking=yes
   9499 	    break
   9500 	  fi
   9501 	  done
   9502 	  ;;
   9503 	esac
   9504 
   9505 	exp_sym_flag='-bexport'
   9506 	no_entry_flag='-bnoentry'
   9507       fi
   9508 
   9509       # When large executables or shared objects are built, AIX ld can
   9510       # have problems creating the table of contents.  If linking a library
   9511       # or program results in "error TOC overflow" add -mminimal-toc to
   9512       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9513       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9514 
   9515       archive_cmds=''
   9516       hardcode_direct=yes
   9517       hardcode_direct_absolute=yes
   9518       hardcode_libdir_separator=':'
   9519       link_all_deplibs=yes
   9520       file_list_spec='${wl}-f,'
   9521 
   9522       if test "$GCC" = yes; then
   9523 	case $host_os in aix4.[012]|aix4.[012].*)
   9524 	# We only want to do this on AIX 4.2 and lower, the check
   9525 	# below for broken collect2 doesn't work under 4.3+
   9526 	  collect2name=`${CC} -print-prog-name=collect2`
   9527 	  if test -f "$collect2name" &&
   9528 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9529 	  then
   9530 	  # We have reworked collect2
   9531 	  :
   9532 	  else
   9533 	  # We have old collect2
   9534 	  hardcode_direct=unsupported
   9535 	  # It fails to find uninstalled libraries when the uninstalled
   9536 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9537 	  # to unsupported forces relinking
   9538 	  hardcode_minus_L=yes
   9539 	  hardcode_libdir_flag_spec='-L$libdir'
   9540 	  hardcode_libdir_separator=
   9541 	  fi
   9542 	  ;;
   9543 	esac
   9544 	shared_flag='-shared'
   9545 	if test "$aix_use_runtimelinking" = yes; then
   9546 	  shared_flag="$shared_flag "'${wl}-G'
   9547 	fi
   9548       else
   9549 	# not using gcc
   9550 	if test "$host_cpu" = ia64; then
   9551 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9552 	# chokes on -Wl,-G. The following line is correct:
   9553 	  shared_flag='-G'
   9554 	else
   9555 	  if test "$aix_use_runtimelinking" = yes; then
   9556 	    shared_flag='${wl}-G'
   9557 	  else
   9558 	    shared_flag='${wl}-bM:SRE'
   9559 	  fi
   9560 	fi
   9561       fi
   9562 
   9563       export_dynamic_flag_spec='${wl}-bexpall'
   9564       # It seems that -bexpall does not export symbols beginning with
   9565       # underscore (_), so it is better to generate a list of symbols to export.
   9566       always_export_symbols=yes
   9567       if test "$aix_use_runtimelinking" = yes; then
   9568 	# Warning - without using the other runtime loading flags (-brtl),
   9569 	# -berok will link without error, but may produce a broken library.
   9570 	allow_undefined_flag='-berok'
   9571         # Determine the default libpath from the value encoded in an
   9572         # empty executable.
   9573         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9574 /* end confdefs.h.  */
   9575 
   9576 int
   9577 main ()
   9578 {
   9579 
   9580   ;
   9581   return 0;
   9582 }
   9583 _ACEOF
   9584 if ac_fn_c_try_link "$LINENO"; then :
   9585 
   9586 lt_aix_libpath_sed='
   9587     /Import File Strings/,/^$/ {
   9588 	/^0/ {
   9589 	    s/^0  *\(.*\)$/\1/
   9590 	    p
   9591 	}
   9592     }'
   9593 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9594 # Check for a 64-bit object if we didn't find anything.
   9595 if test -z "$aix_libpath"; then
   9596   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9597 fi
   9598 fi
   9599 rm -f core conftest.err conftest.$ac_objext \
   9600     conftest$ac_exeext conftest.$ac_ext
   9601 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9602 
   9603         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9604         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"
   9605       else
   9606 	if test "$host_cpu" = ia64; then
   9607 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9608 	  allow_undefined_flag="-z nodefs"
   9609 	  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"
   9610 	else
   9611 	 # Determine the default libpath from the value encoded in an
   9612 	 # empty executable.
   9613 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9614 /* end confdefs.h.  */
   9615 
   9616 int
   9617 main ()
   9618 {
   9619 
   9620   ;
   9621   return 0;
   9622 }
   9623 _ACEOF
   9624 if ac_fn_c_try_link "$LINENO"; then :
   9625 
   9626 lt_aix_libpath_sed='
   9627     /Import File Strings/,/^$/ {
   9628 	/^0/ {
   9629 	    s/^0  *\(.*\)$/\1/
   9630 	    p
   9631 	}
   9632     }'
   9633 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9634 # Check for a 64-bit object if we didn't find anything.
   9635 if test -z "$aix_libpath"; then
   9636   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9637 fi
   9638 fi
   9639 rm -f core conftest.err conftest.$ac_objext \
   9640     conftest$ac_exeext conftest.$ac_ext
   9641 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9642 
   9643 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9644 	  # Warning - without using the other run time loading flags,
   9645 	  # -berok will link without error, but may produce a broken library.
   9646 	  no_undefined_flag=' ${wl}-bernotok'
   9647 	  allow_undefined_flag=' ${wl}-berok'
   9648 	  if test "$with_gnu_ld" = yes; then
   9649 	    # We only use this code for GNU lds that support --whole-archive.
   9650 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9651 	  else
   9652 	    # Exported symbols can be pulled into shared objects from archives
   9653 	    whole_archive_flag_spec='$convenience'
   9654 	  fi
   9655 	  archive_cmds_need_lc=yes
   9656 	  # This is similar to how AIX traditionally builds its shared libraries.
   9657 	  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'
   9658 	fi
   9659       fi
   9660       ;;
   9661 
   9662     amigaos*)
   9663       case $host_cpu in
   9664       powerpc)
   9665             # see comment about AmigaOS4 .so support
   9666             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9667             archive_expsym_cmds=''
   9668         ;;
   9669       m68k)
   9670             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)'
   9671             hardcode_libdir_flag_spec='-L$libdir'
   9672             hardcode_minus_L=yes
   9673         ;;
   9674       esac
   9675       ;;
   9676 
   9677     bsdi[45]*)
   9678       export_dynamic_flag_spec=-rdynamic
   9679       ;;
   9680 
   9681     cygwin* | mingw* | pw32* | cegcc*)
   9682       # When not using gcc, we currently assume that we are using
   9683       # Microsoft Visual C++.
   9684       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9685       # no search path for DLLs.
   9686       hardcode_libdir_flag_spec=' '
   9687       allow_undefined_flag=unsupported
   9688       # Tell ltmain to make .lib files, not .a files.
   9689       libext=lib
   9690       # Tell ltmain to make .dll files, not .so files.
   9691       shrext_cmds=".dll"
   9692       # FIXME: Setting linknames here is a bad hack.
   9693       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9694       # The linker will automatically build a .lib file if we build a DLL.
   9695       old_archive_from_new_cmds='true'
   9696       # FIXME: Should let the user specify the lib program.
   9697       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9698       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9699       enable_shared_with_static_runtimes=yes
   9700       ;;
   9701 
   9702     darwin* | rhapsody*)
   9703 
   9704 
   9705   archive_cmds_need_lc=no
   9706   hardcode_direct=no
   9707   hardcode_automatic=yes
   9708   hardcode_shlibpath_var=unsupported
   9709   if test "$lt_cv_ld_force_load" = "yes"; then
   9710     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\"`'
   9711   else
   9712     whole_archive_flag_spec=''
   9713   fi
   9714   link_all_deplibs=yes
   9715   allow_undefined_flag="$_lt_dar_allow_undefined"
   9716   case $cc_basename in
   9717      ifort*) _lt_dar_can_shared=yes ;;
   9718      *) _lt_dar_can_shared=$GCC ;;
   9719   esac
   9720   if test "$_lt_dar_can_shared" = "yes"; then
   9721     output_verbose_link_cmd=func_echo_all
   9722     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9723     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9724     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}"
   9725     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}"
   9726 
   9727   else
   9728   ld_shlibs=no
   9729   fi
   9730 
   9731       ;;
   9732 
   9733     dgux*)
   9734       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9735       hardcode_libdir_flag_spec='-L$libdir'
   9736       hardcode_shlibpath_var=no
   9737       ;;
   9738 
   9739     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9740     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9741     # does not break anything, and helps significantly (at the cost of a little
   9742     # extra space).
   9743     freebsd2.2*)
   9744       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9745       hardcode_libdir_flag_spec='-R$libdir'
   9746       hardcode_direct=yes
   9747       hardcode_shlibpath_var=no
   9748       ;;
   9749 
   9750     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9751     freebsd2.*)
   9752       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9753       hardcode_direct=yes
   9754       hardcode_minus_L=yes
   9755       hardcode_shlibpath_var=no
   9756       ;;
   9757 
   9758     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9759     freebsd* | dragonfly*)
   9760       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9761       hardcode_libdir_flag_spec='-R$libdir'
   9762       hardcode_direct=yes
   9763       hardcode_shlibpath_var=no
   9764       ;;
   9765 
   9766     hpux9*)
   9767       if test "$GCC" = yes; then
   9768 	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'
   9769       else
   9770 	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'
   9771       fi
   9772       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9773       hardcode_libdir_separator=:
   9774       hardcode_direct=yes
   9775 
   9776       # hardcode_minus_L: Not really in the search PATH,
   9777       # but as the default location of the library.
   9778       hardcode_minus_L=yes
   9779       export_dynamic_flag_spec='${wl}-E'
   9780       ;;
   9781 
   9782     hpux10*)
   9783       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9784 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9785       else
   9786 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9787       fi
   9788       if test "$with_gnu_ld" = no; then
   9789 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9790 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9791 	hardcode_libdir_separator=:
   9792 	hardcode_direct=yes
   9793 	hardcode_direct_absolute=yes
   9794 	export_dynamic_flag_spec='${wl}-E'
   9795 	# hardcode_minus_L: Not really in the search PATH,
   9796 	# but as the default location of the library.
   9797 	hardcode_minus_L=yes
   9798       fi
   9799       ;;
   9800 
   9801     hpux11*)
   9802       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9803 	case $host_cpu in
   9804 	hppa*64*)
   9805 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9806 	  ;;
   9807 	ia64*)
   9808 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9809 	  ;;
   9810 	*)
   9811 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9812 	  ;;
   9813 	esac
   9814       else
   9815 	case $host_cpu in
   9816 	hppa*64*)
   9817 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9818 	  ;;
   9819 	ia64*)
   9820 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9821 	  ;;
   9822 	*)
   9823 
   9824 	  # Older versions of the 11.00 compiler do not understand -b yet
   9825 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9826 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9827 $as_echo_n "checking if $CC understands -b... " >&6; }
   9828 if ${lt_cv_prog_compiler__b+:} false; then :
   9829   $as_echo_n "(cached) " >&6
   9830 else
   9831   lt_cv_prog_compiler__b=no
   9832    save_LDFLAGS="$LDFLAGS"
   9833    LDFLAGS="$LDFLAGS -b"
   9834    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9835    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9836      # The linker can only warn and ignore the option if not recognized
   9837      # So say no if there are warnings
   9838      if test -s conftest.err; then
   9839        # Append any errors to the config.log.
   9840        cat conftest.err 1>&5
   9841        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9842        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9843        if diff conftest.exp conftest.er2 >/dev/null; then
   9844          lt_cv_prog_compiler__b=yes
   9845        fi
   9846      else
   9847        lt_cv_prog_compiler__b=yes
   9848      fi
   9849    fi
   9850    $RM -r conftest*
   9851    LDFLAGS="$save_LDFLAGS"
   9852 
   9853 fi
   9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9855 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9856 
   9857 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9858     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9859 else
   9860     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9861 fi
   9862 
   9863 	  ;;
   9864 	esac
   9865       fi
   9866       if test "$with_gnu_ld" = no; then
   9867 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9868 	hardcode_libdir_separator=:
   9869 
   9870 	case $host_cpu in
   9871 	hppa*64*|ia64*)
   9872 	  hardcode_direct=no
   9873 	  hardcode_shlibpath_var=no
   9874 	  ;;
   9875 	*)
   9876 	  hardcode_direct=yes
   9877 	  hardcode_direct_absolute=yes
   9878 	  export_dynamic_flag_spec='${wl}-E'
   9879 
   9880 	  # hardcode_minus_L: Not really in the search PATH,
   9881 	  # but as the default location of the library.
   9882 	  hardcode_minus_L=yes
   9883 	  ;;
   9884 	esac
   9885       fi
   9886       ;;
   9887 
   9888     irix5* | irix6* | nonstopux*)
   9889       if test "$GCC" = yes; then
   9890 	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'
   9891 	# Try to use the -exported_symbol ld option, if it does not
   9892 	# work, assume that -exports_file does not work either and
   9893 	# implicitly export all symbols.
   9894         save_LDFLAGS="$LDFLAGS"
   9895         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9896         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9897 /* end confdefs.h.  */
   9898 int foo(void) {}
   9899 _ACEOF
   9900 if ac_fn_c_try_link "$LINENO"; then :
   9901   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'
   9902 
   9903 fi
   9904 rm -f core conftest.err conftest.$ac_objext \
   9905     conftest$ac_exeext conftest.$ac_ext
   9906         LDFLAGS="$save_LDFLAGS"
   9907       else
   9908 	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'
   9909 	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'
   9910       fi
   9911       archive_cmds_need_lc='no'
   9912       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9913       hardcode_libdir_separator=:
   9914       inherit_rpath=yes
   9915       link_all_deplibs=yes
   9916       ;;
   9917 
   9918     netbsd*)
   9919       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9920 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9921       else
   9922 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9923       fi
   9924       hardcode_libdir_flag_spec='-R$libdir'
   9925       hardcode_direct=yes
   9926       hardcode_shlibpath_var=no
   9927       ;;
   9928 
   9929     newsos6)
   9930       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9931       hardcode_direct=yes
   9932       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9933       hardcode_libdir_separator=:
   9934       hardcode_shlibpath_var=no
   9935       ;;
   9936 
   9937     *nto* | *qnx*)
   9938       ;;
   9939 
   9940     openbsd*)
   9941       if test -f /usr/libexec/ld.so; then
   9942 	hardcode_direct=yes
   9943 	hardcode_shlibpath_var=no
   9944 	hardcode_direct_absolute=yes
   9945 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9946 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9947 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9948 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9949 	  export_dynamic_flag_spec='${wl}-E'
   9950 	else
   9951 	  case $host_os in
   9952 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9953 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9954 	     hardcode_libdir_flag_spec='-R$libdir'
   9955 	     ;;
   9956 	   *)
   9957 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9958 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9959 	     ;;
   9960 	  esac
   9961 	fi
   9962       else
   9963 	ld_shlibs=no
   9964       fi
   9965       ;;
   9966 
   9967     os2*)
   9968       hardcode_libdir_flag_spec='-L$libdir'
   9969       hardcode_minus_L=yes
   9970       allow_undefined_flag=unsupported
   9971       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'
   9972       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9973       ;;
   9974 
   9975     osf3*)
   9976       if test "$GCC" = yes; then
   9977 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9978 	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'
   9979       else
   9980 	allow_undefined_flag=' -expect_unresolved \*'
   9981 	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'
   9982       fi
   9983       archive_cmds_need_lc='no'
   9984       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9985       hardcode_libdir_separator=:
   9986       ;;
   9987 
   9988     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9989       if test "$GCC" = yes; then
   9990 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9991 	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'
   9992 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9993       else
   9994 	allow_undefined_flag=' -expect_unresolved \*'
   9995 	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'
   9996 	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~
   9997 	$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'
   9998 
   9999 	# Both c and cxx compiler support -rpath directly
   10000 	hardcode_libdir_flag_spec='-rpath $libdir'
   10001       fi
   10002       archive_cmds_need_lc='no'
   10003       hardcode_libdir_separator=:
   10004       ;;
   10005 
   10006     solaris*)
   10007       no_undefined_flag=' -z defs'
   10008       if test "$GCC" = yes; then
   10009 	wlarc='${wl}'
   10010 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10011 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10012 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10013       else
   10014 	case `$CC -V 2>&1` in
   10015 	*"Compilers 5.0"*)
   10016 	  wlarc=''
   10017 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10018 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10019 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10020 	  ;;
   10021 	*)
   10022 	  wlarc='${wl}'
   10023 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10024 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10025 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10026 	  ;;
   10027 	esac
   10028       fi
   10029       hardcode_libdir_flag_spec='-R$libdir'
   10030       hardcode_shlibpath_var=no
   10031       case $host_os in
   10032       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10033       *)
   10034 	# The compiler driver will combine and reorder linker options,
   10035 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10036 	# but is careful enough not to reorder.
   10037 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10038 	if test "$GCC" = yes; then
   10039 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10040 	else
   10041 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10042 	fi
   10043 	;;
   10044       esac
   10045       link_all_deplibs=yes
   10046       ;;
   10047 
   10048     sunos4*)
   10049       if test "x$host_vendor" = xsequent; then
   10050 	# Use $CC to link under sequent, because it throws in some extra .o
   10051 	# files that make .init and .fini sections work.
   10052 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10053       else
   10054 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10055       fi
   10056       hardcode_libdir_flag_spec='-L$libdir'
   10057       hardcode_direct=yes
   10058       hardcode_minus_L=yes
   10059       hardcode_shlibpath_var=no
   10060       ;;
   10061 
   10062     sysv4)
   10063       case $host_vendor in
   10064 	sni)
   10065 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10066 	  hardcode_direct=yes # is this really true???
   10067 	;;
   10068 	siemens)
   10069 	  ## LD is ld it makes a PLAMLIB
   10070 	  ## CC just makes a GrossModule.
   10071 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10072 	  reload_cmds='$CC -r -o $output$reload_objs'
   10073 	  hardcode_direct=no
   10074         ;;
   10075 	motorola)
   10076 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10077 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10078 	;;
   10079       esac
   10080       runpath_var='LD_RUN_PATH'
   10081       hardcode_shlibpath_var=no
   10082       ;;
   10083 
   10084     sysv4.3*)
   10085       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10086       hardcode_shlibpath_var=no
   10087       export_dynamic_flag_spec='-Bexport'
   10088       ;;
   10089 
   10090     sysv4*MP*)
   10091       if test -d /usr/nec; then
   10092 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10093 	hardcode_shlibpath_var=no
   10094 	runpath_var=LD_RUN_PATH
   10095 	hardcode_runpath_var=yes
   10096 	ld_shlibs=yes
   10097       fi
   10098       ;;
   10099 
   10100     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10101       no_undefined_flag='${wl}-z,text'
   10102       archive_cmds_need_lc=no
   10103       hardcode_shlibpath_var=no
   10104       runpath_var='LD_RUN_PATH'
   10105 
   10106       if test "$GCC" = yes; then
   10107 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10108 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10109       else
   10110 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10111 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10112       fi
   10113       ;;
   10114 
   10115     sysv5* | sco3.2v5* | sco5v6*)
   10116       # Note: We can NOT use -z defs as we might desire, because we do not
   10117       # link with -lc, and that would cause any symbols used from libc to
   10118       # always be unresolved, which means just about no library would
   10119       # ever link correctly.  If we're not using GNU ld we use -z text
   10120       # though, which does catch some bad symbols but isn't as heavy-handed
   10121       # as -z defs.
   10122       no_undefined_flag='${wl}-z,text'
   10123       allow_undefined_flag='${wl}-z,nodefs'
   10124       archive_cmds_need_lc=no
   10125       hardcode_shlibpath_var=no
   10126       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10127       hardcode_libdir_separator=':'
   10128       link_all_deplibs=yes
   10129       export_dynamic_flag_spec='${wl}-Bexport'
   10130       runpath_var='LD_RUN_PATH'
   10131 
   10132       if test "$GCC" = yes; then
   10133 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10134 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10135       else
   10136 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10137 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10138       fi
   10139       ;;
   10140 
   10141     uts4*)
   10142       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10143       hardcode_libdir_flag_spec='-L$libdir'
   10144       hardcode_shlibpath_var=no
   10145       ;;
   10146 
   10147     *)
   10148       ld_shlibs=no
   10149       ;;
   10150     esac
   10151 
   10152     if test x$host_vendor = xsni; then
   10153       case $host in
   10154       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10155 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10156 	;;
   10157       esac
   10158     fi
   10159   fi
   10160 
   10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10162 $as_echo "$ld_shlibs" >&6; }
   10163 test "$ld_shlibs" = no && can_build_shared=no
   10164 
   10165 with_gnu_ld=$with_gnu_ld
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 #
   10182 # Do we need to explicitly link libc?
   10183 #
   10184 case "x$archive_cmds_need_lc" in
   10185 x|xyes)
   10186   # Assume -lc should be added
   10187   archive_cmds_need_lc=yes
   10188 
   10189   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10190     case $archive_cmds in
   10191     *'~'*)
   10192       # FIXME: we may have to deal with multi-command sequences.
   10193       ;;
   10194     '$CC '*)
   10195       # Test whether the compiler implicitly links with -lc since on some
   10196       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10197       # to ld, don't add -lc before -lgcc.
   10198       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10199 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10200 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10201   $as_echo_n "(cached) " >&6
   10202 else
   10203   $RM conftest*
   10204 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10205 
   10206 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10207   (eval $ac_compile) 2>&5
   10208   ac_status=$?
   10209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10210   test $ac_status = 0; } 2>conftest.err; then
   10211 	  soname=conftest
   10212 	  lib=conftest
   10213 	  libobjs=conftest.$ac_objext
   10214 	  deplibs=
   10215 	  wl=$lt_prog_compiler_wl
   10216 	  pic_flag=$lt_prog_compiler_pic
   10217 	  compiler_flags=-v
   10218 	  linker_flags=-v
   10219 	  verstring=
   10220 	  output_objdir=.
   10221 	  libname=conftest
   10222 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10223 	  allow_undefined_flag=
   10224 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10225   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10226   ac_status=$?
   10227   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10228   test $ac_status = 0; }
   10229 	  then
   10230 	    lt_cv_archive_cmds_need_lc=no
   10231 	  else
   10232 	    lt_cv_archive_cmds_need_lc=yes
   10233 	  fi
   10234 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10235 	else
   10236 	  cat conftest.err 1>&5
   10237 	fi
   10238 	$RM conftest*
   10239 
   10240 fi
   10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10242 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10243       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10244       ;;
   10245     esac
   10246   fi
   10247   ;;
   10248 esac
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10407 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10408 
   10409 if test "$GCC" = yes; then
   10410   case $host_os in
   10411     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10412     *) lt_awk_arg="/^libraries:/" ;;
   10413   esac
   10414   case $host_os in
   10415     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10416     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10417   esac
   10418   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10419   case $lt_search_path_spec in
   10420   *\;*)
   10421     # if the path contains ";" then we assume it to be the separator
   10422     # otherwise default to the standard path separator (i.e. ":") - it is
   10423     # assumed that no part of a normal pathname contains ";" but that should
   10424     # okay in the real world where ";" in dirpaths is itself problematic.
   10425     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10426     ;;
   10427   *)
   10428     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10429     ;;
   10430   esac
   10431   # Ok, now we have the path, separated by spaces, we can step through it
   10432   # and add multilib dir if necessary.
   10433   lt_tmp_lt_search_path_spec=
   10434   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10435   for lt_sys_path in $lt_search_path_spec; do
   10436     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10437       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10438     else
   10439       test -d "$lt_sys_path" && \
   10440 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10441     fi
   10442   done
   10443   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10444 BEGIN {RS=" "; FS="/|\n";} {
   10445   lt_foo="";
   10446   lt_count=0;
   10447   for (lt_i = NF; lt_i > 0; lt_i--) {
   10448     if ($lt_i != "" && $lt_i != ".") {
   10449       if ($lt_i == "..") {
   10450         lt_count++;
   10451       } else {
   10452         if (lt_count == 0) {
   10453           lt_foo="/" $lt_i lt_foo;
   10454         } else {
   10455           lt_count--;
   10456         }
   10457       }
   10458     }
   10459   }
   10460   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10461   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10462 }'`
   10463   # AWK program above erroneously prepends '/' to C:/dos/paths
   10464   # for these hosts.
   10465   case $host_os in
   10466     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10467       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10468   esac
   10469   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10470 else
   10471   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10472 fi
   10473 library_names_spec=
   10474 libname_spec='lib$name'
   10475 soname_spec=
   10476 shrext_cmds=".so"
   10477 postinstall_cmds=
   10478 postuninstall_cmds=
   10479 finish_cmds=
   10480 finish_eval=
   10481 shlibpath_var=
   10482 shlibpath_overrides_runpath=unknown
   10483 version_type=none
   10484 dynamic_linker="$host_os ld.so"
   10485 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10486 need_lib_prefix=unknown
   10487 hardcode_into_libs=no
   10488 
   10489 # when you set need_version to no, make sure it does not cause -set_version
   10490 # flags to be left without arguments
   10491 need_version=unknown
   10492 
   10493 case $host_os in
   10494 aix3*)
   10495   version_type=linux
   10496   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10497   shlibpath_var=LIBPATH
   10498 
   10499   # AIX 3 has no versioning support, so we append a major version to the name.
   10500   soname_spec='${libname}${release}${shared_ext}$major'
   10501   ;;
   10502 
   10503 aix[4-9]*)
   10504   version_type=linux
   10505   need_lib_prefix=no
   10506   need_version=no
   10507   hardcode_into_libs=yes
   10508   if test "$host_cpu" = ia64; then
   10509     # AIX 5 supports IA64
   10510     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10511     shlibpath_var=LD_LIBRARY_PATH
   10512   else
   10513     # With GCC up to 2.95.x, collect2 would create an import file
   10514     # for dependence libraries.  The import file would start with
   10515     # the line `#! .'.  This would cause the generated library to
   10516     # depend on `.', always an invalid library.  This was fixed in
   10517     # development snapshots of GCC prior to 3.0.
   10518     case $host_os in
   10519       aix4 | aix4.[01] | aix4.[01].*)
   10520       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10521 	   echo ' yes '
   10522 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10523 	:
   10524       else
   10525 	can_build_shared=no
   10526       fi
   10527       ;;
   10528     esac
   10529     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10530     # soname into executable. Probably we can add versioning support to
   10531     # collect2, so additional links can be useful in future.
   10532     if test "$aix_use_runtimelinking" = yes; then
   10533       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10534       # instead of lib<name>.a to let people know that these are not
   10535       # typical AIX shared libraries.
   10536       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10537     else
   10538       # We preserve .a as extension for shared libraries through AIX4.2
   10539       # and later when we are not doing run time linking.
   10540       library_names_spec='${libname}${release}.a $libname.a'
   10541       soname_spec='${libname}${release}${shared_ext}$major'
   10542     fi
   10543     shlibpath_var=LIBPATH
   10544   fi
   10545   ;;
   10546 
   10547 amigaos*)
   10548   case $host_cpu in
   10549   powerpc)
   10550     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10551     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10552     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10553     ;;
   10554   m68k)
   10555     library_names_spec='$libname.ixlibrary $libname.a'
   10556     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10557     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'
   10558     ;;
   10559   esac
   10560   ;;
   10561 
   10562 beos*)
   10563   library_names_spec='${libname}${shared_ext}'
   10564   dynamic_linker="$host_os ld.so"
   10565   shlibpath_var=LIBRARY_PATH
   10566   ;;
   10567 
   10568 bsdi[45]*)
   10569   version_type=linux
   10570   need_version=no
   10571   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10572   soname_spec='${libname}${release}${shared_ext}$major'
   10573   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10574   shlibpath_var=LD_LIBRARY_PATH
   10575   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10576   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10577   # the default ld.so.conf also contains /usr/contrib/lib and
   10578   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10579   # libtool to hard-code these into programs
   10580   ;;
   10581 
   10582 cygwin* | mingw* | pw32* | cegcc*)
   10583   version_type=windows
   10584   shrext_cmds=".dll"
   10585   need_version=no
   10586   need_lib_prefix=no
   10587 
   10588   case $GCC,$host_os in
   10589   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10590     library_names_spec='$libname.dll.a'
   10591     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10592     postinstall_cmds='base_file=`basename \${file}`~
   10593       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10594       dldir=$destdir/`dirname \$dlpath`~
   10595       test -d \$dldir || mkdir -p \$dldir~
   10596       $install_prog $dir/$dlname \$dldir/$dlname~
   10597       chmod a+x \$dldir/$dlname~
   10598       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10599         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10600       fi'
   10601     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10602       dlpath=$dir/\$dldll~
   10603        $RM \$dlpath'
   10604     shlibpath_overrides_runpath=yes
   10605 
   10606     case $host_os in
   10607     cygwin*)
   10608       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10609       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10610 
   10611       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10612       ;;
   10613     mingw* | cegcc*)
   10614       # MinGW DLLs use traditional 'lib' prefix
   10615       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10616       ;;
   10617     pw32*)
   10618       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10619       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10620       ;;
   10621     esac
   10622     ;;
   10623 
   10624   *)
   10625     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10626     ;;
   10627   esac
   10628   dynamic_linker='Win32 ld.exe'
   10629   # FIXME: first we should search . and the directory the executable is in
   10630   shlibpath_var=PATH
   10631   ;;
   10632 
   10633 darwin* | rhapsody*)
   10634   dynamic_linker="$host_os dyld"
   10635   version_type=darwin
   10636   need_lib_prefix=no
   10637   need_version=no
   10638   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10639   soname_spec='${libname}${release}${major}$shared_ext'
   10640   shlibpath_overrides_runpath=yes
   10641   shlibpath_var=DYLD_LIBRARY_PATH
   10642   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10643 
   10644   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10645   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10646   ;;
   10647 
   10648 dgux*)
   10649   version_type=linux
   10650   need_lib_prefix=no
   10651   need_version=no
   10652   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10653   soname_spec='${libname}${release}${shared_ext}$major'
   10654   shlibpath_var=LD_LIBRARY_PATH
   10655   ;;
   10656 
   10657 freebsd* | dragonfly*)
   10658   # DragonFly does not have aout.  When/if they implement a new
   10659   # versioning mechanism, adjust this.
   10660   if test -x /usr/bin/objformat; then
   10661     objformat=`/usr/bin/objformat`
   10662   else
   10663     case $host_os in
   10664     freebsd[23].*) objformat=aout ;;
   10665     *) objformat=elf ;;
   10666     esac
   10667   fi
   10668   version_type=freebsd-$objformat
   10669   case $version_type in
   10670     freebsd-elf*)
   10671       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10672       need_version=no
   10673       need_lib_prefix=no
   10674       ;;
   10675     freebsd-*)
   10676       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10677       need_version=yes
   10678       ;;
   10679   esac
   10680   shlibpath_var=LD_LIBRARY_PATH
   10681   case $host_os in
   10682   freebsd2.*)
   10683     shlibpath_overrides_runpath=yes
   10684     ;;
   10685   freebsd3.[01]* | freebsdelf3.[01]*)
   10686     shlibpath_overrides_runpath=yes
   10687     hardcode_into_libs=yes
   10688     ;;
   10689   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10690   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10691     shlibpath_overrides_runpath=no
   10692     hardcode_into_libs=yes
   10693     ;;
   10694   *) # from 4.6 on, and DragonFly
   10695     shlibpath_overrides_runpath=yes
   10696     hardcode_into_libs=yes
   10697     ;;
   10698   esac
   10699   ;;
   10700 
   10701 haiku*)
   10702   version_type=linux
   10703   need_lib_prefix=no
   10704   need_version=no
   10705   dynamic_linker="$host_os runtime_loader"
   10706   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10707   soname_spec='${libname}${release}${shared_ext}$major'
   10708   shlibpath_var=LIBRARY_PATH
   10709   shlibpath_overrides_runpath=yes
   10710   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10711   hardcode_into_libs=yes
   10712   ;;
   10713 
   10714 hpux9* | hpux10* | hpux11*)
   10715   # Give a soname corresponding to the major version so that dld.sl refuses to
   10716   # link against other versions.
   10717   version_type=sunos
   10718   need_lib_prefix=no
   10719   need_version=no
   10720   case $host_cpu in
   10721   ia64*)
   10722     shrext_cmds='.so'
   10723     hardcode_into_libs=yes
   10724     dynamic_linker="$host_os dld.so"
   10725     shlibpath_var=LD_LIBRARY_PATH
   10726     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10727     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10728     soname_spec='${libname}${release}${shared_ext}$major'
   10729     if test "X$HPUX_IA64_MODE" = X32; then
   10730       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10731     else
   10732       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10733     fi
   10734     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10735     ;;
   10736   hppa*64*)
   10737     shrext_cmds='.sl'
   10738     hardcode_into_libs=yes
   10739     dynamic_linker="$host_os dld.sl"
   10740     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10741     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10742     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10743     soname_spec='${libname}${release}${shared_ext}$major'
   10744     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10745     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10746     ;;
   10747   *)
   10748     shrext_cmds='.sl'
   10749     dynamic_linker="$host_os dld.sl"
   10750     shlibpath_var=SHLIB_PATH
   10751     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10752     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10753     soname_spec='${libname}${release}${shared_ext}$major'
   10754     ;;
   10755   esac
   10756   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10757   postinstall_cmds='chmod 555 $lib'
   10758   # or fails outright, so override atomically:
   10759   install_override_mode=555
   10760   ;;
   10761 
   10762 interix[3-9]*)
   10763   version_type=linux
   10764   need_lib_prefix=no
   10765   need_version=no
   10766   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10767   soname_spec='${libname}${release}${shared_ext}$major'
   10768   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10769   shlibpath_var=LD_LIBRARY_PATH
   10770   shlibpath_overrides_runpath=no
   10771   hardcode_into_libs=yes
   10772   ;;
   10773 
   10774 irix5* | irix6* | nonstopux*)
   10775   case $host_os in
   10776     nonstopux*) version_type=nonstopux ;;
   10777     *)
   10778 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10779 		version_type=linux
   10780 	else
   10781 		version_type=irix
   10782 	fi ;;
   10783   esac
   10784   need_lib_prefix=no
   10785   need_version=no
   10786   soname_spec='${libname}${release}${shared_ext}$major'
   10787   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10788   case $host_os in
   10789   irix5* | nonstopux*)
   10790     libsuff= shlibsuff=
   10791     ;;
   10792   *)
   10793     case $LD in # libtool.m4 will add one of these switches to LD
   10794     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10795       libsuff= shlibsuff= libmagic=32-bit;;
   10796     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10797       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10798     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10799       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10800     *) libsuff= shlibsuff= libmagic=never-match;;
   10801     esac
   10802     ;;
   10803   esac
   10804   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10805   shlibpath_overrides_runpath=no
   10806   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10807   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10808   hardcode_into_libs=yes
   10809   ;;
   10810 
   10811 # No shared lib support for Linux oldld, aout, or coff.
   10812 linux*oldld* | linux*aout* | linux*coff*)
   10813   dynamic_linker=no
   10814   ;;
   10815 
   10816 # This must be Linux ELF.
   10817 
   10818 # uclinux* changes (here and below) have been submitted to the libtool
   10819 # project, but have not yet been accepted: they are GCC-local changes
   10820 # for the time being.  (See
   10821 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   10822 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   10823   version_type=linux
   10824   need_lib_prefix=no
   10825   need_version=no
   10826   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10827   soname_spec='${libname}${release}${shared_ext}$major'
   10828   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10829   shlibpath_var=LD_LIBRARY_PATH
   10830   shlibpath_overrides_runpath=no
   10831 
   10832   # Some binutils ld are patched to set DT_RUNPATH
   10833   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10834   $as_echo_n "(cached) " >&6
   10835 else
   10836   lt_cv_shlibpath_overrides_runpath=no
   10837     save_LDFLAGS=$LDFLAGS
   10838     save_libdir=$libdir
   10839     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10840 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10841     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10842 /* end confdefs.h.  */
   10843 
   10844 int
   10845 main ()
   10846 {
   10847 
   10848   ;
   10849   return 0;
   10850 }
   10851 _ACEOF
   10852 if ac_fn_c_try_link "$LINENO"; then :
   10853   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10854   lt_cv_shlibpath_overrides_runpath=yes
   10855 fi
   10856 fi
   10857 rm -f core conftest.err conftest.$ac_objext \
   10858     conftest$ac_exeext conftest.$ac_ext
   10859     LDFLAGS=$save_LDFLAGS
   10860     libdir=$save_libdir
   10861 
   10862 fi
   10863 
   10864   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10865 
   10866   # This implies no fast_install, which is unacceptable.
   10867   # Some rework will be needed to allow for fast_install
   10868   # before this can be enabled.
   10869   hardcode_into_libs=yes
   10870 
   10871   # Append ld.so.conf contents to the search path
   10872   if test -f /etc/ld.so.conf; then
   10873     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' ' '`
   10874     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10875   fi
   10876 
   10877   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10878   # powerpc, because MkLinux only supported shared libraries with the
   10879   # GNU dynamic linker.  Since this was broken with cross compilers,
   10880   # most powerpc-linux boxes support dynamic linking these days and
   10881   # people can always --disable-shared, the test was removed, and we
   10882   # assume the GNU/Linux dynamic linker is in use.
   10883   dynamic_linker='GNU/Linux ld.so'
   10884   ;;
   10885 
   10886 netbsd*)
   10887   version_type=sunos
   10888   need_lib_prefix=no
   10889   need_version=no
   10890   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10891     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10892     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10893     dynamic_linker='NetBSD (a.out) ld.so'
   10894   else
   10895     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10896     soname_spec='${libname}${release}${shared_ext}$major'
   10897     dynamic_linker='NetBSD ld.elf_so'
   10898   fi
   10899   shlibpath_var=LD_LIBRARY_PATH
   10900   shlibpath_overrides_runpath=yes
   10901   hardcode_into_libs=yes
   10902   ;;
   10903 
   10904 newsos6)
   10905   version_type=linux
   10906   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10907   shlibpath_var=LD_LIBRARY_PATH
   10908   shlibpath_overrides_runpath=yes
   10909   ;;
   10910 
   10911 *nto* | *qnx*)
   10912   version_type=qnx
   10913   need_lib_prefix=no
   10914   need_version=no
   10915   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10916   soname_spec='${libname}${release}${shared_ext}$major'
   10917   shlibpath_var=LD_LIBRARY_PATH
   10918   shlibpath_overrides_runpath=no
   10919   hardcode_into_libs=yes
   10920   dynamic_linker='ldqnx.so'
   10921   ;;
   10922 
   10923 openbsd*)
   10924   version_type=sunos
   10925   sys_lib_dlsearch_path_spec="/usr/lib"
   10926   need_lib_prefix=no
   10927   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10928   case $host_os in
   10929     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10930     *)				need_version=no  ;;
   10931   esac
   10932   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10933   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10934   shlibpath_var=LD_LIBRARY_PATH
   10935   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10936     case $host_os in
   10937       openbsd2.[89] | openbsd2.[89].*)
   10938 	shlibpath_overrides_runpath=no
   10939 	;;
   10940       *)
   10941 	shlibpath_overrides_runpath=yes
   10942 	;;
   10943       esac
   10944   else
   10945     shlibpath_overrides_runpath=yes
   10946   fi
   10947   ;;
   10948 
   10949 os2*)
   10950   libname_spec='$name'
   10951   shrext_cmds=".dll"
   10952   need_lib_prefix=no
   10953   library_names_spec='$libname${shared_ext} $libname.a'
   10954   dynamic_linker='OS/2 ld.exe'
   10955   shlibpath_var=LIBPATH
   10956   ;;
   10957 
   10958 osf3* | osf4* | osf5*)
   10959   version_type=osf
   10960   need_lib_prefix=no
   10961   need_version=no
   10962   soname_spec='${libname}${release}${shared_ext}$major'
   10963   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10964   shlibpath_var=LD_LIBRARY_PATH
   10965   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10966   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10967   ;;
   10968 
   10969 rdos*)
   10970   dynamic_linker=no
   10971   ;;
   10972 
   10973 solaris*)
   10974   version_type=linux
   10975   need_lib_prefix=no
   10976   need_version=no
   10977   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10978   soname_spec='${libname}${release}${shared_ext}$major'
   10979   shlibpath_var=LD_LIBRARY_PATH
   10980   shlibpath_overrides_runpath=yes
   10981   hardcode_into_libs=yes
   10982   # ldd complains unless libraries are executable
   10983   postinstall_cmds='chmod +x $lib'
   10984   ;;
   10985 
   10986 sunos4*)
   10987   version_type=sunos
   10988   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10989   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10990   shlibpath_var=LD_LIBRARY_PATH
   10991   shlibpath_overrides_runpath=yes
   10992   if test "$with_gnu_ld" = yes; then
   10993     need_lib_prefix=no
   10994   fi
   10995   need_version=yes
   10996   ;;
   10997 
   10998 sysv4 | sysv4.3*)
   10999   version_type=linux
   11000   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11001   soname_spec='${libname}${release}${shared_ext}$major'
   11002   shlibpath_var=LD_LIBRARY_PATH
   11003   case $host_vendor in
   11004     sni)
   11005       shlibpath_overrides_runpath=no
   11006       need_lib_prefix=no
   11007       runpath_var=LD_RUN_PATH
   11008       ;;
   11009     siemens)
   11010       need_lib_prefix=no
   11011       ;;
   11012     motorola)
   11013       need_lib_prefix=no
   11014       need_version=no
   11015       shlibpath_overrides_runpath=no
   11016       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11017       ;;
   11018   esac
   11019   ;;
   11020 
   11021 sysv4*MP*)
   11022   if test -d /usr/nec ;then
   11023     version_type=linux
   11024     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11025     soname_spec='$libname${shared_ext}.$major'
   11026     shlibpath_var=LD_LIBRARY_PATH
   11027   fi
   11028   ;;
   11029 
   11030 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11031   version_type=freebsd-elf
   11032   need_lib_prefix=no
   11033   need_version=no
   11034   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11035   soname_spec='${libname}${release}${shared_ext}$major'
   11036   shlibpath_var=LD_LIBRARY_PATH
   11037   shlibpath_overrides_runpath=yes
   11038   hardcode_into_libs=yes
   11039   if test "$with_gnu_ld" = yes; then
   11040     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11041   else
   11042     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11043     case $host_os in
   11044       sco3.2v5*)
   11045         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11046 	;;
   11047     esac
   11048   fi
   11049   sys_lib_dlsearch_path_spec='/usr/lib'
   11050   ;;
   11051 
   11052 tpf*)
   11053   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11054   version_type=linux
   11055   need_lib_prefix=no
   11056   need_version=no
   11057   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11058   shlibpath_var=LD_LIBRARY_PATH
   11059   shlibpath_overrides_runpath=no
   11060   hardcode_into_libs=yes
   11061   ;;
   11062 
   11063 uts4*)
   11064   version_type=linux
   11065   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11066   soname_spec='${libname}${release}${shared_ext}$major'
   11067   shlibpath_var=LD_LIBRARY_PATH
   11068   ;;
   11069 
   11070 # Shared libraries for VwWorks, >= 7 only at this stage
   11071 # and (fpic) still incompatible with "large" code models
   11072 # in a few configurations. Only for RTP mode in any case,
   11073 # and upon explicit request at configure time.
   11074 vxworks7*)
   11075   dynamic_linker=no
   11076   case ${with_multisubdir}-${enable_shared} in
   11077     *large*)
   11078       ;;
   11079     *mrtp*-yes)
   11080       version_type=linux
   11081       need_lib_prefix=no
   11082       need_version=no
   11083       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11084       soname_spec='${libname}${release}${shared_ext}$major'
   11085       dynamic_linker="$host_os module_loader"
   11086       ;;
   11087   esac
   11088   ;;
   11089 *)
   11090   dynamic_linker=no
   11091   ;;
   11092 esac
   11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11094 $as_echo "$dynamic_linker" >&6; }
   11095 test "$dynamic_linker" = no && can_build_shared=no
   11096 
   11097 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11098 if test "$GCC" = yes; then
   11099   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11100 fi
   11101 
   11102 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11103   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11104 fi
   11105 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11106   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11107 fi
   11108 
   11109 
   11110 
   11111 
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 
   11178 
   11179 
   11180 
   11181 
   11182 
   11183 
   11184 
   11185 
   11186 
   11187 
   11188 
   11189 
   11190 
   11191 
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11201 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11202 hardcode_action=
   11203 if test -n "$hardcode_libdir_flag_spec" ||
   11204    test -n "$runpath_var" ||
   11205    test "X$hardcode_automatic" = "Xyes" ; then
   11206 
   11207   # We can hardcode non-existent directories.
   11208   if test "$hardcode_direct" != no &&
   11209      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11210      # have to relink, otherwise we might link with an installed library
   11211      # when we should be linking with a yet-to-be-installed one
   11212      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11213      test "$hardcode_minus_L" != no; then
   11214     # Linking always hardcodes the temporary library directory.
   11215     hardcode_action=relink
   11216   else
   11217     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11218     hardcode_action=immediate
   11219   fi
   11220 else
   11221   # We cannot hardcode anything, or else we can only hardcode existing
   11222   # directories.
   11223   hardcode_action=unsupported
   11224 fi
   11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11226 $as_echo "$hardcode_action" >&6; }
   11227 
   11228 if test "$hardcode_action" = relink ||
   11229    test "$inherit_rpath" = yes; then
   11230   # Fast installation is not supported
   11231   enable_fast_install=no
   11232 elif test "$shlibpath_overrides_runpath" = yes ||
   11233      test "$enable_shared" = no; then
   11234   # Fast installation is not necessary
   11235   enable_fast_install=needless
   11236 fi
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243   if test "x$enable_dlopen" != xyes; then
   11244   enable_dlopen=unknown
   11245   enable_dlopen_self=unknown
   11246   enable_dlopen_self_static=unknown
   11247 else
   11248   lt_cv_dlopen=no
   11249   lt_cv_dlopen_libs=
   11250 
   11251   case $host_os in
   11252   beos*)
   11253     lt_cv_dlopen="load_add_on"
   11254     lt_cv_dlopen_libs=
   11255     lt_cv_dlopen_self=yes
   11256     ;;
   11257 
   11258   mingw* | pw32* | cegcc*)
   11259     lt_cv_dlopen="LoadLibrary"
   11260     lt_cv_dlopen_libs=
   11261     ;;
   11262 
   11263   cygwin*)
   11264     lt_cv_dlopen="dlopen"
   11265     lt_cv_dlopen_libs=
   11266     ;;
   11267 
   11268   darwin*)
   11269   # if libdl is installed we need to link against it
   11270     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11271 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11272 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11273   $as_echo_n "(cached) " >&6
   11274 else
   11275   ac_check_lib_save_LIBS=$LIBS
   11276 LIBS="-ldl  $LIBS"
   11277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11278 /* end confdefs.h.  */
   11279 
   11280 /* Override any GCC internal prototype to avoid an error.
   11281    Use char because int might match the return type of a GCC
   11282    builtin and then its argument prototype would still apply.  */
   11283 #ifdef __cplusplus
   11284 extern "C"
   11285 #endif
   11286 char dlopen ();
   11287 int
   11288 main ()
   11289 {
   11290 return dlopen ();
   11291   ;
   11292   return 0;
   11293 }
   11294 _ACEOF
   11295 if ac_fn_c_try_link "$LINENO"; then :
   11296   ac_cv_lib_dl_dlopen=yes
   11297 else
   11298   ac_cv_lib_dl_dlopen=no
   11299 fi
   11300 rm -f core conftest.err conftest.$ac_objext \
   11301     conftest$ac_exeext conftest.$ac_ext
   11302 LIBS=$ac_check_lib_save_LIBS
   11303 fi
   11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11305 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11306 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11307   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11308 else
   11309 
   11310     lt_cv_dlopen="dyld"
   11311     lt_cv_dlopen_libs=
   11312     lt_cv_dlopen_self=yes
   11313 
   11314 fi
   11315 
   11316     ;;
   11317 
   11318   *)
   11319     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11320 if test "x$ac_cv_func_shl_load" = xyes; then :
   11321   lt_cv_dlopen="shl_load"
   11322 else
   11323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11324 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11325 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11326   $as_echo_n "(cached) " >&6
   11327 else
   11328   ac_check_lib_save_LIBS=$LIBS
   11329 LIBS="-ldld  $LIBS"
   11330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11331 /* end confdefs.h.  */
   11332 
   11333 /* Override any GCC internal prototype to avoid an error.
   11334    Use char because int might match the return type of a GCC
   11335    builtin and then its argument prototype would still apply.  */
   11336 #ifdef __cplusplus
   11337 extern "C"
   11338 #endif
   11339 char shl_load ();
   11340 int
   11341 main ()
   11342 {
   11343 return shl_load ();
   11344   ;
   11345   return 0;
   11346 }
   11347 _ACEOF
   11348 if ac_fn_c_try_link "$LINENO"; then :
   11349   ac_cv_lib_dld_shl_load=yes
   11350 else
   11351   ac_cv_lib_dld_shl_load=no
   11352 fi
   11353 rm -f core conftest.err conftest.$ac_objext \
   11354     conftest$ac_exeext conftest.$ac_ext
   11355 LIBS=$ac_check_lib_save_LIBS
   11356 fi
   11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11358 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11359 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11360   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11361 else
   11362   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11363 if test "x$ac_cv_func_dlopen" = xyes; then :
   11364   lt_cv_dlopen="dlopen"
   11365 else
   11366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11367 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11368 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11369   $as_echo_n "(cached) " >&6
   11370 else
   11371   ac_check_lib_save_LIBS=$LIBS
   11372 LIBS="-ldl  $LIBS"
   11373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11374 /* end confdefs.h.  */
   11375 
   11376 /* Override any GCC internal prototype to avoid an error.
   11377    Use char because int might match the return type of a GCC
   11378    builtin and then its argument prototype would still apply.  */
   11379 #ifdef __cplusplus
   11380 extern "C"
   11381 #endif
   11382 char dlopen ();
   11383 int
   11384 main ()
   11385 {
   11386 return dlopen ();
   11387   ;
   11388   return 0;
   11389 }
   11390 _ACEOF
   11391 if ac_fn_c_try_link "$LINENO"; then :
   11392   ac_cv_lib_dl_dlopen=yes
   11393 else
   11394   ac_cv_lib_dl_dlopen=no
   11395 fi
   11396 rm -f core conftest.err conftest.$ac_objext \
   11397     conftest$ac_exeext conftest.$ac_ext
   11398 LIBS=$ac_check_lib_save_LIBS
   11399 fi
   11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11401 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11402 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11403   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11404 else
   11405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11406 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11407 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11408   $as_echo_n "(cached) " >&6
   11409 else
   11410   ac_check_lib_save_LIBS=$LIBS
   11411 LIBS="-lsvld  $LIBS"
   11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11413 /* end confdefs.h.  */
   11414 
   11415 /* Override any GCC internal prototype to avoid an error.
   11416    Use char because int might match the return type of a GCC
   11417    builtin and then its argument prototype would still apply.  */
   11418 #ifdef __cplusplus
   11419 extern "C"
   11420 #endif
   11421 char dlopen ();
   11422 int
   11423 main ()
   11424 {
   11425 return dlopen ();
   11426   ;
   11427   return 0;
   11428 }
   11429 _ACEOF
   11430 if ac_fn_c_try_link "$LINENO"; then :
   11431   ac_cv_lib_svld_dlopen=yes
   11432 else
   11433   ac_cv_lib_svld_dlopen=no
   11434 fi
   11435 rm -f core conftest.err conftest.$ac_objext \
   11436     conftest$ac_exeext conftest.$ac_ext
   11437 LIBS=$ac_check_lib_save_LIBS
   11438 fi
   11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11440 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11441 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11442   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11443 else
   11444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11445 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11446 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11447   $as_echo_n "(cached) " >&6
   11448 else
   11449   ac_check_lib_save_LIBS=$LIBS
   11450 LIBS="-ldld  $LIBS"
   11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11452 /* end confdefs.h.  */
   11453 
   11454 /* Override any GCC internal prototype to avoid an error.
   11455    Use char because int might match the return type of a GCC
   11456    builtin and then its argument prototype would still apply.  */
   11457 #ifdef __cplusplus
   11458 extern "C"
   11459 #endif
   11460 char dld_link ();
   11461 int
   11462 main ()
   11463 {
   11464 return dld_link ();
   11465   ;
   11466   return 0;
   11467 }
   11468 _ACEOF
   11469 if ac_fn_c_try_link "$LINENO"; then :
   11470   ac_cv_lib_dld_dld_link=yes
   11471 else
   11472   ac_cv_lib_dld_dld_link=no
   11473 fi
   11474 rm -f core conftest.err conftest.$ac_objext \
   11475     conftest$ac_exeext conftest.$ac_ext
   11476 LIBS=$ac_check_lib_save_LIBS
   11477 fi
   11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11479 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11480 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11481   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11482 fi
   11483 
   11484 
   11485 fi
   11486 
   11487 
   11488 fi
   11489 
   11490 
   11491 fi
   11492 
   11493 
   11494 fi
   11495 
   11496 
   11497 fi
   11498 
   11499     ;;
   11500   esac
   11501 
   11502   if test "x$lt_cv_dlopen" != xno; then
   11503     enable_dlopen=yes
   11504   else
   11505     enable_dlopen=no
   11506   fi
   11507 
   11508   case $lt_cv_dlopen in
   11509   dlopen)
   11510     save_CPPFLAGS="$CPPFLAGS"
   11511     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11512 
   11513     save_LDFLAGS="$LDFLAGS"
   11514     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11515 
   11516     save_LIBS="$LIBS"
   11517     LIBS="$lt_cv_dlopen_libs $LIBS"
   11518 
   11519     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11520 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11521 if ${lt_cv_dlopen_self+:} false; then :
   11522   $as_echo_n "(cached) " >&6
   11523 else
   11524   	  if test "$cross_compiling" = yes; then :
   11525   lt_cv_dlopen_self=cross
   11526 else
   11527   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11528   lt_status=$lt_dlunknown
   11529   cat > conftest.$ac_ext <<_LT_EOF
   11530 #line 11530 "configure"
   11531 #include "confdefs.h"
   11532 
   11533 #if HAVE_DLFCN_H
   11534 #include <dlfcn.h>
   11535 #endif
   11536 
   11537 #include <stdio.h>
   11538 
   11539 #ifdef RTLD_GLOBAL
   11540 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11541 #else
   11542 #  ifdef DL_GLOBAL
   11543 #    define LT_DLGLOBAL		DL_GLOBAL
   11544 #  else
   11545 #    define LT_DLGLOBAL		0
   11546 #  endif
   11547 #endif
   11548 
   11549 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11550    find out it does not work in some platform. */
   11551 #ifndef LT_DLLAZY_OR_NOW
   11552 #  ifdef RTLD_LAZY
   11553 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11554 #  else
   11555 #    ifdef DL_LAZY
   11556 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11557 #    else
   11558 #      ifdef RTLD_NOW
   11559 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11560 #      else
   11561 #        ifdef DL_NOW
   11562 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11563 #        else
   11564 #          define LT_DLLAZY_OR_NOW	0
   11565 #        endif
   11566 #      endif
   11567 #    endif
   11568 #  endif
   11569 #endif
   11570 
   11571 /* When -fvisbility=hidden is used, assume the code has been annotated
   11572    correspondingly for the symbols needed.  */
   11573 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11574 void fnord () __attribute__((visibility("default")));
   11575 #endif
   11576 
   11577 void fnord () { int i=42; }
   11578 int main ()
   11579 {
   11580   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11581   int status = $lt_dlunknown;
   11582 
   11583   if (self)
   11584     {
   11585       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11586       else
   11587         {
   11588 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11589           else puts (dlerror ());
   11590 	}
   11591       /* dlclose (self); */
   11592     }
   11593   else
   11594     puts (dlerror ());
   11595 
   11596   return status;
   11597 }
   11598 _LT_EOF
   11599   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11600   (eval $ac_link) 2>&5
   11601   ac_status=$?
   11602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11603   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11604     (./conftest; exit; ) >&5 2>/dev/null
   11605     lt_status=$?
   11606     case x$lt_status in
   11607       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11608       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11609       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11610     esac
   11611   else :
   11612     # compilation failed
   11613     lt_cv_dlopen_self=no
   11614   fi
   11615 fi
   11616 rm -fr conftest*
   11617 
   11618 
   11619 fi
   11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11621 $as_echo "$lt_cv_dlopen_self" >&6; }
   11622 
   11623     if test "x$lt_cv_dlopen_self" = xyes; then
   11624       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11625       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11626 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11627 if ${lt_cv_dlopen_self_static+:} false; then :
   11628   $as_echo_n "(cached) " >&6
   11629 else
   11630   	  if test "$cross_compiling" = yes; then :
   11631   lt_cv_dlopen_self_static=cross
   11632 else
   11633   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11634   lt_status=$lt_dlunknown
   11635   cat > conftest.$ac_ext <<_LT_EOF
   11636 #line 11636 "configure"
   11637 #include "confdefs.h"
   11638 
   11639 #if HAVE_DLFCN_H
   11640 #include <dlfcn.h>
   11641 #endif
   11642 
   11643 #include <stdio.h>
   11644 
   11645 #ifdef RTLD_GLOBAL
   11646 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11647 #else
   11648 #  ifdef DL_GLOBAL
   11649 #    define LT_DLGLOBAL		DL_GLOBAL
   11650 #  else
   11651 #    define LT_DLGLOBAL		0
   11652 #  endif
   11653 #endif
   11654 
   11655 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11656    find out it does not work in some platform. */
   11657 #ifndef LT_DLLAZY_OR_NOW
   11658 #  ifdef RTLD_LAZY
   11659 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11660 #  else
   11661 #    ifdef DL_LAZY
   11662 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11663 #    else
   11664 #      ifdef RTLD_NOW
   11665 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11666 #      else
   11667 #        ifdef DL_NOW
   11668 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11669 #        else
   11670 #          define LT_DLLAZY_OR_NOW	0
   11671 #        endif
   11672 #      endif
   11673 #    endif
   11674 #  endif
   11675 #endif
   11676 
   11677 /* When -fvisbility=hidden is used, assume the code has been annotated
   11678    correspondingly for the symbols needed.  */
   11679 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11680 void fnord () __attribute__((visibility("default")));
   11681 #endif
   11682 
   11683 void fnord () { int i=42; }
   11684 int main ()
   11685 {
   11686   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11687   int status = $lt_dlunknown;
   11688 
   11689   if (self)
   11690     {
   11691       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11692       else
   11693         {
   11694 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11695           else puts (dlerror ());
   11696 	}
   11697       /* dlclose (self); */
   11698     }
   11699   else
   11700     puts (dlerror ());
   11701 
   11702   return status;
   11703 }
   11704 _LT_EOF
   11705   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11706   (eval $ac_link) 2>&5
   11707   ac_status=$?
   11708   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11709   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11710     (./conftest; exit; ) >&5 2>/dev/null
   11711     lt_status=$?
   11712     case x$lt_status in
   11713       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11714       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11715       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11716     esac
   11717   else :
   11718     # compilation failed
   11719     lt_cv_dlopen_self_static=no
   11720   fi
   11721 fi
   11722 rm -fr conftest*
   11723 
   11724 
   11725 fi
   11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11727 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11728     fi
   11729 
   11730     CPPFLAGS="$save_CPPFLAGS"
   11731     LDFLAGS="$save_LDFLAGS"
   11732     LIBS="$save_LIBS"
   11733     ;;
   11734   esac
   11735 
   11736   case $lt_cv_dlopen_self in
   11737   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11738   *) enable_dlopen_self=unknown ;;
   11739   esac
   11740 
   11741   case $lt_cv_dlopen_self_static in
   11742   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11743   *) enable_dlopen_self_static=unknown ;;
   11744   esac
   11745 fi
   11746 
   11747 
   11748 
   11749 
   11750 
   11751 
   11752 
   11753 
   11754 
   11755 
   11756 
   11757 
   11758 
   11759 
   11760 
   11761 
   11762 
   11763 striplib=
   11764 old_striplib=
   11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11766 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11767 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11768   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11769   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11771 $as_echo "yes" >&6; }
   11772 else
   11773 # FIXME - insert some real tests, host_os isn't really good enough
   11774   case $host_os in
   11775   darwin*)
   11776     if test -n "$STRIP" ; then
   11777       striplib="$STRIP -x"
   11778       old_striplib="$STRIP -S"
   11779       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11780 $as_echo "yes" >&6; }
   11781     else
   11782       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11783 $as_echo "no" >&6; }
   11784     fi
   11785     ;;
   11786   *)
   11787     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11788 $as_echo "no" >&6; }
   11789     ;;
   11790   esac
   11791 fi
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 
   11803 
   11804   # Report which library types will actually be built
   11805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11806 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11808 $as_echo "$can_build_shared" >&6; }
   11809 
   11810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11811 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11812   test "$can_build_shared" = "no" && enable_shared=no
   11813 
   11814   # On AIX, shared libraries and static libraries use the same namespace, and
   11815   # are all built from PIC.
   11816   case $host_os in
   11817   aix3*)
   11818     test "$enable_shared" = yes && enable_static=no
   11819     if test -n "$RANLIB"; then
   11820       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11821       postinstall_cmds='$RANLIB $lib'
   11822     fi
   11823     ;;
   11824 
   11825   aix[4-9]*)
   11826     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11827       test "$enable_shared" = yes && enable_static=no
   11828     fi
   11829     ;;
   11830   esac
   11831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11832 $as_echo "$enable_shared" >&6; }
   11833 
   11834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11835 $as_echo_n "checking whether to build static libraries... " >&6; }
   11836   # Make sure either enable_shared or enable_static is yes.
   11837   test "$enable_shared" = yes || enable_static=yes
   11838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11839 $as_echo "$enable_static" >&6; }
   11840 
   11841 
   11842 
   11843 
   11844 fi
   11845 ac_ext=c
   11846 ac_cpp='$CPP $CPPFLAGS'
   11847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11850 
   11851 CC="$lt_save_CC"
   11852 
   11853 
   11854 
   11855 
   11856 
   11857 
   11858 
   11859 
   11860 
   11861 
   11862 
   11863 
   11864 
   11865         ac_config_commands="$ac_config_commands libtool"
   11866 
   11867 
   11868 
   11869 
   11870 # Only expand once:
   11871 
   11872 
   11873 
   11874 # AC_PLUGINS setting $plugins is called by ACX_LARGEFILE.
   11875 
   11876 # The tests for host and target for $enable_largefile require
   11877 # canonical names.
   11878 
   11879 
   11880 
   11881 # As the $enable_largefile decision depends on --enable-plugins we must set it
   11882 # even in directories otherwise not depending on the $plugins option.
   11883 
   11884 
   11885   maybe_plugins=no
   11886   for ac_header in dlfcn.h
   11887 do :
   11888   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   11889 "
   11890 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   11891   cat >>confdefs.h <<_ACEOF
   11892 #define HAVE_DLFCN_H 1
   11893 _ACEOF
   11894  maybe_plugins=yes
   11895 fi
   11896 
   11897 done
   11898 
   11899   for ac_header in windows.h
   11900 do :
   11901   ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
   11902 "
   11903 if test "x$ac_cv_header_windows_h" = xyes; then :
   11904   cat >>confdefs.h <<_ACEOF
   11905 #define HAVE_WINDOWS_H 1
   11906 _ACEOF
   11907  maybe_plugins=yes
   11908 fi
   11909 
   11910 done
   11911 
   11912 
   11913   # Check whether --enable-plugins was given.
   11914 if test "${enable_plugins+set}" = set; then :
   11915   enableval=$enable_plugins; case "${enableval}" in
   11916       no) plugins=no ;;
   11917       *) plugins=yes
   11918          if test "$maybe_plugins" != "yes" ; then
   11919 	   as_fn_error $? "Building with plugin support requires a host that supports dlopen." "$LINENO" 5
   11920 	 fi ;;
   11921      esac
   11922 else
   11923   plugins=$maybe_plugins
   11924 
   11925 fi
   11926 
   11927   if test "$plugins" = "yes"; then
   11928     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
   11929 $as_echo_n "checking for library containing dlsym... " >&6; }
   11930 if ${ac_cv_search_dlsym+:} false; then :
   11931   $as_echo_n "(cached) " >&6
   11932 else
   11933   ac_func_search_save_LIBS=$LIBS
   11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11935 /* end confdefs.h.  */
   11936 
   11937 /* Override any GCC internal prototype to avoid an error.
   11938    Use char because int might match the return type of a GCC
   11939    builtin and then its argument prototype would still apply.  */
   11940 #ifdef __cplusplus
   11941 extern "C"
   11942 #endif
   11943 char dlsym ();
   11944 int
   11945 main ()
   11946 {
   11947 return dlsym ();
   11948   ;
   11949   return 0;
   11950 }
   11951 _ACEOF
   11952 for ac_lib in '' dl; do
   11953   if test -z "$ac_lib"; then
   11954     ac_res="none required"
   11955   else
   11956     ac_res=-l$ac_lib
   11957     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11958   fi
   11959   if ac_fn_c_try_link "$LINENO"; then :
   11960   ac_cv_search_dlsym=$ac_res
   11961 fi
   11962 rm -f core conftest.err conftest.$ac_objext \
   11963     conftest$ac_exeext
   11964   if ${ac_cv_search_dlsym+:} false; then :
   11965   break
   11966 fi
   11967 done
   11968 if ${ac_cv_search_dlsym+:} false; then :
   11969 
   11970 else
   11971   ac_cv_search_dlsym=no
   11972 fi
   11973 rm conftest.$ac_ext
   11974 LIBS=$ac_func_search_save_LIBS
   11975 fi
   11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
   11977 $as_echo "$ac_cv_search_dlsym" >&6; }
   11978 ac_res=$ac_cv_search_dlsym
   11979 if test "$ac_res" != no; then :
   11980   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11981 
   11982 fi
   11983 
   11984   fi
   11985 
   11986 
   11987 case "${host}" in
   11988   sparc-*-solaris*|i?86-*-solaris*)
   11989     # On native 32-bit Solaris/SPARC and x86, large-file and procfs support
   11990     # were mutually exclusive until Solaris 11.3.  Without procfs support,
   11991     # the bfd/ elf module cannot provide certain routines such as
   11992     # elfcore_write_prpsinfo or elfcore_write_prstatus.  So unless the user
   11993     # explicitly requested large-file support through the
   11994     # --enable-largefile switch, disable large-file support in favor of
   11995     # procfs support.
   11996     #
   11997     # Check if <sys/procfs.h> is incompatible with large-file support.
   11998     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11999 /* end confdefs.h.  */
   12000 #define _FILE_OFFSET_BITS 64
   12001 #define _STRUCTURED_PROC 1
   12002 #include <sys/procfs.h>
   12003 int
   12004 main ()
   12005 {
   12006 
   12007   ;
   12008   return 0;
   12009 }
   12010 _ACEOF
   12011 if ac_fn_c_try_compile "$LINENO"; then :
   12012   acx_cv_procfs_lfs=yes
   12013 else
   12014   acx_cv_procfs_lfs=no
   12015 fi
   12016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12017     #
   12018     # Forcefully disable large-file support only if necessary, gdb is in
   12019     # tree and enabled.
   12020     if test "${target}" = "${host}" -a "$acx_cv_procfs_lfs" = no \
   12021          -a -d $srcdir/../gdb -a "$enable_gdb" != no; then
   12022       : ${enable_largefile="no"}
   12023       if test "$plugins" = yes; then
   12024 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
   12025 plugin support disabled; require large-file support which is incompatible with GDB." >&5
   12026 $as_echo "$as_me: WARNING:
   12027 plugin support disabled; require large-file support which is incompatible with GDB." >&2;}
   12028 	plugins=no
   12029       fi
   12030     fi
   12031     #
   12032     # Explicitly undef _FILE_OFFSET_BITS if enable_largefile=no for the
   12033     # benefit of g++ 9+ which predefines it on Solaris.
   12034     if test "$enable_largefile" = no; then
   12035       LARGEFILE_CPPFLAGS="-U_FILE_OFFSET_BITS"
   12036 
   12037     fi
   12038     ;;
   12039 esac
   12040 
   12041 # Check whether --enable-largefile was given.
   12042 if test "${enable_largefile+set}" = set; then :
   12043   enableval=$enable_largefile;
   12044 fi
   12045 
   12046 if test "$enable_largefile" != no; then
   12047 
   12048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   12049 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   12050 if ${ac_cv_sys_largefile_CC+:} false; then :
   12051   $as_echo_n "(cached) " >&6
   12052 else
   12053   ac_cv_sys_largefile_CC=no
   12054      if test "$GCC" != yes; then
   12055        ac_save_CC=$CC
   12056        while :; do
   12057 	 # IRIX 6.2 and later do not support large files by default,
   12058 	 # so use the C compiler's -n32 option if that helps.
   12059 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12060 /* end confdefs.h.  */
   12061 #include <sys/types.h>
   12062  /* Check that off_t can represent 2**63 - 1 correctly.
   12063     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12064     since some C++ compilers masquerading as C compilers
   12065     incorrectly reject 9223372036854775807.  */
   12066 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12067   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12068 		       && LARGE_OFF_T % 2147483647 == 1)
   12069 		      ? 1 : -1];
   12070 int
   12071 main ()
   12072 {
   12073 
   12074   ;
   12075   return 0;
   12076 }
   12077 _ACEOF
   12078 	 if ac_fn_c_try_compile "$LINENO"; then :
   12079   break
   12080 fi
   12081 rm -f core conftest.err conftest.$ac_objext
   12082 	 CC="$CC -n32"
   12083 	 if ac_fn_c_try_compile "$LINENO"; then :
   12084   ac_cv_sys_largefile_CC=' -n32'; break
   12085 fi
   12086 rm -f core conftest.err conftest.$ac_objext
   12087 	 break
   12088        done
   12089        CC=$ac_save_CC
   12090        rm -f conftest.$ac_ext
   12091     fi
   12092 fi
   12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   12094 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   12095   if test "$ac_cv_sys_largefile_CC" != no; then
   12096     CC=$CC$ac_cv_sys_largefile_CC
   12097   fi
   12098 
   12099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   12100 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   12101 if ${ac_cv_sys_file_offset_bits+:} false; then :
   12102   $as_echo_n "(cached) " >&6
   12103 else
   12104   while :; do
   12105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12106 /* end confdefs.h.  */
   12107 #include <sys/types.h>
   12108  /* Check that off_t can represent 2**63 - 1 correctly.
   12109     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12110     since some C++ compilers masquerading as C compilers
   12111     incorrectly reject 9223372036854775807.  */
   12112 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12113   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12114 		       && LARGE_OFF_T % 2147483647 == 1)
   12115 		      ? 1 : -1];
   12116 int
   12117 main ()
   12118 {
   12119 
   12120   ;
   12121   return 0;
   12122 }
   12123 _ACEOF
   12124 if ac_fn_c_try_compile "$LINENO"; then :
   12125   ac_cv_sys_file_offset_bits=no; break
   12126 fi
   12127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12129 /* end confdefs.h.  */
   12130 #define _FILE_OFFSET_BITS 64
   12131 #include <sys/types.h>
   12132  /* Check that off_t can represent 2**63 - 1 correctly.
   12133     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12134     since some C++ compilers masquerading as C compilers
   12135     incorrectly reject 9223372036854775807.  */
   12136 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12137   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12138 		       && LARGE_OFF_T % 2147483647 == 1)
   12139 		      ? 1 : -1];
   12140 int
   12141 main ()
   12142 {
   12143 
   12144   ;
   12145   return 0;
   12146 }
   12147 _ACEOF
   12148 if ac_fn_c_try_compile "$LINENO"; then :
   12149   ac_cv_sys_file_offset_bits=64; break
   12150 fi
   12151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12152   ac_cv_sys_file_offset_bits=unknown
   12153   break
   12154 done
   12155 fi
   12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   12157 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   12158 case $ac_cv_sys_file_offset_bits in #(
   12159   no | unknown) ;;
   12160   *)
   12161 cat >>confdefs.h <<_ACEOF
   12162 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   12163 _ACEOF
   12164 ;;
   12165 esac
   12166 rm -rf conftest*
   12167   if test $ac_cv_sys_file_offset_bits = unknown; then
   12168     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   12169 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   12170 if ${ac_cv_sys_large_files+:} false; then :
   12171   $as_echo_n "(cached) " >&6
   12172 else
   12173   while :; do
   12174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12175 /* end confdefs.h.  */
   12176 #include <sys/types.h>
   12177  /* Check that off_t can represent 2**63 - 1 correctly.
   12178     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12179     since some C++ compilers masquerading as C compilers
   12180     incorrectly reject 9223372036854775807.  */
   12181 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12182   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12183 		       && LARGE_OFF_T % 2147483647 == 1)
   12184 		      ? 1 : -1];
   12185 int
   12186 main ()
   12187 {
   12188 
   12189   ;
   12190   return 0;
   12191 }
   12192 _ACEOF
   12193 if ac_fn_c_try_compile "$LINENO"; then :
   12194   ac_cv_sys_large_files=no; break
   12195 fi
   12196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12198 /* end confdefs.h.  */
   12199 #define _LARGE_FILES 1
   12200 #include <sys/types.h>
   12201  /* Check that off_t can represent 2**63 - 1 correctly.
   12202     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12203     since some C++ compilers masquerading as C compilers
   12204     incorrectly reject 9223372036854775807.  */
   12205 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12206   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12207 		       && LARGE_OFF_T % 2147483647 == 1)
   12208 		      ? 1 : -1];
   12209 int
   12210 main ()
   12211 {
   12212 
   12213   ;
   12214   return 0;
   12215 }
   12216 _ACEOF
   12217 if ac_fn_c_try_compile "$LINENO"; then :
   12218   ac_cv_sys_large_files=1; break
   12219 fi
   12220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12221   ac_cv_sys_large_files=unknown
   12222   break
   12223 done
   12224 fi
   12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   12226 $as_echo "$ac_cv_sys_large_files" >&6; }
   12227 case $ac_cv_sys_large_files in #(
   12228   no | unknown) ;;
   12229   *)
   12230 cat >>confdefs.h <<_ACEOF
   12231 #define _LARGE_FILES $ac_cv_sys_large_files
   12232 _ACEOF
   12233 ;;
   12234 esac
   12235 rm -rf conftest*
   12236   fi
   12237 
   12238 
   12239 fi
   12240 
   12241 
   12242 
   12243 case "${target}" in
   12244     *-*-*aout*| i[3-7]86-*-msdos* | ns32k-*-* | pdp11-*-*)
   12245 	if test "$plugins" = "yes"; then
   12246 	    if test "${enable_plugins+set}" = set; then
   12247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling plugins for AOUT is experimental" >&5
   12248 $as_echo "$as_me: WARNING: Enabling plugins for AOUT is experimental" >&2;}
   12249 	    else
   12250 		plugins=no
   12251 	    fi
   12252 	fi ;;
   12253 esac
   12254 
   12255  if test "$plugins" = "yes"; then
   12256   PLUGINS_TRUE=
   12257   PLUGINS_FALSE='#'
   12258 else
   12259   PLUGINS_TRUE='#'
   12260   PLUGINS_FALSE=
   12261 fi
   12262 
   12263 
   12264 ac_checking=
   12265 . ${srcdir}/development.sh
   12266 test "$development" = true && ac_checking=yes
   12267 # Check whether --enable-checking was given.
   12268 if test "${enable_checking+set}" = set; then :
   12269   enableval=$enable_checking; case "${enableval}" in
   12270   no|none)  ac_checking= ;;
   12271   *)	    ac_checking=yes ;;
   12272 esac
   12273 fi
   12274 if test x$ac_checking != x ; then
   12275 
   12276 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
   12277 
   12278 fi
   12279 
   12280 # Check whether --enable-64-bit-bfd was given.
   12281 if test "${enable_64_bit_bfd+set}" = set; then :
   12282   enableval=$enable_64_bit_bfd; case $enableval in #(
   12283   yes|no) :
   12284      ;; #(
   12285   *) :
   12286     as_fn_error $? "bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;; #(
   12287   *) :
   12288      ;;
   12289 esac
   12290 else
   12291   enable_64_bit_bfd=no
   12292 fi
   12293 
   12294 if test $enable_64_bit_bfd = yes ; then
   12295   want64=true
   12296 else
   12297   want64=false
   12298 fi
   12299 
   12300 # Check whether --enable-targets was given.
   12301 if test "${enable_targets+set}" = set; then :
   12302   enableval=$enable_targets; case "${enableval}" in
   12303   yes | "") as_fn_error $? "enable-targets option must specify target names or 'all'" "$LINENO" 5
   12304             ;;
   12305   no)       enable_targets= ;;
   12306   *)        enable_targets=$enableval ;;
   12307 esac
   12308 fi
   12309 
   12310 # Check whether --enable-64_bit_archive was given.
   12311 if test "${enable_64_bit_archive+set}" = set; then :
   12312   enableval=$enable_64_bit_archive; case "${enableval}" in
   12313   yes)  want_64_bit_archive=true  ;;
   12314   no)   want_64_bit_archive=false ;;
   12315   *)    as_fn_error $? "bad value ${enableval} for 64-bit-archive option" "$LINENO" 5 ;;
   12316 esac
   12317 else
   12318   want_64_bit_archive=unset
   12319 fi
   12320 
   12321 
   12322 # Check whether --with-mmap was given.
   12323 if test "${with_mmap+set}" = set; then :
   12324   withval=$with_mmap; case "${withval}" in
   12325   yes)  want_mmap=true ;;
   12326   no)   want_mmap=false ;;
   12327   *)    as_fn_error $? "bad value ${withval} for BFD with-mmap option" "$LINENO" 5 ;;
   12328 esac
   12329 else
   12330   want_mmap=true
   12331 fi
   12332 
   12333 # Check whether --enable-secureplt was given.
   12334 if test "${enable_secureplt+set}" = set; then :
   12335   enableval=$enable_secureplt; case "${enableval}" in
   12336   yes)  use_secureplt=true  ;;
   12337   no)   use_secureplt=false ;;
   12338   *)    as_fn_error $? "bad value ${enableval} for secureplt option" "$LINENO" 5 ;;
   12339 esac
   12340 else
   12341   use_secureplt=true
   12342 fi
   12343 if test $use_secureplt = true; then
   12344 
   12345 $as_echo "#define USE_SECUREPLT 1" >>confdefs.h
   12346 
   12347 fi
   12348 
   12349 # Decide if -z separate-code should be enabled in ELF linker by default.
   12350 ac_default_ld_z_separate_code=unset
   12351 # Check whether --enable-separate-code was given.
   12352 if test "${enable_separate_code+set}" = set; then :
   12353   enableval=$enable_separate_code; case "${enableval}" in
   12354   yes) ac_default_ld_z_separate_code=1 ;;
   12355   no) ac_default_ld_z_separate_code=0 ;;
   12356 esac
   12357 fi
   12358 
   12359 # Enable -z separate-code by default for Linux/x86 and NetBSD/x86
   12360 case "${target}" in
   12361 i[3-7]86-*-linux-* | x86_64-*-linux-* | i[3-7]86-*-netbsd* | x86_64-*-netbsd*)
   12362   if test ${ac_default_ld_z_separate_code} = unset; then
   12363     ac_default_ld_z_separate_code=1
   12364   fi
   12365   ;;
   12366 esac
   12367 if test "${ac_default_ld_z_separate_code}" = unset; then
   12368   ac_default_ld_z_separate_code=0
   12369 fi
   12370 
   12371 cat >>confdefs.h <<_ACEOF
   12372 #define DEFAULT_LD_Z_SEPARATE_CODE $ac_default_ld_z_separate_code
   12373 _ACEOF
   12374 
   12375 
   12376 # Check whether --enable-leading-mingw64-underscores was given.
   12377 if test "${enable_leading_mingw64_underscores+set}" = set; then :
   12378   enableval=$enable_leading_mingw64_underscores;
   12379 fi
   12380 
   12381 if  test x"$enable_leading_mingw64_underscores" = xyes ; then :
   12382 
   12383 $as_echo "#define USE_MINGW64_LEADING_UNDERSCORES 1" >>confdefs.h
   12384 
   12385 fi
   12386 
   12387 DEBUGDIR=${libdir}/debug
   12388 
   12389 # Check whether --with-separate-debug-dir was given.
   12390 if test "${with_separate_debug_dir+set}" = set; then :
   12391   withval=$with_separate_debug_dir; DEBUGDIR="${withval}"
   12392 fi
   12393 
   12394 
   12395 
   12396 
   12397 
   12398 # Check whether --with-pkgversion was given.
   12399 if test "${with_pkgversion+set}" = set; then :
   12400   withval=$with_pkgversion; case "$withval" in
   12401       yes) as_fn_error $? "package version not specified" "$LINENO" 5 ;;
   12402       no)  PKGVERSION= ;;
   12403       *)   PKGVERSION="($withval) " ;;
   12404      esac
   12405 else
   12406   PKGVERSION="(GNU Binutils) "
   12407 
   12408 fi
   12409 
   12410 
   12411 
   12412 
   12413 
   12414 # Check whether --with-bugurl was given.
   12415 if test "${with_bugurl+set}" = set; then :
   12416   withval=$with_bugurl; case "$withval" in
   12417       yes) as_fn_error $? "bug URL not specified" "$LINENO" 5 ;;
   12418       no)  BUGURL=
   12419 	   ;;
   12420       *)   BUGURL="$withval"
   12421 	   ;;
   12422      esac
   12423 else
   12424   BUGURL="https://sourceware.org/bugzilla/"
   12425 
   12426 fi
   12427 
   12428   case ${BUGURL} in
   12429   "")
   12430     REPORT_BUGS_TO=
   12431     REPORT_BUGS_TEXI=
   12432     ;;
   12433   *)
   12434     REPORT_BUGS_TO="<$BUGURL>"
   12435     REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`}
   12436     ;;
   12437   esac;
   12438 
   12439 
   12440 
   12441 
   12442 
   12443 # Set the 'development' global.
   12444 . $srcdir/development.sh
   12445 
   12446 # Set acp_cpp_for_build variable
   12447 ac_cpp_for_build="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
   12448 
   12449 # Default set of GCC warnings to enable.
   12450 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   12451 GCC_WARN_CFLAGS_FOR_BUILD="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   12452 
   12453 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   12454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12455 /* end confdefs.h.  */
   12456 __GNUC__
   12457 _ACEOF
   12458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12459   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12460 
   12461 else
   12462   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
   12463 fi
   12464 rm -f conftest*
   12465 
   12466 
   12467 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   12468 #cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12469 #/* end confdefs.h.  */
   12470 #__GNUC__
   12471 #_ACEOF
   12472 #if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12473 #  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12474 #
   12475 #else
   12476 #  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12477 #/* end confdefs.h.  */
   12478 #__clang__
   12479 #_ACEOF
   12480 #if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12481 #  $EGREP "^__clang__$" >/dev/null 2>&1; then :
   12482 #  GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
   12483 #fi
   12484 #rm -f conftest*
   12485 
   12486 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
   12487 WARN_WRITE_STRINGS=""
   12488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12489 /* end confdefs.h.  */
   12490 __GNUC__
   12491 _ACEOF
   12492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12493   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12494 
   12495 else
   12496   WARN_WRITE_STRINGS="-Wwrite-strings"
   12497 fi
   12498 rm -f conftest*
   12499 
   12500 
   12501 # Verify CC_FOR_BUILD to be compatible with warning flags
   12502 
   12503 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   12504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12505 /* end confdefs.h.  */
   12506 __GNUC__
   12507 _ACEOF
   12508 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   12509   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12510 
   12511 else
   12512   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
   12513 fi
   12514 rm -f conftest*
   12515 
   12516 
   12517 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   12518 #cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12519 #/* end confdefs.h.  */
   12520 #__GNUC__
   12521 #_ACEOF
   12522 #if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   12523 #  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   12524 #
   12525 #else
   12526 #  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12527 #/* end confdefs.h.  */
   12528 #__clang__
   12529 #_ACEOF
   12530 #if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   12531 #  $EGREP "^__clang__$" >/dev/null 2>&1; then :
   12532 #  GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
   12533 #fi
   12534 #rm -f conftest*
   12535 
   12536 
   12537 # Check whether --enable-werror was given.
   12538 if test "${enable_werror+set}" = set; then :
   12539   enableval=$enable_werror; case "${enableval}" in
   12540      yes | y) ERROR_ON_WARNING="yes" ;;
   12541      no | n)  ERROR_ON_WARNING="no" ;;
   12542      *) as_fn_error $? "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
   12543    esac
   12544 fi
   12545 
   12546 
   12547 # Disable -Wformat by default when using gcc on mingw
   12548 case "${host}" in
   12549   *-*-mingw32*)
   12550     if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
   12551       GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
   12552       GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
   12553     fi
   12554     ;;
   12555   *) ;;
   12556 esac
   12557 
   12558 # Enable -Werror by default when using gcc.  Turn it off for releases.
   12559 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then
   12560     ERROR_ON_WARNING=yes
   12561 fi
   12562 
   12563 NO_WERROR=
   12564 if test "${ERROR_ON_WARNING}" = yes ; then
   12565     GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
   12566     GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
   12567     NO_WERROR="-Wno-error"
   12568 fi
   12569 
   12570 if test "${GCC}" = yes ; then
   12571   WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   12572   WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}"
   12573 fi
   12574 
   12575 # Check whether --enable-build-warnings was given.
   12576 if test "${enable_build_warnings+set}" = set; then :
   12577   enableval=$enable_build_warnings; case "${enableval}" in
   12578   yes)	WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   12579         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}";;
   12580   no)	if test "${GCC}" = yes ; then
   12581 	  WARN_CFLAGS="-w"
   12582       WARN_CFLAGS_FOR_BUILD="-w"
   12583 	fi;;
   12584   ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   12585         WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}"
   12586         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
   12587   *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   12588         WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}"
   12589         WARN_CFLAGS_FOR_BUILD="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
   12590   *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`
   12591         WARN_CFLAGS_FOR_BUILD=`echo "${enableval}" | sed -e "s/,/ /g"`;;
   12592 esac
   12593 fi
   12594 
   12595 
   12596 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
   12597   echo "Setting warning flags = $WARN_CFLAGS" 6>&1
   12598 fi
   12599 
   12600 
   12601 
   12602 
   12603 
   12604 
   12605 
   12606 ac_config_headers="$ac_config_headers config.h:config.in"
   12607 
   12608 
   12609 # PR 14072
   12610 
   12611 
   12612 if test -z "$target" ; then
   12613     as_fn_error $? "Unrecognized target system type; please check config.sub." "$LINENO" 5
   12614 fi
   12615 
   12616 
   12617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   12618 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   12619     # Check whether --enable-maintainer-mode was given.
   12620 if test "${enable_maintainer_mode+set}" = set; then :
   12621   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   12622 else
   12623   USE_MAINTAINER_MODE=no
   12624 fi
   12625 
   12626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   12627 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   12628    if test $USE_MAINTAINER_MODE = yes; then
   12629   MAINTAINER_MODE_TRUE=
   12630   MAINTAINER_MODE_FALSE='#'
   12631 else
   12632   MAINTAINER_MODE_TRUE='#'
   12633   MAINTAINER_MODE_FALSE=
   12634 fi
   12635 
   12636   MAINT=$MAINTAINER_MODE_TRUE
   12637 
   12638 
   12639  if false; then
   12640   GENINSRC_NEVER_TRUE=
   12641   GENINSRC_NEVER_FALSE='#'
   12642 else
   12643   GENINSRC_NEVER_TRUE='#'
   12644   GENINSRC_NEVER_FALSE=
   12645 fi
   12646 
   12647  case ${build_alias} in
   12648   "") build_noncanonical=${build} ;;
   12649   *) build_noncanonical=${build_alias} ;;
   12650 esac
   12651 
   12652  case ${host_alias} in
   12653   "") host_noncanonical=${build_noncanonical} ;;
   12654   *) host_noncanonical=${host_alias} ;;
   12655 esac
   12656 
   12657  case ${target_alias} in
   12658   "") target_noncanonical=${host_noncanonical} ;;
   12659   *) target_noncanonical=${target_alias} ;;
   12660 esac
   12661 
   12662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libbfd" >&5
   12663 $as_echo_n "checking whether to install libbfd... " >&6; }
   12664   # Check whether --enable-install-libbfd was given.
   12665 if test "${enable_install_libbfd+set}" = set; then :
   12666   enableval=$enable_install_libbfd; install_libbfd_p=$enableval
   12667 else
   12668   if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
   12669         install_libbfd_p=yes
   12670       else
   12671         install_libbfd_p=no
   12672       fi
   12673 fi
   12674 
   12675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_libbfd_p" >&5
   12676 $as_echo "$install_libbfd_p" >&6; }
   12677    if test $install_libbfd_p = yes; then
   12678   INSTALL_LIBBFD_TRUE=
   12679   INSTALL_LIBBFD_FALSE='#'
   12680 else
   12681   INSTALL_LIBBFD_TRUE='#'
   12682   INSTALL_LIBBFD_FALSE=
   12683 fi
   12684 
   12685   # Need _noncanonical variables for this.
   12686 
   12687 
   12688 
   12689 
   12690   # libbfd.a is a host library containing target dependent code
   12691   bfdlibdir='$(libdir)'
   12692   bfdincludedir='$(includedir)'
   12693   if test "${host}" != "${target}"; then
   12694     bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
   12695     bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
   12696   fi
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 
   12705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   12706 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   12707 if ${ac_cv_c_bigendian+:} false; then :
   12708   $as_echo_n "(cached) " >&6
   12709 else
   12710   ac_cv_c_bigendian=unknown
   12711     # See if we're dealing with a universal compiler.
   12712     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12713 /* end confdefs.h.  */
   12714 #ifndef __APPLE_CC__
   12715 	       not a universal capable compiler
   12716 	     #endif
   12717 	     typedef int dummy;
   12718 
   12719 _ACEOF
   12720 if ac_fn_c_try_compile "$LINENO"; then :
   12721 
   12722 	# Check for potential -arch flags.  It is not universal unless
   12723 	# there are at least two -arch flags with different values.
   12724 	ac_arch=
   12725 	ac_prev=
   12726 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   12727 	 if test -n "$ac_prev"; then
   12728 	   case $ac_word in
   12729 	     i?86 | x86_64 | ppc | ppc64)
   12730 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   12731 		 ac_arch=$ac_word
   12732 	       else
   12733 		 ac_cv_c_bigendian=universal
   12734 		 break
   12735 	       fi
   12736 	       ;;
   12737 	   esac
   12738 	   ac_prev=
   12739 	 elif test "x$ac_word" = "x-arch"; then
   12740 	   ac_prev=arch
   12741 	 fi
   12742        done
   12743 fi
   12744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12745     if test $ac_cv_c_bigendian = unknown; then
   12746       # See if sys/param.h defines the BYTE_ORDER macro.
   12747       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12748 /* end confdefs.h.  */
   12749 #include <sys/types.h>
   12750 	     #include <sys/param.h>
   12751 
   12752 int
   12753 main ()
   12754 {
   12755 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   12756 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   12757 		     && LITTLE_ENDIAN)
   12758 	      bogus endian macros
   12759 	     #endif
   12760 
   12761   ;
   12762   return 0;
   12763 }
   12764 _ACEOF
   12765 if ac_fn_c_try_compile "$LINENO"; then :
   12766   # It does; now see whether it defined to BIG_ENDIAN or not.
   12767 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12768 /* end confdefs.h.  */
   12769 #include <sys/types.h>
   12770 		#include <sys/param.h>
   12771 
   12772 int
   12773 main ()
   12774 {
   12775 #if BYTE_ORDER != BIG_ENDIAN
   12776 		 not big endian
   12777 		#endif
   12778 
   12779   ;
   12780   return 0;
   12781 }
   12782 _ACEOF
   12783 if ac_fn_c_try_compile "$LINENO"; then :
   12784   ac_cv_c_bigendian=yes
   12785 else
   12786   ac_cv_c_bigendian=no
   12787 fi
   12788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12789 fi
   12790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12791     fi
   12792     if test $ac_cv_c_bigendian = unknown; then
   12793       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   12794       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12795 /* end confdefs.h.  */
   12796 #include <limits.h>
   12797 
   12798 int
   12799 main ()
   12800 {
   12801 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   12802 	      bogus endian macros
   12803 	     #endif
   12804 
   12805   ;
   12806   return 0;
   12807 }
   12808 _ACEOF
   12809 if ac_fn_c_try_compile "$LINENO"; then :
   12810   # It does; now see whether it defined to _BIG_ENDIAN or not.
   12811 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12812 /* end confdefs.h.  */
   12813 #include <limits.h>
   12814 
   12815 int
   12816 main ()
   12817 {
   12818 #ifndef _BIG_ENDIAN
   12819 		 not big endian
   12820 		#endif
   12821 
   12822   ;
   12823   return 0;
   12824 }
   12825 _ACEOF
   12826 if ac_fn_c_try_compile "$LINENO"; then :
   12827   ac_cv_c_bigendian=yes
   12828 else
   12829   ac_cv_c_bigendian=no
   12830 fi
   12831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12832 fi
   12833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12834     fi
   12835     if test $ac_cv_c_bigendian = unknown; then
   12836       # Compile a test program.
   12837       if test "$cross_compiling" = yes; then :
   12838   # Try to guess by grepping values from an object file.
   12839 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12840 /* end confdefs.h.  */
   12841 short int ascii_mm[] =
   12842 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   12843 		short int ascii_ii[] =
   12844 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   12845 		int use_ascii (int i) {
   12846 		  return ascii_mm[i] + ascii_ii[i];
   12847 		}
   12848 		short int ebcdic_ii[] =
   12849 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   12850 		short int ebcdic_mm[] =
   12851 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   12852 		int use_ebcdic (int i) {
   12853 		  return ebcdic_mm[i] + ebcdic_ii[i];
   12854 		}
   12855 		extern int foo;
   12856 
   12857 int
   12858 main ()
   12859 {
   12860 return use_ascii (foo) == use_ebcdic (foo);
   12861   ;
   12862   return 0;
   12863 }
   12864 _ACEOF
   12865 if ac_fn_c_try_compile "$LINENO"; then :
   12866   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   12867 	      ac_cv_c_bigendian=yes
   12868 	    fi
   12869 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   12870 	      if test "$ac_cv_c_bigendian" = unknown; then
   12871 		ac_cv_c_bigendian=no
   12872 	      else
   12873 		# finding both strings is unlikely to happen, but who knows?
   12874 		ac_cv_c_bigendian=unknown
   12875 	      fi
   12876 	    fi
   12877 fi
   12878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12879 else
   12880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12881 /* end confdefs.h.  */
   12882 $ac_includes_default
   12883 int
   12884 main ()
   12885 {
   12886 
   12887 	     /* Are we little or big endian?  From Harbison&Steele.  */
   12888 	     union
   12889 	     {
   12890 	       long int l;
   12891 	       char c[sizeof (long int)];
   12892 	     } u;
   12893 	     u.l = 1;
   12894 	     return u.c[sizeof (long int) - 1] == 1;
   12895 
   12896   ;
   12897   return 0;
   12898 }
   12899 _ACEOF
   12900 if ac_fn_c_try_run "$LINENO"; then :
   12901   ac_cv_c_bigendian=no
   12902 else
   12903   ac_cv_c_bigendian=yes
   12904 fi
   12905 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12906   conftest.$ac_objext conftest.beam conftest.$ac_ext
   12907 fi
   12908 
   12909     fi
   12910 fi
   12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   12912 $as_echo "$ac_cv_c_bigendian" >&6; }
   12913  case $ac_cv_c_bigendian in #(
   12914    yes)
   12915      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   12916 ;; #(
   12917    no)
   12918       ;; #(
   12919    universal)
   12920 
   12921 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   12922 
   12923      ;; #(
   12924    *)
   12925      as_fn_error $? "unknown endianness
   12926  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   12927  esac
   12928 
   12929 
   12930 host64=false
   12931 target64=false
   12932 bfd_default_target_size=32
   12933 
   12934 # host stuff:
   12935 
   12936 ALL_LINGUAS="da es fi fr hr id ja ro ru rw sr sv tr uk vi zh_CN pt"
   12937 
   12938         MKINSTALLDIRS=
   12939   if test -n "$ac_aux_dir"; then
   12940     case "$ac_aux_dir" in
   12941       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   12942       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   12943     esac
   12944   fi
   12945   if test -z "$MKINSTALLDIRS"; then
   12946     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   12947   fi
   12948 
   12949 
   12950 
   12951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   12952 $as_echo_n "checking whether NLS is requested... " >&6; }
   12953     # Check whether --enable-nls was given.
   12954 if test "${enable_nls+set}" = set; then :
   12955   enableval=$enable_nls; USE_NLS=$enableval
   12956 else
   12957   USE_NLS=yes
   12958 fi
   12959 
   12960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   12961 $as_echo "$USE_NLS" >&6; }
   12962 
   12963 
   12964 
   12965 
   12966 
   12967 
   12968 # Prepare PATH_SEPARATOR.
   12969 # The user is always right.
   12970 if test "${PATH_SEPARATOR+set}" != set; then
   12971   echo "#! /bin/sh" >conf$$.sh
   12972   echo  "exit 0"   >>conf$$.sh
   12973   chmod +x conf$$.sh
   12974   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   12975     PATH_SEPARATOR=';'
   12976   else
   12977     PATH_SEPARATOR=:
   12978   fi
   12979   rm -f conf$$.sh
   12980 fi
   12981 
   12982 # Find out how to test for executable files. Don't use a zero-byte file,
   12983 # as systems may use methods other than mode bits to determine executability.
   12984 cat >conf$$.file <<_ASEOF
   12985 #! /bin/sh
   12986 exit 0
   12987 _ASEOF
   12988 chmod +x conf$$.file
   12989 if test -x conf$$.file >/dev/null 2>&1; then
   12990   ac_executable_p="test -x"
   12991 else
   12992   ac_executable_p="test -f"
   12993 fi
   12994 rm -f conf$$.file
   12995 
   12996 # Extract the first word of "msgfmt", so it can be a program name with args.
   12997 set dummy msgfmt; ac_word=$2
   12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12999 $as_echo_n "checking for $ac_word... " >&6; }
   13000 if ${ac_cv_path_MSGFMT+:} false; then :
   13001   $as_echo_n "(cached) " >&6
   13002 else
   13003   case "$MSGFMT" in
   13004   [\\/]* | ?:[\\/]*)
   13005     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   13006     ;;
   13007   *)
   13008     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   13009     for ac_dir in $PATH; do
   13010       IFS="$ac_save_IFS"
   13011       test -z "$ac_dir" && ac_dir=.
   13012       for ac_exec_ext in '' $ac_executable_extensions; do
   13013         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   13014           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   13015      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   13016             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   13017             break 2
   13018           fi
   13019         fi
   13020       done
   13021     done
   13022     IFS="$ac_save_IFS"
   13023   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   13024     ;;
   13025 esac
   13026 fi
   13027 MSGFMT="$ac_cv_path_MSGFMT"
   13028 if test "$MSGFMT" != ":"; then
   13029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   13030 $as_echo "$MSGFMT" >&6; }
   13031 else
   13032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13033 $as_echo "no" >&6; }
   13034 fi
   13035 
   13036   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   13037 set dummy gmsgfmt; ac_word=$2
   13038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13039 $as_echo_n "checking for $ac_word... " >&6; }
   13040 if ${ac_cv_path_GMSGFMT+:} false; then :
   13041   $as_echo_n "(cached) " >&6
   13042 else
   13043   case $GMSGFMT in
   13044   [\\/]* | ?:[\\/]*)
   13045   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   13046   ;;
   13047   *)
   13048   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13049 for as_dir in $PATH
   13050 do
   13051   IFS=$as_save_IFS
   13052   test -z "$as_dir" && as_dir=.
   13053     for ac_exec_ext in '' $ac_executable_extensions; do
   13054   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13055     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   13056     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13057     break 2
   13058   fi
   13059 done
   13060   done
   13061 IFS=$as_save_IFS
   13062 
   13063   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   13064   ;;
   13065 esac
   13066 fi
   13067 GMSGFMT=$ac_cv_path_GMSGFMT
   13068 if test -n "$GMSGFMT"; then
   13069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   13070 $as_echo "$GMSGFMT" >&6; }
   13071 else
   13072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13073 $as_echo "no" >&6; }
   13074 fi
   13075 
   13076 
   13077 
   13078 
   13079 # Prepare PATH_SEPARATOR.
   13080 # The user is always right.
   13081 if test "${PATH_SEPARATOR+set}" != set; then
   13082   echo "#! /bin/sh" >conf$$.sh
   13083   echo  "exit 0"   >>conf$$.sh
   13084   chmod +x conf$$.sh
   13085   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   13086     PATH_SEPARATOR=';'
   13087   else
   13088     PATH_SEPARATOR=:
   13089   fi
   13090   rm -f conf$$.sh
   13091 fi
   13092 
   13093 # Find out how to test for executable files. Don't use a zero-byte file,
   13094 # as systems may use methods other than mode bits to determine executability.
   13095 cat >conf$$.file <<_ASEOF
   13096 #! /bin/sh
   13097 exit 0
   13098 _ASEOF
   13099 chmod +x conf$$.file
   13100 if test -x conf$$.file >/dev/null 2>&1; then
   13101   ac_executable_p="test -x"
   13102 else
   13103   ac_executable_p="test -f"
   13104 fi
   13105 rm -f conf$$.file
   13106 
   13107 # Extract the first word of "xgettext", so it can be a program name with args.
   13108 set dummy xgettext; ac_word=$2
   13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13110 $as_echo_n "checking for $ac_word... " >&6; }
   13111 if ${ac_cv_path_XGETTEXT+:} false; then :
   13112   $as_echo_n "(cached) " >&6
   13113 else
   13114   case "$XGETTEXT" in
   13115   [\\/]* | ?:[\\/]*)
   13116     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   13117     ;;
   13118   *)
   13119     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   13120     for ac_dir in $PATH; do
   13121       IFS="$ac_save_IFS"
   13122       test -z "$ac_dir" && ac_dir=.
   13123       for ac_exec_ext in '' $ac_executable_extensions; do
   13124         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   13125           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   13126      (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
   13127             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   13128             break 2
   13129           fi
   13130         fi
   13131       done
   13132     done
   13133     IFS="$ac_save_IFS"
   13134   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   13135     ;;
   13136 esac
   13137 fi
   13138 XGETTEXT="$ac_cv_path_XGETTEXT"
   13139 if test "$XGETTEXT" != ":"; then
   13140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   13141 $as_echo "$XGETTEXT" >&6; }
   13142 else
   13143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13144 $as_echo "no" >&6; }
   13145 fi
   13146 
   13147     rm -f messages.po
   13148 
   13149 
   13150 # Prepare PATH_SEPARATOR.
   13151 # The user is always right.
   13152 if test "${PATH_SEPARATOR+set}" != set; then
   13153   echo "#! /bin/sh" >conf$$.sh
   13154   echo  "exit 0"   >>conf$$.sh
   13155   chmod +x conf$$.sh
   13156   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   13157     PATH_SEPARATOR=';'
   13158   else
   13159     PATH_SEPARATOR=:
   13160   fi
   13161   rm -f conf$$.sh
   13162 fi
   13163 
   13164 # Find out how to test for executable files. Don't use a zero-byte file,
   13165 # as systems may use methods other than mode bits to determine executability.
   13166 cat >conf$$.file <<_ASEOF
   13167 #! /bin/sh
   13168 exit 0
   13169 _ASEOF
   13170 chmod +x conf$$.file
   13171 if test -x conf$$.file >/dev/null 2>&1; then
   13172   ac_executable_p="test -x"
   13173 else
   13174   ac_executable_p="test -f"
   13175 fi
   13176 rm -f conf$$.file
   13177 
   13178 # Extract the first word of "msgmerge", so it can be a program name with args.
   13179 set dummy msgmerge; ac_word=$2
   13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13181 $as_echo_n "checking for $ac_word... " >&6; }
   13182 if ${ac_cv_path_MSGMERGE+:} false; then :
   13183   $as_echo_n "(cached) " >&6
   13184 else
   13185   case "$MSGMERGE" in
   13186   [\\/]* | ?:[\\/]*)
   13187     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   13188     ;;
   13189   *)
   13190     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   13191     for ac_dir in $PATH; do
   13192       IFS="$ac_save_IFS"
   13193       test -z "$ac_dir" && ac_dir=.
   13194       for ac_exec_ext in '' $ac_executable_extensions; do
   13195         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   13196           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   13197             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   13198             break 2
   13199           fi
   13200         fi
   13201       done
   13202     done
   13203     IFS="$ac_save_IFS"
   13204   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   13205     ;;
   13206 esac
   13207 fi
   13208 MSGMERGE="$ac_cv_path_MSGMERGE"
   13209 if test "$MSGMERGE" != ":"; then
   13210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   13211 $as_echo "$MSGMERGE" >&6; }
   13212 else
   13213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13214 $as_echo "no" >&6; }
   13215 fi
   13216 
   13217 
   13218       if test "$GMSGFMT" != ":"; then
   13219             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   13220        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   13221       : ;
   13222     else
   13223       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   13224       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   13225 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
   13226       GMSGFMT=":"
   13227     fi
   13228   fi
   13229 
   13230       if test "$XGETTEXT" != ":"; then
   13231             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   13232        (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
   13233       : ;
   13234     else
   13235       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
   13236 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
   13237       XGETTEXT=":"
   13238     fi
   13239         rm -f messages.po
   13240   fi
   13241 
   13242   ac_config_commands="$ac_config_commands default-1"
   13243 
   13244 
   13245 
   13246       if test "X$prefix" = "XNONE"; then
   13247     acl_final_prefix="$ac_default_prefix"
   13248   else
   13249     acl_final_prefix="$prefix"
   13250   fi
   13251   if test "X$exec_prefix" = "XNONE"; then
   13252     acl_final_exec_prefix='${prefix}'
   13253   else
   13254     acl_final_exec_prefix="$exec_prefix"
   13255   fi
   13256   acl_save_prefix="$prefix"
   13257   prefix="$acl_final_prefix"
   13258   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   13259   prefix="$acl_save_prefix"
   13260 
   13261 
   13262 # Check whether --with-gnu-ld was given.
   13263 if test "${with_gnu_ld+set}" = set; then :
   13264   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   13265 else
   13266   with_gnu_ld=no
   13267 fi
   13268 
   13269 # Prepare PATH_SEPARATOR.
   13270 # The user is always right.
   13271 if test "${PATH_SEPARATOR+set}" != set; then
   13272   echo "#! /bin/sh" >conf$$.sh
   13273   echo  "exit 0"   >>conf$$.sh
   13274   chmod +x conf$$.sh
   13275   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   13276     PATH_SEPARATOR=';'
   13277   else
   13278     PATH_SEPARATOR=:
   13279   fi
   13280   rm -f conf$$.sh
   13281 fi
   13282 ac_prog=ld
   13283 if test "$GCC" = yes; then
   13284   # Check if gcc -print-prog-name=ld gives a path.
   13285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
   13286 $as_echo_n "checking for ld used by GCC... " >&6; }
   13287   case $host in
   13288   *-*-mingw*)
   13289     # gcc leaves a trailing carriage return which upsets mingw
   13290     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   13291   *)
   13292     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   13293   esac
   13294   case $ac_prog in
   13295     # Accept absolute paths.
   13296     [\\/]* | [A-Za-z]:[\\/]*)
   13297       re_direlt='/[^/][^/]*/\.\./'
   13298       # Canonicalize the path of ld
   13299       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
   13300       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   13301 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   13302       done
   13303       test -z "$LD" && LD="$ac_prog"
   13304       ;;
   13305   "")
   13306     # If it fails, then pretend we aren't using GCC.
   13307     ac_prog=ld
   13308     ;;
   13309   *)
   13310     # If it is relative, then search for the first ld in PATH.
   13311     with_gnu_ld=unknown
   13312     ;;
   13313   esac
   13314 elif test "$with_gnu_ld" = yes; then
   13315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   13316 $as_echo_n "checking for GNU ld... " >&6; }
   13317 else
   13318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   13319 $as_echo_n "checking for non-GNU ld... " >&6; }
   13320 fi
   13321 if ${acl_cv_path_LD+:} false; then :
   13322   $as_echo_n "(cached) " >&6
   13323 else
   13324   if test -z "$LD"; then
   13325   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
   13326   for ac_dir in $PATH; do
   13327     test -z "$ac_dir" && ac_dir=.
   13328     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   13329       acl_cv_path_LD="$ac_dir/$ac_prog"
   13330       # Check to see if the program is GNU ld.  I'd rather use --version,
   13331       # but apparently some GNU ld's only accept -v.
   13332       # Break only if it was the GNU/non-GNU ld that we prefer.
   13333       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then
   13334 	test "$with_gnu_ld" != no && break
   13335       else
   13336 	test "$with_gnu_ld" != yes && break
   13337       fi
   13338     fi
   13339   done
   13340   IFS="$ac_save_ifs"
   13341 else
   13342   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   13343 fi
   13344 fi
   13345 
   13346 LD="$acl_cv_path_LD"
   13347 if test -n "$LD"; then
   13348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   13349 $as_echo "$LD" >&6; }
   13350 else
   13351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13352 $as_echo "no" >&6; }
   13353 fi
   13354 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   13355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   13356 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   13357 if ${acl_cv_prog_gnu_ld+:} false; then :
   13358   $as_echo_n "(cached) " >&6
   13359 else
   13360   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   13361 if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then
   13362   acl_cv_prog_gnu_ld=yes
   13363 else
   13364   acl_cv_prog_gnu_ld=no
   13365 fi
   13366 fi
   13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   13368 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
   13369 with_gnu_ld=$acl_cv_prog_gnu_ld
   13370 
   13371 
   13372 
   13373                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   13374 $as_echo_n "checking for shared library run path origin... " >&6; }
   13375 if ${acl_cv_rpath+:} false; then :
   13376   $as_echo_n "(cached) " >&6
   13377 else
   13378 
   13379     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   13380     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   13381     . ./conftest.sh
   13382     rm -f ./conftest.sh
   13383     acl_cv_rpath=done
   13384 
   13385 fi
   13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   13387 $as_echo "$acl_cv_rpath" >&6; }
   13388   wl="$acl_cv_wl"
   13389   libext="$acl_cv_libext"
   13390   shlibext="$acl_cv_shlibext"
   13391   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   13392   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   13393   hardcode_direct="$acl_cv_hardcode_direct"
   13394   hardcode_minus_L="$acl_cv_hardcode_minus_L"
   13395     # Check whether --enable-rpath was given.
   13396 if test "${enable_rpath+set}" = set; then :
   13397   enableval=$enable_rpath; :
   13398 else
   13399   enable_rpath=yes
   13400 fi
   13401 
   13402 
   13403 
   13404 
   13405 
   13406 
   13407 
   13408 
   13409     use_additional=yes
   13410 
   13411   acl_save_prefix="$prefix"
   13412   prefix="$acl_final_prefix"
   13413   acl_save_exec_prefix="$exec_prefix"
   13414   exec_prefix="$acl_final_exec_prefix"
   13415 
   13416     eval additional_includedir=\"$includedir\"
   13417     eval additional_libdir=\"$libdir\"
   13418 
   13419   exec_prefix="$acl_save_exec_prefix"
   13420   prefix="$acl_save_prefix"
   13421 
   13422 
   13423 # Check whether --with-libiconv-prefix was given.
   13424 if test "${with_libiconv_prefix+set}" = set; then :
   13425   withval=$with_libiconv_prefix;
   13426     if test "X$withval" = "Xno"; then
   13427       use_additional=no
   13428     else
   13429       if test "X$withval" = "X"; then
   13430 
   13431   acl_save_prefix="$prefix"
   13432   prefix="$acl_final_prefix"
   13433   acl_save_exec_prefix="$exec_prefix"
   13434   exec_prefix="$acl_final_exec_prefix"
   13435 
   13436           eval additional_includedir=\"$includedir\"
   13437           eval additional_libdir=\"$libdir\"
   13438 
   13439   exec_prefix="$acl_save_exec_prefix"
   13440   prefix="$acl_save_prefix"
   13441 
   13442       else
   13443         additional_includedir="$withval/include"
   13444         additional_libdir="$withval/lib"
   13445       fi
   13446     fi
   13447 
   13448 fi
   13449 
   13450 
   13451 # Check whether --with-libiconv-type was given.
   13452 if test "${with_libiconv_type+set}" = set; then :
   13453   withval=$with_libiconv_type;  with_libiconv_type=$withval
   13454 else
   13455    with_libiconv_type=auto
   13456 fi
   13457 
   13458   lib_type=`eval echo \$with_libiconv_type`
   13459 
   13460       LIBICONV=
   13461   LTLIBICONV=
   13462   INCICONV=
   13463   rpathdirs=
   13464   ltrpathdirs=
   13465   names_already_handled=
   13466   names_next_round='iconv '
   13467   while test -n "$names_next_round"; do
   13468     names_this_round="$names_next_round"
   13469     names_next_round=
   13470     for name in $names_this_round; do
   13471       already_handled=
   13472       for n in $names_already_handled; do
   13473         if test "$n" = "$name"; then
   13474           already_handled=yes
   13475           break
   13476         fi
   13477       done
   13478       if test -z "$already_handled"; then
   13479         names_already_handled="$names_already_handled $name"
   13480                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   13481         eval value=\"\$HAVE_LIB$uppername\"
   13482         if test -n "$value"; then
   13483           if test "$value" = yes; then
   13484             eval value=\"\$LIB$uppername\"
   13485             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   13486             eval value=\"\$LTLIB$uppername\"
   13487             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   13488           else
   13489                                     :
   13490           fi
   13491         else
   13492                               found_dir=
   13493           found_la=
   13494           found_so=
   13495           found_a=
   13496           if test $use_additional = yes; then
   13497             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   13498               found_dir="$additional_libdir"
   13499               found_so="$additional_libdir/lib$name.$shlibext"
   13500               if test -f "$additional_libdir/lib$name.la"; then
   13501                 found_la="$additional_libdir/lib$name.la"
   13502               fi
   13503             elif test x$lib_type != xshared; then
   13504               if test -f "$additional_libdir/lib$name.$libext"; then
   13505                 found_dir="$additional_libdir"
   13506                 found_a="$additional_libdir/lib$name.$libext"
   13507                 if test -f "$additional_libdir/lib$name.la"; then
   13508                   found_la="$additional_libdir/lib$name.la"
   13509                 fi
   13510               fi
   13511             fi
   13512           fi
   13513           if test "X$found_dir" = "X"; then
   13514             for x in $LDFLAGS $LTLIBICONV; do
   13515 
   13516   acl_save_prefix="$prefix"
   13517   prefix="$acl_final_prefix"
   13518   acl_save_exec_prefix="$exec_prefix"
   13519   exec_prefix="$acl_final_exec_prefix"
   13520   eval x=\"$x\"
   13521   exec_prefix="$acl_save_exec_prefix"
   13522   prefix="$acl_save_prefix"
   13523 
   13524               case "$x" in
   13525                 -L*)
   13526                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   13527                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   13528                     found_dir="$dir"
   13529                     found_so="$dir/lib$name.$shlibext"
   13530                     if test -f "$dir/lib$name.la"; then
   13531                       found_la="$dir/lib$name.la"
   13532                     fi
   13533                   elif test x$lib_type != xshared; then
   13534                     if test -f "$dir/lib$name.$libext"; then
   13535                       found_dir="$dir"
   13536                       found_a="$dir/lib$name.$libext"
   13537                       if test -f "$dir/lib$name.la"; then
   13538                         found_la="$dir/lib$name.la"
   13539                       fi
   13540                     fi
   13541                   fi
   13542                   ;;
   13543               esac
   13544               if test "X$found_dir" != "X"; then
   13545                 break
   13546               fi
   13547             done
   13548           fi
   13549           if test "X$found_dir" != "X"; then
   13550                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   13551             if test "X$found_so" != "X"; then
   13552                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   13553                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   13554               else
   13555                                                                                 haveit=
   13556                 for x in $ltrpathdirs; do
   13557                   if test "X$x" = "X$found_dir"; then
   13558                     haveit=yes
   13559                     break
   13560                   fi
   13561                 done
   13562                 if test -z "$haveit"; then
   13563                   ltrpathdirs="$ltrpathdirs $found_dir"
   13564                 fi
   13565                                 if test "$hardcode_direct" = yes; then
   13566                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   13567                 else
   13568                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   13569                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   13570                                                             haveit=
   13571                     for x in $rpathdirs; do
   13572                       if test "X$x" = "X$found_dir"; then
   13573                         haveit=yes
   13574                         break
   13575                       fi
   13576                     done
   13577                     if test -z "$haveit"; then
   13578                       rpathdirs="$rpathdirs $found_dir"
   13579                     fi
   13580                   else
   13581                                                                                 haveit=
   13582                     for x in $LDFLAGS $LIBICONV; do
   13583 
   13584   acl_save_prefix="$prefix"
   13585   prefix="$acl_final_prefix"
   13586   acl_save_exec_prefix="$exec_prefix"
   13587   exec_prefix="$acl_final_exec_prefix"
   13588   eval x=\"$x\"
   13589   exec_prefix="$acl_save_exec_prefix"
   13590   prefix="$acl_save_prefix"
   13591 
   13592                       if test "X$x" = "X-L$found_dir"; then
   13593                         haveit=yes
   13594                         break
   13595                       fi
   13596                     done
   13597                     if test -z "$haveit"; then
   13598                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   13599                     fi
   13600                     if test "$hardcode_minus_L" != no; then
   13601                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   13602                     else
   13603                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   13604                     fi
   13605                   fi
   13606                 fi
   13607               fi
   13608             else
   13609               if test "X$found_a" != "X"; then
   13610                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   13611               else
   13612                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   13613               fi
   13614             fi
   13615                         additional_includedir=
   13616             case "$found_dir" in
   13617               */lib | */lib/)
   13618                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   13619                 additional_includedir="$basedir/include"
   13620                 ;;
   13621             esac
   13622             if test "X$additional_includedir" != "X"; then
   13623                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   13624                 haveit=
   13625                 if test "X$additional_includedir" = "X/usr/local/include"; then
   13626                   if test -n "$GCC"; then
   13627                     case $host_os in
   13628                       linux*) haveit=yes;;
   13629                     esac
   13630                   fi
   13631                 fi
   13632                 if test -z "$haveit"; then
   13633                   for x in $CPPFLAGS $INCICONV; do
   13634 
   13635   acl_save_prefix="$prefix"
   13636   prefix="$acl_final_prefix"
   13637   acl_save_exec_prefix="$exec_prefix"
   13638   exec_prefix="$acl_final_exec_prefix"
   13639   eval x=\"$x\"
   13640   exec_prefix="$acl_save_exec_prefix"
   13641   prefix="$acl_save_prefix"
   13642 
   13643                     if test "X$x" = "X-I$additional_includedir"; then
   13644                       haveit=yes
   13645                       break
   13646                     fi
   13647                   done
   13648                   if test -z "$haveit"; then
   13649                     if test -d "$additional_includedir"; then
   13650                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   13651                     fi
   13652                   fi
   13653                 fi
   13654               fi
   13655             fi
   13656                         if test -n "$found_la"; then
   13657                                                         save_libdir="$libdir"
   13658               case "$found_la" in
   13659                 */* | *\\*) . "$found_la" ;;
   13660                 *) . "./$found_la" ;;
   13661               esac
   13662               libdir="$save_libdir"
   13663                             for dep in $dependency_libs; do
   13664                 case "$dep" in
   13665                   -L*)
   13666                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   13667                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   13668                       haveit=
   13669                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   13670                         if test -n "$GCC"; then
   13671                           case $host_os in
   13672                             linux*) haveit=yes;;
   13673                           esac
   13674                         fi
   13675                       fi
   13676                       if test -z "$haveit"; then
   13677                         haveit=
   13678                         for x in $LDFLAGS $LIBICONV; do
   13679 
   13680   acl_save_prefix="$prefix"
   13681   prefix="$acl_final_prefix"
   13682   acl_save_exec_prefix="$exec_prefix"
   13683   exec_prefix="$acl_final_exec_prefix"
   13684   eval x=\"$x\"
   13685   exec_prefix="$acl_save_exec_prefix"
   13686   prefix="$acl_save_prefix"
   13687 
   13688                           if test "X$x" = "X-L$additional_libdir"; then
   13689                             haveit=yes
   13690                             break
   13691                           fi
   13692                         done
   13693                         if test -z "$haveit"; then
   13694                           if test -d "$additional_libdir"; then
   13695                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   13696                           fi
   13697                         fi
   13698                         haveit=
   13699                         for x in $LDFLAGS $LTLIBICONV; do
   13700 
   13701   acl_save_prefix="$prefix"
   13702   prefix="$acl_final_prefix"
   13703   acl_save_exec_prefix="$exec_prefix"
   13704   exec_prefix="$acl_final_exec_prefix"
   13705   eval x=\"$x\"
   13706   exec_prefix="$acl_save_exec_prefix"
   13707   prefix="$acl_save_prefix"
   13708 
   13709                           if test "X$x" = "X-L$additional_libdir"; then
   13710                             haveit=yes
   13711                             break
   13712                           fi
   13713                         done
   13714                         if test -z "$haveit"; then
   13715                           if test -d "$additional_libdir"; then
   13716                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   13717                           fi
   13718                         fi
   13719                       fi
   13720                     fi
   13721                     ;;
   13722                   -R*)
   13723                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   13724                     if test "$enable_rpath" != no; then
   13725                                                                   haveit=
   13726                       for x in $rpathdirs; do
   13727                         if test "X$x" = "X$dir"; then
   13728                           haveit=yes
   13729                           break
   13730                         fi
   13731                       done
   13732                       if test -z "$haveit"; then
   13733                         rpathdirs="$rpathdirs $dir"
   13734                       fi
   13735                                                                   haveit=
   13736                       for x in $ltrpathdirs; do
   13737                         if test "X$x" = "X$dir"; then
   13738                           haveit=yes
   13739                           break
   13740                         fi
   13741                       done
   13742                       if test -z "$haveit"; then
   13743                         ltrpathdirs="$ltrpathdirs $dir"
   13744                       fi
   13745                     fi
   13746                     ;;
   13747                   -l*)
   13748                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   13749                     ;;
   13750                   *.la)
   13751                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   13752                     ;;
   13753                   *)
   13754                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   13755                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   13756                     ;;
   13757                 esac
   13758               done
   13759             fi
   13760           else
   13761                                                             if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
   13762               LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   13763               LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   13764             else
   13765               LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
   13766               LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
   13767             fi
   13768           fi
   13769         fi
   13770       fi
   13771     done
   13772   done
   13773   if test "X$rpathdirs" != "X"; then
   13774     if test -n "$hardcode_libdir_separator"; then
   13775                         alldirs=
   13776       for found_dir in $rpathdirs; do
   13777         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   13778       done
   13779             acl_save_libdir="$libdir"
   13780       libdir="$alldirs"
   13781       eval flag=\"$hardcode_libdir_flag_spec\"
   13782       libdir="$acl_save_libdir"
   13783       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   13784     else
   13785             for found_dir in $rpathdirs; do
   13786         acl_save_libdir="$libdir"
   13787         libdir="$found_dir"
   13788         eval flag=\"$hardcode_libdir_flag_spec\"
   13789         libdir="$acl_save_libdir"
   13790         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   13791       done
   13792     fi
   13793   fi
   13794   if test "X$ltrpathdirs" != "X"; then
   13795             for found_dir in $ltrpathdirs; do
   13796       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   13797     done
   13798   fi
   13799 
   13800 
   13801 
   13802 
   13803 
   13804 if test -f ../gettext/uninstalled-config.sh; then
   13805   relative_builddir='$(top_builddir)/../gettext'
   13806   .  ../gettext/uninstalled-config.sh
   13807 else
   13808   # The sister gettext directory doesn't exist and won't collect information on
   13809   # using gettext for us.  Call a bundled AM_GNU_GETTEXT.
   13810 
   13811 
   13812 
   13813 
   13814 
   13815 
   13816 
   13817 
   13818 
   13819 
   13820 
   13821 
   13822 
   13823 
   13824 
   13825 
   13826 
   13827 
   13828 
   13829 
   13830 
   13831 
   13832 
   13833     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
   13834 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
   13835 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
   13836   $as_echo_n "(cached) " >&6
   13837 else
   13838   gt_save_LIBS="$LIBS"
   13839      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   13840      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13841 /* end confdefs.h.  */
   13842 #include <CoreFoundation/CFPreferences.h>
   13843 int
   13844 main ()
   13845 {
   13846 CFPreferencesCopyAppValue(NULL, NULL)
   13847   ;
   13848   return 0;
   13849 }
   13850 _ACEOF
   13851 if ac_fn_c_try_link "$LINENO"; then :
   13852   gt_cv_func_CFPreferencesCopyAppValue=yes
   13853 else
   13854   gt_cv_func_CFPreferencesCopyAppValue=no
   13855 fi
   13856 rm -f core conftest.err conftest.$ac_objext \
   13857     conftest$ac_exeext conftest.$ac_ext
   13858      LIBS="$gt_save_LIBS"
   13859 fi
   13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
   13861 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
   13862   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
   13863 
   13864 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
   13865 
   13866   fi
   13867                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
   13868 $as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; }
   13869 if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then :
   13870   $as_echo_n "(cached) " >&6
   13871 else
   13872   gt_save_LIBS="$LIBS"
   13873      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   13874      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13875 /* end confdefs.h.  */
   13876 #include <CoreFoundation/CFLocale.h>
   13877 int
   13878 main ()
   13879 {
   13880 CFLocaleCopyPreferredLanguages();
   13881   ;
   13882   return 0;
   13883 }
   13884 _ACEOF
   13885 if ac_fn_c_try_link "$LINENO"; then :
   13886   gt_cv_func_CFLocaleCopyPreferredLanguages=yes
   13887 else
   13888   gt_cv_func_CFLocaleCopyPreferredLanguages=no
   13889 fi
   13890 rm -f core conftest.err conftest.$ac_objext \
   13891     conftest$ac_exeext conftest.$ac_ext
   13892      LIBS="$gt_save_LIBS"
   13893 fi
   13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
   13895 $as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
   13896   if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
   13897 
   13898 $as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
   13899 
   13900   fi
   13901   INTL_MACOSX_LIBS=
   13902   if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
   13903      || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
   13904                     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices"
   13905   fi
   13906 
   13907 
   13908 
   13909 
   13910 
   13911 
   13912   LIBINTL=
   13913   LTLIBINTL=
   13914   POSUB=
   13915 
   13916     case " $gt_needs " in
   13917     *" need-formatstring-macros "*) gt_api_version=3 ;;
   13918     *" need-ngettext "*) gt_api_version=2 ;;
   13919     *) gt_api_version=1 ;;
   13920   esac
   13921   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
   13922   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
   13923 
   13924     if test "$USE_NLS" = "yes"; then
   13925     gt_use_preinstalled_gnugettext=no
   13926 
   13927 
   13928         if test $gt_api_version -ge 3; then
   13929           gt_revision_test_code='
   13930 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   13931 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
   13932 #endif
   13933 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
   13934 '
   13935         else
   13936           gt_revision_test_code=
   13937         fi
   13938         if test $gt_api_version -ge 2; then
   13939           gt_expression_test_code=' + * ngettext ("", "", 0)'
   13940         else
   13941           gt_expression_test_code=
   13942         fi
   13943 
   13944         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
   13945 $as_echo_n "checking for GNU gettext in libc... " >&6; }
   13946 if eval \${$gt_func_gnugettext_libc+:} false; then :
   13947   $as_echo_n "(cached) " >&6
   13948 else
   13949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13950 /* end confdefs.h.  */
   13951 
   13952 #include <libintl.h>
   13953 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   13954 extern int _nl_msg_cat_cntr;
   13955 extern int *_nl_domain_bindings;
   13956 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
   13957 #else
   13958 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   13959 #endif
   13960 $gt_revision_test_code
   13961 
   13962 int
   13963 main ()
   13964 {
   13965 
   13966 bindtextdomain ("", "");
   13967 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   13968 
   13969   ;
   13970   return 0;
   13971 }
   13972 _ACEOF
   13973 if ac_fn_c_try_link "$LINENO"; then :
   13974   eval "$gt_func_gnugettext_libc=yes"
   13975 else
   13976   eval "$gt_func_gnugettext_libc=no"
   13977 fi
   13978 rm -f core conftest.err conftest.$ac_objext \
   13979     conftest$ac_exeext conftest.$ac_ext
   13980 fi
   13981 eval ac_res=\$$gt_func_gnugettext_libc
   13982 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   13983 $as_echo "$ac_res" >&6; }
   13984 
   13985         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
   13986 
   13987 
   13988 
   13989 
   13990 
   13991           am_save_CPPFLAGS="$CPPFLAGS"
   13992 
   13993   for element in $INCICONV; do
   13994     haveit=
   13995     for x in $CPPFLAGS; do
   13996 
   13997   acl_save_prefix="$prefix"
   13998   prefix="$acl_final_prefix"
   13999   acl_save_exec_prefix="$exec_prefix"
   14000   exec_prefix="$acl_final_exec_prefix"
   14001   eval x=\"$x\"
   14002   exec_prefix="$acl_save_exec_prefix"
   14003   prefix="$acl_save_prefix"
   14004 
   14005       if test "X$x" = "X$element"; then
   14006         haveit=yes
   14007         break
   14008       fi
   14009     done
   14010     if test -z "$haveit"; then
   14011       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   14012     fi
   14013   done
   14014 
   14015 
   14016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   14017 $as_echo_n "checking for iconv... " >&6; }
   14018 if ${am_cv_func_iconv+:} false; then :
   14019   $as_echo_n "(cached) " >&6
   14020 else
   14021 
   14022     am_cv_func_iconv="no, consider installing GNU libiconv"
   14023     am_cv_lib_iconv=no
   14024     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14025 /* end confdefs.h.  */
   14026 
   14027 #include <stdlib.h>
   14028 #include <iconv.h>
   14029 
   14030 int
   14031 main ()
   14032 {
   14033 iconv_t cd = iconv_open("","");
   14034            iconv(cd,NULL,NULL,NULL,NULL);
   14035            iconv_close(cd);
   14036   ;
   14037   return 0;
   14038 }
   14039 _ACEOF
   14040 if ac_fn_c_try_link "$LINENO"; then :
   14041   am_cv_func_iconv=yes
   14042 fi
   14043 rm -f core conftest.err conftest.$ac_objext \
   14044     conftest$ac_exeext conftest.$ac_ext
   14045     if test "$am_cv_func_iconv" != yes; then
   14046       am_save_LIBS="$LIBS"
   14047       LIBS="$LIBS $LIBICONV"
   14048       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14049 /* end confdefs.h.  */
   14050 
   14051 #include <stdlib.h>
   14052 #include <iconv.h>
   14053 
   14054 int
   14055 main ()
   14056 {
   14057 iconv_t cd = iconv_open("","");
   14058              iconv(cd,NULL,NULL,NULL,NULL);
   14059              iconv_close(cd);
   14060   ;
   14061   return 0;
   14062 }
   14063 _ACEOF
   14064 if ac_fn_c_try_link "$LINENO"; then :
   14065   am_cv_lib_iconv=yes
   14066         am_cv_func_iconv=yes
   14067 fi
   14068 rm -f core conftest.err conftest.$ac_objext \
   14069     conftest$ac_exeext conftest.$ac_ext
   14070       LIBS="$am_save_LIBS"
   14071     fi
   14072 
   14073 fi
   14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   14075 $as_echo "$am_cv_func_iconv" >&6; }
   14076   if test "$am_cv_func_iconv" = yes; then
   14077     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
   14078 $as_echo_n "checking for working iconv... " >&6; }
   14079 if ${am_cv_func_iconv_works+:} false; then :
   14080   $as_echo_n "(cached) " >&6
   14081 else
   14082 
   14083                   am_save_LIBS="$LIBS"
   14084       if test $am_cv_lib_iconv = yes; then
   14085         LIBS="$LIBS $LIBICONV"
   14086       fi
   14087       am_cv_func_iconv_works=no
   14088       for ac_iconv_const in '' 'const'; do
   14089         if test "$cross_compiling" = yes; then :
   14090   case "$host_os" in
   14091              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
   14092              *)            am_cv_func_iconv_works="guessing yes" ;;
   14093            esac
   14094 else
   14095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14096 /* end confdefs.h.  */
   14097 
   14098 #include <iconv.h>
   14099 #include <string.h>
   14100 
   14101 #ifndef ICONV_CONST
   14102 # define ICONV_CONST $ac_iconv_const
   14103 #endif
   14104 
   14105 int
   14106 main ()
   14107 {
   14108 int result = 0;
   14109   /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
   14110      successful returns.  This is even documented in
   14111      <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
   14112   {
   14113     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
   14114     if (cd_utf8_to_88591 != (iconv_t)(-1))
   14115       {
   14116         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
   14117         char buf[10];
   14118         ICONV_CONST char *inptr = input;
   14119         size_t inbytesleft = strlen (input);
   14120         char *outptr = buf;
   14121         size_t outbytesleft = sizeof (buf);
   14122         size_t res = iconv (cd_utf8_to_88591,
   14123                             &inptr, &inbytesleft,
   14124                             &outptr, &outbytesleft);
   14125         if (res == 0)
   14126           result |= 1;
   14127         iconv_close (cd_utf8_to_88591);
   14128       }
   14129   }
   14130   /* Test against Solaris 10 bug: Failures are not distinguishable from
   14131      successful returns.  */
   14132   {
   14133     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
   14134     if (cd_ascii_to_88591 != (iconv_t)(-1))
   14135       {
   14136         static ICONV_CONST char input[] = "\263";
   14137         char buf[10];
   14138         ICONV_CONST char *inptr = input;
   14139         size_t inbytesleft = strlen (input);
   14140         char *outptr = buf;
   14141         size_t outbytesleft = sizeof (buf);
   14142         size_t res = iconv (cd_ascii_to_88591,
   14143                             &inptr, &inbytesleft,
   14144                             &outptr, &outbytesleft);
   14145         if (res == 0)
   14146           result |= 2;
   14147         iconv_close (cd_ascii_to_88591);
   14148       }
   14149   }
   14150   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
   14151   {
   14152     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
   14153     if (cd_88591_to_utf8 != (iconv_t)(-1))
   14154       {
   14155         static ICONV_CONST char input[] = "\304";
   14156         static char buf[2] = { (char)0xDE, (char)0xAD };
   14157         ICONV_CONST char *inptr = input;
   14158         size_t inbytesleft = 1;
   14159         char *outptr = buf;
   14160         size_t outbytesleft = 1;
   14161         size_t res = iconv (cd_88591_to_utf8,
   14162                             &inptr, &inbytesleft,
   14163                             &outptr, &outbytesleft);
   14164         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
   14165           result |= 4;
   14166         iconv_close (cd_88591_to_utf8);
   14167       }
   14168   }
   14169 #if 0 /* This bug could be worked around by the caller.  */
   14170   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
   14171   {
   14172     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
   14173     if (cd_88591_to_utf8 != (iconv_t)(-1))
   14174       {
   14175         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
   14176         char buf[50];
   14177         ICONV_CONST char *inptr = input;
   14178         size_t inbytesleft = strlen (input);
   14179         char *outptr = buf;
   14180         size_t outbytesleft = sizeof (buf);
   14181         size_t res = iconv (cd_88591_to_utf8,
   14182                             &inptr, &inbytesleft,
   14183                             &outptr, &outbytesleft);
   14184         if ((int)res > 0)
   14185           result |= 8;
   14186         iconv_close (cd_88591_to_utf8);
   14187       }
   14188   }
   14189 #endif
   14190   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
   14191      provided.  */
   14192   {
   14193     /* Try standardized names.  */
   14194     iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
   14195     /* Try IRIX, OSF/1 names.  */
   14196     iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
   14197     /* Try AIX names.  */
   14198     iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
   14199     /* Try HP-UX names.  */
   14200     iconv_t cd4 = iconv_open ("utf8", "eucJP");
   14201     if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
   14202         && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
   14203       result |= 16;
   14204     if (cd1 != (iconv_t)(-1))
   14205       iconv_close (cd1);
   14206     if (cd2 != (iconv_t)(-1))
   14207       iconv_close (cd2);
   14208     if (cd3 != (iconv_t)(-1))
   14209       iconv_close (cd3);
   14210     if (cd4 != (iconv_t)(-1))
   14211       iconv_close (cd4);
   14212   }
   14213   return result;
   14214 
   14215   ;
   14216   return 0;
   14217 }
   14218 _ACEOF
   14219 if ac_fn_c_try_run "$LINENO"; then :
   14220   am_cv_func_iconv_works=yes
   14221 fi
   14222 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   14223   conftest.$ac_objext conftest.beam conftest.$ac_ext
   14224 fi
   14225 
   14226         test "$am_cv_func_iconv_works" = no || break
   14227       done
   14228       LIBS="$am_save_LIBS"
   14229 
   14230 fi
   14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
   14232 $as_echo "$am_cv_func_iconv_works" >&6; }
   14233     case "$am_cv_func_iconv_works" in
   14234       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
   14235       *)   am_func_iconv=yes ;;
   14236     esac
   14237   else
   14238     am_func_iconv=no am_cv_lib_iconv=no
   14239   fi
   14240   if test "$am_func_iconv" = yes; then
   14241 
   14242 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   14243 
   14244   fi
   14245   if test "$am_cv_lib_iconv" = yes; then
   14246     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   14247 $as_echo_n "checking how to link with libiconv... " >&6; }
   14248     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   14249 $as_echo "$LIBICONV" >&6; }
   14250   else
   14251             CPPFLAGS="$am_save_CPPFLAGS"
   14252     LIBICONV=
   14253     LTLIBICONV=
   14254   fi
   14255 
   14256 
   14257 
   14258 
   14259 
   14260 
   14261     use_additional=yes
   14262 
   14263   acl_save_prefix="$prefix"
   14264   prefix="$acl_final_prefix"
   14265   acl_save_exec_prefix="$exec_prefix"
   14266   exec_prefix="$acl_final_exec_prefix"
   14267 
   14268     eval additional_includedir=\"$includedir\"
   14269     eval additional_libdir=\"$libdir\"
   14270 
   14271   exec_prefix="$acl_save_exec_prefix"
   14272   prefix="$acl_save_prefix"
   14273 
   14274 
   14275 # Check whether --with-libintl-prefix was given.
   14276 if test "${with_libintl_prefix+set}" = set; then :
   14277   withval=$with_libintl_prefix;
   14278     if test "X$withval" = "Xno"; then
   14279       use_additional=no
   14280     else
   14281       if test "X$withval" = "X"; then
   14282 
   14283   acl_save_prefix="$prefix"
   14284   prefix="$acl_final_prefix"
   14285   acl_save_exec_prefix="$exec_prefix"
   14286   exec_prefix="$acl_final_exec_prefix"
   14287 
   14288           eval additional_includedir=\"$includedir\"
   14289           eval additional_libdir=\"$libdir\"
   14290 
   14291   exec_prefix="$acl_save_exec_prefix"
   14292   prefix="$acl_save_prefix"
   14293 
   14294       else
   14295         additional_includedir="$withval/include"
   14296         additional_libdir="$withval/lib"
   14297       fi
   14298     fi
   14299 
   14300 fi
   14301 
   14302 
   14303 # Check whether --with-libintl-type was given.
   14304 if test "${with_libintl_type+set}" = set; then :
   14305   withval=$with_libintl_type;  with_libintl_type=$withval
   14306 else
   14307    with_libintl_type=auto
   14308 fi
   14309 
   14310   lib_type=`eval echo \$with_libintl_type`
   14311 
   14312       LIBINTL=
   14313   LTLIBINTL=
   14314   INCINTL=
   14315   rpathdirs=
   14316   ltrpathdirs=
   14317   names_already_handled=
   14318   names_next_round='intl '
   14319   while test -n "$names_next_round"; do
   14320     names_this_round="$names_next_round"
   14321     names_next_round=
   14322     for name in $names_this_round; do
   14323       already_handled=
   14324       for n in $names_already_handled; do
   14325         if test "$n" = "$name"; then
   14326           already_handled=yes
   14327           break
   14328         fi
   14329       done
   14330       if test -z "$already_handled"; then
   14331         names_already_handled="$names_already_handled $name"
   14332                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   14333         eval value=\"\$HAVE_LIB$uppername\"
   14334         if test -n "$value"; then
   14335           if test "$value" = yes; then
   14336             eval value=\"\$LIB$uppername\"
   14337             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   14338             eval value=\"\$LTLIB$uppername\"
   14339             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   14340           else
   14341                                     :
   14342           fi
   14343         else
   14344                               found_dir=
   14345           found_la=
   14346           found_so=
   14347           found_a=
   14348           if test $use_additional = yes; then
   14349             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   14350               found_dir="$additional_libdir"
   14351               found_so="$additional_libdir/lib$name.$shlibext"
   14352               if test -f "$additional_libdir/lib$name.la"; then
   14353                 found_la="$additional_libdir/lib$name.la"
   14354               fi
   14355             elif test x$lib_type != xshared; then
   14356               if test -f "$additional_libdir/lib$name.$libext"; then
   14357                 found_dir="$additional_libdir"
   14358                 found_a="$additional_libdir/lib$name.$libext"
   14359                 if test -f "$additional_libdir/lib$name.la"; then
   14360                   found_la="$additional_libdir/lib$name.la"
   14361                 fi
   14362               fi
   14363             fi
   14364           fi
   14365           if test "X$found_dir" = "X"; then
   14366             for x in $LDFLAGS $LTLIBINTL; do
   14367 
   14368   acl_save_prefix="$prefix"
   14369   prefix="$acl_final_prefix"
   14370   acl_save_exec_prefix="$exec_prefix"
   14371   exec_prefix="$acl_final_exec_prefix"
   14372   eval x=\"$x\"
   14373   exec_prefix="$acl_save_exec_prefix"
   14374   prefix="$acl_save_prefix"
   14375 
   14376               case "$x" in
   14377                 -L*)
   14378                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   14379                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   14380                     found_dir="$dir"
   14381                     found_so="$dir/lib$name.$shlibext"
   14382                     if test -f "$dir/lib$name.la"; then
   14383                       found_la="$dir/lib$name.la"
   14384                     fi
   14385                   elif test x$lib_type != xshared; then
   14386                     if test -f "$dir/lib$name.$libext"; then
   14387                       found_dir="$dir"
   14388                       found_a="$dir/lib$name.$libext"
   14389                       if test -f "$dir/lib$name.la"; then
   14390                         found_la="$dir/lib$name.la"
   14391                       fi
   14392                     fi
   14393                   fi
   14394                   ;;
   14395               esac
   14396               if test "X$found_dir" != "X"; then
   14397                 break
   14398               fi
   14399             done
   14400           fi
   14401           if test "X$found_dir" != "X"; then
   14402                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   14403             if test "X$found_so" != "X"; then
   14404                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   14405                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   14406               else
   14407                                                                                 haveit=
   14408                 for x in $ltrpathdirs; do
   14409                   if test "X$x" = "X$found_dir"; then
   14410                     haveit=yes
   14411                     break
   14412                   fi
   14413                 done
   14414                 if test -z "$haveit"; then
   14415                   ltrpathdirs="$ltrpathdirs $found_dir"
   14416                 fi
   14417                                 if test "$hardcode_direct" = yes; then
   14418                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   14419                 else
   14420                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   14421                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   14422                                                             haveit=
   14423                     for x in $rpathdirs; do
   14424                       if test "X$x" = "X$found_dir"; then
   14425                         haveit=yes
   14426                         break
   14427                       fi
   14428                     done
   14429                     if test -z "$haveit"; then
   14430                       rpathdirs="$rpathdirs $found_dir"
   14431                     fi
   14432                   else
   14433                                                                                 haveit=
   14434                     for x in $LDFLAGS $LIBINTL; do
   14435 
   14436   acl_save_prefix="$prefix"
   14437   prefix="$acl_final_prefix"
   14438   acl_save_exec_prefix="$exec_prefix"
   14439   exec_prefix="$acl_final_exec_prefix"
   14440   eval x=\"$x\"
   14441   exec_prefix="$acl_save_exec_prefix"
   14442   prefix="$acl_save_prefix"
   14443 
   14444                       if test "X$x" = "X-L$found_dir"; then
   14445                         haveit=yes
   14446                         break
   14447                       fi
   14448                     done
   14449                     if test -z "$haveit"; then
   14450                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   14451                     fi
   14452                     if test "$hardcode_minus_L" != no; then
   14453                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   14454                     else
   14455                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   14456                     fi
   14457                   fi
   14458                 fi
   14459               fi
   14460             else
   14461               if test "X$found_a" != "X"; then
   14462                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   14463               else
   14464                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   14465               fi
   14466             fi
   14467                         additional_includedir=
   14468             case "$found_dir" in
   14469               */lib | */lib/)
   14470                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   14471                 additional_includedir="$basedir/include"
   14472                 ;;
   14473             esac
   14474             if test "X$additional_includedir" != "X"; then
   14475                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   14476                 haveit=
   14477                 if test "X$additional_includedir" = "X/usr/local/include"; then
   14478                   if test -n "$GCC"; then
   14479                     case $host_os in
   14480                       linux*) haveit=yes;;
   14481                     esac
   14482                   fi
   14483                 fi
   14484                 if test -z "$haveit"; then
   14485                   for x in $CPPFLAGS $INCINTL; do
   14486 
   14487   acl_save_prefix="$prefix"
   14488   prefix="$acl_final_prefix"
   14489   acl_save_exec_prefix="$exec_prefix"
   14490   exec_prefix="$acl_final_exec_prefix"
   14491   eval x=\"$x\"
   14492   exec_prefix="$acl_save_exec_prefix"
   14493   prefix="$acl_save_prefix"
   14494 
   14495                     if test "X$x" = "X-I$additional_includedir"; then
   14496                       haveit=yes
   14497                       break
   14498                     fi
   14499                   done
   14500                   if test -z "$haveit"; then
   14501                     if test -d "$additional_includedir"; then
   14502                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   14503                     fi
   14504                   fi
   14505                 fi
   14506               fi
   14507             fi
   14508                         if test -n "$found_la"; then
   14509                                                         save_libdir="$libdir"
   14510               case "$found_la" in
   14511                 */* | *\\*) . "$found_la" ;;
   14512                 *) . "./$found_la" ;;
   14513               esac
   14514               libdir="$save_libdir"
   14515                             for dep in $dependency_libs; do
   14516                 case "$dep" in
   14517                   -L*)
   14518                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   14519                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   14520                       haveit=
   14521                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   14522                         if test -n "$GCC"; then
   14523                           case $host_os in
   14524                             linux*) haveit=yes;;
   14525                           esac
   14526                         fi
   14527                       fi
   14528                       if test -z "$haveit"; then
   14529                         haveit=
   14530                         for x in $LDFLAGS $LIBINTL; do
   14531 
   14532   acl_save_prefix="$prefix"
   14533   prefix="$acl_final_prefix"
   14534   acl_save_exec_prefix="$exec_prefix"
   14535   exec_prefix="$acl_final_exec_prefix"
   14536   eval x=\"$x\"
   14537   exec_prefix="$acl_save_exec_prefix"
   14538   prefix="$acl_save_prefix"
   14539 
   14540                           if test "X$x" = "X-L$additional_libdir"; then
   14541                             haveit=yes
   14542                             break
   14543                           fi
   14544                         done
   14545                         if test -z "$haveit"; then
   14546                           if test -d "$additional_libdir"; then
   14547                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   14548                           fi
   14549                         fi
   14550                         haveit=
   14551                         for x in $LDFLAGS $LTLIBINTL; do
   14552 
   14553   acl_save_prefix="$prefix"
   14554   prefix="$acl_final_prefix"
   14555   acl_save_exec_prefix="$exec_prefix"
   14556   exec_prefix="$acl_final_exec_prefix"
   14557   eval x=\"$x\"
   14558   exec_prefix="$acl_save_exec_prefix"
   14559   prefix="$acl_save_prefix"
   14560 
   14561                           if test "X$x" = "X-L$additional_libdir"; then
   14562                             haveit=yes
   14563                             break
   14564                           fi
   14565                         done
   14566                         if test -z "$haveit"; then
   14567                           if test -d "$additional_libdir"; then
   14568                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   14569                           fi
   14570                         fi
   14571                       fi
   14572                     fi
   14573                     ;;
   14574                   -R*)
   14575                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   14576                     if test "$enable_rpath" != no; then
   14577                                                                   haveit=
   14578                       for x in $rpathdirs; do
   14579                         if test "X$x" = "X$dir"; then
   14580                           haveit=yes
   14581                           break
   14582                         fi
   14583                       done
   14584                       if test -z "$haveit"; then
   14585                         rpathdirs="$rpathdirs $dir"
   14586                       fi
   14587                                                                   haveit=
   14588                       for x in $ltrpathdirs; do
   14589                         if test "X$x" = "X$dir"; then
   14590                           haveit=yes
   14591                           break
   14592                         fi
   14593                       done
   14594                       if test -z "$haveit"; then
   14595                         ltrpathdirs="$ltrpathdirs $dir"
   14596                       fi
   14597                     fi
   14598                     ;;
   14599                   -l*)
   14600                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   14601                     ;;
   14602                   *.la)
   14603                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   14604                     ;;
   14605                   *)
   14606                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   14607                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   14608                     ;;
   14609                 esac
   14610               done
   14611             fi
   14612           else
   14613                                                             if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
   14614               LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   14615               LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   14616             else
   14617               LIBINTL="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext"
   14618               LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext"
   14619             fi
   14620           fi
   14621         fi
   14622       fi
   14623     done
   14624   done
   14625   if test "X$rpathdirs" != "X"; then
   14626     if test -n "$hardcode_libdir_separator"; then
   14627                         alldirs=
   14628       for found_dir in $rpathdirs; do
   14629         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   14630       done
   14631             acl_save_libdir="$libdir"
   14632       libdir="$alldirs"
   14633       eval flag=\"$hardcode_libdir_flag_spec\"
   14634       libdir="$acl_save_libdir"
   14635       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   14636     else
   14637             for found_dir in $rpathdirs; do
   14638         acl_save_libdir="$libdir"
   14639         libdir="$found_dir"
   14640         eval flag=\"$hardcode_libdir_flag_spec\"
   14641         libdir="$acl_save_libdir"
   14642         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   14643       done
   14644     fi
   14645   fi
   14646   if test "X$ltrpathdirs" != "X"; then
   14647             for found_dir in $ltrpathdirs; do
   14648       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   14649     done
   14650   fi
   14651 
   14652           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
   14653 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
   14654 if eval \${$gt_func_gnugettext_libintl+:} false; then :
   14655   $as_echo_n "(cached) " >&6
   14656 else
   14657   gt_save_CPPFLAGS="$CPPFLAGS"
   14658             CPPFLAGS="$CPPFLAGS $INCINTL"
   14659             gt_save_LIBS="$LIBS"
   14660             LIBS="$LIBS $LIBINTL"
   14661                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14662 /* end confdefs.h.  */
   14663 
   14664 #include <libintl.h>
   14665 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   14666 extern int _nl_msg_cat_cntr;
   14667 extern
   14668 #ifdef __cplusplus
   14669 "C"
   14670 #endif
   14671 const char *_nl_expand_alias (const char *);
   14672 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   14673 #else
   14674 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   14675 #endif
   14676 $gt_revision_test_code
   14677 
   14678 int
   14679 main ()
   14680 {
   14681 
   14682 bindtextdomain ("", "");
   14683 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   14684 
   14685   ;
   14686   return 0;
   14687 }
   14688 _ACEOF
   14689 if ac_fn_c_try_link "$LINENO"; then :
   14690   eval "$gt_func_gnugettext_libintl=yes"
   14691 else
   14692   eval "$gt_func_gnugettext_libintl=no"
   14693 fi
   14694 rm -f core conftest.err conftest.$ac_objext \
   14695     conftest$ac_exeext conftest.$ac_ext
   14696                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
   14697               LIBS="$LIBS $LIBICONV"
   14698               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14699 /* end confdefs.h.  */
   14700 
   14701 #include <libintl.h>
   14702 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   14703 extern int _nl_msg_cat_cntr;
   14704 extern
   14705 #ifdef __cplusplus
   14706 "C"
   14707 #endif
   14708 const char *_nl_expand_alias (const char *);
   14709 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   14710 #else
   14711 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   14712 #endif
   14713 $gt_revision_test_code
   14714 
   14715 int
   14716 main ()
   14717 {
   14718 
   14719 bindtextdomain ("", "");
   14720 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   14721 
   14722   ;
   14723   return 0;
   14724 }
   14725 _ACEOF
   14726 if ac_fn_c_try_link "$LINENO"; then :
   14727   LIBINTL="$LIBINTL $LIBICONV"
   14728                  LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   14729                  eval "$gt_func_gnugettext_libintl=yes"
   14730 
   14731 fi
   14732 rm -f core conftest.err conftest.$ac_objext \
   14733     conftest$ac_exeext conftest.$ac_ext
   14734             fi
   14735             CPPFLAGS="$gt_save_CPPFLAGS"
   14736             LIBS="$gt_save_LIBS"
   14737 fi
   14738 eval ac_res=\$$gt_func_gnugettext_libintl
   14739 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   14740 $as_echo "$ac_res" >&6; }
   14741         fi
   14742 
   14743                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
   14744            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
   14745                 && test "$PACKAGE" != gettext-runtime \
   14746                 && test "$PACKAGE" != gettext-tools; }; then
   14747           gt_use_preinstalled_gnugettext=yes
   14748         else
   14749                     LIBINTL=
   14750           LTLIBINTL=
   14751           INCINTL=
   14752         fi
   14753 
   14754 
   14755 
   14756     if test -n "$INTL_MACOSX_LIBS"; then
   14757       if test "$gt_use_preinstalled_gnugettext" = "yes" \
   14758          || test "$nls_cv_use_gnu_gettext" = "yes"; then
   14759                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
   14760         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
   14761       fi
   14762     fi
   14763 
   14764     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   14765        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   14766 
   14767 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   14768 
   14769     else
   14770       USE_NLS=no
   14771     fi
   14772   fi
   14773 
   14774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
   14775 $as_echo_n "checking whether to use NLS... " >&6; }
   14776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   14777 $as_echo "$USE_NLS" >&6; }
   14778   if test "$USE_NLS" = "yes"; then
   14779     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
   14780 $as_echo_n "checking where the gettext function comes from... " >&6; }
   14781     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   14782       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   14783         gt_source="external libintl"
   14784       else
   14785         gt_source="libc"
   14786       fi
   14787     else
   14788       gt_source="included intl directory"
   14789     fi
   14790     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
   14791 $as_echo "$gt_source" >&6; }
   14792   fi
   14793 
   14794   if test "$USE_NLS" = "yes"; then
   14795 
   14796     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   14797       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   14798         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
   14799 $as_echo_n "checking how to link with libintl... " >&6; }
   14800         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
   14801 $as_echo "$LIBINTL" >&6; }
   14802 
   14803   for element in $INCINTL; do
   14804     haveit=
   14805     for x in $CPPFLAGS; do
   14806 
   14807   acl_save_prefix="$prefix"
   14808   prefix="$acl_final_prefix"
   14809   acl_save_exec_prefix="$exec_prefix"
   14810   exec_prefix="$acl_final_exec_prefix"
   14811   eval x=\"$x\"
   14812   exec_prefix="$acl_save_exec_prefix"
   14813   prefix="$acl_save_prefix"
   14814 
   14815       if test "X$x" = "X$element"; then
   14816         haveit=yes
   14817         break
   14818       fi
   14819     done
   14820     if test -z "$haveit"; then
   14821       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   14822     fi
   14823   done
   14824 
   14825       fi
   14826 
   14827 
   14828 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
   14829 
   14830 
   14831 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
   14832 
   14833     fi
   14834 
   14835         POSUB=po
   14836   fi
   14837 
   14838 
   14839 
   14840     INTLLIBS="$LIBINTL"
   14841 
   14842 
   14843 
   14844 
   14845 
   14846 
   14847 fi
   14848 
   14849 
   14850 
   14851 
   14852 
   14853 
   14854 
   14855 
   14856 
   14857 
   14858 
   14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   14860 $as_echo_n "checking whether NLS is requested... " >&6; }
   14861 if test x"$USE_NLS" != xyes; then
   14862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14863 $as_echo "no" >&6; }
   14864 else
   14865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14866 $as_echo "yes" >&6; }
   14867 
   14868 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   14869 
   14870 
   14871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
   14872 $as_echo_n "checking for catalogs to be installed... " >&6; }
   14873   # Look for .po and .gmo files in the source directory.
   14874   CATALOGS=
   14875   XLINGUAS=
   14876   for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
   14877     # If there aren't any .gmo files the shell will give us the
   14878     # literal string "../path/to/srcdir/po/*.gmo" which has to be
   14879     # weeded out.
   14880     case "$cat" in *\**)
   14881       continue;;
   14882     esac
   14883     # The quadruple backslash is collapsed to a double backslash
   14884     # by the backticks, then collapsed again by the double quotes,
   14885     # leaving us with one backslash in the sed expression (right
   14886     # before the dot that mustn't act as a wildcard).
   14887     cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
   14888     lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
   14889     # The user is allowed to set LINGUAS to a list of languages to
   14890     # install catalogs for.  If it's empty that means "all of them."
   14891     if test "x$LINGUAS" = x; then
   14892       CATALOGS="$CATALOGS $cat"
   14893       XLINGUAS="$XLINGUAS $lang"
   14894     else
   14895       case "$LINGUAS" in *$lang*)
   14896         CATALOGS="$CATALOGS $cat"
   14897         XLINGUAS="$XLINGUAS $lang"
   14898         ;;
   14899       esac
   14900     fi
   14901   done
   14902   LINGUAS="$XLINGUAS"
   14903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
   14904 $as_echo "$LINGUAS" >&6; }
   14905 
   14906 
   14907     DATADIRNAME=share
   14908 
   14909   INSTOBJEXT=.mo
   14910 
   14911   GENCAT=gencat
   14912 
   14913   CATOBJEXT=.gmo
   14914 
   14915 fi
   14916 
   14917 # Permit host specific settings.
   14918 . ${srcdir}/configure.host
   14919 
   14920 
   14921 
   14922 
   14923 # The cast to long int works around a bug in the HP C Compiler
   14924 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14925 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14926 # This bug is HP SR number 8606223364.
   14927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
   14928 $as_echo_n "checking size of long long... " >&6; }
   14929 if ${ac_cv_sizeof_long_long+:} false; then :
   14930   $as_echo_n "(cached) " >&6
   14931 else
   14932   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
   14933 
   14934 else
   14935   if test "$ac_cv_type_long_long" = yes; then
   14936      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14938 as_fn_error 77 "cannot compute sizeof (long long)
   14939 See \`config.log' for more details" "$LINENO" 5; }
   14940    else
   14941      ac_cv_sizeof_long_long=0
   14942    fi
   14943 fi
   14944 
   14945 fi
   14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
   14947 $as_echo "$ac_cv_sizeof_long_long" >&6; }
   14948 
   14949 
   14950 
   14951 cat >>confdefs.h <<_ACEOF
   14952 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
   14953 _ACEOF
   14954 
   14955 
   14956 # The cast to long int works around a bug in the HP C Compiler
   14957 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14958 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14959 # This bug is HP SR number 8606223364.
   14960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   14961 $as_echo_n "checking size of void *... " >&6; }
   14962 if ${ac_cv_sizeof_void_p+:} false; then :
   14963   $as_echo_n "(cached) " >&6
   14964 else
   14965   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   14966 
   14967 else
   14968   if test "$ac_cv_type_void_p" = yes; then
   14969      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14971 as_fn_error 77 "cannot compute sizeof (void *)
   14972 See \`config.log' for more details" "$LINENO" 5; }
   14973    else
   14974      ac_cv_sizeof_void_p=0
   14975    fi
   14976 fi
   14977 
   14978 fi
   14979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   14980 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   14981 
   14982 
   14983 
   14984 cat >>confdefs.h <<_ACEOF
   14985 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   14986 _ACEOF
   14987 
   14988 
   14989 # The cast to long int works around a bug in the HP C Compiler
   14990 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14991 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14992 # This bug is HP SR number 8606223364.
   14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   14994 $as_echo_n "checking size of long... " >&6; }
   14995 if ${ac_cv_sizeof_long+:} false; then :
   14996   $as_echo_n "(cached) " >&6
   14997 else
   14998   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   14999 
   15000 else
   15001   if test "$ac_cv_type_long" = yes; then
   15002      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15004 as_fn_error 77 "cannot compute sizeof (long)
   15005 See \`config.log' for more details" "$LINENO" 5; }
   15006    else
   15007      ac_cv_sizeof_long=0
   15008    fi
   15009 fi
   15010 
   15011 fi
   15012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   15013 $as_echo "$ac_cv_sizeof_long" >&6; }
   15014 
   15015 
   15016 
   15017 cat >>confdefs.h <<_ACEOF
   15018 #define SIZEOF_LONG $ac_cv_sizeof_long
   15019 _ACEOF
   15020 
   15021 
   15022 # The cast to long int works around a bug in the HP C Compiler
   15023 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   15024 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   15025 # This bug is HP SR number 8606223364.
   15026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   15027 $as_echo_n "checking size of int... " >&6; }
   15028 if ${ac_cv_sizeof_int+:} false; then :
   15029   $as_echo_n "(cached) " >&6
   15030 else
   15031   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   15032 
   15033 else
   15034   if test "$ac_cv_type_int" = yes; then
   15035      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15037 as_fn_error 77 "cannot compute sizeof (int)
   15038 See \`config.log' for more details" "$LINENO" 5; }
   15039    else
   15040      ac_cv_sizeof_int=0
   15041    fi
   15042 fi
   15043 
   15044 fi
   15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   15046 $as_echo "$ac_cv_sizeof_int" >&6; }
   15047 
   15048 
   15049 
   15050 cat >>confdefs.h <<_ACEOF
   15051 #define SIZEOF_INT $ac_cv_sizeof_int
   15052 _ACEOF
   15053 
   15054 
   15055 
   15056 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
   15057   host64=true
   15058 fi
   15059 
   15060 # Put a plausible default for CC_FOR_BUILD in Makefile.
   15061 if test -z "$CC_FOR_BUILD"; then
   15062   if test "x$cross_compiling" = "xno"; then
   15063     CC_FOR_BUILD='$(CC)'
   15064   else
   15065     CC_FOR_BUILD=gcc
   15066   fi
   15067 fi
   15068 
   15069 # Also set EXEEXT_FOR_BUILD.
   15070 if test "x$cross_compiling" = "xno"; then
   15071   EXEEXT_FOR_BUILD='$(EXEEXT)'
   15072 else
   15073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
   15074 $as_echo_n "checking for build system executable suffix... " >&6; }
   15075 if ${bfd_cv_build_exeext+:} false; then :
   15076   $as_echo_n "(cached) " >&6
   15077 else
   15078   rm -f conftest*
   15079      echo 'int main () { return 0; }' > conftest.c
   15080      bfd_cv_build_exeext=
   15081      ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
   15082      for file in conftest.*; do
   15083        case $file in
   15084        *.c | *.o | *.obj | *.ilk | *.pdb) ;;
   15085        *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
   15086        esac
   15087      done
   15088      rm -f conftest*
   15089      test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
   15090 fi
   15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
   15092 $as_echo "$bfd_cv_build_exeext" >&6; }
   15093   EXEEXT_FOR_BUILD=""
   15094   test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
   15095 fi
   15096 
   15097 
   15098 for ac_header in fcntl.h sys/file.h sys/resource.h sys/stat.h sys/types.h \
   15099 		 unistd.h
   15100 do :
   15101   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   15102 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   15103 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   15104   cat >>confdefs.h <<_ACEOF
   15105 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   15106 _ACEOF
   15107 
   15108 fi
   15109 
   15110 done
   15111 
   15112 
   15113 for ac_func in fcntl fdopen fileno fls getgid getpagesize getrlimit getuid \
   15114 	       sysconf
   15115 do :
   15116   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   15117 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   15118 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   15119   cat >>confdefs.h <<_ACEOF
   15120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   15121 _ACEOF
   15122 
   15123 fi
   15124 done
   15125 
   15126 
   15127 ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
   15128 if test "x$ac_cv_have_decl_basename" = xyes; then :
   15129   ac_have_decl=1
   15130 else
   15131   ac_have_decl=0
   15132 fi
   15133 
   15134 cat >>confdefs.h <<_ACEOF
   15135 #define HAVE_DECL_BASENAME $ac_have_decl
   15136 _ACEOF
   15137 ac_fn_c_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
   15138 if test "x$ac_cv_have_decl_ffs" = xyes; then :
   15139   ac_have_decl=1
   15140 else
   15141   ac_have_decl=0
   15142 fi
   15143 
   15144 cat >>confdefs.h <<_ACEOF
   15145 #define HAVE_DECL_FFS $ac_have_decl
   15146 _ACEOF
   15147 ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
   15148 if test "x$ac_cv_have_decl_stpcpy" = xyes; then :
   15149   ac_have_decl=1
   15150 else
   15151   ac_have_decl=0
   15152 fi
   15153 
   15154 cat >>confdefs.h <<_ACEOF
   15155 #define HAVE_DECL_STPCPY $ac_have_decl
   15156 _ACEOF
   15157 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
   15158 if test "x$ac_cv_have_decl_asprintf" = xyes; then :
   15159   ac_have_decl=1
   15160 else
   15161   ac_have_decl=0
   15162 fi
   15163 
   15164 cat >>confdefs.h <<_ACEOF
   15165 #define HAVE_DECL_ASPRINTF $ac_have_decl
   15166 _ACEOF
   15167 ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
   15168 if test "x$ac_cv_have_decl_vasprintf" = 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_VASPRINTF $ac_have_decl
   15176 _ACEOF
   15177 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
   15178 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
   15179   ac_have_decl=1
   15180 else
   15181   ac_have_decl=0
   15182 fi
   15183 
   15184 cat >>confdefs.h <<_ACEOF
   15185 #define HAVE_DECL_STRNLEN $ac_have_decl
   15186 _ACEOF
   15187 ac_fn_c_check_decl "$LINENO" "strtoull" "ac_cv_have_decl_strtoull" "$ac_includes_default"
   15188 if test "x$ac_cv_have_decl_strtoull" = xyes; then :
   15189   ac_have_decl=1
   15190 else
   15191   ac_have_decl=0
   15192 fi
   15193 
   15194 cat >>confdefs.h <<_ACEOF
   15195 #define HAVE_DECL_STRTOULL $ac_have_decl
   15196 _ACEOF
   15197 
   15198 ac_fn_c_check_decl "$LINENO" "___lc_codepage_func" "ac_cv_have_decl____lc_codepage_func" "#include <locale.h>
   15199 "
   15200 if test "x$ac_cv_have_decl____lc_codepage_func" = xyes; then :
   15201   ac_have_decl=1
   15202 else
   15203   ac_have_decl=0
   15204 fi
   15205 
   15206 cat >>confdefs.h <<_ACEOF
   15207 #define HAVE_DECL____LC_CODEPAGE_FUNC $ac_have_decl
   15208 _ACEOF
   15209 
   15210 
   15211 
   15212 case "${host}" in
   15213 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
   15214 
   15215 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
   15216  ;;
   15217 esac
   15218 
   15219 
   15220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread local storage (TLS) class" >&5
   15221 $as_echo_n "checking for thread local storage (TLS) class... " >&6; }
   15222   if ${ac_cv_tls+:} false; then :
   15223   $as_echo_n "(cached) " >&6
   15224 else
   15225   for ax_tls_keyword in thread_local _Thread_local __thread '__declspec(thread)' none; do
   15226        case $ax_tls_keyword in #(
   15227   none) :
   15228     ac_cv_tls=none ; break ;; #(
   15229   *) :
   15230     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15231 /* end confdefs.h.  */
   15232 #include <stdlib.h>
   15233 int
   15234 main ()
   15235 {
   15236 static  $ax_tls_keyword  int bar;
   15237 
   15238   ;
   15239   return 0;
   15240 }
   15241 _ACEOF
   15242 if ac_fn_c_try_compile "$LINENO"; then :
   15243   ac_cv_tls=$ax_tls_keyword ; break
   15244 else
   15245   ac_cv_tls=none
   15246 
   15247 fi
   15248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15249          ;;
   15250 esac
   15251     done
   15252 
   15253 fi
   15254 
   15255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
   15256 $as_echo "$ac_cv_tls" >&6; }
   15257 
   15258   if test "$ac_cv_tls" != "none"; then :
   15259 
   15260 cat >>confdefs.h <<_ACEOF
   15261 #define TLS $ac_cv_tls
   15262 _ACEOF
   15263 
   15264      :
   15265 else
   15266   :
   15267 fi
   15268 
   15269 
   15270 # Link in zlib/zstd if we can.  This allows us to read compressed debug sections.
   15271 # This is used only by compress.c.
   15272 
   15273   # Use the system's zlib library.
   15274   zlibdir="-L\$(top_builddir)/../zlib"
   15275   zlibinc="-I\$(top_srcdir)/../zlib"
   15276 
   15277 # Check whether --with-system-zlib was given.
   15278 if test "${with_system_zlib+set}" = set; then :
   15279   withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
   15280     zlibdir=
   15281     zlibinc=
   15282   fi
   15283 
   15284 fi
   15285 
   15286 
   15287 
   15288 
   15289 
   15290 
   15291 
   15292 
   15293 
   15294 
   15295 
   15296 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   15297 	if test -n "$ac_tool_prefix"; then
   15298   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   15299 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15301 $as_echo_n "checking for $ac_word... " >&6; }
   15302 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   15303   $as_echo_n "(cached) " >&6
   15304 else
   15305   case $PKG_CONFIG in
   15306   [\\/]* | ?:[\\/]*)
   15307   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   15308   ;;
   15309   *)
   15310   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15311 for as_dir in $PATH
   15312 do
   15313   IFS=$as_save_IFS
   15314   test -z "$as_dir" && as_dir=.
   15315     for ac_exec_ext in '' $ac_executable_extensions; do
   15316   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15317     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   15318     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15319     break 2
   15320   fi
   15321 done
   15322   done
   15323 IFS=$as_save_IFS
   15324 
   15325   ;;
   15326 esac
   15327 fi
   15328 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   15329 if test -n "$PKG_CONFIG"; then
   15330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   15331 $as_echo "$PKG_CONFIG" >&6; }
   15332 else
   15333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15334 $as_echo "no" >&6; }
   15335 fi
   15336 
   15337 
   15338 fi
   15339 if test -z "$ac_cv_path_PKG_CONFIG"; then
   15340   ac_pt_PKG_CONFIG=$PKG_CONFIG
   15341   # Extract the first word of "pkg-config", so it can be a program name with args.
   15342 set dummy pkg-config; ac_word=$2
   15343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15344 $as_echo_n "checking for $ac_word... " >&6; }
   15345 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   15346   $as_echo_n "(cached) " >&6
   15347 else
   15348   case $ac_pt_PKG_CONFIG in
   15349   [\\/]* | ?:[\\/]*)
   15350   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   15351   ;;
   15352   *)
   15353   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15354 for as_dir in $PATH
   15355 do
   15356   IFS=$as_save_IFS
   15357   test -z "$as_dir" && as_dir=.
   15358     for ac_exec_ext in '' $ac_executable_extensions; do
   15359   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15360     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   15361     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15362     break 2
   15363   fi
   15364 done
   15365   done
   15366 IFS=$as_save_IFS
   15367 
   15368   ;;
   15369 esac
   15370 fi
   15371 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   15372 if test -n "$ac_pt_PKG_CONFIG"; then
   15373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   15374 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   15375 else
   15376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15377 $as_echo "no" >&6; }
   15378 fi
   15379 
   15380   if test "x$ac_pt_PKG_CONFIG" = x; then
   15381     PKG_CONFIG=""
   15382   else
   15383     case $cross_compiling:$ac_tool_warned in
   15384 yes:)
   15385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15387 ac_tool_warned=yes ;;
   15388 esac
   15389     PKG_CONFIG=$ac_pt_PKG_CONFIG
   15390   fi
   15391 else
   15392   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   15393 fi
   15394 
   15395 fi
   15396 if test -n "$PKG_CONFIG"; then
   15397 	_pkg_min_version=0.9.0
   15398 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   15399 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   15400 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   15401 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15402 $as_echo "yes" >&6; }
   15403 	else
   15404 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15405 $as_echo "no" >&6; }
   15406 		PKG_CONFIG=""
   15407 	fi
   15408 fi
   15409 
   15410 
   15411 # Check whether --with-zstd was given.
   15412 if test "${with_zstd+set}" = set; then :
   15413   withval=$with_zstd;
   15414 else
   15415   with_zstd=auto
   15416 fi
   15417 
   15418 
   15419 if test "$with_zstd" != no; then :
   15420 
   15421 pkg_failed=no
   15422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzstd >= 1.4.0" >&5
   15423 $as_echo_n "checking for libzstd >= 1.4.0... " >&6; }
   15424 
   15425 if test -n "$ZSTD_CFLAGS"; then
   15426     pkg_cv_ZSTD_CFLAGS="$ZSTD_CFLAGS"
   15427  elif test -n "$PKG_CONFIG"; then
   15428     if test -n "$PKG_CONFIG" && \
   15429     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0\""; } >&5
   15430   ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0") 2>&5
   15431   ac_status=$?
   15432   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15433   test $ac_status = 0; }; then
   15434   pkg_cv_ZSTD_CFLAGS=`$PKG_CONFIG --cflags "libzstd >= 1.4.0" 2>/dev/null`
   15435 		      test "x$?" != "x0" && pkg_failed=yes
   15436 else
   15437   pkg_failed=yes
   15438 fi
   15439  else
   15440     pkg_failed=untried
   15441 fi
   15442 if test -n "$ZSTD_LIBS"; then
   15443     pkg_cv_ZSTD_LIBS="$ZSTD_LIBS"
   15444  elif test -n "$PKG_CONFIG"; then
   15445     if test -n "$PKG_CONFIG" && \
   15446     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0\""; } >&5
   15447   ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0") 2>&5
   15448   ac_status=$?
   15449   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15450   test $ac_status = 0; }; then
   15451   pkg_cv_ZSTD_LIBS=`$PKG_CONFIG --libs "libzstd >= 1.4.0" 2>/dev/null`
   15452 		      test "x$?" != "x0" && pkg_failed=yes
   15453 else
   15454   pkg_failed=yes
   15455 fi
   15456  else
   15457     pkg_failed=untried
   15458 fi
   15459 
   15460 if test $pkg_failed = no; then
   15461   pkg_save_LDFLAGS="$LDFLAGS"
   15462   LDFLAGS="$LDFLAGS $pkg_cv_ZSTD_LIBS"
   15463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15464 /* end confdefs.h.  */
   15465 
   15466 int
   15467 main ()
   15468 {
   15469 
   15470   ;
   15471   return 0;
   15472 }
   15473 _ACEOF
   15474 if ac_fn_c_try_link "$LINENO"; then :
   15475 
   15476 else
   15477   pkg_failed=yes
   15478 fi
   15479 rm -f core conftest.err conftest.$ac_objext \
   15480     conftest$ac_exeext conftest.$ac_ext
   15481   LDFLAGS=$pkg_save_LDFLAGS
   15482 fi
   15483 
   15484 
   15485 
   15486 if test $pkg_failed = yes; then
   15487         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15488 $as_echo "no" >&6; }
   15489 
   15490 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   15491         _pkg_short_errors_supported=yes
   15492 else
   15493         _pkg_short_errors_supported=no
   15494 fi
   15495         if test $_pkg_short_errors_supported = yes; then
   15496 	        ZSTD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzstd >= 1.4.0" 2>&1`
   15497         else
   15498 	        ZSTD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzstd >= 1.4.0" 2>&1`
   15499         fi
   15500 	# Put the nasty error message in config.log where it belongs
   15501 	echo "$ZSTD_PKG_ERRORS" >&5
   15502 
   15503 
   15504     if test "$with_zstd" = yes; then
   15505       as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
   15506     fi
   15507 
   15508 elif test $pkg_failed = untried; then
   15509         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15510 $as_echo "no" >&6; }
   15511 
   15512     if test "$with_zstd" = yes; then
   15513       as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
   15514     fi
   15515 
   15516 else
   15517 	ZSTD_CFLAGS=$pkg_cv_ZSTD_CFLAGS
   15518 	ZSTD_LIBS=$pkg_cv_ZSTD_LIBS
   15519         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15520 $as_echo "yes" >&6; }
   15521 
   15522 
   15523 $as_echo "#define HAVE_ZSTD 1" >>confdefs.h
   15524 
   15525 
   15526 fi
   15527 
   15528 fi
   15529 
   15530 
   15531 save_CFLAGS="$CFLAGS"
   15532 CFLAGS="$CFLAGS -Werror"
   15533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler support for hidden visibility" >&5
   15534 $as_echo_n "checking compiler support for hidden visibility... " >&6; }
   15535 if ${bfd_cv_hidden+:} false; then :
   15536   $as_echo_n "(cached) " >&6
   15537 else
   15538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15539 /* end confdefs.h.  */
   15540 
   15541 const char hw[] __attribute__ ((__visibility__ ("hidden"))) = "Hello, World\n";
   15542 extern void print (const char *) __attribute__ ((__visibility__ ("hidden")));
   15543 int
   15544 main ()
   15545 {
   15546 print (hw);
   15547   ;
   15548   return 0;
   15549 }
   15550 _ACEOF
   15551 if ac_fn_c_try_compile "$LINENO"; then :
   15552   bfd_cv_hidden=yes
   15553 else
   15554   bfd_cv_hidden=no
   15555 fi
   15556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15557 fi
   15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_hidden" >&5
   15559 $as_echo "$bfd_cv_hidden" >&6; }
   15560 CFLAGS="$save_CFLAGS"
   15561 if test $bfd_cv_hidden = yes; then
   15562 
   15563 $as_echo "#define HAVE_HIDDEN 1" >>confdefs.h
   15564 
   15565 fi
   15566 
   15567 # Check if linker supports --as-needed and --no-as-needed options
   15568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
   15569 $as_echo_n "checking linker --as-needed support... " >&6; }
   15570 if ${bfd_cv_ld_as_needed+:} false; then :
   15571   $as_echo_n "(cached) " >&6
   15572 else
   15573   bfd_cv_ld_as_needed=no
   15574 	if $LD --help 2>/dev/null | grep as-needed > /dev/null; then
   15575 		bfd_cv_ld_as_needed=yes
   15576 	fi
   15577 
   15578 fi
   15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
   15580 $as_echo "$bfd_cv_ld_as_needed" >&6; }
   15581 
   15582 LIBM=
   15583 case $host in
   15584 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
   15585   # These system don't have libm, or don't need it
   15586   ;;
   15587 *-ncr-sysv4.3*)
   15588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
   15589 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
   15590 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
   15591   $as_echo_n "(cached) " >&6
   15592 else
   15593   ac_check_lib_save_LIBS=$LIBS
   15594 LIBS="-lmw  $LIBS"
   15595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15596 /* end confdefs.h.  */
   15597 
   15598 /* Override any GCC internal prototype to avoid an error.
   15599    Use char because int might match the return type of a GCC
   15600    builtin and then its argument prototype would still apply.  */
   15601 #ifdef __cplusplus
   15602 extern "C"
   15603 #endif
   15604 char _mwvalidcheckl ();
   15605 int
   15606 main ()
   15607 {
   15608 return _mwvalidcheckl ();
   15609   ;
   15610   return 0;
   15611 }
   15612 _ACEOF
   15613 if ac_fn_c_try_link "$LINENO"; then :
   15614   ac_cv_lib_mw__mwvalidcheckl=yes
   15615 else
   15616   ac_cv_lib_mw__mwvalidcheckl=no
   15617 fi
   15618 rm -f core conftest.err conftest.$ac_objext \
   15619     conftest$ac_exeext conftest.$ac_ext
   15620 LIBS=$ac_check_lib_save_LIBS
   15621 fi
   15622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
   15623 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
   15624 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
   15625   LIBM="-lmw"
   15626 fi
   15627 
   15628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
   15629 $as_echo_n "checking for cos in -lm... " >&6; }
   15630 if ${ac_cv_lib_m_cos+:} false; then :
   15631   $as_echo_n "(cached) " >&6
   15632 else
   15633   ac_check_lib_save_LIBS=$LIBS
   15634 LIBS="-lm  $LIBS"
   15635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15636 /* end confdefs.h.  */
   15637 
   15638 /* Override any GCC internal prototype to avoid an error.
   15639    Use char because int might match the return type of a GCC
   15640    builtin and then its argument prototype would still apply.  */
   15641 #ifdef __cplusplus
   15642 extern "C"
   15643 #endif
   15644 char cos ();
   15645 int
   15646 main ()
   15647 {
   15648 return cos ();
   15649   ;
   15650   return 0;
   15651 }
   15652 _ACEOF
   15653 if ac_fn_c_try_link "$LINENO"; then :
   15654   ac_cv_lib_m_cos=yes
   15655 else
   15656   ac_cv_lib_m_cos=no
   15657 fi
   15658 rm -f core conftest.err conftest.$ac_objext \
   15659     conftest$ac_exeext conftest.$ac_ext
   15660 LIBS=$ac_check_lib_save_LIBS
   15661 fi
   15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
   15663 $as_echo "$ac_cv_lib_m_cos" >&6; }
   15664 if test "x$ac_cv_lib_m_cos" = xyes; then :
   15665   LIBM="$LIBM -lm"
   15666 fi
   15667 
   15668   ;;
   15669 *)
   15670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
   15671 $as_echo_n "checking for cos in -lm... " >&6; }
   15672 if ${ac_cv_lib_m_cos+:} false; then :
   15673   $as_echo_n "(cached) " >&6
   15674 else
   15675   ac_check_lib_save_LIBS=$LIBS
   15676 LIBS="-lm  $LIBS"
   15677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15678 /* end confdefs.h.  */
   15679 
   15680 /* Override any GCC internal prototype to avoid an error.
   15681    Use char because int might match the return type of a GCC
   15682    builtin and then its argument prototype would still apply.  */
   15683 #ifdef __cplusplus
   15684 extern "C"
   15685 #endif
   15686 char cos ();
   15687 int
   15688 main ()
   15689 {
   15690 return cos ();
   15691   ;
   15692   return 0;
   15693 }
   15694 _ACEOF
   15695 if ac_fn_c_try_link "$LINENO"; then :
   15696   ac_cv_lib_m_cos=yes
   15697 else
   15698   ac_cv_lib_m_cos=no
   15699 fi
   15700 rm -f core conftest.err conftest.$ac_objext \
   15701     conftest$ac_exeext conftest.$ac_ext
   15702 LIBS=$ac_check_lib_save_LIBS
   15703 fi
   15704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
   15705 $as_echo "$ac_cv_lib_m_cos" >&6; }
   15706 if test "x$ac_cv_lib_m_cos" = xyes; then :
   15707   LIBM="-lm"
   15708 fi
   15709 
   15710   ;;
   15711 esac
   15712 
   15713 
   15714 
   15715 # When building a shared libbfd, link against the pic version of libiberty
   15716 # so that apps that use libbfd won't need libiberty just to satisfy any
   15717 # libbfd references.
   15718 # We can't do that if a pic libiberty is unavailable since including non-pic
   15719 # code would insert text relocations into libbfd.
   15720 SHARED_LIBADD=
   15721 SHARED_LDFLAGS=
   15722 if test "$enable_shared" = "yes"; then
   15723   x=`sed -n -e 's/^[ 	]*PICFLAG[ 	]*=[ 	]*//p' < ../libiberty/Makefile | sed -n '$p'`
   15724   if test -n "$x"; then
   15725     SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
   15726   fi
   15727 fi
   15728 
   15729 SHARED_LIBADD="$SHARED_LIBADD $LTLIBINTL"
   15730 
   15731 if test "$enable_shared" = "yes"; then
   15732   case "${host}" in
   15733   # More hacks to build DLLs on Windows.
   15734   *-*-cygwin*)
   15735     SHARED_LDFLAGS="-no-undefined"
   15736     SHARED_LIBADD="-L`pwd`/../libiberty -liberty $SHARED_LIBADD -lcygwin -lkernel32"
   15737   ;;
   15738   esac
   15739 
   15740   if test -n "$SHARED_LIBADD"; then
   15741     if test -n "$LIBM"; then
   15742       if test x"$bfd_cv_ld_as_needed" = xyes; then
   15743 	# Link against libm only when needed.  Put -lc, -lm inside -Wl
   15744 	# to stop libtool reordering these options.
   15745 	SHARED_LIBADD="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
   15746       else
   15747 	SHARED_LIBADD="$SHARED_LIBADD $LIBM"
   15748       fi
   15749     fi
   15750   fi
   15751 fi
   15752 
   15753 
   15754 
   15755 # target stuff:
   15756 
   15757 # Canonicalize the secondary target names.
   15758 if test -n "$enable_targets" ; then
   15759     for targ in `echo $enable_targets | sed 's/,/ /g'`
   15760     do
   15761 	result=`$ac_config_sub $targ 2>/dev/null`
   15762 	if test -n "$result" ; then
   15763 	    canon_targets="$canon_targets $result"
   15764 	else
   15765 	    # Allow targets that config.sub doesn't recognize, like "all".
   15766 	    canon_targets="$canon_targets $targ"
   15767 	fi
   15768     done
   15769 fi
   15770 
   15771 all_targets=false
   15772 defvec=
   15773 selvecs=
   15774 assocvecs=
   15775 selarchs=
   15776 TDEFINES=
   15777 for targ in $target $canon_targets
   15778 do
   15779     if test $targ = all; then
   15780         all_targets=true
   15781     elif test $targ != plugin; then
   15782 	. $srcdir/config.bfd
   15783 	if test $targ = $target; then
   15784 	    defvec=$targ_defvec
   15785 	    assocvecs="$targ_defvec $targ_selvecs"
   15786 	fi
   15787 	selvecs="$selvecs $targ_defvec $targ_selvecs"
   15788 	selarchs="$selarchs $targ_archs"
   15789 	TDEFINES="$TDEFINES $targ_cflags"
   15790     fi
   15791 done
   15792 
   15793 
   15794 # This processing still needs to be done if we're to decide properly whether
   15795 # 64-bit support needs to be compiled in.  Currently, it will be included if
   15796 # the default or any other explicitly requested target requires it; it
   15797 # will not be included on a 32-bit host if no 64-bit target is requested, and
   15798 # no "--enable-64-bit-bfd" option is given, even if "--enable-targets=all" is
   15799 # used.
   15800 
   15801 # uniq the default and selected vectors in all the configured targets.
   15802 f=""
   15803 for i in $selvecs ; do
   15804     case " $f " in
   15805     *" $i "*) ;;
   15806     *) f="$f $i" ;;
   15807     esac
   15808 done
   15809 selvecs="$f"
   15810 
   15811 # uniq the architectures in all the configured targets.
   15812 f=""
   15813 for i in $selarchs ; do
   15814     case " $f " in
   15815     *" $i "*) ;;
   15816     *) f="$f $i" ;;
   15817     esac
   15818 done
   15819 selarchs="$f"
   15820 
   15821 # Target backend .o files.
   15822 tb=
   15823 
   15824 elf="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo
   15825      elf-properties.lo elf-sframe.lo dwarf1.lo dwarf2.lo"
   15826 coffgen="coffgen.lo dwarf2.lo"
   15827 coff="cofflink.lo $coffgen"
   15828 ecoff="ecofflink.lo $coffgen"
   15829 xcoff="xcofflink.lo $coffgen"
   15830 
   15831 elfxx_x86="elfxx-x86.lo elf-ifunc.lo elf-vxworks.lo"
   15832 for vec in $selvecs
   15833 do
   15834     target_size=32
   15835     case "$vec" in
   15836     # This list is alphabetized to make it easy to compare
   15837     # with the two vector lists in targets.c.  For the same reason,
   15838     # use one entry per line, even though this leads to long lines.
   15839     aarch64_elf32_be_vec)	 tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
   15840     aarch64_elf32_le_vec)	 tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
   15841     aarch64_elf64_be_vec)	   tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   15842     aarch64_elf64_le_vec)	   tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
   15843     aarch64_mach_o_vec)		 tb="$tb mach-o-aarch64.lo"; target_size=64 ;;
   15844     aarch64_pei_le_vec)		 tb="$tb pei-aarch64.lo pe-aarch64igen.lo $coff"; target_size=64 ;;
   15845     aarch64_pe_le_vec)		 tb="$tb pe-aarch64.lo pe-aarch64igen.lo $coff"; target_size=64 ;;
   15846     aarch64_pe_bigobj_le_vec)		 tb="$tb pe-aarch64.lo pe-aarch64igen.lo $coff"; target_size=64 ;;
   15847     alpha_ecoff_le_vec)		 tb="$tb coff-alpha.lo ecoff.lo $ecoff"; target_size=64 ;;
   15848     alpha_elf64_vec)		 tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
   15849     alpha_elf64_fbsd_vec)	 tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
   15850     alpha_vms_vec)		 tb="$tb vms-alpha.lo vms-misc.lo vms-lib.lo"; target_size=64 ;;
   15851     alpha_vms_lib_txt_vec)	 tb="$tb vms-lib.lo vms-misc.lo" ;;
   15852     am33_elf32_linux_vec)	 tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
   15853     amdgcn_elf64_le_vec)	 tb="$tb elf64-amdgcn.lo elf64.lo $elf"; target_size=64 ;;
   15854     aout0_be_vec)		 tb="$tb aout0.lo aout32.lo" ;;
   15855     aout64_vec)			 tb="$tb demo64.lo aout64.lo"; target_size=64 ;;
   15856     aout_vec)			 tb="$tb host-aout.lo aout32.lo" ;;
   15857     arc_elf32_be_vec)		 tb="$tb elf32-arc.lo elf32.lo $elf" ;;
   15858     arc_elf32_le_vec)		 tb="$tb elf32-arc.lo elf32.lo $elf" ;;
   15859     arm_elf32_be_vec)		 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
   15860     arm_elf32_le_vec)		 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
   15861     arm_elf32_fdpic_be_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
   15862     arm_elf32_fdpic_le_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
   15863     arm_elf32_vxworks_be_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
   15864     arm_elf32_vxworks_le_vec)	 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
   15865     arm_pe_be_vec)		 tb="$tb pe-arm.lo peigen.lo $coff" ;;
   15866     arm_pe_le_vec)		 tb="$tb pe-arm.lo peigen.lo $coff" ;;
   15867     arm_pe_wince_be_vec)	 tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo $coff" ;;
   15868     arm_pe_wince_le_vec)	 tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo $coff" ;;
   15869     arm_pei_be_vec)		 tb="$tb pei-arm.lo peigen.lo $coff" ;;
   15870     arm_pei_le_vec)		 tb="$tb pei-arm.lo peigen.lo $coff" ;;
   15871     arm_pei_wince_be_vec)	 tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo $coff" ;;
   15872     arm_pei_wince_le_vec)	 tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo $coff" ;;
   15873     arm_mach_o_vec)		 tb="$tb mach-o-arm.lo" ;;
   15874     avr_elf32_vec)		 tb="$tb elf32-avr.lo elf32.lo $elf" ;;
   15875     bfin_elf32_vec)		 tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
   15876     bfin_elf32_fdpic_vec)	 tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
   15877     cr16_elf32_vec)		 tb="$tb elf32-cr16.lo elf32.lo $elf" ;;
   15878     cris_aout_vec)		 tb="$tb aout-cris.lo" ;;
   15879     cris_elf32_vec)		 tb="$tb elf32-cris.lo elf32.lo $elf" ;;
   15880     cris_elf32_us_vec)		 tb="$tb elf32-cris.lo elf32.lo $elf" ;;
   15881     crx_elf32_vec)		 tb="$tb elf32-crx.lo elf32.lo $elf" ;;
   15882     csky_elf32_be_vec)		 tb="$tb elf32-csky.lo elf32.lo $elf" ;;
   15883     csky_elf32_le_vec)		 tb="$tb elf32-csky.lo elf32.lo $elf" ;;
   15884     d10v_elf32_vec)		 tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
   15885     d30v_elf32_vec)		 tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
   15886     dlx_elf32_be_vec)		 tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
   15887     elf32_be_vec)		 tb="$tb elf32-gen.lo elf32.lo $elf" ;;
   15888     elf32_le_vec)		 tb="$tb elf32-gen.lo elf32.lo $elf" ;;
   15889     elf64_be_vec)		 tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
   15890     elf64_le_vec)		 tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
   15891     bpf_elf64_le_vec)		 tb="$tb elf64-bpf.lo elf64.lo $elf"; target_size=64;;
   15892     bpf_elf64_be_vec)		 tb="$tb elf64-bpf.lo elf64.lo $elf"; target_size=64 ;;
   15893     epiphany_elf32_vec)		 tb="$tb elf32-epiphany.lo elf32.lo $elf" ;;
   15894     fr30_elf32_vec)		 tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
   15895     frv_elf32_vec)		 tb="$tb elf32-frv.lo elf32.lo $elf" ;;
   15896     frv_elf32_fdpic_vec)	 tb="$tb elf32-frv.lo elf32.lo $elf" ;;
   15897     h8300_elf32_vec)		 tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
   15898     h8300_elf32_linux_vec)	 tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
   15899     hppa_elf32_vec)		 tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
   15900     hppa_elf32_linux_vec)	 tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
   15901     hppa_elf32_nbsd_vec)	 tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
   15902     hppa_elf64_vec)		 tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
   15903     hppa_elf64_linux_vec)	 tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
   15904     hppa_som_vec)		 tb="$tb som.lo" ;;
   15905     i386_aout_vec)		 tb="$tb i386aout.lo aout32.lo" ;;
   15906     i386_aout_bsd_vec)		 tb="$tb i386bsd.lo aout32.lo" ;;
   15907     i386_aout_lynx_vec)		 tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
   15908     i386_aout_nbsd_vec)		 tb="$tb i386netbsd.lo aout32.lo" ;;
   15909     i386_coff_vec)		 tb="$tb coff-i386.lo $coff" ;;
   15910     i386_coff_go32_vec)		 tb="$tb coff-go32.lo $coff" ;;
   15911     i386_coff_go32stubbed_vec)	 tb="$tb coff-stgo32.lo $coff" ;;
   15912     i386_coff_lynx_vec)		 tb="$tb cf-i386lynx.lo lynx-core.lo $coff" ;;
   15913     i386_elf32_vec)		 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   15914     i386_elf32_fbsd_vec)	 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   15915     i386_elf32_sol2_vec)	 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   15916     i386_elf32_vxworks_vec)	 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   15917     i386_mach_o_vec)		 tb="$tb mach-o-i386.lo" ;;
   15918     i386_msdos_vec)		 tb="$tb i386msdos.lo" ;;
   15919     i386_pe_vec)		 tb="$tb pe-i386.lo peigen.lo $coff" ;;
   15920     i386_pe_big_vec)		 tb="$tb pe-i386.lo peigen.lo $coff" ;;
   15921     i386_pei_vec)		 tb="$tb pei-i386.lo peigen.lo $coff" ;;
   15922     iamcu_elf32_vec)		 tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
   15923     ia64_elf32_be_vec)		 tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
   15924     ia64_elf32_hpux_be_vec)	 tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
   15925     ia64_elf64_be_vec)		 tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
   15926     ia64_elf64_le_vec)		 tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
   15927     ia64_elf64_hpux_be_vec)	 tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
   15928     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 ;;
   15929     ia64_pei_vec)		 tb="$tb pei-ia64.lo pepigen.lo $coff"; target_size=64 ;;
   15930     ip2k_elf32_vec)		 tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
   15931     iq2000_elf32_vec)		 tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
   15932     kvx_elf32_vec)		 tb="$tb elf32-kvx.lo elfxx-kvx.lo elf32.lo $elf $ipa" ;;
   15933     kvx_elf64_vec)		 tb="$tb elf64-kvx.lo elfxx-kvx.lo elf64.lo $elf $ipa"; target_size=64 ;;
   15934     lm32_elf32_vec)		 tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
   15935     lm32_elf32_fdpic_vec)	 tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
   15936     loongarch_elf32_vec)	 tb="$tb elf32-loongarch.lo elfxx-loongarch.lo elf32.lo elf-ifunc.lo $elf" ;;
   15937     loongarch_elf64_vec)	 tb="$tb elf64-loongarch.lo elf64.lo elfxx-loongarch.lo elf32.lo elf-ifunc.lo $elf"; target_size=64 ;;
   15938     loongarch64_pei_vec)	 tb="$tb pei-loongarch64.lo pe-loongarch64igen.lo $coff"; target_size=64 ;;
   15939     m32c_elf32_vec)		 tb="$tb elf32-m32c.lo elf32.lo $elf" ;;
   15940     m32r_elf32_vec)		 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   15941     m32r_elf32_le_vec)		 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   15942     m32r_elf32_linux_vec)	 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   15943     m32r_elf32_linux_le_vec)	 tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
   15944     m68hc11_elf32_vec)		 tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
   15945     m68hc12_elf32_vec)		 tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
   15946     m68k_elf32_vec)		 tb="$tb elf32-m68k.lo elf32.lo $elf" ;;
   15947     s12z_elf32_vec)		 tb="$tb elf32-s12z.lo elf32.lo $elf" ;;
   15948     mach_o_be_vec)		 tb="$tb mach-o.lo dwarf2.lo" ;;
   15949     mach_o_le_vec)		 tb="$tb mach-o.lo dwarf2.lo" ;;
   15950     mach_o_fat_vec)		 tb="$tb mach-o.lo dwarf2.lo" ;;
   15951     mcore_elf32_be_vec)		 tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
   15952     mcore_elf32_le_vec)		 tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
   15953     mcore_pe_be_vec)		 tb="$tb pe-mcore.lo peigen.lo $coff" ;;
   15954     mcore_pe_le_vec)		 tb="$tb pe-mcore.lo peigen.lo $coff" ;;
   15955     mcore_pei_be_vec)		 tb="$tb pei-mcore.lo peigen.lo $coff" ;;
   15956     mcore_pei_le_vec)		 tb="$tb pei-mcore.lo peigen.lo $coff" ;;
   15957     mep_elf32_vec)		 tb="$tb elf32-mep.lo elf32.lo $elf" ;;
   15958     mep_elf32_le_vec)		 tb="$tb elf32-mep.lo elf32.lo $elf" ;;
   15959     metag_elf32_vec)		 tb="$tb elf32-metag.lo elf32.lo $elf" ;;
   15960     microblaze_elf32_vec)	 tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
   15961     microblaze_elf32_le_vec)	 tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
   15962     mips_ecoff_be_vec)		 tb="$tb coff-mips.lo ecoff.lo $ecoff" ;;
   15963     mips_ecoff_le_vec)		 tb="$tb coff-mips.lo ecoff.lo $ecoff" ;;
   15964     mips_ecoff_bele_vec)	 tb="$tb coff-mips.lo ecoff.lo $ecoff" ;;
   15965     mips_elf32_be_vec)		 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15966     mips_elf32_le_vec)		 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15967     mips_elf32_n_be_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   15968     mips_elf32_n_le_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   15969     mips_elf32_ntrad_be_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; ;;
   15970     mips_elf32_ntrad_le_vec)	 tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; ;;
   15971     mips_elf32_ntradfbsd_be_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   15972     mips_elf32_ntradfbsd_le_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   15973     mips_elf32_trad_be_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15974     mips_elf32_trad_le_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15975     mips_elf32_tradfbsd_be_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15976     mips_elf32_tradfbsd_le_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15977     mips_elf32_vxworks_be_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15978     mips_elf32_vxworks_le_vec)	 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
   15979     mips_elf64_be_vec)		 tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   15980     mips_elf64_le_vec)		 tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
   15981     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 ;;
   15982     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 ;;
   15983     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 ;;
   15984     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 ;;
   15985     mmix_elf64_vec)		 tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
   15986     mmix_mmo_vec)			 tb="$tb mmo.lo" target_size=64 ;;
   15987     mn10200_elf32_vec)		 tb="$tb elf-m10200.lo elf32.lo $elf" ;;
   15988     mn10300_elf32_vec)		 tb="$tb elf-m10300.lo elf32.lo $elf" ;;
   15989     moxie_elf32_be_vec)		 tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
   15990     moxie_elf32_le_vec)		 tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
   15991     msp430_elf32_vec)		 tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
   15992     msp430_elf32_ti_vec)	 tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
   15993     mt_elf32_vec)		 tb="$tb elf32-mt.lo elf32.lo $elf" ;;
   15994     nds32_elf32_be_vec)		 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   15995     nds32_elf32_le_vec)		 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   15996     nds32_elf32_linux_be_vec)	 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   15997     nds32_elf32_linux_le_vec)	 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
   15998     nfp_elf64_vec)		 tb="$tb elf64-nfp.lo elf64.lo $elf" ;;
   15999     ns32k_aout_pc532mach_vec)	 tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
   16000     ns32k_aout_pc532nbsd_vec)	 tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
   16001     or1k_elf32_vec)		 tb="$tb elf32-or1k.lo elf32.lo $elf" ;;
   16002     pdb_vec)			 tb="$tb pdb.lo" ;;
   16003     pdp11_aout_vec)		 tb="$tb pdp11.lo" ;;
   16004     pef_vec)			 tb="$tb pef.lo" ;;
   16005     pef_xlib_vec)		 tb="$tb pef.lo" ;;
   16006     pj_elf32_vec)		 tb="$tb elf32-pj.lo elf32.lo $elf" ;;
   16007     pj_elf32_le_vec)		 tb="$tb elf32-pj.lo elf32.lo $elf" ;;
   16008     powerpc_boot_vec)		 tb="$tb ppcboot.lo" ;;
   16009     powerpc_elf32_vec)		 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   16010     powerpc_elf32_le_vec)	 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   16011     powerpc_elf32_fbsd_vec)	 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   16012     powerpc_elf32_vxworks_vec)	 tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
   16013     powerpc_elf64_vec)		 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
   16014     powerpc_elf64_le_vec)	 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
   16015     powerpc_elf64_fbsd_vec)	 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
   16016     powerpc_elf64_fbsd_le_vec)	 tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
   16017     powerpc_xcoff_vec)		 tb="$tb coff-rs6000.lo $xcoff" ;;
   16018     pru_elf32_vec)		 tb="$tb elf32-pru.lo elf32.lo $elf" ;;
   16019     riscv_elf32_vec)		 tb="$tb elf32-riscv.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf" ;;
   16020     riscv_elf64_vec)		 tb="$tb elf64-riscv.lo elf64.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
   16021     riscv_elf32_be_vec)		 tb="$tb elf32-riscv.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf" ;;
   16022     riscv_elf64_be_vec)		 tb="$tb elf64-riscv.lo elf64.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
   16023     riscv64_pei_vec)		 tb="$tb pei-riscv64.lo pe-riscv64igen.lo $coff"; target_size=64 ;;
   16024     rl78_elf32_vec)		 tb="$tb elf32-rl78.lo elf32.lo $elf" ;;
   16025     rs6000_xcoff64_vec)		 tb="$tb coff64-rs6000.lo aix5ppc-core.lo $xcoff"; target_size=64 ;;
   16026     rs6000_xcoff64_aix_vec)	 tb="$tb coff64-rs6000.lo aix5ppc-core.lo $xcoff"; target_size=64 ;;
   16027     rs6000_xcoff_vec)		 tb="$tb coff-rs6000.lo $xcoff" ;;
   16028     rx_elf32_be_vec)		 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   16029     rx_elf32_be_ns_vec)		 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   16030     rx_elf32_le_vec)		 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   16031     rx_elf32_linux_le_vec)	 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
   16032     s390_elf32_vec)		 tb="$tb elf32-s390.lo elf32.lo $elf" ;;
   16033     s390_elf64_vec)		 tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;;
   16034     score_elf32_be_vec)		 tb="$tb elf32-score.lo elf32-score7.lo elf32.lo elf64.lo $elf"; want64=true; target_size=64 ;;
   16035     score_elf32_le_vec)		 tb="$tb elf32-score.lo elf32-score7.lo elf32.lo elf64.lo $elf"; want64=true; target_size=64 ;;
   16036     sh_coff_vec)		 tb="$tb coff-sh.lo $coff" ;;
   16037     sh_coff_le_vec)		 tb="$tb coff-sh.lo $coff" ;;
   16038     sh_coff_small_vec)		 tb="$tb coff-sh.lo $coff" ;;
   16039     sh_coff_small_le_vec)	 tb="$tb coff-sh.lo $coff" ;;
   16040     sh_elf32_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16041     sh_elf32_le_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16042     sh_elf32_fdpic_be_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16043     sh_elf32_fdpic_le_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16044     sh_elf32_linux_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16045     sh_elf32_linux_be_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16046     sh_elf32_nbsd_vec)		 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16047     sh_elf32_nbsd_le_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16048     sh_elf32_vxworks_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16049     sh_elf32_vxworks_le_vec)	 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
   16050     sh_pe_le_vec)		 tb="$tb pe-sh.lo coff-sh.lo peigen.lo $coff" ;;
   16051     sh_pei_le_vec)		 tb="$tb pei-sh.lo coff-sh.lo peigen.lo $coff" ;;
   16052     sparc_elf32_vec)		 tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
   16053     sparc_elf32_sol2_vec)	 tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
   16054     sparc_elf32_vxworks_vec)	 tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
   16055     sparc_elf64_vec)		 tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
   16056     sparc_elf64_fbsd_vec)	 tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
   16057     sparc_elf64_sol2_vec)	 tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
   16058     spu_elf32_vec)		 tb="$tb elf32-spu.lo elf32.lo $elf" ;;
   16059     sym_vec)			 tb="$tb xsym.lo" ;;
   16060     tic30_coff_vec)		 tb="$tb coff-tic30.lo $coffgen" ;;
   16061     tic4x_coff0_vec)		 tb="$tb coff-tic4x.lo $coffgen" ;;
   16062     tic4x_coff0_beh_vec)	 tb="$tb coff-tic4x.lo $coffgen" ;;
   16063     tic4x_coff1_vec)		 tb="$tb coff-tic4x.lo $coffgen" ;;
   16064     tic4x_coff1_beh_vec)	 tb="$tb coff-tic4x.lo $coffgen" ;;
   16065     tic4x_coff2_vec)		 tb="$tb coff-tic4x.lo $coffgen" ;;
   16066     tic4x_coff2_beh_vec)	 tb="$tb coff-tic4x.lo $coffgen" ;;
   16067     tic54x_coff0_vec)		 tb="$tb coff-tic54x.lo $coffgen" ;;
   16068     tic54x_coff0_beh_vec)	 tb="$tb coff-tic54x.lo $coffgen" ;;
   16069     tic54x_coff1_vec)		 tb="$tb coff-tic54x.lo $coffgen" ;;
   16070     tic54x_coff1_beh_vec)	 tb="$tb coff-tic54x.lo $coffgen" ;;
   16071     tic54x_coff2_vec)		 tb="$tb coff-tic54x.lo $coffgen" ;;
   16072     tic54x_coff2_beh_vec)	 tb="$tb coff-tic54x.lo $coffgen" ;;
   16073     tic6x_elf32_be_vec)		 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   16074     tic6x_elf32_le_vec)		 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   16075     tic6x_elf32_c6000_be_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   16076     tic6x_elf32_c6000_le_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   16077     tic6x_elf32_linux_be_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   16078     tic6x_elf32_linux_le_vec)	 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
   16079     tilegx_elf32_be_vec)	 tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
   16080     tilegx_elf32_le_vec)	 tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
   16081     tilegx_elf64_be_vec)	 tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
   16082     tilegx_elf64_le_vec)	 tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
   16083     tilepro_elf32_vec)		 tb="$tb elf32-tilepro.lo elf32.lo $elf" ;;
   16084     v800_elf32_vec)		 tb="$tb elf32-v850.lo elf32.lo $elf" ;;
   16085     v850_elf32_vec)		 tb="$tb elf32-v850.lo elf32.lo $elf" ;;
   16086     vax_aout_1knbsd_vec)	 tb="$tb vax1knetbsd.lo aout32.lo" ;;
   16087     vax_aout_nbsd_vec)		 tb="$tb vaxnetbsd.lo aout32.lo" ;;
   16088     vax_elf32_vec)		 tb="$tb elf32-vax.lo elf32.lo $elf" ;;
   16089     ft32_elf32_vec)		 tb="$tb elf32-ft32.lo elf32.lo $elf" ;;
   16090     visium_elf32_vec)		 tb="$tb elf32-visium.lo elf32.lo $elf" ;;
   16091     wasm_vec)                    tb="$tb wasm-module.lo" ;;
   16092     wasm32_elf32_vec)            tb="$tb elf32-wasm32.lo elf32.lo $elf" ;;
   16093     x86_64_coff_vec)		 tb="$tb coff-x86_64.lo $coff"; target_size=64 ;;
   16094     x86_64_elf32_vec)		 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo elf32.lo $elf"; target_size=64 ;;
   16095     x86_64_elf64_vec)		 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   16096     x86_64_elf64_fbsd_vec)	 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   16097     x86_64_elf64_sol2_vec)	 tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
   16098     x86_64_mach_o_vec)		 tb="$tb mach-o-x86-64.lo" ;;
   16099     x86_64_pe_vec)		 tb="$tb pe-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
   16100     x86_64_pe_big_vec)		 tb="$tb pe-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
   16101     x86_64_pei_vec)		 tb="$tb pei-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
   16102     xgate_elf32_vec)		 tb="$tb elf32-xgate.lo elf32.lo $elf" ;;
   16103     xstormy16_elf32_vec)	 tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
   16104     xtensa_elf32_be_vec)	 tb="$tb xtensa-dynconfig.lo xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
   16105     xtensa_elf32_le_vec)	 tb="$tb xtensa-dynconfig.lo xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
   16106     z80_coff_vec)		 tb="$tb coff-z80.lo reloc16.lo $coffgen" ;;
   16107     z80_elf32_vec)		 tb="$tb elf32-z80.lo elf32.lo $elf" ;;
   16108     z8k_coff_vec)		 tb="$tb coff-z8k.lo reloc16.lo $coff" ;;
   16109 
   16110     # These appear out of order in targets.c
   16111     srec_vec)			 tb="$tb srec.lo" ;;
   16112     symbolsrec_vec)		 tb="$tb srec.lo" ;;
   16113     tekhex_vec)			 tb="$tb tekhex.lo" ;;
   16114     core_cisco_be_vec)		 tb="$tb cisco-core.lo" ;;
   16115     core_cisco_le_vec)		 tb="$tb cisco-core.lo" ;;
   16116 
   16117     "")				 ;;
   16118     *) as_fn_error $? "*** unknown target vector $vec" "$LINENO" 5 ;;
   16119     esac
   16120 
   16121     if test ${target_size} = 64; then
   16122 	target64=true
   16123     fi
   16124     if test x"${vec}" = x"${defvec}"; then
   16125 	bfd_default_target_size=${target_size}
   16126     fi
   16127 done
   16128 
   16129 if test "$plugins" = "yes"; then
   16130      tb="$tb plugin.lo"
   16131 fi
   16132 
   16133 # Target architecture .o files.
   16134 # A couple of CPUs use shorter file names to avoid problems on DOS
   16135 # filesystems.
   16136 ta=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
   16137 
   16138 # Weed out duplicate .o files.
   16139 f=""
   16140 for i in $tb ; do
   16141     case " $f " in
   16142     *" $i "*) ;;
   16143     *) f="$f $i" ;;
   16144     esac
   16145 done
   16146 tb="$f"
   16147 
   16148 f=""
   16149 for i in $ta ; do
   16150     case " $f " in
   16151     *" $i "*) ;;
   16152     *) f="$f $i" ;;
   16153     esac
   16154 done
   16155 ta="$f"
   16156 
   16157 bfd_backends="$tb"
   16158 bfd_machines="$ta"
   16159 
   16160 if test x${all_targets} = xtrue ; then
   16161   bfd_backends="${bfd_backends}"' $(ALL_BACKENDS)'
   16162   bfd_machines="${bfd_machines}"' $(ALL_MACHINES)'
   16163   selvecs=
   16164   havevecs=-DHAVE_all_vecs
   16165   selarchs=
   16166   f=
   16167   for i in $assocvecs ; do
   16168     case "${f}" in
   16169       *"&${i},"*) ;;
   16170       *) f="${f}&${i}," ;;
   16171     esac
   16172   done
   16173   assocvecs=$f
   16174   TDEFINES="$TDEFINES -DOBJ_MAYBE_ELF"
   16175 else	# all_targets is true
   16176   # Only set these if they will be nonempty, for the clever echo.
   16177   havevecs=
   16178   assocvecs=
   16179   test -n "$selvecs" &&
   16180     havevecs=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
   16181   test -n "$selvecs" &&
   16182     selvecs=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
   16183   test -n "$selarchs" &&
   16184     selarchs=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
   16185 
   16186   for i in $bfd_backends ; do
   16187     case "$i" in
   16188     elf.*) TDEFINES="$TDEFINES -DOBJ_MAYBE_ELF" ;;
   16189     esac
   16190   done
   16191 fi	# all_targets is true
   16192 
   16193 # 64-bit archives need a 64-bit bfd_vma.
   16194 if test "x$want_64_bit_archive" = xtrue; then
   16195   want64=true
   16196 
   16197 $as_echo "#define USE_64_BIT_ARCHIVE 1" >>confdefs.h
   16198 
   16199 fi
   16200 
   16201 case ${host64}-${target64}-${want64} in
   16202   *true*)
   16203     wordsize=64
   16204     bfd64_libs='$(BFD64_LIBS)'
   16205     all_backends='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
   16206     if test -n "$GCC" ; then
   16207        bad_64bit_gcc=no;
   16208        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc version with buggy 64-bit support" >&5
   16209 $as_echo_n "checking for gcc version with buggy 64-bit support... " >&6; }
   16210        # Add more tests for gcc versions with non-working 64-bit support here.
   16211        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16212 /* end confdefs.h.  */
   16213 :__GNUC__:__GNUC_MINOR__:__i386__:
   16214 _ACEOF
   16215 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   16216   $EGREP ": 2 : 91 : 1 :" >/dev/null 2>&1; then :
   16217   bad_64bit_gcc=yes;
   16218 		    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes: egcs-1.1.2 on ix86 spotted" >&5
   16219 $as_echo "yes: egcs-1.1.2 on ix86 spotted" >&6; }
   16220 else
   16221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16222 $as_echo "no" >&6; }
   16223 fi
   16224 rm -f conftest*
   16225 
   16226        if test $bad_64bit_gcc = yes ; then
   16227 	 as_fn_error $? "A newer version of gcc is needed for the requested 64-bit BFD configuration" "$LINENO" 5
   16228        fi
   16229     fi
   16230     ;;
   16231   false-false-false)
   16232     wordsize=32
   16233     all_backends='$(BFD32_BACKENDS)'
   16234     ;;
   16235 esac
   16236 
   16237 tdefaults=""
   16238 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
   16239 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
   16240 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
   16241 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
   16242 
   16243 
   16244 
   16245 
   16246 
   16247 
   16248 
   16249 
   16250 
   16251 
   16252 # If we are configured native, pick a core file support file.
   16253 COREFILE=
   16254 COREFLAG=
   16255 CORE_HEADER=
   16256 TRAD_HEADER=
   16257 if test "${target}" = "${host}"; then
   16258   case "${host}" in
   16259   alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu | alpha*-*-*vms*)
   16260 	COREFILE=''
   16261 	;;
   16262   alpha*-*-linux-*)
   16263 	COREFILE=trad-core.lo
   16264 	TRAD_HEADER='"hosts/alphalinux.h"'
   16265 	;;
   16266   alpha*-*-netbsd* | alpha*-*-openbsd*)
   16267 	COREFILE=netbsd-core.lo
   16268 	;;
   16269   alpha*-*-*)
   16270         COREFILE=osf-core.lo
   16271 	;;
   16272   arm-*-freebsd* | arm-*-kfreebsd*-gnu)
   16273 	COREFILE='' ;;
   16274   arm*-*-netbsd* | arm-*-openbsd*)
   16275 	COREFILE=netbsd-core.lo
   16276 	;;
   16277   hppa*-*-hpux*)	COREFILE=hpux-core.lo ;;
   16278   hppa*-*-hiux*)	COREFILE=hpux-core.lo ;;
   16279   hppa*-*-mpeix*)	COREFILE=hpux-core.lo ;;
   16280   hppa*-*-bsd*)		COREFILE="hpux-core.lo hppabsd-core.lo"
   16281 			COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;;
   16282   hppa*-*-netbsd* | hppa*-*-openbsd*)
   16283 	COREFILE=netbsd-core.lo
   16284 	;;
   16285 
   16286   i[3-7]86-*-bsdi)
   16287 	COREFILE=
   16288 	;;
   16289   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]\.*)
   16290 	COREFILE=trad-core.lo
   16291 	TRAD_HEADER='"hosts/i386bsd.h"'
   16292 	;;
   16293   i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu | i[3-7]86-*-dragonfly*)
   16294 	COREFILE=''
   16295 	TRAD_HEADER='"hosts/i386bsd.h"'
   16296 	;;
   16297   i[3-7]86-*-netbsd* | i[3-7]86-*-knetbsd*-gnu | i[3-7]86-*-openbsd*)
   16298 	COREFILE=netbsd-core.lo
   16299 	;;
   16300   i[3-7]86-esix-sysv3*)
   16301 	COREFILE=trad-core.lo
   16302 	TRAD_HEADER='"hosts/esix.h"'
   16303 	;;
   16304   i[3-7]86-*-mach3*)
   16305 	COREFILE=trad-core.lo
   16306 	TRAD_HEADER='"hosts/i386mach3.h"'
   16307 	;;
   16308   i[3-7]86-*-linux-*)
   16309 	COREFILE=trad-core.lo
   16310 	TRAD_HEADER='"hosts/i386linux.h"'
   16311 	case "$enable_targets"-"$want64" in
   16312 	*x86_64-*linux*|*-true)
   16313 	  CORE_HEADER='"hosts/x86-64linux.h"'
   16314 	esac
   16315 	;;
   16316   mips*-*-netbsd* | mips*-*-openbsd*)
   16317 	COREFILE=netbsd-core.lo
   16318 	;;
   16319   mips-*-irix*)
   16320 	COREFILE=irix-core.lo
   16321 	;;
   16322   m68*-*-linux-*)
   16323 	COREFILE=trad-core.lo
   16324 	TRAD_HEADER='"hosts/m68klinux.h"'
   16325 	;;
   16326   m68*-*-netbsd*)
   16327 	COREFILE=netbsd-core.lo
   16328 	;;
   16329   ns32k-pc532-mach)
   16330 	COREFILE=trad-core.lo
   16331 	TRAD_HEADER='"hosts/pc532mach.h"'
   16332 	;;
   16333   ns32k-*-netbsd* | ns32k-*-openbsd*)
   16334 	COREFILE=netbsd-core.lo
   16335 	;;
   16336   rs6000-*-lynx*)
   16337 	COREFILE=lynx-core.lo
   16338 	;;
   16339   rs6000-*-aix[5-9].* | powerpc-*-aix[5-9].* | powerpc64-*-aix[5-9].*)
   16340         COREFILE=rs6000-core.lo
   16341 	COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
   16342 	;;
   16343   rs6000-*-aix4.[3-9]* | powerpc-*-aix4.[3-9]*)
   16344         COREFILE=rs6000-core.lo
   16345 	COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
   16346 	# Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
   16347 	# have c_impl as a member of struct core_dumpx
   16348 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for c_impl in struct core_dumpx" >&5
   16349 $as_echo_n "checking for c_impl in struct core_dumpx... " >&6; }
   16350 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16351 /* end confdefs.h.  */
   16352 #include <core.h>
   16353 int
   16354 main ()
   16355 {
   16356 struct core_dumpx c; c.c_impl = 0;
   16357   ;
   16358   return 0;
   16359 }
   16360 _ACEOF
   16361 if ac_fn_c_try_compile "$LINENO"; then :
   16362 
   16363 $as_echo "#define HAVE_ST_C_IMPL 1" >>confdefs.h
   16364 
   16365 	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16366 $as_echo "yes" >&6; }
   16367 else
   16368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16369 $as_echo "no" >&6; }
   16370 fi
   16371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16372 	;;
   16373   rs6000-*-aix4*)	COREFILE=rs6000-core.lo ;;
   16374   rs6000-*-*)		COREFILE=rs6000-core.lo ;;
   16375   powerpc64-*-aix*)	COREFILE=rs6000-core.lo ;;
   16376   powerpc-*-aix4*)	COREFILE=rs6000-core.lo ;;
   16377   powerpc-*-aix*)	COREFILE=rs6000-core.lo ;;
   16378   powerpc-*-beos*)	;;
   16379   powerpc-*-freebsd* | powerpc-*-kfreebsd*-gnu)
   16380 		        COREFILE='' ;;
   16381   powerpc-*-netbsd*)	COREFILE=netbsd-core.lo ;;
   16382   powerpc-*-*bsd*)	COREFILE=netbsd-core.lo ;;
   16383   s390*-*-*)            COREFILE=trad-core.lo ;;
   16384   sh*-*-netbsd* | sh*-*-openbsd*)
   16385 	COREFILE=netbsd-core.lo
   16386 	;;
   16387   sparc-*-netbsd* | sparc*-*-openbsd*)
   16388 	COREFILE=netbsd-core.lo
   16389 	;;
   16390   vax-*-netbsd* | vax-*-openbsd*)
   16391 	COREFILE=netbsd-core.lo
   16392 	;;
   16393   vax-*-linux-*)
   16394 	COREFILE=trad-core.lo
   16395 	TRAD_HEADER='"hosts/vaxlinux.h"'
   16396 	;;
   16397   vax-*-*)
   16398 	COREFILE=trad-core.lo
   16399 	TRAD_HEADER='"hosts/vaxbsd.h"'
   16400 	;;
   16401   x86_64-*-linux*)
   16402 	CORE_HEADER='"hosts/x86-64linux.h"'
   16403 	;;
   16404   x86_64-*-netbsd* | x86_64-*-openbsd*)
   16405 	COREFILE=netbsd-core.lo
   16406 	;;
   16407   esac
   16408 
   16409   case "$COREFILE" in
   16410   hppabsd-core.lo)	COREFLAG=-DHPPABSD_CORE ;;
   16411   hpux-core.lo)		COREFLAG=-DHPUX_CORE ;;
   16412   irix-core.lo)		COREFLAG=-DIRIX_CORE ;;
   16413   lynx-core.lo)		COREFLAG=-DLYNX_CORE ;;
   16414   netbsd-core.lo)	COREFLAG=-DNETBSD_CORE ;;
   16415   osf-core.lo)		COREFLAG=-DOSF_CORE ;;
   16416   ptrace-core.lo)	COREFLAG=-DPTRACE_CORE ;;
   16417   rs6000-core.lo)	COREFLAG="$COREFLAG -DAIX_CORE" ;;
   16418   trad-core.lo)		COREFLAG="$COREFLAG -DTRAD_CORE" ;;
   16419   esac
   16420 
   16421   # ELF corefile support has several flavors, but all of
   16422   # them use something called <sys/procfs.h>
   16423 
   16424 $as_echo "#define _STRUCTURED_PROC 1" >>confdefs.h
   16425 
   16426  for ac_header in sys/procfs.h
   16427 do :
   16428   ac_fn_c_check_header_mongrel "$LINENO" "sys/procfs.h" "ac_cv_header_sys_procfs_h" "$ac_includes_default"
   16429 if test "x$ac_cv_header_sys_procfs_h" = xyes; then :
   16430   cat >>confdefs.h <<_ACEOF
   16431 #define HAVE_SYS_PROCFS_H 1
   16432 _ACEOF
   16433 
   16434 fi
   16435 
   16436 done
   16437 
   16438   if test "$ac_cv_header_sys_procfs_h" = yes; then
   16439 
   16440  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus_t in sys/procfs.h" >&5
   16441 $as_echo_n "checking for prstatus_t in sys/procfs.h... " >&6; }
   16442  if ${bfd_cv_have_sys_procfs_type_prstatus_t+:} false; then :
   16443   $as_echo_n "(cached) " >&6
   16444 else
   16445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16446 /* end confdefs.h.  */
   16447 
   16448 #define _SYSCALL32
   16449 #include <sys/procfs.h>
   16450 int
   16451 main ()
   16452 {
   16453 prstatus_t avar
   16454   ;
   16455   return 0;
   16456 }
   16457 _ACEOF
   16458 if ac_fn_c_try_compile "$LINENO"; then :
   16459   bfd_cv_have_sys_procfs_type_prstatus_t=yes
   16460 else
   16461   bfd_cv_have_sys_procfs_type_prstatus_t=no
   16462 
   16463 fi
   16464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16465 fi
   16466 
   16467  if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
   16468 
   16469 $as_echo "#define HAVE_PRSTATUS_T 1" >>confdefs.h
   16470 
   16471  fi
   16472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
   16473 $as_echo "$bfd_cv_have_sys_procfs_type_prstatus_t" >&6; }
   16474 
   16475 
   16476  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus32_t in sys/procfs.h" >&5
   16477 $as_echo_n "checking for prstatus32_t in sys/procfs.h... " >&6; }
   16478  if ${bfd_cv_have_sys_procfs_type_prstatus32_t+:} false; then :
   16479   $as_echo_n "(cached) " >&6
   16480 else
   16481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16482 /* end confdefs.h.  */
   16483 
   16484 #define _SYSCALL32
   16485 #include <sys/procfs.h>
   16486 int
   16487 main ()
   16488 {
   16489 prstatus32_t avar
   16490   ;
   16491   return 0;
   16492 }
   16493 _ACEOF
   16494 if ac_fn_c_try_compile "$LINENO"; then :
   16495   bfd_cv_have_sys_procfs_type_prstatus32_t=yes
   16496 else
   16497   bfd_cv_have_sys_procfs_type_prstatus32_t=no
   16498 
   16499 fi
   16500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16501 fi
   16502 
   16503  if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
   16504 
   16505 $as_echo "#define HAVE_PRSTATUS32_T 1" >>confdefs.h
   16506 
   16507  fi
   16508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
   16509 $as_echo "$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6; }
   16510 
   16511 
   16512  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus_t.pr_who in sys/procfs.h" >&5
   16513 $as_echo_n "checking for prstatus_t.pr_who in sys/procfs.h... " >&6; }
   16514  if ${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+:} false; then :
   16515   $as_echo_n "(cached) " >&6
   16516 else
   16517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16518 /* end confdefs.h.  */
   16519 
   16520 #define _SYSCALL32
   16521 #include <sys/procfs.h>
   16522 int
   16523 main ()
   16524 {
   16525 prstatus_t avar; void* aref = (void*) &avar.pr_who
   16526   ;
   16527   return 0;
   16528 }
   16529 _ACEOF
   16530 if ac_fn_c_try_compile "$LINENO"; then :
   16531   bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
   16532 else
   16533   bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no
   16534 
   16535 fi
   16536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16537 fi
   16538 
   16539  if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
   16540 
   16541 $as_echo "#define HAVE_PRSTATUS_T_PR_WHO 1" >>confdefs.h
   16542 
   16543  fi
   16544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
   16545 $as_echo "$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6; }
   16546 
   16547 
   16548  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
   16549 $as_echo_n "checking for prstatus32_t.pr_who in sys/procfs.h... " >&6; }
   16550  if ${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+:} false; then :
   16551   $as_echo_n "(cached) " >&6
   16552 else
   16553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16554 /* end confdefs.h.  */
   16555 
   16556 #define _SYSCALL32
   16557 #include <sys/procfs.h>
   16558 int
   16559 main ()
   16560 {
   16561 prstatus32_t avar; void* aref = (void*) &avar.pr_who
   16562   ;
   16563   return 0;
   16564 }
   16565 _ACEOF
   16566 if ac_fn_c_try_compile "$LINENO"; then :
   16567   bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
   16568 else
   16569   bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no
   16570 
   16571 fi
   16572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16573 fi
   16574 
   16575  if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
   16576 
   16577 $as_echo "#define HAVE_PRSTATUS32_T_PR_WHO 1" >>confdefs.h
   16578 
   16579  fi
   16580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
   16581 $as_echo "$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6; }
   16582 
   16583 
   16584  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pstatus_t in sys/procfs.h" >&5
   16585 $as_echo_n "checking for pstatus_t in sys/procfs.h... " >&6; }
   16586  if ${bfd_cv_have_sys_procfs_type_pstatus_t+:} false; then :
   16587   $as_echo_n "(cached) " >&6
   16588 else
   16589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16590 /* end confdefs.h.  */
   16591 
   16592 #define _SYSCALL32
   16593 #include <sys/procfs.h>
   16594 int
   16595 main ()
   16596 {
   16597 pstatus_t avar
   16598   ;
   16599   return 0;
   16600 }
   16601 _ACEOF
   16602 if ac_fn_c_try_compile "$LINENO"; then :
   16603   bfd_cv_have_sys_procfs_type_pstatus_t=yes
   16604 else
   16605   bfd_cv_have_sys_procfs_type_pstatus_t=no
   16606 
   16607 fi
   16608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16609 fi
   16610 
   16611  if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
   16612 
   16613 $as_echo "#define HAVE_PSTATUS_T 1" >>confdefs.h
   16614 
   16615  fi
   16616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
   16617 $as_echo "$bfd_cv_have_sys_procfs_type_pstatus_t" >&6; }
   16618 
   16619 
   16620  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pxstatus_t in sys/procfs.h" >&5
   16621 $as_echo_n "checking for pxstatus_t in sys/procfs.h... " >&6; }
   16622  if ${bfd_cv_have_sys_procfs_type_pxstatus_t+:} false; then :
   16623   $as_echo_n "(cached) " >&6
   16624 else
   16625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16626 /* end confdefs.h.  */
   16627 
   16628 #define _SYSCALL32
   16629 #include <sys/procfs.h>
   16630 int
   16631 main ()
   16632 {
   16633 pxstatus_t avar
   16634   ;
   16635   return 0;
   16636 }
   16637 _ACEOF
   16638 if ac_fn_c_try_compile "$LINENO"; then :
   16639   bfd_cv_have_sys_procfs_type_pxstatus_t=yes
   16640 else
   16641   bfd_cv_have_sys_procfs_type_pxstatus_t=no
   16642 
   16643 fi
   16644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16645 fi
   16646 
   16647  if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
   16648 
   16649 $as_echo "#define HAVE_PXSTATUS_T 1" >>confdefs.h
   16650 
   16651  fi
   16652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
   16653 $as_echo "$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6; }
   16654 
   16655 
   16656  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pstatus32_t in sys/procfs.h" >&5
   16657 $as_echo_n "checking for pstatus32_t in sys/procfs.h... " >&6; }
   16658  if ${bfd_cv_have_sys_procfs_type_pstatus32_t+:} false; then :
   16659   $as_echo_n "(cached) " >&6
   16660 else
   16661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16662 /* end confdefs.h.  */
   16663 
   16664 #define _SYSCALL32
   16665 #include <sys/procfs.h>
   16666 int
   16667 main ()
   16668 {
   16669 pstatus32_t avar
   16670   ;
   16671   return 0;
   16672 }
   16673 _ACEOF
   16674 if ac_fn_c_try_compile "$LINENO"; then :
   16675   bfd_cv_have_sys_procfs_type_pstatus32_t=yes
   16676 else
   16677   bfd_cv_have_sys_procfs_type_pstatus32_t=no
   16678 
   16679 fi
   16680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16681 fi
   16682 
   16683  if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
   16684 
   16685 $as_echo "#define HAVE_PSTATUS32_T 1" >>confdefs.h
   16686 
   16687  fi
   16688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
   16689 $as_echo "$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6; }
   16690 
   16691 
   16692  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo_t in sys/procfs.h" >&5
   16693 $as_echo_n "checking for prpsinfo_t in sys/procfs.h... " >&6; }
   16694  if ${bfd_cv_have_sys_procfs_type_prpsinfo_t+:} false; then :
   16695   $as_echo_n "(cached) " >&6
   16696 else
   16697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16698 /* end confdefs.h.  */
   16699 
   16700 #define _SYSCALL32
   16701 #include <sys/procfs.h>
   16702 int
   16703 main ()
   16704 {
   16705 prpsinfo_t avar
   16706   ;
   16707   return 0;
   16708 }
   16709 _ACEOF
   16710 if ac_fn_c_try_compile "$LINENO"; then :
   16711   bfd_cv_have_sys_procfs_type_prpsinfo_t=yes
   16712 else
   16713   bfd_cv_have_sys_procfs_type_prpsinfo_t=no
   16714 
   16715 fi
   16716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16717 fi
   16718 
   16719  if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
   16720 
   16721 $as_echo "#define HAVE_PRPSINFO_T 1" >>confdefs.h
   16722 
   16723  fi
   16724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
   16725 $as_echo "$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6; }
   16726 
   16727 
   16728  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo_t.pr_pid in sys/procfs.h" >&5
   16729 $as_echo_n "checking for prpsinfo_t.pr_pid in sys/procfs.h... " >&6; }
   16730  if ${bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid+:} false; then :
   16731   $as_echo_n "(cached) " >&6
   16732 else
   16733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16734 /* end confdefs.h.  */
   16735 
   16736 #define _SYSCALL32
   16737 #include <sys/procfs.h>
   16738 int
   16739 main ()
   16740 {
   16741 prpsinfo_t avar; void* aref = (void*) &avar.pr_pid
   16742   ;
   16743   return 0;
   16744 }
   16745 _ACEOF
   16746 if ac_fn_c_try_compile "$LINENO"; then :
   16747   bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid=yes
   16748 else
   16749   bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid=no
   16750 
   16751 fi
   16752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16753 fi
   16754 
   16755  if test $bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid = yes; then
   16756 
   16757 $as_echo "#define HAVE_PRPSINFO_T_PR_PID 1" >>confdefs.h
   16758 
   16759  fi
   16760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid" >&5
   16761 $as_echo "$bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid" >&6; }
   16762 
   16763 
   16764  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo32_t in sys/procfs.h" >&5
   16765 $as_echo_n "checking for prpsinfo32_t in sys/procfs.h... " >&6; }
   16766  if ${bfd_cv_have_sys_procfs_type_prpsinfo32_t+:} false; then :
   16767   $as_echo_n "(cached) " >&6
   16768 else
   16769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16770 /* end confdefs.h.  */
   16771 
   16772 #define _SYSCALL32
   16773 #include <sys/procfs.h>
   16774 int
   16775 main ()
   16776 {
   16777 prpsinfo32_t avar
   16778   ;
   16779   return 0;
   16780 }
   16781 _ACEOF
   16782 if ac_fn_c_try_compile "$LINENO"; then :
   16783   bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes
   16784 else
   16785   bfd_cv_have_sys_procfs_type_prpsinfo32_t=no
   16786 
   16787 fi
   16788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16789 fi
   16790 
   16791  if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
   16792 
   16793 $as_echo "#define HAVE_PRPSINFO32_T 1" >>confdefs.h
   16794 
   16795  fi
   16796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
   16797 $as_echo "$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6; }
   16798 
   16799 
   16800  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo32_t.pr_pid in sys/procfs.h" >&5
   16801 $as_echo_n "checking for prpsinfo32_t.pr_pid in sys/procfs.h... " >&6; }
   16802  if ${bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid+:} false; then :
   16803   $as_echo_n "(cached) " >&6
   16804 else
   16805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16806 /* end confdefs.h.  */
   16807 
   16808 #define _SYSCALL32
   16809 #include <sys/procfs.h>
   16810 int
   16811 main ()
   16812 {
   16813 prpsinfo32_t avar; void* aref = (void*) &avar.pr_pid
   16814   ;
   16815   return 0;
   16816 }
   16817 _ACEOF
   16818 if ac_fn_c_try_compile "$LINENO"; then :
   16819   bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid=yes
   16820 else
   16821   bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid=no
   16822 
   16823 fi
   16824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16825 fi
   16826 
   16827  if test $bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid = yes; then
   16828 
   16829 $as_echo "#define HAVE_PRPSINFO32_T_PR_PID 1" >>confdefs.h
   16830 
   16831  fi
   16832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid" >&5
   16833 $as_echo "$bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid" >&6; }
   16834 
   16835 
   16836  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo_t in sys/procfs.h" >&5
   16837 $as_echo_n "checking for psinfo_t in sys/procfs.h... " >&6; }
   16838  if ${bfd_cv_have_sys_procfs_type_psinfo_t+:} false; then :
   16839   $as_echo_n "(cached) " >&6
   16840 else
   16841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16842 /* end confdefs.h.  */
   16843 
   16844 #define _SYSCALL32
   16845 #include <sys/procfs.h>
   16846 int
   16847 main ()
   16848 {
   16849 psinfo_t avar
   16850   ;
   16851   return 0;
   16852 }
   16853 _ACEOF
   16854 if ac_fn_c_try_compile "$LINENO"; then :
   16855   bfd_cv_have_sys_procfs_type_psinfo_t=yes
   16856 else
   16857   bfd_cv_have_sys_procfs_type_psinfo_t=no
   16858 
   16859 fi
   16860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16861 fi
   16862 
   16863  if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
   16864 
   16865 $as_echo "#define HAVE_PSINFO_T 1" >>confdefs.h
   16866 
   16867  fi
   16868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
   16869 $as_echo "$bfd_cv_have_sys_procfs_type_psinfo_t" >&6; }
   16870 
   16871 
   16872  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo_t.pr_pid in sys/procfs.h" >&5
   16873 $as_echo_n "checking for psinfo_t.pr_pid in sys/procfs.h... " >&6; }
   16874  if ${bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid+:} false; then :
   16875   $as_echo_n "(cached) " >&6
   16876 else
   16877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16878 /* end confdefs.h.  */
   16879 
   16880 #define _SYSCALL32
   16881 #include <sys/procfs.h>
   16882 int
   16883 main ()
   16884 {
   16885 psinfo_t avar; void* aref = (void*) &avar.pr_pid
   16886   ;
   16887   return 0;
   16888 }
   16889 _ACEOF
   16890 if ac_fn_c_try_compile "$LINENO"; then :
   16891   bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid=yes
   16892 else
   16893   bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid=no
   16894 
   16895 fi
   16896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16897 fi
   16898 
   16899  if test $bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid = yes; then
   16900 
   16901 $as_echo "#define HAVE_PSINFO_T_PR_PID 1" >>confdefs.h
   16902 
   16903  fi
   16904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid" >&5
   16905 $as_echo "$bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid" >&6; }
   16906 
   16907 
   16908  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo32_t in sys/procfs.h" >&5
   16909 $as_echo_n "checking for psinfo32_t in sys/procfs.h... " >&6; }
   16910  if ${bfd_cv_have_sys_procfs_type_psinfo32_t+:} false; then :
   16911   $as_echo_n "(cached) " >&6
   16912 else
   16913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16914 /* end confdefs.h.  */
   16915 
   16916 #define _SYSCALL32
   16917 #include <sys/procfs.h>
   16918 int
   16919 main ()
   16920 {
   16921 psinfo32_t avar
   16922   ;
   16923   return 0;
   16924 }
   16925 _ACEOF
   16926 if ac_fn_c_try_compile "$LINENO"; then :
   16927   bfd_cv_have_sys_procfs_type_psinfo32_t=yes
   16928 else
   16929   bfd_cv_have_sys_procfs_type_psinfo32_t=no
   16930 
   16931 fi
   16932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16933 fi
   16934 
   16935  if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
   16936 
   16937 $as_echo "#define HAVE_PSINFO32_T 1" >>confdefs.h
   16938 
   16939  fi
   16940  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
   16941 $as_echo "$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6; }
   16942 
   16943 
   16944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo32_t.pr_pid in sys/procfs.h" >&5
   16945 $as_echo_n "checking for psinfo32_t.pr_pid in sys/procfs.h... " >&6; }
   16946  if ${bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid+:} false; then :
   16947   $as_echo_n "(cached) " >&6
   16948 else
   16949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16950 /* end confdefs.h.  */
   16951 
   16952 #define _SYSCALL32
   16953 #include <sys/procfs.h>
   16954 int
   16955 main ()
   16956 {
   16957 psinfo32_t avar; void* aref = (void*) &avar.pr_pid
   16958   ;
   16959   return 0;
   16960 }
   16961 _ACEOF
   16962 if ac_fn_c_try_compile "$LINENO"; then :
   16963   bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid=yes
   16964 else
   16965   bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid=no
   16966 
   16967 fi
   16968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16969 fi
   16970 
   16971  if test $bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid = yes; then
   16972 
   16973 $as_echo "#define HAVE_PSINFO32_T_PR_PID 1" >>confdefs.h
   16974 
   16975  fi
   16976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid" >&5
   16977 $as_echo "$bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid" >&6; }
   16978 
   16979 
   16980  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t in sys/procfs.h" >&5
   16981 $as_echo_n "checking for lwpstatus_t in sys/procfs.h... " >&6; }
   16982  if ${bfd_cv_have_sys_procfs_type_lwpstatus_t+:} false; then :
   16983   $as_echo_n "(cached) " >&6
   16984 else
   16985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16986 /* end confdefs.h.  */
   16987 
   16988 #define _SYSCALL32
   16989 #include <sys/procfs.h>
   16990 int
   16991 main ()
   16992 {
   16993 lwpstatus_t avar
   16994   ;
   16995   return 0;
   16996 }
   16997 _ACEOF
   16998 if ac_fn_c_try_compile "$LINENO"; then :
   16999   bfd_cv_have_sys_procfs_type_lwpstatus_t=yes
   17000 else
   17001   bfd_cv_have_sys_procfs_type_lwpstatus_t=no
   17002 
   17003 fi
   17004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17005 fi
   17006 
   17007  if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
   17008 
   17009 $as_echo "#define HAVE_LWPSTATUS_T 1" >>confdefs.h
   17010 
   17011  fi
   17012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
   17013 $as_echo "$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6; }
   17014 
   17015 
   17016  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpxstatus_t in sys/procfs.h" >&5
   17017 $as_echo_n "checking for lwpxstatus_t in sys/procfs.h... " >&6; }
   17018  if ${bfd_cv_have_sys_procfs_type_lwpxstatus_t+:} false; then :
   17019   $as_echo_n "(cached) " >&6
   17020 else
   17021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17022 /* end confdefs.h.  */
   17023 
   17024 #define _SYSCALL32
   17025 #include <sys/procfs.h>
   17026 int
   17027 main ()
   17028 {
   17029 lwpxstatus_t avar
   17030   ;
   17031   return 0;
   17032 }
   17033 _ACEOF
   17034 if ac_fn_c_try_compile "$LINENO"; then :
   17035   bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes
   17036 else
   17037   bfd_cv_have_sys_procfs_type_lwpxstatus_t=no
   17038 
   17039 fi
   17040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17041 fi
   17042 
   17043  if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
   17044 
   17045 $as_echo "#define HAVE_LWPXSTATUS_T 1" >>confdefs.h
   17046 
   17047  fi
   17048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
   17049 $as_echo "$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6; }
   17050 
   17051 
   17052  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
   17053 $as_echo_n "checking for lwpstatus_t.pr_context in sys/procfs.h... " >&6; }
   17054  if ${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+:} false; then :
   17055   $as_echo_n "(cached) " >&6
   17056 else
   17057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17058 /* end confdefs.h.  */
   17059 
   17060 #define _SYSCALL32
   17061 #include <sys/procfs.h>
   17062 int
   17063 main ()
   17064 {
   17065 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
   17066   ;
   17067   return 0;
   17068 }
   17069 _ACEOF
   17070 if ac_fn_c_try_compile "$LINENO"; then :
   17071   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes
   17072 else
   17073   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no
   17074 
   17075 fi
   17076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17077 fi
   17078 
   17079  if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
   17080 
   17081 $as_echo "#define HAVE_LWPSTATUS_T_PR_CONTEXT 1" >>confdefs.h
   17082 
   17083  fi
   17084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
   17085 $as_echo "$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6; }
   17086 
   17087 
   17088  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
   17089 $as_echo_n "checking for lwpstatus_t.pr_reg in sys/procfs.h... " >&6; }
   17090  if ${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+:} false; then :
   17091   $as_echo_n "(cached) " >&6
   17092 else
   17093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17094 /* end confdefs.h.  */
   17095 
   17096 #define _SYSCALL32
   17097 #include <sys/procfs.h>
   17098 int
   17099 main ()
   17100 {
   17101 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
   17102   ;
   17103   return 0;
   17104 }
   17105 _ACEOF
   17106 if ac_fn_c_try_compile "$LINENO"; then :
   17107   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes
   17108 else
   17109   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no
   17110 
   17111 fi
   17112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17113 fi
   17114 
   17115  if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
   17116 
   17117 $as_echo "#define HAVE_LWPSTATUS_T_PR_REG 1" >>confdefs.h
   17118 
   17119  fi
   17120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
   17121 $as_echo "$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6; }
   17122 
   17123 
   17124  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t.pr_fpreg in sys/procfs.h" >&5
   17125 $as_echo_n "checking for lwpstatus_t.pr_fpreg in sys/procfs.h... " >&6; }
   17126  if ${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg+:} false; then :
   17127   $as_echo_n "(cached) " >&6
   17128 else
   17129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17130 /* end confdefs.h.  */
   17131 
   17132 #define _SYSCALL32
   17133 #include <sys/procfs.h>
   17134 int
   17135 main ()
   17136 {
   17137 lwpstatus_t avar; void* aref = (void*) &avar.pr_fpreg
   17138   ;
   17139   return 0;
   17140 }
   17141 _ACEOF
   17142 if ac_fn_c_try_compile "$LINENO"; then :
   17143   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg=yes
   17144 else
   17145   bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg=no
   17146 
   17147 fi
   17148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17149 fi
   17150 
   17151  if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg = yes; then
   17152 
   17153 $as_echo "#define HAVE_LWPSTATUS_T_PR_FPREG 1" >>confdefs.h
   17154 
   17155  fi
   17156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg" >&5
   17157 $as_echo "$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg" >&6; }
   17158 
   17159 
   17160  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for win32_pstatus_t in sys/procfs.h" >&5
   17161 $as_echo_n "checking for win32_pstatus_t in sys/procfs.h... " >&6; }
   17162  if ${bfd_cv_have_sys_procfs_type_win32_pstatus_t+:} false; then :
   17163   $as_echo_n "(cached) " >&6
   17164 else
   17165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17166 /* end confdefs.h.  */
   17167 
   17168 #define _SYSCALL32
   17169 #include <sys/procfs.h>
   17170 int
   17171 main ()
   17172 {
   17173 win32_pstatus_t avar
   17174   ;
   17175   return 0;
   17176 }
   17177 _ACEOF
   17178 if ac_fn_c_try_compile "$LINENO"; then :
   17179   bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes
   17180 else
   17181   bfd_cv_have_sys_procfs_type_win32_pstatus_t=no
   17182 
   17183 fi
   17184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17185 fi
   17186 
   17187  if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
   17188 
   17189 $as_echo "#define HAVE_WIN32_PSTATUS_T 1" >>confdefs.h
   17190 
   17191  fi
   17192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
   17193 $as_echo "$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6; }
   17194 
   17195   fi
   17196 fi
   17197 
   17198 
   17199 if test -n "$CORE_HEADER"; then
   17200 
   17201 cat >>confdefs.h <<_ACEOF
   17202 #define CORE_HEADER $CORE_HEADER
   17203 _ACEOF
   17204 
   17205 fi
   17206 if test -n "$TRAD_HEADER"; then
   17207 
   17208 cat >>confdefs.h <<_ACEOF
   17209 #define TRAD_HEADER $TRAD_HEADER
   17210 _ACEOF
   17211 
   17212 fi
   17213 
   17214 if test "$plugins" = "yes"; then
   17215   supports_plugins=1
   17216 else
   17217   supports_plugins=0
   17218 fi
   17219 
   17220 
   17221 
   17222 # Determine the host dependent file_ptr a.k.a. off_t type.  In order
   17223 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
   17224 # fseeko, long.  This assumes that sizeof off_t is .ge. sizeof long.
   17225 # Hopefully a reasonable assumption since fseeko et.al. should be
   17226 # upward compatible.
   17227 for ac_func in ftello ftello64 fseeko fseeko64 fopen64
   17228 do :
   17229   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   17230 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   17231 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   17232   cat >>confdefs.h <<_ACEOF
   17233 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   17234 _ACEOF
   17235 
   17236 fi
   17237 done
   17238 
   17239 ac_fn_c_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default"
   17240 if test "x$ac_cv_have_decl_ftello" = xyes; then :
   17241   ac_have_decl=1
   17242 else
   17243   ac_have_decl=0
   17244 fi
   17245 
   17246 cat >>confdefs.h <<_ACEOF
   17247 #define HAVE_DECL_FTELLO $ac_have_decl
   17248 _ACEOF
   17249 ac_fn_c_check_decl "$LINENO" "ftello64" "ac_cv_have_decl_ftello64" "$ac_includes_default"
   17250 if test "x$ac_cv_have_decl_ftello64" = xyes; then :
   17251   ac_have_decl=1
   17252 else
   17253   ac_have_decl=0
   17254 fi
   17255 
   17256 cat >>confdefs.h <<_ACEOF
   17257 #define HAVE_DECL_FTELLO64 $ac_have_decl
   17258 _ACEOF
   17259 ac_fn_c_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "$ac_includes_default"
   17260 if test "x$ac_cv_have_decl_fseeko" = xyes; then :
   17261   ac_have_decl=1
   17262 else
   17263   ac_have_decl=0
   17264 fi
   17265 
   17266 cat >>confdefs.h <<_ACEOF
   17267 #define HAVE_DECL_FSEEKO $ac_have_decl
   17268 _ACEOF
   17269 ac_fn_c_check_decl "$LINENO" "fseeko64" "ac_cv_have_decl_fseeko64" "$ac_includes_default"
   17270 if test "x$ac_cv_have_decl_fseeko64" = xyes; then :
   17271   ac_have_decl=1
   17272 else
   17273   ac_have_decl=0
   17274 fi
   17275 
   17276 cat >>confdefs.h <<_ACEOF
   17277 #define HAVE_DECL_FSEEKO64 $ac_have_decl
   17278 _ACEOF
   17279 ac_fn_c_check_decl "$LINENO" "fopen64" "ac_cv_have_decl_fopen64" "$ac_includes_default"
   17280 if test "x$ac_cv_have_decl_fopen64" = xyes; then :
   17281   ac_have_decl=1
   17282 else
   17283   ac_have_decl=0
   17284 fi
   17285 
   17286 cat >>confdefs.h <<_ACEOF
   17287 #define HAVE_DECL_FOPEN64 $ac_have_decl
   17288 _ACEOF
   17289 
   17290 if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then
   17291     # The cast to long int works around a bug in the HP C Compiler
   17292 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   17293 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   17294 # This bug is HP SR number 8606223364.
   17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
   17296 $as_echo_n "checking size of off_t... " >&6; }
   17297 if ${ac_cv_sizeof_off_t+:} false; then :
   17298   $as_echo_n "(cached) " >&6
   17299 else
   17300   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
   17301 
   17302 else
   17303   if test "$ac_cv_type_off_t" = yes; then
   17304      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17306 as_fn_error 77 "cannot compute sizeof (off_t)
   17307 See \`config.log' for more details" "$LINENO" 5; }
   17308    else
   17309      ac_cv_sizeof_off_t=0
   17310    fi
   17311 fi
   17312 
   17313 fi
   17314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
   17315 $as_echo "$ac_cv_sizeof_off_t" >&6; }
   17316 
   17317 
   17318 
   17319 cat >>confdefs.h <<_ACEOF
   17320 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
   17321 _ACEOF
   17322 
   17323 
   17324 fi
   17325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking file_ptr type" >&5
   17326 $as_echo_n "checking file_ptr type... " >&6; }
   17327 bfd_file_ptr="long"
   17328 bfd_ufile_ptr="unsigned long"
   17329 if test x"$ac_cv_func_ftello64" = xyes -a x"$ac_cv_func_fseeko64" = xyes \
   17330 	-o x"${ac_cv_sizeof_off_t}" = x8; then
   17331     bfd_file_ptr=int64_t
   17332     bfd_ufile_ptr=uint64_t
   17333 fi
   17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_file_ptr" >&5
   17335 $as_echo "$bfd_file_ptr" >&6; }
   17336 
   17337 
   17338 
   17339 
   17340 
   17341 
   17342   for ac_header in $ac_header_list
   17343 do :
   17344   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   17345 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   17346 "
   17347 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   17348   cat >>confdefs.h <<_ACEOF
   17349 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   17350 _ACEOF
   17351 
   17352 fi
   17353 
   17354 done
   17355 
   17356 
   17357 
   17358 
   17359 
   17360 
   17361 
   17362 save_ASAN_OPTIONS="$ASAN_OPTIONS"
   17363   ASAN_OPTIONS=detect_leaks=0
   17364   export ASAN_OPTIONS
   17365 
   17366 for ac_func in getpagesize
   17367 do :
   17368   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   17369 if test "x$ac_cv_func_getpagesize" = xyes; then :
   17370   cat >>confdefs.h <<_ACEOF
   17371 #define HAVE_GETPAGESIZE 1
   17372 _ACEOF
   17373 
   17374 fi
   17375 done
   17376 
   17377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   17378 $as_echo_n "checking for working mmap... " >&6; }
   17379 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
   17380   $as_echo_n "(cached) " >&6
   17381 else
   17382   if test "$cross_compiling" = yes; then :
   17383   ac_cv_func_mmap_fixed_mapped=no
   17384 else
   17385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17386 /* end confdefs.h.  */
   17387 $ac_includes_default
   17388 /* malloc might have been renamed as rpl_malloc. */
   17389 #undef malloc
   17390 
   17391 /* Thanks to Mike Haertel and Jim Avera for this test.
   17392    Here is a matrix of mmap possibilities:
   17393 	mmap private not fixed
   17394 	mmap private fixed at somewhere currently unmapped
   17395 	mmap private fixed at somewhere already mapped
   17396 	mmap shared not fixed
   17397 	mmap shared fixed at somewhere currently unmapped
   17398 	mmap shared fixed at somewhere already mapped
   17399    For private mappings, we should verify that changes cannot be read()
   17400    back from the file, nor mmap's back from the file at a different
   17401    address.  (There have been systems where private was not correctly
   17402    implemented like the infamous i386 svr4.0, and systems where the
   17403    VM page cache was not coherent with the file system buffer cache
   17404    like early versions of FreeBSD and possibly contemporary NetBSD.)
   17405    For shared mappings, we should conversely verify that changes get
   17406    propagated back to all the places they're supposed to be.
   17407 
   17408    Grep wants private fixed already mapped.
   17409    The main things grep needs to know about mmap are:
   17410    * does it exist and is it safe to write into the mmap'd area
   17411    * how to use it (BSD variants)  */
   17412 
   17413 #include <fcntl.h>
   17414 #include <sys/mman.h>
   17415 
   17416 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
   17417 char *malloc ();
   17418 #endif
   17419 
   17420 /* This mess was copied from the GNU getpagesize.h.  */
   17421 #ifndef HAVE_GETPAGESIZE
   17422 # ifdef _SC_PAGESIZE
   17423 #  define getpagesize() sysconf(_SC_PAGESIZE)
   17424 # else /* no _SC_PAGESIZE */
   17425 #  ifdef HAVE_SYS_PARAM_H
   17426 #   include <sys/param.h>
   17427 #   ifdef EXEC_PAGESIZE
   17428 #    define getpagesize() EXEC_PAGESIZE
   17429 #   else /* no EXEC_PAGESIZE */
   17430 #    ifdef NBPG
   17431 #     define getpagesize() NBPG * CLSIZE
   17432 #     ifndef CLSIZE
   17433 #      define CLSIZE 1
   17434 #     endif /* no CLSIZE */
   17435 #    else /* no NBPG */
   17436 #     ifdef NBPC
   17437 #      define getpagesize() NBPC
   17438 #     else /* no NBPC */
   17439 #      ifdef PAGESIZE
   17440 #       define getpagesize() PAGESIZE
   17441 #      endif /* PAGESIZE */
   17442 #     endif /* no NBPC */
   17443 #    endif /* no NBPG */
   17444 #   endif /* no EXEC_PAGESIZE */
   17445 #  else /* no HAVE_SYS_PARAM_H */
   17446 #   define getpagesize() 8192	/* punt totally */
   17447 #  endif /* no HAVE_SYS_PARAM_H */
   17448 # endif /* no _SC_PAGESIZE */
   17449 
   17450 #endif /* no HAVE_GETPAGESIZE */
   17451 
   17452 int
   17453 main ()
   17454 {
   17455   char *data, *data2, *data3;
   17456   const char *cdata2;
   17457   int i, pagesize;
   17458   int fd, fd2;
   17459 
   17460   pagesize = getpagesize ();
   17461 
   17462   /* First, make a file with some known garbage in it. */
   17463   data = (char *) malloc (pagesize);
   17464   if (!data)
   17465     return 1;
   17466   for (i = 0; i < pagesize; ++i)
   17467     *(data + i) = rand ();
   17468   umask (0);
   17469   fd = creat ("conftest.mmap", 0600);
   17470   if (fd < 0)
   17471     return 2;
   17472   if (write (fd, data, pagesize) != pagesize)
   17473     return 3;
   17474   close (fd);
   17475 
   17476   /* Next, check that the tail of a page is zero-filled.  File must have
   17477      non-zero length, otherwise we risk SIGBUS for entire page.  */
   17478   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   17479   if (fd2 < 0)
   17480     return 4;
   17481   cdata2 = "";
   17482   if (write (fd2, cdata2, 1) != 1)
   17483     return 5;
   17484   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   17485   if (data2 == MAP_FAILED)
   17486     return 6;
   17487   for (i = 0; i < pagesize; ++i)
   17488     if (*(data2 + i))
   17489       return 7;
   17490   close (fd2);
   17491   if (munmap (data2, pagesize))
   17492     return 8;
   17493 
   17494   /* Next, try to mmap the file at a fixed address which already has
   17495      something else allocated at it.  If we can, also make sure that
   17496      we see the same garbage.  */
   17497   fd = open ("conftest.mmap", O_RDWR);
   17498   if (fd < 0)
   17499     return 9;
   17500   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   17501 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   17502     return 10;
   17503   for (i = 0; i < pagesize; ++i)
   17504     if (*(data + i) != *(data2 + i))
   17505       return 11;
   17506 
   17507   /* Finally, make sure that changes to the mapped area do not
   17508      percolate back to the file as seen by read().  (This is a bug on
   17509      some variants of i386 svr4.0.)  */
   17510   for (i = 0; i < pagesize; ++i)
   17511     *(data2 + i) = *(data2 + i) + 1;
   17512   data3 = (char *) malloc (pagesize);
   17513   if (!data3)
   17514     return 12;
   17515   if (read (fd, data3, pagesize) != pagesize)
   17516     return 13;
   17517   for (i = 0; i < pagesize; ++i)
   17518     if (*(data + i) != *(data3 + i))
   17519       return 14;
   17520   close (fd);
   17521   return 0;
   17522 }
   17523 _ACEOF
   17524 if ac_fn_c_try_run "$LINENO"; then :
   17525   ac_cv_func_mmap_fixed_mapped=yes
   17526 else
   17527   ac_cv_func_mmap_fixed_mapped=no
   17528 fi
   17529 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   17530   conftest.$ac_objext conftest.beam conftest.$ac_ext
   17531 fi
   17532 
   17533 fi
   17534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   17535 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
   17536 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   17537 
   17538 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
   17539 
   17540 fi
   17541 rm -f conftest.mmap conftest.txt
   17542 
   17543   ASAN_OPTIONS="$save_ASAN_OPTIONS"
   17544 
   17545 for ac_func in madvise mprotect
   17546 do :
   17547   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   17548 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   17549 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   17550   cat >>confdefs.h <<_ACEOF
   17551 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   17552 _ACEOF
   17553 
   17554 fi
   17555 done
   17556 
   17557 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
   17558   true+yes )
   17559 $as_echo "#define USE_MMAP 1" >>confdefs.h
   17560  ;;
   17561 esac
   17562 
   17563 ac_config_files="$ac_config_files Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
   17564 
   17565 
   17566 ac_config_commands="$ac_config_commands default"
   17567 
   17568 
   17569 
   17570 
   17571 
   17572 
   17573 
   17574 cat >confcache <<\_ACEOF
   17575 # This file is a shell script that caches the results of configure
   17576 # tests run on this system so they can be shared between configure
   17577 # scripts and configure runs, see configure's option --config-cache.
   17578 # It is not useful on other systems.  If it contains results you don't
   17579 # want to keep, you may remove or edit it.
   17580 #
   17581 # config.status only pays attention to the cache file if you give it
   17582 # the --recheck option to rerun configure.
   17583 #
   17584 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17585 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17586 # following values.
   17587 
   17588 _ACEOF
   17589 
   17590 # The following way of writing the cache mishandles newlines in values,
   17591 # but we know of no workaround that is simple, portable, and efficient.
   17592 # So, we kill variables containing newlines.
   17593 # Ultrix sh set writes to stderr and can't be redirected directly,
   17594 # and sets the high bit in the cache file unless we assign to the vars.
   17595 (
   17596   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17597     eval ac_val=\$$ac_var
   17598     case $ac_val in #(
   17599     *${as_nl}*)
   17600       case $ac_var in #(
   17601       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17602 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17603       esac
   17604       case $ac_var in #(
   17605       _ | IFS | as_nl) ;; #(
   17606       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17607       *) { eval $ac_var=; unset $ac_var;} ;;
   17608       esac ;;
   17609     esac
   17610   done
   17611 
   17612   (set) 2>&1 |
   17613     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17614     *${as_nl}ac_space=\ *)
   17615       # `set' does not quote correctly, so add quotes: double-quote
   17616       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17617       sed -n \
   17618 	"s/'/'\\\\''/g;
   17619 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17620       ;; #(
   17621     *)
   17622       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17623       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17624       ;;
   17625     esac |
   17626     sort
   17627 ) |
   17628   sed '
   17629      /^ac_cv_env_/b end
   17630      t clear
   17631      :clear
   17632      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17633      t end
   17634      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17635      :end' >>confcache
   17636 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17637   if test -w "$cache_file"; then
   17638     if test "x$cache_file" != "x/dev/null"; then
   17639       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17640 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17641       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17642 	cat confcache >"$cache_file"
   17643       else
   17644         case $cache_file in #(
   17645         */* | ?:*)
   17646 	  mv -f confcache "$cache_file"$$ &&
   17647 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17648         *)
   17649 	  mv -f confcache "$cache_file" ;;
   17650 	esac
   17651       fi
   17652     fi
   17653   else
   17654     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17655 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17656   fi
   17657 fi
   17658 rm -f confcache
   17659 
   17660 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17661 # Let make expand exec_prefix.
   17662 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17663 
   17664 DEFS=-DHAVE_CONFIG_H
   17665 
   17666 ac_libobjs=
   17667 ac_ltlibobjs=
   17668 U=
   17669 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17670   # 1. Remove the extension, and $U if already installed.
   17671   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17672   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17673   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17674   #    will be set to the directory where LIBOBJS objects are built.
   17675   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17676   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17677 done
   17678 LIBOBJS=$ac_libobjs
   17679 
   17680 LTLIBOBJS=$ac_ltlibobjs
   17681 
   17682 
   17683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17684 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17685    if test -n "$am_sleep_pid"; then
   17686      # Hide warnings about reused PIDs.
   17687      wait $am_sleep_pid 2>/dev/null
   17688    fi
   17689    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17690 $as_echo "done" >&6; }
   17691  if test -n "$EXEEXT"; then
   17692   am__EXEEXT_TRUE=
   17693   am__EXEEXT_FALSE='#'
   17694 else
   17695   am__EXEEXT_TRUE='#'
   17696   am__EXEEXT_FALSE=
   17697 fi
   17698 
   17699 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17700   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17702 fi
   17703 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17704   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17706 fi
   17707 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
   17708   as_fn_error $? "conditional \"PLUGINS\" was never defined.
   17709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17710 fi
   17711 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   17712   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   17713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17714 fi
   17715 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
   17716   as_fn_error $? "conditional \"GENINSRC_NEVER\" was never defined.
   17717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17718 fi
   17719 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
   17720   as_fn_error $? "conditional \"INSTALL_LIBBFD\" was never defined.
   17721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17722 fi
   17723 
   17724 
   17725 : "${CONFIG_STATUS=./config.status}"
   17726 ac_write_fail=0
   17727 ac_clean_files_save=$ac_clean_files
   17728 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17729 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17730 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17731 as_write_fail=0
   17732 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17733 #! $SHELL
   17734 # Generated by $as_me.
   17735 # Run this file to recreate the current configuration.
   17736 # Compiler output produced by configure, useful for debugging
   17737 # configure, is in config.log if it exists.
   17738 
   17739 debug=false
   17740 ac_cs_recheck=false
   17741 ac_cs_silent=false
   17742 
   17743 SHELL=\${CONFIG_SHELL-$SHELL}
   17744 export SHELL
   17745 _ASEOF
   17746 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17747 ## -------------------- ##
   17748 ## M4sh Initialization. ##
   17749 ## -------------------- ##
   17750 
   17751 # Be more Bourne compatible
   17752 DUALCASE=1; export DUALCASE # for MKS sh
   17753 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17754   emulate sh
   17755   NULLCMD=:
   17756   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17757   # is contrary to our usage.  Disable this feature.
   17758   alias -g '${1+"$@"}'='"$@"'
   17759   setopt NO_GLOB_SUBST
   17760 else
   17761   case `(set -o) 2>/dev/null` in #(
   17762   *posix*) :
   17763     set -o posix ;; #(
   17764   *) :
   17765      ;;
   17766 esac
   17767 fi
   17768 
   17769 
   17770 as_nl='
   17771 '
   17772 export as_nl
   17773 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17774 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17775 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17776 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17777 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17778 # but without wasting forks for bash or zsh.
   17779 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17780     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17781   as_echo='print -r --'
   17782   as_echo_n='print -rn --'
   17783 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17784   as_echo='printf %s\n'
   17785   as_echo_n='printf %s'
   17786 else
   17787   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17788     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17789     as_echo_n='/usr/ucb/echo -n'
   17790   else
   17791     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17792     as_echo_n_body='eval
   17793       arg=$1;
   17794       case $arg in #(
   17795       *"$as_nl"*)
   17796 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17797 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17798       esac;
   17799       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17800     '
   17801     export as_echo_n_body
   17802     as_echo_n='sh -c $as_echo_n_body as_echo'
   17803   fi
   17804   export as_echo_body
   17805   as_echo='sh -c $as_echo_body as_echo'
   17806 fi
   17807 
   17808 # The user is always right.
   17809 if test "${PATH_SEPARATOR+set}" != set; then
   17810   PATH_SEPARATOR=:
   17811   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17812     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17813       PATH_SEPARATOR=';'
   17814   }
   17815 fi
   17816 
   17817 
   17818 # IFS
   17819 # We need space, tab and new line, in precisely that order.  Quoting is
   17820 # there to prevent editors from complaining about space-tab.
   17821 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17822 # splitting by setting IFS to empty value.)
   17823 IFS=" ""	$as_nl"
   17824 
   17825 # Find who we are.  Look in the path if we contain no directory separator.
   17826 as_myself=
   17827 case $0 in #((
   17828   *[\\/]* ) as_myself=$0 ;;
   17829   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17830 for as_dir in $PATH
   17831 do
   17832   IFS=$as_save_IFS
   17833   test -z "$as_dir" && as_dir=.
   17834     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   17835   done
   17836 IFS=$as_save_IFS
   17837 
   17838      ;;
   17839 esac
   17840 # We did not find ourselves, most probably we were run as `sh COMMAND'
   17841 # in which case we are not to be found in the path.
   17842 if test "x$as_myself" = x; then
   17843   as_myself=$0
   17844 fi
   17845 if test ! -f "$as_myself"; then
   17846   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   17847   exit 1
   17848 fi
   17849 
   17850 # Unset variables that we do not need and which cause bugs (e.g. in
   17851 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   17852 # suppresses any "Segmentation fault" message there.  '((' could
   17853 # trigger a bug in pdksh 5.2.14.
   17854 for as_var in BASH_ENV ENV MAIL MAILPATH
   17855 do eval test x\${$as_var+set} = xset \
   17856   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   17857 done
   17858 PS1='$ '
   17859 PS2='> '
   17860 PS4='+ '
   17861 
   17862 # NLS nuisances.
   17863 LC_ALL=C
   17864 export LC_ALL
   17865 LANGUAGE=C
   17866 export LANGUAGE
   17867 
   17868 # CDPATH.
   17869 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17870 
   17871 
   17872 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   17873 # ----------------------------------------
   17874 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   17875 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   17876 # script with STATUS, using 1 if that was 0.
   17877 as_fn_error ()
   17878 {
   17879   as_status=$1; test $as_status -eq 0 && as_status=1
   17880   if test "$4"; then
   17881     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   17882     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   17883   fi
   17884   $as_echo "$as_me: error: $2" >&2
   17885   as_fn_exit $as_status
   17886 } # as_fn_error
   17887 
   17888 
   17889 # as_fn_set_status STATUS
   17890 # -----------------------
   17891 # Set $? to STATUS, without forking.
   17892 as_fn_set_status ()
   17893 {
   17894   return $1
   17895 } # as_fn_set_status
   17896 
   17897 # as_fn_exit STATUS
   17898 # -----------------
   17899 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   17900 as_fn_exit ()
   17901 {
   17902   set +e
   17903   as_fn_set_status $1
   17904   exit $1
   17905 } # as_fn_exit
   17906 
   17907 # as_fn_unset VAR
   17908 # ---------------
   17909 # Portably unset VAR.
   17910 as_fn_unset ()
   17911 {
   17912   { eval $1=; unset $1;}
   17913 }
   17914 as_unset=as_fn_unset
   17915 # as_fn_append VAR VALUE
   17916 # ----------------------
   17917 # Append the text in VALUE to the end of the definition contained in VAR. Take
   17918 # advantage of any shell optimizations that allow amortized linear growth over
   17919 # repeated appends, instead of the typical quadratic growth present in naive
   17920 # implementations.
   17921 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   17922   eval 'as_fn_append ()
   17923   {
   17924     eval $1+=\$2
   17925   }'
   17926 else
   17927   as_fn_append ()
   17928   {
   17929     eval $1=\$$1\$2
   17930   }
   17931 fi # as_fn_append
   17932 
   17933 # as_fn_arith ARG...
   17934 # ------------------
   17935 # Perform arithmetic evaluation on the ARGs, and store the result in the
   17936 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   17937 # must be portable across $(()) and expr.
   17938 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   17939   eval 'as_fn_arith ()
   17940   {
   17941     as_val=$(( $* ))
   17942   }'
   17943 else
   17944   as_fn_arith ()
   17945   {
   17946     as_val=`expr "$@" || test $? -eq 1`
   17947   }
   17948 fi # as_fn_arith
   17949 
   17950 
   17951 if expr a : '\(a\)' >/dev/null 2>&1 &&
   17952    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   17953   as_expr=expr
   17954 else
   17955   as_expr=false
   17956 fi
   17957 
   17958 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   17959   as_basename=basename
   17960 else
   17961   as_basename=false
   17962 fi
   17963 
   17964 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   17965   as_dirname=dirname
   17966 else
   17967   as_dirname=false
   17968 fi
   17969 
   17970 as_me=`$as_basename -- "$0" ||
   17971 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   17972 	 X"$0" : 'X\(//\)$' \| \
   17973 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   17974 $as_echo X/"$0" |
   17975     sed '/^.*\/\([^/][^/]*\)\/*$/{
   17976 	    s//\1/
   17977 	    q
   17978 	  }
   17979 	  /^X\/\(\/\/\)$/{
   17980 	    s//\1/
   17981 	    q
   17982 	  }
   17983 	  /^X\/\(\/\).*/{
   17984 	    s//\1/
   17985 	    q
   17986 	  }
   17987 	  s/.*/./; q'`
   17988 
   17989 # Avoid depending upon Character Ranges.
   17990 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   17991 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   17992 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   17993 as_cr_digits='0123456789'
   17994 as_cr_alnum=$as_cr_Letters$as_cr_digits
   17995 
   17996 ECHO_C= ECHO_N= ECHO_T=
   17997 case `echo -n x` in #(((((
   17998 -n*)
   17999   case `echo 'xy\c'` in
   18000   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18001   xy)  ECHO_C='\c';;
   18002   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18003        ECHO_T='	';;
   18004   esac;;
   18005 *)
   18006   ECHO_N='-n';;
   18007 esac
   18008 
   18009 rm -f conf$$ conf$$.exe conf$$.file
   18010 if test -d conf$$.dir; then
   18011   rm -f conf$$.dir/conf$$.file
   18012 else
   18013   rm -f conf$$.dir
   18014   mkdir conf$$.dir 2>/dev/null
   18015 fi
   18016 if (echo >conf$$.file) 2>/dev/null; then
   18017   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18018     as_ln_s='ln -s'
   18019     # ... but there are two gotchas:
   18020     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18021     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18022     # In both cases, we have to default to `cp -pR'.
   18023     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18024       as_ln_s='cp -pR'
   18025   elif ln conf$$.file conf$$ 2>/dev/null; then
   18026     as_ln_s=ln
   18027   else
   18028     as_ln_s='cp -pR'
   18029   fi
   18030 else
   18031   as_ln_s='cp -pR'
   18032 fi
   18033 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18034 rmdir conf$$.dir 2>/dev/null
   18035 
   18036 
   18037 # as_fn_mkdir_p
   18038 # -------------
   18039 # Create "$as_dir" as a directory, including parents if necessary.
   18040 as_fn_mkdir_p ()
   18041 {
   18042 
   18043   case $as_dir in #(
   18044   -*) as_dir=./$as_dir;;
   18045   esac
   18046   test -d "$as_dir" || eval $as_mkdir_p || {
   18047     as_dirs=
   18048     while :; do
   18049       case $as_dir in #(
   18050       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18051       *) as_qdir=$as_dir;;
   18052       esac
   18053       as_dirs="'$as_qdir' $as_dirs"
   18054       as_dir=`$as_dirname -- "$as_dir" ||
   18055 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18056 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18057 	 X"$as_dir" : 'X\(//\)$' \| \
   18058 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18059 $as_echo X"$as_dir" |
   18060     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18061 	    s//\1/
   18062 	    q
   18063 	  }
   18064 	  /^X\(\/\/\)[^/].*/{
   18065 	    s//\1/
   18066 	    q
   18067 	  }
   18068 	  /^X\(\/\/\)$/{
   18069 	    s//\1/
   18070 	    q
   18071 	  }
   18072 	  /^X\(\/\).*/{
   18073 	    s//\1/
   18074 	    q
   18075 	  }
   18076 	  s/.*/./; q'`
   18077       test -d "$as_dir" && break
   18078     done
   18079     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18080   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18081 
   18082 
   18083 } # as_fn_mkdir_p
   18084 if mkdir -p . 2>/dev/null; then
   18085   as_mkdir_p='mkdir -p "$as_dir"'
   18086 else
   18087   test -d ./-p && rmdir ./-p
   18088   as_mkdir_p=false
   18089 fi
   18090 
   18091 
   18092 # as_fn_executable_p FILE
   18093 # -----------------------
   18094 # Test if FILE is an executable regular file.
   18095 as_fn_executable_p ()
   18096 {
   18097   test -f "$1" && test -x "$1"
   18098 } # as_fn_executable_p
   18099 as_test_x='test -x'
   18100 as_executable_p=as_fn_executable_p
   18101 
   18102 # Sed expression to map a string onto a valid CPP name.
   18103 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18104 
   18105 # Sed expression to map a string onto a valid variable name.
   18106 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18107 
   18108 
   18109 exec 6>&1
   18110 ## ----------------------------------- ##
   18111 ## Main body of $CONFIG_STATUS script. ##
   18112 ## ----------------------------------- ##
   18113 _ASEOF
   18114 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18115 
   18116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18117 # Save the log message, to keep $0 and so on meaningful, and to
   18118 # report actual input values of CONFIG_FILES etc. instead of their
   18119 # values after options handling.
   18120 ac_log="
   18121 This file was extended by bfd $as_me 2.46.0, which was
   18122 generated by GNU Autoconf 2.69.  Invocation command line was
   18123 
   18124   CONFIG_FILES    = $CONFIG_FILES
   18125   CONFIG_HEADERS  = $CONFIG_HEADERS
   18126   CONFIG_LINKS    = $CONFIG_LINKS
   18127   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18128   $ $0 $@
   18129 
   18130 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18131 "
   18132 
   18133 _ACEOF
   18134 
   18135 case $ac_config_files in *"
   18136 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18137 esac
   18138 
   18139 case $ac_config_headers in *"
   18140 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18141 esac
   18142 
   18143 
   18144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18145 # Files that config.status was made for.
   18146 config_files="$ac_config_files"
   18147 config_headers="$ac_config_headers"
   18148 config_commands="$ac_config_commands"
   18149 
   18150 _ACEOF
   18151 
   18152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18153 ac_cs_usage="\
   18154 \`$as_me' instantiates files and other configuration actions
   18155 from templates according to the current configuration.  Unless the files
   18156 and actions are specified as TAGs, all are instantiated by default.
   18157 
   18158 Usage: $0 [OPTION]... [TAG]...
   18159 
   18160   -h, --help       print this help, then exit
   18161   -V, --version    print version number and configuration settings, then exit
   18162       --config     print configuration, then exit
   18163   -q, --quiet, --silent
   18164                    do not print progress messages
   18165   -d, --debug      don't remove temporary files
   18166       --recheck    update $as_me by reconfiguring in the same conditions
   18167       --file=FILE[:TEMPLATE]
   18168                    instantiate the configuration file FILE
   18169       --header=FILE[:TEMPLATE]
   18170                    instantiate the configuration header FILE
   18171 
   18172 Configuration files:
   18173 $config_files
   18174 
   18175 Configuration headers:
   18176 $config_headers
   18177 
   18178 Configuration commands:
   18179 $config_commands
   18180 
   18181 Report bugs to the package provider."
   18182 
   18183 _ACEOF
   18184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18185 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18186 ac_cs_version="\\
   18187 bfd config.status 2.46.0
   18188 configured by $0, generated by GNU Autoconf 2.69,
   18189   with options \\"\$ac_cs_config\\"
   18190 
   18191 Copyright (C) 2012 Free Software Foundation, Inc.
   18192 This config.status script is free software; the Free Software Foundation
   18193 gives unlimited permission to copy, distribute and modify it."
   18194 
   18195 ac_pwd='$ac_pwd'
   18196 srcdir='$srcdir'
   18197 INSTALL='$INSTALL'
   18198 MKDIR_P='$MKDIR_P'
   18199 AWK='$AWK'
   18200 test -n "\$AWK" || AWK=awk
   18201 _ACEOF
   18202 
   18203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18204 # The default lists apply if the user does not specify any file.
   18205 ac_need_defaults=:
   18206 while test $# != 0
   18207 do
   18208   case $1 in
   18209   --*=?*)
   18210     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18211     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18212     ac_shift=:
   18213     ;;
   18214   --*=)
   18215     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18216     ac_optarg=
   18217     ac_shift=:
   18218     ;;
   18219   *)
   18220     ac_option=$1
   18221     ac_optarg=$2
   18222     ac_shift=shift
   18223     ;;
   18224   esac
   18225 
   18226   case $ac_option in
   18227   # Handling of the options.
   18228   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18229     ac_cs_recheck=: ;;
   18230   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18231     $as_echo "$ac_cs_version"; exit ;;
   18232   --config | --confi | --conf | --con | --co | --c )
   18233     $as_echo "$ac_cs_config"; exit ;;
   18234   --debug | --debu | --deb | --de | --d | -d )
   18235     debug=: ;;
   18236   --file | --fil | --fi | --f )
   18237     $ac_shift
   18238     case $ac_optarg in
   18239     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18240     '') as_fn_error $? "missing file argument" ;;
   18241     esac
   18242     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18243     ac_need_defaults=false;;
   18244   --header | --heade | --head | --hea )
   18245     $ac_shift
   18246     case $ac_optarg in
   18247     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18248     esac
   18249     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18250     ac_need_defaults=false;;
   18251   --he | --h)
   18252     # Conflict between --help and --header
   18253     as_fn_error $? "ambiguous option: \`$1'
   18254 Try \`$0 --help' for more information.";;
   18255   --help | --hel | -h )
   18256     $as_echo "$ac_cs_usage"; exit ;;
   18257   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18258   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18259     ac_cs_silent=: ;;
   18260 
   18261   # This is an error.
   18262   -*) as_fn_error $? "unrecognized option: \`$1'
   18263 Try \`$0 --help' for more information." ;;
   18264 
   18265   *) as_fn_append ac_config_targets " $1"
   18266      ac_need_defaults=false ;;
   18267 
   18268   esac
   18269   shift
   18270 done
   18271 
   18272 ac_configure_extra_args=
   18273 
   18274 if $ac_cs_silent; then
   18275   exec 6>/dev/null
   18276   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18277 fi
   18278 
   18279 _ACEOF
   18280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18281 if \$ac_cs_recheck; then
   18282   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18283   shift
   18284   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18285   CONFIG_SHELL='$SHELL'
   18286   export CONFIG_SHELL
   18287   exec "\$@"
   18288 fi
   18289 
   18290 _ACEOF
   18291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18292 exec 5>>config.log
   18293 {
   18294   echo
   18295   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18296 ## Running $as_me. ##
   18297 _ASBOX
   18298   $as_echo "$ac_log"
   18299 } >&5
   18300 
   18301 _ACEOF
   18302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18303 #
   18304 # INIT-COMMANDS
   18305 #
   18306 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18307 
   18308 
   18309 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18310 # if CDPATH is set.
   18311 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18312 
   18313 sed_quote_subst='$sed_quote_subst'
   18314 double_quote_subst='$double_quote_subst'
   18315 delay_variable_subst='$delay_variable_subst'
   18316 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18317 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18318 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18319 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18320 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18321 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18322 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18323 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18324 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18325 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18326 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18327 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18328 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18329 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18330 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18331 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18332 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18333 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18334 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18335 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18336 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18337 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18338 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18339 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18340 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18341 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18342 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18343 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18344 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18345 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18346 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18347 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18348 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18349 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18350 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18351 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18352 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18353 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18354 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18355 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18356 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18357 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18358 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18359 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18360 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18361 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18362 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18363 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18364 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"`'
   18365 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18366 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18367 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18368 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18369 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18370 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18371 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18372 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18373 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18374 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18375 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18376 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18377 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18378 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18379 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18380 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18381 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18382 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18383 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18384 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18385 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18386 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18387 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18388 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18389 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18390 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18391 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18392 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18393 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18394 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18395 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18396 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   18397 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18398 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18399 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18400 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18401 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18402 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18403 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18404 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18405 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   18406 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18407 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18408 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18409 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18410 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18411 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18412 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18413 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18414 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18415 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18416 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18417 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18418 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18419 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18420 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18421 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18422 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18423 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18424 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18425 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18426 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18427 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18428 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18429 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18430 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18431 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18432 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18433 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18434 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18435 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18436 
   18437 LTCC='$LTCC'
   18438 LTCFLAGS='$LTCFLAGS'
   18439 compiler='$compiler_DEFAULT'
   18440 
   18441 # A function that is used when there is no print builtin or printf.
   18442 func_fallback_echo ()
   18443 {
   18444   eval 'cat <<_LTECHO_EOF
   18445 \$1
   18446 _LTECHO_EOF'
   18447 }
   18448 
   18449 # Quote evaled strings.
   18450 for var in SHELL \
   18451 ECHO \
   18452 SED \
   18453 GREP \
   18454 EGREP \
   18455 FGREP \
   18456 LD \
   18457 NM \
   18458 LN_S \
   18459 lt_SP2NL \
   18460 lt_NL2SP \
   18461 reload_flag \
   18462 OBJDUMP \
   18463 deplibs_check_method \
   18464 file_magic_cmd \
   18465 AR \
   18466 AR_FLAGS \
   18467 STRIP \
   18468 RANLIB \
   18469 CC \
   18470 CFLAGS \
   18471 compiler \
   18472 lt_cv_sys_global_symbol_pipe \
   18473 lt_cv_sys_global_symbol_to_cdecl \
   18474 lt_cv_sys_global_symbol_to_c_name_address \
   18475 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18476 lt_prog_compiler_no_builtin_flag \
   18477 lt_prog_compiler_wl \
   18478 lt_prog_compiler_pic \
   18479 lt_prog_compiler_static \
   18480 lt_cv_prog_compiler_c_o \
   18481 need_locks \
   18482 DSYMUTIL \
   18483 NMEDIT \
   18484 LIPO \
   18485 OTOOL \
   18486 OTOOL64 \
   18487 shrext_cmds \
   18488 export_dynamic_flag_spec \
   18489 whole_archive_flag_spec \
   18490 compiler_needs_object \
   18491 with_gnu_ld \
   18492 allow_undefined_flag \
   18493 no_undefined_flag \
   18494 hardcode_libdir_flag_spec \
   18495 hardcode_libdir_flag_spec_ld \
   18496 hardcode_libdir_separator \
   18497 fix_srcfile_path \
   18498 exclude_expsyms \
   18499 include_expsyms \
   18500 file_list_spec \
   18501 variables_saved_for_relink \
   18502 libname_spec \
   18503 library_names_spec \
   18504 soname_spec \
   18505 install_override_mode \
   18506 finish_eval \
   18507 old_striplib \
   18508 striplib; do
   18509     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18510     *[\\\\\\\`\\"\\\$]*)
   18511       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18512       ;;
   18513     *)
   18514       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18515       ;;
   18516     esac
   18517 done
   18518 
   18519 # Double-quote double-evaled strings.
   18520 for var in reload_cmds \
   18521 old_postinstall_cmds \
   18522 old_postuninstall_cmds \
   18523 old_archive_cmds \
   18524 extract_expsyms_cmds \
   18525 old_archive_from_new_cmds \
   18526 old_archive_from_expsyms_cmds \
   18527 archive_cmds \
   18528 archive_expsym_cmds \
   18529 module_cmds \
   18530 module_expsym_cmds \
   18531 export_symbols_cmds \
   18532 prelink_cmds \
   18533 postinstall_cmds \
   18534 postuninstall_cmds \
   18535 finish_cmds \
   18536 sys_lib_search_path_spec \
   18537 sys_lib_dlsearch_path_spec; do
   18538     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18539     *[\\\\\\\`\\"\\\$]*)
   18540       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18541       ;;
   18542     *)
   18543       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18544       ;;
   18545     esac
   18546 done
   18547 
   18548 ac_aux_dir='$ac_aux_dir'
   18549 xsi_shell='$xsi_shell'
   18550 lt_shell_append='$lt_shell_append'
   18551 
   18552 # See if we are running on zsh, and set the options which allow our
   18553 # commands through without removal of \ escapes INIT.
   18554 if test -n "\${ZSH_VERSION+set}" ; then
   18555    setopt NO_GLOB_SUBST
   18556 fi
   18557 
   18558 
   18559     PACKAGE='$PACKAGE'
   18560     VERSION='$VERSION'
   18561     TIMESTAMP='$TIMESTAMP'
   18562     RM='$RM'
   18563     ofile='$ofile'
   18564 
   18565 
   18566 
   18567 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   18568     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
   18569     # from automake.
   18570     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   18571     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   18572     LINGUAS="${LINGUAS-%UNSET%}"
   18573 
   18574 
   18575 
   18576 _ACEOF
   18577 
   18578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18579 
   18580 # Handling of arguments.
   18581 for ac_config_target in $ac_config_targets
   18582 do
   18583   case $ac_config_target in
   18584     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18585     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18586     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
   18587     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   18588     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18589     "bfd-in3.h") CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
   18590     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
   18591     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
   18592 
   18593   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18594   esac
   18595 done
   18596 
   18597 
   18598 # If the user did not use the arguments to specify the items to instantiate,
   18599 # then the envvar interface is used.  Set only those that are not.
   18600 # We use the long form for the default assignment because of an extremely
   18601 # bizarre bug on SunOS 4.1.3.
   18602 if $ac_need_defaults; then
   18603   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18604   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18605   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18606 fi
   18607 
   18608 # Have a temporary directory for convenience.  Make it in the build tree
   18609 # simply because there is no reason against having it here, and in addition,
   18610 # creating and moving files from /tmp can sometimes cause problems.
   18611 # Hook for its removal unless debugging.
   18612 # Note that there is a small window in which the directory will not be cleaned:
   18613 # after its creation but before its name has been assigned to `$tmp'.
   18614 $debug ||
   18615 {
   18616   tmp= ac_tmp=
   18617   trap 'exit_status=$?
   18618   : "${ac_tmp:=$tmp}"
   18619   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18620 ' 0
   18621   trap 'as_fn_exit 1' 1 2 13 15
   18622 }
   18623 # Create a (secure) tmp directory for tmp files.
   18624 
   18625 {
   18626   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18627   test -d "$tmp"
   18628 }  ||
   18629 {
   18630   tmp=./conf$$-$RANDOM
   18631   (umask 077 && mkdir "$tmp")
   18632 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18633 ac_tmp=$tmp
   18634 
   18635 # Set up the scripts for CONFIG_FILES section.
   18636 # No need to generate them if there are no CONFIG_FILES.
   18637 # This happens for instance with `./config.status config.h'.
   18638 if test -n "$CONFIG_FILES"; then
   18639 
   18640 
   18641 ac_cr=`echo X | tr X '\015'`
   18642 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18643 # But we know of no other shell where ac_cr would be empty at this
   18644 # point, so we can use a bashism as a fallback.
   18645 if test "x$ac_cr" = x; then
   18646   eval ac_cr=\$\'\\r\'
   18647 fi
   18648 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18649 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18650   ac_cs_awk_cr='\\r'
   18651 else
   18652   ac_cs_awk_cr=$ac_cr
   18653 fi
   18654 
   18655 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18656 _ACEOF
   18657 
   18658 
   18659 {
   18660   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18661   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18662   echo "_ACEOF"
   18663 } >conf$$subs.sh ||
   18664   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18665 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18666 ac_delim='%!_!# '
   18667 for ac_last_try in false false false false false :; do
   18668   . ./conf$$subs.sh ||
   18669     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18670 
   18671   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18672   if test $ac_delim_n = $ac_delim_num; then
   18673     break
   18674   elif $ac_last_try; then
   18675     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18676   else
   18677     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18678   fi
   18679 done
   18680 rm -f conf$$subs.sh
   18681 
   18682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18683 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18684 _ACEOF
   18685 sed -n '
   18686 h
   18687 s/^/S["/; s/!.*/"]=/
   18688 p
   18689 g
   18690 s/^[^!]*!//
   18691 :repl
   18692 t repl
   18693 s/'"$ac_delim"'$//
   18694 t delim
   18695 :nl
   18696 h
   18697 s/\(.\{148\}\)..*/\1/
   18698 t more1
   18699 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18700 p
   18701 n
   18702 b repl
   18703 :more1
   18704 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18705 p
   18706 g
   18707 s/.\{148\}//
   18708 t nl
   18709 :delim
   18710 h
   18711 s/\(.\{148\}\)..*/\1/
   18712 t more2
   18713 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18714 p
   18715 b
   18716 :more2
   18717 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18718 p
   18719 g
   18720 s/.\{148\}//
   18721 t delim
   18722 ' <conf$$subs.awk | sed '
   18723 /^[^""]/{
   18724   N
   18725   s/\n//
   18726 }
   18727 ' >>$CONFIG_STATUS || ac_write_fail=1
   18728 rm -f conf$$subs.awk
   18729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18730 _ACAWK
   18731 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18732   for (key in S) S_is_set[key] = 1
   18733   FS = ""
   18734 
   18735 }
   18736 {
   18737   line = $ 0
   18738   nfields = split(line, field, "@")
   18739   substed = 0
   18740   len = length(field[1])
   18741   for (i = 2; i < nfields; i++) {
   18742     key = field[i]
   18743     keylen = length(key)
   18744     if (S_is_set[key]) {
   18745       value = S[key]
   18746       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18747       len += length(value) + length(field[++i])
   18748       substed = 1
   18749     } else
   18750       len += 1 + keylen
   18751   }
   18752 
   18753   print line
   18754 }
   18755 
   18756 _ACAWK
   18757 _ACEOF
   18758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18759 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18760   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18761 else
   18762   cat
   18763 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18764   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18765 _ACEOF
   18766 
   18767 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18768 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18769 # trailing colons and then remove the whole line if VPATH becomes empty
   18770 # (actually we leave an empty line to preserve line numbers).
   18771 if test "x$srcdir" = x.; then
   18772   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18773 h
   18774 s///
   18775 s/^/:/
   18776 s/[	 ]*$/:/
   18777 s/:\$(srcdir):/:/g
   18778 s/:\${srcdir}:/:/g
   18779 s/:@srcdir@:/:/g
   18780 s/^:*//
   18781 s/:*$//
   18782 x
   18783 s/\(=[	 ]*\).*/\1/
   18784 G
   18785 s/\n//
   18786 s/^[^=]*=[	 ]*$//
   18787 }'
   18788 fi
   18789 
   18790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18791 fi # test -n "$CONFIG_FILES"
   18792 
   18793 # Set up the scripts for CONFIG_HEADERS section.
   18794 # No need to generate them if there are no CONFIG_HEADERS.
   18795 # This happens for instance with `./config.status Makefile'.
   18796 if test -n "$CONFIG_HEADERS"; then
   18797 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   18798 BEGIN {
   18799 _ACEOF
   18800 
   18801 # Transform confdefs.h into an awk script `defines.awk', embedded as
   18802 # here-document in config.status, that substitutes the proper values into
   18803 # config.h.in to produce config.h.
   18804 
   18805 # Create a delimiter string that does not exist in confdefs.h, to ease
   18806 # handling of long lines.
   18807 ac_delim='%!_!# '
   18808 for ac_last_try in false false :; do
   18809   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   18810   if test -z "$ac_tt"; then
   18811     break
   18812   elif $ac_last_try; then
   18813     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   18814   else
   18815     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18816   fi
   18817 done
   18818 
   18819 # For the awk script, D is an array of macro values keyed by name,
   18820 # likewise P contains macro parameters if any.  Preserve backslash
   18821 # newline sequences.
   18822 
   18823 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   18824 sed -n '
   18825 s/.\{148\}/&'"$ac_delim"'/g
   18826 t rset
   18827 :rset
   18828 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   18829 t def
   18830 d
   18831 :def
   18832 s/\\$//
   18833 t bsnl
   18834 s/["\\]/\\&/g
   18835 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18836 D["\1"]=" \3"/p
   18837 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   18838 d
   18839 :bsnl
   18840 s/["\\]/\\&/g
   18841 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18842 D["\1"]=" \3\\\\\\n"\\/p
   18843 t cont
   18844 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   18845 t cont
   18846 d
   18847 :cont
   18848 n
   18849 s/.\{148\}/&'"$ac_delim"'/g
   18850 t clear
   18851 :clear
   18852 s/\\$//
   18853 t bsnlc
   18854 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   18855 d
   18856 :bsnlc
   18857 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   18858 b cont
   18859 ' <confdefs.h | sed '
   18860 s/'"$ac_delim"'/"\\\
   18861 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   18862 
   18863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18864   for (key in D) D_is_set[key] = 1
   18865   FS = ""
   18866 }
   18867 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   18868   line = \$ 0
   18869   split(line, arg, " ")
   18870   if (arg[1] == "#") {
   18871     defundef = arg[2]
   18872     mac1 = arg[3]
   18873   } else {
   18874     defundef = substr(arg[1], 2)
   18875     mac1 = arg[2]
   18876   }
   18877   split(mac1, mac2, "(") #)
   18878   macro = mac2[1]
   18879   prefix = substr(line, 1, index(line, defundef) - 1)
   18880   if (D_is_set[macro]) {
   18881     # Preserve the white space surrounding the "#".
   18882     print prefix "define", macro P[macro] D[macro]
   18883     next
   18884   } else {
   18885     # Replace #undef with comments.  This is necessary, for example,
   18886     # in the case of _POSIX_SOURCE, which is predefined and required
   18887     # on some systems where configure will not decide to define it.
   18888     if (defundef == "undef") {
   18889       print "/*", prefix defundef, macro, "*/"
   18890       next
   18891     }
   18892   }
   18893 }
   18894 { print }
   18895 _ACAWK
   18896 _ACEOF
   18897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18898   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   18899 fi # test -n "$CONFIG_HEADERS"
   18900 
   18901 
   18902 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   18903 shift
   18904 for ac_tag
   18905 do
   18906   case $ac_tag in
   18907   :[FHLC]) ac_mode=$ac_tag; continue;;
   18908   esac
   18909   case $ac_mode$ac_tag in
   18910   :[FHL]*:*);;
   18911   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   18912   :[FH]-) ac_tag=-:-;;
   18913   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   18914   esac
   18915   ac_save_IFS=$IFS
   18916   IFS=:
   18917   set x $ac_tag
   18918   IFS=$ac_save_IFS
   18919   shift
   18920   ac_file=$1
   18921   shift
   18922 
   18923   case $ac_mode in
   18924   :L) ac_source=$1;;
   18925   :[FH])
   18926     ac_file_inputs=
   18927     for ac_f
   18928     do
   18929       case $ac_f in
   18930       -) ac_f="$ac_tmp/stdin";;
   18931       *) # Look for the file first in the build tree, then in the source tree
   18932 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   18933 	 # because $ac_f cannot contain `:'.
   18934 	 test -f "$ac_f" ||
   18935 	   case $ac_f in
   18936 	   [\\/$]*) false;;
   18937 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   18938 	   esac ||
   18939 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   18940       esac
   18941       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   18942       as_fn_append ac_file_inputs " '$ac_f'"
   18943     done
   18944 
   18945     # Let's still pretend it is `configure' which instantiates (i.e., don't
   18946     # use $as_me), people would be surprised to read:
   18947     #    /* config.h.  Generated by config.status.  */
   18948     configure_input='Generated from '`
   18949 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   18950 	`' by configure.'
   18951     if test x"$ac_file" != x-; then
   18952       configure_input="$ac_file.  $configure_input"
   18953       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   18954 $as_echo "$as_me: creating $ac_file" >&6;}
   18955     fi
   18956     # Neutralize special characters interpreted by sed in replacement strings.
   18957     case $configure_input in #(
   18958     *\&* | *\|* | *\\* )
   18959        ac_sed_conf_input=`$as_echo "$configure_input" |
   18960        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   18961     *) ac_sed_conf_input=$configure_input;;
   18962     esac
   18963 
   18964     case $ac_tag in
   18965     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   18966       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   18967     esac
   18968     ;;
   18969   esac
   18970 
   18971   ac_dir=`$as_dirname -- "$ac_file" ||
   18972 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18973 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   18974 	 X"$ac_file" : 'X\(//\)$' \| \
   18975 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   18976 $as_echo X"$ac_file" |
   18977     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18978 	    s//\1/
   18979 	    q
   18980 	  }
   18981 	  /^X\(\/\/\)[^/].*/{
   18982 	    s//\1/
   18983 	    q
   18984 	  }
   18985 	  /^X\(\/\/\)$/{
   18986 	    s//\1/
   18987 	    q
   18988 	  }
   18989 	  /^X\(\/\).*/{
   18990 	    s//\1/
   18991 	    q
   18992 	  }
   18993 	  s/.*/./; q'`
   18994   as_dir="$ac_dir"; as_fn_mkdir_p
   18995   ac_builddir=.
   18996 
   18997 case "$ac_dir" in
   18998 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18999 *)
   19000   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19001   # A ".." for each directory in $ac_dir_suffix.
   19002   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19003   case $ac_top_builddir_sub in
   19004   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19005   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19006   esac ;;
   19007 esac
   19008 ac_abs_top_builddir=$ac_pwd
   19009 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19010 # for backward compatibility:
   19011 ac_top_builddir=$ac_top_build_prefix
   19012 
   19013 case $srcdir in
   19014   .)  # We are building in place.
   19015     ac_srcdir=.
   19016     ac_top_srcdir=$ac_top_builddir_sub
   19017     ac_abs_top_srcdir=$ac_pwd ;;
   19018   [\\/]* | ?:[\\/]* )  # Absolute name.
   19019     ac_srcdir=$srcdir$ac_dir_suffix;
   19020     ac_top_srcdir=$srcdir
   19021     ac_abs_top_srcdir=$srcdir ;;
   19022   *) # Relative name.
   19023     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19024     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19025     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19026 esac
   19027 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19028 
   19029 
   19030   case $ac_mode in
   19031   :F)
   19032   #
   19033   # CONFIG_FILE
   19034   #
   19035 
   19036   case $INSTALL in
   19037   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19038   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19039   esac
   19040   ac_MKDIR_P=$MKDIR_P
   19041   case $MKDIR_P in
   19042   [\\/$]* | ?:[\\/]* ) ;;
   19043   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19044   esac
   19045 _ACEOF
   19046 
   19047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19048 # If the template does not know about datarootdir, expand it.
   19049 # FIXME: This hack should be removed a few years after 2.60.
   19050 ac_datarootdir_hack=; ac_datarootdir_seen=
   19051 ac_sed_dataroot='
   19052 /datarootdir/ {
   19053   p
   19054   q
   19055 }
   19056 /@datadir@/p
   19057 /@docdir@/p
   19058 /@infodir@/p
   19059 /@localedir@/p
   19060 /@mandir@/p'
   19061 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19062 *datarootdir*) ac_datarootdir_seen=yes;;
   19063 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19064   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19065 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19066 _ACEOF
   19067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19068   ac_datarootdir_hack='
   19069   s&@datadir@&$datadir&g
   19070   s&@docdir@&$docdir&g
   19071   s&@infodir@&$infodir&g
   19072   s&@localedir@&$localedir&g
   19073   s&@mandir@&$mandir&g
   19074   s&\\\${datarootdir}&$datarootdir&g' ;;
   19075 esac
   19076 _ACEOF
   19077 
   19078 # Neutralize VPATH when `$srcdir' = `.'.
   19079 # Shell code in configure.ac might set extrasub.
   19080 # FIXME: do we really want to maintain this feature?
   19081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19082 ac_sed_extra="$ac_vpsub
   19083 $extrasub
   19084 _ACEOF
   19085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19086 :t
   19087 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19088 s|@configure_input@|$ac_sed_conf_input|;t t
   19089 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19090 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19091 s&@srcdir@&$ac_srcdir&;t t
   19092 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19093 s&@top_srcdir@&$ac_top_srcdir&;t t
   19094 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19095 s&@builddir@&$ac_builddir&;t t
   19096 s&@abs_builddir@&$ac_abs_builddir&;t t
   19097 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19098 s&@INSTALL@&$ac_INSTALL&;t t
   19099 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19100 $ac_datarootdir_hack
   19101 "
   19102 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19103   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19104 
   19105 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19106   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19107   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19108       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19109   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19110 which seems to be undefined.  Please make sure it is defined" >&5
   19111 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19112 which seems to be undefined.  Please make sure it is defined" >&2;}
   19113 
   19114   rm -f "$ac_tmp/stdin"
   19115   case $ac_file in
   19116   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19117   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19118   esac \
   19119   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19120  ;;
   19121   :H)
   19122   #
   19123   # CONFIG_HEADER
   19124   #
   19125   if test x"$ac_file" != x-; then
   19126     {
   19127       $as_echo "/* $configure_input  */" \
   19128       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19129     } >"$ac_tmp/config.h" \
   19130       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19131     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19132       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19133 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19134     else
   19135       rm -f "$ac_file"
   19136       mv "$ac_tmp/config.h" "$ac_file" \
   19137 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19138     fi
   19139   else
   19140     $as_echo "/* $configure_input  */" \
   19141       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19142       || as_fn_error $? "could not create -" "$LINENO" 5
   19143   fi
   19144 # Compute "$ac_file"'s index in $config_headers.
   19145 _am_arg="$ac_file"
   19146 _am_stamp_count=1
   19147 for _am_header in $config_headers :; do
   19148   case $_am_header in
   19149     $_am_arg | $_am_arg:* )
   19150       break ;;
   19151     * )
   19152       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19153   esac
   19154 done
   19155 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19156 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19157 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19158 	 X"$_am_arg" : 'X\(//\)$' \| \
   19159 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19160 $as_echo X"$_am_arg" |
   19161     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19162 	    s//\1/
   19163 	    q
   19164 	  }
   19165 	  /^X\(\/\/\)[^/].*/{
   19166 	    s//\1/
   19167 	    q
   19168 	  }
   19169 	  /^X\(\/\/\)$/{
   19170 	    s//\1/
   19171 	    q
   19172 	  }
   19173 	  /^X\(\/\).*/{
   19174 	    s//\1/
   19175 	    q
   19176 	  }
   19177 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19178  ;;
   19179 
   19180   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19181 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19182  ;;
   19183   esac
   19184 
   19185 
   19186   case $ac_file$ac_mode in
   19187     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19188   # Older Autoconf quotes --file arguments for eval, but not when files
   19189   # are listed without --file.  Let's play safe and only enable the eval
   19190   # if we detect the quoting.
   19191   case $CONFIG_FILES in
   19192   *\'*) eval set x "$CONFIG_FILES" ;;
   19193   *)   set x $CONFIG_FILES ;;
   19194   esac
   19195   shift
   19196   for mf
   19197   do
   19198     # Strip MF so we end up with the name of the file.
   19199     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19200     # Check whether this is an Automake generated Makefile or not.
   19201     # We used to match only the files named 'Makefile.in', but
   19202     # some people rename them; so instead we look at the file content.
   19203     # Grep'ing the first line is not enough: some people post-process
   19204     # each Makefile.in and add a new line on top of each file to say so.
   19205     # Grep'ing the whole file is not good either: AIX grep has a line
   19206     # limit of 2048, but all sed's we know have understand at least 4000.
   19207     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19208       dirpart=`$as_dirname -- "$mf" ||
   19209 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19210 	 X"$mf" : 'X\(//\)[^/]' \| \
   19211 	 X"$mf" : 'X\(//\)$' \| \
   19212 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19213 $as_echo X"$mf" |
   19214     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19215 	    s//\1/
   19216 	    q
   19217 	  }
   19218 	  /^X\(\/\/\)[^/].*/{
   19219 	    s//\1/
   19220 	    q
   19221 	  }
   19222 	  /^X\(\/\/\)$/{
   19223 	    s//\1/
   19224 	    q
   19225 	  }
   19226 	  /^X\(\/\).*/{
   19227 	    s//\1/
   19228 	    q
   19229 	  }
   19230 	  s/.*/./; q'`
   19231     else
   19232       continue
   19233     fi
   19234     # Extract the definition of DEPDIR, am__include, and am__quote
   19235     # from the Makefile without running 'make'.
   19236     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19237     test -z "$DEPDIR" && continue
   19238     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19239     test -z "$am__include" && continue
   19240     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19241     # Find all dependency output files, they are included files with
   19242     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19243     # simplest approach to changing $(DEPDIR) to its actual value in the
   19244     # expansion.
   19245     for file in `sed -n "
   19246       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19247 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19248       # Make sure the directory exists.
   19249       test -f "$dirpart/$file" && continue
   19250       fdir=`$as_dirname -- "$file" ||
   19251 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19252 	 X"$file" : 'X\(//\)[^/]' \| \
   19253 	 X"$file" : 'X\(//\)$' \| \
   19254 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19255 $as_echo X"$file" |
   19256     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19257 	    s//\1/
   19258 	    q
   19259 	  }
   19260 	  /^X\(\/\/\)[^/].*/{
   19261 	    s//\1/
   19262 	    q
   19263 	  }
   19264 	  /^X\(\/\/\)$/{
   19265 	    s//\1/
   19266 	    q
   19267 	  }
   19268 	  /^X\(\/\).*/{
   19269 	    s//\1/
   19270 	    q
   19271 	  }
   19272 	  s/.*/./; q'`
   19273       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19274       # echo "creating $dirpart/$file"
   19275       echo '# dummy' > "$dirpart/$file"
   19276     done
   19277   done
   19278 }
   19279  ;;
   19280     "libtool":C)
   19281 
   19282     # See if we are running on zsh, and set the options which allow our
   19283     # commands through without removal of \ escapes.
   19284     if test -n "${ZSH_VERSION+set}" ; then
   19285       setopt NO_GLOB_SUBST
   19286     fi
   19287 
   19288     cfgfile="${ofile}T"
   19289     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19290     $RM "$cfgfile"
   19291 
   19292     cat <<_LT_EOF >> "$cfgfile"
   19293 #! $SHELL
   19294 
   19295 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19296 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19297 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19298 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19299 #
   19300 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19301 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   19302 #   Written by Gordon Matzigkeit, 1996
   19303 #
   19304 #   This file is part of GNU Libtool.
   19305 #
   19306 # GNU Libtool is free software; you can redistribute it and/or
   19307 # modify it under the terms of the GNU General Public License as
   19308 # published by the Free Software Foundation; either version 2 of
   19309 # the License, or (at your option) any later version.
   19310 #
   19311 # As a special exception to the GNU General Public License,
   19312 # if you distribute this file as part of a program or library that
   19313 # is built using GNU Libtool, you may include this file under the
   19314 # same distribution terms that you use for the rest of that program.
   19315 #
   19316 # GNU Libtool is distributed in the hope that it will be useful,
   19317 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19318 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19319 # GNU General Public License for more details.
   19320 #
   19321 # You should have received a copy of the GNU General Public License
   19322 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19323 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19324 # obtained by writing to the Free Software Foundation, Inc.,
   19325 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19326 
   19327 
   19328 # The names of the tagged configurations supported by this script.
   19329 available_tags=""
   19330 
   19331 # ### BEGIN LIBTOOL CONFIG
   19332 
   19333 # Whether or not to build shared libraries.
   19334 build_libtool_libs=$enable_shared
   19335 
   19336 # Which release of libtool.m4 was used?
   19337 macro_version=$macro_version
   19338 macro_revision=$macro_revision
   19339 
   19340 # Whether or not to build static libraries.
   19341 build_old_libs=$enable_static
   19342 
   19343 # What type of objects to build.
   19344 pic_mode=$pic_mode
   19345 
   19346 # Whether or not to optimize for fast installation.
   19347 fast_install=$enable_fast_install
   19348 
   19349 # Shell to use when invoking shell scripts.
   19350 SHELL=$lt_SHELL
   19351 
   19352 # An echo program that protects backslashes.
   19353 ECHO=$lt_ECHO
   19354 
   19355 # The host system.
   19356 host_alias=$host_alias
   19357 host=$host
   19358 host_os=$host_os
   19359 
   19360 # The build system.
   19361 build_alias=$build_alias
   19362 build=$build
   19363 build_os=$build_os
   19364 
   19365 # A sed program that does not truncate output.
   19366 SED=$lt_SED
   19367 
   19368 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19369 Xsed="\$SED -e 1s/^X//"
   19370 
   19371 # A grep program that handles long lines.
   19372 GREP=$lt_GREP
   19373 
   19374 # An ERE matcher.
   19375 EGREP=$lt_EGREP
   19376 
   19377 # A literal string matcher.
   19378 FGREP=$lt_FGREP
   19379 
   19380 # A BSD- or MS-compatible name lister.
   19381 NM=$lt_NM
   19382 
   19383 # Whether we need soft or hard links.
   19384 LN_S=$lt_LN_S
   19385 
   19386 # What is the maximum length of a command?
   19387 max_cmd_len=$max_cmd_len
   19388 
   19389 # Object file suffix (normally "o").
   19390 objext=$ac_objext
   19391 
   19392 # Executable file suffix (normally "").
   19393 exeext=$exeext
   19394 
   19395 # whether the shell understands "unset".
   19396 lt_unset=$lt_unset
   19397 
   19398 # turn spaces into newlines.
   19399 SP2NL=$lt_lt_SP2NL
   19400 
   19401 # turn newlines into spaces.
   19402 NL2SP=$lt_lt_NL2SP
   19403 
   19404 # An object symbol dumper.
   19405 OBJDUMP=$lt_OBJDUMP
   19406 
   19407 # Method to check whether dependent libraries are shared objects.
   19408 deplibs_check_method=$lt_deplibs_check_method
   19409 
   19410 # Command to use when deplibs_check_method == "file_magic".
   19411 file_magic_cmd=$lt_file_magic_cmd
   19412 
   19413 # The archiver.
   19414 AR=$lt_AR
   19415 AR_FLAGS=$lt_AR_FLAGS
   19416 
   19417 # A symbol stripping program.
   19418 STRIP=$lt_STRIP
   19419 
   19420 # Commands used to install an old-style archive.
   19421 RANLIB=$lt_RANLIB
   19422 old_postinstall_cmds=$lt_old_postinstall_cmds
   19423 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19424 
   19425 # Whether to use a lock for old archive extraction.
   19426 lock_old_archive_extraction=$lock_old_archive_extraction
   19427 
   19428 # A C compiler.
   19429 LTCC=$lt_CC
   19430 
   19431 # LTCC compiler flags.
   19432 LTCFLAGS=$lt_CFLAGS
   19433 
   19434 # Take the output of nm and produce a listing of raw symbols and C names.
   19435 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19436 
   19437 # Transform the output of nm in a proper C declaration.
   19438 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19439 
   19440 # Transform the output of nm in a C name address pair.
   19441 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19442 
   19443 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19444 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19445 
   19446 # The name of the directory that contains temporary libtool files.
   19447 objdir=$objdir
   19448 
   19449 # Used to examine libraries when file_magic_cmd begins with "file".
   19450 MAGIC_CMD=$MAGIC_CMD
   19451 
   19452 # Must we lock files when doing compilation?
   19453 need_locks=$lt_need_locks
   19454 
   19455 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19456 DSYMUTIL=$lt_DSYMUTIL
   19457 
   19458 # Tool to change global to local symbols on Mac OS X.
   19459 NMEDIT=$lt_NMEDIT
   19460 
   19461 # Tool to manipulate fat objects and archives on Mac OS X.
   19462 LIPO=$lt_LIPO
   19463 
   19464 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19465 OTOOL=$lt_OTOOL
   19466 
   19467 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19468 OTOOL64=$lt_OTOOL64
   19469 
   19470 # Old archive suffix (normally "a").
   19471 libext=$libext
   19472 
   19473 # Shared library suffix (normally ".so").
   19474 shrext_cmds=$lt_shrext_cmds
   19475 
   19476 # The commands to extract the exported symbol list from a shared archive.
   19477 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19478 
   19479 # Variables whose values should be saved in libtool wrapper scripts and
   19480 # restored at link time.
   19481 variables_saved_for_relink=$lt_variables_saved_for_relink
   19482 
   19483 # Do we need the "lib" prefix for modules?
   19484 need_lib_prefix=$need_lib_prefix
   19485 
   19486 # Do we need a version for libraries?
   19487 need_version=$need_version
   19488 
   19489 # Library versioning type.
   19490 version_type=$version_type
   19491 
   19492 # Shared library runtime path variable.
   19493 runpath_var=$runpath_var
   19494 
   19495 # Shared library path variable.
   19496 shlibpath_var=$shlibpath_var
   19497 
   19498 # Is shlibpath searched before the hard-coded library search path?
   19499 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19500 
   19501 # Format of library name prefix.
   19502 libname_spec=$lt_libname_spec
   19503 
   19504 # List of archive names.  First name is the real one, the rest are links.
   19505 # The last name is the one that the linker finds with -lNAME
   19506 library_names_spec=$lt_library_names_spec
   19507 
   19508 # The coded name of the library, if different from the real name.
   19509 soname_spec=$lt_soname_spec
   19510 
   19511 # Permission mode override for installation of shared libraries.
   19512 install_override_mode=$lt_install_override_mode
   19513 
   19514 # Command to use after installation of a shared archive.
   19515 postinstall_cmds=$lt_postinstall_cmds
   19516 
   19517 # Command to use after uninstallation of a shared archive.
   19518 postuninstall_cmds=$lt_postuninstall_cmds
   19519 
   19520 # Commands used to finish a libtool library installation in a directory.
   19521 finish_cmds=$lt_finish_cmds
   19522 
   19523 # As "finish_cmds", except a single script fragment to be evaled but
   19524 # not shown.
   19525 finish_eval=$lt_finish_eval
   19526 
   19527 # Whether we should hardcode library paths into libraries.
   19528 hardcode_into_libs=$hardcode_into_libs
   19529 
   19530 # Compile-time system search path for libraries.
   19531 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19532 
   19533 # Run-time system search path for libraries.
   19534 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19535 
   19536 # Whether dlopen is supported.
   19537 dlopen_support=$enable_dlopen
   19538 
   19539 # Whether dlopen of programs is supported.
   19540 dlopen_self=$enable_dlopen_self
   19541 
   19542 # Whether dlopen of statically linked programs is supported.
   19543 dlopen_self_static=$enable_dlopen_self_static
   19544 
   19545 # Commands to strip libraries.
   19546 old_striplib=$lt_old_striplib
   19547 striplib=$lt_striplib
   19548 
   19549 
   19550 # The linker used to build libraries.
   19551 LD=$lt_LD
   19552 
   19553 # How to create reloadable object files.
   19554 reload_flag=$lt_reload_flag
   19555 reload_cmds=$lt_reload_cmds
   19556 
   19557 # Commands used to build an old-style archive.
   19558 old_archive_cmds=$lt_old_archive_cmds
   19559 
   19560 # A language specific compiler.
   19561 CC=$lt_compiler
   19562 
   19563 # Is the compiler the GNU compiler?
   19564 with_gcc=$GCC
   19565 
   19566 # Compiler flag to turn off builtin functions.
   19567 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19568 
   19569 # How to pass a linker flag through the compiler.
   19570 wl=$lt_lt_prog_compiler_wl
   19571 
   19572 # Additional compiler flags for building library objects.
   19573 pic_flag=$lt_lt_prog_compiler_pic
   19574 
   19575 # Compiler flag to prevent dynamic linking.
   19576 link_static_flag=$lt_lt_prog_compiler_static
   19577 
   19578 # Does compiler simultaneously support -c and -o options?
   19579 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19580 
   19581 # Whether or not to add -lc for building shared libraries.
   19582 build_libtool_need_lc=$archive_cmds_need_lc
   19583 
   19584 # Whether or not to disallow shared libs when runtime libs are static.
   19585 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19586 
   19587 # Compiler flag to allow reflexive dlopens.
   19588 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19589 
   19590 # Compiler flag to generate shared objects directly from archives.
   19591 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19592 
   19593 # Whether the compiler copes with passing no objects directly.
   19594 compiler_needs_object=$lt_compiler_needs_object
   19595 
   19596 # Create an old-style archive from a shared archive.
   19597 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19598 
   19599 # Create a temporary old-style archive to link instead of a shared archive.
   19600 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19601 
   19602 # Commands used to build a shared archive.
   19603 archive_cmds=$lt_archive_cmds
   19604 archive_expsym_cmds=$lt_archive_expsym_cmds
   19605 
   19606 # Commands used to build a loadable module if different from building
   19607 # a shared archive.
   19608 module_cmds=$lt_module_cmds
   19609 module_expsym_cmds=$lt_module_expsym_cmds
   19610 
   19611 # Whether we are building with GNU ld or not.
   19612 with_gnu_ld=$lt_with_gnu_ld
   19613 
   19614 # Flag that allows shared libraries with undefined symbols to be built.
   19615 allow_undefined_flag=$lt_allow_undefined_flag
   19616 
   19617 # Flag that enforces no undefined symbols.
   19618 no_undefined_flag=$lt_no_undefined_flag
   19619 
   19620 # Flag to hardcode \$libdir into a binary during linking.
   19621 # This must work even if \$libdir does not exist
   19622 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19623 
   19624 # If ld is used when linking, flag to hardcode \$libdir into a binary
   19625 # during linking.  This must work even if \$libdir does not exist.
   19626 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   19627 
   19628 # Whether we need a single "-rpath" flag with a separated argument.
   19629 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19630 
   19631 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19632 # DIR into the resulting binary.
   19633 hardcode_direct=$hardcode_direct
   19634 
   19635 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19636 # DIR into the resulting binary and the resulting library dependency is
   19637 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19638 # library is relocated.
   19639 hardcode_direct_absolute=$hardcode_direct_absolute
   19640 
   19641 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19642 # into the resulting binary.
   19643 hardcode_minus_L=$hardcode_minus_L
   19644 
   19645 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19646 # into the resulting binary.
   19647 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19648 
   19649 # Set to "yes" if building a shared library automatically hardcodes DIR
   19650 # into the library and all subsequent libraries and executables linked
   19651 # against it.
   19652 hardcode_automatic=$hardcode_automatic
   19653 
   19654 # Set to yes if linker adds runtime paths of dependent libraries
   19655 # to runtime path list.
   19656 inherit_rpath=$inherit_rpath
   19657 
   19658 # Whether libtool must link a program against all its dependency libraries.
   19659 link_all_deplibs=$link_all_deplibs
   19660 
   19661 # Fix the shell variable \$srcfile for the compiler.
   19662 fix_srcfile_path=$lt_fix_srcfile_path
   19663 
   19664 # Set to "yes" if exported symbols are required.
   19665 always_export_symbols=$always_export_symbols
   19666 
   19667 # The commands to list exported symbols.
   19668 export_symbols_cmds=$lt_export_symbols_cmds
   19669 
   19670 # Symbols that should not be listed in the preloaded symbols.
   19671 exclude_expsyms=$lt_exclude_expsyms
   19672 
   19673 # Symbols that must always be exported.
   19674 include_expsyms=$lt_include_expsyms
   19675 
   19676 # Commands necessary for linking programs (against libraries) with templates.
   19677 prelink_cmds=$lt_prelink_cmds
   19678 
   19679 # Specify filename containing input files.
   19680 file_list_spec=$lt_file_list_spec
   19681 
   19682 # How to hardcode a shared library path into an executable.
   19683 hardcode_action=$hardcode_action
   19684 
   19685 # ### END LIBTOOL CONFIG
   19686 
   19687 _LT_EOF
   19688 
   19689   case $host_os in
   19690   aix3*)
   19691     cat <<\_LT_EOF >> "$cfgfile"
   19692 # AIX sometimes has problems with the GCC collect2 program.  For some
   19693 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19694 # vanish in a puff of smoke.
   19695 if test "X${COLLECT_NAMES+set}" != Xset; then
   19696   COLLECT_NAMES=
   19697   export COLLECT_NAMES
   19698 fi
   19699 _LT_EOF
   19700     ;;
   19701   esac
   19702 
   19703 
   19704 ltmain="$ac_aux_dir/ltmain.sh"
   19705 
   19706 
   19707   # We use sed instead of cat because bash on DJGPP gets confused if
   19708   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19709   # text mode, it properly converts lines to CR/LF.  This bash problem
   19710   # is reportedly fixed, but why not run on old versions too?
   19711   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   19712     || (rm -f "$cfgfile"; exit 1)
   19713 
   19714   case $xsi_shell in
   19715   yes)
   19716     cat << \_LT_EOF >> "$cfgfile"
   19717 
   19718 # func_dirname file append nondir_replacement
   19719 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19720 # otherwise set result to NONDIR_REPLACEMENT.
   19721 func_dirname ()
   19722 {
   19723   case ${1} in
   19724     */*) func_dirname_result="${1%/*}${2}" ;;
   19725     *  ) func_dirname_result="${3}" ;;
   19726   esac
   19727 }
   19728 
   19729 # func_basename file
   19730 func_basename ()
   19731 {
   19732   func_basename_result="${1##*/}"
   19733 }
   19734 
   19735 # func_dirname_and_basename file append nondir_replacement
   19736 # perform func_basename and func_dirname in a single function
   19737 # call:
   19738 #   dirname:  Compute the dirname of FILE.  If nonempty,
   19739 #             add APPEND to the result, otherwise set result
   19740 #             to NONDIR_REPLACEMENT.
   19741 #             value returned in "$func_dirname_result"
   19742 #   basename: Compute filename of FILE.
   19743 #             value retuned in "$func_basename_result"
   19744 # Implementation must be kept synchronized with func_dirname
   19745 # and func_basename. For efficiency, we do not delegate to
   19746 # those functions but instead duplicate the functionality here.
   19747 func_dirname_and_basename ()
   19748 {
   19749   case ${1} in
   19750     */*) func_dirname_result="${1%/*}${2}" ;;
   19751     *  ) func_dirname_result="${3}" ;;
   19752   esac
   19753   func_basename_result="${1##*/}"
   19754 }
   19755 
   19756 # func_stripname prefix suffix name
   19757 # strip PREFIX and SUFFIX off of NAME.
   19758 # PREFIX and SUFFIX must not contain globbing or regex special
   19759 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19760 # dot (in which case that matches only a dot).
   19761 func_stripname ()
   19762 {
   19763   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   19764   # positional parameters, so assign one to ordinary parameter first.
   19765   func_stripname_result=${3}
   19766   func_stripname_result=${func_stripname_result#"${1}"}
   19767   func_stripname_result=${func_stripname_result%"${2}"}
   19768 }
   19769 
   19770 # func_opt_split
   19771 func_opt_split ()
   19772 {
   19773   func_opt_split_opt=${1%%=*}
   19774   func_opt_split_arg=${1#*=}
   19775 }
   19776 
   19777 # func_lo2o object
   19778 func_lo2o ()
   19779 {
   19780   case ${1} in
   19781     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   19782     *)    func_lo2o_result=${1} ;;
   19783   esac
   19784 }
   19785 
   19786 # func_xform libobj-or-source
   19787 func_xform ()
   19788 {
   19789   func_xform_result=${1%.*}.lo
   19790 }
   19791 
   19792 # func_arith arithmetic-term...
   19793 func_arith ()
   19794 {
   19795   func_arith_result=$(( $* ))
   19796 }
   19797 
   19798 # func_len string
   19799 # STRING may not start with a hyphen.
   19800 func_len ()
   19801 {
   19802   func_len_result=${#1}
   19803 }
   19804 
   19805 _LT_EOF
   19806     ;;
   19807   *) # Bourne compatible functions.
   19808     cat << \_LT_EOF >> "$cfgfile"
   19809 
   19810 # func_dirname file append nondir_replacement
   19811 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19812 # otherwise set result to NONDIR_REPLACEMENT.
   19813 func_dirname ()
   19814 {
   19815   # Extract subdirectory from the argument.
   19816   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   19817   if test "X$func_dirname_result" = "X${1}"; then
   19818     func_dirname_result="${3}"
   19819   else
   19820     func_dirname_result="$func_dirname_result${2}"
   19821   fi
   19822 }
   19823 
   19824 # func_basename file
   19825 func_basename ()
   19826 {
   19827   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   19828 }
   19829 
   19830 
   19831 # func_stripname prefix suffix name
   19832 # strip PREFIX and SUFFIX off of NAME.
   19833 # PREFIX and SUFFIX must not contain globbing or regex special
   19834 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19835 # dot (in which case that matches only a dot).
   19836 # func_strip_suffix prefix name
   19837 func_stripname ()
   19838 {
   19839   case ${2} in
   19840     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   19841     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   19842   esac
   19843 }
   19844 
   19845 # sed scripts:
   19846 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   19847 my_sed_long_arg='1s/^-[^=]*=//'
   19848 
   19849 # func_opt_split
   19850 func_opt_split ()
   19851 {
   19852   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   19853   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   19854 }
   19855 
   19856 # func_lo2o object
   19857 func_lo2o ()
   19858 {
   19859   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   19860 }
   19861 
   19862 # func_xform libobj-or-source
   19863 func_xform ()
   19864 {
   19865   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   19866 }
   19867 
   19868 # func_arith arithmetic-term...
   19869 func_arith ()
   19870 {
   19871   func_arith_result=`expr "$@"`
   19872 }
   19873 
   19874 # func_len string
   19875 # STRING may not start with a hyphen.
   19876 func_len ()
   19877 {
   19878   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   19879 }
   19880 
   19881 _LT_EOF
   19882 esac
   19883 
   19884 case $lt_shell_append in
   19885   yes)
   19886     cat << \_LT_EOF >> "$cfgfile"
   19887 
   19888 # func_append var value
   19889 # Append VALUE to the end of shell variable VAR.
   19890 func_append ()
   19891 {
   19892   eval "$1+=\$2"
   19893 }
   19894 _LT_EOF
   19895     ;;
   19896   *)
   19897     cat << \_LT_EOF >> "$cfgfile"
   19898 
   19899 # func_append var value
   19900 # Append VALUE to the end of shell variable VAR.
   19901 func_append ()
   19902 {
   19903   eval "$1=\$$1\$2"
   19904 }
   19905 
   19906 _LT_EOF
   19907     ;;
   19908   esac
   19909 
   19910 
   19911   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   19912     || (rm -f "$cfgfile"; exit 1)
   19913 
   19914   mv -f "$cfgfile" "$ofile" ||
   19915     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   19916   chmod +x "$ofile"
   19917 
   19918  ;;
   19919     "default-1":C)
   19920     for ac_file in $CONFIG_FILES; do
   19921       # Support "outfile[:infile[:infile...]]"
   19922       case "$ac_file" in
   19923         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   19924       esac
   19925       # PO directories have a Makefile.in generated from Makefile.in.in.
   19926       case "$ac_file" in */Makefile.in)
   19927         # Adjust a relative srcdir.
   19928         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   19929         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
   19930         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   19931         # In autoconf-2.13 it is called $ac_given_srcdir.
   19932         # In autoconf-2.50 it is called $srcdir.
   19933         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   19934         case "$ac_given_srcdir" in
   19935           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   19936           /*) top_srcdir="$ac_given_srcdir" ;;
   19937           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   19938         esac
   19939         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   19940           rm -f "$ac_dir/POTFILES"
   19941           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   19942           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   19943           POMAKEFILEDEPS="POTFILES.in"
   19944           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
   19945           # on $ac_dir but don't depend on user-specified configuration
   19946           # parameters.
   19947           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   19948             # The LINGUAS file contains the set of available languages.
   19949             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   19950               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
   19951             fi
   19952             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   19953             # Hide the ALL_LINGUAS assigment from automake.
   19954             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   19955             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   19956           else
   19957             # The set of available languages was given in configure.ac.
   19958             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   19959           fi
   19960           case "$ac_given_srcdir" in
   19961             .) srcdirpre= ;;
   19962             *) srcdirpre='$(srcdir)/' ;;
   19963           esac
   19964           POFILES=
   19965           GMOFILES=
   19966           UPDATEPOFILES=
   19967           DUMMYPOFILES=
   19968           for lang in $ALL_LINGUAS; do
   19969             POFILES="$POFILES $srcdirpre$lang.po"
   19970             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   19971             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   19972             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   19973           done
   19974           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   19975           # environment variable.
   19976           INST_LINGUAS=
   19977           if test -n "$ALL_LINGUAS"; then
   19978             for presentlang in $ALL_LINGUAS; do
   19979               useit=no
   19980               if test "%UNSET%" != "$LINGUAS"; then
   19981                 desiredlanguages="$LINGUAS"
   19982               else
   19983                 desiredlanguages="$ALL_LINGUAS"
   19984               fi
   19985               for desiredlang in $desiredlanguages; do
   19986                 # Use the presentlang catalog if desiredlang is
   19987                 #   a. equal to presentlang, or
   19988                 #   b. a variant of presentlang (because in this case,
   19989                 #      presentlang can be used as a fallback for messages
   19990                 #      which are not translated in the desiredlang catalog).
   19991                 case "$desiredlang" in
   19992                   "$presentlang"*) useit=yes;;
   19993                 esac
   19994               done
   19995               if test $useit = yes; then
   19996                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   19997               fi
   19998             done
   19999           fi
   20000           CATALOGS=
   20001           if test -n "$INST_LINGUAS"; then
   20002             for lang in $INST_LINGUAS; do
   20003               CATALOGS="$CATALOGS $lang.gmo"
   20004             done
   20005           fi
   20006           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   20007           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"
   20008           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   20009             if test -f "$f"; then
   20010               case "$f" in
   20011                 *.orig | *.bak | *~) ;;
   20012                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   20013               esac
   20014             fi
   20015           done
   20016         fi
   20017         ;;
   20018       esac
   20019     done ;;
   20020     "default":C)
   20021 case "$srcdir" in
   20022   .) srcdirpre= ;;
   20023   *) srcdirpre='$(srcdir)/' ;;
   20024 esac
   20025 POFILES=
   20026 GMOFILES=
   20027 for lang in dummy $OBSOLETE_ALL_LINGUAS; do
   20028   if test $lang != dummy; then
   20029     POFILES="$POFILES $srcdirpre$lang.po"
   20030     GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   20031   fi
   20032 done
   20033 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
   20034     -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
   20035     -e "s,@POFILES@,$POFILES," \
   20036     -e "s,@GMOFILES@,$GMOFILES," \
   20037     po/Makefile.in > po/Makefile ;;
   20038 
   20039   esac
   20040 done # for ac_tag
   20041 
   20042 
   20043 as_fn_exit 0
   20044 _ACEOF
   20045 ac_clean_files=$ac_clean_files_save
   20046 
   20047 test $ac_write_fail = 0 ||
   20048   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20049 
   20050 
   20051 # configure is writing to config.log, and then calls config.status.
   20052 # config.status does its own redirection, appending to config.log.
   20053 # Unfortunately, on DOS this fails, as config.log is still kept open
   20054 # by configure, so config.status won't be able to write to it; its
   20055 # output is simply discarded.  So we exec the FD to /dev/null,
   20056 # effectively closing config.log, so it can be properly (re)opened and
   20057 # appended to by config.status.  When coming back to configure, we
   20058 # need to make the FD available again.
   20059 if test "$no_create" != yes; then
   20060   ac_cs_success=:
   20061   ac_config_status_args=
   20062   test "$silent" = yes &&
   20063     ac_config_status_args="$ac_config_status_args --quiet"
   20064   exec 5>/dev/null
   20065   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20066   exec 5>>config.log
   20067   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20068   # would make configure fail if this is the last instruction.
   20069   $ac_cs_success || as_fn_exit 1
   20070 fi
   20071 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20072   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20073 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20074 fi
   20075 
   20076 
   20077 
   20078 touch config.status.tmp
   20079 if touch --reference=config.status config.status.tmp > /dev/null 2>&1; then
   20080   sed '/as_fn_exit 0/i \
   20081 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
   20082 touch --reference=Makefile Makefile.tmp \
   20083 mv Makefile.tmp Makefile \
   20084 ' config.status > config.status.tmp
   20085   touch --reference=config.status config.status.tmp
   20086   mv config.status.tmp config.status
   20087   chmod +x config.status
   20088   sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile > Makefile.tmp
   20089   touch --reference=Makefile Makefile.tmp
   20090   mv Makefile.tmp Makefile
   20091 else
   20092   rm -f config.status.tmp
   20093 fi
   20094