Home | History | Annotate | Line # | Download | only in sim
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for sim 0.
      4 #
      5 # Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='sim'
    593 PACKAGE_TARNAME='sim'
    594 PACKAGE_VERSION='0'
    595 PACKAGE_STRING='sim 0'
    596 PACKAGE_BUGREPORT='https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim'
    597 PACKAGE_URL='https://sourceware.org/gdb/wiki/Sim/'
    598 
    599 # Factoring default headers for most tests.
    600 ac_includes_default="\
    601 #include <stdio.h>
    602 #ifdef HAVE_SYS_TYPES_H
    603 # include <sys/types.h>
    604 #endif
    605 #ifdef HAVE_SYS_STAT_H
    606 # include <sys/stat.h>
    607 #endif
    608 #ifdef STDC_HEADERS
    609 # include <stdlib.h>
    610 # include <stddef.h>
    611 #else
    612 # ifdef HAVE_STDLIB_H
    613 #  include <stdlib.h>
    614 # endif
    615 #endif
    616 #ifdef HAVE_STRING_H
    617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    618 #  include <memory.h>
    619 # endif
    620 # include <string.h>
    621 #endif
    622 #ifdef HAVE_STRINGS_H
    623 # include <strings.h>
    624 #endif
    625 #ifdef HAVE_INTTYPES_H
    626 # include <inttypes.h>
    627 #endif
    628 #ifdef HAVE_STDINT_H
    629 # include <stdint.h>
    630 #endif
    631 #ifdef HAVE_UNISTD_H
    632 # include <unistd.h>
    633 #endif"
    634 
    635 ac_header_list=
    636 ac_func_list=
    637 ac_subst_vars='am__EXEEXT_FALSE
    638 am__EXEEXT_TRUE
    639 LTLIBOBJS
    640 LIBOBJS
    641 SIM_RX_CYCLE_ACCURATE_FLAGS
    642 SIM_RISCV_BITSIZE
    643 sim_ppc_model_issue
    644 sim_ppc_default_model
    645 sim_ppc_model
    646 sim_ppc_monitor
    647 sim_ppc_float
    648 sim_ppc_timebase
    649 sim_ppc_bitsize
    650 sim_ppc_igen_smp
    651 sim_ppc_smp
    652 sim_ppc_xor_endian
    653 sim_ppc_hw_obj
    654 sim_ppc_hw_src
    655 sim_ppc_icache
    656 sim_ppc_filter
    657 sim_ppc_jump
    658 sim_ppc_decode_mechanism
    659 sim_ppc_dup
    660 sim_ppc_switch
    661 sim_ppc_opcode
    662 sim_ppc_line_nr
    663 SIM_MIPS_GEN_MODE_MULTI_FALSE
    664 SIM_MIPS_GEN_MODE_MULTI_TRUE
    665 SIM_MIPS_GEN_MODE_M16_FALSE
    666 SIM_MIPS_GEN_MODE_M16_TRUE
    667 SIM_MIPS_GEN_MODE_SINGLE_FALSE
    668 SIM_MIPS_GEN_MODE_SINGLE_TRUE
    669 SIM_MIPS_MULTI_OBJ
    670 SIM_MIPS_MULTI_SRC
    671 SIM_MIPS_MULTI_IGEN_CONFIGS
    672 SIM_MIPS_IGEN_ITABLE_FLAGS
    673 SIM_MIPS_GEN
    674 SIM_MIPS_M16_FLAGS
    675 SIM_MIPS_SINGLE_FLAGS
    676 SIM_MIPS_FPU_BITSIZE
    677 SIM_MIPS_BITSIZE
    678 SIM_MIPS_SUBTARGET
    679 SIM_FRV_TRAPDUMP_FLAGS
    680 SIM_CFLAG_WNO_UNUSED_BUT_SET_VARIABLE
    681 SIM_CFLAG_WNO_SHADOW_LOCAL
    682 IGEN_FLAGS_SMP
    683 SIM_INLINE
    684 SIM_HW_SOCKSER
    685 SIM_HW_CFLAGS
    686 SIM_ENABLE_HW_FALSE
    687 SIM_ENABLE_HW_TRUE
    688 cgen
    689 cgendir
    690 CGEN_MAINT
    691 ENABLE_SIM_FALSE
    692 ENABLE_SIM_TRUE
    693 SIM_ENABLE_ARCH_examples_FALSE
    694 SIM_ENABLE_ARCH_examples_TRUE
    695 CC_FOR_TARGET_EXAMPLE_SYNACOR
    696 LD_FOR_TARGET_EXAMPLE_SYNACOR
    697 AS_FOR_TARGET_EXAMPLE_SYNACOR
    698 SIM_ENABLE_ARCH_v850_FALSE
    699 SIM_ENABLE_ARCH_v850_TRUE
    700 CC_FOR_TARGET_V850
    701 LD_FOR_TARGET_V850
    702 AS_FOR_TARGET_V850
    703 SIM_ENABLE_ARCH_erc32_FALSE
    704 SIM_ENABLE_ARCH_erc32_TRUE
    705 CC_FOR_TARGET_ERC32
    706 LD_FOR_TARGET_ERC32
    707 AS_FOR_TARGET_ERC32
    708 SIM_ENABLE_ARCH_sh_FALSE
    709 SIM_ENABLE_ARCH_sh_TRUE
    710 CC_FOR_TARGET_SH
    711 LD_FOR_TARGET_SH
    712 AS_FOR_TARGET_SH
    713 SIM_ENABLE_ARCH_rx_FALSE
    714 SIM_ENABLE_ARCH_rx_TRUE
    715 CC_FOR_TARGET_RX
    716 LD_FOR_TARGET_RX
    717 AS_FOR_TARGET_RX
    718 SIM_ENABLE_ARCH_rl78_FALSE
    719 SIM_ENABLE_ARCH_rl78_TRUE
    720 CC_FOR_TARGET_RL78
    721 LD_FOR_TARGET_RL78
    722 AS_FOR_TARGET_RL78
    723 SIM_ENABLE_ARCH_riscv_FALSE
    724 SIM_ENABLE_ARCH_riscv_TRUE
    725 CC_FOR_TARGET_RISCV
    726 LD_FOR_TARGET_RISCV
    727 AS_FOR_TARGET_RISCV
    728 SIM_ENABLE_ARCH_pru_FALSE
    729 SIM_ENABLE_ARCH_pru_TRUE
    730 CC_FOR_TARGET_PRU
    731 LD_FOR_TARGET_PRU
    732 AS_FOR_TARGET_PRU
    733 SIM_ENABLE_ARCH_ppc_FALSE
    734 SIM_ENABLE_ARCH_ppc_TRUE
    735 CC_FOR_TARGET_PPC
    736 LD_FOR_TARGET_PPC
    737 AS_FOR_TARGET_PPC
    738 SIM_ENABLE_ARCH_or1k_FALSE
    739 SIM_ENABLE_ARCH_or1k_TRUE
    740 CC_FOR_TARGET_OR1K
    741 LD_FOR_TARGET_OR1K
    742 AS_FOR_TARGET_OR1K
    743 SIM_ENABLE_ARCH_msp430_FALSE
    744 SIM_ENABLE_ARCH_msp430_TRUE
    745 CC_FOR_TARGET_MSP430
    746 LD_FOR_TARGET_MSP430
    747 AS_FOR_TARGET_MSP430
    748 SIM_ENABLE_ARCH_moxie_FALSE
    749 SIM_ENABLE_ARCH_moxie_TRUE
    750 CC_FOR_TARGET_MOXIE
    751 LD_FOR_TARGET_MOXIE
    752 AS_FOR_TARGET_MOXIE
    753 SIM_ENABLE_ARCH_mn10300_FALSE
    754 SIM_ENABLE_ARCH_mn10300_TRUE
    755 CC_FOR_TARGET_MN10300
    756 LD_FOR_TARGET_MN10300
    757 AS_FOR_TARGET_MN10300
    758 SIM_ENABLE_ARCH_mips_FALSE
    759 SIM_ENABLE_ARCH_mips_TRUE
    760 CC_FOR_TARGET_MIPS
    761 LD_FOR_TARGET_MIPS
    762 AS_FOR_TARGET_MIPS
    763 SIM_ENABLE_ARCH_microblaze_FALSE
    764 SIM_ENABLE_ARCH_microblaze_TRUE
    765 CC_FOR_TARGET_MICROBLAZE
    766 LD_FOR_TARGET_MICROBLAZE
    767 AS_FOR_TARGET_MICROBLAZE
    768 SIM_ENABLE_ARCH_mcore_FALSE
    769 SIM_ENABLE_ARCH_mcore_TRUE
    770 CC_FOR_TARGET_MCORE
    771 LD_FOR_TARGET_MCORE
    772 AS_FOR_TARGET_MCORE
    773 SIM_ENABLE_ARCH_m68hc11_FALSE
    774 SIM_ENABLE_ARCH_m68hc11_TRUE
    775 CC_FOR_TARGET_M68HC11
    776 LD_FOR_TARGET_M68HC11
    777 AS_FOR_TARGET_M68HC11
    778 SIM_ENABLE_ARCH_m32r_FALSE
    779 SIM_ENABLE_ARCH_m32r_TRUE
    780 CC_FOR_TARGET_M32R
    781 LD_FOR_TARGET_M32R
    782 AS_FOR_TARGET_M32R
    783 SIM_ENABLE_ARCH_m32c_FALSE
    784 SIM_ENABLE_ARCH_m32c_TRUE
    785 CC_FOR_TARGET_M32C
    786 LD_FOR_TARGET_M32C
    787 AS_FOR_TARGET_M32C
    788 SIM_ENABLE_ARCH_lm32_FALSE
    789 SIM_ENABLE_ARCH_lm32_TRUE
    790 CC_FOR_TARGET_LM32
    791 LD_FOR_TARGET_LM32
    792 AS_FOR_TARGET_LM32
    793 SIM_ENABLE_ARCH_iq2000_FALSE
    794 SIM_ENABLE_ARCH_iq2000_TRUE
    795 CC_FOR_TARGET_IQ2000
    796 LD_FOR_TARGET_IQ2000
    797 AS_FOR_TARGET_IQ2000
    798 SIM_ENABLE_ARCH_h8300_FALSE
    799 SIM_ENABLE_ARCH_h8300_TRUE
    800 CC_FOR_TARGET_H8300
    801 LD_FOR_TARGET_H8300
    802 AS_FOR_TARGET_H8300
    803 SIM_ENABLE_ARCH_ft32_FALSE
    804 SIM_ENABLE_ARCH_ft32_TRUE
    805 CC_FOR_TARGET_FT32
    806 LD_FOR_TARGET_FT32
    807 AS_FOR_TARGET_FT32
    808 SIM_ENABLE_ARCH_frv_FALSE
    809 SIM_ENABLE_ARCH_frv_TRUE
    810 CC_FOR_TARGET_FRV
    811 LD_FOR_TARGET_FRV
    812 AS_FOR_TARGET_FRV
    813 SIM_ENABLE_ARCH_d10v_FALSE
    814 SIM_ENABLE_ARCH_d10v_TRUE
    815 CC_FOR_TARGET_D10V
    816 LD_FOR_TARGET_D10V
    817 AS_FOR_TARGET_D10V
    818 SIM_ENABLE_ARCH_cris_FALSE
    819 SIM_ENABLE_ARCH_cris_TRUE
    820 CC_FOR_TARGET_CRIS
    821 LD_FOR_TARGET_CRIS
    822 AS_FOR_TARGET_CRIS
    823 SIM_ENABLE_ARCH_cr16_FALSE
    824 SIM_ENABLE_ARCH_cr16_TRUE
    825 CC_FOR_TARGET_CR16
    826 LD_FOR_TARGET_CR16
    827 AS_FOR_TARGET_CR16
    828 SIM_ENABLE_ARCH_bpf_FALSE
    829 SIM_ENABLE_ARCH_bpf_TRUE
    830 CC_FOR_TARGET_BPF
    831 LD_FOR_TARGET_BPF
    832 AS_FOR_TARGET_BPF
    833 SIM_ENABLE_ARCH_bfin_FALSE
    834 SIM_ENABLE_ARCH_bfin_TRUE
    835 CC_FOR_TARGET_BFIN
    836 LD_FOR_TARGET_BFIN
    837 AS_FOR_TARGET_BFIN
    838 SIM_ENABLE_ARCH_avr_FALSE
    839 SIM_ENABLE_ARCH_avr_TRUE
    840 CC_FOR_TARGET_AVR
    841 LD_FOR_TARGET_AVR
    842 AS_FOR_TARGET_AVR
    843 SIM_ENABLE_ARCH_aarch64_FALSE
    844 SIM_ENABLE_ARCH_aarch64_TRUE
    845 CC_FOR_TARGET_AARCH64
    846 LD_FOR_TARGET_AARCH64
    847 AS_FOR_TARGET_AARCH64
    848 LD_FOR_TARGET
    849 AS_FOR_TARGET
    850 CC_FOR_TARGET
    851 SIM_ENABLED_ARCHES
    852 SIM_PRIMARY_TARGET
    853 AM_BACKSLASH
    854 AM_DEFAULT_VERBOSITY
    855 AM_DEFAULT_V
    856 AM_V
    857 am__fastdepCC_FALSE
    858 am__fastdepCC_TRUE
    859 CCDEPMODE
    860 am__nodep
    861 AMDEPBACKSLASH
    862 AMDEP_FALSE
    863 AMDEP_TRUE
    864 am__quote
    865 am__include
    866 DEPDIR
    867 am__untar
    868 am__tar
    869 AMTAR
    870 am__leading_dot
    871 SET_MAKE
    872 mkdir_p
    873 MKDIR_P
    874 INSTALL_STRIP_PROGRAM
    875 install_sh
    876 MAKEINFO
    877 AUTOHEADER
    878 AUTOMAKE
    879 AUTOCONF
    880 ACLOCAL
    881 VERSION
    882 PACKAGE
    883 CYGPATH_W
    884 am__isrc
    885 MAINT
    886 MAINTAINER_MODE_FALSE
    887 MAINTAINER_MODE_TRUE
    888 READLINE_CFLAGS
    889 READLINE_LIB
    890 TERMCAP_LIB
    891 SDL_LIBS
    892 SDL_CFLAGS
    893 OTOOL64
    894 OTOOL
    895 LIPO
    896 NMEDIT
    897 DSYMUTIL
    898 AWK
    899 STRIP
    900 OBJDUMP
    901 LN_S
    902 NM
    903 ac_ct_DUMPBIN
    904 DUMPBIN
    905 LD
    906 FGREP
    907 SED
    908 LIBTOOL
    909 C_DIALECT
    910 PKG_CONFIG_LIBDIR
    911 PKG_CONFIG_PATH
    912 PKG_CONFIG
    913 RANLIB
    914 AR
    915 LDFLAGS_FOR_BUILD
    916 CPPFLAGS_FOR_BUILD
    917 CFLAGS_FOR_BUILD
    918 RANLIB_FOR_BUILD
    919 CC_FOR_BUILD
    920 AR_FOR_BUILD
    921 DTC
    922 INSTALL_DATA
    923 INSTALL_SCRIPT
    924 INSTALL_PROGRAM
    925 EGREP
    926 GREP
    927 CPP
    928 OBJEXT
    929 EXEEXT
    930 ac_ct_CC
    931 CPPFLAGS
    932 LDFLAGS
    933 CFLAGS
    934 CC
    935 target_os
    936 target_vendor
    937 target_cpu
    938 target
    939 host_os
    940 host_vendor
    941 host_cpu
    942 host
    943 build_os
    944 build_vendor
    945 build_cpu
    946 build
    947 REPORT_BUGS_TEXI
    948 REPORT_BUGS_TO
    949 PKGVERSION
    950 target_alias
    951 host_alias
    952 build_alias
    953 LIBS
    954 ECHO_T
    955 ECHO_N
    956 ECHO_C
    957 DEFS
    958 mandir
    959 localedir
    960 libdir
    961 psdir
    962 pdfdir
    963 dvidir
    964 htmldir
    965 infodir
    966 docdir
    967 oldincludedir
    968 includedir
    969 localstatedir
    970 sharedstatedir
    971 sysconfdir
    972 datadir
    973 datarootdir
    974 libexecdir
    975 sbindir
    976 bindir
    977 program_transform_name
    978 prefix
    979 exec_prefix
    980 PACKAGE_URL
    981 PACKAGE_BUGREPORT
    982 PACKAGE_STRING
    983 PACKAGE_VERSION
    984 PACKAGE_TARNAME
    985 PACKAGE_NAME
    986 PATH_SEPARATOR
    987 SHELL
    988 SIM_TOOLCHAIN_VARS
    989 BUILD_WERROR_CFLAGS
    990 BUILD_WARN_CFLAGS
    991 WERROR_CFLAGS
    992 WARN_CFLAGS'
    993 ac_subst_files=''
    994 ac_user_opts='
    995 enable_option_checking
    996 with_pkgversion
    997 with_bugurl
    998 enable_shared
    999 enable_static
   1000 with_pic
   1001 enable_fast_install
   1002 with_gnu_ld
   1003 enable_libtool_lock
   1004 enable_maintainer_mode
   1005 enable_dependency_tracking
   1006 enable_silent_rules
   1007 enable_sim
   1008 enable_example_sims
   1009 enable_targets
   1010 enable_sim_alignment
   1011 enable_sim_assert
   1012 enable_cgen_maint
   1013 enable_sim_debug
   1014 enable_sim_endian
   1015 enable_sim_environment
   1016 enable_sim_hardware
   1017 enable_sim_inline
   1018 enable_sim_profile
   1019 enable_sim_reserved_bits
   1020 enable_sim_scache
   1021 enable_sim_smp
   1022 enable_sim_stdio
   1023 enable_sim_trace
   1024 enable_werror
   1025 enable_build_warnings
   1026 enable_sim_build_warnings
   1027 enable_sim_frv_trapdump
   1028 enable_sim_ppc_bitsize
   1029 enable_sim_ppc_decode_mechanism
   1030 enable_sim_ppc_default_model
   1031 enable_sim_ppc_duplicate
   1032 enable_sim_ppc_filter
   1033 enable_sim_ppc_float
   1034 enable_sim_ppc_hardware
   1035 enable_sim_ppc_icache
   1036 enable_sim_ppc_jump
   1037 enable_sim_ppc_line_nr
   1038 enable_sim_ppc_model
   1039 enable_sim_ppc_model_issue
   1040 enable_sim_ppc_monitor
   1041 enable_sim_ppc_opcode
   1042 enable_sim_ppc_smp
   1043 enable_sim_ppc_switch
   1044 enable_sim_ppc_timebase
   1045 enable_sim_ppc_xor_endian
   1046 enable_sim_rx_cycle_accurate
   1047 '
   1048       ac_precious_vars='build_alias
   1049 host_alias
   1050 target_alias
   1051 CC
   1052 CFLAGS
   1053 LDFLAGS
   1054 LIBS
   1055 CPPFLAGS
   1056 CPP
   1057 PKG_CONFIG
   1058 PKG_CONFIG_PATH
   1059 PKG_CONFIG_LIBDIR
   1060 SDL_CFLAGS
   1061 SDL_LIBS
   1062 AS_FOR_TARGET_AARCH64
   1063 LD_FOR_TARGET_AARCH64
   1064 CC_FOR_TARGET_AARCH64
   1065 AS_FOR_TARGET_AVR
   1066 LD_FOR_TARGET_AVR
   1067 CC_FOR_TARGET_AVR
   1068 AS_FOR_TARGET_BFIN
   1069 LD_FOR_TARGET_BFIN
   1070 CC_FOR_TARGET_BFIN
   1071 AS_FOR_TARGET_BPF
   1072 LD_FOR_TARGET_BPF
   1073 CC_FOR_TARGET_BPF
   1074 AS_FOR_TARGET_CR16
   1075 LD_FOR_TARGET_CR16
   1076 CC_FOR_TARGET_CR16
   1077 AS_FOR_TARGET_CRIS
   1078 LD_FOR_TARGET_CRIS
   1079 CC_FOR_TARGET_CRIS
   1080 AS_FOR_TARGET_D10V
   1081 LD_FOR_TARGET_D10V
   1082 CC_FOR_TARGET_D10V
   1083 AS_FOR_TARGET_FRV
   1084 LD_FOR_TARGET_FRV
   1085 CC_FOR_TARGET_FRV
   1086 AS_FOR_TARGET_FT32
   1087 LD_FOR_TARGET_FT32
   1088 CC_FOR_TARGET_FT32
   1089 AS_FOR_TARGET_H8300
   1090 LD_FOR_TARGET_H8300
   1091 CC_FOR_TARGET_H8300
   1092 AS_FOR_TARGET_IQ2000
   1093 LD_FOR_TARGET_IQ2000
   1094 CC_FOR_TARGET_IQ2000
   1095 AS_FOR_TARGET_LM32
   1096 LD_FOR_TARGET_LM32
   1097 CC_FOR_TARGET_LM32
   1098 AS_FOR_TARGET_M32C
   1099 LD_FOR_TARGET_M32C
   1100 CC_FOR_TARGET_M32C
   1101 AS_FOR_TARGET_M32R
   1102 LD_FOR_TARGET_M32R
   1103 CC_FOR_TARGET_M32R
   1104 AS_FOR_TARGET_M68HC11
   1105 LD_FOR_TARGET_M68HC11
   1106 CC_FOR_TARGET_M68HC11
   1107 AS_FOR_TARGET_MCORE
   1108 LD_FOR_TARGET_MCORE
   1109 CC_FOR_TARGET_MCORE
   1110 AS_FOR_TARGET_MICROBLAZE
   1111 LD_FOR_TARGET_MICROBLAZE
   1112 CC_FOR_TARGET_MICROBLAZE
   1113 AS_FOR_TARGET_MIPS
   1114 LD_FOR_TARGET_MIPS
   1115 CC_FOR_TARGET_MIPS
   1116 AS_FOR_TARGET_MN10300
   1117 LD_FOR_TARGET_MN10300
   1118 CC_FOR_TARGET_MN10300
   1119 AS_FOR_TARGET_MOXIE
   1120 LD_FOR_TARGET_MOXIE
   1121 CC_FOR_TARGET_MOXIE
   1122 AS_FOR_TARGET_MSP430
   1123 LD_FOR_TARGET_MSP430
   1124 CC_FOR_TARGET_MSP430
   1125 AS_FOR_TARGET_OR1K
   1126 LD_FOR_TARGET_OR1K
   1127 CC_FOR_TARGET_OR1K
   1128 AS_FOR_TARGET_PPC
   1129 LD_FOR_TARGET_PPC
   1130 CC_FOR_TARGET_PPC
   1131 AS_FOR_TARGET_PRU
   1132 LD_FOR_TARGET_PRU
   1133 CC_FOR_TARGET_PRU
   1134 AS_FOR_TARGET_RISCV
   1135 LD_FOR_TARGET_RISCV
   1136 CC_FOR_TARGET_RISCV
   1137 AS_FOR_TARGET_RL78
   1138 LD_FOR_TARGET_RL78
   1139 CC_FOR_TARGET_RL78
   1140 AS_FOR_TARGET_RX
   1141 LD_FOR_TARGET_RX
   1142 CC_FOR_TARGET_RX
   1143 AS_FOR_TARGET_SH
   1144 LD_FOR_TARGET_SH
   1145 CC_FOR_TARGET_SH
   1146 AS_FOR_TARGET_ERC32
   1147 LD_FOR_TARGET_ERC32
   1148 CC_FOR_TARGET_ERC32
   1149 AS_FOR_TARGET_V850
   1150 LD_FOR_TARGET_V850
   1151 CC_FOR_TARGET_V850
   1152 AS_FOR_TARGET_EXAMPLE_SYNACOR
   1153 LD_FOR_TARGET_EXAMPLE_SYNACOR
   1154 CC_FOR_TARGET_EXAMPLE_SYNACOR'
   1155 
   1156 
   1157 # Initialize some variables set by options.
   1158 ac_init_help=
   1159 ac_init_version=false
   1160 ac_unrecognized_opts=
   1161 ac_unrecognized_sep=
   1162 # The variables have the same names as the options, with
   1163 # dashes changed to underlines.
   1164 cache_file=/dev/null
   1165 exec_prefix=NONE
   1166 no_create=
   1167 no_recursion=
   1168 prefix=NONE
   1169 program_prefix=NONE
   1170 program_suffix=NONE
   1171 program_transform_name=s,x,x,
   1172 silent=
   1173 site=
   1174 srcdir=
   1175 verbose=
   1176 x_includes=NONE
   1177 x_libraries=NONE
   1178 
   1179 # Installation directory options.
   1180 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1181 # and all the variables that are supposed to be based on exec_prefix
   1182 # by default will actually change.
   1183 # Use braces instead of parens because sh, perl, etc. also accept them.
   1184 # (The list follows the same order as the GNU Coding Standards.)
   1185 bindir='${exec_prefix}/bin'
   1186 sbindir='${exec_prefix}/sbin'
   1187 libexecdir='${exec_prefix}/libexec'
   1188 datarootdir='${prefix}/share'
   1189 datadir='${datarootdir}'
   1190 sysconfdir='${prefix}/etc'
   1191 sharedstatedir='${prefix}/com'
   1192 localstatedir='${prefix}/var'
   1193 includedir='${prefix}/include'
   1194 oldincludedir='/usr/include'
   1195 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1196 infodir='${datarootdir}/info'
   1197 htmldir='${docdir}'
   1198 dvidir='${docdir}'
   1199 pdfdir='${docdir}'
   1200 psdir='${docdir}'
   1201 libdir='${exec_prefix}/lib'
   1202 localedir='${datarootdir}/locale'
   1203 mandir='${datarootdir}/man'
   1204 
   1205 ac_prev=
   1206 ac_dashdash=
   1207 for ac_option
   1208 do
   1209   # If the previous option needs an argument, assign it.
   1210   if test -n "$ac_prev"; then
   1211     eval $ac_prev=\$ac_option
   1212     ac_prev=
   1213     continue
   1214   fi
   1215 
   1216   case $ac_option in
   1217   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1218   *=)   ac_optarg= ;;
   1219   *)    ac_optarg=yes ;;
   1220   esac
   1221 
   1222   # Accept the important Cygnus configure options, so we can diagnose typos.
   1223 
   1224   case $ac_dashdash$ac_option in
   1225   --)
   1226     ac_dashdash=yes ;;
   1227 
   1228   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1229     ac_prev=bindir ;;
   1230   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1231     bindir=$ac_optarg ;;
   1232 
   1233   -build | --build | --buil | --bui | --bu)
   1234     ac_prev=build_alias ;;
   1235   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1236     build_alias=$ac_optarg ;;
   1237 
   1238   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1239   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1240     ac_prev=cache_file ;;
   1241   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1242   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1243     cache_file=$ac_optarg ;;
   1244 
   1245   --config-cache | -C)
   1246     cache_file=config.cache ;;
   1247 
   1248   -datadir | --datadir | --datadi | --datad)
   1249     ac_prev=datadir ;;
   1250   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1251     datadir=$ac_optarg ;;
   1252 
   1253   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1254   | --dataroo | --dataro | --datar)
   1255     ac_prev=datarootdir ;;
   1256   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1257   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1258     datarootdir=$ac_optarg ;;
   1259 
   1260   -disable-* | --disable-*)
   1261     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1262     # Reject names that are not valid shell variable names.
   1263     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1264       as_fn_error $? "invalid feature name: $ac_useropt"
   1265     ac_useropt_orig=$ac_useropt
   1266     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1267     case $ac_user_opts in
   1268       *"
   1269 "enable_$ac_useropt"
   1270 "*) ;;
   1271       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1272 	 ac_unrecognized_sep=', ';;
   1273     esac
   1274     eval enable_$ac_useropt=no ;;
   1275 
   1276   -docdir | --docdir | --docdi | --doc | --do)
   1277     ac_prev=docdir ;;
   1278   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1279     docdir=$ac_optarg ;;
   1280 
   1281   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1282     ac_prev=dvidir ;;
   1283   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1284     dvidir=$ac_optarg ;;
   1285 
   1286   -enable-* | --enable-*)
   1287     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1288     # Reject names that are not valid shell variable names.
   1289     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1290       as_fn_error $? "invalid feature name: $ac_useropt"
   1291     ac_useropt_orig=$ac_useropt
   1292     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1293     case $ac_user_opts in
   1294       *"
   1295 "enable_$ac_useropt"
   1296 "*) ;;
   1297       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1298 	 ac_unrecognized_sep=', ';;
   1299     esac
   1300     eval enable_$ac_useropt=\$ac_optarg ;;
   1301 
   1302   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1303   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1304   | --exec | --exe | --ex)
   1305     ac_prev=exec_prefix ;;
   1306   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1307   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1308   | --exec=* | --exe=* | --ex=*)
   1309     exec_prefix=$ac_optarg ;;
   1310 
   1311   -gas | --gas | --ga | --g)
   1312     # Obsolete; use --with-gas.
   1313     with_gas=yes ;;
   1314 
   1315   -help | --help | --hel | --he | -h)
   1316     ac_init_help=long ;;
   1317   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1318     ac_init_help=recursive ;;
   1319   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1320     ac_init_help=short ;;
   1321 
   1322   -host | --host | --hos | --ho)
   1323     ac_prev=host_alias ;;
   1324   -host=* | --host=* | --hos=* | --ho=*)
   1325     host_alias=$ac_optarg ;;
   1326 
   1327   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1328     ac_prev=htmldir ;;
   1329   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1330   | --ht=*)
   1331     htmldir=$ac_optarg ;;
   1332 
   1333   -includedir | --includedir | --includedi | --included | --include \
   1334   | --includ | --inclu | --incl | --inc)
   1335     ac_prev=includedir ;;
   1336   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1337   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1338     includedir=$ac_optarg ;;
   1339 
   1340   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1341     ac_prev=infodir ;;
   1342   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1343     infodir=$ac_optarg ;;
   1344 
   1345   -libdir | --libdir | --libdi | --libd)
   1346     ac_prev=libdir ;;
   1347   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1348     libdir=$ac_optarg ;;
   1349 
   1350   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1351   | --libexe | --libex | --libe)
   1352     ac_prev=libexecdir ;;
   1353   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1354   | --libexe=* | --libex=* | --libe=*)
   1355     libexecdir=$ac_optarg ;;
   1356 
   1357   -localedir | --localedir | --localedi | --localed | --locale)
   1358     ac_prev=localedir ;;
   1359   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1360     localedir=$ac_optarg ;;
   1361 
   1362   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1363   | --localstate | --localstat | --localsta | --localst | --locals)
   1364     ac_prev=localstatedir ;;
   1365   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1366   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1367     localstatedir=$ac_optarg ;;
   1368 
   1369   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1370     ac_prev=mandir ;;
   1371   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1372     mandir=$ac_optarg ;;
   1373 
   1374   -nfp | --nfp | --nf)
   1375     # Obsolete; use --without-fp.
   1376     with_fp=no ;;
   1377 
   1378   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1379   | --no-cr | --no-c | -n)
   1380     no_create=yes ;;
   1381 
   1382   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1383   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1384     no_recursion=yes ;;
   1385 
   1386   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1387   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1388   | --oldin | --oldi | --old | --ol | --o)
   1389     ac_prev=oldincludedir ;;
   1390   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1391   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1392   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1393     oldincludedir=$ac_optarg ;;
   1394 
   1395   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1396     ac_prev=prefix ;;
   1397   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1398     prefix=$ac_optarg ;;
   1399 
   1400   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1401   | --program-pre | --program-pr | --program-p)
   1402     ac_prev=program_prefix ;;
   1403   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1404   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1405     program_prefix=$ac_optarg ;;
   1406 
   1407   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1408   | --program-suf | --program-su | --program-s)
   1409     ac_prev=program_suffix ;;
   1410   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1411   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1412     program_suffix=$ac_optarg ;;
   1413 
   1414   -program-transform-name | --program-transform-name \
   1415   | --program-transform-nam | --program-transform-na \
   1416   | --program-transform-n | --program-transform- \
   1417   | --program-transform | --program-transfor \
   1418   | --program-transfo | --program-transf \
   1419   | --program-trans | --program-tran \
   1420   | --progr-tra | --program-tr | --program-t)
   1421     ac_prev=program_transform_name ;;
   1422   -program-transform-name=* | --program-transform-name=* \
   1423   | --program-transform-nam=* | --program-transform-na=* \
   1424   | --program-transform-n=* | --program-transform-=* \
   1425   | --program-transform=* | --program-transfor=* \
   1426   | --program-transfo=* | --program-transf=* \
   1427   | --program-trans=* | --program-tran=* \
   1428   | --progr-tra=* | --program-tr=* | --program-t=*)
   1429     program_transform_name=$ac_optarg ;;
   1430 
   1431   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1432     ac_prev=pdfdir ;;
   1433   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1434     pdfdir=$ac_optarg ;;
   1435 
   1436   -psdir | --psdir | --psdi | --psd | --ps)
   1437     ac_prev=psdir ;;
   1438   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1439     psdir=$ac_optarg ;;
   1440 
   1441   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1442   | -silent | --silent | --silen | --sile | --sil)
   1443     silent=yes ;;
   1444 
   1445   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1446     ac_prev=sbindir ;;
   1447   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1448   | --sbi=* | --sb=*)
   1449     sbindir=$ac_optarg ;;
   1450 
   1451   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1452   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1453   | --sharedst | --shareds | --shared | --share | --shar \
   1454   | --sha | --sh)
   1455     ac_prev=sharedstatedir ;;
   1456   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1457   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1458   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1459   | --sha=* | --sh=*)
   1460     sharedstatedir=$ac_optarg ;;
   1461 
   1462   -site | --site | --sit)
   1463     ac_prev=site ;;
   1464   -site=* | --site=* | --sit=*)
   1465     site=$ac_optarg ;;
   1466 
   1467   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1468     ac_prev=srcdir ;;
   1469   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1470     srcdir=$ac_optarg ;;
   1471 
   1472   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1473   | --syscon | --sysco | --sysc | --sys | --sy)
   1474     ac_prev=sysconfdir ;;
   1475   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1476   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1477     sysconfdir=$ac_optarg ;;
   1478 
   1479   -target | --target | --targe | --targ | --tar | --ta | --t)
   1480     ac_prev=target_alias ;;
   1481   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1482     target_alias=$ac_optarg ;;
   1483 
   1484   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1485     verbose=yes ;;
   1486 
   1487   -version | --version | --versio | --versi | --vers | -V)
   1488     ac_init_version=: ;;
   1489 
   1490   -with-* | --with-*)
   1491     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1492     # Reject names that are not valid shell variable names.
   1493     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1494       as_fn_error $? "invalid package name: $ac_useropt"
   1495     ac_useropt_orig=$ac_useropt
   1496     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1497     case $ac_user_opts in
   1498       *"
   1499 "with_$ac_useropt"
   1500 "*) ;;
   1501       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1502 	 ac_unrecognized_sep=', ';;
   1503     esac
   1504     eval with_$ac_useropt=\$ac_optarg ;;
   1505 
   1506   -without-* | --without-*)
   1507     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1508     # Reject names that are not valid shell variable names.
   1509     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1510       as_fn_error $? "invalid package name: $ac_useropt"
   1511     ac_useropt_orig=$ac_useropt
   1512     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1513     case $ac_user_opts in
   1514       *"
   1515 "with_$ac_useropt"
   1516 "*) ;;
   1517       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1518 	 ac_unrecognized_sep=', ';;
   1519     esac
   1520     eval with_$ac_useropt=no ;;
   1521 
   1522   --x)
   1523     # Obsolete; use --with-x.
   1524     with_x=yes ;;
   1525 
   1526   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1527   | --x-incl | --x-inc | --x-in | --x-i)
   1528     ac_prev=x_includes ;;
   1529   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1530   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1531     x_includes=$ac_optarg ;;
   1532 
   1533   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1534   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1535     ac_prev=x_libraries ;;
   1536   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1537   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1538     x_libraries=$ac_optarg ;;
   1539 
   1540   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1541 Try \`$0 --help' for more information"
   1542     ;;
   1543 
   1544   *=*)
   1545     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1546     # Reject names that are not valid shell variable names.
   1547     case $ac_envvar in #(
   1548       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1549       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1550     esac
   1551     eval $ac_envvar=\$ac_optarg
   1552     export $ac_envvar ;;
   1553 
   1554   *)
   1555     # FIXME: should be removed in autoconf 3.0.
   1556     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1557     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1558       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1559     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1560     ;;
   1561 
   1562   esac
   1563 done
   1564 
   1565 if test -n "$ac_prev"; then
   1566   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1567   as_fn_error $? "missing argument to $ac_option"
   1568 fi
   1569 
   1570 if test -n "$ac_unrecognized_opts"; then
   1571   case $enable_option_checking in
   1572     no) ;;
   1573     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1574     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1575   esac
   1576 fi
   1577 
   1578 # Check all directory arguments for consistency.
   1579 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1580 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1581 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1582 		libdir localedir mandir
   1583 do
   1584   eval ac_val=\$$ac_var
   1585   # Remove trailing slashes.
   1586   case $ac_val in
   1587     */ )
   1588       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1589       eval $ac_var=\$ac_val;;
   1590   esac
   1591   # Be sure to have absolute directory names.
   1592   case $ac_val in
   1593     [\\/$]* | ?:[\\/]* )  continue;;
   1594     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1595   esac
   1596   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1597 done
   1598 
   1599 # There might be people who depend on the old broken behavior: `$host'
   1600 # used to hold the argument of --host etc.
   1601 # FIXME: To remove some day.
   1602 build=$build_alias
   1603 host=$host_alias
   1604 target=$target_alias
   1605 
   1606 # FIXME: To remove some day.
   1607 if test "x$host_alias" != x; then
   1608   if test "x$build_alias" = x; then
   1609     cross_compiling=maybe
   1610   elif test "x$build_alias" != "x$host_alias"; then
   1611     cross_compiling=yes
   1612   fi
   1613 fi
   1614 
   1615 ac_tool_prefix=
   1616 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1617 
   1618 test "$silent" = yes && exec 6>/dev/null
   1619 
   1620 
   1621 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1622 ac_ls_di=`ls -di .` &&
   1623 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1624   as_fn_error $? "working directory cannot be determined"
   1625 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1626   as_fn_error $? "pwd does not report name of working directory"
   1627 
   1628 
   1629 # Find the source files, if location was not specified.
   1630 if test -z "$srcdir"; then
   1631   ac_srcdir_defaulted=yes
   1632   # Try the directory containing this script, then the parent directory.
   1633   ac_confdir=`$as_dirname -- "$as_myself" ||
   1634 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1635 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1636 	 X"$as_myself" : 'X\(//\)$' \| \
   1637 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1638 $as_echo X"$as_myself" |
   1639     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1640 	    s//\1/
   1641 	    q
   1642 	  }
   1643 	  /^X\(\/\/\)[^/].*/{
   1644 	    s//\1/
   1645 	    q
   1646 	  }
   1647 	  /^X\(\/\/\)$/{
   1648 	    s//\1/
   1649 	    q
   1650 	  }
   1651 	  /^X\(\/\).*/{
   1652 	    s//\1/
   1653 	    q
   1654 	  }
   1655 	  s/.*/./; q'`
   1656   srcdir=$ac_confdir
   1657   if test ! -r "$srcdir/$ac_unique_file"; then
   1658     srcdir=..
   1659   fi
   1660 else
   1661   ac_srcdir_defaulted=no
   1662 fi
   1663 if test ! -r "$srcdir/$ac_unique_file"; then
   1664   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1665   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1666 fi
   1667 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1668 ac_abs_confdir=`(
   1669 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1670 	pwd)`
   1671 # When building in place, set srcdir=.
   1672 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1673   srcdir=.
   1674 fi
   1675 # Remove unnecessary trailing slashes from srcdir.
   1676 # Double slashes in file names in object file debugging info
   1677 # mess up M-x gdb in Emacs.
   1678 case $srcdir in
   1679 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1680 esac
   1681 for ac_var in $ac_precious_vars; do
   1682   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1683   eval ac_env_${ac_var}_value=\$${ac_var}
   1684   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1685   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1686 done
   1687 
   1688 #
   1689 # Report the --help message.
   1690 #
   1691 if test "$ac_init_help" = "long"; then
   1692   # Omit some internal or obsolete options to make the list less imposing.
   1693   # This message is too long to be a string in the A/UX 3.1 sh.
   1694   cat <<_ACEOF
   1695 \`configure' configures sim 0 to adapt to many kinds of systems.
   1696 
   1697 Usage: $0 [OPTION]... [VAR=VALUE]...
   1698 
   1699 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1700 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1701 
   1702 Defaults for the options are specified in brackets.
   1703 
   1704 Configuration:
   1705   -h, --help              display this help and exit
   1706       --help=short        display options specific to this package
   1707       --help=recursive    display the short help of all the included packages
   1708   -V, --version           display version information and exit
   1709   -q, --quiet, --silent   do not print \`checking ...' messages
   1710       --cache-file=FILE   cache test results in FILE [disabled]
   1711   -C, --config-cache      alias for \`--cache-file=config.cache'
   1712   -n, --no-create         do not create output files
   1713       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1714 
   1715 Installation directories:
   1716   --prefix=PREFIX         install architecture-independent files in PREFIX
   1717                           [$ac_default_prefix]
   1718   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1719                           [PREFIX]
   1720 
   1721 By default, \`make install' will install all the files in
   1722 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1723 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1724 for instance \`--prefix=\$HOME'.
   1725 
   1726 For better control, use the options below.
   1727 
   1728 Fine tuning of the installation directories:
   1729   --bindir=DIR            user executables [EPREFIX/bin]
   1730   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1731   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1732   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1733   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1734   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1735   --libdir=DIR            object code libraries [EPREFIX/lib]
   1736   --includedir=DIR        C header files [PREFIX/include]
   1737   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1738   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1739   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1740   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1741   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1742   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1743   --docdir=DIR            documentation root [DATAROOTDIR/doc/sim]
   1744   --htmldir=DIR           html documentation [DOCDIR]
   1745   --dvidir=DIR            dvi documentation [DOCDIR]
   1746   --pdfdir=DIR            pdf documentation [DOCDIR]
   1747   --psdir=DIR             ps documentation [DOCDIR]
   1748 _ACEOF
   1749 
   1750   cat <<\_ACEOF
   1751 
   1752 Program names:
   1753   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1754   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1755   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1756 
   1757 System types:
   1758   --build=BUILD     configure for building on BUILD [guessed]
   1759   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1760   --target=TARGET   configure for building compilers for TARGET [HOST]
   1761 _ACEOF
   1762 fi
   1763 
   1764 if test -n "$ac_init_help"; then
   1765   case $ac_init_help in
   1766      short | recursive ) echo "Configuration of sim 0:";;
   1767    esac
   1768   cat <<\_ACEOF
   1769 
   1770 Optional Features:
   1771   --disable-option-checking  ignore unrecognized --enable/--with options
   1772   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1773   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1774   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1775   --enable-static[=PKGS]  build static libraries [default=yes]
   1776   --enable-fast-install[=PKGS]
   1777                           optimize for fast installation [default=yes]
   1778   --disable-libtool-lock  avoid locking (might break parallel builds)
   1779   --enable-maintainer-mode
   1780                           enable make rules and dependencies not useful (and
   1781                           sometimes confusing) to the casual installer
   1782   --enable-dependency-tracking
   1783                           do not reject slow dependency extractors
   1784   --disable-dependency-tracking
   1785                           speeds up one-time build
   1786   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1787   --disable-silent-rules  verbose build output (undo: "make V=0")
   1788   --enable-sim            Enable the GNU simulator
   1789   --enable-example-sims   enable example GNU simulators
   1790   --enable-targets        alternative target configurations
   1791   --enable-sim-alignment=align
   1792                           Specify strict, nonstrict or forced alignment of
   1793                           memory accesses
   1794   --enable-sim-assert     Specify whether to perform random assertions
   1795   --enable-cgen-maint=DIR build cgen generated files
   1796   --enable-sim-debug=opts Enable debugging flags (for developers of the sim
   1797                           itself)
   1798   --enable-sim-endian=endian
   1799                           Specify target byte endian orientation
   1800   --enable-sim-environment=environment
   1801                           Specify mixed, user, virtual or operating
   1802                           environment
   1803   --enable-sim-hardware   Whether to enable hardware/device simulation
   1804   --enable-sim-inline=inlines
   1805                           Specify which functions should be inlined
   1806   --enable-sim-profile=opts
   1807                           Enable profiling flags
   1808   --enable-sim-reserved-bits
   1809                           Specify whether to check reserved bits in
   1810                           instruction
   1811   --enable-sim-scache=size
   1812                           Specify simulator execution cache size
   1813   --enable-sim-smp=n      Specify number of processors to configure for
   1814                           (default 1)
   1815   --enable-sim-stdio      Specify whether to use stdio for console
   1816                           input/output
   1817   --enable-sim-trace=opts Enable tracing of simulated programs
   1818   --enable-werror         treat compile warnings as errors
   1819   --enable-build-warnings enable build-time compiler warnings if gcc is used
   1820   --enable-sim-build-warnings
   1821                           enable SIM specific build-time compiler warnings if
   1822                           gcc is used
   1823   --enable-sim-frv-trapdump
   1824                           Make unknown traps dump the registers
   1825   --enable-sim-ppc-bitsize=n
   1826                           Specify target bitsize (32 or 64).
   1827   --enable-sim-ppc-decode-mechanism=which
   1828                           Specify the instruction decode mechanism.
   1829   --enable-sim-ppc-default-model=which
   1830                           Specify default PowerPC to model.
   1831   --enable-sim-ppc-duplicate
   1832                           Expand (duplicate) semantic functions.
   1833   --enable-sim-ppc-filter=rule
   1834                           Specify filter rules.
   1835   --enable-sim-ppc-float  Specify whether the target has hard, soft, altivec
   1836                           or e500 floating point.
   1837   --enable-sim-ppc-hardware=list
   1838                           Specify the hardware to be included in the build.
   1839   --enable-sim-ppc-icache=size
   1840                           Specify instruction-decode cache size and type.
   1841   --enable-sim-ppc-jump   Jump between semantic code (instead of call/return).
   1842   --enable-sim-ppc-line-nr=opts
   1843                           Generate extra CPP code that references source
   1844                           rather than generated code
   1845   --enable-sim-ppc-model=which
   1846                           Specify PowerPC to model.
   1847   --enable-sim-ppc-model-issue
   1848                           Specify whether to simulate model specific actions
   1849   --enable-sim-ppc-monitor=mon
   1850                           Specify whether to enable monitoring events.
   1851   --enable-sim-ppc-opcode=which
   1852                           Override default opcode lookup.
   1853   --enable-sim-ppc-smp=n  Specify number of processors to configure for.
   1854   --enable-sim-ppc-switch Use a switch instead of a table for instruction
   1855                           call.
   1856   --enable-sim-ppc-timebase
   1857                           Specify whether the PPC timebase is supported.
   1858   --enable-sim-ppc-xor-endian=n
   1859                           Specify number bytes involved in PowerPC XOR
   1860                           bi-endian mode (default 8).
   1861   --disable-sim-rx-cycle-accurate
   1862                           Disable cycle accurate simulation (faster runtime)
   1863 
   1864 Optional Packages:
   1865   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1866   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1867   --with-pkgversion=PKG   Use PKG in the version string in place of "SIM"
   1868   --with-bugurl=URL       Direct users to URL to report a bug
   1869   --with-pic              try to use only PIC/non-PIC objects [default=use
   1870                           both]
   1871   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1872 
   1873 Some influential environment variables:
   1874   CC          C compiler command
   1875   CFLAGS      C compiler flags
   1876   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1877               nonstandard directory <lib dir>
   1878   LIBS        libraries to pass to the linker, e.g. -l<library>
   1879   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1880               you have headers in a nonstandard directory <include dir>
   1881   CPP         C preprocessor
   1882   PKG_CONFIG  path to pkg-config utility
   1883   PKG_CONFIG_PATH
   1884               directories to add to pkg-config's search path
   1885   PKG_CONFIG_LIBDIR
   1886               path overriding pkg-config's built-in search path
   1887   SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
   1888   SDL_LIBS    linker flags for SDL, overriding pkg-config
   1889   AS_FOR_TARGET_AARCH64
   1890               Assembler for aarch64 tests
   1891   LD_FOR_TARGET_AARCH64
   1892               Linker for aarch64 tests
   1893   CC_FOR_TARGET_AARCH64
   1894               C compiler for aarch64 tests
   1895   AS_FOR_TARGET_AVR
   1896               Assembler for avr tests
   1897   LD_FOR_TARGET_AVR
   1898               Linker for avr tests
   1899   CC_FOR_TARGET_AVR
   1900               C compiler for avr tests
   1901   AS_FOR_TARGET_BFIN
   1902               Assembler for bfin tests
   1903   LD_FOR_TARGET_BFIN
   1904               Linker for bfin tests
   1905   CC_FOR_TARGET_BFIN
   1906               C compiler for bfin tests
   1907   AS_FOR_TARGET_BPF
   1908               Assembler for bpf tests
   1909   LD_FOR_TARGET_BPF
   1910               Linker for bpf tests
   1911   CC_FOR_TARGET_BPF
   1912               C compiler for bpf tests
   1913   AS_FOR_TARGET_CR16
   1914               Assembler for cr16 tests
   1915   LD_FOR_TARGET_CR16
   1916               Linker for cr16 tests
   1917   CC_FOR_TARGET_CR16
   1918               C compiler for cr16 tests
   1919   AS_FOR_TARGET_CRIS
   1920               Assembler for cris tests
   1921   LD_FOR_TARGET_CRIS
   1922               Linker for cris tests
   1923   CC_FOR_TARGET_CRIS
   1924               C compiler for cris tests
   1925   AS_FOR_TARGET_D10V
   1926               Assembler for d10v tests
   1927   LD_FOR_TARGET_D10V
   1928               Linker for d10v tests
   1929   CC_FOR_TARGET_D10V
   1930               C compiler for d10v tests
   1931   AS_FOR_TARGET_FRV
   1932               Assembler for frv tests
   1933   LD_FOR_TARGET_FRV
   1934               Linker for frv tests
   1935   CC_FOR_TARGET_FRV
   1936               C compiler for frv tests
   1937   AS_FOR_TARGET_FT32
   1938               Assembler for ft32 tests
   1939   LD_FOR_TARGET_FT32
   1940               Linker for ft32 tests
   1941   CC_FOR_TARGET_FT32
   1942               C compiler for ft32 tests
   1943   AS_FOR_TARGET_H8300
   1944               Assembler for h8300 tests
   1945   LD_FOR_TARGET_H8300
   1946               Linker for h8300 tests
   1947   CC_FOR_TARGET_H8300
   1948               C compiler for h8300 tests
   1949   AS_FOR_TARGET_IQ2000
   1950               Assembler for iq2000 tests
   1951   LD_FOR_TARGET_IQ2000
   1952               Linker for iq2000 tests
   1953   CC_FOR_TARGET_IQ2000
   1954               C compiler for iq2000 tests
   1955   AS_FOR_TARGET_LM32
   1956               Assembler for lm32 tests
   1957   LD_FOR_TARGET_LM32
   1958               Linker for lm32 tests
   1959   CC_FOR_TARGET_LM32
   1960               C compiler for lm32 tests
   1961   AS_FOR_TARGET_M32C
   1962               Assembler for m32c tests
   1963   LD_FOR_TARGET_M32C
   1964               Linker for m32c tests
   1965   CC_FOR_TARGET_M32C
   1966               C compiler for m32c tests
   1967   AS_FOR_TARGET_M32R
   1968               Assembler for m32r tests
   1969   LD_FOR_TARGET_M32R
   1970               Linker for m32r tests
   1971   CC_FOR_TARGET_M32R
   1972               C compiler for m32r tests
   1973   AS_FOR_TARGET_M68HC11
   1974               Assembler for m68hc11 tests
   1975   LD_FOR_TARGET_M68HC11
   1976               Linker for m68hc11 tests
   1977   CC_FOR_TARGET_M68HC11
   1978               C compiler for m68hc11 tests
   1979   AS_FOR_TARGET_MCORE
   1980               Assembler for mcore tests
   1981   LD_FOR_TARGET_MCORE
   1982               Linker for mcore tests
   1983   CC_FOR_TARGET_MCORE
   1984               C compiler for mcore tests
   1985   AS_FOR_TARGET_MICROBLAZE
   1986               Assembler for microblaze tests
   1987   LD_FOR_TARGET_MICROBLAZE
   1988               Linker for microblaze tests
   1989   CC_FOR_TARGET_MICROBLAZE
   1990               C compiler for microblaze tests
   1991   AS_FOR_TARGET_MIPS
   1992               Assembler for mips tests
   1993   LD_FOR_TARGET_MIPS
   1994               Linker for mips tests
   1995   CC_FOR_TARGET_MIPS
   1996               C compiler for mips tests
   1997   AS_FOR_TARGET_MN10300
   1998               Assembler for mn10300 tests
   1999   LD_FOR_TARGET_MN10300
   2000               Linker for mn10300 tests
   2001   CC_FOR_TARGET_MN10300
   2002               C compiler for mn10300 tests
   2003   AS_FOR_TARGET_MOXIE
   2004               Assembler for moxie tests
   2005   LD_FOR_TARGET_MOXIE
   2006               Linker for moxie tests
   2007   CC_FOR_TARGET_MOXIE
   2008               C compiler for moxie tests
   2009   AS_FOR_TARGET_MSP430
   2010               Assembler for msp430 tests
   2011   LD_FOR_TARGET_MSP430
   2012               Linker for msp430 tests
   2013   CC_FOR_TARGET_MSP430
   2014               C compiler for msp430 tests
   2015   AS_FOR_TARGET_OR1K
   2016               Assembler for or1k tests
   2017   LD_FOR_TARGET_OR1K
   2018               Linker for or1k tests
   2019   CC_FOR_TARGET_OR1K
   2020               C compiler for or1k tests
   2021   AS_FOR_TARGET_PPC
   2022               Assembler for ppc tests
   2023   LD_FOR_TARGET_PPC
   2024               Linker for ppc tests
   2025   CC_FOR_TARGET_PPC
   2026               C compiler for ppc tests
   2027   AS_FOR_TARGET_PRU
   2028               Assembler for pru tests
   2029   LD_FOR_TARGET_PRU
   2030               Linker for pru tests
   2031   CC_FOR_TARGET_PRU
   2032               C compiler for pru tests
   2033   AS_FOR_TARGET_RISCV
   2034               Assembler for riscv tests
   2035   LD_FOR_TARGET_RISCV
   2036               Linker for riscv tests
   2037   CC_FOR_TARGET_RISCV
   2038               C compiler for riscv tests
   2039   AS_FOR_TARGET_RL78
   2040               Assembler for rl78 tests
   2041   LD_FOR_TARGET_RL78
   2042               Linker for rl78 tests
   2043   CC_FOR_TARGET_RL78
   2044               C compiler for rl78 tests
   2045   AS_FOR_TARGET_RX
   2046               Assembler for rx tests
   2047   LD_FOR_TARGET_RX
   2048               Linker for rx tests
   2049   CC_FOR_TARGET_RX
   2050               C compiler for rx tests
   2051   AS_FOR_TARGET_SH
   2052               Assembler for sh tests
   2053   LD_FOR_TARGET_SH
   2054               Linker for sh tests
   2055   CC_FOR_TARGET_SH
   2056               C compiler for sh tests
   2057   AS_FOR_TARGET_ERC32
   2058               Assembler for erc32 tests
   2059   LD_FOR_TARGET_ERC32
   2060               Linker for erc32 tests
   2061   CC_FOR_TARGET_ERC32
   2062               C compiler for erc32 tests
   2063   AS_FOR_TARGET_V850
   2064               Assembler for v850 tests
   2065   LD_FOR_TARGET_V850
   2066               Linker for v850 tests
   2067   CC_FOR_TARGET_V850
   2068               C compiler for v850 tests
   2069   AS_FOR_TARGET_EXAMPLE_SYNACOR
   2070               Assembler for example-synacor tests
   2071   LD_FOR_TARGET_EXAMPLE_SYNACOR
   2072               Linker for example-synacor tests
   2073   CC_FOR_TARGET_EXAMPLE_SYNACOR
   2074               C compiler for example-synacor tests
   2075 
   2076 Use these variables to override the choices made by `configure' or to help
   2077 it to find libraries and programs with nonstandard names/locations.
   2078 
   2079 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
   2080 sim home page: <https://sourceware.org/gdb/wiki/Sim/>.
   2081 _ACEOF
   2082 ac_status=$?
   2083 fi
   2084 
   2085 if test "$ac_init_help" = "recursive"; then
   2086   # If there are subdirs, report their specific --help.
   2087   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   2088     test -d "$ac_dir" ||
   2089       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   2090       continue
   2091     ac_builddir=.
   2092 
   2093 case "$ac_dir" in
   2094 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   2095 *)
   2096   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   2097   # A ".." for each directory in $ac_dir_suffix.
   2098   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   2099   case $ac_top_builddir_sub in
   2100   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   2101   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   2102   esac ;;
   2103 esac
   2104 ac_abs_top_builddir=$ac_pwd
   2105 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   2106 # for backward compatibility:
   2107 ac_top_builddir=$ac_top_build_prefix
   2108 
   2109 case $srcdir in
   2110   .)  # We are building in place.
   2111     ac_srcdir=.
   2112     ac_top_srcdir=$ac_top_builddir_sub
   2113     ac_abs_top_srcdir=$ac_pwd ;;
   2114   [\\/]* | ?:[\\/]* )  # Absolute name.
   2115     ac_srcdir=$srcdir$ac_dir_suffix;
   2116     ac_top_srcdir=$srcdir
   2117     ac_abs_top_srcdir=$srcdir ;;
   2118   *) # Relative name.
   2119     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   2120     ac_top_srcdir=$ac_top_build_prefix$srcdir
   2121     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   2122 esac
   2123 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   2124 
   2125     cd "$ac_dir" || { ac_status=$?; continue; }
   2126     # Check for guested configure.
   2127     if test -f "$ac_srcdir/configure.gnu"; then
   2128       echo &&
   2129       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   2130     elif test -f "$ac_srcdir/configure"; then
   2131       echo &&
   2132       $SHELL "$ac_srcdir/configure" --help=recursive
   2133     else
   2134       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   2135     fi || ac_status=$?
   2136     cd "$ac_pwd" || { ac_status=$?; break; }
   2137   done
   2138 fi
   2139 
   2140 test -n "$ac_init_help" && exit $ac_status
   2141 if $ac_init_version; then
   2142   cat <<\_ACEOF
   2143 sim configure 0
   2144 generated by GNU Autoconf 2.69
   2145 
   2146 Copyright (C) 2012 Free Software Foundation, Inc.
   2147 This configure script is free software; the Free Software Foundation
   2148 gives unlimited permission to copy, distribute and modify it.
   2149 _ACEOF
   2150   exit
   2151 fi
   2152 
   2153 ## ------------------------ ##
   2154 ## Autoconf initialization. ##
   2155 ## ------------------------ ##
   2156 
   2157 # ac_fn_c_try_compile LINENO
   2158 # --------------------------
   2159 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   2160 ac_fn_c_try_compile ()
   2161 {
   2162   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2163   rm -f conftest.$ac_objext
   2164   if { { ac_try="$ac_compile"
   2165 case "(($ac_try" in
   2166   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2167   *) ac_try_echo=$ac_try;;
   2168 esac
   2169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2170 $as_echo "$ac_try_echo"; } >&5
   2171   (eval "$ac_compile") 2>conftest.err
   2172   ac_status=$?
   2173   if test -s conftest.err; then
   2174     grep -v '^ *+' conftest.err >conftest.er1
   2175     cat conftest.er1 >&5
   2176     mv -f conftest.er1 conftest.err
   2177   fi
   2178   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2179   test $ac_status = 0; } && {
   2180 	 test -z "$ac_c_werror_flag" ||
   2181 	 test ! -s conftest.err
   2182        } && test -s conftest.$ac_objext; then :
   2183   ac_retval=0
   2184 else
   2185   $as_echo "$as_me: failed program was:" >&5
   2186 sed 's/^/| /' conftest.$ac_ext >&5
   2187 
   2188 	ac_retval=1
   2189 fi
   2190   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2191   as_fn_set_status $ac_retval
   2192 
   2193 } # ac_fn_c_try_compile
   2194 
   2195 # ac_fn_c_try_cpp LINENO
   2196 # ----------------------
   2197 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   2198 ac_fn_c_try_cpp ()
   2199 {
   2200   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2201   if { { ac_try="$ac_cpp conftest.$ac_ext"
   2202 case "(($ac_try" in
   2203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2204   *) ac_try_echo=$ac_try;;
   2205 esac
   2206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2207 $as_echo "$ac_try_echo"; } >&5
   2208   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   2209   ac_status=$?
   2210   if test -s conftest.err; then
   2211     grep -v '^ *+' conftest.err >conftest.er1
   2212     cat conftest.er1 >&5
   2213     mv -f conftest.er1 conftest.err
   2214   fi
   2215   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2216   test $ac_status = 0; } > conftest.i && {
   2217 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   2218 	 test ! -s conftest.err
   2219        }; then :
   2220   ac_retval=0
   2221 else
   2222   $as_echo "$as_me: failed program was:" >&5
   2223 sed 's/^/| /' conftest.$ac_ext >&5
   2224 
   2225     ac_retval=1
   2226 fi
   2227   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2228   as_fn_set_status $ac_retval
   2229 
   2230 } # ac_fn_c_try_cpp
   2231 
   2232 # ac_fn_c_try_run LINENO
   2233 # ----------------------
   2234 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   2235 # that executables *can* be run.
   2236 ac_fn_c_try_run ()
   2237 {
   2238   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2239   if { { ac_try="$ac_link"
   2240 case "(($ac_try" in
   2241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2242   *) ac_try_echo=$ac_try;;
   2243 esac
   2244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2245 $as_echo "$ac_try_echo"; } >&5
   2246   (eval "$ac_link") 2>&5
   2247   ac_status=$?
   2248   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2249   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   2250   { { case "(($ac_try" in
   2251   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2252   *) ac_try_echo=$ac_try;;
   2253 esac
   2254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2255 $as_echo "$ac_try_echo"; } >&5
   2256   (eval "$ac_try") 2>&5
   2257   ac_status=$?
   2258   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2259   test $ac_status = 0; }; }; then :
   2260   ac_retval=0
   2261 else
   2262   $as_echo "$as_me: program exited with status $ac_status" >&5
   2263        $as_echo "$as_me: failed program was:" >&5
   2264 sed 's/^/| /' conftest.$ac_ext >&5
   2265 
   2266        ac_retval=$ac_status
   2267 fi
   2268   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2269   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2270   as_fn_set_status $ac_retval
   2271 
   2272 } # ac_fn_c_try_run
   2273 
   2274 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   2275 # -------------------------------------------------------
   2276 # Tests whether HEADER exists and can be compiled using the include files in
   2277 # INCLUDES, setting the cache variable VAR accordingly.
   2278 ac_fn_c_check_header_compile ()
   2279 {
   2280   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2282 $as_echo_n "checking for $2... " >&6; }
   2283 if eval \${$3+:} false; then :
   2284   $as_echo_n "(cached) " >&6
   2285 else
   2286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2287 /* end confdefs.h.  */
   2288 $4
   2289 #include <$2>
   2290 _ACEOF
   2291 if ac_fn_c_try_compile "$LINENO"; then :
   2292   eval "$3=yes"
   2293 else
   2294   eval "$3=no"
   2295 fi
   2296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2297 fi
   2298 eval ac_res=\$$3
   2299 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2300 $as_echo "$ac_res" >&6; }
   2301   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2302 
   2303 } # ac_fn_c_check_header_compile
   2304 
   2305 # ac_fn_c_try_link LINENO
   2306 # -----------------------
   2307 # Try to link conftest.$ac_ext, and return whether this succeeded.
   2308 ac_fn_c_try_link ()
   2309 {
   2310   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2311   rm -f conftest.$ac_objext conftest$ac_exeext
   2312   if { { ac_try="$ac_link"
   2313 case "(($ac_try" in
   2314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2315   *) ac_try_echo=$ac_try;;
   2316 esac
   2317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2318 $as_echo "$ac_try_echo"; } >&5
   2319   (eval "$ac_link") 2>conftest.err
   2320   ac_status=$?
   2321   if test -s conftest.err; then
   2322     grep -v '^ *+' conftest.err >conftest.er1
   2323     cat conftest.er1 >&5
   2324     mv -f conftest.er1 conftest.err
   2325   fi
   2326   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2327   test $ac_status = 0; } && {
   2328 	 test -z "$ac_c_werror_flag" ||
   2329 	 test ! -s conftest.err
   2330        } && test -s conftest$ac_exeext && {
   2331 	 test "$cross_compiling" = yes ||
   2332 	 test -x conftest$ac_exeext
   2333        }; then :
   2334   ac_retval=0
   2335 else
   2336   $as_echo "$as_me: failed program was:" >&5
   2337 sed 's/^/| /' conftest.$ac_ext >&5
   2338 
   2339 	ac_retval=1
   2340 fi
   2341   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2342   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2343   # interfere with the next link command; also delete a directory that is
   2344   # left behind by Apple's compiler.  We do this before executing the actions.
   2345   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2346   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2347   as_fn_set_status $ac_retval
   2348 
   2349 } # ac_fn_c_try_link
   2350 
   2351 # ac_fn_c_check_func LINENO FUNC VAR
   2352 # ----------------------------------
   2353 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   2354 ac_fn_c_check_func ()
   2355 {
   2356   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2357   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2358 $as_echo_n "checking for $2... " >&6; }
   2359 if eval \${$3+:} false; then :
   2360   $as_echo_n "(cached) " >&6
   2361 else
   2362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2363 /* end confdefs.h.  */
   2364 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2365    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2366 #define $2 innocuous_$2
   2367 
   2368 /* System header to define __stub macros and hopefully few prototypes,
   2369     which can conflict with char $2 (); below.
   2370     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2371     <limits.h> exists even on freestanding compilers.  */
   2372 
   2373 #ifdef __STDC__
   2374 # include <limits.h>
   2375 #else
   2376 # include <assert.h>
   2377 #endif
   2378 
   2379 #undef $2
   2380 
   2381 /* Override any GCC internal prototype to avoid an error.
   2382    Use char because int might match the return type of a GCC
   2383    builtin and then its argument prototype would still apply.  */
   2384 #ifdef __cplusplus
   2385 extern "C"
   2386 #endif
   2387 char $2 ();
   2388 /* The GNU C library defines this for functions which it implements
   2389     to always fail with ENOSYS.  Some functions are actually named
   2390     something starting with __ and the normal name is an alias.  */
   2391 #if defined __stub_$2 || defined __stub___$2
   2392 choke me
   2393 #endif
   2394 
   2395 int
   2396 main ()
   2397 {
   2398 return $2 ();
   2399   ;
   2400   return 0;
   2401 }
   2402 _ACEOF
   2403 if ac_fn_c_try_link "$LINENO"; then :
   2404   eval "$3=yes"
   2405 else
   2406   eval "$3=no"
   2407 fi
   2408 rm -f core conftest.err conftest.$ac_objext \
   2409     conftest$ac_exeext conftest.$ac_ext
   2410 fi
   2411 eval ac_res=\$$3
   2412 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2413 $as_echo "$ac_res" >&6; }
   2414   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2415 
   2416 } # ac_fn_c_check_func
   2417 
   2418 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2419 # ----------------------------------------------------
   2420 # Tries to find if the field MEMBER exists in type AGGR, after including
   2421 # INCLUDES, setting cache variable VAR accordingly.
   2422 ac_fn_c_check_member ()
   2423 {
   2424   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2426 $as_echo_n "checking for $2.$3... " >&6; }
   2427 if eval \${$4+:} false; then :
   2428   $as_echo_n "(cached) " >&6
   2429 else
   2430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2431 /* end confdefs.h.  */
   2432 $5
   2433 int
   2434 main ()
   2435 {
   2436 static $2 ac_aggr;
   2437 if (ac_aggr.$3)
   2438 return 0;
   2439   ;
   2440   return 0;
   2441 }
   2442 _ACEOF
   2443 if ac_fn_c_try_compile "$LINENO"; then :
   2444   eval "$4=yes"
   2445 else
   2446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2447 /* end confdefs.h.  */
   2448 $5
   2449 int
   2450 main ()
   2451 {
   2452 static $2 ac_aggr;
   2453 if (sizeof ac_aggr.$3)
   2454 return 0;
   2455   ;
   2456   return 0;
   2457 }
   2458 _ACEOF
   2459 if ac_fn_c_try_compile "$LINENO"; then :
   2460   eval "$4=yes"
   2461 else
   2462   eval "$4=no"
   2463 fi
   2464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2465 fi
   2466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2467 fi
   2468 eval ac_res=\$$4
   2469 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2470 $as_echo "$ac_res" >&6; }
   2471   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2472 
   2473 } # ac_fn_c_check_member
   2474 
   2475 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2476 # ---------------------------------------------
   2477 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2478 # accordingly.
   2479 ac_fn_c_check_decl ()
   2480 {
   2481   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2482   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2483   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2485 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2486 if eval \${$3+:} false; then :
   2487   $as_echo_n "(cached) " >&6
   2488 else
   2489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2490 /* end confdefs.h.  */
   2491 $4
   2492 int
   2493 main ()
   2494 {
   2495 #ifndef $as_decl_name
   2496 #ifdef __cplusplus
   2497   (void) $as_decl_use;
   2498 #else
   2499   (void) $as_decl_name;
   2500 #endif
   2501 #endif
   2502 
   2503   ;
   2504   return 0;
   2505 }
   2506 _ACEOF
   2507 if ac_fn_c_try_compile "$LINENO"; then :
   2508   eval "$3=yes"
   2509 else
   2510   eval "$3=no"
   2511 fi
   2512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2513 fi
   2514 eval ac_res=\$$3
   2515 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2516 $as_echo "$ac_res" >&6; }
   2517   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2518 
   2519 } # ac_fn_c_check_decl
   2520 
   2521 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2522 # -------------------------------------------
   2523 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2524 # variable VAR accordingly.
   2525 ac_fn_c_check_type ()
   2526 {
   2527   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2529 $as_echo_n "checking for $2... " >&6; }
   2530 if eval \${$3+:} false; then :
   2531   $as_echo_n "(cached) " >&6
   2532 else
   2533   eval "$3=no"
   2534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2535 /* end confdefs.h.  */
   2536 $4
   2537 int
   2538 main ()
   2539 {
   2540 if (sizeof ($2))
   2541 	 return 0;
   2542   ;
   2543   return 0;
   2544 }
   2545 _ACEOF
   2546 if ac_fn_c_try_compile "$LINENO"; then :
   2547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2548 /* end confdefs.h.  */
   2549 $4
   2550 int
   2551 main ()
   2552 {
   2553 if (sizeof (($2)))
   2554 	    return 0;
   2555   ;
   2556   return 0;
   2557 }
   2558 _ACEOF
   2559 if ac_fn_c_try_compile "$LINENO"; then :
   2560 
   2561 else
   2562   eval "$3=yes"
   2563 fi
   2564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2565 fi
   2566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2567 fi
   2568 eval ac_res=\$$3
   2569 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2570 $as_echo "$ac_res" >&6; }
   2571   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2572 
   2573 } # ac_fn_c_check_type
   2574 
   2575 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2576 # --------------------------------------------
   2577 # Tries to find the compile-time value of EXPR in a program that includes
   2578 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2579 # computed
   2580 ac_fn_c_compute_int ()
   2581 {
   2582   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2583   if test "$cross_compiling" = yes; then
   2584     # Depending upon the size, compute the lo and hi bounds.
   2585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2586 /* end confdefs.h.  */
   2587 $4
   2588 int
   2589 main ()
   2590 {
   2591 static int test_array [1 - 2 * !(($2) >= 0)];
   2592 test_array [0] = 0;
   2593 return test_array [0];
   2594 
   2595   ;
   2596   return 0;
   2597 }
   2598 _ACEOF
   2599 if ac_fn_c_try_compile "$LINENO"; then :
   2600   ac_lo=0 ac_mid=0
   2601   while :; do
   2602     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2603 /* end confdefs.h.  */
   2604 $4
   2605 int
   2606 main ()
   2607 {
   2608 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2609 test_array [0] = 0;
   2610 return test_array [0];
   2611 
   2612   ;
   2613   return 0;
   2614 }
   2615 _ACEOF
   2616 if ac_fn_c_try_compile "$LINENO"; then :
   2617   ac_hi=$ac_mid; break
   2618 else
   2619   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2620 			if test $ac_lo -le $ac_mid; then
   2621 			  ac_lo= ac_hi=
   2622 			  break
   2623 			fi
   2624 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2625 fi
   2626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2627   done
   2628 else
   2629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2630 /* end confdefs.h.  */
   2631 $4
   2632 int
   2633 main ()
   2634 {
   2635 static int test_array [1 - 2 * !(($2) < 0)];
   2636 test_array [0] = 0;
   2637 return test_array [0];
   2638 
   2639   ;
   2640   return 0;
   2641 }
   2642 _ACEOF
   2643 if ac_fn_c_try_compile "$LINENO"; then :
   2644   ac_hi=-1 ac_mid=-1
   2645   while :; do
   2646     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2647 /* end confdefs.h.  */
   2648 $4
   2649 int
   2650 main ()
   2651 {
   2652 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2653 test_array [0] = 0;
   2654 return test_array [0];
   2655 
   2656   ;
   2657   return 0;
   2658 }
   2659 _ACEOF
   2660 if ac_fn_c_try_compile "$LINENO"; then :
   2661   ac_lo=$ac_mid; break
   2662 else
   2663   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2664 			if test $ac_mid -le $ac_hi; then
   2665 			  ac_lo= ac_hi=
   2666 			  break
   2667 			fi
   2668 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2669 fi
   2670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2671   done
   2672 else
   2673   ac_lo= ac_hi=
   2674 fi
   2675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2676 fi
   2677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2678 # Binary search between lo and hi bounds.
   2679 while test "x$ac_lo" != "x$ac_hi"; do
   2680   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2682 /* end confdefs.h.  */
   2683 $4
   2684 int
   2685 main ()
   2686 {
   2687 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2688 test_array [0] = 0;
   2689 return test_array [0];
   2690 
   2691   ;
   2692   return 0;
   2693 }
   2694 _ACEOF
   2695 if ac_fn_c_try_compile "$LINENO"; then :
   2696   ac_hi=$ac_mid
   2697 else
   2698   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2699 fi
   2700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2701 done
   2702 case $ac_lo in #((
   2703 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2704 '') ac_retval=1 ;;
   2705 esac
   2706   else
   2707     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2708 /* end confdefs.h.  */
   2709 $4
   2710 static long int longval () { return $2; }
   2711 static unsigned long int ulongval () { return $2; }
   2712 #include <stdio.h>
   2713 #include <stdlib.h>
   2714 int
   2715 main ()
   2716 {
   2717 
   2718   FILE *f = fopen ("conftest.val", "w");
   2719   if (! f)
   2720     return 1;
   2721   if (($2) < 0)
   2722     {
   2723       long int i = longval ();
   2724       if (i != ($2))
   2725 	return 1;
   2726       fprintf (f, "%ld", i);
   2727     }
   2728   else
   2729     {
   2730       unsigned long int i = ulongval ();
   2731       if (i != ($2))
   2732 	return 1;
   2733       fprintf (f, "%lu", i);
   2734     }
   2735   /* Do not output a trailing newline, as this causes \r\n confusion
   2736      on some platforms.  */
   2737   return ferror (f) || fclose (f) != 0;
   2738 
   2739   ;
   2740   return 0;
   2741 }
   2742 _ACEOF
   2743 if ac_fn_c_try_run "$LINENO"; then :
   2744   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2745 else
   2746   ac_retval=1
   2747 fi
   2748 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2749   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2750 rm -f conftest.val
   2751 
   2752   fi
   2753   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2754   as_fn_set_status $ac_retval
   2755 
   2756 } # ac_fn_c_compute_int
   2757 cat >config.log <<_ACEOF
   2758 This file contains any messages produced by compilers while
   2759 running configure, to aid debugging if configure makes a mistake.
   2760 
   2761 It was created by sim $as_me 0, which was
   2762 generated by GNU Autoconf 2.69.  Invocation command line was
   2763 
   2764   $ $0 $@
   2765 
   2766 _ACEOF
   2767 exec 5>>config.log
   2768 {
   2769 cat <<_ASUNAME
   2770 ## --------- ##
   2771 ## Platform. ##
   2772 ## --------- ##
   2773 
   2774 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2775 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2776 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2777 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2778 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2779 
   2780 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2781 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2782 
   2783 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2784 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2785 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2786 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2787 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2788 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2789 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2790 
   2791 _ASUNAME
   2792 
   2793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2794 for as_dir in $PATH
   2795 do
   2796   IFS=$as_save_IFS
   2797   test -z "$as_dir" && as_dir=.
   2798     $as_echo "PATH: $as_dir"
   2799   done
   2800 IFS=$as_save_IFS
   2801 
   2802 } >&5
   2803 
   2804 cat >&5 <<_ACEOF
   2805 
   2806 
   2807 ## ----------- ##
   2808 ## Core tests. ##
   2809 ## ----------- ##
   2810 
   2811 _ACEOF
   2812 
   2813 
   2814 # Keep a trace of the command line.
   2815 # Strip out --no-create and --no-recursion so they do not pile up.
   2816 # Strip out --silent because we don't want to record it for future runs.
   2817 # Also quote any args containing shell meta-characters.
   2818 # Make two passes to allow for proper duplicate-argument suppression.
   2819 ac_configure_args=
   2820 ac_configure_args0=
   2821 ac_configure_args1=
   2822 ac_must_keep_next=false
   2823 for ac_pass in 1 2
   2824 do
   2825   for ac_arg
   2826   do
   2827     case $ac_arg in
   2828     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2829     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2830     | -silent | --silent | --silen | --sile | --sil)
   2831       continue ;;
   2832     *\'*)
   2833       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2834     esac
   2835     case $ac_pass in
   2836     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2837     2)
   2838       as_fn_append ac_configure_args1 " '$ac_arg'"
   2839       if test $ac_must_keep_next = true; then
   2840 	ac_must_keep_next=false # Got value, back to normal.
   2841       else
   2842 	case $ac_arg in
   2843 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2844 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2845 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2846 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2847 	    case "$ac_configure_args0 " in
   2848 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2849 	    esac
   2850 	    ;;
   2851 	  -* ) ac_must_keep_next=true ;;
   2852 	esac
   2853       fi
   2854       as_fn_append ac_configure_args " '$ac_arg'"
   2855       ;;
   2856     esac
   2857   done
   2858 done
   2859 { ac_configure_args0=; unset ac_configure_args0;}
   2860 { ac_configure_args1=; unset ac_configure_args1;}
   2861 
   2862 # When interrupted or exit'd, cleanup temporary files, and complete
   2863 # config.log.  We remove comments because anyway the quotes in there
   2864 # would cause problems or look ugly.
   2865 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2866 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2867 trap 'exit_status=$?
   2868   # Save into config.log some information that might help in debugging.
   2869   {
   2870     echo
   2871 
   2872     $as_echo "## ---------------- ##
   2873 ## Cache variables. ##
   2874 ## ---------------- ##"
   2875     echo
   2876     # The following way of writing the cache mishandles newlines in values,
   2877 (
   2878   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2879     eval ac_val=\$$ac_var
   2880     case $ac_val in #(
   2881     *${as_nl}*)
   2882       case $ac_var in #(
   2883       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2884 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2885       esac
   2886       case $ac_var in #(
   2887       _ | IFS | as_nl) ;; #(
   2888       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2889       *) { eval $ac_var=; unset $ac_var;} ;;
   2890       esac ;;
   2891     esac
   2892   done
   2893   (set) 2>&1 |
   2894     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2895     *${as_nl}ac_space=\ *)
   2896       sed -n \
   2897 	"s/'\''/'\''\\\\'\'''\''/g;
   2898 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2899       ;; #(
   2900     *)
   2901       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2902       ;;
   2903     esac |
   2904     sort
   2905 )
   2906     echo
   2907 
   2908     $as_echo "## ----------------- ##
   2909 ## Output variables. ##
   2910 ## ----------------- ##"
   2911     echo
   2912     for ac_var in $ac_subst_vars
   2913     do
   2914       eval ac_val=\$$ac_var
   2915       case $ac_val in
   2916       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2917       esac
   2918       $as_echo "$ac_var='\''$ac_val'\''"
   2919     done | sort
   2920     echo
   2921 
   2922     if test -n "$ac_subst_files"; then
   2923       $as_echo "## ------------------- ##
   2924 ## File substitutions. ##
   2925 ## ------------------- ##"
   2926       echo
   2927       for ac_var in $ac_subst_files
   2928       do
   2929 	eval ac_val=\$$ac_var
   2930 	case $ac_val in
   2931 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2932 	esac
   2933 	$as_echo "$ac_var='\''$ac_val'\''"
   2934       done | sort
   2935       echo
   2936     fi
   2937 
   2938     if test -s confdefs.h; then
   2939       $as_echo "## ----------- ##
   2940 ## confdefs.h. ##
   2941 ## ----------- ##"
   2942       echo
   2943       cat confdefs.h
   2944       echo
   2945     fi
   2946     test "$ac_signal" != 0 &&
   2947       $as_echo "$as_me: caught signal $ac_signal"
   2948     $as_echo "$as_me: exit $exit_status"
   2949   } >&5
   2950   rm -f core *.core core.conftest.* &&
   2951     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2952     exit $exit_status
   2953 ' 0
   2954 for ac_signal in 1 2 13 15; do
   2955   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2956 done
   2957 ac_signal=0
   2958 
   2959 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2960 rm -f -r conftest* confdefs.h
   2961 
   2962 $as_echo "/* confdefs.h */" > confdefs.h
   2963 
   2964 # Predefined preprocessor variables.
   2965 
   2966 cat >>confdefs.h <<_ACEOF
   2967 #define PACKAGE_NAME "$PACKAGE_NAME"
   2968 _ACEOF
   2969 
   2970 cat >>confdefs.h <<_ACEOF
   2971 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2972 _ACEOF
   2973 
   2974 cat >>confdefs.h <<_ACEOF
   2975 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2976 _ACEOF
   2977 
   2978 cat >>confdefs.h <<_ACEOF
   2979 #define PACKAGE_STRING "$PACKAGE_STRING"
   2980 _ACEOF
   2981 
   2982 cat >>confdefs.h <<_ACEOF
   2983 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2984 _ACEOF
   2985 
   2986 cat >>confdefs.h <<_ACEOF
   2987 #define PACKAGE_URL "$PACKAGE_URL"
   2988 _ACEOF
   2989 
   2990 
   2991 # Let the site file select an alternate cache file if it wants to.
   2992 # Prefer an explicitly selected file to automatically selected ones.
   2993 ac_site_file1=NONE
   2994 ac_site_file2=NONE
   2995 if test -n "$CONFIG_SITE"; then
   2996   # We do not want a PATH search for config.site.
   2997   case $CONFIG_SITE in #((
   2998     -*)  ac_site_file1=./$CONFIG_SITE;;
   2999     */*) ac_site_file1=$CONFIG_SITE;;
   3000     *)   ac_site_file1=./$CONFIG_SITE;;
   3001   esac
   3002 elif test "x$prefix" != xNONE; then
   3003   ac_site_file1=$prefix/share/config.site
   3004   ac_site_file2=$prefix/etc/config.site
   3005 else
   3006   ac_site_file1=$ac_default_prefix/share/config.site
   3007   ac_site_file2=$ac_default_prefix/etc/config.site
   3008 fi
   3009 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   3010 do
   3011   test "x$ac_site_file" = xNONE && continue
   3012   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   3013     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   3014 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   3015     sed 's/^/| /' "$ac_site_file" >&5
   3016     . "$ac_site_file" \
   3017       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3019 as_fn_error $? "failed to load site script $ac_site_file
   3020 See \`config.log' for more details" "$LINENO" 5; }
   3021   fi
   3022 done
   3023 
   3024 if test -r "$cache_file"; then
   3025   # Some versions of bash will fail to source /dev/null (special files
   3026   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   3027   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   3028     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   3029 $as_echo "$as_me: loading cache $cache_file" >&6;}
   3030     case $cache_file in
   3031       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   3032       *)                      . "./$cache_file";;
   3033     esac
   3034   fi
   3035 else
   3036   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   3037 $as_echo "$as_me: creating cache $cache_file" >&6;}
   3038   >$cache_file
   3039 fi
   3040 
   3041 as_fn_append ac_header_list " dlfcn.h"
   3042 as_fn_append ac_header_list " fcntl.h"
   3043 as_fn_append ac_header_list " fpu_control.h"
   3044 as_fn_append ac_header_list " termios.h"
   3045 as_fn_append ac_header_list " utime.h"
   3046 as_fn_append ac_header_list " linux/if_tun.h"
   3047 as_fn_append ac_header_list " linux/mii.h"
   3048 as_fn_append ac_header_list " linux/types.h"
   3049 as_fn_append ac_header_list " net/if.h"
   3050 as_fn_append ac_header_list " netinet/in.h"
   3051 as_fn_append ac_header_list " netinet/tcp.h"
   3052 as_fn_append ac_header_list " sys/ioctl.h"
   3053 as_fn_append ac_header_list " sys/mman.h"
   3054 as_fn_append ac_header_list " sys/mount.h"
   3055 as_fn_append ac_header_list " sys/param.h"
   3056 as_fn_append ac_header_list " sys/resource.h"
   3057 as_fn_append ac_header_list " sys/socket.h"
   3058 as_fn_append ac_header_list " sys/statfs.h"
   3059 as_fn_append ac_header_list " sys/termio.h"
   3060 as_fn_append ac_header_list " sys/termios.h"
   3061 as_fn_append ac_header_list " sys/types.h"
   3062 as_fn_append ac_header_list " sys/vfs.h"
   3063 as_fn_append ac_func_list " __setfpucw"
   3064 as_fn_append ac_func_list " access"
   3065 as_fn_append ac_func_list " aint"
   3066 as_fn_append ac_func_list " anint"
   3067 as_fn_append ac_func_list " cfgetispeed"
   3068 as_fn_append ac_func_list " cfgetospeed"
   3069 as_fn_append ac_func_list " cfsetispeed"
   3070 as_fn_append ac_func_list " cfsetospeed"
   3071 as_fn_append ac_func_list " chdir"
   3072 as_fn_append ac_func_list " chmod"
   3073 as_fn_append ac_func_list " dup"
   3074 as_fn_append ac_func_list " dup2"
   3075 as_fn_append ac_func_list " execv"
   3076 as_fn_append ac_func_list " execve"
   3077 as_fn_append ac_func_list " fcntl"
   3078 as_fn_append ac_func_list " fork"
   3079 as_fn_append ac_func_list " fstat"
   3080 as_fn_append ac_func_list " fstatfs"
   3081 as_fn_append ac_func_list " ftruncate"
   3082 as_fn_append ac_func_list " getdirentries"
   3083 as_fn_append ac_func_list " getegid"
   3084 as_fn_append ac_func_list " geteuid"
   3085 as_fn_append ac_func_list " getgid"
   3086 as_fn_append ac_func_list " getpid"
   3087 as_fn_append ac_func_list " getppid"
   3088 as_fn_append ac_func_list " getrusage"
   3089 as_fn_append ac_func_list " gettimeofday"
   3090 as_fn_append ac_func_list " getuid"
   3091 as_fn_append ac_func_list " ioctl"
   3092 as_fn_append ac_func_list " kill"
   3093 as_fn_append ac_func_list " link"
   3094 as_fn_append ac_func_list " lseek"
   3095 as_fn_append ac_func_list " lstat"
   3096 as_fn_append ac_func_list " mkdir"
   3097 as_fn_append ac_func_list " mmap"
   3098 as_fn_append ac_func_list " munmap"
   3099 as_fn_append ac_func_list " pipe"
   3100 as_fn_append ac_func_list " posix_fallocate"
   3101 as_fn_append ac_func_list " pread"
   3102 as_fn_append ac_func_list " rmdir"
   3103 as_fn_append ac_func_list " setregid"
   3104 as_fn_append ac_func_list " setreuid"
   3105 as_fn_append ac_func_list " setgid"
   3106 as_fn_append ac_func_list " setuid"
   3107 as_fn_append ac_func_list " sigaction"
   3108 as_fn_append ac_func_list " sigprocmask"
   3109 as_fn_append ac_func_list " sqrt"
   3110 as_fn_append ac_func_list " stat"
   3111 as_fn_append ac_func_list " strsignal"
   3112 as_fn_append ac_func_list " symlink"
   3113 as_fn_append ac_func_list " tcdrain"
   3114 as_fn_append ac_func_list " tcflow"
   3115 as_fn_append ac_func_list " tcflush"
   3116 as_fn_append ac_func_list " tcgetattr"
   3117 as_fn_append ac_func_list " tcgetpgrp"
   3118 as_fn_append ac_func_list " tcsendbreak"
   3119 as_fn_append ac_func_list " tcsetattr"
   3120 as_fn_append ac_func_list " tcsetpgrp"
   3121 as_fn_append ac_func_list " time"
   3122 as_fn_append ac_func_list " truncate"
   3123 as_fn_append ac_func_list " umask"
   3124 as_fn_append ac_func_list " unlink"
   3125 as_fn_append ac_func_list " utime"
   3126 # Check that the precious variables saved in the cache have kept the same
   3127 # value.
   3128 ac_cache_corrupted=false
   3129 for ac_var in $ac_precious_vars; do
   3130   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   3131   eval ac_new_set=\$ac_env_${ac_var}_set
   3132   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   3133   eval ac_new_val=\$ac_env_${ac_var}_value
   3134   case $ac_old_set,$ac_new_set in
   3135     set,)
   3136       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   3137 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   3138       ac_cache_corrupted=: ;;
   3139     ,set)
   3140       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   3141 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   3142       ac_cache_corrupted=: ;;
   3143     ,);;
   3144     *)
   3145       if test "x$ac_old_val" != "x$ac_new_val"; then
   3146 	# differences in whitespace do not lead to failure.
   3147 	ac_old_val_w=`echo x $ac_old_val`
   3148 	ac_new_val_w=`echo x $ac_new_val`
   3149 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   3150 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   3151 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   3152 	  ac_cache_corrupted=:
   3153 	else
   3154 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   3155 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   3156 	  eval $ac_var=\$ac_old_val
   3157 	fi
   3158 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   3159 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   3160 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   3161 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   3162       fi;;
   3163   esac
   3164   # Pass precious variables to config.status.
   3165   if test "$ac_new_set" = set; then
   3166     case $ac_new_val in
   3167     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   3168     *) ac_arg=$ac_var=$ac_new_val ;;
   3169     esac
   3170     case " $ac_configure_args " in
   3171       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   3172       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   3173     esac
   3174   fi
   3175 done
   3176 if $ac_cache_corrupted; then
   3177   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3179   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   3180 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   3181   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   3182 fi
   3183 ## -------------------- ##
   3184 ## Main body of script. ##
   3185 ## -------------------- ##
   3186 
   3187 ac_ext=c
   3188 ac_cpp='$CPP $CPPFLAGS'
   3189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3192 
   3193 
   3194 
   3195 
   3196 
   3197 
   3198 
   3199 
   3200 # Check whether --with-pkgversion was given.
   3201 if test "${with_pkgversion+set}" = set; then :
   3202   withval=$with_pkgversion; case "$withval" in
   3203       yes) as_fn_error $? "package version not specified" "$LINENO" 5 ;;
   3204       no)  PKGVERSION= ;;
   3205       *)   PKGVERSION="($withval) " ;;
   3206      esac
   3207 else
   3208   PKGVERSION="(SIM) "
   3209 
   3210 fi
   3211 
   3212 
   3213 
   3214 
   3215 cat >>confdefs.h <<_ACEOF
   3216 #define PKGVERSION "$PKGVERSION"
   3217 _ACEOF
   3218 
   3219 
   3220 
   3221 # Check whether --with-bugurl was given.
   3222 if test "${with_bugurl+set}" = set; then :
   3223   withval=$with_bugurl; case "$withval" in
   3224       yes) as_fn_error $? "bug URL not specified" "$LINENO" 5 ;;
   3225       no)  BUGURL=
   3226 	   ;;
   3227       *)   BUGURL="$withval"
   3228 	   ;;
   3229      esac
   3230 else
   3231   BUGURL="$PACKAGE_BUGREPORT"
   3232 
   3233 fi
   3234 
   3235   case ${BUGURL} in
   3236   "")
   3237     REPORT_BUGS_TO=
   3238     REPORT_BUGS_TEXI=
   3239     ;;
   3240   *)
   3241     REPORT_BUGS_TO="<$BUGURL>"
   3242     REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`}
   3243     ;;
   3244   esac;
   3245 
   3246 
   3247 
   3248 
   3249 cat >>confdefs.h <<_ACEOF
   3250 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
   3251 _ACEOF
   3252 
   3253 
   3254 ac_config_headers="$ac_config_headers config.h"
   3255 
   3256 
   3257 . $srcdir/../bfd/development.sh
   3258 
   3259 ac_aux_dir=
   3260 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   3261   if test -f "$ac_dir/install-sh"; then
   3262     ac_aux_dir=$ac_dir
   3263     ac_install_sh="$ac_aux_dir/install-sh -c"
   3264     break
   3265   elif test -f "$ac_dir/install.sh"; then
   3266     ac_aux_dir=$ac_dir
   3267     ac_install_sh="$ac_aux_dir/install.sh -c"
   3268     break
   3269   elif test -f "$ac_dir/shtool"; then
   3270     ac_aux_dir=$ac_dir
   3271     ac_install_sh="$ac_aux_dir/shtool install -c"
   3272     break
   3273   fi
   3274 done
   3275 if test -z "$ac_aux_dir"; then
   3276   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   3277 fi
   3278 
   3279 # These three variables are undocumented and unsupported,
   3280 # and are intended to be withdrawn in a future Autoconf release.
   3281 # They can cause serious problems if a builder's source tree is in a directory
   3282 # whose full name contains unusual characters.
   3283 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   3284 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   3285 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   3286 
   3287 
   3288 # Make sure we can run config.sub.
   3289 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3290   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3291 
   3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3293 $as_echo_n "checking build system type... " >&6; }
   3294 if ${ac_cv_build+:} false; then :
   3295   $as_echo_n "(cached) " >&6
   3296 else
   3297   ac_build_alias=$build_alias
   3298 test "x$ac_build_alias" = x &&
   3299   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3300 test "x$ac_build_alias" = x &&
   3301   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3302 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3303   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3304 
   3305 fi
   3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3307 $as_echo "$ac_cv_build" >&6; }
   3308 case $ac_cv_build in
   3309 *-*-*) ;;
   3310 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3311 esac
   3312 build=$ac_cv_build
   3313 ac_save_IFS=$IFS; IFS='-'
   3314 set x $ac_cv_build
   3315 shift
   3316 build_cpu=$1
   3317 build_vendor=$2
   3318 shift; shift
   3319 # Remember, the first character of IFS is used to create $*,
   3320 # except with old shells:
   3321 build_os=$*
   3322 IFS=$ac_save_IFS
   3323 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3324 
   3325 
   3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3327 $as_echo_n "checking host system type... " >&6; }
   3328 if ${ac_cv_host+:} false; then :
   3329   $as_echo_n "(cached) " >&6
   3330 else
   3331   if test "x$host_alias" = x; then
   3332   ac_cv_host=$ac_cv_build
   3333 else
   3334   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3335     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3336 fi
   3337 
   3338 fi
   3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3340 $as_echo "$ac_cv_host" >&6; }
   3341 case $ac_cv_host in
   3342 *-*-*) ;;
   3343 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3344 esac
   3345 host=$ac_cv_host
   3346 ac_save_IFS=$IFS; IFS='-'
   3347 set x $ac_cv_host
   3348 shift
   3349 host_cpu=$1
   3350 host_vendor=$2
   3351 shift; shift
   3352 # Remember, the first character of IFS is used to create $*,
   3353 # except with old shells:
   3354 host_os=$*
   3355 IFS=$ac_save_IFS
   3356 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3357 
   3358 
   3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   3360 $as_echo_n "checking target system type... " >&6; }
   3361 if ${ac_cv_target+:} false; then :
   3362   $as_echo_n "(cached) " >&6
   3363 else
   3364   if test "x$target_alias" = x; then
   3365   ac_cv_target=$ac_cv_host
   3366 else
   3367   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   3368     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   3369 fi
   3370 
   3371 fi
   3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   3373 $as_echo "$ac_cv_target" >&6; }
   3374 case $ac_cv_target in
   3375 *-*-*) ;;
   3376 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   3377 esac
   3378 target=$ac_cv_target
   3379 ac_save_IFS=$IFS; IFS='-'
   3380 set x $ac_cv_target
   3381 shift
   3382 target_cpu=$1
   3383 target_vendor=$2
   3384 shift; shift
   3385 # Remember, the first character of IFS is used to create $*,
   3386 # except with old shells:
   3387 target_os=$*
   3388 IFS=$ac_save_IFS
   3389 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   3390 
   3391 
   3392 # The aliases save the names the user supplied, while $host etc.
   3393 # will get canonicalized.
   3394 test -n "$target_alias" &&
   3395   test "$program_prefix$program_suffix$program_transform_name" = \
   3396     NONENONEs,x,x, &&
   3397   program_prefix=${target_alias}-
   3398 # Expand $ac_aux_dir to an absolute path.
   3399 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3400 
   3401 ac_ext=c
   3402 ac_cpp='$CPP $CPPFLAGS'
   3403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3406 if test -n "$ac_tool_prefix"; then
   3407   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3408 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3410 $as_echo_n "checking for $ac_word... " >&6; }
   3411 if ${ac_cv_prog_CC+:} false; then :
   3412   $as_echo_n "(cached) " >&6
   3413 else
   3414   if test -n "$CC"; then
   3415   ac_cv_prog_CC="$CC" # Let the user override the test.
   3416 else
   3417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3418 for as_dir in $PATH
   3419 do
   3420   IFS=$as_save_IFS
   3421   test -z "$as_dir" && as_dir=.
   3422     for ac_exec_ext in '' $ac_executable_extensions; do
   3423   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3424     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3426     break 2
   3427   fi
   3428 done
   3429   done
   3430 IFS=$as_save_IFS
   3431 
   3432 fi
   3433 fi
   3434 CC=$ac_cv_prog_CC
   3435 if test -n "$CC"; then
   3436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3437 $as_echo "$CC" >&6; }
   3438 else
   3439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3440 $as_echo "no" >&6; }
   3441 fi
   3442 
   3443 
   3444 fi
   3445 if test -z "$ac_cv_prog_CC"; then
   3446   ac_ct_CC=$CC
   3447   # Extract the first word of "gcc", so it can be a program name with args.
   3448 set dummy gcc; ac_word=$2
   3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3450 $as_echo_n "checking for $ac_word... " >&6; }
   3451 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3452   $as_echo_n "(cached) " >&6
   3453 else
   3454   if test -n "$ac_ct_CC"; then
   3455   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3456 else
   3457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3458 for as_dir in $PATH
   3459 do
   3460   IFS=$as_save_IFS
   3461   test -z "$as_dir" && as_dir=.
   3462     for ac_exec_ext in '' $ac_executable_extensions; do
   3463   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3464     ac_cv_prog_ac_ct_CC="gcc"
   3465     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3466     break 2
   3467   fi
   3468 done
   3469   done
   3470 IFS=$as_save_IFS
   3471 
   3472 fi
   3473 fi
   3474 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3475 if test -n "$ac_ct_CC"; then
   3476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3477 $as_echo "$ac_ct_CC" >&6; }
   3478 else
   3479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3480 $as_echo "no" >&6; }
   3481 fi
   3482 
   3483   if test "x$ac_ct_CC" = x; then
   3484     CC=""
   3485   else
   3486     case $cross_compiling:$ac_tool_warned in
   3487 yes:)
   3488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3490 ac_tool_warned=yes ;;
   3491 esac
   3492     CC=$ac_ct_CC
   3493   fi
   3494 else
   3495   CC="$ac_cv_prog_CC"
   3496 fi
   3497 
   3498 if test -z "$CC"; then
   3499           if test -n "$ac_tool_prefix"; then
   3500     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3501 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3503 $as_echo_n "checking for $ac_word... " >&6; }
   3504 if ${ac_cv_prog_CC+:} false; then :
   3505   $as_echo_n "(cached) " >&6
   3506 else
   3507   if test -n "$CC"; then
   3508   ac_cv_prog_CC="$CC" # Let the user override the test.
   3509 else
   3510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3511 for as_dir in $PATH
   3512 do
   3513   IFS=$as_save_IFS
   3514   test -z "$as_dir" && as_dir=.
   3515     for ac_exec_ext in '' $ac_executable_extensions; do
   3516   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3517     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3518     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3519     break 2
   3520   fi
   3521 done
   3522   done
   3523 IFS=$as_save_IFS
   3524 
   3525 fi
   3526 fi
   3527 CC=$ac_cv_prog_CC
   3528 if test -n "$CC"; then
   3529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3530 $as_echo "$CC" >&6; }
   3531 else
   3532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3533 $as_echo "no" >&6; }
   3534 fi
   3535 
   3536 
   3537   fi
   3538 fi
   3539 if test -z "$CC"; then
   3540   # Extract the first word of "cc", so it can be a program name with args.
   3541 set dummy cc; ac_word=$2
   3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3543 $as_echo_n "checking for $ac_word... " >&6; }
   3544 if ${ac_cv_prog_CC+:} false; then :
   3545   $as_echo_n "(cached) " >&6
   3546 else
   3547   if test -n "$CC"; then
   3548   ac_cv_prog_CC="$CC" # Let the user override the test.
   3549 else
   3550   ac_prog_rejected=no
   3551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3552 for as_dir in $PATH
   3553 do
   3554   IFS=$as_save_IFS
   3555   test -z "$as_dir" && as_dir=.
   3556     for ac_exec_ext in '' $ac_executable_extensions; do
   3557   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3558     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3559        ac_prog_rejected=yes
   3560        continue
   3561      fi
   3562     ac_cv_prog_CC="cc"
   3563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3564     break 2
   3565   fi
   3566 done
   3567   done
   3568 IFS=$as_save_IFS
   3569 
   3570 if test $ac_prog_rejected = yes; then
   3571   # We found a bogon in the path, so make sure we never use it.
   3572   set dummy $ac_cv_prog_CC
   3573   shift
   3574   if test $# != 0; then
   3575     # We chose a different compiler from the bogus one.
   3576     # However, it has the same basename, so the bogon will be chosen
   3577     # first if we set CC to just the basename; use the full file name.
   3578     shift
   3579     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3580   fi
   3581 fi
   3582 fi
   3583 fi
   3584 CC=$ac_cv_prog_CC
   3585 if test -n "$CC"; then
   3586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3587 $as_echo "$CC" >&6; }
   3588 else
   3589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3590 $as_echo "no" >&6; }
   3591 fi
   3592 
   3593 
   3594 fi
   3595 if test -z "$CC"; then
   3596   if test -n "$ac_tool_prefix"; then
   3597   for ac_prog in cl.exe
   3598   do
   3599     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3600 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3602 $as_echo_n "checking for $ac_word... " >&6; }
   3603 if ${ac_cv_prog_CC+:} false; then :
   3604   $as_echo_n "(cached) " >&6
   3605 else
   3606   if test -n "$CC"; then
   3607   ac_cv_prog_CC="$CC" # Let the user override the test.
   3608 else
   3609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3610 for as_dir in $PATH
   3611 do
   3612   IFS=$as_save_IFS
   3613   test -z "$as_dir" && as_dir=.
   3614     for ac_exec_ext in '' $ac_executable_extensions; do
   3615   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3616     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3618     break 2
   3619   fi
   3620 done
   3621   done
   3622 IFS=$as_save_IFS
   3623 
   3624 fi
   3625 fi
   3626 CC=$ac_cv_prog_CC
   3627 if test -n "$CC"; then
   3628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3629 $as_echo "$CC" >&6; }
   3630 else
   3631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3632 $as_echo "no" >&6; }
   3633 fi
   3634 
   3635 
   3636     test -n "$CC" && break
   3637   done
   3638 fi
   3639 if test -z "$CC"; then
   3640   ac_ct_CC=$CC
   3641   for ac_prog in cl.exe
   3642 do
   3643   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3644 set dummy $ac_prog; ac_word=$2
   3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3646 $as_echo_n "checking for $ac_word... " >&6; }
   3647 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3648   $as_echo_n "(cached) " >&6
   3649 else
   3650   if test -n "$ac_ct_CC"; then
   3651   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3652 else
   3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3654 for as_dir in $PATH
   3655 do
   3656   IFS=$as_save_IFS
   3657   test -z "$as_dir" && as_dir=.
   3658     for ac_exec_ext in '' $ac_executable_extensions; do
   3659   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3660     ac_cv_prog_ac_ct_CC="$ac_prog"
   3661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3662     break 2
   3663   fi
   3664 done
   3665   done
   3666 IFS=$as_save_IFS
   3667 
   3668 fi
   3669 fi
   3670 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3671 if test -n "$ac_ct_CC"; then
   3672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3673 $as_echo "$ac_ct_CC" >&6; }
   3674 else
   3675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3676 $as_echo "no" >&6; }
   3677 fi
   3678 
   3679 
   3680   test -n "$ac_ct_CC" && break
   3681 done
   3682 
   3683   if test "x$ac_ct_CC" = x; then
   3684     CC=""
   3685   else
   3686     case $cross_compiling:$ac_tool_warned in
   3687 yes:)
   3688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3690 ac_tool_warned=yes ;;
   3691 esac
   3692     CC=$ac_ct_CC
   3693   fi
   3694 fi
   3695 
   3696 fi
   3697 
   3698 
   3699 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3701 as_fn_error $? "no acceptable C compiler found in \$PATH
   3702 See \`config.log' for more details" "$LINENO" 5; }
   3703 
   3704 # Provide some information about the compiler.
   3705 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3706 set X $ac_compile
   3707 ac_compiler=$2
   3708 for ac_option in --version -v -V -qversion; do
   3709   { { ac_try="$ac_compiler $ac_option >&5"
   3710 case "(($ac_try" in
   3711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3712   *) ac_try_echo=$ac_try;;
   3713 esac
   3714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3715 $as_echo "$ac_try_echo"; } >&5
   3716   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3717   ac_status=$?
   3718   if test -s conftest.err; then
   3719     sed '10a\
   3720 ... rest of stderr output deleted ...
   3721          10q' conftest.err >conftest.er1
   3722     cat conftest.er1 >&5
   3723   fi
   3724   rm -f conftest.er1 conftest.err
   3725   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3726   test $ac_status = 0; }
   3727 done
   3728 
   3729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3730 /* end confdefs.h.  */
   3731 
   3732 int
   3733 main ()
   3734 {
   3735 
   3736   ;
   3737   return 0;
   3738 }
   3739 _ACEOF
   3740 ac_clean_files_save=$ac_clean_files
   3741 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3742 # Try to create an executable without -o first, disregard a.out.
   3743 # It will help us diagnose broken compilers, and finding out an intuition
   3744 # of exeext.
   3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3746 $as_echo_n "checking whether the C compiler works... " >&6; }
   3747 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3748 
   3749 # The possible output files:
   3750 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3751 
   3752 ac_rmfiles=
   3753 for ac_file in $ac_files
   3754 do
   3755   case $ac_file in
   3756     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3757     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3758   esac
   3759 done
   3760 rm -f $ac_rmfiles
   3761 
   3762 if { { ac_try="$ac_link_default"
   3763 case "(($ac_try" in
   3764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3765   *) ac_try_echo=$ac_try;;
   3766 esac
   3767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3768 $as_echo "$ac_try_echo"; } >&5
   3769   (eval "$ac_link_default") 2>&5
   3770   ac_status=$?
   3771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3772   test $ac_status = 0; }; then :
   3773   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3774 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3775 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3776 # so that the user can short-circuit this test for compilers unknown to
   3777 # Autoconf.
   3778 for ac_file in $ac_files ''
   3779 do
   3780   test -f "$ac_file" || continue
   3781   case $ac_file in
   3782     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3783 	;;
   3784     [ab].out )
   3785 	# We found the default executable, but exeext='' is most
   3786 	# certainly right.
   3787 	break;;
   3788     *.* )
   3789 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3790 	then :; else
   3791 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3792 	fi
   3793 	# We set ac_cv_exeext here because the later test for it is not
   3794 	# safe: cross compilers may not add the suffix if given an `-o'
   3795 	# argument, so we may need to know it at that point already.
   3796 	# Even if this section looks crufty: it has the advantage of
   3797 	# actually working.
   3798 	break;;
   3799     * )
   3800 	break;;
   3801   esac
   3802 done
   3803 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3804 
   3805 else
   3806   ac_file=''
   3807 fi
   3808 if test -z "$ac_file"; then :
   3809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3810 $as_echo "no" >&6; }
   3811 $as_echo "$as_me: failed program was:" >&5
   3812 sed 's/^/| /' conftest.$ac_ext >&5
   3813 
   3814 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3816 as_fn_error 77 "C compiler cannot create executables
   3817 See \`config.log' for more details" "$LINENO" 5; }
   3818 else
   3819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3820 $as_echo "yes" >&6; }
   3821 fi
   3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3823 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3825 $as_echo "$ac_file" >&6; }
   3826 ac_exeext=$ac_cv_exeext
   3827 
   3828 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3829 ac_clean_files=$ac_clean_files_save
   3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3831 $as_echo_n "checking for suffix of executables... " >&6; }
   3832 if { { ac_try="$ac_link"
   3833 case "(($ac_try" in
   3834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3835   *) ac_try_echo=$ac_try;;
   3836 esac
   3837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3838 $as_echo "$ac_try_echo"; } >&5
   3839   (eval "$ac_link") 2>&5
   3840   ac_status=$?
   3841   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3842   test $ac_status = 0; }; then :
   3843   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3844 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3845 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3846 # `rm'.
   3847 for ac_file in conftest.exe conftest conftest.*; do
   3848   test -f "$ac_file" || continue
   3849   case $ac_file in
   3850     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3851     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3852 	  break;;
   3853     * ) break;;
   3854   esac
   3855 done
   3856 else
   3857   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3858 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3859 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3860 See \`config.log' for more details" "$LINENO" 5; }
   3861 fi
   3862 rm -f conftest conftest$ac_cv_exeext
   3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3864 $as_echo "$ac_cv_exeext" >&6; }
   3865 
   3866 rm -f conftest.$ac_ext
   3867 EXEEXT=$ac_cv_exeext
   3868 ac_exeext=$EXEEXT
   3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3870 /* end confdefs.h.  */
   3871 #include <stdio.h>
   3872 int
   3873 main ()
   3874 {
   3875 FILE *f = fopen ("conftest.out", "w");
   3876  return ferror (f) || fclose (f) != 0;
   3877 
   3878   ;
   3879   return 0;
   3880 }
   3881 _ACEOF
   3882 ac_clean_files="$ac_clean_files conftest.out"
   3883 # Check that the compiler produces executables we can run.  If not, either
   3884 # the compiler is broken, or we cross compile.
   3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3886 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3887 if test "$cross_compiling" != yes; then
   3888   { { ac_try="$ac_link"
   3889 case "(($ac_try" in
   3890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3891   *) ac_try_echo=$ac_try;;
   3892 esac
   3893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3894 $as_echo "$ac_try_echo"; } >&5
   3895   (eval "$ac_link") 2>&5
   3896   ac_status=$?
   3897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3898   test $ac_status = 0; }
   3899   if { ac_try='./conftest$ac_cv_exeext'
   3900   { { case "(($ac_try" in
   3901   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3902   *) ac_try_echo=$ac_try;;
   3903 esac
   3904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3905 $as_echo "$ac_try_echo"; } >&5
   3906   (eval "$ac_try") 2>&5
   3907   ac_status=$?
   3908   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3909   test $ac_status = 0; }; }; then
   3910     cross_compiling=no
   3911   else
   3912     if test "$cross_compiling" = maybe; then
   3913 	cross_compiling=yes
   3914     else
   3915 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3917 as_fn_error $? "cannot run C compiled programs.
   3918 If you meant to cross compile, use \`--host'.
   3919 See \`config.log' for more details" "$LINENO" 5; }
   3920     fi
   3921   fi
   3922 fi
   3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3924 $as_echo "$cross_compiling" >&6; }
   3925 
   3926 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3927 ac_clean_files=$ac_clean_files_save
   3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3929 $as_echo_n "checking for suffix of object files... " >&6; }
   3930 if ${ac_cv_objext+:} false; then :
   3931   $as_echo_n "(cached) " >&6
   3932 else
   3933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3934 /* end confdefs.h.  */
   3935 
   3936 int
   3937 main ()
   3938 {
   3939 
   3940   ;
   3941   return 0;
   3942 }
   3943 _ACEOF
   3944 rm -f conftest.o conftest.obj
   3945 if { { ac_try="$ac_compile"
   3946 case "(($ac_try" in
   3947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3948   *) ac_try_echo=$ac_try;;
   3949 esac
   3950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3951 $as_echo "$ac_try_echo"; } >&5
   3952   (eval "$ac_compile") 2>&5
   3953   ac_status=$?
   3954   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3955   test $ac_status = 0; }; then :
   3956   for ac_file in conftest.o conftest.obj conftest.*; do
   3957   test -f "$ac_file" || continue;
   3958   case $ac_file in
   3959     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3960     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3961        break;;
   3962   esac
   3963 done
   3964 else
   3965   $as_echo "$as_me: failed program was:" >&5
   3966 sed 's/^/| /' conftest.$ac_ext >&5
   3967 
   3968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3970 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3971 See \`config.log' for more details" "$LINENO" 5; }
   3972 fi
   3973 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3974 fi
   3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3976 $as_echo "$ac_cv_objext" >&6; }
   3977 OBJEXT=$ac_cv_objext
   3978 ac_objext=$OBJEXT
   3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3980 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3981 if ${ac_cv_c_compiler_gnu+:} false; then :
   3982   $as_echo_n "(cached) " >&6
   3983 else
   3984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3985 /* end confdefs.h.  */
   3986 
   3987 int
   3988 main ()
   3989 {
   3990 #ifndef __GNUC__
   3991        choke me
   3992 #endif
   3993 
   3994   ;
   3995   return 0;
   3996 }
   3997 _ACEOF
   3998 if ac_fn_c_try_compile "$LINENO"; then :
   3999   ac_compiler_gnu=yes
   4000 else
   4001   ac_compiler_gnu=no
   4002 fi
   4003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4004 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4005 
   4006 fi
   4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4008 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4009 if test $ac_compiler_gnu = yes; then
   4010   GCC=yes
   4011 else
   4012   GCC=
   4013 fi
   4014 ac_test_CFLAGS=${CFLAGS+set}
   4015 ac_save_CFLAGS=$CFLAGS
   4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4017 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4018 if ${ac_cv_prog_cc_g+:} false; then :
   4019   $as_echo_n "(cached) " >&6
   4020 else
   4021   ac_save_c_werror_flag=$ac_c_werror_flag
   4022    ac_c_werror_flag=yes
   4023    ac_cv_prog_cc_g=no
   4024    CFLAGS="-g"
   4025    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4026 /* end confdefs.h.  */
   4027 
   4028 int
   4029 main ()
   4030 {
   4031 
   4032   ;
   4033   return 0;
   4034 }
   4035 _ACEOF
   4036 if ac_fn_c_try_compile "$LINENO"; then :
   4037   ac_cv_prog_cc_g=yes
   4038 else
   4039   CFLAGS=""
   4040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4041 /* end confdefs.h.  */
   4042 
   4043 int
   4044 main ()
   4045 {
   4046 
   4047   ;
   4048   return 0;
   4049 }
   4050 _ACEOF
   4051 if ac_fn_c_try_compile "$LINENO"; then :
   4052 
   4053 else
   4054   ac_c_werror_flag=$ac_save_c_werror_flag
   4055 	 CFLAGS="-g"
   4056 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4057 /* end confdefs.h.  */
   4058 
   4059 int
   4060 main ()
   4061 {
   4062 
   4063   ;
   4064   return 0;
   4065 }
   4066 _ACEOF
   4067 if ac_fn_c_try_compile "$LINENO"; then :
   4068   ac_cv_prog_cc_g=yes
   4069 fi
   4070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4071 fi
   4072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4073 fi
   4074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4075    ac_c_werror_flag=$ac_save_c_werror_flag
   4076 fi
   4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4078 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4079 if test "$ac_test_CFLAGS" = set; then
   4080   CFLAGS=$ac_save_CFLAGS
   4081 elif test $ac_cv_prog_cc_g = yes; then
   4082   if test "$GCC" = yes; then
   4083     CFLAGS="-g -O2"
   4084   else
   4085     CFLAGS="-g"
   4086   fi
   4087 else
   4088   if test "$GCC" = yes; then
   4089     CFLAGS="-O2"
   4090   else
   4091     CFLAGS=
   4092   fi
   4093 fi
   4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4095 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4096 if ${ac_cv_prog_cc_c89+:} false; then :
   4097   $as_echo_n "(cached) " >&6
   4098 else
   4099   ac_cv_prog_cc_c89=no
   4100 ac_save_CC=$CC
   4101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4102 /* end confdefs.h.  */
   4103 #include <stdarg.h>
   4104 #include <stdio.h>
   4105 struct stat;
   4106 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4107 struct buf { int x; };
   4108 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4109 static char *e (p, i)
   4110      char **p;
   4111      int i;
   4112 {
   4113   return p[i];
   4114 }
   4115 static char *f (char * (*g) (char **, int), char **p, ...)
   4116 {
   4117   char *s;
   4118   va_list v;
   4119   va_start (v,p);
   4120   s = g (p, va_arg (v,int));
   4121   va_end (v);
   4122   return s;
   4123 }
   4124 
   4125 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4126    function prototypes and stuff, but not '\xHH' hex character constants.
   4127    These don't provoke an error unfortunately, instead are silently treated
   4128    as 'x'.  The following induces an error, until -std is added to get
   4129    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4130    array size at least.  It's necessary to write '\x00'==0 to get something
   4131    that's true only with -std.  */
   4132 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4133 
   4134 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4135    inside strings and character constants.  */
   4136 #define FOO(x) 'x'
   4137 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4138 
   4139 int test (int i, double x);
   4140 struct s1 {int (*f) (int a);};
   4141 struct s2 {int (*f) (double a);};
   4142 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4143 int argc;
   4144 char **argv;
   4145 int
   4146 main ()
   4147 {
   4148 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4149   ;
   4150   return 0;
   4151 }
   4152 _ACEOF
   4153 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4154 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4155 do
   4156   CC="$ac_save_CC $ac_arg"
   4157   if ac_fn_c_try_compile "$LINENO"; then :
   4158   ac_cv_prog_cc_c89=$ac_arg
   4159 fi
   4160 rm -f core conftest.err conftest.$ac_objext
   4161   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4162 done
   4163 rm -f conftest.$ac_ext
   4164 CC=$ac_save_CC
   4165 
   4166 fi
   4167 # AC_CACHE_VAL
   4168 case "x$ac_cv_prog_cc_c89" in
   4169   x)
   4170     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4171 $as_echo "none needed" >&6; } ;;
   4172   xno)
   4173     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4174 $as_echo "unsupported" >&6; } ;;
   4175   *)
   4176     CC="$CC $ac_cv_prog_cc_c89"
   4177     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4178 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4179 esac
   4180 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4181 
   4182 fi
   4183 
   4184 ac_ext=c
   4185 ac_cpp='$CPP $CPPFLAGS'
   4186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4189 
   4190 ac_ext=c
   4191 ac_cpp='$CPP $CPPFLAGS'
   4192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4196 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4197 if ${am_cv_prog_cc_c_o+:} false; then :
   4198   $as_echo_n "(cached) " >&6
   4199 else
   4200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4201 /* end confdefs.h.  */
   4202 
   4203 int
   4204 main ()
   4205 {
   4206 
   4207   ;
   4208   return 0;
   4209 }
   4210 _ACEOF
   4211   # Make sure it works both with $CC and with simple cc.
   4212   # Following AC_PROG_CC_C_O, we do the test twice because some
   4213   # compilers refuse to overwrite an existing .o file with -o,
   4214   # though they will create one.
   4215   am_cv_prog_cc_c_o=yes
   4216   for am_i in 1 2; do
   4217     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4218    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4219    ac_status=$?
   4220    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4221    (exit $ac_status); } \
   4222          && test -f conftest2.$ac_objext; then
   4223       : OK
   4224     else
   4225       am_cv_prog_cc_c_o=no
   4226       break
   4227     fi
   4228   done
   4229   rm -f core conftest*
   4230   unset am_i
   4231 fi
   4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4233 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4234 if test "$am_cv_prog_cc_c_o" != yes; then
   4235    # Losing compiler, so override with the script.
   4236    # FIXME: It is wrong to rewrite CC.
   4237    # But if we don't then we get into trouble of one sort or another.
   4238    # A longer-term fix would be to have automake use am__CC in this case,
   4239    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4240    CC="$am_aux_dir/compile $CC"
   4241 fi
   4242 ac_ext=c
   4243 ac_cpp='$CPP $CPPFLAGS'
   4244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4247 
   4248 
   4249 ac_ext=c
   4250 ac_cpp='$CPP $CPPFLAGS'
   4251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4255 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4256 # On Suns, sometimes $CPP names a directory.
   4257 if test -n "$CPP" && test -d "$CPP"; then
   4258   CPP=
   4259 fi
   4260 if test -z "$CPP"; then
   4261   if ${ac_cv_prog_CPP+:} false; then :
   4262   $as_echo_n "(cached) " >&6
   4263 else
   4264       # Double quotes because CPP needs to be expanded
   4265     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4266     do
   4267       ac_preproc_ok=false
   4268 for ac_c_preproc_warn_flag in '' yes
   4269 do
   4270   # Use a header file that comes with gcc, so configuring glibc
   4271   # with a fresh cross-compiler works.
   4272   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4273   # <limits.h> exists even on freestanding compilers.
   4274   # On the NeXT, cc -E runs the code through the compiler's parser,
   4275   # not just through cpp. "Syntax error" is here to catch this case.
   4276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4277 /* end confdefs.h.  */
   4278 #ifdef __STDC__
   4279 # include <limits.h>
   4280 #else
   4281 # include <assert.h>
   4282 #endif
   4283 		     Syntax error
   4284 _ACEOF
   4285 if ac_fn_c_try_cpp "$LINENO"; then :
   4286 
   4287 else
   4288   # Broken: fails on valid input.
   4289 continue
   4290 fi
   4291 rm -f conftest.err conftest.i conftest.$ac_ext
   4292 
   4293   # OK, works on sane cases.  Now check whether nonexistent headers
   4294   # can be detected and how.
   4295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4296 /* end confdefs.h.  */
   4297 #include <ac_nonexistent.h>
   4298 _ACEOF
   4299 if ac_fn_c_try_cpp "$LINENO"; then :
   4300   # Broken: success on invalid input.
   4301 continue
   4302 else
   4303   # Passes both tests.
   4304 ac_preproc_ok=:
   4305 break
   4306 fi
   4307 rm -f conftest.err conftest.i conftest.$ac_ext
   4308 
   4309 done
   4310 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4311 rm -f conftest.i conftest.err conftest.$ac_ext
   4312 if $ac_preproc_ok; then :
   4313   break
   4314 fi
   4315 
   4316     done
   4317     ac_cv_prog_CPP=$CPP
   4318 
   4319 fi
   4320   CPP=$ac_cv_prog_CPP
   4321 else
   4322   ac_cv_prog_CPP=$CPP
   4323 fi
   4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4325 $as_echo "$CPP" >&6; }
   4326 ac_preproc_ok=false
   4327 for ac_c_preproc_warn_flag in '' yes
   4328 do
   4329   # Use a header file that comes with gcc, so configuring glibc
   4330   # with a fresh cross-compiler works.
   4331   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4332   # <limits.h> exists even on freestanding compilers.
   4333   # On the NeXT, cc -E runs the code through the compiler's parser,
   4334   # not just through cpp. "Syntax error" is here to catch this case.
   4335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4336 /* end confdefs.h.  */
   4337 #ifdef __STDC__
   4338 # include <limits.h>
   4339 #else
   4340 # include <assert.h>
   4341 #endif
   4342 		     Syntax error
   4343 _ACEOF
   4344 if ac_fn_c_try_cpp "$LINENO"; then :
   4345 
   4346 else
   4347   # Broken: fails on valid input.
   4348 continue
   4349 fi
   4350 rm -f conftest.err conftest.i conftest.$ac_ext
   4351 
   4352   # OK, works on sane cases.  Now check whether nonexistent headers
   4353   # can be detected and how.
   4354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4355 /* end confdefs.h.  */
   4356 #include <ac_nonexistent.h>
   4357 _ACEOF
   4358 if ac_fn_c_try_cpp "$LINENO"; then :
   4359   # Broken: success on invalid input.
   4360 continue
   4361 else
   4362   # Passes both tests.
   4363 ac_preproc_ok=:
   4364 break
   4365 fi
   4366 rm -f conftest.err conftest.i conftest.$ac_ext
   4367 
   4368 done
   4369 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4370 rm -f conftest.i conftest.err conftest.$ac_ext
   4371 if $ac_preproc_ok; then :
   4372 
   4373 else
   4374   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4376 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4377 See \`config.log' for more details" "$LINENO" 5; }
   4378 fi
   4379 
   4380 ac_ext=c
   4381 ac_cpp='$CPP $CPPFLAGS'
   4382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4385 
   4386 
   4387 
   4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4389 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4390 if ${ac_cv_path_GREP+:} false; then :
   4391   $as_echo_n "(cached) " >&6
   4392 else
   4393   if test -z "$GREP"; then
   4394   ac_path_GREP_found=false
   4395   # Loop through the user's path and test for each of PROGNAME-LIST
   4396   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4397 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4398 do
   4399   IFS=$as_save_IFS
   4400   test -z "$as_dir" && as_dir=.
   4401     for ac_prog in grep ggrep; do
   4402     for ac_exec_ext in '' $ac_executable_extensions; do
   4403       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4404       as_fn_executable_p "$ac_path_GREP" || continue
   4405 # Check for GNU ac_path_GREP and select it if it is found.
   4406   # Check for GNU $ac_path_GREP
   4407 case `"$ac_path_GREP" --version 2>&1` in
   4408 *GNU*)
   4409   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4410 *)
   4411   ac_count=0
   4412   $as_echo_n 0123456789 >"conftest.in"
   4413   while :
   4414   do
   4415     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4416     mv "conftest.tmp" "conftest.in"
   4417     cp "conftest.in" "conftest.nl"
   4418     $as_echo 'GREP' >> "conftest.nl"
   4419     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4420     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4421     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4422     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4423       # Best one so far, save it but keep looking for a better one
   4424       ac_cv_path_GREP="$ac_path_GREP"
   4425       ac_path_GREP_max=$ac_count
   4426     fi
   4427     # 10*(2^10) chars as input seems more than enough
   4428     test $ac_count -gt 10 && break
   4429   done
   4430   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4431 esac
   4432 
   4433       $ac_path_GREP_found && break 3
   4434     done
   4435   done
   4436   done
   4437 IFS=$as_save_IFS
   4438   if test -z "$ac_cv_path_GREP"; then
   4439     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4440   fi
   4441 else
   4442   ac_cv_path_GREP=$GREP
   4443 fi
   4444 
   4445 fi
   4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4447 $as_echo "$ac_cv_path_GREP" >&6; }
   4448  GREP="$ac_cv_path_GREP"
   4449 
   4450 
   4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4452 $as_echo_n "checking for egrep... " >&6; }
   4453 if ${ac_cv_path_EGREP+:} false; then :
   4454   $as_echo_n "(cached) " >&6
   4455 else
   4456   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4457    then ac_cv_path_EGREP="$GREP -E"
   4458    else
   4459      if test -z "$EGREP"; then
   4460   ac_path_EGREP_found=false
   4461   # Loop through the user's path and test for each of PROGNAME-LIST
   4462   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4463 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4464 do
   4465   IFS=$as_save_IFS
   4466   test -z "$as_dir" && as_dir=.
   4467     for ac_prog in egrep; do
   4468     for ac_exec_ext in '' $ac_executable_extensions; do
   4469       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4470       as_fn_executable_p "$ac_path_EGREP" || continue
   4471 # Check for GNU ac_path_EGREP and select it if it is found.
   4472   # Check for GNU $ac_path_EGREP
   4473 case `"$ac_path_EGREP" --version 2>&1` in
   4474 *GNU*)
   4475   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4476 *)
   4477   ac_count=0
   4478   $as_echo_n 0123456789 >"conftest.in"
   4479   while :
   4480   do
   4481     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4482     mv "conftest.tmp" "conftest.in"
   4483     cp "conftest.in" "conftest.nl"
   4484     $as_echo 'EGREP' >> "conftest.nl"
   4485     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4486     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4487     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4488     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4489       # Best one so far, save it but keep looking for a better one
   4490       ac_cv_path_EGREP="$ac_path_EGREP"
   4491       ac_path_EGREP_max=$ac_count
   4492     fi
   4493     # 10*(2^10) chars as input seems more than enough
   4494     test $ac_count -gt 10 && break
   4495   done
   4496   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4497 esac
   4498 
   4499       $ac_path_EGREP_found && break 3
   4500     done
   4501   done
   4502   done
   4503 IFS=$as_save_IFS
   4504   if test -z "$ac_cv_path_EGREP"; then
   4505     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4506   fi
   4507 else
   4508   ac_cv_path_EGREP=$EGREP
   4509 fi
   4510 
   4511    fi
   4512 fi
   4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4514 $as_echo "$ac_cv_path_EGREP" >&6; }
   4515  EGREP="$ac_cv_path_EGREP"
   4516 
   4517 
   4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4519 $as_echo_n "checking for ANSI C header files... " >&6; }
   4520 if ${ac_cv_header_stdc+:} false; then :
   4521   $as_echo_n "(cached) " >&6
   4522 else
   4523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4524 /* end confdefs.h.  */
   4525 #include <stdlib.h>
   4526 #include <stdarg.h>
   4527 #include <string.h>
   4528 #include <float.h>
   4529 
   4530 int
   4531 main ()
   4532 {
   4533 
   4534   ;
   4535   return 0;
   4536 }
   4537 _ACEOF
   4538 if ac_fn_c_try_compile "$LINENO"; then :
   4539   ac_cv_header_stdc=yes
   4540 else
   4541   ac_cv_header_stdc=no
   4542 fi
   4543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4544 
   4545 if test $ac_cv_header_stdc = yes; then
   4546   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4548 /* end confdefs.h.  */
   4549 #include <string.h>
   4550 
   4551 _ACEOF
   4552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4553   $EGREP "memchr" >/dev/null 2>&1; then :
   4554 
   4555 else
   4556   ac_cv_header_stdc=no
   4557 fi
   4558 rm -f conftest*
   4559 
   4560 fi
   4561 
   4562 if test $ac_cv_header_stdc = yes; then
   4563   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4565 /* end confdefs.h.  */
   4566 #include <stdlib.h>
   4567 
   4568 _ACEOF
   4569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4570   $EGREP "free" >/dev/null 2>&1; then :
   4571 
   4572 else
   4573   ac_cv_header_stdc=no
   4574 fi
   4575 rm -f conftest*
   4576 
   4577 fi
   4578 
   4579 if test $ac_cv_header_stdc = yes; then
   4580   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4581   if test "$cross_compiling" = yes; then :
   4582   :
   4583 else
   4584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4585 /* end confdefs.h.  */
   4586 #include <ctype.h>
   4587 #include <stdlib.h>
   4588 #if ((' ' & 0x0FF) == 0x020)
   4589 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4590 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4591 #else
   4592 # define ISLOWER(c) \
   4593 		   (('a' <= (c) && (c) <= 'i') \
   4594 		     || ('j' <= (c) && (c) <= 'r') \
   4595 		     || ('s' <= (c) && (c) <= 'z'))
   4596 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4597 #endif
   4598 
   4599 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4600 int
   4601 main ()
   4602 {
   4603   int i;
   4604   for (i = 0; i < 256; i++)
   4605     if (XOR (islower (i), ISLOWER (i))
   4606 	|| toupper (i) != TOUPPER (i))
   4607       return 2;
   4608   return 0;
   4609 }
   4610 _ACEOF
   4611 if ac_fn_c_try_run "$LINENO"; then :
   4612 
   4613 else
   4614   ac_cv_header_stdc=no
   4615 fi
   4616 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4617   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4618 fi
   4619 
   4620 fi
   4621 fi
   4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4623 $as_echo "$ac_cv_header_stdc" >&6; }
   4624 if test $ac_cv_header_stdc = yes; then
   4625 
   4626 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4627 
   4628 fi
   4629 
   4630 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4631 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4632 		  inttypes.h stdint.h unistd.h
   4633 do :
   4634   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4635 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4636 "
   4637 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4638   cat >>confdefs.h <<_ACEOF
   4639 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4640 _ACEOF
   4641 
   4642 fi
   4643 
   4644 done
   4645 
   4646 
   4647 test "$program_prefix" != NONE &&
   4648   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4649 # Use a double $ so make ignores it.
   4650 test "$program_suffix" != NONE &&
   4651   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4652 # Double any \ or $.
   4653 # By default was `s,x,x', remove it if useless.
   4654 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4655 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   4656 
   4657 # Find a good install program.  We prefer a C program (faster),
   4658 # so one script is as good as another.  But avoid the broken or
   4659 # incompatible versions:
   4660 # SysV /etc/install, /usr/sbin/install
   4661 # SunOS /usr/etc/install
   4662 # IRIX /sbin/install
   4663 # AIX /bin/install
   4664 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4665 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4666 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4667 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4668 # OS/2's system install, which has a completely different semantic
   4669 # ./install, which can be erroneously created by make from ./install.sh.
   4670 # Reject install programs that cannot install multiple files.
   4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4672 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   4673 if test -z "$INSTALL"; then
   4674 if ${ac_cv_path_install+:} false; then :
   4675   $as_echo_n "(cached) " >&6
   4676 else
   4677   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4678 for as_dir in $PATH
   4679 do
   4680   IFS=$as_save_IFS
   4681   test -z "$as_dir" && as_dir=.
   4682     # Account for people who put trailing slashes in PATH elements.
   4683 case $as_dir/ in #((
   4684   ./ | .// | /[cC]/* | \
   4685   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4686   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4687   /usr/ucb/* ) ;;
   4688   *)
   4689     # OSF1 and SCO ODT 3.0 have their own names for install.
   4690     # Don't use installbsd from OSF since it installs stuff as root
   4691     # by default.
   4692     for ac_prog in ginstall scoinst install; do
   4693       for ac_exec_ext in '' $ac_executable_extensions; do
   4694 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   4695 	  if test $ac_prog = install &&
   4696 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4697 	    # AIX install.  It has an incompatible calling convention.
   4698 	    :
   4699 	  elif test $ac_prog = install &&
   4700 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4701 	    # program-specific install script used by HP pwplus--don't use.
   4702 	    :
   4703 	  else
   4704 	    rm -rf conftest.one conftest.two conftest.dir
   4705 	    echo one > conftest.one
   4706 	    echo two > conftest.two
   4707 	    mkdir conftest.dir
   4708 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   4709 	      test -s conftest.one && test -s conftest.two &&
   4710 	      test -s conftest.dir/conftest.one &&
   4711 	      test -s conftest.dir/conftest.two
   4712 	    then
   4713 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   4714 	      break 3
   4715 	    fi
   4716 	  fi
   4717 	fi
   4718       done
   4719     done
   4720     ;;
   4721 esac
   4722 
   4723   done
   4724 IFS=$as_save_IFS
   4725 
   4726 rm -rf conftest.one conftest.two conftest.dir
   4727 
   4728 fi
   4729   if test "${ac_cv_path_install+set}" = set; then
   4730     INSTALL=$ac_cv_path_install
   4731   else
   4732     # As a last resort, use the slow shell script.  Don't cache a
   4733     # value for INSTALL within a source directory, because that will
   4734     # break other packages using the cache if that directory is
   4735     # removed, or if the value is a relative name.
   4736     INSTALL=$ac_install_sh
   4737   fi
   4738 fi
   4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4740 $as_echo "$INSTALL" >&6; }
   4741 
   4742 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4743 # It thinks the first close brace ends the variable substitution.
   4744 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4745 
   4746 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4747 
   4748 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4749 
   4750 
   4751 
   4752 
   4753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   4754 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   4755 if ${ac_cv_c_bigendian+:} false; then :
   4756   $as_echo_n "(cached) " >&6
   4757 else
   4758   ac_cv_c_bigendian=unknown
   4759     # See if we're dealing with a universal compiler.
   4760     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4761 /* end confdefs.h.  */
   4762 #ifndef __APPLE_CC__
   4763 	       not a universal capable compiler
   4764 	     #endif
   4765 	     typedef int dummy;
   4766 
   4767 _ACEOF
   4768 if ac_fn_c_try_compile "$LINENO"; then :
   4769 
   4770 	# Check for potential -arch flags.  It is not universal unless
   4771 	# there are at least two -arch flags with different values.
   4772 	ac_arch=
   4773 	ac_prev=
   4774 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   4775 	 if test -n "$ac_prev"; then
   4776 	   case $ac_word in
   4777 	     i?86 | x86_64 | ppc | ppc64)
   4778 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   4779 		 ac_arch=$ac_word
   4780 	       else
   4781 		 ac_cv_c_bigendian=universal
   4782 		 break
   4783 	       fi
   4784 	       ;;
   4785 	   esac
   4786 	   ac_prev=
   4787 	 elif test "x$ac_word" = "x-arch"; then
   4788 	   ac_prev=arch
   4789 	 fi
   4790        done
   4791 fi
   4792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4793     if test $ac_cv_c_bigendian = unknown; then
   4794       # See if sys/param.h defines the BYTE_ORDER macro.
   4795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4796 /* end confdefs.h.  */
   4797 #include <sys/types.h>
   4798 	     #include <sys/param.h>
   4799 
   4800 int
   4801 main ()
   4802 {
   4803 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   4804 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   4805 		     && LITTLE_ENDIAN)
   4806 	      bogus endian macros
   4807 	     #endif
   4808 
   4809   ;
   4810   return 0;
   4811 }
   4812 _ACEOF
   4813 if ac_fn_c_try_compile "$LINENO"; then :
   4814   # It does; now see whether it defined to BIG_ENDIAN or not.
   4815 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4816 /* end confdefs.h.  */
   4817 #include <sys/types.h>
   4818 		#include <sys/param.h>
   4819 
   4820 int
   4821 main ()
   4822 {
   4823 #if BYTE_ORDER != BIG_ENDIAN
   4824 		 not big endian
   4825 		#endif
   4826 
   4827   ;
   4828   return 0;
   4829 }
   4830 _ACEOF
   4831 if ac_fn_c_try_compile "$LINENO"; then :
   4832   ac_cv_c_bigendian=yes
   4833 else
   4834   ac_cv_c_bigendian=no
   4835 fi
   4836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4837 fi
   4838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4839     fi
   4840     if test $ac_cv_c_bigendian = unknown; then
   4841       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   4842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4843 /* end confdefs.h.  */
   4844 #include <limits.h>
   4845 
   4846 int
   4847 main ()
   4848 {
   4849 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   4850 	      bogus endian macros
   4851 	     #endif
   4852 
   4853   ;
   4854   return 0;
   4855 }
   4856 _ACEOF
   4857 if ac_fn_c_try_compile "$LINENO"; then :
   4858   # It does; now see whether it defined to _BIG_ENDIAN or not.
   4859 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4860 /* end confdefs.h.  */
   4861 #include <limits.h>
   4862 
   4863 int
   4864 main ()
   4865 {
   4866 #ifndef _BIG_ENDIAN
   4867 		 not big endian
   4868 		#endif
   4869 
   4870   ;
   4871   return 0;
   4872 }
   4873 _ACEOF
   4874 if ac_fn_c_try_compile "$LINENO"; then :
   4875   ac_cv_c_bigendian=yes
   4876 else
   4877   ac_cv_c_bigendian=no
   4878 fi
   4879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4880 fi
   4881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4882     fi
   4883     if test $ac_cv_c_bigendian = unknown; then
   4884       # Compile a test program.
   4885       if test "$cross_compiling" = yes; then :
   4886   # Try to guess by grepping values from an object file.
   4887 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4888 /* end confdefs.h.  */
   4889 short int ascii_mm[] =
   4890 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   4891 		short int ascii_ii[] =
   4892 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   4893 		int use_ascii (int i) {
   4894 		  return ascii_mm[i] + ascii_ii[i];
   4895 		}
   4896 		short int ebcdic_ii[] =
   4897 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   4898 		short int ebcdic_mm[] =
   4899 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   4900 		int use_ebcdic (int i) {
   4901 		  return ebcdic_mm[i] + ebcdic_ii[i];
   4902 		}
   4903 		extern int foo;
   4904 
   4905 int
   4906 main ()
   4907 {
   4908 return use_ascii (foo) == use_ebcdic (foo);
   4909   ;
   4910   return 0;
   4911 }
   4912 _ACEOF
   4913 if ac_fn_c_try_compile "$LINENO"; then :
   4914   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   4915 	      ac_cv_c_bigendian=yes
   4916 	    fi
   4917 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   4918 	      if test "$ac_cv_c_bigendian" = unknown; then
   4919 		ac_cv_c_bigendian=no
   4920 	      else
   4921 		# finding both strings is unlikely to happen, but who knows?
   4922 		ac_cv_c_bigendian=unknown
   4923 	      fi
   4924 	    fi
   4925 fi
   4926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4927 else
   4928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4929 /* end confdefs.h.  */
   4930 $ac_includes_default
   4931 int
   4932 main ()
   4933 {
   4934 
   4935 	     /* Are we little or big endian?  From Harbison&Steele.  */
   4936 	     union
   4937 	     {
   4938 	       long int l;
   4939 	       char c[sizeof (long int)];
   4940 	     } u;
   4941 	     u.l = 1;
   4942 	     return u.c[sizeof (long int) - 1] == 1;
   4943 
   4944   ;
   4945   return 0;
   4946 }
   4947 _ACEOF
   4948 if ac_fn_c_try_run "$LINENO"; then :
   4949   ac_cv_c_bigendian=no
   4950 else
   4951   ac_cv_c_bigendian=yes
   4952 fi
   4953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4954   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4955 fi
   4956 
   4957     fi
   4958 fi
   4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   4960 $as_echo "$ac_cv_c_bigendian" >&6; }
   4961  case $ac_cv_c_bigendian in #(
   4962    yes)
   4963      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   4964 ;; #(
   4965    no)
   4966       ;; #(
   4967    universal)
   4968 
   4969 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   4970 
   4971      ;; #(
   4972    *)
   4973      as_fn_error $? "unknown endianness
   4974  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   4975  esac
   4976 
   4977 
   4978 
   4979 
   4980 if test -n "$ac_tool_prefix"; then
   4981   # Extract the first word of "${ac_tool_prefix}dtc", so it can be a program name with args.
   4982 set dummy ${ac_tool_prefix}dtc; ac_word=$2
   4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4984 $as_echo_n "checking for $ac_word... " >&6; }
   4985 if ${ac_cv_prog_DTC+:} false; then :
   4986   $as_echo_n "(cached) " >&6
   4987 else
   4988   if test -n "$DTC"; then
   4989   ac_cv_prog_DTC="$DTC" # Let the user override the test.
   4990 else
   4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4992 for as_dir in $PATH
   4993 do
   4994   IFS=$as_save_IFS
   4995   test -z "$as_dir" && as_dir=.
   4996     for ac_exec_ext in '' $ac_executable_extensions; do
   4997   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4998     ac_cv_prog_DTC="${ac_tool_prefix}dtc"
   4999     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5000     break 2
   5001   fi
   5002 done
   5003   done
   5004 IFS=$as_save_IFS
   5005 
   5006 fi
   5007 fi
   5008 DTC=$ac_cv_prog_DTC
   5009 if test -n "$DTC"; then
   5010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTC" >&5
   5011 $as_echo "$DTC" >&6; }
   5012 else
   5013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5014 $as_echo "no" >&6; }
   5015 fi
   5016 
   5017 
   5018 fi
   5019 if test -z "$ac_cv_prog_DTC"; then
   5020   ac_ct_DTC=$DTC
   5021   # Extract the first word of "dtc", so it can be a program name with args.
   5022 set dummy dtc; ac_word=$2
   5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5024 $as_echo_n "checking for $ac_word... " >&6; }
   5025 if ${ac_cv_prog_ac_ct_DTC+:} false; then :
   5026   $as_echo_n "(cached) " >&6
   5027 else
   5028   if test -n "$ac_ct_DTC"; then
   5029   ac_cv_prog_ac_ct_DTC="$ac_ct_DTC" # Let the user override the test.
   5030 else
   5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5032 for as_dir in $PATH
   5033 do
   5034   IFS=$as_save_IFS
   5035   test -z "$as_dir" && as_dir=.
   5036     for ac_exec_ext in '' $ac_executable_extensions; do
   5037   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5038     ac_cv_prog_ac_ct_DTC="dtc"
   5039     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5040     break 2
   5041   fi
   5042 done
   5043   done
   5044 IFS=$as_save_IFS
   5045 
   5046 fi
   5047 fi
   5048 ac_ct_DTC=$ac_cv_prog_ac_ct_DTC
   5049 if test -n "$ac_ct_DTC"; then
   5050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DTC" >&5
   5051 $as_echo "$ac_ct_DTC" >&6; }
   5052 else
   5053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5054 $as_echo "no" >&6; }
   5055 fi
   5056 
   5057   if test "x$ac_ct_DTC" = x; then
   5058     DTC=""
   5059   else
   5060     case $cross_compiling:$ac_tool_warned in
   5061 yes:)
   5062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5064 ac_tool_warned=yes ;;
   5065 esac
   5066     DTC=$ac_ct_DTC
   5067   fi
   5068 else
   5069   DTC="$ac_cv_prog_DTC"
   5070 fi
   5071 
   5072 
   5073 if test "x$cross_compiling" = "xno"; then
   5074   : "${AR_FOR_BUILD:=\$(AR)}"
   5075   : "${CC_FOR_BUILD:=\$(CC)}"
   5076   : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
   5077   : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
   5078   : "${CPPFLAGS_FOR_BUILD:=\$(CPPFLAGS)}"
   5079   : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
   5080 else
   5081   : "${AR_FOR_BUILD:=ar}"
   5082   : "${CC_FOR_BUILD:=gcc}"
   5083   : "${RANLIB_FOR_BUILD:=ranlib}"
   5084   : "${CFLAGS_FOR_BUILD:=-g -O}"
   5085   : "${CPPFLAGS_FOR_BUILD:=}"
   5086   : "${LDLFAGS_FOR_BUILD:=}"
   5087 fi
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 
   5095 
   5096 if test -n "$ac_tool_prefix"; then
   5097   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5098 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5100 $as_echo_n "checking for $ac_word... " >&6; }
   5101 if ${ac_cv_prog_AR+:} false; then :
   5102   $as_echo_n "(cached) " >&6
   5103 else
   5104   if test -n "$AR"; then
   5105   ac_cv_prog_AR="$AR" # Let the user override the test.
   5106 else
   5107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5108 for as_dir in $PATH
   5109 do
   5110   IFS=$as_save_IFS
   5111   test -z "$as_dir" && as_dir=.
   5112     for ac_exec_ext in '' $ac_executable_extensions; do
   5113   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5114     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5115     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5116     break 2
   5117   fi
   5118 done
   5119   done
   5120 IFS=$as_save_IFS
   5121 
   5122 fi
   5123 fi
   5124 AR=$ac_cv_prog_AR
   5125 if test -n "$AR"; then
   5126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5127 $as_echo "$AR" >&6; }
   5128 else
   5129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5130 $as_echo "no" >&6; }
   5131 fi
   5132 
   5133 
   5134 fi
   5135 if test -z "$ac_cv_prog_AR"; then
   5136   ac_ct_AR=$AR
   5137   # Extract the first word of "ar", so it can be a program name with args.
   5138 set dummy ar; ac_word=$2
   5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5140 $as_echo_n "checking for $ac_word... " >&6; }
   5141 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5142   $as_echo_n "(cached) " >&6
   5143 else
   5144   if test -n "$ac_ct_AR"; then
   5145   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5146 else
   5147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5148 for as_dir in $PATH
   5149 do
   5150   IFS=$as_save_IFS
   5151   test -z "$as_dir" && as_dir=.
   5152     for ac_exec_ext in '' $ac_executable_extensions; do
   5153   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5154     ac_cv_prog_ac_ct_AR="ar"
   5155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5156     break 2
   5157   fi
   5158 done
   5159   done
   5160 IFS=$as_save_IFS
   5161 
   5162 fi
   5163 fi
   5164 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5165 if test -n "$ac_ct_AR"; then
   5166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5167 $as_echo "$ac_ct_AR" >&6; }
   5168 else
   5169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5170 $as_echo "no" >&6; }
   5171 fi
   5172 
   5173   if test "x$ac_ct_AR" = x; then
   5174     AR=""
   5175   else
   5176     case $cross_compiling:$ac_tool_warned in
   5177 yes:)
   5178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5180 ac_tool_warned=yes ;;
   5181 esac
   5182     AR=$ac_ct_AR
   5183   fi
   5184 else
   5185   AR="$ac_cv_prog_AR"
   5186 fi
   5187 
   5188 if test -n "$ac_tool_prefix"; then
   5189   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5190 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5192 $as_echo_n "checking for $ac_word... " >&6; }
   5193 if ${ac_cv_prog_RANLIB+:} false; then :
   5194   $as_echo_n "(cached) " >&6
   5195 else
   5196   if test -n "$RANLIB"; then
   5197   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5198 else
   5199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5200 for as_dir in $PATH
   5201 do
   5202   IFS=$as_save_IFS
   5203   test -z "$as_dir" && as_dir=.
   5204     for ac_exec_ext in '' $ac_executable_extensions; do
   5205   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5206     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5207     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5208     break 2
   5209   fi
   5210 done
   5211   done
   5212 IFS=$as_save_IFS
   5213 
   5214 fi
   5215 fi
   5216 RANLIB=$ac_cv_prog_RANLIB
   5217 if test -n "$RANLIB"; then
   5218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5219 $as_echo "$RANLIB" >&6; }
   5220 else
   5221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5222 $as_echo "no" >&6; }
   5223 fi
   5224 
   5225 
   5226 fi
   5227 if test -z "$ac_cv_prog_RANLIB"; then
   5228   ac_ct_RANLIB=$RANLIB
   5229   # Extract the first word of "ranlib", so it can be a program name with args.
   5230 set dummy ranlib; ac_word=$2
   5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5232 $as_echo_n "checking for $ac_word... " >&6; }
   5233 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5234   $as_echo_n "(cached) " >&6
   5235 else
   5236   if test -n "$ac_ct_RANLIB"; then
   5237   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5238 else
   5239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5240 for as_dir in $PATH
   5241 do
   5242   IFS=$as_save_IFS
   5243   test -z "$as_dir" && as_dir=.
   5244     for ac_exec_ext in '' $ac_executable_extensions; do
   5245   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5246     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5247     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5248     break 2
   5249   fi
   5250 done
   5251   done
   5252 IFS=$as_save_IFS
   5253 
   5254 fi
   5255 fi
   5256 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5257 if test -n "$ac_ct_RANLIB"; then
   5258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5259 $as_echo "$ac_ct_RANLIB" >&6; }
   5260 else
   5261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5262 $as_echo "no" >&6; }
   5263 fi
   5264 
   5265   if test "x$ac_ct_RANLIB" = x; then
   5266     RANLIB=":"
   5267   else
   5268     case $cross_compiling:$ac_tool_warned in
   5269 yes:)
   5270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5272 ac_tool_warned=yes ;;
   5273 esac
   5274     RANLIB=$ac_ct_RANLIB
   5275   fi
   5276 else
   5277   RANLIB="$ac_cv_prog_RANLIB"
   5278 fi
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5288 	if test -n "$ac_tool_prefix"; then
   5289   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5290 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5292 $as_echo_n "checking for $ac_word... " >&6; }
   5293 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   5294   $as_echo_n "(cached) " >&6
   5295 else
   5296   case $PKG_CONFIG in
   5297   [\\/]* | ?:[\\/]*)
   5298   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5299   ;;
   5300   *)
   5301   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5302 for as_dir in $PATH
   5303 do
   5304   IFS=$as_save_IFS
   5305   test -z "$as_dir" && as_dir=.
   5306     for ac_exec_ext in '' $ac_executable_extensions; do
   5307   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5308     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5309     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5310     break 2
   5311   fi
   5312 done
   5313   done
   5314 IFS=$as_save_IFS
   5315 
   5316   ;;
   5317 esac
   5318 fi
   5319 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5320 if test -n "$PKG_CONFIG"; then
   5321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5322 $as_echo "$PKG_CONFIG" >&6; }
   5323 else
   5324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5325 $as_echo "no" >&6; }
   5326 fi
   5327 
   5328 
   5329 fi
   5330 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5331   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5332   # Extract the first word of "pkg-config", so it can be a program name with args.
   5333 set dummy pkg-config; ac_word=$2
   5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5335 $as_echo_n "checking for $ac_word... " >&6; }
   5336 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   5337   $as_echo_n "(cached) " >&6
   5338 else
   5339   case $ac_pt_PKG_CONFIG in
   5340   [\\/]* | ?:[\\/]*)
   5341   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5342   ;;
   5343   *)
   5344   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5345 for as_dir in $PATH
   5346 do
   5347   IFS=$as_save_IFS
   5348   test -z "$as_dir" && as_dir=.
   5349     for ac_exec_ext in '' $ac_executable_extensions; do
   5350   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5351     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5352     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5353     break 2
   5354   fi
   5355 done
   5356   done
   5357 IFS=$as_save_IFS
   5358 
   5359   ;;
   5360 esac
   5361 fi
   5362 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5363 if test -n "$ac_pt_PKG_CONFIG"; then
   5364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5365 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   5366 else
   5367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5368 $as_echo "no" >&6; }
   5369 fi
   5370 
   5371   if test "x$ac_pt_PKG_CONFIG" = x; then
   5372     PKG_CONFIG=""
   5373   else
   5374     case $cross_compiling:$ac_tool_warned in
   5375 yes:)
   5376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5378 ac_tool_warned=yes ;;
   5379 esac
   5380     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5381   fi
   5382 else
   5383   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5384 fi
   5385 
   5386 fi
   5387 if test -n "$PKG_CONFIG"; then
   5388 	_pkg_min_version=0.9.0
   5389 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5390 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5391 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5392 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5393 $as_echo "yes" >&6; }
   5394 	else
   5395 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5396 $as_echo "no" >&6; }
   5397 		PKG_CONFIG=""
   5398 	fi
   5399 fi
   5400 
   5401 # Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
   5402 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
   5403 # is C99.  So handle it ourselves.
   5404 :
   5405 C_DIALECT=
   5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
   5407 $as_echo_n "checking whether C11 is supported by default... " >&6; }
   5408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5409 /* end confdefs.h.  */
   5410 
   5411 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   5412 # error "C11 support not found"
   5413 #endif
   5414 
   5415 _ACEOF
   5416 if ac_fn_c_try_compile "$LINENO"; then :
   5417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5418 $as_echo "yes" >&6; }
   5419 else
   5420 
   5421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5422 $as_echo "no" >&6; }
   5423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
   5424 $as_echo_n "checking for -std=c11 support... " >&6; }
   5425   ac_save_CC="$CC"
   5426   CC="$CC -std=c11"
   5427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5428 /* end confdefs.h.  */
   5429 
   5430 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   5431 # error "C11 support not found"
   5432 #endif
   5433 
   5434 _ACEOF
   5435 if ac_fn_c_try_compile "$LINENO"; then :
   5436 
   5437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5438 $as_echo "yes" >&6; }
   5439   CC="$ac_save_CC"
   5440   C_DIALECT="-std=c11"
   5441 
   5442 else
   5443   as_fn_error $? "C11 is required" "$LINENO" 5
   5444 fi
   5445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5446 fi
   5447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5448 
   5449 
   5450 
   5451 
   5452 
   5453   for ac_header in $ac_header_list
   5454 do :
   5455   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5456 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   5457 "
   5458 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   5459   cat >>confdefs.h <<_ACEOF
   5460 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5461 _ACEOF
   5462 
   5463 fi
   5464 
   5465 done
   5466 
   5467 
   5468 
   5469 
   5470 
   5471 
   5472 
   5473 
   5474 
   5475 
   5476 
   5477 
   5478 
   5479 
   5480 
   5481 
   5482 
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514   for ac_func in $ac_func_list
   5515 do :
   5516   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   5517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   5518 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   5519   cat >>confdefs.h <<_ACEOF
   5520 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   5521 _ACEOF
   5522 
   5523 fi
   5524 done
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 
   5579 
   5580 
   5581 
   5582 
   5583 
   5584 
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
   5653 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
   5654 if ${ac_cv_struct_tm+:} false; then :
   5655   $as_echo_n "(cached) " >&6
   5656 else
   5657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5658 /* end confdefs.h.  */
   5659 #include <sys/types.h>
   5660 #include <time.h>
   5661 
   5662 int
   5663 main ()
   5664 {
   5665 struct tm tm;
   5666 				     int *p = &tm.tm_sec;
   5667 				     return !p;
   5668   ;
   5669   return 0;
   5670 }
   5671 _ACEOF
   5672 if ac_fn_c_try_compile "$LINENO"; then :
   5673   ac_cv_struct_tm=time.h
   5674 else
   5675   ac_cv_struct_tm=sys/time.h
   5676 fi
   5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5678 fi
   5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
   5680 $as_echo "$ac_cv_struct_tm" >&6; }
   5681 if test $ac_cv_struct_tm = sys/time.h; then
   5682 
   5683 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
   5684 
   5685 fi
   5686 
   5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
   5688 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
   5689 if ${ac_cv_type_uid_t+:} false; then :
   5690   $as_echo_n "(cached) " >&6
   5691 else
   5692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5693 /* end confdefs.h.  */
   5694 #include <sys/types.h>
   5695 
   5696 _ACEOF
   5697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5698   $EGREP "uid_t" >/dev/null 2>&1; then :
   5699   ac_cv_type_uid_t=yes
   5700 else
   5701   ac_cv_type_uid_t=no
   5702 fi
   5703 rm -f conftest*
   5704 
   5705 fi
   5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
   5707 $as_echo "$ac_cv_type_uid_t" >&6; }
   5708 if test $ac_cv_type_uid_t = no; then
   5709 
   5710 $as_echo "#define uid_t int" >>confdefs.h
   5711 
   5712 
   5713 $as_echo "#define gid_t int" >>confdefs.h
   5714 
   5715 fi
   5716 
   5717 case `pwd` in
   5718   *\ * | *\	*)
   5719     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5720 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5721 esac
   5722 
   5723 
   5724 
   5725 macro_version='2.2.7a'
   5726 macro_revision='1.3134'
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 ltmain="$ac_aux_dir/ltmain.sh"
   5741 
   5742 # Backslashify metacharacters that are still active within
   5743 # double-quoted strings.
   5744 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5745 
   5746 # Same as above, but do not quote variable references.
   5747 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5748 
   5749 # Sed substitution to delay expansion of an escaped shell variable in a
   5750 # double_quote_subst'ed string.
   5751 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5752 
   5753 # Sed substitution to delay expansion of an escaped single quote.
   5754 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5755 
   5756 # Sed substitution to avoid accidental globbing in evaled expressions
   5757 no_glob_subst='s/\*/\\\*/g'
   5758 
   5759 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5760 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5761 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5762 
   5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5764 $as_echo_n "checking how to print strings... " >&6; }
   5765 # Test print first, because it will be a builtin if present.
   5766 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   5767    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5768   ECHO='print -r --'
   5769 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5770   ECHO='printf %s\n'
   5771 else
   5772   # Use this function as a fallback that always works.
   5773   func_fallback_echo ()
   5774   {
   5775     eval 'cat <<_LTECHO_EOF
   5776 $1
   5777 _LTECHO_EOF'
   5778   }
   5779   ECHO='func_fallback_echo'
   5780 fi
   5781 
   5782 # func_echo_all arg...
   5783 # Invoke $ECHO with all args, space-separated.
   5784 func_echo_all ()
   5785 {
   5786     $ECHO ""
   5787 }
   5788 
   5789 case "$ECHO" in
   5790   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5791 $as_echo "printf" >&6; } ;;
   5792   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5793 $as_echo "print -r" >&6; } ;;
   5794   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5795 $as_echo "cat" >&6; } ;;
   5796 esac
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5812 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5813 if ${ac_cv_path_SED+:} false; then :
   5814   $as_echo_n "(cached) " >&6
   5815 else
   5816             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5817      for ac_i in 1 2 3 4 5 6 7; do
   5818        ac_script="$ac_script$as_nl$ac_script"
   5819      done
   5820      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5821      { ac_script=; unset ac_script;}
   5822      if test -z "$SED"; then
   5823   ac_path_SED_found=false
   5824   # Loop through the user's path and test for each of PROGNAME-LIST
   5825   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5826 for as_dir in $PATH
   5827 do
   5828   IFS=$as_save_IFS
   5829   test -z "$as_dir" && as_dir=.
   5830     for ac_prog in sed gsed; do
   5831     for ac_exec_ext in '' $ac_executable_extensions; do
   5832       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5833       as_fn_executable_p "$ac_path_SED" || continue
   5834 # Check for GNU ac_path_SED and select it if it is found.
   5835   # Check for GNU $ac_path_SED
   5836 case `"$ac_path_SED" --version 2>&1` in
   5837 *GNU*)
   5838   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5839 *)
   5840   ac_count=0
   5841   $as_echo_n 0123456789 >"conftest.in"
   5842   while :
   5843   do
   5844     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5845     mv "conftest.tmp" "conftest.in"
   5846     cp "conftest.in" "conftest.nl"
   5847     $as_echo '' >> "conftest.nl"
   5848     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5849     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5850     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5851     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5852       # Best one so far, save it but keep looking for a better one
   5853       ac_cv_path_SED="$ac_path_SED"
   5854       ac_path_SED_max=$ac_count
   5855     fi
   5856     # 10*(2^10) chars as input seems more than enough
   5857     test $ac_count -gt 10 && break
   5858   done
   5859   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5860 esac
   5861 
   5862       $ac_path_SED_found && break 3
   5863     done
   5864   done
   5865   done
   5866 IFS=$as_save_IFS
   5867   if test -z "$ac_cv_path_SED"; then
   5868     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5869   fi
   5870 else
   5871   ac_cv_path_SED=$SED
   5872 fi
   5873 
   5874 fi
   5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5876 $as_echo "$ac_cv_path_SED" >&6; }
   5877  SED="$ac_cv_path_SED"
   5878   rm -f conftest.sed
   5879 
   5880 test -z "$SED" && SED=sed
   5881 Xsed="$SED -e 1s/^X//"
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5894 $as_echo_n "checking for fgrep... " >&6; }
   5895 if ${ac_cv_path_FGREP+:} false; then :
   5896   $as_echo_n "(cached) " >&6
   5897 else
   5898   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5899    then ac_cv_path_FGREP="$GREP -F"
   5900    else
   5901      if test -z "$FGREP"; then
   5902   ac_path_FGREP_found=false
   5903   # Loop through the user's path and test for each of PROGNAME-LIST
   5904   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5905 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5906 do
   5907   IFS=$as_save_IFS
   5908   test -z "$as_dir" && as_dir=.
   5909     for ac_prog in fgrep; do
   5910     for ac_exec_ext in '' $ac_executable_extensions; do
   5911       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5912       as_fn_executable_p "$ac_path_FGREP" || continue
   5913 # Check for GNU ac_path_FGREP and select it if it is found.
   5914   # Check for GNU $ac_path_FGREP
   5915 case `"$ac_path_FGREP" --version 2>&1` in
   5916 *GNU*)
   5917   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5918 *)
   5919   ac_count=0
   5920   $as_echo_n 0123456789 >"conftest.in"
   5921   while :
   5922   do
   5923     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5924     mv "conftest.tmp" "conftest.in"
   5925     cp "conftest.in" "conftest.nl"
   5926     $as_echo 'FGREP' >> "conftest.nl"
   5927     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5928     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5929     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5930     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5931       # Best one so far, save it but keep looking for a better one
   5932       ac_cv_path_FGREP="$ac_path_FGREP"
   5933       ac_path_FGREP_max=$ac_count
   5934     fi
   5935     # 10*(2^10) chars as input seems more than enough
   5936     test $ac_count -gt 10 && break
   5937   done
   5938   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5939 esac
   5940 
   5941       $ac_path_FGREP_found && break 3
   5942     done
   5943   done
   5944   done
   5945 IFS=$as_save_IFS
   5946   if test -z "$ac_cv_path_FGREP"; then
   5947     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5948   fi
   5949 else
   5950   ac_cv_path_FGREP=$FGREP
   5951 fi
   5952 
   5953    fi
   5954 fi
   5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5956 $as_echo "$ac_cv_path_FGREP" >&6; }
   5957  FGREP="$ac_cv_path_FGREP"
   5958 
   5959 
   5960 test -z "$GREP" && GREP=grep
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 # Check whether --with-gnu-ld was given.
   5981 if test "${with_gnu_ld+set}" = set; then :
   5982   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5983 else
   5984   with_gnu_ld=no
   5985 fi
   5986 
   5987 ac_prog=ld
   5988 if test "$GCC" = yes; then
   5989   # Check if gcc -print-prog-name=ld gives a path.
   5990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5991 $as_echo_n "checking for ld used by $CC... " >&6; }
   5992   case $host in
   5993   *-*-mingw*)
   5994     # gcc leaves a trailing carriage return which upsets mingw
   5995     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5996   *)
   5997     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5998   esac
   5999   case $ac_prog in
   6000     # Accept absolute paths.
   6001     [\\/]* | ?:[\\/]*)
   6002       re_direlt='/[^/][^/]*/\.\./'
   6003       # Canonicalize the pathname of ld
   6004       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   6005       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   6006 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   6007       done
   6008       test -z "$LD" && LD="$ac_prog"
   6009       ;;
   6010   "")
   6011     # If it fails, then pretend we aren't using GCC.
   6012     ac_prog=ld
   6013     ;;
   6014   *)
   6015     # If it is relative, then search for the first ld in PATH.
   6016     with_gnu_ld=unknown
   6017     ;;
   6018   esac
   6019 elif test "$with_gnu_ld" = yes; then
   6020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   6021 $as_echo_n "checking for GNU ld... " >&6; }
   6022 else
   6023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   6024 $as_echo_n "checking for non-GNU ld... " >&6; }
   6025 fi
   6026 if ${lt_cv_path_LD+:} false; then :
   6027   $as_echo_n "(cached) " >&6
   6028 else
   6029   if test -z "$LD"; then
   6030   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6031   for ac_dir in $PATH; do
   6032     IFS="$lt_save_ifs"
   6033     test -z "$ac_dir" && ac_dir=.
   6034     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6035       lt_cv_path_LD="$ac_dir/$ac_prog"
   6036       # Check to see if the program is GNU ld.  I'd rather use --version,
   6037       # but apparently some variants of GNU ld only accept -v.
   6038       # Break only if it was the GNU/non-GNU ld that we prefer.
   6039       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   6040       *GNU* | *'with BFD'*)
   6041 	test "$with_gnu_ld" != no && break
   6042 	;;
   6043       *)
   6044 	test "$with_gnu_ld" != yes && break
   6045 	;;
   6046       esac
   6047     fi
   6048   done
   6049   IFS="$lt_save_ifs"
   6050 else
   6051   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   6052 fi
   6053 fi
   6054 
   6055 LD="$lt_cv_path_LD"
   6056 if test -n "$LD"; then
   6057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6058 $as_echo "$LD" >&6; }
   6059 else
   6060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6061 $as_echo "no" >&6; }
   6062 fi
   6063 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6065 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   6066 if ${lt_cv_prog_gnu_ld+:} false; then :
   6067   $as_echo_n "(cached) " >&6
   6068 else
   6069   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6070 case `$LD -v 2>&1 </dev/null` in
   6071 *GNU* | *'with BFD'*)
   6072   lt_cv_prog_gnu_ld=yes
   6073   ;;
   6074 *)
   6075   lt_cv_prog_gnu_ld=no
   6076   ;;
   6077 esac
   6078 fi
   6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6080 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   6081 with_gnu_ld=$lt_cv_prog_gnu_ld
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6092 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6093 if ${lt_cv_path_NM+:} false; then :
   6094   $as_echo_n "(cached) " >&6
   6095 else
   6096   if test -n "$NM"; then
   6097    # Let the user override the nm to test.
   6098    lt_nm_to_check="$NM"
   6099  else
   6100    lt_nm_to_check="${ac_tool_prefix}nm"
   6101    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6102      lt_nm_to_check="$lt_nm_to_check nm"
   6103    fi
   6104  fi
   6105  for lt_tmp_nm in "$lt_nm_to_check"; do
   6106    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6107    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6108      IFS="$lt_save_ifs"
   6109      test -z "$ac_dir" && ac_dir=.
   6110      # Strip out any user-provided options from the nm to test twice,
   6111      # the first time to test to see if nm (rather than its options) has
   6112      # an explicit path, the second time to yield a file which can be
   6113      # nm'ed itself.
   6114      tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
   6115      case "$tmp_nm_path" in
   6116      */*|*\\*) tmp_nm="$lt_tmp_nm";;
   6117      *) tmp_nm="$ac_dir/$lt_tmp_nm";;
   6118      esac
   6119      tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
   6120      if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
   6121        # Check to see if the nm accepts a BSD-compat flag.
   6122        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
   6123        #   nm: unknown option "B" ignored
   6124        case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   6125        *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
   6126 	 break
   6127 	 ;;
   6128        *)
   6129 	 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   6130 	 *$tmp_nm*)
   6131 	   lt_cv_path_NM="$tmp_nm -p"
   6132 	   break
   6133 	   ;;
   6134 	 *)
   6135 	   lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6136 	   continue # so that we can try to find one that supports BSD flags
   6137 	   ;;
   6138 	 esac
   6139 	 ;;
   6140        esac
   6141      fi
   6142    done
   6143    IFS="$lt_save_ifs"
   6144  done
   6145  : ${lt_cv_path_NM=no}
   6146 fi
   6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6148 $as_echo "$lt_cv_path_NM" >&6; }
   6149 if test "$lt_cv_path_NM" != "no"; then
   6150   NM="$lt_cv_path_NM"
   6151 else
   6152   # Didn't find any BSD compatible name lister, look for dumpbin.
   6153   if test -n "$DUMPBIN"; then :
   6154     # Let the user override the test.
   6155   else
   6156     if test -n "$ac_tool_prefix"; then
   6157   for ac_prog in dumpbin "link -dump"
   6158   do
   6159     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6160 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6162 $as_echo_n "checking for $ac_word... " >&6; }
   6163 if ${ac_cv_prog_DUMPBIN+:} false; then :
   6164   $as_echo_n "(cached) " >&6
   6165 else
   6166   if test -n "$DUMPBIN"; then
   6167   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6168 else
   6169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6170 for as_dir in $PATH
   6171 do
   6172   IFS=$as_save_IFS
   6173   test -z "$as_dir" && as_dir=.
   6174     for ac_exec_ext in '' $ac_executable_extensions; do
   6175   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6176     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6177     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6178     break 2
   6179   fi
   6180 done
   6181   done
   6182 IFS=$as_save_IFS
   6183 
   6184 fi
   6185 fi
   6186 DUMPBIN=$ac_cv_prog_DUMPBIN
   6187 if test -n "$DUMPBIN"; then
   6188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6189 $as_echo "$DUMPBIN" >&6; }
   6190 else
   6191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6192 $as_echo "no" >&6; }
   6193 fi
   6194 
   6195 
   6196     test -n "$DUMPBIN" && break
   6197   done
   6198 fi
   6199 if test -z "$DUMPBIN"; then
   6200   ac_ct_DUMPBIN=$DUMPBIN
   6201   for ac_prog in dumpbin "link -dump"
   6202 do
   6203   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6204 set dummy $ac_prog; ac_word=$2
   6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6206 $as_echo_n "checking for $ac_word... " >&6; }
   6207 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   6208   $as_echo_n "(cached) " >&6
   6209 else
   6210   if test -n "$ac_ct_DUMPBIN"; then
   6211   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6212 else
   6213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6214 for as_dir in $PATH
   6215 do
   6216   IFS=$as_save_IFS
   6217   test -z "$as_dir" && as_dir=.
   6218     for ac_exec_ext in '' $ac_executable_extensions; do
   6219   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6220     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6221     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6222     break 2
   6223   fi
   6224 done
   6225   done
   6226 IFS=$as_save_IFS
   6227 
   6228 fi
   6229 fi
   6230 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6231 if test -n "$ac_ct_DUMPBIN"; then
   6232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6233 $as_echo "$ac_ct_DUMPBIN" >&6; }
   6234 else
   6235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6236 $as_echo "no" >&6; }
   6237 fi
   6238 
   6239 
   6240   test -n "$ac_ct_DUMPBIN" && break
   6241 done
   6242 
   6243   if test "x$ac_ct_DUMPBIN" = x; then
   6244     DUMPBIN=":"
   6245   else
   6246     case $cross_compiling:$ac_tool_warned in
   6247 yes:)
   6248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6250 ac_tool_warned=yes ;;
   6251 esac
   6252     DUMPBIN=$ac_ct_DUMPBIN
   6253   fi
   6254 fi
   6255 
   6256     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   6257     *COFF*)
   6258       DUMPBIN="$DUMPBIN -symbols"
   6259       ;;
   6260     *)
   6261       DUMPBIN=:
   6262       ;;
   6263     esac
   6264   fi
   6265 
   6266   if test "$DUMPBIN" != ":"; then
   6267     NM="$DUMPBIN"
   6268   fi
   6269 fi
   6270 test -z "$NM" && NM=nm
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6278 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   6279 if ${lt_cv_nm_interface+:} false; then :
   6280   $as_echo_n "(cached) " >&6
   6281 else
   6282   lt_cv_nm_interface="BSD nm"
   6283   echo "int some_variable = 0;" > conftest.$ac_ext
   6284   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6285   (eval "$ac_compile" 2>conftest.err)
   6286   cat conftest.err >&5
   6287   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6288   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6289   cat conftest.err >&5
   6290   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6291   cat conftest.out >&5
   6292   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6293     lt_cv_nm_interface="MS dumpbin"
   6294   fi
   6295   rm -f conftest*
   6296 fi
   6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6298 $as_echo "$lt_cv_nm_interface" >&6; }
   6299 
   6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6301 $as_echo_n "checking whether ln -s works... " >&6; }
   6302 LN_S=$as_ln_s
   6303 if test "$LN_S" = "ln -s"; then
   6304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6305 $as_echo "yes" >&6; }
   6306 else
   6307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6308 $as_echo "no, using $LN_S" >&6; }
   6309 fi
   6310 
   6311 # find the maximum length of command line arguments
   6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6313 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6314 if ${lt_cv_sys_max_cmd_len+:} false; then :
   6315   $as_echo_n "(cached) " >&6
   6316 else
   6317     i=0
   6318   teststring="ABCD"
   6319 
   6320   case $build_os in
   6321   msdosdjgpp*)
   6322     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6323     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6324     # during glob expansion).  Even if it were fixed, the result of this
   6325     # check would be larger than it should be.
   6326     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6327     ;;
   6328 
   6329   gnu*)
   6330     # Under GNU Hurd, this test is not required because there is
   6331     # no limit to the length of command line arguments.
   6332     # Libtool will interpret -1 as no limit whatsoever
   6333     lt_cv_sys_max_cmd_len=-1;
   6334     ;;
   6335 
   6336   cygwin* | mingw* | cegcc*)
   6337     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6338     # about 5 minutes as the teststring grows exponentially.
   6339     # Worse, since 9x/ME are not pre-emptively multitasking,
   6340     # you end up with a "frozen" computer, even though with patience
   6341     # the test eventually succeeds (with a max line length of 256k).
   6342     # Instead, let's just punt: use the minimum linelength reported by
   6343     # all of the supported platforms: 8192 (on NT/2K/XP).
   6344     lt_cv_sys_max_cmd_len=8192;
   6345     ;;
   6346 
   6347   mint*)
   6348     # On MiNT this can take a long time and run out of memory.
   6349     lt_cv_sys_max_cmd_len=8192;
   6350     ;;
   6351 
   6352   amigaos*)
   6353     # On AmigaOS with pdksh, this test takes hours, literally.
   6354     # So we just punt and use a minimum line length of 8192.
   6355     lt_cv_sys_max_cmd_len=8192;
   6356     ;;
   6357 
   6358   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6359     # This has been around since 386BSD, at least.  Likely further.
   6360     if test -x /sbin/sysctl; then
   6361       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6362     elif test -x /usr/sbin/sysctl; then
   6363       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6364     else
   6365       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6366     fi
   6367     # And add a safety zone
   6368     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6369     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6370     ;;
   6371 
   6372   interix*)
   6373     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6374     lt_cv_sys_max_cmd_len=196608
   6375     ;;
   6376 
   6377   osf*)
   6378     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6379     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6380     # nice to cause kernel panics so lets avoid the loop below.
   6381     # First set a reasonable default.
   6382     lt_cv_sys_max_cmd_len=16384
   6383     #
   6384     if test -x /sbin/sysconfig; then
   6385       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6386         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6387       esac
   6388     fi
   6389     ;;
   6390   sco3.2v5*)
   6391     lt_cv_sys_max_cmd_len=102400
   6392     ;;
   6393   sysv5* | sco5v6* | sysv4.2uw2*)
   6394     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6395     if test -n "$kargmax"; then
   6396       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6397     else
   6398       lt_cv_sys_max_cmd_len=32768
   6399     fi
   6400     ;;
   6401   *)
   6402     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6403     if test -n "$lt_cv_sys_max_cmd_len"; then
   6404       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6405       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6406     else
   6407       # Make teststring a little bigger before we do anything with it.
   6408       # a 1K string should be a reasonable start.
   6409       for i in 1 2 3 4 5 6 7 8 ; do
   6410         teststring=$teststring$teststring
   6411       done
   6412       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6413       # If test is not a shell built-in, we'll probably end up computing a
   6414       # maximum length that is only half of the actual maximum length, but
   6415       # we can't tell.
   6416       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   6417 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6418 	      test $i != 17 # 1/2 MB should be enough
   6419       do
   6420         i=`expr $i + 1`
   6421         teststring=$teststring$teststring
   6422       done
   6423       # Only check the string length outside the loop.
   6424       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6425       teststring=
   6426       # Add a significant safety factor because C++ compilers can tack on
   6427       # massive amounts of additional arguments before passing them to the
   6428       # linker.  It appears as though 1/2 is a usable value.
   6429       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6430     fi
   6431     ;;
   6432   esac
   6433 
   6434 fi
   6435 
   6436 if test -n $lt_cv_sys_max_cmd_len ; then
   6437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6438 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6439 else
   6440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6441 $as_echo "none" >&6; }
   6442 fi
   6443 max_cmd_len=$lt_cv_sys_max_cmd_len
   6444 
   6445 
   6446 
   6447 
   6448 
   6449 
   6450 : ${CP="cp -f"}
   6451 : ${MV="mv -f"}
   6452 : ${RM="rm -f"}
   6453 
   6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   6455 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   6456 # Try some XSI features
   6457 xsi_shell=no
   6458 ( _lt_dummy="a/b/c"
   6459   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   6460       = c,a/b,, \
   6461     && eval 'test $(( 1 + 1 )) -eq 2 \
   6462     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   6463   && xsi_shell=yes
   6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   6465 $as_echo "$xsi_shell" >&6; }
   6466 
   6467 
   6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   6469 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   6470 lt_shell_append=no
   6471 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   6472     >/dev/null 2>&1 \
   6473   && lt_shell_append=yes
   6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   6475 $as_echo "$lt_shell_append" >&6; }
   6476 
   6477 
   6478 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6479   lt_unset=unset
   6480 else
   6481   lt_unset=false
   6482 fi
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 # test EBCDIC or ASCII
   6489 case `echo X|tr X '\101'` in
   6490  A) # ASCII based system
   6491     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6492   lt_SP2NL='tr \040 \012'
   6493   lt_NL2SP='tr \015\012 \040\040'
   6494   ;;
   6495  *) # EBCDIC based system
   6496   lt_SP2NL='tr \100 \n'
   6497   lt_NL2SP='tr \r\n \100\100'
   6498   ;;
   6499 esac
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 
   6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6510 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6511 if ${lt_cv_ld_reload_flag+:} false; then :
   6512   $as_echo_n "(cached) " >&6
   6513 else
   6514   lt_cv_ld_reload_flag='-r'
   6515 fi
   6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6517 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6518 reload_flag=$lt_cv_ld_reload_flag
   6519 case $reload_flag in
   6520 "" | " "*) ;;
   6521 *) reload_flag=" $reload_flag" ;;
   6522 esac
   6523 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6524 case $host_os in
   6525   darwin*)
   6526     if test "$GCC" = yes; then
   6527       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6528     else
   6529       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6530     fi
   6531     ;;
   6532 esac
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 if test -n "$ac_tool_prefix"; then
   6543   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6544 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6546 $as_echo_n "checking for $ac_word... " >&6; }
   6547 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6548   $as_echo_n "(cached) " >&6
   6549 else
   6550   if test -n "$OBJDUMP"; then
   6551   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6552 else
   6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6554 for as_dir in $PATH
   6555 do
   6556   IFS=$as_save_IFS
   6557   test -z "$as_dir" && as_dir=.
   6558     for ac_exec_ext in '' $ac_executable_extensions; do
   6559   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6560     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6561     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6562     break 2
   6563   fi
   6564 done
   6565   done
   6566 IFS=$as_save_IFS
   6567 
   6568 fi
   6569 fi
   6570 OBJDUMP=$ac_cv_prog_OBJDUMP
   6571 if test -n "$OBJDUMP"; then
   6572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6573 $as_echo "$OBJDUMP" >&6; }
   6574 else
   6575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6576 $as_echo "no" >&6; }
   6577 fi
   6578 
   6579 
   6580 fi
   6581 if test -z "$ac_cv_prog_OBJDUMP"; then
   6582   ac_ct_OBJDUMP=$OBJDUMP
   6583   # Extract the first word of "objdump", so it can be a program name with args.
   6584 set dummy objdump; ac_word=$2
   6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6586 $as_echo_n "checking for $ac_word... " >&6; }
   6587 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6588   $as_echo_n "(cached) " >&6
   6589 else
   6590   if test -n "$ac_ct_OBJDUMP"; then
   6591   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6592 else
   6593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6594 for as_dir in $PATH
   6595 do
   6596   IFS=$as_save_IFS
   6597   test -z "$as_dir" && as_dir=.
   6598     for ac_exec_ext in '' $ac_executable_extensions; do
   6599   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6600     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6602     break 2
   6603   fi
   6604 done
   6605   done
   6606 IFS=$as_save_IFS
   6607 
   6608 fi
   6609 fi
   6610 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6611 if test -n "$ac_ct_OBJDUMP"; then
   6612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6613 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6614 else
   6615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6616 $as_echo "no" >&6; }
   6617 fi
   6618 
   6619   if test "x$ac_ct_OBJDUMP" = x; then
   6620     OBJDUMP="false"
   6621   else
   6622     case $cross_compiling:$ac_tool_warned in
   6623 yes:)
   6624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6626 ac_tool_warned=yes ;;
   6627 esac
   6628     OBJDUMP=$ac_ct_OBJDUMP
   6629   fi
   6630 else
   6631   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6632 fi
   6633 
   6634 test -z "$OBJDUMP" && OBJDUMP=objdump
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6645 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6646 if ${lt_cv_deplibs_check_method+:} false; then :
   6647   $as_echo_n "(cached) " >&6
   6648 else
   6649   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6650 lt_cv_file_magic_test_file=
   6651 lt_cv_deplibs_check_method='unknown'
   6652 # Need to set the preceding variable on all platforms that support
   6653 # interlibrary dependencies.
   6654 # 'none' -- dependencies not supported.
   6655 # `unknown' -- same as none, but documents that we really don't know.
   6656 # 'pass_all' -- all dependencies passed with no checks.
   6657 # 'test_compile' -- check by making test program.
   6658 # 'file_magic [[regex]]' -- check by looking for files in library path
   6659 # which responds to the $file_magic_cmd with a given extended regex.
   6660 # If you have `file' or equivalent on your system and you're not sure
   6661 # whether `pass_all' will *always* work, you probably want this one.
   6662 
   6663 case $host_os in
   6664 aix[4-9]*)
   6665   lt_cv_deplibs_check_method=pass_all
   6666   ;;
   6667 
   6668 beos*)
   6669   lt_cv_deplibs_check_method=pass_all
   6670   ;;
   6671 
   6672 bsdi[45]*)
   6673   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6674   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6675   lt_cv_file_magic_test_file=/shlib/libc.so
   6676   ;;
   6677 
   6678 cygwin*)
   6679   # func_win32_libid is a shell function defined in ltmain.sh
   6680   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6681   lt_cv_file_magic_cmd='func_win32_libid'
   6682   ;;
   6683 
   6684 mingw* | pw32*)
   6685   # Base MSYS/MinGW do not provide the 'file' command needed by
   6686   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6687   # unless we find 'file', for example because we are cross-compiling.
   6688   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6689   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6690     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6691     lt_cv_file_magic_cmd='func_win32_libid'
   6692   else
   6693     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6694     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6695   fi
   6696   ;;
   6697 
   6698 cegcc*)
   6699   # use the weaker test based on 'objdump'. See mingw*.
   6700   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6701   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6702   ;;
   6703 
   6704 darwin* | rhapsody*)
   6705   lt_cv_deplibs_check_method=pass_all
   6706   ;;
   6707 
   6708 freebsd* | dragonfly*)
   6709   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6710     case $host_cpu in
   6711     i*86 )
   6712       # Not sure whether the presence of OpenBSD here was a mistake.
   6713       # Let's accept both of them until this is cleared up.
   6714       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6715       lt_cv_file_magic_cmd=/usr/bin/file
   6716       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6717       ;;
   6718     esac
   6719   else
   6720     lt_cv_deplibs_check_method=pass_all
   6721   fi
   6722   ;;
   6723 
   6724 gnu*)
   6725   lt_cv_deplibs_check_method=pass_all
   6726   ;;
   6727 
   6728 haiku*)
   6729   lt_cv_deplibs_check_method=pass_all
   6730   ;;
   6731 
   6732 hpux10.20* | hpux11*)
   6733   lt_cv_file_magic_cmd=/usr/bin/file
   6734   case $host_cpu in
   6735   ia64*)
   6736     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6737     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6738     ;;
   6739   hppa*64*)
   6740     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]'
   6741     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6742     ;;
   6743   *)
   6744     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6745     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6746     ;;
   6747   esac
   6748   ;;
   6749 
   6750 interix[3-9]*)
   6751   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6752   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6753   ;;
   6754 
   6755 irix5* | irix6* | nonstopux*)
   6756   case $LD in
   6757   *-32|*"-32 ") libmagic=32-bit;;
   6758   *-n32|*"-n32 ") libmagic=N32;;
   6759   *-64|*"-64 ") libmagic=64-bit;;
   6760   *) libmagic=never-match;;
   6761   esac
   6762   lt_cv_deplibs_check_method=pass_all
   6763   ;;
   6764 
   6765 # This must be Linux ELF.
   6766 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   6767   lt_cv_deplibs_check_method=pass_all
   6768   ;;
   6769 
   6770 netbsd*)
   6771   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6772     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6773   else
   6774     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6775   fi
   6776   ;;
   6777 
   6778 newos6*)
   6779   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6780   lt_cv_file_magic_cmd=/usr/bin/file
   6781   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6782   ;;
   6783 
   6784 *nto* | *qnx*)
   6785   lt_cv_deplibs_check_method=pass_all
   6786   ;;
   6787 
   6788 openbsd*)
   6789   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6790     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6791   else
   6792     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6793   fi
   6794   ;;
   6795 
   6796 osf3* | osf4* | osf5*)
   6797   lt_cv_deplibs_check_method=pass_all
   6798   ;;
   6799 
   6800 rdos*)
   6801   lt_cv_deplibs_check_method=pass_all
   6802   ;;
   6803 
   6804 solaris*)
   6805   lt_cv_deplibs_check_method=pass_all
   6806   ;;
   6807 
   6808 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6809   lt_cv_deplibs_check_method=pass_all
   6810   ;;
   6811 
   6812 sysv4 | sysv4.3*)
   6813   case $host_vendor in
   6814   motorola)
   6815     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]'
   6816     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6817     ;;
   6818   ncr)
   6819     lt_cv_deplibs_check_method=pass_all
   6820     ;;
   6821   sequent)
   6822     lt_cv_file_magic_cmd='/bin/file'
   6823     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6824     ;;
   6825   sni)
   6826     lt_cv_file_magic_cmd='/bin/file'
   6827     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6828     lt_cv_file_magic_test_file=/lib/libc.so
   6829     ;;
   6830   siemens)
   6831     lt_cv_deplibs_check_method=pass_all
   6832     ;;
   6833   pc)
   6834     lt_cv_deplibs_check_method=pass_all
   6835     ;;
   6836   esac
   6837   ;;
   6838 
   6839 tpf*)
   6840   lt_cv_deplibs_check_method=pass_all
   6841   ;;
   6842 vxworks*)
   6843   # Assume VxWorks cross toolchains are built on Linux, possibly
   6844   # as canadian for Windows hosts.
   6845   lt_cv_deplibs_check_method=pass_all
   6846   ;;
   6847 esac
   6848 
   6849 fi
   6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6851 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6852 file_magic_cmd=$lt_cv_file_magic_cmd
   6853 deplibs_check_method=$lt_cv_deplibs_check_method
   6854 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 plugin_option=
   6868 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
   6869 for plugin in $plugin_names; do
   6870   plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
   6871   if test x$plugin_so = x$plugin; then
   6872     plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
   6873   fi
   6874   if test x$plugin_so != x$plugin; then
   6875     plugin_option="--plugin $plugin_so"
   6876     break
   6877   fi
   6878 done
   6879 
   6880 if test -n "$ac_tool_prefix"; then
   6881   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6882 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6884 $as_echo_n "checking for $ac_word... " >&6; }
   6885 if ${ac_cv_prog_AR+:} false; then :
   6886   $as_echo_n "(cached) " >&6
   6887 else
   6888   if test -n "$AR"; then
   6889   ac_cv_prog_AR="$AR" # Let the user override the test.
   6890 else
   6891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6892 for as_dir in $PATH
   6893 do
   6894   IFS=$as_save_IFS
   6895   test -z "$as_dir" && as_dir=.
   6896     for ac_exec_ext in '' $ac_executable_extensions; do
   6897   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6898     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6900     break 2
   6901   fi
   6902 done
   6903   done
   6904 IFS=$as_save_IFS
   6905 
   6906 fi
   6907 fi
   6908 AR=$ac_cv_prog_AR
   6909 if test -n "$AR"; then
   6910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6911 $as_echo "$AR" >&6; }
   6912 else
   6913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6914 $as_echo "no" >&6; }
   6915 fi
   6916 
   6917 
   6918 fi
   6919 if test -z "$ac_cv_prog_AR"; then
   6920   ac_ct_AR=$AR
   6921   # Extract the first word of "ar", so it can be a program name with args.
   6922 set dummy ar; ac_word=$2
   6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6924 $as_echo_n "checking for $ac_word... " >&6; }
   6925 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6926   $as_echo_n "(cached) " >&6
   6927 else
   6928   if test -n "$ac_ct_AR"; then
   6929   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6930 else
   6931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6932 for as_dir in $PATH
   6933 do
   6934   IFS=$as_save_IFS
   6935   test -z "$as_dir" && as_dir=.
   6936     for ac_exec_ext in '' $ac_executable_extensions; do
   6937   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6938     ac_cv_prog_ac_ct_AR="ar"
   6939     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6940     break 2
   6941   fi
   6942 done
   6943   done
   6944 IFS=$as_save_IFS
   6945 
   6946 fi
   6947 fi
   6948 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6949 if test -n "$ac_ct_AR"; then
   6950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6951 $as_echo "$ac_ct_AR" >&6; }
   6952 else
   6953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6954 $as_echo "no" >&6; }
   6955 fi
   6956 
   6957   if test "x$ac_ct_AR" = x; then
   6958     AR="false"
   6959   else
   6960     case $cross_compiling:$ac_tool_warned in
   6961 yes:)
   6962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6964 ac_tool_warned=yes ;;
   6965 esac
   6966     AR=$ac_ct_AR
   6967   fi
   6968 else
   6969   AR="$ac_cv_prog_AR"
   6970 fi
   6971 
   6972 test -z "$AR" && AR=ar
   6973 if test -n "$plugin_option"; then
   6974   if $AR --help 2>&1 | grep -q "\--plugin"; then
   6975     touch conftest.c
   6976     $AR $plugin_option rc conftest.a conftest.c
   6977     if test "$?" != 0; then
   6978       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   6979 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   6980     else
   6981       AR="$AR $plugin_option"
   6982     fi
   6983     rm -f conftest.*
   6984   fi
   6985 fi
   6986 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 if test -n "$ac_tool_prefix"; then
   6999   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7000 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7002 $as_echo_n "checking for $ac_word... " >&6; }
   7003 if ${ac_cv_prog_STRIP+:} false; then :
   7004   $as_echo_n "(cached) " >&6
   7005 else
   7006   if test -n "$STRIP"; then
   7007   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7008 else
   7009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7010 for as_dir in $PATH
   7011 do
   7012   IFS=$as_save_IFS
   7013   test -z "$as_dir" && as_dir=.
   7014     for ac_exec_ext in '' $ac_executable_extensions; do
   7015   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7016     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7017     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7018     break 2
   7019   fi
   7020 done
   7021   done
   7022 IFS=$as_save_IFS
   7023 
   7024 fi
   7025 fi
   7026 STRIP=$ac_cv_prog_STRIP
   7027 if test -n "$STRIP"; then
   7028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7029 $as_echo "$STRIP" >&6; }
   7030 else
   7031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7032 $as_echo "no" >&6; }
   7033 fi
   7034 
   7035 
   7036 fi
   7037 if test -z "$ac_cv_prog_STRIP"; then
   7038   ac_ct_STRIP=$STRIP
   7039   # Extract the first word of "strip", so it can be a program name with args.
   7040 set dummy strip; ac_word=$2
   7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7042 $as_echo_n "checking for $ac_word... " >&6; }
   7043 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   7044   $as_echo_n "(cached) " >&6
   7045 else
   7046   if test -n "$ac_ct_STRIP"; then
   7047   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7048 else
   7049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7050 for as_dir in $PATH
   7051 do
   7052   IFS=$as_save_IFS
   7053   test -z "$as_dir" && as_dir=.
   7054     for ac_exec_ext in '' $ac_executable_extensions; do
   7055   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7056     ac_cv_prog_ac_ct_STRIP="strip"
   7057     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7058     break 2
   7059   fi
   7060 done
   7061   done
   7062 IFS=$as_save_IFS
   7063 
   7064 fi
   7065 fi
   7066 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7067 if test -n "$ac_ct_STRIP"; then
   7068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7069 $as_echo "$ac_ct_STRIP" >&6; }
   7070 else
   7071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7072 $as_echo "no" >&6; }
   7073 fi
   7074 
   7075   if test "x$ac_ct_STRIP" = x; then
   7076     STRIP=":"
   7077   else
   7078     case $cross_compiling:$ac_tool_warned in
   7079 yes:)
   7080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7082 ac_tool_warned=yes ;;
   7083 esac
   7084     STRIP=$ac_ct_STRIP
   7085   fi
   7086 else
   7087   STRIP="$ac_cv_prog_STRIP"
   7088 fi
   7089 
   7090 test -z "$STRIP" && STRIP=:
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 if test -n "$ac_tool_prefix"; then
   7098   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7099 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7101 $as_echo_n "checking for $ac_word... " >&6; }
   7102 if ${ac_cv_prog_RANLIB+:} false; then :
   7103   $as_echo_n "(cached) " >&6
   7104 else
   7105   if test -n "$RANLIB"; then
   7106   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7107 else
   7108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7109 for as_dir in $PATH
   7110 do
   7111   IFS=$as_save_IFS
   7112   test -z "$as_dir" && as_dir=.
   7113     for ac_exec_ext in '' $ac_executable_extensions; do
   7114   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7115     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7117     break 2
   7118   fi
   7119 done
   7120   done
   7121 IFS=$as_save_IFS
   7122 
   7123 fi
   7124 fi
   7125 RANLIB=$ac_cv_prog_RANLIB
   7126 if test -n "$RANLIB"; then
   7127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7128 $as_echo "$RANLIB" >&6; }
   7129 else
   7130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7131 $as_echo "no" >&6; }
   7132 fi
   7133 
   7134 
   7135 fi
   7136 if test -z "$ac_cv_prog_RANLIB"; then
   7137   ac_ct_RANLIB=$RANLIB
   7138   # Extract the first word of "ranlib", so it can be a program name with args.
   7139 set dummy ranlib; ac_word=$2
   7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7141 $as_echo_n "checking for $ac_word... " >&6; }
   7142 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   7143   $as_echo_n "(cached) " >&6
   7144 else
   7145   if test -n "$ac_ct_RANLIB"; then
   7146   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7147 else
   7148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7149 for as_dir in $PATH
   7150 do
   7151   IFS=$as_save_IFS
   7152   test -z "$as_dir" && as_dir=.
   7153     for ac_exec_ext in '' $ac_executable_extensions; do
   7154   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7155     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7156     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7157     break 2
   7158   fi
   7159 done
   7160   done
   7161 IFS=$as_save_IFS
   7162 
   7163 fi
   7164 fi
   7165 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7166 if test -n "$ac_ct_RANLIB"; then
   7167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7168 $as_echo "$ac_ct_RANLIB" >&6; }
   7169 else
   7170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7171 $as_echo "no" >&6; }
   7172 fi
   7173 
   7174   if test "x$ac_ct_RANLIB" = x; then
   7175     RANLIB=":"
   7176   else
   7177     case $cross_compiling:$ac_tool_warned in
   7178 yes:)
   7179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7181 ac_tool_warned=yes ;;
   7182 esac
   7183     RANLIB=$ac_ct_RANLIB
   7184   fi
   7185 else
   7186   RANLIB="$ac_cv_prog_RANLIB"
   7187 fi
   7188 
   7189 test -z "$RANLIB" && RANLIB=:
   7190 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
   7191   if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
   7192     RANLIB="$RANLIB $plugin_option"
   7193   fi
   7194 fi
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 # Determine commands to create old-style static archives.
   7202 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7203 old_postinstall_cmds='chmod 644 $oldlib'
   7204 old_postuninstall_cmds=
   7205 
   7206 if test -n "$RANLIB"; then
   7207   case $host_os in
   7208   openbsd*)
   7209     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7210     ;;
   7211   *)
   7212     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7213     ;;
   7214   esac
   7215   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7216 fi
   7217 
   7218 case $host_os in
   7219   darwin*)
   7220     lock_old_archive_extraction=yes ;;
   7221   *)
   7222     lock_old_archive_extraction=no ;;
   7223 esac
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 for ac_prog in gawk mawk nawk awk
   7246 do
   7247   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7248 set dummy $ac_prog; ac_word=$2
   7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7250 $as_echo_n "checking for $ac_word... " >&6; }
   7251 if ${ac_cv_prog_AWK+:} false; then :
   7252   $as_echo_n "(cached) " >&6
   7253 else
   7254   if test -n "$AWK"; then
   7255   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   7256 else
   7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7258 for as_dir in $PATH
   7259 do
   7260   IFS=$as_save_IFS
   7261   test -z "$as_dir" && as_dir=.
   7262     for ac_exec_ext in '' $ac_executable_extensions; do
   7263   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7264     ac_cv_prog_AWK="$ac_prog"
   7265     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7266     break 2
   7267   fi
   7268 done
   7269   done
   7270 IFS=$as_save_IFS
   7271 
   7272 fi
   7273 fi
   7274 AWK=$ac_cv_prog_AWK
   7275 if test -n "$AWK"; then
   7276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   7277 $as_echo "$AWK" >&6; }
   7278 else
   7279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7280 $as_echo "no" >&6; }
   7281 fi
   7282 
   7283 
   7284   test -n "$AWK" && break
   7285 done
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 # If no C compiler was specified, use CC.
   7306 LTCC=${LTCC-"$CC"}
   7307 
   7308 # If no C compiler flags were specified, use CFLAGS.
   7309 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7310 
   7311 # Allow CC to be a program name with arguments.
   7312 compiler=$CC
   7313 
   7314 
   7315 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7317 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7318 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   7319   $as_echo_n "(cached) " >&6
   7320 else
   7321 
   7322 # These are sane defaults that work on at least a few old systems.
   7323 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7324 
   7325 # Character class describing NM global symbol codes.
   7326 symcode='[BCDEGRST]'
   7327 
   7328 # Regexp to match symbols that can be accessed directly from C.
   7329 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7330 
   7331 # Define system-specific variables.
   7332 case $host_os in
   7333 aix*)
   7334   symcode='[BCDT]'
   7335   ;;
   7336 cygwin* | mingw* | pw32* | cegcc*)
   7337   symcode='[ABCDGISTW]'
   7338   ;;
   7339 hpux*)
   7340   if test "$host_cpu" = ia64; then
   7341     symcode='[ABCDEGRST]'
   7342   fi
   7343   ;;
   7344 irix* | nonstopux*)
   7345   symcode='[BCDEGRST]'
   7346   ;;
   7347 osf*)
   7348   symcode='[BCDEGQRST]'
   7349   ;;
   7350 solaris*)
   7351   symcode='[BCDRT]'
   7352   ;;
   7353 sco3.2v5*)
   7354   symcode='[DT]'
   7355   ;;
   7356 sysv4.2uw2*)
   7357   symcode='[DT]'
   7358   ;;
   7359 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7360   symcode='[ABDT]'
   7361   ;;
   7362 sysv4)
   7363   symcode='[DFNSTU]'
   7364   ;;
   7365 esac
   7366 
   7367 # If we're using GNU nm, then use its standard symbol codes.
   7368 case `$NM -V 2>&1` in
   7369 *GNU* | *'with BFD'*)
   7370   symcode='[ABCDGIRSTW]' ;;
   7371 esac
   7372 
   7373 # Transform an extracted symbol line into a proper C declaration.
   7374 # Some systems (esp. on ia64) link data and code symbols differently,
   7375 # so use this general approach.
   7376 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7377 
   7378 # Transform an extracted symbol line into symbol name and symbol address
   7379 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7380 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'"
   7381 
   7382 # Handle CRLF in mingw tool chain
   7383 opt_cr=
   7384 case $build_os in
   7385 mingw*)
   7386   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7387   ;;
   7388 esac
   7389 
   7390 # Try without a prefix underscore, then with it.
   7391 for ac_symprfx in "" "_"; do
   7392 
   7393   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7394   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7395 
   7396   # Write the raw and C identifiers.
   7397   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7398     # Fake it for dumpbin and say T for any non-static function
   7399     # and D for any global variable.
   7400     # Also find C++ and __fastcall symbols from MSVC++,
   7401     # which start with @ or ?.
   7402     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7403 "     {last_section=section; section=\$ 3};"\
   7404 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7405 "     \$ 0!~/External *\|/{next};"\
   7406 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7407 "     {if(hide[section]) next};"\
   7408 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7409 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7410 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7411 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7412 "     ' prfx=^$ac_symprfx"
   7413   else
   7414     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7415   fi
   7416 
   7417   # Check to see that the pipe works correctly.
   7418   pipe_works=no
   7419 
   7420   rm -f conftest*
   7421   cat > conftest.$ac_ext <<_LT_EOF
   7422 #ifdef __cplusplus
   7423 extern "C" {
   7424 #endif
   7425 char nm_test_var;
   7426 void nm_test_func(void);
   7427 void nm_test_func(void){}
   7428 #ifdef __cplusplus
   7429 }
   7430 #endif
   7431 int main(){nm_test_var='a';nm_test_func();return(0);}
   7432 _LT_EOF
   7433 
   7434   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7435   (eval $ac_compile) 2>&5
   7436   ac_status=$?
   7437   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7438   test $ac_status = 0; }; then
   7439     # Now try to grab the symbols.
   7440     nlist=conftest.nm
   7441     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7442   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7443   ac_status=$?
   7444   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7445   test $ac_status = 0; } && test -s "$nlist"; then
   7446       # Try sorting and uniquifying the output.
   7447       if sort "$nlist" | uniq > "$nlist"T; then
   7448 	mv -f "$nlist"T "$nlist"
   7449       else
   7450 	rm -f "$nlist"T
   7451       fi
   7452 
   7453       # Make sure that we snagged all the symbols we need.
   7454       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7455 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7456 	  cat <<_LT_EOF > conftest.$ac_ext
   7457 #ifdef __cplusplus
   7458 extern "C" {
   7459 #endif
   7460 
   7461 _LT_EOF
   7462 	  # Now generate the symbol file.
   7463 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7464 
   7465 	  cat <<_LT_EOF >> conftest.$ac_ext
   7466 
   7467 /* The mapping between symbol names and symbols.  */
   7468 const struct {
   7469   const char *name;
   7470   void       *address;
   7471 }
   7472 lt__PROGRAM__LTX_preloaded_symbols[] =
   7473 {
   7474   { "@PROGRAM@", (void *) 0 },
   7475 _LT_EOF
   7476 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7477 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7478   {0, (void *) 0}
   7479 };
   7480 
   7481 /* This works around a problem in FreeBSD linker */
   7482 #ifdef FREEBSD_WORKAROUND
   7483 static const void *lt_preloaded_setup() {
   7484   return lt__PROGRAM__LTX_preloaded_symbols;
   7485 }
   7486 #endif
   7487 
   7488 #ifdef __cplusplus
   7489 }
   7490 #endif
   7491 _LT_EOF
   7492 	  # Now try linking the two files.
   7493 	  mv conftest.$ac_objext conftstm.$ac_objext
   7494 	  lt_save_LIBS="$LIBS"
   7495 	  lt_save_CFLAGS="$CFLAGS"
   7496 	  LIBS="conftstm.$ac_objext"
   7497 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7498 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7499   (eval $ac_link) 2>&5
   7500   ac_status=$?
   7501   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7502   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7503 	    pipe_works=yes
   7504 	  fi
   7505 	  LIBS="$lt_save_LIBS"
   7506 	  CFLAGS="$lt_save_CFLAGS"
   7507 	else
   7508 	  echo "cannot find nm_test_func in $nlist" >&5
   7509 	fi
   7510       else
   7511 	echo "cannot find nm_test_var in $nlist" >&5
   7512       fi
   7513     else
   7514       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7515     fi
   7516   else
   7517     echo "$progname: failed program was:" >&5
   7518     cat conftest.$ac_ext >&5
   7519   fi
   7520   rm -rf conftest* conftst*
   7521 
   7522   # Do not use the global_symbol_pipe unless it works.
   7523   if test "$pipe_works" = yes; then
   7524     break
   7525   else
   7526     lt_cv_sys_global_symbol_pipe=
   7527   fi
   7528 done
   7529 
   7530 fi
   7531 
   7532 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7533   lt_cv_sys_global_symbol_to_cdecl=
   7534 fi
   7535 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7537 $as_echo "failed" >&6; }
   7538 else
   7539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7540 $as_echo "ok" >&6; }
   7541 fi
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 # Check whether --enable-libtool-lock was given.
   7565 if test "${enable_libtool_lock+set}" = set; then :
   7566   enableval=$enable_libtool_lock;
   7567 fi
   7568 
   7569 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7570 
   7571 # Some flags need to be propagated to the compiler or linker for good
   7572 # libtool support.
   7573 case $host in
   7574 ia64-*-hpux*)
   7575   # Find out which ABI we are using.
   7576   echo 'int i;' > conftest.$ac_ext
   7577   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7578   (eval $ac_compile) 2>&5
   7579   ac_status=$?
   7580   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7581   test $ac_status = 0; }; then
   7582     case `/usr/bin/file conftest.$ac_objext` in
   7583       *ELF-32*)
   7584 	HPUX_IA64_MODE="32"
   7585 	;;
   7586       *ELF-64*)
   7587 	HPUX_IA64_MODE="64"
   7588 	;;
   7589     esac
   7590   fi
   7591   rm -rf conftest*
   7592   ;;
   7593 *-*-irix6*)
   7594   # Find out which ABI we are using.
   7595   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7596   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7597   (eval $ac_compile) 2>&5
   7598   ac_status=$?
   7599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7600   test $ac_status = 0; }; then
   7601     if test "$lt_cv_prog_gnu_ld" = yes; then
   7602       case `/usr/bin/file conftest.$ac_objext` in
   7603 	*32-bit*)
   7604 	  LD="${LD-ld} -melf32bsmip"
   7605 	  ;;
   7606 	*N32*)
   7607 	  LD="${LD-ld} -melf32bmipn32"
   7608 	  ;;
   7609 	*64-bit*)
   7610 	  LD="${LD-ld} -melf64bmip"
   7611 	;;
   7612       esac
   7613     else
   7614       case `/usr/bin/file conftest.$ac_objext` in
   7615 	*32-bit*)
   7616 	  LD="${LD-ld} -32"
   7617 	  ;;
   7618 	*N32*)
   7619 	  LD="${LD-ld} -n32"
   7620 	  ;;
   7621 	*64-bit*)
   7622 	  LD="${LD-ld} -64"
   7623 	  ;;
   7624       esac
   7625     fi
   7626   fi
   7627   rm -rf conftest*
   7628   ;;
   7629 
   7630 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7631 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7632   # Find out which ABI we are using.
   7633   echo 'int i;' > conftest.$ac_ext
   7634   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7635   (eval $ac_compile) 2>&5
   7636   ac_status=$?
   7637   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7638   test $ac_status = 0; }; then
   7639     case `/usr/bin/file conftest.o` in
   7640       *32-bit*)
   7641 	case $host in
   7642 	  x86_64-*kfreebsd*-gnu)
   7643 	    LD="${LD-ld} -m elf_i386_fbsd"
   7644 	    ;;
   7645 	  x86_64-*linux*)
   7646 	    case `/usr/bin/file conftest.o` in
   7647 	      *x86-64*)
   7648 		LD="${LD-ld} -m elf32_x86_64"
   7649 		;;
   7650 	      *)
   7651 		LD="${LD-ld} -m elf_i386"
   7652 		;;
   7653 	    esac
   7654 	    ;;
   7655 	  powerpc64le-*linux*)
   7656 	    LD="${LD-ld} -m elf32lppclinux"
   7657 	    ;;
   7658 	  powerpc64-*linux*)
   7659 	    LD="${LD-ld} -m elf32ppclinux"
   7660 	    ;;
   7661 	  s390x-*linux*)
   7662 	    LD="${LD-ld} -m elf_s390"
   7663 	    ;;
   7664 	  sparc64-*linux*)
   7665 	    LD="${LD-ld} -m elf32_sparc"
   7666 	    ;;
   7667 	esac
   7668 	;;
   7669       *64-bit*)
   7670 	case $host in
   7671 	  x86_64-*kfreebsd*-gnu)
   7672 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7673 	    ;;
   7674 	  x86_64-*linux*)
   7675 	    LD="${LD-ld} -m elf_x86_64"
   7676 	    ;;
   7677 	  powerpcle-*linux*)
   7678 	    LD="${LD-ld} -m elf64lppc"
   7679 	    ;;
   7680 	  powerpc-*linux*)
   7681 	    LD="${LD-ld} -m elf64ppc"
   7682 	    ;;
   7683 	  s390*-*linux*|s390*-*tpf*)
   7684 	    LD="${LD-ld} -m elf64_s390"
   7685 	    ;;
   7686 	  sparc*-*linux*)
   7687 	    LD="${LD-ld} -m elf64_sparc"
   7688 	    ;;
   7689 	esac
   7690 	;;
   7691     esac
   7692   fi
   7693   rm -rf conftest*
   7694   ;;
   7695 
   7696 *-*-sco3.2v5*)
   7697   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7698   SAVE_CFLAGS="$CFLAGS"
   7699   CFLAGS="$CFLAGS -belf"
   7700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7701 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7702 if ${lt_cv_cc_needs_belf+:} false; then :
   7703   $as_echo_n "(cached) " >&6
   7704 else
   7705   ac_ext=c
   7706 ac_cpp='$CPP $CPPFLAGS'
   7707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7710 
   7711      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7712 /* end confdefs.h.  */
   7713 
   7714 int
   7715 main ()
   7716 {
   7717 
   7718   ;
   7719   return 0;
   7720 }
   7721 _ACEOF
   7722 if ac_fn_c_try_link "$LINENO"; then :
   7723   lt_cv_cc_needs_belf=yes
   7724 else
   7725   lt_cv_cc_needs_belf=no
   7726 fi
   7727 rm -f core conftest.err conftest.$ac_objext \
   7728     conftest$ac_exeext conftest.$ac_ext
   7729      ac_ext=c
   7730 ac_cpp='$CPP $CPPFLAGS'
   7731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7734 
   7735 fi
   7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7737 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7738   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7739     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7740     CFLAGS="$SAVE_CFLAGS"
   7741   fi
   7742   ;;
   7743 sparc*-*solaris*)
   7744   # Find out which ABI we are using.
   7745   echo 'int i;' > conftest.$ac_ext
   7746   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7747   (eval $ac_compile) 2>&5
   7748   ac_status=$?
   7749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7750   test $ac_status = 0; }; then
   7751     case `/usr/bin/file conftest.o` in
   7752     *64-bit*)
   7753       case $lt_cv_prog_gnu_ld in
   7754       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7755       *)
   7756 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7757 	  LD="${LD-ld} -64"
   7758 	fi
   7759 	;;
   7760       esac
   7761       ;;
   7762     esac
   7763   fi
   7764   rm -rf conftest*
   7765   ;;
   7766 esac
   7767 
   7768 need_locks="$enable_libtool_lock"
   7769 
   7770 
   7771   case $host_os in
   7772     rhapsody* | darwin*)
   7773     if test -n "$ac_tool_prefix"; then
   7774   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7775 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7777 $as_echo_n "checking for $ac_word... " >&6; }
   7778 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7779   $as_echo_n "(cached) " >&6
   7780 else
   7781   if test -n "$DSYMUTIL"; then
   7782   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7783 else
   7784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7785 for as_dir in $PATH
   7786 do
   7787   IFS=$as_save_IFS
   7788   test -z "$as_dir" && as_dir=.
   7789     for ac_exec_ext in '' $ac_executable_extensions; do
   7790   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7791     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7792     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7793     break 2
   7794   fi
   7795 done
   7796   done
   7797 IFS=$as_save_IFS
   7798 
   7799 fi
   7800 fi
   7801 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7802 if test -n "$DSYMUTIL"; then
   7803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7804 $as_echo "$DSYMUTIL" >&6; }
   7805 else
   7806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7807 $as_echo "no" >&6; }
   7808 fi
   7809 
   7810 
   7811 fi
   7812 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7813   ac_ct_DSYMUTIL=$DSYMUTIL
   7814   # Extract the first word of "dsymutil", so it can be a program name with args.
   7815 set dummy dsymutil; ac_word=$2
   7816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7817 $as_echo_n "checking for $ac_word... " >&6; }
   7818 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7819   $as_echo_n "(cached) " >&6
   7820 else
   7821   if test -n "$ac_ct_DSYMUTIL"; then
   7822   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7823 else
   7824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7825 for as_dir in $PATH
   7826 do
   7827   IFS=$as_save_IFS
   7828   test -z "$as_dir" && as_dir=.
   7829     for ac_exec_ext in '' $ac_executable_extensions; do
   7830   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7831     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7833     break 2
   7834   fi
   7835 done
   7836   done
   7837 IFS=$as_save_IFS
   7838 
   7839 fi
   7840 fi
   7841 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7842 if test -n "$ac_ct_DSYMUTIL"; then
   7843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7844 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7845 else
   7846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7847 $as_echo "no" >&6; }
   7848 fi
   7849 
   7850   if test "x$ac_ct_DSYMUTIL" = x; then
   7851     DSYMUTIL=":"
   7852   else
   7853     case $cross_compiling:$ac_tool_warned in
   7854 yes:)
   7855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7857 ac_tool_warned=yes ;;
   7858 esac
   7859     DSYMUTIL=$ac_ct_DSYMUTIL
   7860   fi
   7861 else
   7862   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7863 fi
   7864 
   7865     if test -n "$ac_tool_prefix"; then
   7866   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7867 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7869 $as_echo_n "checking for $ac_word... " >&6; }
   7870 if ${ac_cv_prog_NMEDIT+:} false; then :
   7871   $as_echo_n "(cached) " >&6
   7872 else
   7873   if test -n "$NMEDIT"; then
   7874   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7875 else
   7876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7877 for as_dir in $PATH
   7878 do
   7879   IFS=$as_save_IFS
   7880   test -z "$as_dir" && as_dir=.
   7881     for ac_exec_ext in '' $ac_executable_extensions; do
   7882   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7883     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7884     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7885     break 2
   7886   fi
   7887 done
   7888   done
   7889 IFS=$as_save_IFS
   7890 
   7891 fi
   7892 fi
   7893 NMEDIT=$ac_cv_prog_NMEDIT
   7894 if test -n "$NMEDIT"; then
   7895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7896 $as_echo "$NMEDIT" >&6; }
   7897 else
   7898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7899 $as_echo "no" >&6; }
   7900 fi
   7901 
   7902 
   7903 fi
   7904 if test -z "$ac_cv_prog_NMEDIT"; then
   7905   ac_ct_NMEDIT=$NMEDIT
   7906   # Extract the first word of "nmedit", so it can be a program name with args.
   7907 set dummy nmedit; ac_word=$2
   7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7909 $as_echo_n "checking for $ac_word... " >&6; }
   7910 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7911   $as_echo_n "(cached) " >&6
   7912 else
   7913   if test -n "$ac_ct_NMEDIT"; then
   7914   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7915 else
   7916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7917 for as_dir in $PATH
   7918 do
   7919   IFS=$as_save_IFS
   7920   test -z "$as_dir" && as_dir=.
   7921     for ac_exec_ext in '' $ac_executable_extensions; do
   7922   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7923     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7924     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7925     break 2
   7926   fi
   7927 done
   7928   done
   7929 IFS=$as_save_IFS
   7930 
   7931 fi
   7932 fi
   7933 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7934 if test -n "$ac_ct_NMEDIT"; then
   7935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7936 $as_echo "$ac_ct_NMEDIT" >&6; }
   7937 else
   7938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7939 $as_echo "no" >&6; }
   7940 fi
   7941 
   7942   if test "x$ac_ct_NMEDIT" = x; then
   7943     NMEDIT=":"
   7944   else
   7945     case $cross_compiling:$ac_tool_warned in
   7946 yes:)
   7947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7949 ac_tool_warned=yes ;;
   7950 esac
   7951     NMEDIT=$ac_ct_NMEDIT
   7952   fi
   7953 else
   7954   NMEDIT="$ac_cv_prog_NMEDIT"
   7955 fi
   7956 
   7957     if test -n "$ac_tool_prefix"; then
   7958   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7959 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7961 $as_echo_n "checking for $ac_word... " >&6; }
   7962 if ${ac_cv_prog_LIPO+:} false; then :
   7963   $as_echo_n "(cached) " >&6
   7964 else
   7965   if test -n "$LIPO"; then
   7966   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7967 else
   7968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7969 for as_dir in $PATH
   7970 do
   7971   IFS=$as_save_IFS
   7972   test -z "$as_dir" && as_dir=.
   7973     for ac_exec_ext in '' $ac_executable_extensions; do
   7974   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7975     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7976     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7977     break 2
   7978   fi
   7979 done
   7980   done
   7981 IFS=$as_save_IFS
   7982 
   7983 fi
   7984 fi
   7985 LIPO=$ac_cv_prog_LIPO
   7986 if test -n "$LIPO"; then
   7987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7988 $as_echo "$LIPO" >&6; }
   7989 else
   7990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7991 $as_echo "no" >&6; }
   7992 fi
   7993 
   7994 
   7995 fi
   7996 if test -z "$ac_cv_prog_LIPO"; then
   7997   ac_ct_LIPO=$LIPO
   7998   # Extract the first word of "lipo", so it can be a program name with args.
   7999 set dummy lipo; ac_word=$2
   8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8001 $as_echo_n "checking for $ac_word... " >&6; }
   8002 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   8003   $as_echo_n "(cached) " >&6
   8004 else
   8005   if test -n "$ac_ct_LIPO"; then
   8006   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8007 else
   8008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8009 for as_dir in $PATH
   8010 do
   8011   IFS=$as_save_IFS
   8012   test -z "$as_dir" && as_dir=.
   8013     for ac_exec_ext in '' $ac_executable_extensions; do
   8014   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8015     ac_cv_prog_ac_ct_LIPO="lipo"
   8016     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8017     break 2
   8018   fi
   8019 done
   8020   done
   8021 IFS=$as_save_IFS
   8022 
   8023 fi
   8024 fi
   8025 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8026 if test -n "$ac_ct_LIPO"; then
   8027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8028 $as_echo "$ac_ct_LIPO" >&6; }
   8029 else
   8030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8031 $as_echo "no" >&6; }
   8032 fi
   8033 
   8034   if test "x$ac_ct_LIPO" = x; then
   8035     LIPO=":"
   8036   else
   8037     case $cross_compiling:$ac_tool_warned in
   8038 yes:)
   8039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8041 ac_tool_warned=yes ;;
   8042 esac
   8043     LIPO=$ac_ct_LIPO
   8044   fi
   8045 else
   8046   LIPO="$ac_cv_prog_LIPO"
   8047 fi
   8048 
   8049     if test -n "$ac_tool_prefix"; then
   8050   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8051 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8053 $as_echo_n "checking for $ac_word... " >&6; }
   8054 if ${ac_cv_prog_OTOOL+:} false; then :
   8055   $as_echo_n "(cached) " >&6
   8056 else
   8057   if test -n "$OTOOL"; then
   8058   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8059 else
   8060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8061 for as_dir in $PATH
   8062 do
   8063   IFS=$as_save_IFS
   8064   test -z "$as_dir" && as_dir=.
   8065     for ac_exec_ext in '' $ac_executable_extensions; do
   8066   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8067     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8068     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8069     break 2
   8070   fi
   8071 done
   8072   done
   8073 IFS=$as_save_IFS
   8074 
   8075 fi
   8076 fi
   8077 OTOOL=$ac_cv_prog_OTOOL
   8078 if test -n "$OTOOL"; then
   8079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8080 $as_echo "$OTOOL" >&6; }
   8081 else
   8082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8083 $as_echo "no" >&6; }
   8084 fi
   8085 
   8086 
   8087 fi
   8088 if test -z "$ac_cv_prog_OTOOL"; then
   8089   ac_ct_OTOOL=$OTOOL
   8090   # Extract the first word of "otool", so it can be a program name with args.
   8091 set dummy otool; ac_word=$2
   8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8093 $as_echo_n "checking for $ac_word... " >&6; }
   8094 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   8095   $as_echo_n "(cached) " >&6
   8096 else
   8097   if test -n "$ac_ct_OTOOL"; then
   8098   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8099 else
   8100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8101 for as_dir in $PATH
   8102 do
   8103   IFS=$as_save_IFS
   8104   test -z "$as_dir" && as_dir=.
   8105     for ac_exec_ext in '' $ac_executable_extensions; do
   8106   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8107     ac_cv_prog_ac_ct_OTOOL="otool"
   8108     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8109     break 2
   8110   fi
   8111 done
   8112   done
   8113 IFS=$as_save_IFS
   8114 
   8115 fi
   8116 fi
   8117 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8118 if test -n "$ac_ct_OTOOL"; then
   8119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8120 $as_echo "$ac_ct_OTOOL" >&6; }
   8121 else
   8122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8123 $as_echo "no" >&6; }
   8124 fi
   8125 
   8126   if test "x$ac_ct_OTOOL" = x; then
   8127     OTOOL=":"
   8128   else
   8129     case $cross_compiling:$ac_tool_warned in
   8130 yes:)
   8131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8133 ac_tool_warned=yes ;;
   8134 esac
   8135     OTOOL=$ac_ct_OTOOL
   8136   fi
   8137 else
   8138   OTOOL="$ac_cv_prog_OTOOL"
   8139 fi
   8140 
   8141     if test -n "$ac_tool_prefix"; then
   8142   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8143 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8145 $as_echo_n "checking for $ac_word... " >&6; }
   8146 if ${ac_cv_prog_OTOOL64+:} false; then :
   8147   $as_echo_n "(cached) " >&6
   8148 else
   8149   if test -n "$OTOOL64"; then
   8150   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8151 else
   8152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8153 for as_dir in $PATH
   8154 do
   8155   IFS=$as_save_IFS
   8156   test -z "$as_dir" && as_dir=.
   8157     for ac_exec_ext in '' $ac_executable_extensions; do
   8158   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8159     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8160     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8161     break 2
   8162   fi
   8163 done
   8164   done
   8165 IFS=$as_save_IFS
   8166 
   8167 fi
   8168 fi
   8169 OTOOL64=$ac_cv_prog_OTOOL64
   8170 if test -n "$OTOOL64"; then
   8171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8172 $as_echo "$OTOOL64" >&6; }
   8173 else
   8174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8175 $as_echo "no" >&6; }
   8176 fi
   8177 
   8178 
   8179 fi
   8180 if test -z "$ac_cv_prog_OTOOL64"; then
   8181   ac_ct_OTOOL64=$OTOOL64
   8182   # Extract the first word of "otool64", so it can be a program name with args.
   8183 set dummy otool64; ac_word=$2
   8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8185 $as_echo_n "checking for $ac_word... " >&6; }
   8186 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   8187   $as_echo_n "(cached) " >&6
   8188 else
   8189   if test -n "$ac_ct_OTOOL64"; then
   8190   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8191 else
   8192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8193 for as_dir in $PATH
   8194 do
   8195   IFS=$as_save_IFS
   8196   test -z "$as_dir" && as_dir=.
   8197     for ac_exec_ext in '' $ac_executable_extensions; do
   8198   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8199     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8200     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8201     break 2
   8202   fi
   8203 done
   8204   done
   8205 IFS=$as_save_IFS
   8206 
   8207 fi
   8208 fi
   8209 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8210 if test -n "$ac_ct_OTOOL64"; then
   8211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8212 $as_echo "$ac_ct_OTOOL64" >&6; }
   8213 else
   8214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8215 $as_echo "no" >&6; }
   8216 fi
   8217 
   8218   if test "x$ac_ct_OTOOL64" = x; then
   8219     OTOOL64=":"
   8220   else
   8221     case $cross_compiling:$ac_tool_warned in
   8222 yes:)
   8223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8225 ac_tool_warned=yes ;;
   8226 esac
   8227     OTOOL64=$ac_ct_OTOOL64
   8228   fi
   8229 else
   8230   OTOOL64="$ac_cv_prog_OTOOL64"
   8231 fi
   8232 
   8233 
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 
   8245 
   8246 
   8247 
   8248 
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 
   8259     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8260 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8261 if ${lt_cv_apple_cc_single_mod+:} false; then :
   8262   $as_echo_n "(cached) " >&6
   8263 else
   8264   lt_cv_apple_cc_single_mod=no
   8265       if test -z "${LT_MULTI_MODULE}"; then
   8266 	# By default we will add the -single_module flag. You can override
   8267 	# by either setting the environment variable LT_MULTI_MODULE
   8268 	# non-empty at configure time, or by adding -multi_module to the
   8269 	# link flags.
   8270 	rm -rf libconftest.dylib*
   8271 	echo "int foo(void){return 1;}" > conftest.c
   8272 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8273 -dynamiclib -Wl,-single_module conftest.c" >&5
   8274 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8275 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8276         _lt_result=$?
   8277 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   8278 	  lt_cv_apple_cc_single_mod=yes
   8279 	else
   8280 	  cat conftest.err >&5
   8281 	fi
   8282 	rm -rf libconftest.dylib*
   8283 	rm -f conftest.*
   8284       fi
   8285 fi
   8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8287 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8288     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8289 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8290 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   8291   $as_echo_n "(cached) " >&6
   8292 else
   8293   lt_cv_ld_exported_symbols_list=no
   8294       save_LDFLAGS=$LDFLAGS
   8295       echo "_main" > conftest.sym
   8296       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8297       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8298 /* end confdefs.h.  */
   8299 
   8300 int
   8301 main ()
   8302 {
   8303 
   8304   ;
   8305   return 0;
   8306 }
   8307 _ACEOF
   8308 if ac_fn_c_try_link "$LINENO"; then :
   8309   lt_cv_ld_exported_symbols_list=yes
   8310 else
   8311   lt_cv_ld_exported_symbols_list=no
   8312 fi
   8313 rm -f core conftest.err conftest.$ac_objext \
   8314     conftest$ac_exeext conftest.$ac_ext
   8315 	LDFLAGS="$save_LDFLAGS"
   8316 
   8317 fi
   8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8319 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8320     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8321 $as_echo_n "checking for -force_load linker flag... " >&6; }
   8322 if ${lt_cv_ld_force_load+:} false; then :
   8323   $as_echo_n "(cached) " >&6
   8324 else
   8325   lt_cv_ld_force_load=no
   8326       cat > conftest.c << _LT_EOF
   8327 int forced_loaded() { return 2;}
   8328 _LT_EOF
   8329       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8330       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8331       echo "$AR cru libconftest.a conftest.o" >&5
   8332       $AR cru libconftest.a conftest.o 2>&5
   8333       cat > conftest.c << _LT_EOF
   8334 int main() { return 0;}
   8335 _LT_EOF
   8336       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8337       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8338       _lt_result=$?
   8339       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   8340 	lt_cv_ld_force_load=yes
   8341       else
   8342 	cat conftest.err >&5
   8343       fi
   8344         rm -f conftest.err libconftest.a conftest conftest.c
   8345         rm -rf conftest.dSYM
   8346 
   8347 fi
   8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8349 $as_echo "$lt_cv_ld_force_load" >&6; }
   8350     # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
   8351     # build without first building modern cctools / linker.
   8352     case $host_cpu-$host_os in
   8353     *-rhapsody* | *-darwin1.[012])
   8354       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   8355     *-darwin1.*)
   8356       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8357     *-darwin*)
   8358       # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
   8359       # deployment target is forced to an earlier version.
   8360       case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
   8361 	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
   8362 	  ;;
   8363 	10.[012][,.]*)
   8364 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8365 	  ;;
   8366 	*)
   8367 	  ;;
   8368      esac
   8369     ;;
   8370   esac
   8371     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   8372       _lt_dar_single_mod='$single_module'
   8373     fi
   8374     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   8375       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8376     else
   8377       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8378     fi
   8379     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   8380       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8381     else
   8382       _lt_dsymutil=
   8383     fi
   8384     ;;
   8385   esac
   8386 
   8387 for ac_header in dlfcn.h
   8388 do :
   8389   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8390 "
   8391 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8392   cat >>confdefs.h <<_ACEOF
   8393 #define HAVE_DLFCN_H 1
   8394 _ACEOF
   8395 
   8396 fi
   8397 
   8398 done
   8399 
   8400 
   8401 ac_header_dirent=no
   8402 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   8403   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
   8405 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
   8406 if eval \${$as_ac_Header+:} false; then :
   8407   $as_echo_n "(cached) " >&6
   8408 else
   8409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8410 /* end confdefs.h.  */
   8411 #include <sys/types.h>
   8412 #include <$ac_hdr>
   8413 
   8414 int
   8415 main ()
   8416 {
   8417 if ((DIR *) 0)
   8418 return 0;
   8419   ;
   8420   return 0;
   8421 }
   8422 _ACEOF
   8423 if ac_fn_c_try_compile "$LINENO"; then :
   8424   eval "$as_ac_Header=yes"
   8425 else
   8426   eval "$as_ac_Header=no"
   8427 fi
   8428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8429 fi
   8430 eval ac_res=\$$as_ac_Header
   8431 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8432 $as_echo "$ac_res" >&6; }
   8433 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   8434   cat >>confdefs.h <<_ACEOF
   8435 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
   8436 _ACEOF
   8437 
   8438 ac_header_dirent=$ac_hdr; break
   8439 fi
   8440 
   8441 done
   8442 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   8443 if test $ac_header_dirent = dirent.h; then
   8444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   8445 $as_echo_n "checking for library containing opendir... " >&6; }
   8446 if ${ac_cv_search_opendir+:} false; then :
   8447   $as_echo_n "(cached) " >&6
   8448 else
   8449   ac_func_search_save_LIBS=$LIBS
   8450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8451 /* end confdefs.h.  */
   8452 
   8453 /* Override any GCC internal prototype to avoid an error.
   8454    Use char because int might match the return type of a GCC
   8455    builtin and then its argument prototype would still apply.  */
   8456 #ifdef __cplusplus
   8457 extern "C"
   8458 #endif
   8459 char opendir ();
   8460 int
   8461 main ()
   8462 {
   8463 return opendir ();
   8464   ;
   8465   return 0;
   8466 }
   8467 _ACEOF
   8468 for ac_lib in '' dir; do
   8469   if test -z "$ac_lib"; then
   8470     ac_res="none required"
   8471   else
   8472     ac_res=-l$ac_lib
   8473     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   8474   fi
   8475   if ac_fn_c_try_link "$LINENO"; then :
   8476   ac_cv_search_opendir=$ac_res
   8477 fi
   8478 rm -f core conftest.err conftest.$ac_objext \
   8479     conftest$ac_exeext
   8480   if ${ac_cv_search_opendir+:} false; then :
   8481   break
   8482 fi
   8483 done
   8484 if ${ac_cv_search_opendir+:} false; then :
   8485 
   8486 else
   8487   ac_cv_search_opendir=no
   8488 fi
   8489 rm conftest.$ac_ext
   8490 LIBS=$ac_func_search_save_LIBS
   8491 fi
   8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   8493 $as_echo "$ac_cv_search_opendir" >&6; }
   8494 ac_res=$ac_cv_search_opendir
   8495 if test "$ac_res" != no; then :
   8496   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   8497 
   8498 fi
   8499 
   8500 else
   8501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   8502 $as_echo_n "checking for library containing opendir... " >&6; }
   8503 if ${ac_cv_search_opendir+:} false; then :
   8504   $as_echo_n "(cached) " >&6
   8505 else
   8506   ac_func_search_save_LIBS=$LIBS
   8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8508 /* end confdefs.h.  */
   8509 
   8510 /* Override any GCC internal prototype to avoid an error.
   8511    Use char because int might match the return type of a GCC
   8512    builtin and then its argument prototype would still apply.  */
   8513 #ifdef __cplusplus
   8514 extern "C"
   8515 #endif
   8516 char opendir ();
   8517 int
   8518 main ()
   8519 {
   8520 return opendir ();
   8521   ;
   8522   return 0;
   8523 }
   8524 _ACEOF
   8525 for ac_lib in '' x; do
   8526   if test -z "$ac_lib"; then
   8527     ac_res="none required"
   8528   else
   8529     ac_res=-l$ac_lib
   8530     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   8531   fi
   8532   if ac_fn_c_try_link "$LINENO"; then :
   8533   ac_cv_search_opendir=$ac_res
   8534 fi
   8535 rm -f core conftest.err conftest.$ac_objext \
   8536     conftest$ac_exeext
   8537   if ${ac_cv_search_opendir+:} false; then :
   8538   break
   8539 fi
   8540 done
   8541 if ${ac_cv_search_opendir+:} false; then :
   8542 
   8543 else
   8544   ac_cv_search_opendir=no
   8545 fi
   8546 rm conftest.$ac_ext
   8547 LIBS=$ac_func_search_save_LIBS
   8548 fi
   8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   8550 $as_echo "$ac_cv_search_opendir" >&6; }
   8551 ac_res=$ac_cv_search_opendir
   8552 if test "$ac_res" != no; then :
   8553   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   8554 
   8555 fi
   8556 
   8557 fi
   8558 
   8559 
   8560 
   8561 
   8562 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
   8563 #include <$ac_cv_struct_tm>
   8564 
   8565 "
   8566 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
   8567 
   8568 cat >>confdefs.h <<_ACEOF
   8569 #define HAVE_STRUCT_TM_TM_ZONE 1
   8570 _ACEOF
   8571 
   8572 
   8573 fi
   8574 
   8575 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
   8576 
   8577 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
   8578 
   8579 else
   8580   ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
   8581 "
   8582 if test "x$ac_cv_have_decl_tzname" = xyes; then :
   8583   ac_have_decl=1
   8584 else
   8585   ac_have_decl=0
   8586 fi
   8587 
   8588 cat >>confdefs.h <<_ACEOF
   8589 #define HAVE_DECL_TZNAME $ac_have_decl
   8590 _ACEOF
   8591 
   8592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
   8593 $as_echo_n "checking for tzname... " >&6; }
   8594 if ${ac_cv_var_tzname+:} false; then :
   8595   $as_echo_n "(cached) " >&6
   8596 else
   8597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8598 /* end confdefs.h.  */
   8599 #include <time.h>
   8600 #if !HAVE_DECL_TZNAME
   8601 extern char *tzname[];
   8602 #endif
   8603 
   8604 int
   8605 main ()
   8606 {
   8607 return tzname[0][0];
   8608   ;
   8609   return 0;
   8610 }
   8611 _ACEOF
   8612 if ac_fn_c_try_link "$LINENO"; then :
   8613   ac_cv_var_tzname=yes
   8614 else
   8615   ac_cv_var_tzname=no
   8616 fi
   8617 rm -f core conftest.err conftest.$ac_objext \
   8618     conftest$ac_exeext conftest.$ac_ext
   8619 fi
   8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
   8621 $as_echo "$ac_cv_var_tzname" >&6; }
   8622   if test $ac_cv_var_tzname = yes; then
   8623 
   8624 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
   8625 
   8626   fi
   8627 fi
   8628 
   8629 
   8630 ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
   8631 #include <sys/types.h>
   8632 #endif
   8633 #include <sys/stat.h>
   8634 "
   8635 if test "x$ac_cv_member_struct_stat_st_dev" = xyes; then :
   8636 
   8637 cat >>confdefs.h <<_ACEOF
   8638 #define HAVE_STRUCT_STAT_ST_DEV 1
   8639 _ACEOF
   8640 
   8641 
   8642 fi
   8643 ac_fn_c_check_member "$LINENO" "struct stat" "st_ino" "ac_cv_member_struct_stat_st_ino" "#ifdef HAVE_SYS_TYPES_H
   8644 #include <sys/types.h>
   8645 #endif
   8646 #include <sys/stat.h>
   8647 "
   8648 if test "x$ac_cv_member_struct_stat_st_ino" = xyes; then :
   8649 
   8650 cat >>confdefs.h <<_ACEOF
   8651 #define HAVE_STRUCT_STAT_ST_INO 1
   8652 _ACEOF
   8653 
   8654 
   8655 fi
   8656 ac_fn_c_check_member "$LINENO" "struct stat" "st_mode" "ac_cv_member_struct_stat_st_mode" "#ifdef HAVE_SYS_TYPES_H
   8657 #include <sys/types.h>
   8658 #endif
   8659 #include <sys/stat.h>
   8660 "
   8661 if test "x$ac_cv_member_struct_stat_st_mode" = xyes; then :
   8662 
   8663 cat >>confdefs.h <<_ACEOF
   8664 #define HAVE_STRUCT_STAT_ST_MODE 1
   8665 _ACEOF
   8666 
   8667 
   8668 fi
   8669 ac_fn_c_check_member "$LINENO" "struct stat" "st_nlink" "ac_cv_member_struct_stat_st_nlink" "#ifdef HAVE_SYS_TYPES_H
   8670 #include <sys/types.h>
   8671 #endif
   8672 #include <sys/stat.h>
   8673 "
   8674 if test "x$ac_cv_member_struct_stat_st_nlink" = xyes; then :
   8675 
   8676 cat >>confdefs.h <<_ACEOF
   8677 #define HAVE_STRUCT_STAT_ST_NLINK 1
   8678 _ACEOF
   8679 
   8680 
   8681 fi
   8682 ac_fn_c_check_member "$LINENO" "struct stat" "st_uid" "ac_cv_member_struct_stat_st_uid" "#ifdef HAVE_SYS_TYPES_H
   8683 #include <sys/types.h>
   8684 #endif
   8685 #include <sys/stat.h>
   8686 "
   8687 if test "x$ac_cv_member_struct_stat_st_uid" = xyes; then :
   8688 
   8689 cat >>confdefs.h <<_ACEOF
   8690 #define HAVE_STRUCT_STAT_ST_UID 1
   8691 _ACEOF
   8692 
   8693 
   8694 fi
   8695 ac_fn_c_check_member "$LINENO" "struct stat" "st_gid" "ac_cv_member_struct_stat_st_gid" "#ifdef HAVE_SYS_TYPES_H
   8696 #include <sys/types.h>
   8697 #endif
   8698 #include <sys/stat.h>
   8699 "
   8700 if test "x$ac_cv_member_struct_stat_st_gid" = xyes; then :
   8701 
   8702 cat >>confdefs.h <<_ACEOF
   8703 #define HAVE_STRUCT_STAT_ST_GID 1
   8704 _ACEOF
   8705 
   8706 
   8707 fi
   8708 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "#ifdef HAVE_SYS_TYPES_H
   8709 #include <sys/types.h>
   8710 #endif
   8711 #include <sys/stat.h>
   8712 "
   8713 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
   8714 
   8715 cat >>confdefs.h <<_ACEOF
   8716 #define HAVE_STRUCT_STAT_ST_RDEV 1
   8717 _ACEOF
   8718 
   8719 
   8720 fi
   8721 ac_fn_c_check_member "$LINENO" "struct stat" "st_size" "ac_cv_member_struct_stat_st_size" "#ifdef HAVE_SYS_TYPES_H
   8722 #include <sys/types.h>
   8723 #endif
   8724 #include <sys/stat.h>
   8725 "
   8726 if test "x$ac_cv_member_struct_stat_st_size" = xyes; then :
   8727 
   8728 cat >>confdefs.h <<_ACEOF
   8729 #define HAVE_STRUCT_STAT_ST_SIZE 1
   8730 _ACEOF
   8731 
   8732 
   8733 fi
   8734 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "#ifdef HAVE_SYS_TYPES_H
   8735 #include <sys/types.h>
   8736 #endif
   8737 #include <sys/stat.h>
   8738 "
   8739 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
   8740 
   8741 cat >>confdefs.h <<_ACEOF
   8742 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
   8743 _ACEOF
   8744 
   8745 
   8746 fi
   8747 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "#ifdef HAVE_SYS_TYPES_H
   8748 #include <sys/types.h>
   8749 #endif
   8750 #include <sys/stat.h>
   8751 "
   8752 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
   8753 
   8754 cat >>confdefs.h <<_ACEOF
   8755 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
   8756 _ACEOF
   8757 
   8758 
   8759 fi
   8760 ac_fn_c_check_member "$LINENO" "struct stat" "st_atime" "ac_cv_member_struct_stat_st_atime" "#ifdef HAVE_SYS_TYPES_H
   8761 #include <sys/types.h>
   8762 #endif
   8763 #include <sys/stat.h>
   8764 "
   8765 if test "x$ac_cv_member_struct_stat_st_atime" = xyes; then :
   8766 
   8767 cat >>confdefs.h <<_ACEOF
   8768 #define HAVE_STRUCT_STAT_ST_ATIME 1
   8769 _ACEOF
   8770 
   8771 
   8772 fi
   8773 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtime" "ac_cv_member_struct_stat_st_mtime" "#ifdef HAVE_SYS_TYPES_H
   8774 #include <sys/types.h>
   8775 #endif
   8776 #include <sys/stat.h>
   8777 "
   8778 if test "x$ac_cv_member_struct_stat_st_mtime" = xyes; then :
   8779 
   8780 cat >>confdefs.h <<_ACEOF
   8781 #define HAVE_STRUCT_STAT_ST_MTIME 1
   8782 _ACEOF
   8783 
   8784 
   8785 fi
   8786 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctime" "ac_cv_member_struct_stat_st_ctime" "#ifdef HAVE_SYS_TYPES_H
   8787 #include <sys/types.h>
   8788 #endif
   8789 #include <sys/stat.h>
   8790 "
   8791 if test "x$ac_cv_member_struct_stat_st_ctime" = xyes; then :
   8792 
   8793 cat >>confdefs.h <<_ACEOF
   8794 #define HAVE_STRUCT_STAT_ST_CTIME 1
   8795 _ACEOF
   8796 
   8797 
   8798 fi
   8799 
   8800 
   8801 ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default"
   8802 if test "x$ac_cv_type___int128" = xyes; then :
   8803 
   8804 cat >>confdefs.h <<_ACEOF
   8805 #define HAVE___INT128 1
   8806 _ACEOF
   8807 
   8808 
   8809 fi
   8810 
   8811 ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
   8812 #include <sys/socket.h>
   8813 
   8814 "
   8815 if test "x$ac_cv_type_socklen_t" = xyes; then :
   8816 
   8817 cat >>confdefs.h <<_ACEOF
   8818 #define HAVE_SOCKLEN_T 1
   8819 _ACEOF
   8820 
   8821 
   8822 fi
   8823 
   8824 
   8825 # The cast to long int works around a bug in the HP C Compiler
   8826 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   8827 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   8828 # This bug is HP SR number 8606223364.
   8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   8830 $as_echo_n "checking size of void *... " >&6; }
   8831 if ${ac_cv_sizeof_void_p+:} false; then :
   8832   $as_echo_n "(cached) " >&6
   8833 else
   8834   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   8835 
   8836 else
   8837   if test "$ac_cv_type_void_p" = yes; then
   8838      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   8839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   8840 as_fn_error 77 "cannot compute sizeof (void *)
   8841 See \`config.log' for more details" "$LINENO" 5; }
   8842    else
   8843      ac_cv_sizeof_void_p=0
   8844    fi
   8845 fi
   8846 
   8847 fi
   8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   8849 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   8850 
   8851 
   8852 
   8853 cat >>confdefs.h <<_ACEOF
   8854 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   8855 _ACEOF
   8856 
   8857 
   8858 
   8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct statfs" >&5
   8860 $as_echo_n "checking for struct statfs... " >&6; }
   8861 if ${sim_cv_struct_statfs+:} false; then :
   8862   $as_echo_n "(cached) " >&6
   8863 else
   8864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8865 /* end confdefs.h.  */
   8866 
   8867 #include <sys/types.h>
   8868 #ifdef HAVE_SYS_PARAM_H
   8869 #include <sys/param.h>
   8870 #endif
   8871 #ifdef HAVE_SYS_MOUNT_H
   8872 #include <sys/mount.h>
   8873 #endif
   8874 #ifdef HAVE_SYS_VFS_H
   8875 #include <sys/vfs.h>
   8876 #endif
   8877 #ifdef HAVE_SYS_STATFS_H
   8878 #include <sys/statfs.h>
   8879 #endif
   8880 int
   8881 main ()
   8882 {
   8883 
   8884   struct statfs s;
   8885 
   8886   ;
   8887   return 0;
   8888 }
   8889 _ACEOF
   8890 if ac_fn_c_try_compile "$LINENO"; then :
   8891   sim_cv_struct_statfs="yes"
   8892 else
   8893   sim_cv_struct_statfs="no"
   8894 fi
   8895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8896 fi
   8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_cv_struct_statfs" >&5
   8898 $as_echo "$sim_cv_struct_statfs" >&6; }
   8899 if test x"sim_cv_struct_statfs" = x"yes"; then :
   8900 
   8901 $as_echo "#define HAVE_STRUCT_STATFS 1" >>confdefs.h
   8902 
   8903 
   8904 fi
   8905 
   8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if union semun defined" >&5
   8907 $as_echo_n "checking if union semun defined... " >&6; }
   8908 if ${sim_cv_has_union_semun+:} false; then :
   8909   $as_echo_n "(cached) " >&6
   8910 else
   8911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8912 /* end confdefs.h.  */
   8913 
   8914 #include <sys/types.h>
   8915 #include <sys/ipc.h>
   8916 #include <sys/sem.h>
   8917 int
   8918 main ()
   8919 {
   8920 
   8921   union semun arg;
   8922 
   8923   ;
   8924   return 0;
   8925 }
   8926 _ACEOF
   8927 if ac_fn_c_try_compile "$LINENO"; then :
   8928   sim_cv_has_union_semun="yes"
   8929 else
   8930   sim_cv_has_union_semun="no"
   8931 fi
   8932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8933 fi
   8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_cv_has_union_semun" >&5
   8935 $as_echo "$sim_cv_has_union_semun" >&6; }
   8936 if test x"$sim_cv_has_union_semun" = x"yes"; then :
   8937 
   8938 $as_echo "#define HAVE_UNION_SEMUN 1" >>confdefs.h
   8939 
   8940 
   8941 fi
   8942 
   8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether System V semaphores are supported" >&5
   8944 $as_echo_n "checking whether System V semaphores are supported... " >&6; }
   8945 if ${sim_cv_sysv_sem+:} false; then :
   8946   $as_echo_n "(cached) " >&6
   8947 else
   8948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8949 /* end confdefs.h.  */
   8950 
   8951   #include <sys/types.h>
   8952   #include <sys/ipc.h>
   8953   #include <sys/sem.h>
   8954 #ifndef HAVE_UNION_SEMUN
   8955   union semun {
   8956     int val;
   8957     struct semid_ds *buf;
   8958     ushort *array;
   8959   };
   8960 #endif
   8961 int
   8962 main ()
   8963 {
   8964 
   8965   union semun arg;
   8966   int id = semget(IPC_PRIVATE, 1, IPC_CREAT|0400);
   8967   if (id == -1)
   8968     return 1;
   8969   arg.val = 0; /* avoid implicit type cast to union */
   8970   if (semctl(id, 0, IPC_RMID, arg) == -1)
   8971     return 1;
   8972 
   8973   ;
   8974   return 0;
   8975 }
   8976 _ACEOF
   8977 if ac_fn_c_try_compile "$LINENO"; then :
   8978   sim_cv_sysv_sem="yes"
   8979 else
   8980   sim_cv_sysv_sem="no"
   8981 fi
   8982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8983 fi
   8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_cv_sysv_sem" >&5
   8985 $as_echo "$sim_cv_sysv_sem" >&6; }
   8986 if test x"$sim_cv_sysv_sem" = x"yes"; then :
   8987 
   8988 $as_echo "#define HAVE_SYSV_SEM 1" >>confdefs.h
   8989 
   8990 
   8991 fi
   8992 
   8993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether System V shared memory is supported" >&5
   8994 $as_echo_n "checking whether System V shared memory is supported... " >&6; }
   8995 if ${sim_cv_sysv_shm+:} false; then :
   8996   $as_echo_n "(cached) " >&6
   8997 else
   8998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8999 /* end confdefs.h.  */
   9000 
   9001 #include <sys/types.h>
   9002 #include <sys/ipc.h>
   9003 #include <sys/shm.h>
   9004 int
   9005 main ()
   9006 {
   9007 
   9008   int id = shmget(IPC_PRIVATE, 1, IPC_CREAT|0400);
   9009   if (id == -1)
   9010     return 1;
   9011   if (shmctl(id, IPC_RMID, 0) == -1)
   9012     return 1;
   9013 
   9014   ;
   9015   return 0;
   9016 }
   9017 _ACEOF
   9018 if ac_fn_c_try_compile "$LINENO"; then :
   9019   sim_cv_sysv_shm="yes"
   9020 else
   9021   sim_cv_sysv_shm="no"
   9022 fi
   9023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9024 fi
   9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_cv_sysv_shm" >&5
   9026 $as_echo "$sim_cv_sysv_shm" >&6; }
   9027 if test x"$sim_cv_sysv_shm" = x"yes"; then :
   9028 
   9029 $as_echo "#define HAVE_SYSV_SHM 1" >>confdefs.h
   9030 
   9031 
   9032 fi
   9033 
   9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct termios" >&5
   9035 $as_echo_n "checking for struct termios... " >&6; }
   9036 if ${sim_cv_termios_struct+:} false; then :
   9037   $as_echo_n "(cached) " >&6
   9038 else
   9039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9040 /* end confdefs.h.  */
   9041 
   9042 #include <sys/types.h>
   9043 #include <sys/termios.h>
   9044 int
   9045 main ()
   9046 {
   9047 
   9048   static struct termios x;
   9049   x.c_iflag = 0;
   9050   x.c_oflag = 0;
   9051   x.c_cflag = 0;
   9052   x.c_lflag = 0;
   9053   x.c_cc[NCCS] = 0;
   9054 
   9055   ;
   9056   return 0;
   9057 }
   9058 _ACEOF
   9059 if ac_fn_c_try_compile "$LINENO"; then :
   9060   sim_cv_termios_struct="yes"
   9061 else
   9062   sim_cv_termios_struct="no"
   9063 fi
   9064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9065 fi
   9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_cv_termios_struct" >&5
   9067 $as_echo "$sim_cv_termios_struct" >&6; }
   9068 if test $sim_cv_termios_struct = yes; then
   9069 
   9070 $as_echo "#define HAVE_TERMIOS_STRUCTURE 1" >>confdefs.h
   9071 
   9072 fi
   9073 
   9074 if test "$sim_cv_termios_struct" = "yes"; then
   9075   if ${sim_cv_termios_cline+:} false; then :
   9076   $as_echo_n "(cached) " >&6
   9077 fi
   9078 
   9079   ac_fn_c_check_member "$LINENO" "struct termios" "c_line" "ac_cv_member_struct_termios_c_line" "
   9080 #include <sys/types.h>
   9081 #include <sys/termios.h>
   9082 
   9083 "
   9084 if test "x$ac_cv_member_struct_termios_c_line" = xyes; then :
   9085   sim_cv_termios_cline="yes"
   9086 else
   9087   sim_cv_termios_cline="no"
   9088 fi
   9089 
   9090   if test $sim_cv_termios_cline = yes; then
   9091 
   9092 $as_echo "#define HAVE_TERMIOS_CLINE 1" >>confdefs.h
   9093 
   9094   fi
   9095 else
   9096   sim_cv_termios_cline=no
   9097 fi
   9098 
   9099 if test "$sim_cv_termios_struct" != "yes"; then
   9100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct termio" >&5
   9101 $as_echo_n "checking for struct termio... " >&6; }
   9102 if ${sim_cv_termio_struct+:} false; then :
   9103   $as_echo_n "(cached) " >&6
   9104 else
   9105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9106 /* end confdefs.h.  */
   9107 
   9108 #include <sys/types.h>
   9109 #include <sys/termio.h>
   9110 int
   9111 main ()
   9112 {
   9113 
   9114   static struct termio x;
   9115   x.c_iflag = 0;
   9116   x.c_oflag = 0;
   9117   x.c_cflag = 0;
   9118   x.c_lflag = 0;
   9119   x.c_cc[NCC] = 0;
   9120 
   9121   ;
   9122   return 0;
   9123 }
   9124 _ACEOF
   9125 if ac_fn_c_try_compile "$LINENO"; then :
   9126   sim_cv_termio_struct="yes"
   9127 else
   9128   sim_cv_termio_struct="no"
   9129 fi
   9130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9131 fi
   9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_cv_termio_struct" >&5
   9133 $as_echo "$sim_cv_termio_struct" >&6; }
   9134   if test $sim_cv_termio_struct = yes; then
   9135 
   9136 $as_echo "#define HAVE_TERMIO_STRUCTURE 1" >>confdefs.h
   9137 
   9138   fi
   9139 else
   9140   sim_cv_termio_struct=no
   9141 fi
   9142 
   9143 if test "$sim_cv_termio_struct" = "yes"; then
   9144   if ${sim_cv_termio_cline+:} false; then :
   9145   $as_echo_n "(cached) " >&6
   9146 fi
   9147 
   9148   ac_fn_c_check_member "$LINENO" "struct termio" "c_line" "ac_cv_member_struct_termio_c_line" "
   9149 #include <sys/types.h>
   9150 #include <sys/termio.h>
   9151 
   9152 "
   9153 if test "x$ac_cv_member_struct_termio_c_line" = xyes; then :
   9154   sim_cv_termio_cline="yes"
   9155 else
   9156   sim_cv_termio_cline="no"
   9157 fi
   9158 
   9159   if test $sim_cv_termio_cline = yes; then
   9160 
   9161 $as_echo "#define HAVE_TERMIO_CLINE 1" >>confdefs.h
   9162 
   9163   fi
   9164 else
   9165   sim_cv_termio_cline=no
   9166 fi
   9167 
   9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
   9169 $as_echo_n "checking type of array argument to getgroups... " >&6; }
   9170 if ${ac_cv_type_getgroups+:} false; then :
   9171   $as_echo_n "(cached) " >&6
   9172 else
   9173   if test "$cross_compiling" = yes; then :
   9174   ac_cv_type_getgroups=cross
   9175 else
   9176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9177 /* end confdefs.h.  */
   9178 /* Thanks to Mike Rendell for this test.  */
   9179 $ac_includes_default
   9180 #define NGID 256
   9181 #undef MAX
   9182 #define MAX(x, y) ((x) > (y) ? (x) : (y))
   9183 
   9184 int
   9185 main ()
   9186 {
   9187   gid_t gidset[NGID];
   9188   int i, n;
   9189   union { gid_t gval; long int lval; }  val;
   9190 
   9191   val.lval = -1;
   9192   for (i = 0; i < NGID; i++)
   9193     gidset[i] = val.gval;
   9194   n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
   9195 		 gidset);
   9196   /* Exit non-zero if getgroups seems to require an array of ints.  This
   9197      happens when gid_t is short int but getgroups modifies an array
   9198      of ints.  */
   9199   return n > 0 && gidset[n] != val.gval;
   9200 }
   9201 _ACEOF
   9202 if ac_fn_c_try_run "$LINENO"; then :
   9203   ac_cv_type_getgroups=gid_t
   9204 else
   9205   ac_cv_type_getgroups=int
   9206 fi
   9207 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   9208   conftest.$ac_objext conftest.beam conftest.$ac_ext
   9209 fi
   9210 
   9211 if test $ac_cv_type_getgroups = cross; then
   9212         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9213 /* end confdefs.h.  */
   9214 #include <unistd.h>
   9215 
   9216 _ACEOF
   9217 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   9218   $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then :
   9219   ac_cv_type_getgroups=gid_t
   9220 else
   9221   ac_cv_type_getgroups=int
   9222 fi
   9223 rm -f conftest*
   9224 
   9225 fi
   9226 fi
   9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
   9228 $as_echo "$ac_cv_type_getgroups" >&6; }
   9229 
   9230 cat >>confdefs.h <<_ACEOF
   9231 #define GETGROUPS_T $ac_cv_type_getgroups
   9232 _ACEOF
   9233 
   9234 
   9235 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
   9236 if test "x$ac_cv_type_mode_t" = xyes; then :
   9237 
   9238 else
   9239 
   9240 cat >>confdefs.h <<_ACEOF
   9241 #define mode_t int
   9242 _ACEOF
   9243 
   9244 fi
   9245 
   9246 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
   9247 if test "x$ac_cv_type_off_t" = xyes; then :
   9248 
   9249 else
   9250 
   9251 cat >>confdefs.h <<_ACEOF
   9252 #define off_t long int
   9253 _ACEOF
   9254 
   9255 fi
   9256 
   9257 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
   9258 if test "x$ac_cv_type_pid_t" = xyes; then :
   9259 
   9260 else
   9261 
   9262 cat >>confdefs.h <<_ACEOF
   9263 #define pid_t int
   9264 _ACEOF
   9265 
   9266 fi
   9267 
   9268 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   9269 if test "x$ac_cv_type_size_t" = xyes; then :
   9270 
   9271 else
   9272 
   9273 cat >>confdefs.h <<_ACEOF
   9274 #define size_t unsigned int
   9275 _ACEOF
   9276 
   9277 fi
   9278 
   9279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
   9280 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
   9281 if ${ac_cv_type_uid_t+:} false; then :
   9282   $as_echo_n "(cached) " >&6
   9283 else
   9284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9285 /* end confdefs.h.  */
   9286 #include <sys/types.h>
   9287 
   9288 _ACEOF
   9289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   9290   $EGREP "uid_t" >/dev/null 2>&1; then :
   9291   ac_cv_type_uid_t=yes
   9292 else
   9293   ac_cv_type_uid_t=no
   9294 fi
   9295 rm -f conftest*
   9296 
   9297 fi
   9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
   9299 $as_echo "$ac_cv_type_uid_t" >&6; }
   9300 if test $ac_cv_type_uid_t = no; then
   9301 
   9302 $as_echo "#define uid_t int" >>confdefs.h
   9303 
   9304 
   9305 $as_echo "#define gid_t int" >>confdefs.h
   9306 
   9307 fi
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 # Set options
   9315 
   9316 
   9317 
   9318         enable_dlopen=no
   9319 
   9320 
   9321   enable_win32_dll=no
   9322 
   9323 
   9324             # Check whether --enable-shared was given.
   9325 if test "${enable_shared+set}" = set; then :
   9326   enableval=$enable_shared; p=${PACKAGE-default}
   9327     case $enableval in
   9328     yes) enable_shared=yes ;;
   9329     no) enable_shared=no ;;
   9330     *)
   9331       enable_shared=no
   9332       # Look at the argument we got.  We use all the common list separators.
   9333       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   9334       for pkg in $enableval; do
   9335 	IFS="$lt_save_ifs"
   9336 	if test "X$pkg" = "X$p"; then
   9337 	  enable_shared=yes
   9338 	fi
   9339       done
   9340       IFS="$lt_save_ifs"
   9341       ;;
   9342     esac
   9343 else
   9344   enable_shared=yes
   9345 fi
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355   # Check whether --enable-static was given.
   9356 if test "${enable_static+set}" = set; then :
   9357   enableval=$enable_static; p=${PACKAGE-default}
   9358     case $enableval in
   9359     yes) enable_static=yes ;;
   9360     no) enable_static=no ;;
   9361     *)
   9362      enable_static=no
   9363       # Look at the argument we got.  We use all the common list separators.
   9364       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   9365       for pkg in $enableval; do
   9366 	IFS="$lt_save_ifs"
   9367 	if test "X$pkg" = "X$p"; then
   9368 	  enable_static=yes
   9369 	fi
   9370       done
   9371       IFS="$lt_save_ifs"
   9372       ;;
   9373     esac
   9374 else
   9375   enable_static=yes
   9376 fi
   9377 
   9378 
   9379 
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 # Check whether --with-pic was given.
   9388 if test "${with_pic+set}" = set; then :
   9389   withval=$with_pic; pic_mode="$withval"
   9390 else
   9391   pic_mode=default
   9392 fi
   9393 
   9394 
   9395 test -z "$pic_mode" && pic_mode=default
   9396 
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 
   9403   # Check whether --enable-fast-install was given.
   9404 if test "${enable_fast_install+set}" = set; then :
   9405   enableval=$enable_fast_install; p=${PACKAGE-default}
   9406     case $enableval in
   9407     yes) enable_fast_install=yes ;;
   9408     no) enable_fast_install=no ;;
   9409     *)
   9410       enable_fast_install=no
   9411       # Look at the argument we got.  We use all the common list separators.
   9412       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   9413       for pkg in $enableval; do
   9414 	IFS="$lt_save_ifs"
   9415 	if test "X$pkg" = "X$p"; then
   9416 	  enable_fast_install=yes
   9417 	fi
   9418       done
   9419       IFS="$lt_save_ifs"
   9420       ;;
   9421     esac
   9422 else
   9423   enable_fast_install=yes
   9424 fi
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 # This can be used to rebuild libtool when needed
   9437 LIBTOOL_DEPS="$ltmain"
   9438 
   9439 # Always use our own libtool.
   9440 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9441 
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 
   9450 
   9451 
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 
   9458 
   9459 
   9460 
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 test -z "$LN_S" && LN_S="ln -s"
   9468 
   9469 
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 
   9477 
   9478 
   9479 
   9480 
   9481 
   9482 if test -n "${ZSH_VERSION+set}" ; then
   9483    setopt NO_GLOB_SUBST
   9484 fi
   9485 
   9486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9487 $as_echo_n "checking for objdir... " >&6; }
   9488 if ${lt_cv_objdir+:} false; then :
   9489   $as_echo_n "(cached) " >&6
   9490 else
   9491   rm -f .libs 2>/dev/null
   9492 mkdir .libs 2>/dev/null
   9493 if test -d .libs; then
   9494   lt_cv_objdir=.libs
   9495 else
   9496   # MS-DOS does not allow filenames that begin with a dot.
   9497   lt_cv_objdir=_libs
   9498 fi
   9499 rmdir .libs 2>/dev/null
   9500 fi
   9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9502 $as_echo "$lt_cv_objdir" >&6; }
   9503 objdir=$lt_cv_objdir
   9504 
   9505 
   9506 
   9507 
   9508 
   9509 cat >>confdefs.h <<_ACEOF
   9510 #define LT_OBJDIR "$lt_cv_objdir/"
   9511 _ACEOF
   9512 
   9513 
   9514 
   9515 
   9516 case $host_os in
   9517 aix3*)
   9518   # AIX sometimes has problems with the GCC collect2 program.  For some
   9519   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9520   # vanish in a puff of smoke.
   9521   if test "X${COLLECT_NAMES+set}" != Xset; then
   9522     COLLECT_NAMES=
   9523     export COLLECT_NAMES
   9524   fi
   9525   ;;
   9526 esac
   9527 
   9528 # Global variables:
   9529 ofile=libtool
   9530 can_build_shared=yes
   9531 
   9532 # All known linkers require a `.a' archive for static linking (except MSVC,
   9533 # which needs '.lib').
   9534 libext=a
   9535 
   9536 with_gnu_ld="$lt_cv_prog_gnu_ld"
   9537 
   9538 old_CC="$CC"
   9539 old_CFLAGS="$CFLAGS"
   9540 
   9541 # Set sane defaults for various variables
   9542 test -z "$CC" && CC=cc
   9543 test -z "$LTCC" && LTCC=$CC
   9544 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9545 test -z "$LD" && LD=ld
   9546 test -z "$ac_objext" && ac_objext=o
   9547 
   9548 for cc_temp in $compiler""; do
   9549   case $cc_temp in
   9550     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   9551     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   9552     \-*) ;;
   9553     *) break;;
   9554   esac
   9555 done
   9556 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   9557 
   9558 
   9559 # Only perform the check for file, if the check method requires it
   9560 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9561 case $deplibs_check_method in
   9562 file_magic*)
   9563   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9564     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9565 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   9566 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9567   $as_echo_n "(cached) " >&6
   9568 else
   9569   case $MAGIC_CMD in
   9570 [\\/*] |  ?:[\\/]*)
   9571   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   9572   ;;
   9573 *)
   9574   lt_save_MAGIC_CMD="$MAGIC_CMD"
   9575   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   9576   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9577   for ac_dir in $ac_dummy; do
   9578     IFS="$lt_save_ifs"
   9579     test -z "$ac_dir" && ac_dir=.
   9580     if test -f $ac_dir/${ac_tool_prefix}file; then
   9581       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   9582       if test -n "$file_magic_test_file"; then
   9583 	case $deplibs_check_method in
   9584 	"file_magic "*)
   9585 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9586 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9587 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9588 	    $EGREP "$file_magic_regex" > /dev/null; then
   9589 	    :
   9590 	  else
   9591 	    cat <<_LT_EOF 1>&2
   9592 
   9593 *** Warning: the command libtool uses to detect shared libraries,
   9594 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9595 *** The result is that libtool may fail to recognize shared libraries
   9596 *** as such.  This will affect the creation of libtool libraries that
   9597 *** depend on shared libraries, but programs linked with such libtool
   9598 *** libraries will work regardless of this problem.  Nevertheless, you
   9599 *** may want to report the problem to your system manager and/or to
   9600 *** bug-libtool@gnu.org
   9601 
   9602 _LT_EOF
   9603 	  fi ;;
   9604 	esac
   9605       fi
   9606       break
   9607     fi
   9608   done
   9609   IFS="$lt_save_ifs"
   9610   MAGIC_CMD="$lt_save_MAGIC_CMD"
   9611   ;;
   9612 esac
   9613 fi
   9614 
   9615 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9616 if test -n "$MAGIC_CMD"; then
   9617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9618 $as_echo "$MAGIC_CMD" >&6; }
   9619 else
   9620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9621 $as_echo "no" >&6; }
   9622 fi
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9629   if test -n "$ac_tool_prefix"; then
   9630     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9631 $as_echo_n "checking for file... " >&6; }
   9632 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9633   $as_echo_n "(cached) " >&6
   9634 else
   9635   case $MAGIC_CMD in
   9636 [\\/*] |  ?:[\\/]*)
   9637   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   9638   ;;
   9639 *)
   9640   lt_save_MAGIC_CMD="$MAGIC_CMD"
   9641   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   9642   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9643   for ac_dir in $ac_dummy; do
   9644     IFS="$lt_save_ifs"
   9645     test -z "$ac_dir" && ac_dir=.
   9646     if test -f $ac_dir/file; then
   9647       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   9648       if test -n "$file_magic_test_file"; then
   9649 	case $deplibs_check_method in
   9650 	"file_magic "*)
   9651 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9652 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9653 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9654 	    $EGREP "$file_magic_regex" > /dev/null; then
   9655 	    :
   9656 	  else
   9657 	    cat <<_LT_EOF 1>&2
   9658 
   9659 *** Warning: the command libtool uses to detect shared libraries,
   9660 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9661 *** The result is that libtool may fail to recognize shared libraries
   9662 *** as such.  This will affect the creation of libtool libraries that
   9663 *** depend on shared libraries, but programs linked with such libtool
   9664 *** libraries will work regardless of this problem.  Nevertheless, you
   9665 *** may want to report the problem to your system manager and/or to
   9666 *** bug-libtool@gnu.org
   9667 
   9668 _LT_EOF
   9669 	  fi ;;
   9670 	esac
   9671       fi
   9672       break
   9673     fi
   9674   done
   9675   IFS="$lt_save_ifs"
   9676   MAGIC_CMD="$lt_save_MAGIC_CMD"
   9677   ;;
   9678 esac
   9679 fi
   9680 
   9681 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9682 if test -n "$MAGIC_CMD"; then
   9683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9684 $as_echo "$MAGIC_CMD" >&6; }
   9685 else
   9686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9687 $as_echo "no" >&6; }
   9688 fi
   9689 
   9690 
   9691   else
   9692     MAGIC_CMD=:
   9693   fi
   9694 fi
   9695 
   9696   fi
   9697   ;;
   9698 esac
   9699 
   9700 # Use C for the default configuration in the libtool script
   9701 
   9702 lt_save_CC="$CC"
   9703 ac_ext=c
   9704 ac_cpp='$CPP $CPPFLAGS'
   9705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9708 
   9709 
   9710 # Source file extension for C test sources.
   9711 ac_ext=c
   9712 
   9713 # Object file extension for compiled C test sources.
   9714 objext=o
   9715 objext=$objext
   9716 
   9717 # Code to be used in simple compile tests
   9718 lt_simple_compile_test_code="int some_variable = 0;"
   9719 
   9720 # Code to be used in simple link tests
   9721 lt_simple_link_test_code='int main(){return(0);}'
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 # If no C compiler was specified, use CC.
   9730 LTCC=${LTCC-"$CC"}
   9731 
   9732 # If no C compiler flags were specified, use CFLAGS.
   9733 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9734 
   9735 # Allow CC to be a program name with arguments.
   9736 compiler=$CC
   9737 
   9738 # Save the default compiler, since it gets overwritten when the other
   9739 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9740 compiler_DEFAULT=$CC
   9741 
   9742 # save warnings/boilerplate of simple test code
   9743 ac_outfile=conftest.$ac_objext
   9744 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9745 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9746 _lt_compiler_boilerplate=`cat conftest.err`
   9747 $RM conftest*
   9748 
   9749 ac_outfile=conftest.$ac_objext
   9750 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9751 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9752 _lt_linker_boilerplate=`cat conftest.err`
   9753 $RM -r conftest*
   9754 
   9755 
   9756 ## CAVEAT EMPTOR:
   9757 ## There is no encapsulation within the following macros, do not change
   9758 ## the running order or otherwise move them around unless you know exactly
   9759 ## what you are doing...
   9760 if test -n "$compiler"; then
   9761 
   9762 lt_prog_compiler_no_builtin_flag=
   9763 
   9764 if test "$GCC" = yes; then
   9765   case $cc_basename in
   9766   nvcc*)
   9767     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9768   *)
   9769     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9770   esac
   9771 
   9772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9773 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9774 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   9775   $as_echo_n "(cached) " >&6
   9776 else
   9777   lt_cv_prog_compiler_rtti_exceptions=no
   9778    ac_outfile=conftest.$ac_objext
   9779    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9780    lt_compiler_flag="-fno-rtti -fno-exceptions"
   9781    # Insert the option either (1) after the last *FLAGS variable, or
   9782    # (2) before a word containing "conftest.", or (3) at the end.
   9783    # Note that $ac_compile itself does not contain backslashes and begins
   9784    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9785    # The option is referenced via a variable to avoid confusing sed.
   9786    lt_compile=`echo "$ac_compile" | $SED \
   9787    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9788    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9789    -e 's:$: $lt_compiler_flag:'`
   9790    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9791    (eval "$lt_compile" 2>conftest.err)
   9792    ac_status=$?
   9793    cat conftest.err >&5
   9794    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9795    if (exit $ac_status) && test -s "$ac_outfile"; then
   9796      # The compiler can only warn and ignore the option if not recognized
   9797      # So say no if there are warnings other than the usual output.
   9798      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9799      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9800      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9801        lt_cv_prog_compiler_rtti_exceptions=yes
   9802      fi
   9803    fi
   9804    $RM conftest*
   9805 
   9806 fi
   9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9808 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9809 
   9810 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   9811     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9812 else
   9813     :
   9814 fi
   9815 
   9816 fi
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823   lt_prog_compiler_wl=
   9824 lt_prog_compiler_pic=
   9825 lt_prog_compiler_static=
   9826 
   9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9828 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9829 
   9830   if test "$GCC" = yes; then
   9831     lt_prog_compiler_wl='-Wl,'
   9832     lt_prog_compiler_static='-static'
   9833 
   9834     case $host_os in
   9835       aix*)
   9836       # All AIX code is PIC.
   9837       if test "$host_cpu" = ia64; then
   9838 	# AIX 5 now supports IA64 processor
   9839 	lt_prog_compiler_static='-Bstatic'
   9840       fi
   9841       lt_prog_compiler_pic='-fPIC'
   9842       ;;
   9843 
   9844     amigaos*)
   9845       case $host_cpu in
   9846       powerpc)
   9847             # see comment about AmigaOS4 .so support
   9848             lt_prog_compiler_pic='-fPIC'
   9849         ;;
   9850       m68k)
   9851             # FIXME: we need at least 68020 code to build shared libraries, but
   9852             # adding the `-m68020' flag to GCC prevents building anything better,
   9853             # like `-m68040'.
   9854             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9855         ;;
   9856       esac
   9857       ;;
   9858 
   9859     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9860       # PIC is the default for these OSes.
   9861       ;;
   9862 
   9863     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9864       # This hack is so that the source file can tell whether it is being
   9865       # built for inclusion in a dll (and should export symbols for example).
   9866       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9867       # (--disable-auto-import) libraries
   9868       lt_prog_compiler_pic='-DDLL_EXPORT'
   9869       ;;
   9870 
   9871     darwin* | rhapsody*)
   9872       # PIC is the default on this platform
   9873       # Common symbols not allowed in MH_DYLIB files
   9874       lt_prog_compiler_pic='-fno-common'
   9875       ;;
   9876 
   9877     haiku*)
   9878       # PIC is the default for Haiku.
   9879       # The "-static" flag exists, but is broken.
   9880       lt_prog_compiler_static=
   9881       ;;
   9882 
   9883     hpux*)
   9884       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9885       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9886       # sets the default TLS model and affects inlining.
   9887       case $host_cpu in
   9888       hppa*64*)
   9889 	# +Z the default
   9890 	;;
   9891       *)
   9892 	lt_prog_compiler_pic='-fPIC'
   9893 	;;
   9894       esac
   9895       ;;
   9896 
   9897     interix[3-9]*)
   9898       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9899       # Instead, we relocate shared libraries at runtime.
   9900       ;;
   9901 
   9902     msdosdjgpp*)
   9903       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9904       # on systems that don't support them.
   9905       lt_prog_compiler_can_build_shared=no
   9906       enable_shared=no
   9907       ;;
   9908 
   9909     *nto* | *qnx*)
   9910       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9911       # it will coredump.
   9912       lt_prog_compiler_pic='-fPIC -shared'
   9913       ;;
   9914 
   9915     sysv4*MP*)
   9916       if test -d /usr/nec; then
   9917 	lt_prog_compiler_pic=-Kconform_pic
   9918       fi
   9919       ;;
   9920 
   9921     *)
   9922       lt_prog_compiler_pic='-fPIC'
   9923       ;;
   9924     esac
   9925 
   9926     case $cc_basename in
   9927     nvcc*) # Cuda Compiler Driver 2.2
   9928       lt_prog_compiler_wl='-Xlinker '
   9929       lt_prog_compiler_pic='-Xcompiler -fPIC'
   9930       ;;
   9931     esac
   9932   else
   9933     # PORTME Check for flag to pass linker flags through the system compiler.
   9934     case $host_os in
   9935     aix*)
   9936       lt_prog_compiler_wl='-Wl,'
   9937       if test "$host_cpu" = ia64; then
   9938 	# AIX 5 now supports IA64 processor
   9939 	lt_prog_compiler_static='-Bstatic'
   9940       else
   9941 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9942       fi
   9943       ;;
   9944 
   9945     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9946       # This hack is so that the source file can tell whether it is being
   9947       # built for inclusion in a dll (and should export symbols for example).
   9948       lt_prog_compiler_pic='-DDLL_EXPORT'
   9949       ;;
   9950 
   9951     hpux9* | hpux10* | hpux11*)
   9952       lt_prog_compiler_wl='-Wl,'
   9953       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9954       # not for PA HP-UX.
   9955       case $host_cpu in
   9956       hppa*64*|ia64*)
   9957 	# +Z the default
   9958 	;;
   9959       *)
   9960 	lt_prog_compiler_pic='+Z'
   9961 	;;
   9962       esac
   9963       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9964       lt_prog_compiler_static='${wl}-a ${wl}archive'
   9965       ;;
   9966 
   9967     irix5* | irix6* | nonstopux*)
   9968       lt_prog_compiler_wl='-Wl,'
   9969       # PIC (with -KPIC) is the default.
   9970       lt_prog_compiler_static='-non_shared'
   9971       ;;
   9972 
   9973     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   9974       case $cc_basename in
   9975       # old Intel for x86_64 which still supported -KPIC.
   9976       ecc*)
   9977 	lt_prog_compiler_wl='-Wl,'
   9978 	lt_prog_compiler_pic='-KPIC'
   9979 	lt_prog_compiler_static='-static'
   9980         ;;
   9981       # icc used to be incompatible with GCC.
   9982       # ICC 10 doesn't accept -KPIC any more.
   9983       icc* | ifort*)
   9984 	lt_prog_compiler_wl='-Wl,'
   9985 	lt_prog_compiler_pic='-fPIC'
   9986 	lt_prog_compiler_static='-static'
   9987         ;;
   9988       # Lahey Fortran 8.1.
   9989       lf95*)
   9990 	lt_prog_compiler_wl='-Wl,'
   9991 	lt_prog_compiler_pic='--shared'
   9992 	lt_prog_compiler_static='--static'
   9993 	;;
   9994       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9995         # Portland Group compilers (*not* the Pentium gcc compiler,
   9996 	# which looks to be a dead project)
   9997 	lt_prog_compiler_wl='-Wl,'
   9998 	lt_prog_compiler_pic='-fpic'
   9999 	lt_prog_compiler_static='-Bstatic'
   10000         ;;
   10001       ccc*)
   10002         lt_prog_compiler_wl='-Wl,'
   10003         # All Alpha code is PIC.
   10004         lt_prog_compiler_static='-non_shared'
   10005         ;;
   10006       xl* | bgxl* | bgf* | mpixl*)
   10007 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   10008 	lt_prog_compiler_wl='-Wl,'
   10009 	lt_prog_compiler_pic='-qpic'
   10010 	lt_prog_compiler_static='-qstaticlink'
   10011 	;;
   10012       *)
   10013 	case `$CC -V 2>&1 | sed 5q` in
   10014 	*Sun\ F* | *Sun*Fortran*)
   10015 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   10016 	  lt_prog_compiler_pic='-KPIC'
   10017 	  lt_prog_compiler_static='-Bstatic'
   10018 	  lt_prog_compiler_wl=''
   10019 	  ;;
   10020 	*Sun\ C*)
   10021 	  # Sun C 5.9
   10022 	  lt_prog_compiler_pic='-KPIC'
   10023 	  lt_prog_compiler_static='-Bstatic'
   10024 	  lt_prog_compiler_wl='-Wl,'
   10025 	  ;;
   10026 	esac
   10027 	;;
   10028       esac
   10029       ;;
   10030 
   10031     newsos6)
   10032       lt_prog_compiler_pic='-KPIC'
   10033       lt_prog_compiler_static='-Bstatic'
   10034       ;;
   10035 
   10036     *nto* | *qnx*)
   10037       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10038       # it will coredump.
   10039       lt_prog_compiler_pic='-fPIC -shared'
   10040       ;;
   10041 
   10042     osf3* | osf4* | osf5*)
   10043       lt_prog_compiler_wl='-Wl,'
   10044       # All OSF/1 code is PIC.
   10045       lt_prog_compiler_static='-non_shared'
   10046       ;;
   10047 
   10048     rdos*)
   10049       lt_prog_compiler_static='-non_shared'
   10050       ;;
   10051 
   10052     solaris*)
   10053       lt_prog_compiler_pic='-KPIC'
   10054       lt_prog_compiler_static='-Bstatic'
   10055       case $cc_basename in
   10056       f77* | f90* | f95*)
   10057 	lt_prog_compiler_wl='-Qoption ld ';;
   10058       *)
   10059 	lt_prog_compiler_wl='-Wl,';;
   10060       esac
   10061       ;;
   10062 
   10063     sunos4*)
   10064       lt_prog_compiler_wl='-Qoption ld '
   10065       lt_prog_compiler_pic='-PIC'
   10066       lt_prog_compiler_static='-Bstatic'
   10067       ;;
   10068 
   10069     sysv4 | sysv4.2uw2* | sysv4.3*)
   10070       lt_prog_compiler_wl='-Wl,'
   10071       lt_prog_compiler_pic='-KPIC'
   10072       lt_prog_compiler_static='-Bstatic'
   10073       ;;
   10074 
   10075     sysv4*MP*)
   10076       if test -d /usr/nec ;then
   10077 	lt_prog_compiler_pic='-Kconform_pic'
   10078 	lt_prog_compiler_static='-Bstatic'
   10079       fi
   10080       ;;
   10081 
   10082     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   10083       lt_prog_compiler_wl='-Wl,'
   10084       lt_prog_compiler_pic='-KPIC'
   10085       lt_prog_compiler_static='-Bstatic'
   10086       ;;
   10087 
   10088     unicos*)
   10089       lt_prog_compiler_wl='-Wl,'
   10090       lt_prog_compiler_can_build_shared=no
   10091       ;;
   10092 
   10093     uts4*)
   10094       lt_prog_compiler_pic='-pic'
   10095       lt_prog_compiler_static='-Bstatic'
   10096       ;;
   10097 
   10098     *)
   10099       lt_prog_compiler_can_build_shared=no
   10100       ;;
   10101     esac
   10102   fi
   10103 
   10104 case $host_os in
   10105   # For platforms which do not support PIC, -DPIC is meaningless:
   10106   *djgpp*)
   10107     lt_prog_compiler_pic=
   10108     ;;
   10109   *)
   10110     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   10111     ;;
   10112 esac
   10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   10114 $as_echo "$lt_prog_compiler_pic" >&6; }
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 #
   10122 # Check to make sure the PIC flag actually works.
   10123 #
   10124 if test -n "$lt_prog_compiler_pic"; then
   10125   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   10126 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   10127 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   10128   $as_echo_n "(cached) " >&6
   10129 else
   10130   lt_cv_prog_compiler_pic_works=no
   10131    ac_outfile=conftest.$ac_objext
   10132    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10133    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   10134    # Insert the option either (1) after the last *FLAGS variable, or
   10135    # (2) before a word containing "conftest.", or (3) at the end.
   10136    # Note that $ac_compile itself does not contain backslashes and begins
   10137    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10138    # The option is referenced via a variable to avoid confusing sed.
   10139    lt_compile=`echo "$ac_compile" | $SED \
   10140    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10141    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10142    -e 's:$: $lt_compiler_flag:'`
   10143    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10144    (eval "$lt_compile" 2>conftest.err)
   10145    ac_status=$?
   10146    cat conftest.err >&5
   10147    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10148    if (exit $ac_status) && test -s "$ac_outfile"; then
   10149      # The compiler can only warn and ignore the option if not recognized
   10150      # So say no if there are warnings other than the usual output.
   10151      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   10152      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10153      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10154        lt_cv_prog_compiler_pic_works=yes
   10155      fi
   10156    fi
   10157    $RM conftest*
   10158 
   10159 fi
   10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   10161 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   10162 
   10163 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   10164     case $lt_prog_compiler_pic in
   10165      "" | " "*) ;;
   10166      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   10167      esac
   10168 else
   10169     lt_prog_compiler_pic=
   10170      lt_prog_compiler_can_build_shared=no
   10171 fi
   10172 
   10173 fi
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 #
   10181 # Check to make sure the static flag actually works.
   10182 #
   10183 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10185 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10186 if ${lt_cv_prog_compiler_static_works+:} false; then :
   10187   $as_echo_n "(cached) " >&6
   10188 else
   10189   lt_cv_prog_compiler_static_works=no
   10190    save_LDFLAGS="$LDFLAGS"
   10191    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10192    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10193    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10194      # The linker can only warn and ignore the option if not recognized
   10195      # So say no if there are warnings
   10196      if test -s conftest.err; then
   10197        # Append any errors to the config.log.
   10198        cat conftest.err 1>&5
   10199        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10200        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10201        if diff conftest.exp conftest.er2 >/dev/null; then
   10202          lt_cv_prog_compiler_static_works=yes
   10203        fi
   10204      else
   10205        lt_cv_prog_compiler_static_works=yes
   10206      fi
   10207    fi
   10208    $RM -r conftest*
   10209    LDFLAGS="$save_LDFLAGS"
   10210 
   10211 fi
   10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10213 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   10214 
   10215 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   10216     :
   10217 else
   10218     lt_prog_compiler_static=
   10219 fi
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10228 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10229 if ${lt_cv_prog_compiler_c_o+:} false; then :
   10230   $as_echo_n "(cached) " >&6
   10231 else
   10232   lt_cv_prog_compiler_c_o=no
   10233    $RM -r conftest 2>/dev/null
   10234    mkdir conftest
   10235    cd conftest
   10236    mkdir out
   10237    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10238 
   10239    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10240    # Insert the option either (1) after the last *FLAGS variable, or
   10241    # (2) before a word containing "conftest.", or (3) at the end.
   10242    # Note that $ac_compile itself does not contain backslashes and begins
   10243    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10244    lt_compile=`echo "$ac_compile" | $SED \
   10245    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10246    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10247    -e 's:$: $lt_compiler_flag:'`
   10248    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10249    (eval "$lt_compile" 2>out/conftest.err)
   10250    ac_status=$?
   10251    cat out/conftest.err >&5
   10252    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10253    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10254    then
   10255      # The compiler can only warn and ignore the option if not recognized
   10256      # So say no if there are warnings
   10257      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10258      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10259      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10260        lt_cv_prog_compiler_c_o=yes
   10261      fi
   10262    fi
   10263    chmod u+w . 2>&5
   10264    $RM conftest*
   10265    # SGI C++ compiler will create directory out/ii_files/ for
   10266    # template instantiation
   10267    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10268    $RM out/* && rmdir out
   10269    cd ..
   10270    $RM -r conftest
   10271    $RM conftest*
   10272 
   10273 fi
   10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10275 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10283 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10284 if ${lt_cv_prog_compiler_c_o+:} false; then :
   10285   $as_echo_n "(cached) " >&6
   10286 else
   10287   lt_cv_prog_compiler_c_o=no
   10288    $RM -r conftest 2>/dev/null
   10289    mkdir conftest
   10290    cd conftest
   10291    mkdir out
   10292    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10293 
   10294    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10295    # Insert the option either (1) after the last *FLAGS variable, or
   10296    # (2) before a word containing "conftest.", or (3) at the end.
   10297    # Note that $ac_compile itself does not contain backslashes and begins
   10298    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10299    lt_compile=`echo "$ac_compile" | $SED \
   10300    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10301    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10302    -e 's:$: $lt_compiler_flag:'`
   10303    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10304    (eval "$lt_compile" 2>out/conftest.err)
   10305    ac_status=$?
   10306    cat out/conftest.err >&5
   10307    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10308    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10309    then
   10310      # The compiler can only warn and ignore the option if not recognized
   10311      # So say no if there are warnings
   10312      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10313      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10314      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10315        lt_cv_prog_compiler_c_o=yes
   10316      fi
   10317    fi
   10318    chmod u+w . 2>&5
   10319    $RM conftest*
   10320    # SGI C++ compiler will create directory out/ii_files/ for
   10321    # template instantiation
   10322    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10323    $RM out/* && rmdir out
   10324    cd ..
   10325    $RM -r conftest
   10326    $RM conftest*
   10327 
   10328 fi
   10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10330 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   10331 
   10332 
   10333 
   10334 
   10335 hard_links="nottested"
   10336 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   10337   # do not overwrite the value of need_locks provided by the user
   10338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10339 $as_echo_n "checking if we can lock with hard links... " >&6; }
   10340   hard_links=yes
   10341   $RM conftest*
   10342   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10343   touch conftest.a
   10344   ln conftest.a conftest.b 2>&5 || hard_links=no
   10345   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10347 $as_echo "$hard_links" >&6; }
   10348   if test "$hard_links" = no; then
   10349     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   10350 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   10351     need_locks=warn
   10352   fi
   10353 else
   10354   need_locks=no
   10355 fi
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10363 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10364 
   10365   runpath_var=
   10366   allow_undefined_flag=
   10367   always_export_symbols=no
   10368   archive_cmds=
   10369   archive_expsym_cmds=
   10370   compiler_needs_object=no
   10371   enable_shared_with_static_runtimes=no
   10372   export_dynamic_flag_spec=
   10373   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10374   hardcode_automatic=no
   10375   hardcode_direct=no
   10376   hardcode_direct_absolute=no
   10377   hardcode_libdir_flag_spec=
   10378   hardcode_libdir_flag_spec_ld=
   10379   hardcode_libdir_separator=
   10380   hardcode_minus_L=no
   10381   hardcode_shlibpath_var=unsupported
   10382   inherit_rpath=no
   10383   link_all_deplibs=unknown
   10384   module_cmds=
   10385   module_expsym_cmds=
   10386   old_archive_from_new_cmds=
   10387   old_archive_from_expsyms_cmds=
   10388   thread_safe_flag_spec=
   10389   whole_archive_flag_spec=
   10390   # include_expsyms should be a list of space-separated symbols to be *always*
   10391   # included in the symbol list
   10392   include_expsyms=
   10393   # exclude_expsyms can be an extended regexp of symbols to exclude
   10394   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   10395   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   10396   # as well as any symbol that contains `d'.
   10397   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10398   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10399   # platforms (ab)use it in PIC code, but their linkers get confused if
   10400   # the symbol is explicitly referenced.  Since portable code cannot
   10401   # rely on this symbol name, it's probably fine to never include it in
   10402   # preloaded symbol tables.
   10403   # Exclude shared library initialization/finalization symbols.
   10404   extract_expsyms_cmds=
   10405 
   10406   case $host_os in
   10407   cygwin* | mingw* | pw32* | cegcc*)
   10408     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   10409     # When not using gcc, we currently assume that we are using
   10410     # Microsoft Visual C++.
   10411     if test "$GCC" != yes; then
   10412       with_gnu_ld=no
   10413     fi
   10414     ;;
   10415   interix*)
   10416     # we just hope/assume this is gcc and not c89 (= MSVC++)
   10417     with_gnu_ld=yes
   10418     ;;
   10419   openbsd*)
   10420     with_gnu_ld=no
   10421     ;;
   10422   esac
   10423 
   10424   ld_shlibs=yes
   10425 
   10426   # On some targets, GNU ld is compatible enough with the native linker
   10427   # that we're better off using the native interface for both.
   10428   lt_use_gnu_ld_interface=no
   10429   if test "$with_gnu_ld" = yes; then
   10430     case $host_os in
   10431       aix*)
   10432 	# The AIX port of GNU ld has always aspired to compatibility
   10433 	# with the native linker.  However, as the warning in the GNU ld
   10434 	# block says, versions before 2.19.5* couldn't really create working
   10435 	# shared libraries, regardless of the interface used.
   10436 	case `$LD -v 2>&1` in
   10437 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10438 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10439 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10440 	  *)
   10441 	    lt_use_gnu_ld_interface=yes
   10442 	    ;;
   10443 	esac
   10444 	;;
   10445       *)
   10446 	lt_use_gnu_ld_interface=yes
   10447 	;;
   10448     esac
   10449   fi
   10450 
   10451   if test "$lt_use_gnu_ld_interface" = yes; then
   10452     # If archive_cmds runs LD, not CC, wlarc should be empty
   10453     wlarc='${wl}'
   10454 
   10455     # Set some defaults for GNU ld with shared library support. These
   10456     # are reset later if shared libraries are not supported. Putting them
   10457     # here allows them to be overridden if necessary.
   10458     runpath_var=LD_RUN_PATH
   10459     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10460     export_dynamic_flag_spec='${wl}--export-dynamic'
   10461     # ancient GNU ld didn't support --whole-archive et. al.
   10462     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10463       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10464     else
   10465       whole_archive_flag_spec=
   10466     fi
   10467     supports_anon_versioning=no
   10468     case `$LD -v 2>&1` in
   10469       *GNU\ gold*) supports_anon_versioning=yes ;;
   10470       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10471       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10472       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10473       *\ 2.11.*) ;; # other 2.11 versions
   10474       *) supports_anon_versioning=yes ;;
   10475     esac
   10476 
   10477     # See if GNU ld supports shared libraries.
   10478     case $host_os in
   10479     aix[3-9]*)
   10480       # On AIX/PPC, the GNU linker is very broken
   10481       if test "$host_cpu" != ia64; then
   10482 	ld_shlibs=no
   10483 	cat <<_LT_EOF 1>&2
   10484 
   10485 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10486 *** to be unable to reliably create shared libraries on AIX.
   10487 *** Therefore, libtool is disabling shared libraries support.  If you
   10488 *** really care for shared libraries, you may want to install binutils
   10489 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10490 *** You will then need to restart the configuration process.
   10491 
   10492 _LT_EOF
   10493       fi
   10494       ;;
   10495 
   10496     amigaos*)
   10497       case $host_cpu in
   10498       powerpc)
   10499             # see comment about AmigaOS4 .so support
   10500             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10501             archive_expsym_cmds=''
   10502         ;;
   10503       m68k)
   10504             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)'
   10505             hardcode_libdir_flag_spec='-L$libdir'
   10506             hardcode_minus_L=yes
   10507         ;;
   10508       esac
   10509       ;;
   10510 
   10511     beos*)
   10512       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10513 	allow_undefined_flag=unsupported
   10514 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10515 	# support --undefined.  This deserves some investigation.  FIXME
   10516 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10517       else
   10518 	ld_shlibs=no
   10519       fi
   10520       ;;
   10521 
   10522     cygwin* | mingw* | pw32* | cegcc*)
   10523       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10524       # as there is no search path for DLLs.
   10525       hardcode_libdir_flag_spec='-L$libdir'
   10526       export_dynamic_flag_spec='${wl}--export-all-symbols'
   10527       allow_undefined_flag=unsupported
   10528       always_export_symbols=no
   10529       enable_shared_with_static_runtimes=yes
   10530       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10531 
   10532       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10533         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10534 	# If the export-symbols file already is a .def file (1st line
   10535 	# is EXPORTS), use it as is; otherwise, prepend...
   10536 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   10537 	  cp $export_symbols $output_objdir/$soname.def;
   10538 	else
   10539 	  echo EXPORTS > $output_objdir/$soname.def;
   10540 	  cat $export_symbols >> $output_objdir/$soname.def;
   10541 	fi~
   10542 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10543       else
   10544 	ld_shlibs=no
   10545       fi
   10546       ;;
   10547 
   10548     haiku*)
   10549       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10550       link_all_deplibs=yes
   10551       ;;
   10552 
   10553     interix[3-9]*)
   10554       hardcode_direct=no
   10555       hardcode_shlibpath_var=no
   10556       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10557       export_dynamic_flag_spec='${wl}-E'
   10558       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10559       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10560       # default) and relocated if they conflict, which is a slow very memory
   10561       # consuming and fragmenting process.  To avoid this, we pick a random,
   10562       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10563       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10564       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10565       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'
   10566       ;;
   10567 
   10568     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   10569       tmp_diet=no
   10570       if test "$host_os" = linux-dietlibc; then
   10571 	case $cc_basename in
   10572 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10573 	esac
   10574       fi
   10575       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10576 	 && test "$tmp_diet" = no
   10577       then
   10578 	tmp_addflag=' $pic_flag'
   10579 	tmp_sharedflag='-shared'
   10580 	case $cc_basename,$host_cpu in
   10581         pgcc*)				# Portland Group C compiler
   10582 	  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'
   10583 	  tmp_addflag=' $pic_flag'
   10584 	  ;;
   10585 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10586 					# Portland Group f77 and f90 compilers
   10587 	  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'
   10588 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10589 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10590 	  tmp_addflag=' -i_dynamic' ;;
   10591 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10592 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10593 	ifc* | ifort*)			# Intel Fortran compiler
   10594 	  tmp_addflag=' -nofor_main' ;;
   10595 	lf95*)				# Lahey Fortran 8.1
   10596 	  whole_archive_flag_spec=
   10597 	  tmp_sharedflag='--shared' ;;
   10598 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10599 	  tmp_sharedflag='-qmkshrobj'
   10600 	  tmp_addflag= ;;
   10601 	nvcc*)	# Cuda Compiler Driver 2.2
   10602 	  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'
   10603 	  compiler_needs_object=yes
   10604 	  ;;
   10605 	esac
   10606 	case `$CC -V 2>&1 | sed 5q` in
   10607 	*Sun\ C*)			# Sun C 5.9
   10608 	  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'
   10609 	  compiler_needs_object=yes
   10610 	  tmp_sharedflag='-G' ;;
   10611 	*Sun\ F*)			# Sun Fortran 8.3
   10612 	  tmp_sharedflag='-G' ;;
   10613 	esac
   10614 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10615 
   10616         if test "x$supports_anon_versioning" = xyes; then
   10617           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10618 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10619 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   10620 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   10621         fi
   10622 
   10623 	case $cc_basename in
   10624 	xlf* | bgf* | bgxlf* | mpixlf*)
   10625 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10626 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10627 	  hardcode_libdir_flag_spec=
   10628 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   10629 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   10630 	  if test "x$supports_anon_versioning" = xyes; then
   10631 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10632 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10633 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   10634 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10635 	  fi
   10636 	  ;;
   10637 	esac
   10638       else
   10639         ld_shlibs=no
   10640       fi
   10641       ;;
   10642 
   10643     netbsd*)
   10644       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10645 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10646 	wlarc=
   10647       else
   10648 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10649 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10650       fi
   10651       ;;
   10652 
   10653     solaris*)
   10654       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10655 	ld_shlibs=no
   10656 	cat <<_LT_EOF 1>&2
   10657 
   10658 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10659 *** create shared libraries on Solaris systems.  Therefore, libtool
   10660 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10661 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10662 *** your PATH or compiler configuration so that the native linker is
   10663 *** used, and then restart.
   10664 
   10665 _LT_EOF
   10666       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10667 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10668 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10669       else
   10670 	ld_shlibs=no
   10671       fi
   10672       ;;
   10673 
   10674     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10675       case `$LD -v 2>&1` in
   10676         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10677 	ld_shlibs=no
   10678 	cat <<_LT_EOF 1>&2
   10679 
   10680 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   10681 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10682 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10683 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10684 *** your PATH or compiler configuration so that the native linker is
   10685 *** used, and then restart.
   10686 
   10687 _LT_EOF
   10688 	;;
   10689 	*)
   10690 	  # For security reasons, it is highly recommended that you always
   10691 	  # use absolute paths for naming shared libraries, and exclude the
   10692 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10693 	  # requires that you compile everything twice, which is a pain.
   10694 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10695 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10696 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10697 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10698 	  else
   10699 	    ld_shlibs=no
   10700 	  fi
   10701 	;;
   10702       esac
   10703       ;;
   10704 
   10705     sunos4*)
   10706       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10707       wlarc=
   10708       hardcode_direct=yes
   10709       hardcode_shlibpath_var=no
   10710       ;;
   10711 
   10712     *)
   10713       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10714 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10715 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10716       else
   10717 	ld_shlibs=no
   10718       fi
   10719       ;;
   10720     esac
   10721 
   10722     if test "$ld_shlibs" = no; then
   10723       runpath_var=
   10724       hardcode_libdir_flag_spec=
   10725       export_dynamic_flag_spec=
   10726       whole_archive_flag_spec=
   10727     fi
   10728   else
   10729     # PORTME fill in a description of your system's linker (not GNU ld)
   10730     case $host_os in
   10731     aix3*)
   10732       allow_undefined_flag=unsupported
   10733       always_export_symbols=yes
   10734       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'
   10735       # Note: this linker hardcodes the directories in LIBPATH if there
   10736       # are no directories specified by -L.
   10737       hardcode_minus_L=yes
   10738       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   10739 	# Neither direct hardcoding nor static linking is supported with a
   10740 	# broken collect2.
   10741 	hardcode_direct=unsupported
   10742       fi
   10743       ;;
   10744 
   10745     aix[4-9]*)
   10746       if test "$host_cpu" = ia64; then
   10747 	# On IA64, the linker does run time linking by default, so we don't
   10748 	# have to do anything special.
   10749 	aix_use_runtimelinking=no
   10750 	exp_sym_flag='-Bexport'
   10751 	no_entry_flag=""
   10752       else
   10753 	# If we're using GNU nm, then we don't want the "-C" option.
   10754 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   10755 	# Also, AIX nm treats weak defined symbols like other global
   10756 	# defined symbols, whereas GNU nm marks them as "W".
   10757 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10758 	  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'
   10759 	else
   10760 	  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'
   10761 	fi
   10762 	aix_use_runtimelinking=no
   10763 
   10764 	# Test if we are trying to use run time linking or normal
   10765 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10766 	# need to do runtime linking.
   10767 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10768 	  for ld_flag in $LDFLAGS; do
   10769 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   10770 	    aix_use_runtimelinking=yes
   10771 	    break
   10772 	  fi
   10773 	  done
   10774 	  ;;
   10775 	esac
   10776 
   10777 	exp_sym_flag='-bexport'
   10778 	no_entry_flag='-bnoentry'
   10779       fi
   10780 
   10781       # When large executables or shared objects are built, AIX ld can
   10782       # have problems creating the table of contents.  If linking a library
   10783       # or program results in "error TOC overflow" add -mminimal-toc to
   10784       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10785       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10786 
   10787       archive_cmds=''
   10788       hardcode_direct=yes
   10789       hardcode_direct_absolute=yes
   10790       hardcode_libdir_separator=':'
   10791       link_all_deplibs=yes
   10792       file_list_spec='${wl}-f,'
   10793 
   10794       if test "$GCC" = yes; then
   10795 	case $host_os in aix4.[012]|aix4.[012].*)
   10796 	# We only want to do this on AIX 4.2 and lower, the check
   10797 	# below for broken collect2 doesn't work under 4.3+
   10798 	  collect2name=`${CC} -print-prog-name=collect2`
   10799 	  if test -f "$collect2name" &&
   10800 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10801 	  then
   10802 	  # We have reworked collect2
   10803 	  :
   10804 	  else
   10805 	  # We have old collect2
   10806 	  hardcode_direct=unsupported
   10807 	  # It fails to find uninstalled libraries when the uninstalled
   10808 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10809 	  # to unsupported forces relinking
   10810 	  hardcode_minus_L=yes
   10811 	  hardcode_libdir_flag_spec='-L$libdir'
   10812 	  hardcode_libdir_separator=
   10813 	  fi
   10814 	  ;;
   10815 	esac
   10816 	shared_flag='-shared'
   10817 	if test "$aix_use_runtimelinking" = yes; then
   10818 	  shared_flag="$shared_flag "'${wl}-G'
   10819 	fi
   10820       else
   10821 	# not using gcc
   10822 	if test "$host_cpu" = ia64; then
   10823 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10824 	# chokes on -Wl,-G. The following line is correct:
   10825 	  shared_flag='-G'
   10826 	else
   10827 	  if test "$aix_use_runtimelinking" = yes; then
   10828 	    shared_flag='${wl}-G'
   10829 	  else
   10830 	    shared_flag='${wl}-bM:SRE'
   10831 	  fi
   10832 	fi
   10833       fi
   10834 
   10835       export_dynamic_flag_spec='${wl}-bexpall'
   10836       # It seems that -bexpall does not export symbols beginning with
   10837       # underscore (_), so it is better to generate a list of symbols to export.
   10838       always_export_symbols=yes
   10839       if test "$aix_use_runtimelinking" = yes; then
   10840 	# Warning - without using the other runtime loading flags (-brtl),
   10841 	# -berok will link without error, but may produce a broken library.
   10842 	allow_undefined_flag='-berok'
   10843         # Determine the default libpath from the value encoded in an
   10844         # empty executable.
   10845         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10846 /* end confdefs.h.  */
   10847 
   10848 int
   10849 main ()
   10850 {
   10851 
   10852   ;
   10853   return 0;
   10854 }
   10855 _ACEOF
   10856 if ac_fn_c_try_link "$LINENO"; then :
   10857 
   10858 lt_aix_libpath_sed='
   10859     /Import File Strings/,/^$/ {
   10860 	/^0/ {
   10861 	    s/^0  *\(.*\)$/\1/
   10862 	    p
   10863 	}
   10864     }'
   10865 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10866 # Check for a 64-bit object if we didn't find anything.
   10867 if test -z "$aix_libpath"; then
   10868   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10869 fi
   10870 fi
   10871 rm -f core conftest.err conftest.$ac_objext \
   10872     conftest$ac_exeext conftest.$ac_ext
   10873 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10874 
   10875         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10876         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"
   10877       else
   10878 	if test "$host_cpu" = ia64; then
   10879 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   10880 	  allow_undefined_flag="-z nodefs"
   10881 	  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"
   10882 	else
   10883 	 # Determine the default libpath from the value encoded in an
   10884 	 # empty executable.
   10885 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10886 /* end confdefs.h.  */
   10887 
   10888 int
   10889 main ()
   10890 {
   10891 
   10892   ;
   10893   return 0;
   10894 }
   10895 _ACEOF
   10896 if ac_fn_c_try_link "$LINENO"; then :
   10897 
   10898 lt_aix_libpath_sed='
   10899     /Import File Strings/,/^$/ {
   10900 	/^0/ {
   10901 	    s/^0  *\(.*\)$/\1/
   10902 	    p
   10903 	}
   10904     }'
   10905 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10906 # Check for a 64-bit object if we didn't find anything.
   10907 if test -z "$aix_libpath"; then
   10908   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10909 fi
   10910 fi
   10911 rm -f core conftest.err conftest.$ac_objext \
   10912     conftest$ac_exeext conftest.$ac_ext
   10913 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10914 
   10915 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10916 	  # Warning - without using the other run time loading flags,
   10917 	  # -berok will link without error, but may produce a broken library.
   10918 	  no_undefined_flag=' ${wl}-bernotok'
   10919 	  allow_undefined_flag=' ${wl}-berok'
   10920 	  if test "$with_gnu_ld" = yes; then
   10921 	    # We only use this code for GNU lds that support --whole-archive.
   10922 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   10923 	  else
   10924 	    # Exported symbols can be pulled into shared objects from archives
   10925 	    whole_archive_flag_spec='$convenience'
   10926 	  fi
   10927 	  archive_cmds_need_lc=yes
   10928 	  # This is similar to how AIX traditionally builds its shared libraries.
   10929 	  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'
   10930 	fi
   10931       fi
   10932       ;;
   10933 
   10934     amigaos*)
   10935       case $host_cpu in
   10936       powerpc)
   10937             # see comment about AmigaOS4 .so support
   10938             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10939             archive_expsym_cmds=''
   10940         ;;
   10941       m68k)
   10942             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)'
   10943             hardcode_libdir_flag_spec='-L$libdir'
   10944             hardcode_minus_L=yes
   10945         ;;
   10946       esac
   10947       ;;
   10948 
   10949     bsdi[45]*)
   10950       export_dynamic_flag_spec=-rdynamic
   10951       ;;
   10952 
   10953     cygwin* | mingw* | pw32* | cegcc*)
   10954       # When not using gcc, we currently assume that we are using
   10955       # Microsoft Visual C++.
   10956       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10957       # no search path for DLLs.
   10958       hardcode_libdir_flag_spec=' '
   10959       allow_undefined_flag=unsupported
   10960       # Tell ltmain to make .lib files, not .a files.
   10961       libext=lib
   10962       # Tell ltmain to make .dll files, not .so files.
   10963       shrext_cmds=".dll"
   10964       # FIXME: Setting linknames here is a bad hack.
   10965       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10966       # The linker will automatically build a .lib file if we build a DLL.
   10967       old_archive_from_new_cmds='true'
   10968       # FIXME: Should let the user specify the lib program.
   10969       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10970       fix_srcfile_path='`cygpath -w "$srcfile"`'
   10971       enable_shared_with_static_runtimes=yes
   10972       ;;
   10973 
   10974     darwin* | rhapsody*)
   10975 
   10976 
   10977   archive_cmds_need_lc=no
   10978   hardcode_direct=no
   10979   hardcode_automatic=yes
   10980   hardcode_shlibpath_var=unsupported
   10981   if test "$lt_cv_ld_force_load" = "yes"; then
   10982     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\"`'
   10983   else
   10984     whole_archive_flag_spec=''
   10985   fi
   10986   link_all_deplibs=yes
   10987   allow_undefined_flag="$_lt_dar_allow_undefined"
   10988   case $cc_basename in
   10989      ifort*) _lt_dar_can_shared=yes ;;
   10990      *) _lt_dar_can_shared=$GCC ;;
   10991   esac
   10992   if test "$_lt_dar_can_shared" = "yes"; then
   10993     output_verbose_link_cmd=func_echo_all
   10994     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   10995     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   10996     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}"
   10997     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}"
   10998 
   10999   else
   11000   ld_shlibs=no
   11001   fi
   11002 
   11003       ;;
   11004 
   11005     dgux*)
   11006       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11007       hardcode_libdir_flag_spec='-L$libdir'
   11008       hardcode_shlibpath_var=no
   11009       ;;
   11010 
   11011     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   11012     # support.  Future versions do this automatically, but an explicit c++rt0.o
   11013     # does not break anything, and helps significantly (at the cost of a little
   11014     # extra space).
   11015     freebsd2.2*)
   11016       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   11017       hardcode_libdir_flag_spec='-R$libdir'
   11018       hardcode_direct=yes
   11019       hardcode_shlibpath_var=no
   11020       ;;
   11021 
   11022     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   11023     freebsd2.*)
   11024       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11025       hardcode_direct=yes
   11026       hardcode_minus_L=yes
   11027       hardcode_shlibpath_var=no
   11028       ;;
   11029 
   11030     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   11031     freebsd* | dragonfly*)
   11032       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   11033       hardcode_libdir_flag_spec='-R$libdir'
   11034       hardcode_direct=yes
   11035       hardcode_shlibpath_var=no
   11036       ;;
   11037 
   11038     hpux9*)
   11039       if test "$GCC" = yes; then
   11040 	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'
   11041       else
   11042 	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'
   11043       fi
   11044       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   11045       hardcode_libdir_separator=:
   11046       hardcode_direct=yes
   11047 
   11048       # hardcode_minus_L: Not really in the search PATH,
   11049       # but as the default location of the library.
   11050       hardcode_minus_L=yes
   11051       export_dynamic_flag_spec='${wl}-E'
   11052       ;;
   11053 
   11054     hpux10*)
   11055       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   11056 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11057       else
   11058 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11059       fi
   11060       if test "$with_gnu_ld" = no; then
   11061 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   11062 	hardcode_libdir_flag_spec_ld='+b $libdir'
   11063 	hardcode_libdir_separator=:
   11064 	hardcode_direct=yes
   11065 	hardcode_direct_absolute=yes
   11066 	export_dynamic_flag_spec='${wl}-E'
   11067 	# hardcode_minus_L: Not really in the search PATH,
   11068 	# but as the default location of the library.
   11069 	hardcode_minus_L=yes
   11070       fi
   11071       ;;
   11072 
   11073     hpux11*)
   11074       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   11075 	case $host_cpu in
   11076 	hppa*64*)
   11077 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11078 	  ;;
   11079 	ia64*)
   11080 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11081 	  ;;
   11082 	*)
   11083 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11084 	  ;;
   11085 	esac
   11086       else
   11087 	case $host_cpu in
   11088 	hppa*64*)
   11089 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11090 	  ;;
   11091 	ia64*)
   11092 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11093 	  ;;
   11094 	*)
   11095 
   11096 	  # Older versions of the 11.00 compiler do not understand -b yet
   11097 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   11098 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   11099 $as_echo_n "checking if $CC understands -b... " >&6; }
   11100 if ${lt_cv_prog_compiler__b+:} false; then :
   11101   $as_echo_n "(cached) " >&6
   11102 else
   11103   lt_cv_prog_compiler__b=no
   11104    save_LDFLAGS="$LDFLAGS"
   11105    LDFLAGS="$LDFLAGS -b"
   11106    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11107    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11108      # The linker can only warn and ignore the option if not recognized
   11109      # So say no if there are warnings
   11110      if test -s conftest.err; then
   11111        # Append any errors to the config.log.
   11112        cat conftest.err 1>&5
   11113        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   11114        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11115        if diff conftest.exp conftest.er2 >/dev/null; then
   11116          lt_cv_prog_compiler__b=yes
   11117        fi
   11118      else
   11119        lt_cv_prog_compiler__b=yes
   11120      fi
   11121    fi
   11122    $RM -r conftest*
   11123    LDFLAGS="$save_LDFLAGS"
   11124 
   11125 fi
   11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11127 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   11128 
   11129 if test x"$lt_cv_prog_compiler__b" = xyes; then
   11130     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11131 else
   11132     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11133 fi
   11134 
   11135 	  ;;
   11136 	esac
   11137       fi
   11138       if test "$with_gnu_ld" = no; then
   11139 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   11140 	hardcode_libdir_separator=:
   11141 
   11142 	case $host_cpu in
   11143 	hppa*64*|ia64*)
   11144 	  hardcode_direct=no
   11145 	  hardcode_shlibpath_var=no
   11146 	  ;;
   11147 	*)
   11148 	  hardcode_direct=yes
   11149 	  hardcode_direct_absolute=yes
   11150 	  export_dynamic_flag_spec='${wl}-E'
   11151 
   11152 	  # hardcode_minus_L: Not really in the search PATH,
   11153 	  # but as the default location of the library.
   11154 	  hardcode_minus_L=yes
   11155 	  ;;
   11156 	esac
   11157       fi
   11158       ;;
   11159 
   11160     irix5* | irix6* | nonstopux*)
   11161       if test "$GCC" = yes; then
   11162 	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'
   11163 	# Try to use the -exported_symbol ld option, if it does not
   11164 	# work, assume that -exports_file does not work either and
   11165 	# implicitly export all symbols.
   11166         save_LDFLAGS="$LDFLAGS"
   11167         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   11168         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11169 /* end confdefs.h.  */
   11170 int foo(void) {}
   11171 _ACEOF
   11172 if ac_fn_c_try_link "$LINENO"; then :
   11173   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'
   11174 
   11175 fi
   11176 rm -f core conftest.err conftest.$ac_objext \
   11177     conftest$ac_exeext conftest.$ac_ext
   11178         LDFLAGS="$save_LDFLAGS"
   11179       else
   11180 	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'
   11181 	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'
   11182       fi
   11183       archive_cmds_need_lc='no'
   11184       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   11185       hardcode_libdir_separator=:
   11186       inherit_rpath=yes
   11187       link_all_deplibs=yes
   11188       ;;
   11189 
   11190     netbsd*)
   11191       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11192 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11193       else
   11194 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11195       fi
   11196       hardcode_libdir_flag_spec='-R$libdir'
   11197       hardcode_direct=yes
   11198       hardcode_shlibpath_var=no
   11199       ;;
   11200 
   11201     newsos6)
   11202       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11203       hardcode_direct=yes
   11204       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   11205       hardcode_libdir_separator=:
   11206       hardcode_shlibpath_var=no
   11207       ;;
   11208 
   11209     *nto* | *qnx*)
   11210       ;;
   11211 
   11212     openbsd*)
   11213       if test -f /usr/libexec/ld.so; then
   11214 	hardcode_direct=yes
   11215 	hardcode_shlibpath_var=no
   11216 	hardcode_direct_absolute=yes
   11217 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11218 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11219 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   11220 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   11221 	  export_dynamic_flag_spec='${wl}-E'
   11222 	else
   11223 	  case $host_os in
   11224 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   11225 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11226 	     hardcode_libdir_flag_spec='-R$libdir'
   11227 	     ;;
   11228 	   *)
   11229 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11230 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   11231 	     ;;
   11232 	  esac
   11233 	fi
   11234       else
   11235 	ld_shlibs=no
   11236       fi
   11237       ;;
   11238 
   11239     os2*)
   11240       hardcode_libdir_flag_spec='-L$libdir'
   11241       hardcode_minus_L=yes
   11242       allow_undefined_flag=unsupported
   11243       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'
   11244       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   11245       ;;
   11246 
   11247     osf3*)
   11248       if test "$GCC" = yes; then
   11249 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   11250 	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'
   11251       else
   11252 	allow_undefined_flag=' -expect_unresolved \*'
   11253 	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'
   11254       fi
   11255       archive_cmds_need_lc='no'
   11256       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   11257       hardcode_libdir_separator=:
   11258       ;;
   11259 
   11260     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11261       if test "$GCC" = yes; then
   11262 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   11263 	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'
   11264 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   11265       else
   11266 	allow_undefined_flag=' -expect_unresolved \*'
   11267 	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'
   11268 	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~
   11269 	$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'
   11270 
   11271 	# Both c and cxx compiler support -rpath directly
   11272 	hardcode_libdir_flag_spec='-rpath $libdir'
   11273       fi
   11274       archive_cmds_need_lc='no'
   11275       hardcode_libdir_separator=:
   11276       ;;
   11277 
   11278     solaris*)
   11279       no_undefined_flag=' -z defs'
   11280       if test "$GCC" = yes; then
   11281 	wlarc='${wl}'
   11282 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11283 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11284 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11285       else
   11286 	case `$CC -V 2>&1` in
   11287 	*"Compilers 5.0"*)
   11288 	  wlarc=''
   11289 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11290 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11291 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11292 	  ;;
   11293 	*)
   11294 	  wlarc='${wl}'
   11295 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11296 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11297 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11298 	  ;;
   11299 	esac
   11300       fi
   11301       hardcode_libdir_flag_spec='-R$libdir'
   11302       hardcode_shlibpath_var=no
   11303       case $host_os in
   11304       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11305       *)
   11306 	# The compiler driver will combine and reorder linker options,
   11307 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   11308 	# but is careful enough not to reorder.
   11309 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11310 	if test "$GCC" = yes; then
   11311 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   11312 	else
   11313 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11314 	fi
   11315 	;;
   11316       esac
   11317       link_all_deplibs=yes
   11318       ;;
   11319 
   11320     sunos4*)
   11321       if test "x$host_vendor" = xsequent; then
   11322 	# Use $CC to link under sequent, because it throws in some extra .o
   11323 	# files that make .init and .fini sections work.
   11324 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11325       else
   11326 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11327       fi
   11328       hardcode_libdir_flag_spec='-L$libdir'
   11329       hardcode_direct=yes
   11330       hardcode_minus_L=yes
   11331       hardcode_shlibpath_var=no
   11332       ;;
   11333 
   11334     sysv4)
   11335       case $host_vendor in
   11336 	sni)
   11337 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11338 	  hardcode_direct=yes # is this really true???
   11339 	;;
   11340 	siemens)
   11341 	  ## LD is ld it makes a PLAMLIB
   11342 	  ## CC just makes a GrossModule.
   11343 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11344 	  reload_cmds='$CC -r -o $output$reload_objs'
   11345 	  hardcode_direct=no
   11346         ;;
   11347 	motorola)
   11348 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11349 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11350 	;;
   11351       esac
   11352       runpath_var='LD_RUN_PATH'
   11353       hardcode_shlibpath_var=no
   11354       ;;
   11355 
   11356     sysv4.3*)
   11357       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11358       hardcode_shlibpath_var=no
   11359       export_dynamic_flag_spec='-Bexport'
   11360       ;;
   11361 
   11362     sysv4*MP*)
   11363       if test -d /usr/nec; then
   11364 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11365 	hardcode_shlibpath_var=no
   11366 	runpath_var=LD_RUN_PATH
   11367 	hardcode_runpath_var=yes
   11368 	ld_shlibs=yes
   11369       fi
   11370       ;;
   11371 
   11372     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11373       no_undefined_flag='${wl}-z,text'
   11374       archive_cmds_need_lc=no
   11375       hardcode_shlibpath_var=no
   11376       runpath_var='LD_RUN_PATH'
   11377 
   11378       if test "$GCC" = yes; then
   11379 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11380 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11381       else
   11382 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11383 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11384       fi
   11385       ;;
   11386 
   11387     sysv5* | sco3.2v5* | sco5v6*)
   11388       # Note: We can NOT use -z defs as we might desire, because we do not
   11389       # link with -lc, and that would cause any symbols used from libc to
   11390       # always be unresolved, which means just about no library would
   11391       # ever link correctly.  If we're not using GNU ld we use -z text
   11392       # though, which does catch some bad symbols but isn't as heavy-handed
   11393       # as -z defs.
   11394       no_undefined_flag='${wl}-z,text'
   11395       allow_undefined_flag='${wl}-z,nodefs'
   11396       archive_cmds_need_lc=no
   11397       hardcode_shlibpath_var=no
   11398       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   11399       hardcode_libdir_separator=':'
   11400       link_all_deplibs=yes
   11401       export_dynamic_flag_spec='${wl}-Bexport'
   11402       runpath_var='LD_RUN_PATH'
   11403 
   11404       if test "$GCC" = yes; then
   11405 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11406 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11407       else
   11408 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11409 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11410       fi
   11411       ;;
   11412 
   11413     uts4*)
   11414       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11415       hardcode_libdir_flag_spec='-L$libdir'
   11416       hardcode_shlibpath_var=no
   11417       ;;
   11418 
   11419     *)
   11420       ld_shlibs=no
   11421       ;;
   11422     esac
   11423 
   11424     if test x$host_vendor = xsni; then
   11425       case $host in
   11426       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11427 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   11428 	;;
   11429       esac
   11430     fi
   11431   fi
   11432 
   11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11434 $as_echo "$ld_shlibs" >&6; }
   11435 test "$ld_shlibs" = no && can_build_shared=no
   11436 
   11437 with_gnu_ld=$with_gnu_ld
   11438 
   11439 
   11440 
   11441 
   11442 
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 
   11451 
   11452 
   11453 #
   11454 # Do we need to explicitly link libc?
   11455 #
   11456 case "x$archive_cmds_need_lc" in
   11457 x|xyes)
   11458   # Assume -lc should be added
   11459   archive_cmds_need_lc=yes
   11460 
   11461   if test "$enable_shared" = yes && test "$GCC" = yes; then
   11462     case $archive_cmds in
   11463     *'~'*)
   11464       # FIXME: we may have to deal with multi-command sequences.
   11465       ;;
   11466     '$CC '*)
   11467       # Test whether the compiler implicitly links with -lc since on some
   11468       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11469       # to ld, don't add -lc before -lgcc.
   11470       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11471 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   11472 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   11473   $as_echo_n "(cached) " >&6
   11474 else
   11475   $RM conftest*
   11476 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11477 
   11478 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11479   (eval $ac_compile) 2>&5
   11480   ac_status=$?
   11481   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11482   test $ac_status = 0; } 2>conftest.err; then
   11483 	  soname=conftest
   11484 	  lib=conftest
   11485 	  libobjs=conftest.$ac_objext
   11486 	  deplibs=
   11487 	  wl=$lt_prog_compiler_wl
   11488 	  pic_flag=$lt_prog_compiler_pic
   11489 	  compiler_flags=-v
   11490 	  linker_flags=-v
   11491 	  verstring=
   11492 	  output_objdir=.
   11493 	  libname=conftest
   11494 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11495 	  allow_undefined_flag=
   11496 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11497   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11498   ac_status=$?
   11499   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11500   test $ac_status = 0; }
   11501 	  then
   11502 	    lt_cv_archive_cmds_need_lc=no
   11503 	  else
   11504 	    lt_cv_archive_cmds_need_lc=yes
   11505 	  fi
   11506 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11507 	else
   11508 	  cat conftest.err 1>&5
   11509 	fi
   11510 	$RM conftest*
   11511 
   11512 fi
   11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11514 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   11515       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11516       ;;
   11517     esac
   11518   fi
   11519   ;;
   11520 esac
   11521 
   11522 
   11523 
   11524 
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 
   11531 
   11532 
   11533 
   11534 
   11535 
   11536 
   11537 
   11538 
   11539 
   11540 
   11541 
   11542 
   11543 
   11544 
   11545 
   11546 
   11547 
   11548 
   11549 
   11550 
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 
   11560 
   11561 
   11562 
   11563 
   11564 
   11565 
   11566 
   11567 
   11568 
   11569 
   11570 
   11571 
   11572 
   11573 
   11574 
   11575 
   11576 
   11577 
   11578 
   11579 
   11580 
   11581 
   11582 
   11583 
   11584 
   11585 
   11586 
   11587 
   11588 
   11589 
   11590 
   11591 
   11592 
   11593 
   11594 
   11595 
   11596 
   11597 
   11598 
   11599 
   11600 
   11601 
   11602 
   11603 
   11604 
   11605 
   11606 
   11607 
   11608 
   11609 
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 
   11625 
   11626 
   11627 
   11628 
   11629 
   11630 
   11631 
   11632 
   11633 
   11634 
   11635 
   11636 
   11637 
   11638 
   11639 
   11640 
   11641 
   11642 
   11643 
   11644 
   11645 
   11646 
   11647 
   11648 
   11649 
   11650 
   11651 
   11652 
   11653 
   11654 
   11655 
   11656 
   11657 
   11658 
   11659 
   11660 
   11661 
   11662 
   11663 
   11664 
   11665 
   11666 
   11667 
   11668 
   11669 
   11670 
   11671 
   11672 
   11673 
   11674 
   11675 
   11676 
   11677 
   11678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11679 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   11680 
   11681 if test "$GCC" = yes; then
   11682   case $host_os in
   11683     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   11684     *) lt_awk_arg="/^libraries:/" ;;
   11685   esac
   11686   case $host_os in
   11687     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   11688     *) lt_sed_strip_eq="s,=/,/,g" ;;
   11689   esac
   11690   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11691   case $lt_search_path_spec in
   11692   *\;*)
   11693     # if the path contains ";" then we assume it to be the separator
   11694     # otherwise default to the standard path separator (i.e. ":") - it is
   11695     # assumed that no part of a normal pathname contains ";" but that should
   11696     # okay in the real world where ";" in dirpaths is itself problematic.
   11697     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11698     ;;
   11699   *)
   11700     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11701     ;;
   11702   esac
   11703   # Ok, now we have the path, separated by spaces, we can step through it
   11704   # and add multilib dir if necessary.
   11705   lt_tmp_lt_search_path_spec=
   11706   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11707   for lt_sys_path in $lt_search_path_spec; do
   11708     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   11709       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   11710     else
   11711       test -d "$lt_sys_path" && \
   11712 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11713     fi
   11714   done
   11715   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11716 BEGIN {RS=" "; FS="/|\n";} {
   11717   lt_foo="";
   11718   lt_count=0;
   11719   for (lt_i = NF; lt_i > 0; lt_i--) {
   11720     if ($lt_i != "" && $lt_i != ".") {
   11721       if ($lt_i == "..") {
   11722         lt_count++;
   11723       } else {
   11724         if (lt_count == 0) {
   11725           lt_foo="/" $lt_i lt_foo;
   11726         } else {
   11727           lt_count--;
   11728         }
   11729       }
   11730     }
   11731   }
   11732   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11733   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11734 }'`
   11735   # AWK program above erroneously prepends '/' to C:/dos/paths
   11736   # for these hosts.
   11737   case $host_os in
   11738     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11739       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   11740   esac
   11741   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11742 else
   11743   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11744 fi
   11745 library_names_spec=
   11746 libname_spec='lib$name'
   11747 soname_spec=
   11748 shrext_cmds=".so"
   11749 postinstall_cmds=
   11750 postuninstall_cmds=
   11751 finish_cmds=
   11752 finish_eval=
   11753 shlibpath_var=
   11754 shlibpath_overrides_runpath=unknown
   11755 version_type=none
   11756 dynamic_linker="$host_os ld.so"
   11757 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11758 need_lib_prefix=unknown
   11759 hardcode_into_libs=no
   11760 
   11761 # when you set need_version to no, make sure it does not cause -set_version
   11762 # flags to be left without arguments
   11763 need_version=unknown
   11764 
   11765 case $host_os in
   11766 aix3*)
   11767   version_type=linux
   11768   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   11769   shlibpath_var=LIBPATH
   11770 
   11771   # AIX 3 has no versioning support, so we append a major version to the name.
   11772   soname_spec='${libname}${release}${shared_ext}$major'
   11773   ;;
   11774 
   11775 aix[4-9]*)
   11776   version_type=linux
   11777   need_lib_prefix=no
   11778   need_version=no
   11779   hardcode_into_libs=yes
   11780   if test "$host_cpu" = ia64; then
   11781     # AIX 5 supports IA64
   11782     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   11783     shlibpath_var=LD_LIBRARY_PATH
   11784   else
   11785     # With GCC up to 2.95.x, collect2 would create an import file
   11786     # for dependence libraries.  The import file would start with
   11787     # the line `#! .'.  This would cause the generated library to
   11788     # depend on `.', always an invalid library.  This was fixed in
   11789     # development snapshots of GCC prior to 3.0.
   11790     case $host_os in
   11791       aix4 | aix4.[01] | aix4.[01].*)
   11792       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11793 	   echo ' yes '
   11794 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   11795 	:
   11796       else
   11797 	can_build_shared=no
   11798       fi
   11799       ;;
   11800     esac
   11801     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   11802     # soname into executable. Probably we can add versioning support to
   11803     # collect2, so additional links can be useful in future.
   11804     if test "$aix_use_runtimelinking" = yes; then
   11805       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11806       # instead of lib<name>.a to let people know that these are not
   11807       # typical AIX shared libraries.
   11808       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11809     else
   11810       # We preserve .a as extension for shared libraries through AIX4.2
   11811       # and later when we are not doing run time linking.
   11812       library_names_spec='${libname}${release}.a $libname.a'
   11813       soname_spec='${libname}${release}${shared_ext}$major'
   11814     fi
   11815     shlibpath_var=LIBPATH
   11816   fi
   11817   ;;
   11818 
   11819 amigaos*)
   11820   case $host_cpu in
   11821   powerpc)
   11822     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11823     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11824     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11825     ;;
   11826   m68k)
   11827     library_names_spec='$libname.ixlibrary $libname.a'
   11828     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11829     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'
   11830     ;;
   11831   esac
   11832   ;;
   11833 
   11834 beos*)
   11835   library_names_spec='${libname}${shared_ext}'
   11836   dynamic_linker="$host_os ld.so"
   11837   shlibpath_var=LIBRARY_PATH
   11838   ;;
   11839 
   11840 bsdi[45]*)
   11841   version_type=linux
   11842   need_version=no
   11843   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11844   soname_spec='${libname}${release}${shared_ext}$major'
   11845   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11846   shlibpath_var=LD_LIBRARY_PATH
   11847   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11848   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11849   # the default ld.so.conf also contains /usr/contrib/lib and
   11850   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11851   # libtool to hard-code these into programs
   11852   ;;
   11853 
   11854 cygwin* | mingw* | pw32* | cegcc*)
   11855   version_type=windows
   11856   shrext_cmds=".dll"
   11857   need_version=no
   11858   need_lib_prefix=no
   11859 
   11860   case $GCC,$host_os in
   11861   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   11862     library_names_spec='$libname.dll.a'
   11863     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11864     postinstall_cmds='base_file=`basename \${file}`~
   11865       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   11866       dldir=$destdir/`dirname \$dlpath`~
   11867       test -d \$dldir || mkdir -p \$dldir~
   11868       $install_prog $dir/$dlname \$dldir/$dlname~
   11869       chmod a+x \$dldir/$dlname~
   11870       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11871         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11872       fi'
   11873     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11874       dlpath=$dir/\$dldll~
   11875        $RM \$dlpath'
   11876     shlibpath_overrides_runpath=yes
   11877 
   11878     case $host_os in
   11879     cygwin*)
   11880       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11881       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11882 
   11883       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11884       ;;
   11885     mingw* | cegcc*)
   11886       # MinGW DLLs use traditional 'lib' prefix
   11887       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11888       ;;
   11889     pw32*)
   11890       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11891       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11892       ;;
   11893     esac
   11894     ;;
   11895 
   11896   *)
   11897     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   11898     ;;
   11899   esac
   11900   dynamic_linker='Win32 ld.exe'
   11901   # FIXME: first we should search . and the directory the executable is in
   11902   shlibpath_var=PATH
   11903   ;;
   11904 
   11905 darwin* | rhapsody*)
   11906   dynamic_linker="$host_os dyld"
   11907   version_type=darwin
   11908   need_lib_prefix=no
   11909   need_version=no
   11910   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   11911   soname_spec='${libname}${release}${major}$shared_ext'
   11912   shlibpath_overrides_runpath=yes
   11913   shlibpath_var=DYLD_LIBRARY_PATH
   11914   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11915 
   11916   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11917   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11918   ;;
   11919 
   11920 dgux*)
   11921   version_type=linux
   11922   need_lib_prefix=no
   11923   need_version=no
   11924   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   11925   soname_spec='${libname}${release}${shared_ext}$major'
   11926   shlibpath_var=LD_LIBRARY_PATH
   11927   ;;
   11928 
   11929 freebsd* | dragonfly*)
   11930   # DragonFly does not have aout.  When/if they implement a new
   11931   # versioning mechanism, adjust this.
   11932   if test -x /usr/bin/objformat; then
   11933     objformat=`/usr/bin/objformat`
   11934   else
   11935     case $host_os in
   11936     freebsd[23].*) objformat=aout ;;
   11937     *) objformat=elf ;;
   11938     esac
   11939   fi
   11940   version_type=freebsd-$objformat
   11941   case $version_type in
   11942     freebsd-elf*)
   11943       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11944       need_version=no
   11945       need_lib_prefix=no
   11946       ;;
   11947     freebsd-*)
   11948       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   11949       need_version=yes
   11950       ;;
   11951   esac
   11952   shlibpath_var=LD_LIBRARY_PATH
   11953   case $host_os in
   11954   freebsd2.*)
   11955     shlibpath_overrides_runpath=yes
   11956     ;;
   11957   freebsd3.[01]* | freebsdelf3.[01]*)
   11958     shlibpath_overrides_runpath=yes
   11959     hardcode_into_libs=yes
   11960     ;;
   11961   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11962   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11963     shlibpath_overrides_runpath=no
   11964     hardcode_into_libs=yes
   11965     ;;
   11966   *) # from 4.6 on, and DragonFly
   11967     shlibpath_overrides_runpath=yes
   11968     hardcode_into_libs=yes
   11969     ;;
   11970   esac
   11971   ;;
   11972 
   11973 haiku*)
   11974   version_type=linux
   11975   need_lib_prefix=no
   11976   need_version=no
   11977   dynamic_linker="$host_os runtime_loader"
   11978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   11979   soname_spec='${libname}${release}${shared_ext}$major'
   11980   shlibpath_var=LIBRARY_PATH
   11981   shlibpath_overrides_runpath=yes
   11982   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11983   hardcode_into_libs=yes
   11984   ;;
   11985 
   11986 hpux9* | hpux10* | hpux11*)
   11987   # Give a soname corresponding to the major version so that dld.sl refuses to
   11988   # link against other versions.
   11989   version_type=sunos
   11990   need_lib_prefix=no
   11991   need_version=no
   11992   case $host_cpu in
   11993   ia64*)
   11994     shrext_cmds='.so'
   11995     hardcode_into_libs=yes
   11996     dynamic_linker="$host_os dld.so"
   11997     shlibpath_var=LD_LIBRARY_PATH
   11998     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11999     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12000     soname_spec='${libname}${release}${shared_ext}$major'
   12001     if test "X$HPUX_IA64_MODE" = X32; then
   12002       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12003     else
   12004       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12005     fi
   12006     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12007     ;;
   12008   hppa*64*)
   12009     shrext_cmds='.sl'
   12010     hardcode_into_libs=yes
   12011     dynamic_linker="$host_os dld.sl"
   12012     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12013     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12014     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12015     soname_spec='${libname}${release}${shared_ext}$major'
   12016     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12017     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12018     ;;
   12019   *)
   12020     shrext_cmds='.sl'
   12021     dynamic_linker="$host_os dld.sl"
   12022     shlibpath_var=SHLIB_PATH
   12023     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12024     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12025     soname_spec='${libname}${release}${shared_ext}$major'
   12026     ;;
   12027   esac
   12028   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12029   postinstall_cmds='chmod 555 $lib'
   12030   # or fails outright, so override atomically:
   12031   install_override_mode=555
   12032   ;;
   12033 
   12034 interix[3-9]*)
   12035   version_type=linux
   12036   need_lib_prefix=no
   12037   need_version=no
   12038   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12039   soname_spec='${libname}${release}${shared_ext}$major'
   12040   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12041   shlibpath_var=LD_LIBRARY_PATH
   12042   shlibpath_overrides_runpath=no
   12043   hardcode_into_libs=yes
   12044   ;;
   12045 
   12046 irix5* | irix6* | nonstopux*)
   12047   case $host_os in
   12048     nonstopux*) version_type=nonstopux ;;
   12049     *)
   12050 	if test "$lt_cv_prog_gnu_ld" = yes; then
   12051 		version_type=linux
   12052 	else
   12053 		version_type=irix
   12054 	fi ;;
   12055   esac
   12056   need_lib_prefix=no
   12057   need_version=no
   12058   soname_spec='${libname}${release}${shared_ext}$major'
   12059   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   12060   case $host_os in
   12061   irix5* | nonstopux*)
   12062     libsuff= shlibsuff=
   12063     ;;
   12064   *)
   12065     case $LD in # libtool.m4 will add one of these switches to LD
   12066     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12067       libsuff= shlibsuff= libmagic=32-bit;;
   12068     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12069       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12070     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12071       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12072     *) libsuff= shlibsuff= libmagic=never-match;;
   12073     esac
   12074     ;;
   12075   esac
   12076   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12077   shlibpath_overrides_runpath=no
   12078   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   12079   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   12080   hardcode_into_libs=yes
   12081   ;;
   12082 
   12083 # No shared lib support for Linux oldld, aout, or coff.
   12084 linux*oldld* | linux*aout* | linux*coff*)
   12085   dynamic_linker=no
   12086   ;;
   12087 
   12088 # This must be Linux ELF.
   12089 
   12090 # uclinux* changes (here and below) have been submitted to the libtool
   12091 # project, but have not yet been accepted: they are GCC-local changes
   12092 # for the time being.  (See
   12093 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   12094 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   12095   version_type=linux
   12096   need_lib_prefix=no
   12097   need_version=no
   12098   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12099   soname_spec='${libname}${release}${shared_ext}$major'
   12100   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12101   shlibpath_var=LD_LIBRARY_PATH
   12102   shlibpath_overrides_runpath=no
   12103 
   12104   # Some binutils ld are patched to set DT_RUNPATH
   12105   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   12106   $as_echo_n "(cached) " >&6
   12107 else
   12108   lt_cv_shlibpath_overrides_runpath=no
   12109     save_LDFLAGS=$LDFLAGS
   12110     save_libdir=$libdir
   12111     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12112 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12113     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12114 /* end confdefs.h.  */
   12115 
   12116 int
   12117 main ()
   12118 {
   12119 
   12120   ;
   12121   return 0;
   12122 }
   12123 _ACEOF
   12124 if ac_fn_c_try_link "$LINENO"; then :
   12125   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   12126   lt_cv_shlibpath_overrides_runpath=yes
   12127 fi
   12128 fi
   12129 rm -f core conftest.err conftest.$ac_objext \
   12130     conftest$ac_exeext conftest.$ac_ext
   12131     LDFLAGS=$save_LDFLAGS
   12132     libdir=$save_libdir
   12133 
   12134 fi
   12135 
   12136   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12137 
   12138   # This implies no fast_install, which is unacceptable.
   12139   # Some rework will be needed to allow for fast_install
   12140   # before this can be enabled.
   12141   hardcode_into_libs=yes
   12142 
   12143   # Append ld.so.conf contents to the search path
   12144   if test -f /etc/ld.so.conf; then
   12145     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' ' '`
   12146     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12147   fi
   12148 
   12149   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12150   # powerpc, because MkLinux only supported shared libraries with the
   12151   # GNU dynamic linker.  Since this was broken with cross compilers,
   12152   # most powerpc-linux boxes support dynamic linking these days and
   12153   # people can always --disable-shared, the test was removed, and we
   12154   # assume the GNU/Linux dynamic linker is in use.
   12155   dynamic_linker='GNU/Linux ld.so'
   12156   ;;
   12157 
   12158 netbsd*)
   12159   version_type=sunos
   12160   need_lib_prefix=no
   12161   need_version=no
   12162   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12163     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12164     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12165     dynamic_linker='NetBSD (a.out) ld.so'
   12166   else
   12167     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12168     soname_spec='${libname}${release}${shared_ext}$major'
   12169     dynamic_linker='NetBSD ld.elf_so'
   12170   fi
   12171   shlibpath_var=LD_LIBRARY_PATH
   12172   shlibpath_overrides_runpath=yes
   12173   hardcode_into_libs=yes
   12174   ;;
   12175 
   12176 newsos6)
   12177   version_type=linux
   12178   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12179   shlibpath_var=LD_LIBRARY_PATH
   12180   shlibpath_overrides_runpath=yes
   12181   ;;
   12182 
   12183 *nto* | *qnx*)
   12184   version_type=qnx
   12185   need_lib_prefix=no
   12186   need_version=no
   12187   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12188   soname_spec='${libname}${release}${shared_ext}$major'
   12189   shlibpath_var=LD_LIBRARY_PATH
   12190   shlibpath_overrides_runpath=no
   12191   hardcode_into_libs=yes
   12192   dynamic_linker='ldqnx.so'
   12193   ;;
   12194 
   12195 openbsd*)
   12196   version_type=sunos
   12197   sys_lib_dlsearch_path_spec="/usr/lib"
   12198   need_lib_prefix=no
   12199   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   12200   case $host_os in
   12201     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   12202     *)				need_version=no  ;;
   12203   esac
   12204   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12205   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12206   shlibpath_var=LD_LIBRARY_PATH
   12207   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12208     case $host_os in
   12209       openbsd2.[89] | openbsd2.[89].*)
   12210 	shlibpath_overrides_runpath=no
   12211 	;;
   12212       *)
   12213 	shlibpath_overrides_runpath=yes
   12214 	;;
   12215       esac
   12216   else
   12217     shlibpath_overrides_runpath=yes
   12218   fi
   12219   ;;
   12220 
   12221 os2*)
   12222   libname_spec='$name'
   12223   shrext_cmds=".dll"
   12224   need_lib_prefix=no
   12225   library_names_spec='$libname${shared_ext} $libname.a'
   12226   dynamic_linker='OS/2 ld.exe'
   12227   shlibpath_var=LIBPATH
   12228   ;;
   12229 
   12230 osf3* | osf4* | osf5*)
   12231   version_type=osf
   12232   need_lib_prefix=no
   12233   need_version=no
   12234   soname_spec='${libname}${release}${shared_ext}$major'
   12235   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12236   shlibpath_var=LD_LIBRARY_PATH
   12237   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12238   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   12239   ;;
   12240 
   12241 rdos*)
   12242   dynamic_linker=no
   12243   ;;
   12244 
   12245 solaris*)
   12246   version_type=linux
   12247   need_lib_prefix=no
   12248   need_version=no
   12249   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12250   soname_spec='${libname}${release}${shared_ext}$major'
   12251   shlibpath_var=LD_LIBRARY_PATH
   12252   shlibpath_overrides_runpath=yes
   12253   hardcode_into_libs=yes
   12254   # ldd complains unless libraries are executable
   12255   postinstall_cmds='chmod +x $lib'
   12256   ;;
   12257 
   12258 sunos4*)
   12259   version_type=sunos
   12260   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12261   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12262   shlibpath_var=LD_LIBRARY_PATH
   12263   shlibpath_overrides_runpath=yes
   12264   if test "$with_gnu_ld" = yes; then
   12265     need_lib_prefix=no
   12266   fi
   12267   need_version=yes
   12268   ;;
   12269 
   12270 sysv4 | sysv4.3*)
   12271   version_type=linux
   12272   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12273   soname_spec='${libname}${release}${shared_ext}$major'
   12274   shlibpath_var=LD_LIBRARY_PATH
   12275   case $host_vendor in
   12276     sni)
   12277       shlibpath_overrides_runpath=no
   12278       need_lib_prefix=no
   12279       runpath_var=LD_RUN_PATH
   12280       ;;
   12281     siemens)
   12282       need_lib_prefix=no
   12283       ;;
   12284     motorola)
   12285       need_lib_prefix=no
   12286       need_version=no
   12287       shlibpath_overrides_runpath=no
   12288       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12289       ;;
   12290   esac
   12291   ;;
   12292 
   12293 sysv4*MP*)
   12294   if test -d /usr/nec ;then
   12295     version_type=linux
   12296     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   12297     soname_spec='$libname${shared_ext}.$major'
   12298     shlibpath_var=LD_LIBRARY_PATH
   12299   fi
   12300   ;;
   12301 
   12302 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12303   version_type=freebsd-elf
   12304   need_lib_prefix=no
   12305   need_version=no
   12306   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12307   soname_spec='${libname}${release}${shared_ext}$major'
   12308   shlibpath_var=LD_LIBRARY_PATH
   12309   shlibpath_overrides_runpath=yes
   12310   hardcode_into_libs=yes
   12311   if test "$with_gnu_ld" = yes; then
   12312     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12313   else
   12314     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12315     case $host_os in
   12316       sco3.2v5*)
   12317         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12318 	;;
   12319     esac
   12320   fi
   12321   sys_lib_dlsearch_path_spec='/usr/lib'
   12322   ;;
   12323 
   12324 tpf*)
   12325   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12326   version_type=linux
   12327   need_lib_prefix=no
   12328   need_version=no
   12329   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12330   shlibpath_var=LD_LIBRARY_PATH
   12331   shlibpath_overrides_runpath=no
   12332   hardcode_into_libs=yes
   12333   ;;
   12334 
   12335 uts4*)
   12336   version_type=linux
   12337   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12338   soname_spec='${libname}${release}${shared_ext}$major'
   12339   shlibpath_var=LD_LIBRARY_PATH
   12340   ;;
   12341 
   12342 # Shared libraries for VwWorks, >= 7 only at this stage
   12343 # and (fpic) still incompatible with "large" code models
   12344 # in a few configurations. Only for RTP mode in any case,
   12345 # and upon explicit request at configure time.
   12346 vxworks7*)
   12347   dynamic_linker=no
   12348   case ${with_multisubdir}-${enable_shared} in
   12349     *large*)
   12350       ;;
   12351     *mrtp*-yes)
   12352       version_type=linux
   12353       need_lib_prefix=no
   12354       need_version=no
   12355       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12356       soname_spec='${libname}${release}${shared_ext}$major'
   12357       dynamic_linker="$host_os module_loader"
   12358       ;;
   12359   esac
   12360   ;;
   12361 *)
   12362   dynamic_linker=no
   12363   ;;
   12364 esac
   12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12366 $as_echo "$dynamic_linker" >&6; }
   12367 test "$dynamic_linker" = no && can_build_shared=no
   12368 
   12369 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12370 if test "$GCC" = yes; then
   12371   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12372 fi
   12373 
   12374 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   12375   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   12376 fi
   12377 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   12378   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   12379 fi
   12380 
   12381 
   12382 
   12383 
   12384 
   12385 
   12386 
   12387 
   12388 
   12389 
   12390 
   12391 
   12392 
   12393 
   12394 
   12395 
   12396 
   12397 
   12398 
   12399 
   12400 
   12401 
   12402 
   12403 
   12404 
   12405 
   12406 
   12407 
   12408 
   12409 
   12410 
   12411 
   12412 
   12413 
   12414 
   12415 
   12416 
   12417 
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 
   12424 
   12425 
   12426 
   12427 
   12428 
   12429 
   12430 
   12431 
   12432 
   12433 
   12434 
   12435 
   12436 
   12437 
   12438 
   12439 
   12440 
   12441 
   12442 
   12443 
   12444 
   12445 
   12446 
   12447 
   12448 
   12449 
   12450 
   12451 
   12452 
   12453 
   12454 
   12455 
   12456 
   12457 
   12458 
   12459 
   12460 
   12461 
   12462 
   12463 
   12464 
   12465 
   12466 
   12467 
   12468 
   12469 
   12470 
   12471 
   12472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12473 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   12474 hardcode_action=
   12475 if test -n "$hardcode_libdir_flag_spec" ||
   12476    test -n "$runpath_var" ||
   12477    test "X$hardcode_automatic" = "Xyes" ; then
   12478 
   12479   # We can hardcode non-existent directories.
   12480   if test "$hardcode_direct" != no &&
   12481      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12482      # have to relink, otherwise we might link with an installed library
   12483      # when we should be linking with a yet-to-be-installed one
   12484      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   12485      test "$hardcode_minus_L" != no; then
   12486     # Linking always hardcodes the temporary library directory.
   12487     hardcode_action=relink
   12488   else
   12489     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12490     hardcode_action=immediate
   12491   fi
   12492 else
   12493   # We cannot hardcode anything, or else we can only hardcode existing
   12494   # directories.
   12495   hardcode_action=unsupported
   12496 fi
   12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12498 $as_echo "$hardcode_action" >&6; }
   12499 
   12500 if test "$hardcode_action" = relink ||
   12501    test "$inherit_rpath" = yes; then
   12502   # Fast installation is not supported
   12503   enable_fast_install=no
   12504 elif test "$shlibpath_overrides_runpath" = yes ||
   12505      test "$enable_shared" = no; then
   12506   # Fast installation is not necessary
   12507   enable_fast_install=needless
   12508 fi
   12509 
   12510 
   12511 
   12512 
   12513 
   12514 
   12515   if test "x$enable_dlopen" != xyes; then
   12516   enable_dlopen=unknown
   12517   enable_dlopen_self=unknown
   12518   enable_dlopen_self_static=unknown
   12519 else
   12520   lt_cv_dlopen=no
   12521   lt_cv_dlopen_libs=
   12522 
   12523   case $host_os in
   12524   beos*)
   12525     lt_cv_dlopen="load_add_on"
   12526     lt_cv_dlopen_libs=
   12527     lt_cv_dlopen_self=yes
   12528     ;;
   12529 
   12530   mingw* | pw32* | cegcc*)
   12531     lt_cv_dlopen="LoadLibrary"
   12532     lt_cv_dlopen_libs=
   12533     ;;
   12534 
   12535   cygwin*)
   12536     lt_cv_dlopen="dlopen"
   12537     lt_cv_dlopen_libs=
   12538     ;;
   12539 
   12540   darwin*)
   12541   # if libdl is installed we need to link against it
   12542     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12543 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12544 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12545   $as_echo_n "(cached) " >&6
   12546 else
   12547   ac_check_lib_save_LIBS=$LIBS
   12548 LIBS="-ldl  $LIBS"
   12549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12550 /* end confdefs.h.  */
   12551 
   12552 /* Override any GCC internal prototype to avoid an error.
   12553    Use char because int might match the return type of a GCC
   12554    builtin and then its argument prototype would still apply.  */
   12555 #ifdef __cplusplus
   12556 extern "C"
   12557 #endif
   12558 char dlopen ();
   12559 int
   12560 main ()
   12561 {
   12562 return dlopen ();
   12563   ;
   12564   return 0;
   12565 }
   12566 _ACEOF
   12567 if ac_fn_c_try_link "$LINENO"; then :
   12568   ac_cv_lib_dl_dlopen=yes
   12569 else
   12570   ac_cv_lib_dl_dlopen=no
   12571 fi
   12572 rm -f core conftest.err conftest.$ac_objext \
   12573     conftest$ac_exeext conftest.$ac_ext
   12574 LIBS=$ac_check_lib_save_LIBS
   12575 fi
   12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12577 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12578 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12579   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12580 else
   12581 
   12582     lt_cv_dlopen="dyld"
   12583     lt_cv_dlopen_libs=
   12584     lt_cv_dlopen_self=yes
   12585 
   12586 fi
   12587 
   12588     ;;
   12589 
   12590   *)
   12591     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12592 if test "x$ac_cv_func_shl_load" = xyes; then :
   12593   lt_cv_dlopen="shl_load"
   12594 else
   12595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12596 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   12597 if ${ac_cv_lib_dld_shl_load+:} false; then :
   12598   $as_echo_n "(cached) " >&6
   12599 else
   12600   ac_check_lib_save_LIBS=$LIBS
   12601 LIBS="-ldld  $LIBS"
   12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12603 /* end confdefs.h.  */
   12604 
   12605 /* Override any GCC internal prototype to avoid an error.
   12606    Use char because int might match the return type of a GCC
   12607    builtin and then its argument prototype would still apply.  */
   12608 #ifdef __cplusplus
   12609 extern "C"
   12610 #endif
   12611 char shl_load ();
   12612 int
   12613 main ()
   12614 {
   12615 return shl_load ();
   12616   ;
   12617   return 0;
   12618 }
   12619 _ACEOF
   12620 if ac_fn_c_try_link "$LINENO"; then :
   12621   ac_cv_lib_dld_shl_load=yes
   12622 else
   12623   ac_cv_lib_dld_shl_load=no
   12624 fi
   12625 rm -f core conftest.err conftest.$ac_objext \
   12626     conftest$ac_exeext conftest.$ac_ext
   12627 LIBS=$ac_check_lib_save_LIBS
   12628 fi
   12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12630 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   12631 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   12632   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   12633 else
   12634   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12635 if test "x$ac_cv_func_dlopen" = xyes; then :
   12636   lt_cv_dlopen="dlopen"
   12637 else
   12638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12639 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12640 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12641   $as_echo_n "(cached) " >&6
   12642 else
   12643   ac_check_lib_save_LIBS=$LIBS
   12644 LIBS="-ldl  $LIBS"
   12645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12646 /* end confdefs.h.  */
   12647 
   12648 /* Override any GCC internal prototype to avoid an error.
   12649    Use char because int might match the return type of a GCC
   12650    builtin and then its argument prototype would still apply.  */
   12651 #ifdef __cplusplus
   12652 extern "C"
   12653 #endif
   12654 char dlopen ();
   12655 int
   12656 main ()
   12657 {
   12658 return dlopen ();
   12659   ;
   12660   return 0;
   12661 }
   12662 _ACEOF
   12663 if ac_fn_c_try_link "$LINENO"; then :
   12664   ac_cv_lib_dl_dlopen=yes
   12665 else
   12666   ac_cv_lib_dl_dlopen=no
   12667 fi
   12668 rm -f core conftest.err conftest.$ac_objext \
   12669     conftest$ac_exeext conftest.$ac_ext
   12670 LIBS=$ac_check_lib_save_LIBS
   12671 fi
   12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12673 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12674 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12675   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12676 else
   12677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12678 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   12679 if ${ac_cv_lib_svld_dlopen+:} false; then :
   12680   $as_echo_n "(cached) " >&6
   12681 else
   12682   ac_check_lib_save_LIBS=$LIBS
   12683 LIBS="-lsvld  $LIBS"
   12684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12685 /* end confdefs.h.  */
   12686 
   12687 /* Override any GCC internal prototype to avoid an error.
   12688    Use char because int might match the return type of a GCC
   12689    builtin and then its argument prototype would still apply.  */
   12690 #ifdef __cplusplus
   12691 extern "C"
   12692 #endif
   12693 char dlopen ();
   12694 int
   12695 main ()
   12696 {
   12697 return dlopen ();
   12698   ;
   12699   return 0;
   12700 }
   12701 _ACEOF
   12702 if ac_fn_c_try_link "$LINENO"; then :
   12703   ac_cv_lib_svld_dlopen=yes
   12704 else
   12705   ac_cv_lib_svld_dlopen=no
   12706 fi
   12707 rm -f core conftest.err conftest.$ac_objext \
   12708     conftest$ac_exeext conftest.$ac_ext
   12709 LIBS=$ac_check_lib_save_LIBS
   12710 fi
   12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12712 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   12713 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   12714   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   12715 else
   12716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12717 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   12718 if ${ac_cv_lib_dld_dld_link+:} false; then :
   12719   $as_echo_n "(cached) " >&6
   12720 else
   12721   ac_check_lib_save_LIBS=$LIBS
   12722 LIBS="-ldld  $LIBS"
   12723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12724 /* end confdefs.h.  */
   12725 
   12726 /* Override any GCC internal prototype to avoid an error.
   12727    Use char because int might match the return type of a GCC
   12728    builtin and then its argument prototype would still apply.  */
   12729 #ifdef __cplusplus
   12730 extern "C"
   12731 #endif
   12732 char dld_link ();
   12733 int
   12734 main ()
   12735 {
   12736 return dld_link ();
   12737   ;
   12738   return 0;
   12739 }
   12740 _ACEOF
   12741 if ac_fn_c_try_link "$LINENO"; then :
   12742   ac_cv_lib_dld_dld_link=yes
   12743 else
   12744   ac_cv_lib_dld_dld_link=no
   12745 fi
   12746 rm -f core conftest.err conftest.$ac_objext \
   12747     conftest$ac_exeext conftest.$ac_ext
   12748 LIBS=$ac_check_lib_save_LIBS
   12749 fi
   12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12751 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   12752 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   12753   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   12754 fi
   12755 
   12756 
   12757 fi
   12758 
   12759 
   12760 fi
   12761 
   12762 
   12763 fi
   12764 
   12765 
   12766 fi
   12767 
   12768 
   12769 fi
   12770 
   12771     ;;
   12772   esac
   12773 
   12774   if test "x$lt_cv_dlopen" != xno; then
   12775     enable_dlopen=yes
   12776   else
   12777     enable_dlopen=no
   12778   fi
   12779 
   12780   case $lt_cv_dlopen in
   12781   dlopen)
   12782     save_CPPFLAGS="$CPPFLAGS"
   12783     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12784 
   12785     save_LDFLAGS="$LDFLAGS"
   12786     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12787 
   12788     save_LIBS="$LIBS"
   12789     LIBS="$lt_cv_dlopen_libs $LIBS"
   12790 
   12791     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12792 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12793 if ${lt_cv_dlopen_self+:} false; then :
   12794   $as_echo_n "(cached) " >&6
   12795 else
   12796   	  if test "$cross_compiling" = yes; then :
   12797   lt_cv_dlopen_self=cross
   12798 else
   12799   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12800   lt_status=$lt_dlunknown
   12801   cat > conftest.$ac_ext <<_LT_EOF
   12802 #line 12802 "configure"
   12803 #include "confdefs.h"
   12804 
   12805 #if HAVE_DLFCN_H
   12806 #include <dlfcn.h>
   12807 #endif
   12808 
   12809 #include <stdio.h>
   12810 
   12811 #ifdef RTLD_GLOBAL
   12812 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12813 #else
   12814 #  ifdef DL_GLOBAL
   12815 #    define LT_DLGLOBAL		DL_GLOBAL
   12816 #  else
   12817 #    define LT_DLGLOBAL		0
   12818 #  endif
   12819 #endif
   12820 
   12821 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12822    find out it does not work in some platform. */
   12823 #ifndef LT_DLLAZY_OR_NOW
   12824 #  ifdef RTLD_LAZY
   12825 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12826 #  else
   12827 #    ifdef DL_LAZY
   12828 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12829 #    else
   12830 #      ifdef RTLD_NOW
   12831 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12832 #      else
   12833 #        ifdef DL_NOW
   12834 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12835 #        else
   12836 #          define LT_DLLAZY_OR_NOW	0
   12837 #        endif
   12838 #      endif
   12839 #    endif
   12840 #  endif
   12841 #endif
   12842 
   12843 /* When -fvisbility=hidden is used, assume the code has been annotated
   12844    correspondingly for the symbols needed.  */
   12845 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12846 void fnord () __attribute__((visibility("default")));
   12847 #endif
   12848 
   12849 void fnord () { int i=42; }
   12850 int main ()
   12851 {
   12852   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12853   int status = $lt_dlunknown;
   12854 
   12855   if (self)
   12856     {
   12857       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12858       else
   12859         {
   12860 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12861           else puts (dlerror ());
   12862 	}
   12863       /* dlclose (self); */
   12864     }
   12865   else
   12866     puts (dlerror ());
   12867 
   12868   return status;
   12869 }
   12870 _LT_EOF
   12871   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12872   (eval $ac_link) 2>&5
   12873   ac_status=$?
   12874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12875   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12876     (./conftest; exit; ) >&5 2>/dev/null
   12877     lt_status=$?
   12878     case x$lt_status in
   12879       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12880       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12881       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12882     esac
   12883   else :
   12884     # compilation failed
   12885     lt_cv_dlopen_self=no
   12886   fi
   12887 fi
   12888 rm -fr conftest*
   12889 
   12890 
   12891 fi
   12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12893 $as_echo "$lt_cv_dlopen_self" >&6; }
   12894 
   12895     if test "x$lt_cv_dlopen_self" = xyes; then
   12896       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12897       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12898 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12899 if ${lt_cv_dlopen_self_static+:} false; then :
   12900   $as_echo_n "(cached) " >&6
   12901 else
   12902   	  if test "$cross_compiling" = yes; then :
   12903   lt_cv_dlopen_self_static=cross
   12904 else
   12905   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12906   lt_status=$lt_dlunknown
   12907   cat > conftest.$ac_ext <<_LT_EOF
   12908 #line 12908 "configure"
   12909 #include "confdefs.h"
   12910 
   12911 #if HAVE_DLFCN_H
   12912 #include <dlfcn.h>
   12913 #endif
   12914 
   12915 #include <stdio.h>
   12916 
   12917 #ifdef RTLD_GLOBAL
   12918 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12919 #else
   12920 #  ifdef DL_GLOBAL
   12921 #    define LT_DLGLOBAL		DL_GLOBAL
   12922 #  else
   12923 #    define LT_DLGLOBAL		0
   12924 #  endif
   12925 #endif
   12926 
   12927 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12928    find out it does not work in some platform. */
   12929 #ifndef LT_DLLAZY_OR_NOW
   12930 #  ifdef RTLD_LAZY
   12931 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12932 #  else
   12933 #    ifdef DL_LAZY
   12934 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12935 #    else
   12936 #      ifdef RTLD_NOW
   12937 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12938 #      else
   12939 #        ifdef DL_NOW
   12940 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12941 #        else
   12942 #          define LT_DLLAZY_OR_NOW	0
   12943 #        endif
   12944 #      endif
   12945 #    endif
   12946 #  endif
   12947 #endif
   12948 
   12949 /* When -fvisbility=hidden is used, assume the code has been annotated
   12950    correspondingly for the symbols needed.  */
   12951 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12952 void fnord () __attribute__((visibility("default")));
   12953 #endif
   12954 
   12955 void fnord () { int i=42; }
   12956 int main ()
   12957 {
   12958   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12959   int status = $lt_dlunknown;
   12960 
   12961   if (self)
   12962     {
   12963       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12964       else
   12965         {
   12966 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12967           else puts (dlerror ());
   12968 	}
   12969       /* dlclose (self); */
   12970     }
   12971   else
   12972     puts (dlerror ());
   12973 
   12974   return status;
   12975 }
   12976 _LT_EOF
   12977   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12978   (eval $ac_link) 2>&5
   12979   ac_status=$?
   12980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12981   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12982     (./conftest; exit; ) >&5 2>/dev/null
   12983     lt_status=$?
   12984     case x$lt_status in
   12985       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12986       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12987       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12988     esac
   12989   else :
   12990     # compilation failed
   12991     lt_cv_dlopen_self_static=no
   12992   fi
   12993 fi
   12994 rm -fr conftest*
   12995 
   12996 
   12997 fi
   12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12999 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   13000     fi
   13001 
   13002     CPPFLAGS="$save_CPPFLAGS"
   13003     LDFLAGS="$save_LDFLAGS"
   13004     LIBS="$save_LIBS"
   13005     ;;
   13006   esac
   13007 
   13008   case $lt_cv_dlopen_self in
   13009   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13010   *) enable_dlopen_self=unknown ;;
   13011   esac
   13012 
   13013   case $lt_cv_dlopen_self_static in
   13014   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13015   *) enable_dlopen_self_static=unknown ;;
   13016   esac
   13017 fi
   13018 
   13019 
   13020 
   13021 
   13022 
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 
   13029 
   13030 
   13031 
   13032 
   13033 
   13034 
   13035 striplib=
   13036 old_striplib=
   13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13038 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   13039 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13040   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   13041   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   13042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13043 $as_echo "yes" >&6; }
   13044 else
   13045 # FIXME - insert some real tests, host_os isn't really good enough
   13046   case $host_os in
   13047   darwin*)
   13048     if test -n "$STRIP" ; then
   13049       striplib="$STRIP -x"
   13050       old_striplib="$STRIP -S"
   13051       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13052 $as_echo "yes" >&6; }
   13053     else
   13054       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13055 $as_echo "no" >&6; }
   13056     fi
   13057     ;;
   13058   *)
   13059     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13060 $as_echo "no" >&6; }
   13061     ;;
   13062   esac
   13063 fi
   13064 
   13065 
   13066 
   13067 
   13068 
   13069 
   13070 
   13071 
   13072 
   13073 
   13074 
   13075 
   13076   # Report which library types will actually be built
   13077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13078 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   13079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13080 $as_echo "$can_build_shared" >&6; }
   13081 
   13082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13083 $as_echo_n "checking whether to build shared libraries... " >&6; }
   13084   test "$can_build_shared" = "no" && enable_shared=no
   13085 
   13086   # On AIX, shared libraries and static libraries use the same namespace, and
   13087   # are all built from PIC.
   13088   case $host_os in
   13089   aix3*)
   13090     test "$enable_shared" = yes && enable_static=no
   13091     if test -n "$RANLIB"; then
   13092       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13093       postinstall_cmds='$RANLIB $lib'
   13094     fi
   13095     ;;
   13096 
   13097   aix[4-9]*)
   13098     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13099       test "$enable_shared" = yes && enable_static=no
   13100     fi
   13101     ;;
   13102   esac
   13103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13104 $as_echo "$enable_shared" >&6; }
   13105 
   13106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13107 $as_echo_n "checking whether to build static libraries... " >&6; }
   13108   # Make sure either enable_shared or enable_static is yes.
   13109   test "$enable_shared" = yes || enable_static=yes
   13110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13111 $as_echo "$enable_static" >&6; }
   13112 
   13113 
   13114 
   13115 
   13116 fi
   13117 ac_ext=c
   13118 ac_cpp='$CPP $CPPFLAGS'
   13119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13122 
   13123 CC="$lt_save_CC"
   13124 
   13125 
   13126 
   13127 
   13128 
   13129 
   13130 
   13131 
   13132 
   13133 
   13134 
   13135 
   13136 
   13137         ac_config_commands="$ac_config_commands libtool"
   13138 
   13139 
   13140 
   13141 
   13142 # Only expand once:
   13143 
   13144 
   13145 
   13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
   13147 $as_echo_n "checking for library containing bind... " >&6; }
   13148 if ${ac_cv_search_bind+:} false; then :
   13149   $as_echo_n "(cached) " >&6
   13150 else
   13151   ac_func_search_save_LIBS=$LIBS
   13152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13153 /* end confdefs.h.  */
   13154 
   13155 /* Override any GCC internal prototype to avoid an error.
   13156    Use char because int might match the return type of a GCC
   13157    builtin and then its argument prototype would still apply.  */
   13158 #ifdef __cplusplus
   13159 extern "C"
   13160 #endif
   13161 char bind ();
   13162 int
   13163 main ()
   13164 {
   13165 return bind ();
   13166   ;
   13167   return 0;
   13168 }
   13169 _ACEOF
   13170 for ac_lib in '' socket; do
   13171   if test -z "$ac_lib"; then
   13172     ac_res="none required"
   13173   else
   13174     ac_res=-l$ac_lib
   13175     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13176   fi
   13177   if ac_fn_c_try_link "$LINENO"; then :
   13178   ac_cv_search_bind=$ac_res
   13179 fi
   13180 rm -f core conftest.err conftest.$ac_objext \
   13181     conftest$ac_exeext
   13182   if ${ac_cv_search_bind+:} false; then :
   13183   break
   13184 fi
   13185 done
   13186 if ${ac_cv_search_bind+:} false; then :
   13187 
   13188 else
   13189   ac_cv_search_bind=no
   13190 fi
   13191 rm conftest.$ac_ext
   13192 LIBS=$ac_func_search_save_LIBS
   13193 fi
   13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
   13195 $as_echo "$ac_cv_search_bind" >&6; }
   13196 ac_res=$ac_cv_search_bind
   13197 if test "$ac_res" != no; then :
   13198   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13199 
   13200 fi
   13201 
   13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   13203 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   13204 if ${ac_cv_search_gethostbyname+:} false; then :
   13205   $as_echo_n "(cached) " >&6
   13206 else
   13207   ac_func_search_save_LIBS=$LIBS
   13208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13209 /* end confdefs.h.  */
   13210 
   13211 /* Override any GCC internal prototype to avoid an error.
   13212    Use char because int might match the return type of a GCC
   13213    builtin and then its argument prototype would still apply.  */
   13214 #ifdef __cplusplus
   13215 extern "C"
   13216 #endif
   13217 char gethostbyname ();
   13218 int
   13219 main ()
   13220 {
   13221 return gethostbyname ();
   13222   ;
   13223   return 0;
   13224 }
   13225 _ACEOF
   13226 for ac_lib in '' nsl; do
   13227   if test -z "$ac_lib"; then
   13228     ac_res="none required"
   13229   else
   13230     ac_res=-l$ac_lib
   13231     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13232   fi
   13233   if ac_fn_c_try_link "$LINENO"; then :
   13234   ac_cv_search_gethostbyname=$ac_res
   13235 fi
   13236 rm -f core conftest.err conftest.$ac_objext \
   13237     conftest$ac_exeext
   13238   if ${ac_cv_search_gethostbyname+:} false; then :
   13239   break
   13240 fi
   13241 done
   13242 if ${ac_cv_search_gethostbyname+:} false; then :
   13243 
   13244 else
   13245   ac_cv_search_gethostbyname=no
   13246 fi
   13247 rm conftest.$ac_ext
   13248 LIBS=$ac_func_search_save_LIBS
   13249 fi
   13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   13251 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   13252 ac_res=$ac_cv_search_gethostbyname
   13253 if test "$ac_res" != no; then :
   13254   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13255 
   13256 fi
   13257 
   13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fabs" >&5
   13259 $as_echo_n "checking for library containing fabs... " >&6; }
   13260 if ${ac_cv_search_fabs+:} false; then :
   13261   $as_echo_n "(cached) " >&6
   13262 else
   13263   ac_func_search_save_LIBS=$LIBS
   13264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13265 /* end confdefs.h.  */
   13266 
   13267 /* Override any GCC internal prototype to avoid an error.
   13268    Use char because int might match the return type of a GCC
   13269    builtin and then its argument prototype would still apply.  */
   13270 #ifdef __cplusplus
   13271 extern "C"
   13272 #endif
   13273 char fabs ();
   13274 int
   13275 main ()
   13276 {
   13277 return fabs ();
   13278   ;
   13279   return 0;
   13280 }
   13281 _ACEOF
   13282 for ac_lib in '' m; do
   13283   if test -z "$ac_lib"; then
   13284     ac_res="none required"
   13285   else
   13286     ac_res=-l$ac_lib
   13287     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13288   fi
   13289   if ac_fn_c_try_link "$LINENO"; then :
   13290   ac_cv_search_fabs=$ac_res
   13291 fi
   13292 rm -f core conftest.err conftest.$ac_objext \
   13293     conftest$ac_exeext
   13294   if ${ac_cv_search_fabs+:} false; then :
   13295   break
   13296 fi
   13297 done
   13298 if ${ac_cv_search_fabs+:} false; then :
   13299 
   13300 else
   13301   ac_cv_search_fabs=no
   13302 fi
   13303 rm conftest.$ac_ext
   13304 LIBS=$ac_func_search_save_LIBS
   13305 fi
   13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fabs" >&5
   13307 $as_echo "$ac_cv_search_fabs" >&6; }
   13308 ac_res=$ac_cv_search_fabs
   13309 if test "$ac_res" != no; then :
   13310   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13311 
   13312 fi
   13313 
   13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log2" >&5
   13315 $as_echo_n "checking for library containing log2... " >&6; }
   13316 if ${ac_cv_search_log2+:} false; then :
   13317   $as_echo_n "(cached) " >&6
   13318 else
   13319   ac_func_search_save_LIBS=$LIBS
   13320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13321 /* end confdefs.h.  */
   13322 
   13323 /* Override any GCC internal prototype to avoid an error.
   13324    Use char because int might match the return type of a GCC
   13325    builtin and then its argument prototype would still apply.  */
   13326 #ifdef __cplusplus
   13327 extern "C"
   13328 #endif
   13329 char log2 ();
   13330 int
   13331 main ()
   13332 {
   13333 return log2 ();
   13334   ;
   13335   return 0;
   13336 }
   13337 _ACEOF
   13338 for ac_lib in '' m; do
   13339   if test -z "$ac_lib"; then
   13340     ac_res="none required"
   13341   else
   13342     ac_res=-l$ac_lib
   13343     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13344   fi
   13345   if ac_fn_c_try_link "$LINENO"; then :
   13346   ac_cv_search_log2=$ac_res
   13347 fi
   13348 rm -f core conftest.err conftest.$ac_objext \
   13349     conftest$ac_exeext
   13350   if ${ac_cv_search_log2+:} false; then :
   13351   break
   13352 fi
   13353 done
   13354 if ${ac_cv_search_log2+:} false; then :
   13355 
   13356 else
   13357   ac_cv_search_log2=no
   13358 fi
   13359 rm conftest.$ac_ext
   13360 LIBS=$ac_func_search_save_LIBS
   13361 fi
   13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log2" >&5
   13363 $as_echo "$ac_cv_search_log2" >&6; }
   13364 ac_res=$ac_cv_search_log2
   13365 if test "$ac_res" != no; then :
   13366   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13367 
   13368 fi
   13369 
   13370 
   13371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
   13372 $as_echo_n "checking for library containing dlopen... " >&6; }
   13373 if ${ac_cv_search_dlopen+:} false; then :
   13374   $as_echo_n "(cached) " >&6
   13375 else
   13376   ac_func_search_save_LIBS=$LIBS
   13377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13378 /* end confdefs.h.  */
   13379 
   13380 /* Override any GCC internal prototype to avoid an error.
   13381    Use char because int might match the return type of a GCC
   13382    builtin and then its argument prototype would still apply.  */
   13383 #ifdef __cplusplus
   13384 extern "C"
   13385 #endif
   13386 char dlopen ();
   13387 int
   13388 main ()
   13389 {
   13390 return dlopen ();
   13391   ;
   13392   return 0;
   13393 }
   13394 _ACEOF
   13395 for ac_lib in '' dl; do
   13396   if test -z "$ac_lib"; then
   13397     ac_res="none required"
   13398   else
   13399     ac_res=-l$ac_lib
   13400     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13401   fi
   13402   if ac_fn_c_try_link "$LINENO"; then :
   13403   ac_cv_search_dlopen=$ac_res
   13404 fi
   13405 rm -f core conftest.err conftest.$ac_objext \
   13406     conftest$ac_exeext
   13407   if ${ac_cv_search_dlopen+:} false; then :
   13408   break
   13409 fi
   13410 done
   13411 if ${ac_cv_search_dlopen+:} false; then :
   13412 
   13413 else
   13414   ac_cv_search_dlopen=no
   13415 fi
   13416 rm conftest.$ac_ext
   13417 LIBS=$ac_func_search_save_LIBS
   13418 fi
   13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
   13420 $as_echo "$ac_cv_search_dlopen" >&6; }
   13421 ac_res=$ac_cv_search_dlopen
   13422 if test "$ac_res" != no; then :
   13423   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13424 
   13425 fi
   13426 
   13427 if test "${ac_cv_search_dlopen}" = "none required" || test "${ac_cv_lib_dl_dlopen}" = "yes"; then
   13428 
   13429 pkg_failed=no
   13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sdl2" >&5
   13431 $as_echo_n "checking for sdl2... " >&6; }
   13432 
   13433 if test -n "$SDL_CFLAGS"; then
   13434     pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
   13435  elif test -n "$PKG_CONFIG"; then
   13436     if test -n "$PKG_CONFIG" && \
   13437     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2\""; } >&5
   13438   ($PKG_CONFIG --exists --print-errors "sdl2") 2>&5
   13439   ac_status=$?
   13440   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13441   test $ac_status = 0; }; then
   13442   pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl2" 2>/dev/null`
   13443 		      test "x$?" != "x0" && pkg_failed=yes
   13444 else
   13445   pkg_failed=yes
   13446 fi
   13447  else
   13448     pkg_failed=untried
   13449 fi
   13450 if test -n "$SDL_LIBS"; then
   13451     pkg_cv_SDL_LIBS="$SDL_LIBS"
   13452  elif test -n "$PKG_CONFIG"; then
   13453     if test -n "$PKG_CONFIG" && \
   13454     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2\""; } >&5
   13455   ($PKG_CONFIG --exists --print-errors "sdl2") 2>&5
   13456   ac_status=$?
   13457   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13458   test $ac_status = 0; }; then
   13459   pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl2" 2>/dev/null`
   13460 		      test "x$?" != "x0" && pkg_failed=yes
   13461 else
   13462   pkg_failed=yes
   13463 fi
   13464  else
   13465     pkg_failed=untried
   13466 fi
   13467 
   13468 if test $pkg_failed = no; then
   13469   pkg_save_LDFLAGS="$LDFLAGS"
   13470   LDFLAGS="$LDFLAGS $pkg_cv_SDL_LIBS"
   13471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13472 /* end confdefs.h.  */
   13473 
   13474 int
   13475 main ()
   13476 {
   13477 
   13478   ;
   13479   return 0;
   13480 }
   13481 _ACEOF
   13482 if ac_fn_c_try_link "$LINENO"; then :
   13483 
   13484 else
   13485   pkg_failed=yes
   13486 fi
   13487 rm -f core conftest.err conftest.$ac_objext \
   13488     conftest$ac_exeext conftest.$ac_ext
   13489   LDFLAGS=$pkg_save_LDFLAGS
   13490 fi
   13491 
   13492 
   13493 
   13494 if test $pkg_failed = yes; then
   13495         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13496 $as_echo "no" >&6; }
   13497 
   13498 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13499         _pkg_short_errors_supported=yes
   13500 else
   13501         _pkg_short_errors_supported=no
   13502 fi
   13503         if test $_pkg_short_errors_supported = yes; then
   13504 	        SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl2" 2>&1`
   13505         else
   13506 	        SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sdl2" 2>&1`
   13507         fi
   13508 	# Put the nasty error message in config.log where it belongs
   13509 	echo "$SDL_PKG_ERRORS" >&5
   13510 
   13511 
   13512 
   13513 pkg_failed=no
   13514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sdl" >&5
   13515 $as_echo_n "checking for sdl... " >&6; }
   13516 
   13517 if test -n "$SDL_CFLAGS"; then
   13518     pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
   13519  elif test -n "$PKG_CONFIG"; then
   13520     if test -n "$PKG_CONFIG" && \
   13521     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
   13522   ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
   13523   ac_status=$?
   13524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13525   test $ac_status = 0; }; then
   13526   pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl" 2>/dev/null`
   13527 		      test "x$?" != "x0" && pkg_failed=yes
   13528 else
   13529   pkg_failed=yes
   13530 fi
   13531  else
   13532     pkg_failed=untried
   13533 fi
   13534 if test -n "$SDL_LIBS"; then
   13535     pkg_cv_SDL_LIBS="$SDL_LIBS"
   13536  elif test -n "$PKG_CONFIG"; then
   13537     if test -n "$PKG_CONFIG" && \
   13538     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
   13539   ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
   13540   ac_status=$?
   13541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13542   test $ac_status = 0; }; then
   13543   pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl" 2>/dev/null`
   13544 		      test "x$?" != "x0" && pkg_failed=yes
   13545 else
   13546   pkg_failed=yes
   13547 fi
   13548  else
   13549     pkg_failed=untried
   13550 fi
   13551 
   13552 if test $pkg_failed = no; then
   13553   pkg_save_LDFLAGS="$LDFLAGS"
   13554   LDFLAGS="$LDFLAGS $pkg_cv_SDL_LIBS"
   13555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13556 /* end confdefs.h.  */
   13557 
   13558 int
   13559 main ()
   13560 {
   13561 
   13562   ;
   13563   return 0;
   13564 }
   13565 _ACEOF
   13566 if ac_fn_c_try_link "$LINENO"; then :
   13567 
   13568 else
   13569   pkg_failed=yes
   13570 fi
   13571 rm -f core conftest.err conftest.$ac_objext \
   13572     conftest$ac_exeext conftest.$ac_ext
   13573   LDFLAGS=$pkg_save_LDFLAGS
   13574 fi
   13575 
   13576 
   13577 
   13578 if test $pkg_failed = yes; then
   13579         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13580 $as_echo "no" >&6; }
   13581 
   13582 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13583         _pkg_short_errors_supported=yes
   13584 else
   13585         _pkg_short_errors_supported=no
   13586 fi
   13587         if test $_pkg_short_errors_supported = yes; then
   13588 	        SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl" 2>&1`
   13589         else
   13590 	        SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sdl" 2>&1`
   13591         fi
   13592 	# Put the nasty error message in config.log where it belongs
   13593 	echo "$SDL_PKG_ERRORS" >&5
   13594 
   13595 	:
   13596 elif test $pkg_failed = untried; then
   13597         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13598 $as_echo "no" >&6; }
   13599 	:
   13600 else
   13601 	SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
   13602 	SDL_LIBS=$pkg_cv_SDL_LIBS
   13603         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13604 $as_echo "yes" >&6; }
   13605 	      SDL_CFLAGS="${SDL_CFLAGS} -DHAVE_SDL=1"
   13606 
   13607 fi
   13608 
   13609 elif test $pkg_failed = untried; then
   13610         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13611 $as_echo "no" >&6; }
   13612 
   13613 
   13614 pkg_failed=no
   13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sdl" >&5
   13616 $as_echo_n "checking for sdl... " >&6; }
   13617 
   13618 if test -n "$SDL_CFLAGS"; then
   13619     pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
   13620  elif test -n "$PKG_CONFIG"; then
   13621     if test -n "$PKG_CONFIG" && \
   13622     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
   13623   ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
   13624   ac_status=$?
   13625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13626   test $ac_status = 0; }; then
   13627   pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl" 2>/dev/null`
   13628 		      test "x$?" != "x0" && pkg_failed=yes
   13629 else
   13630   pkg_failed=yes
   13631 fi
   13632  else
   13633     pkg_failed=untried
   13634 fi
   13635 if test -n "$SDL_LIBS"; then
   13636     pkg_cv_SDL_LIBS="$SDL_LIBS"
   13637  elif test -n "$PKG_CONFIG"; then
   13638     if test -n "$PKG_CONFIG" && \
   13639     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
   13640   ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
   13641   ac_status=$?
   13642   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13643   test $ac_status = 0; }; then
   13644   pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl" 2>/dev/null`
   13645 		      test "x$?" != "x0" && pkg_failed=yes
   13646 else
   13647   pkg_failed=yes
   13648 fi
   13649  else
   13650     pkg_failed=untried
   13651 fi
   13652 
   13653 if test $pkg_failed = no; then
   13654   pkg_save_LDFLAGS="$LDFLAGS"
   13655   LDFLAGS="$LDFLAGS $pkg_cv_SDL_LIBS"
   13656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13657 /* end confdefs.h.  */
   13658 
   13659 int
   13660 main ()
   13661 {
   13662 
   13663   ;
   13664   return 0;
   13665 }
   13666 _ACEOF
   13667 if ac_fn_c_try_link "$LINENO"; then :
   13668 
   13669 else
   13670   pkg_failed=yes
   13671 fi
   13672 rm -f core conftest.err conftest.$ac_objext \
   13673     conftest$ac_exeext conftest.$ac_ext
   13674   LDFLAGS=$pkg_save_LDFLAGS
   13675 fi
   13676 
   13677 
   13678 
   13679 if test $pkg_failed = yes; then
   13680         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13681 $as_echo "no" >&6; }
   13682 
   13683 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13684         _pkg_short_errors_supported=yes
   13685 else
   13686         _pkg_short_errors_supported=no
   13687 fi
   13688         if test $_pkg_short_errors_supported = yes; then
   13689 	        SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl" 2>&1`
   13690         else
   13691 	        SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sdl" 2>&1`
   13692         fi
   13693 	# Put the nasty error message in config.log where it belongs
   13694 	echo "$SDL_PKG_ERRORS" >&5
   13695 
   13696 	:
   13697 elif test $pkg_failed = untried; then
   13698         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13699 $as_echo "no" >&6; }
   13700 	:
   13701 else
   13702 	SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
   13703 	SDL_LIBS=$pkg_cv_SDL_LIBS
   13704         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13705 $as_echo "yes" >&6; }
   13706 	      SDL_CFLAGS="${SDL_CFLAGS} -DHAVE_SDL=1"
   13707 
   13708 fi
   13709 
   13710 else
   13711 	SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
   13712 	SDL_LIBS=$pkg_cv_SDL_LIBS
   13713         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13714 $as_echo "yes" >&6; }
   13715 	    SDL_CFLAGS="${SDL_CFLAGS} -DHAVE_SDL=2"
   13716 
   13717 fi
   13718     if test -n "$SDL_CFLAGS"; then :
   13719       if test "$ac_cv_search_dlopen" = no; then :
   13720         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SDL support requires dlopen support" >&5
   13721 $as_echo "$as_me: WARNING: SDL support requires dlopen support" >&2;}
   13722 
   13723 fi
   13724 
   13725 fi
   13726 else
   13727   SDL_CFLAGS=
   13728 fi
   13729 SDL_LIBS=
   13730 
   13731 
   13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cygwin" >&5
   13733 $as_echo_n "checking for cygwin... " >&6; }
   13734 if ${sim_cv_os_cygwin+:} false; then :
   13735   $as_echo_n "(cached) " >&6
   13736 else
   13737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13738 /* end confdefs.h.  */
   13739 
   13740 #ifdef __CYGWIN__
   13741 lose
   13742 #endif
   13743 _ACEOF
   13744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13745   $EGREP "lose" >/dev/null 2>&1; then :
   13746   sim_cv_os_cygwin=yes
   13747 else
   13748   sim_cv_os_cygwin=no
   13749 fi
   13750 rm -f conftest*
   13751 
   13752 fi
   13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_cv_os_cygwin" >&5
   13754 $as_echo "$sim_cv_os_cygwin" >&6; }
   13755 
   13756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
   13757 $as_echo_n "checking for library containing tgetent... " >&6; }
   13758 if ${ac_cv_search_tgetent+:} false; then :
   13759   $as_echo_n "(cached) " >&6
   13760 else
   13761   ac_func_search_save_LIBS=$LIBS
   13762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13763 /* end confdefs.h.  */
   13764 
   13765 /* Override any GCC internal prototype to avoid an error.
   13766    Use char because int might match the return type of a GCC
   13767    builtin and then its argument prototype would still apply.  */
   13768 #ifdef __cplusplus
   13769 extern "C"
   13770 #endif
   13771 char tgetent ();
   13772 int
   13773 main ()
   13774 {
   13775 return tgetent ();
   13776   ;
   13777   return 0;
   13778 }
   13779 _ACEOF
   13780 for ac_lib in '' termcap tinfo curses ncurses; do
   13781   if test -z "$ac_lib"; then
   13782     ac_res="none required"
   13783   else
   13784     ac_res=-l$ac_lib
   13785     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13786   fi
   13787   if ac_fn_c_try_link "$LINENO"; then :
   13788   ac_cv_search_tgetent=$ac_res
   13789 fi
   13790 rm -f core conftest.err conftest.$ac_objext \
   13791     conftest$ac_exeext
   13792   if ${ac_cv_search_tgetent+:} false; then :
   13793   break
   13794 fi
   13795 done
   13796 if ${ac_cv_search_tgetent+:} false; then :
   13797 
   13798 else
   13799   ac_cv_search_tgetent=no
   13800 fi
   13801 rm conftest.$ac_ext
   13802 LIBS=$ac_func_search_save_LIBS
   13803 fi
   13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
   13805 $as_echo "$ac_cv_search_tgetent" >&6; }
   13806 ac_res=$ac_cv_search_tgetent
   13807 if test "$ac_res" != no; then :
   13808   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13809   TERMCAP_LIB=$ac_cv_search_tgetent
   13810 else
   13811   TERMCAP_LIB=""
   13812 fi
   13813 
   13814 if test x$sim_cv_os_cygwin = xyes; then
   13815   TERMCAP_LIB="${TERMCAP_LIB} -luser32"
   13816 fi
   13817 
   13818 
   13819 if test -r ../readline/Makefile; then
   13820   READLINE_LIB=../readline/readline/libreadline.a
   13821   READLINE_CFLAGS='-I$(READLINE_SRC)/..'
   13822 else
   13823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
   13824 $as_echo_n "checking for readline in -lreadline... " >&6; }
   13825 if ${ac_cv_lib_readline_readline+:} false; then :
   13826   $as_echo_n "(cached) " >&6
   13827 else
   13828   ac_check_lib_save_LIBS=$LIBS
   13829 LIBS="-lreadline $TERMCAP_LIB $LIBS"
   13830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13831 /* end confdefs.h.  */
   13832 
   13833 /* Override any GCC internal prototype to avoid an error.
   13834    Use char because int might match the return type of a GCC
   13835    builtin and then its argument prototype would still apply.  */
   13836 #ifdef __cplusplus
   13837 extern "C"
   13838 #endif
   13839 char readline ();
   13840 int
   13841 main ()
   13842 {
   13843 return readline ();
   13844   ;
   13845   return 0;
   13846 }
   13847 _ACEOF
   13848 if ac_fn_c_try_link "$LINENO"; then :
   13849   ac_cv_lib_readline_readline=yes
   13850 else
   13851   ac_cv_lib_readline_readline=no
   13852 fi
   13853 rm -f core conftest.err conftest.$ac_objext \
   13854     conftest$ac_exeext conftest.$ac_ext
   13855 LIBS=$ac_check_lib_save_LIBS
   13856 fi
   13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
   13858 $as_echo "$ac_cv_lib_readline_readline" >&6; }
   13859 if test "x$ac_cv_lib_readline_readline" = xyes; then :
   13860   READLINE_LIB=-lreadline
   13861 else
   13862   as_fn_error $? "the required \"readline\" library is missing" "$LINENO" 5
   13863 fi
   13864 
   13865   READLINE_CFLAGS=
   13866 fi
   13867 
   13868 
   13869 
   13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
   13871 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
   13872 if ${sim_cv_decl_getopt_unistd_h+:} false; then :
   13873   $as_echo_n "(cached) " >&6
   13874 else
   13875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13876 /* end confdefs.h.  */
   13877 #include <unistd.h>
   13878 int
   13879 main ()
   13880 {
   13881 extern int getopt (int, char *const*, const char *);
   13882   ;
   13883   return 0;
   13884 }
   13885 _ACEOF
   13886 if ac_fn_c_try_compile "$LINENO"; then :
   13887   sim_cv_decl_getopt_unistd_h=yes
   13888 else
   13889   sim_cv_decl_getopt_unistd_h=no
   13890 fi
   13891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13892 fi
   13893 
   13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_cv_decl_getopt_unistd_h" >&5
   13895 $as_echo "$sim_cv_decl_getopt_unistd_h" >&6; }
   13896 if test $sim_cv_decl_getopt_unistd_h = yes; then
   13897 
   13898 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
   13899 
   13900 fi
   13901 
   13902 
   13903 
   13904 
   13905 ac_fn_c_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
   13906 if test "x$ac_cv_have_decl_ffs" = xyes; then :
   13907   ac_have_decl=1
   13908 else
   13909   ac_have_decl=0
   13910 fi
   13911 
   13912 cat >>confdefs.h <<_ACEOF
   13913 #define HAVE_DECL_FFS $ac_have_decl
   13914 _ACEOF
   13915 
   13916 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
   13917 if test "x$ac_cv_have_decl_asprintf" = xyes; then :
   13918   ac_have_decl=1
   13919 else
   13920   ac_have_decl=0
   13921 fi
   13922 
   13923 cat >>confdefs.h <<_ACEOF
   13924 #define HAVE_DECL_ASPRINTF $ac_have_decl
   13925 _ACEOF
   13926 
   13927 ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
   13928 if test "x$ac_cv_have_decl_vasprintf" = xyes; then :
   13929   ac_have_decl=1
   13930 else
   13931   ac_have_decl=0
   13932 fi
   13933 
   13934 cat >>confdefs.h <<_ACEOF
   13935 #define HAVE_DECL_VASPRINTF $ac_have_decl
   13936 _ACEOF
   13937 
   13938 ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
   13939 if test "x$ac_cv_have_decl_snprintf" = xyes; then :
   13940   ac_have_decl=1
   13941 else
   13942   ac_have_decl=0
   13943 fi
   13944 
   13945 cat >>confdefs.h <<_ACEOF
   13946 #define HAVE_DECL_SNPRINTF $ac_have_decl
   13947 _ACEOF
   13948 
   13949 ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
   13950 if test "x$ac_cv_have_decl_vsnprintf" = xyes; then :
   13951   ac_have_decl=1
   13952 else
   13953   ac_have_decl=0
   13954 fi
   13955 
   13956 cat >>confdefs.h <<_ACEOF
   13957 #define HAVE_DECL_VSNPRINTF $ac_have_decl
   13958 _ACEOF
   13959 
   13960 ac_fn_c_check_decl "$LINENO" "strtol" "ac_cv_have_decl_strtol" "$ac_includes_default"
   13961 if test "x$ac_cv_have_decl_strtol" = xyes; then :
   13962   ac_have_decl=1
   13963 else
   13964   ac_have_decl=0
   13965 fi
   13966 
   13967 cat >>confdefs.h <<_ACEOF
   13968 #define HAVE_DECL_STRTOL $ac_have_decl
   13969 _ACEOF
   13970 
   13971 ac_fn_c_check_decl "$LINENO" "strtoul" "ac_cv_have_decl_strtoul" "$ac_includes_default"
   13972 if test "x$ac_cv_have_decl_strtoul" = xyes; then :
   13973   ac_have_decl=1
   13974 else
   13975   ac_have_decl=0
   13976 fi
   13977 
   13978 cat >>confdefs.h <<_ACEOF
   13979 #define HAVE_DECL_STRTOUL $ac_have_decl
   13980 _ACEOF
   13981 
   13982 ac_fn_c_check_decl "$LINENO" "strtoll" "ac_cv_have_decl_strtoll" "$ac_includes_default"
   13983 if test "x$ac_cv_have_decl_strtoll" = xyes; then :
   13984   ac_have_decl=1
   13985 else
   13986   ac_have_decl=0
   13987 fi
   13988 
   13989 cat >>confdefs.h <<_ACEOF
   13990 #define HAVE_DECL_STRTOLL $ac_have_decl
   13991 _ACEOF
   13992 
   13993 ac_fn_c_check_decl "$LINENO" "strtoull" "ac_cv_have_decl_strtoull" "$ac_includes_default"
   13994 if test "x$ac_cv_have_decl_strtoull" = xyes; then :
   13995   ac_have_decl=1
   13996 else
   13997   ac_have_decl=0
   13998 fi
   13999 
   14000 cat >>confdefs.h <<_ACEOF
   14001 #define HAVE_DECL_STRTOULL $ac_have_decl
   14002 _ACEOF
   14003 
   14004 ac_fn_c_check_decl "$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
   14005 if test "x$ac_cv_have_decl_strverscmp" = xyes; then :
   14006   ac_have_decl=1
   14007 else
   14008   ac_have_decl=0
   14009 fi
   14010 
   14011 cat >>confdefs.h <<_ACEOF
   14012 #define HAVE_DECL_STRVERSCMP $ac_have_decl
   14013 _ACEOF
   14014 
   14015     ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
   14016 if test "x$ac_cv_type_long_long" = xyes; then :
   14017 
   14018 cat >>confdefs.h <<_ACEOF
   14019 #define HAVE_LONG_LONG 1
   14020 _ACEOF
   14021 
   14022 # The cast to long int works around a bug in the HP C Compiler
   14023 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14024 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14025 # This bug is HP SR number 8606223364.
   14026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
   14027 $as_echo_n "checking size of long long... " >&6; }
   14028 if ${ac_cv_sizeof_long_long+:} false; then :
   14029   $as_echo_n "(cached) " >&6
   14030 else
   14031   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
   14032 
   14033 else
   14034   if test "$ac_cv_type_long_long" = yes; then
   14035      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14037 as_fn_error 77 "cannot compute sizeof (long long)
   14038 See \`config.log' for more details" "$LINENO" 5; }
   14039    else
   14040      ac_cv_sizeof_long_long=0
   14041    fi
   14042 fi
   14043 
   14044 fi
   14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
   14046 $as_echo "$ac_cv_sizeof_long_long" >&6; }
   14047 
   14048 
   14049 
   14050 cat >>confdefs.h <<_ACEOF
   14051 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
   14052 _ACEOF
   14053 
   14054 
   14055 fi
   14056 
   14057 
   14058   as_ac_Symbol=`$as_echo "ac_cv_have_decl_basename(char *)" | $as_tr_sh`
   14059 ac_fn_c_check_decl "$LINENO" "basename(char *)" "$as_ac_Symbol" "$ac_includes_default"
   14060 if eval test \"x\$"$as_ac_Symbol"\" = x"yes"; then :
   14061   ac_have_decl=1
   14062 else
   14063   ac_have_decl=0
   14064 fi
   14065 
   14066 cat >>confdefs.h <<_ACEOF
   14067 #define HAVE_DECL_BASENAME $ac_have_decl
   14068 _ACEOF
   14069 
   14070 
   14071 
   14072 
   14073 
   14074 
   14075 
   14076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   14077 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   14078     # Check whether --enable-maintainer-mode was given.
   14079 if test "${enable_maintainer_mode+set}" = set; then :
   14080   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   14081 else
   14082   USE_MAINTAINER_MODE=no
   14083 fi
   14084 
   14085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   14086 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   14087    if test $USE_MAINTAINER_MODE = yes; then
   14088   MAINTAINER_MODE_TRUE=
   14089   MAINTAINER_MODE_FALSE='#'
   14090 else
   14091   MAINTAINER_MODE_TRUE='#'
   14092   MAINTAINER_MODE_FALSE=
   14093 fi
   14094 
   14095   MAINT=$MAINTAINER_MODE_TRUE
   14096 
   14097 
   14098 am__api_version='1.15'
   14099 
   14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   14101 $as_echo_n "checking whether build environment is sane... " >&6; }
   14102 # Reject unsafe characters in $srcdir or the absolute working directory
   14103 # name.  Accept space and tab only in the latter.
   14104 am_lf='
   14105 '
   14106 case `pwd` in
   14107   *[\\\"\#\$\&\'\`$am_lf]*)
   14108     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   14109 esac
   14110 case $srcdir in
   14111   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   14112     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   14113 esac
   14114 
   14115 # Do 'set' in a subshell so we don't clobber the current shell's
   14116 # arguments.  Must try -L first in case configure is actually a
   14117 # symlink; some systems play weird games with the mod time of symlinks
   14118 # (eg FreeBSD returns the mod time of the symlink's containing
   14119 # directory).
   14120 if (
   14121    am_has_slept=no
   14122    for am_try in 1 2; do
   14123      echo "timestamp, slept: $am_has_slept" > conftest.file
   14124      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   14125      if test "$*" = "X"; then
   14126 	# -L didn't work.
   14127 	set X `ls -t "$srcdir/configure" conftest.file`
   14128      fi
   14129      if test "$*" != "X $srcdir/configure conftest.file" \
   14130 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   14131 
   14132 	# If neither matched, then we have a broken ls.  This can happen
   14133 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   14134 	# broken ls alias from the environment.  This has actually
   14135 	# happened.  Such a system could not be considered "sane".
   14136 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   14137   alias in your environment" "$LINENO" 5
   14138      fi
   14139      if test "$2" = conftest.file || test $am_try -eq 2; then
   14140        break
   14141      fi
   14142      # Just in case.
   14143      sleep 1
   14144      am_has_slept=yes
   14145    done
   14146    test "$2" = conftest.file
   14147    )
   14148 then
   14149    # Ok.
   14150    :
   14151 else
   14152    as_fn_error $? "newly created file is older than distributed files!
   14153 Check your system clock" "$LINENO" 5
   14154 fi
   14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14156 $as_echo "yes" >&6; }
   14157 # If we didn't sleep, we still need to ensure time stamps of config.status and
   14158 # generated files are strictly newer.
   14159 am_sleep_pid=
   14160 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   14161   ( sleep 1 ) &
   14162   am_sleep_pid=$!
   14163 fi
   14164 
   14165 rm -f conftest.file
   14166 
   14167 if test x"${MISSING+set}" != xset; then
   14168   case $am_aux_dir in
   14169   *\ * | *\	*)
   14170     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   14171   *)
   14172     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   14173   esac
   14174 fi
   14175 # Use eval to expand $SHELL
   14176 if eval "$MISSING --is-lightweight"; then
   14177   am_missing_run="$MISSING "
   14178 else
   14179   am_missing_run=
   14180   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   14181 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   14182 fi
   14183 
   14184 if test x"${install_sh+set}" != xset; then
   14185   case $am_aux_dir in
   14186   *\ * | *\	*)
   14187     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   14188   *)
   14189     install_sh="\${SHELL} $am_aux_dir/install-sh"
   14190   esac
   14191 fi
   14192 
   14193 # Installed binaries are usually stripped using 'strip' when the user
   14194 # run "make install-strip".  However 'strip' might not be the right
   14195 # tool to use in cross-compilation environments, therefore Automake
   14196 # will honor the 'STRIP' environment variable to overrule this program.
   14197 if test "$cross_compiling" != no; then
   14198   if test -n "$ac_tool_prefix"; then
   14199   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   14200 set dummy ${ac_tool_prefix}strip; ac_word=$2
   14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14202 $as_echo_n "checking for $ac_word... " >&6; }
   14203 if ${ac_cv_prog_STRIP+:} false; then :
   14204   $as_echo_n "(cached) " >&6
   14205 else
   14206   if test -n "$STRIP"; then
   14207   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   14208 else
   14209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14210 for as_dir in $PATH
   14211 do
   14212   IFS=$as_save_IFS
   14213   test -z "$as_dir" && as_dir=.
   14214     for ac_exec_ext in '' $ac_executable_extensions; do
   14215   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14216     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   14217     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14218     break 2
   14219   fi
   14220 done
   14221   done
   14222 IFS=$as_save_IFS
   14223 
   14224 fi
   14225 fi
   14226 STRIP=$ac_cv_prog_STRIP
   14227 if test -n "$STRIP"; then
   14228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   14229 $as_echo "$STRIP" >&6; }
   14230 else
   14231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14232 $as_echo "no" >&6; }
   14233 fi
   14234 
   14235 
   14236 fi
   14237 if test -z "$ac_cv_prog_STRIP"; then
   14238   ac_ct_STRIP=$STRIP
   14239   # Extract the first word of "strip", so it can be a program name with args.
   14240 set dummy strip; ac_word=$2
   14241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14242 $as_echo_n "checking for $ac_word... " >&6; }
   14243 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   14244   $as_echo_n "(cached) " >&6
   14245 else
   14246   if test -n "$ac_ct_STRIP"; then
   14247   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   14248 else
   14249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14250 for as_dir in $PATH
   14251 do
   14252   IFS=$as_save_IFS
   14253   test -z "$as_dir" && as_dir=.
   14254     for ac_exec_ext in '' $ac_executable_extensions; do
   14255   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14256     ac_cv_prog_ac_ct_STRIP="strip"
   14257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14258     break 2
   14259   fi
   14260 done
   14261   done
   14262 IFS=$as_save_IFS
   14263 
   14264 fi
   14265 fi
   14266 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   14267 if test -n "$ac_ct_STRIP"; then
   14268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   14269 $as_echo "$ac_ct_STRIP" >&6; }
   14270 else
   14271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14272 $as_echo "no" >&6; }
   14273 fi
   14274 
   14275   if test "x$ac_ct_STRIP" = x; then
   14276     STRIP=":"
   14277   else
   14278     case $cross_compiling:$ac_tool_warned in
   14279 yes:)
   14280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14282 ac_tool_warned=yes ;;
   14283 esac
   14284     STRIP=$ac_ct_STRIP
   14285   fi
   14286 else
   14287   STRIP="$ac_cv_prog_STRIP"
   14288 fi
   14289 
   14290 fi
   14291 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   14292 
   14293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   14294 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   14295 if test -z "$MKDIR_P"; then
   14296   if ${ac_cv_path_mkdir+:} false; then :
   14297   $as_echo_n "(cached) " >&6
   14298 else
   14299   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14300 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   14301 do
   14302   IFS=$as_save_IFS
   14303   test -z "$as_dir" && as_dir=.
   14304     for ac_prog in mkdir gmkdir; do
   14305 	 for ac_exec_ext in '' $ac_executable_extensions; do
   14306 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   14307 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   14308 	     'mkdir (GNU coreutils) '* | \
   14309 	     'mkdir (coreutils) '* | \
   14310 	     'mkdir (fileutils) '4.1*)
   14311 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   14312 	       break 3;;
   14313 	   esac
   14314 	 done
   14315        done
   14316   done
   14317 IFS=$as_save_IFS
   14318 
   14319 fi
   14320 
   14321   test -d ./--version && rmdir ./--version
   14322   if test "${ac_cv_path_mkdir+set}" = set; then
   14323     MKDIR_P="$ac_cv_path_mkdir -p"
   14324   else
   14325     # As a last resort, use the slow shell script.  Don't cache a
   14326     # value for MKDIR_P within a source directory, because that will
   14327     # break other packages using the cache if that directory is
   14328     # removed, or if the value is a relative name.
   14329     MKDIR_P="$ac_install_sh -d"
   14330   fi
   14331 fi
   14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   14333 $as_echo "$MKDIR_P" >&6; }
   14334 
   14335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   14336 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   14337 set x ${MAKE-make}
   14338 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   14339 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   14340   $as_echo_n "(cached) " >&6
   14341 else
   14342   cat >conftest.make <<\_ACEOF
   14343 SHELL = /bin/sh
   14344 all:
   14345 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   14346 _ACEOF
   14347 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   14348 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   14349   *@@@%%%=?*=@@@%%%*)
   14350     eval ac_cv_prog_make_${ac_make}_set=yes;;
   14351   *)
   14352     eval ac_cv_prog_make_${ac_make}_set=no;;
   14353 esac
   14354 rm -f conftest.make
   14355 fi
   14356 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   14357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14358 $as_echo "yes" >&6; }
   14359   SET_MAKE=
   14360 else
   14361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14362 $as_echo "no" >&6; }
   14363   SET_MAKE="MAKE=${MAKE-make}"
   14364 fi
   14365 
   14366 rm -rf .tst 2>/dev/null
   14367 mkdir .tst 2>/dev/null
   14368 if test -d .tst; then
   14369   am__leading_dot=.
   14370 else
   14371   am__leading_dot=_
   14372 fi
   14373 rmdir .tst 2>/dev/null
   14374 
   14375 DEPDIR="${am__leading_dot}deps"
   14376 
   14377 ac_config_commands="$ac_config_commands depfiles"
   14378 
   14379 
   14380 am_make=${MAKE-make}
   14381 cat > confinc << 'END'
   14382 am__doit:
   14383 	@echo this is the am__doit target
   14384 .PHONY: am__doit
   14385 END
   14386 # If we don't find an include directive, just comment out the code.
   14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   14388 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   14389 am__include="#"
   14390 am__quote=
   14391 _am_result=none
   14392 # First try GNU make style include.
   14393 echo "include confinc" > confmf
   14394 # Ignore all kinds of additional output from 'make'.
   14395 case `$am_make -s -f confmf 2> /dev/null` in #(
   14396 *the\ am__doit\ target*)
   14397   am__include=include
   14398   am__quote=
   14399   _am_result=GNU
   14400   ;;
   14401 esac
   14402 # Now try BSD make style include.
   14403 if test "$am__include" = "#"; then
   14404    echo '.include "confinc"' > confmf
   14405    case `$am_make -s -f confmf 2> /dev/null` in #(
   14406    *the\ am__doit\ target*)
   14407      am__include=.include
   14408      am__quote="\""
   14409      _am_result=BSD
   14410      ;;
   14411    esac
   14412 fi
   14413 
   14414 
   14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   14416 $as_echo "$_am_result" >&6; }
   14417 rm -f confinc confmf
   14418 
   14419 # Check whether --enable-dependency-tracking was given.
   14420 if test "${enable_dependency_tracking+set}" = set; then :
   14421   enableval=$enable_dependency_tracking;
   14422 fi
   14423 
   14424 if test "x$enable_dependency_tracking" != xno; then
   14425   am_depcomp="$ac_aux_dir/depcomp"
   14426   AMDEPBACKSLASH='\'
   14427   am__nodep='_no'
   14428 fi
   14429  if test "x$enable_dependency_tracking" != xno; then
   14430   AMDEP_TRUE=
   14431   AMDEP_FALSE='#'
   14432 else
   14433   AMDEP_TRUE='#'
   14434   AMDEP_FALSE=
   14435 fi
   14436 
   14437 
   14438 # Check whether --enable-silent-rules was given.
   14439 if test "${enable_silent_rules+set}" = set; then :
   14440   enableval=$enable_silent_rules;
   14441 fi
   14442 
   14443 case $enable_silent_rules in # (((
   14444   yes) AM_DEFAULT_VERBOSITY=0;;
   14445    no) AM_DEFAULT_VERBOSITY=1;;
   14446     *) AM_DEFAULT_VERBOSITY=1;;
   14447 esac
   14448 am_make=${MAKE-make}
   14449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   14450 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   14451 if ${am_cv_make_support_nested_variables+:} false; then :
   14452   $as_echo_n "(cached) " >&6
   14453 else
   14454   if $as_echo 'TRUE=$(BAR$(V))
   14455 BAR0=false
   14456 BAR1=true
   14457 V=1
   14458 am__doit:
   14459 	@$(TRUE)
   14460 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   14461   am_cv_make_support_nested_variables=yes
   14462 else
   14463   am_cv_make_support_nested_variables=no
   14464 fi
   14465 fi
   14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   14467 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   14468 if test $am_cv_make_support_nested_variables = yes; then
   14469     AM_V='$(V)'
   14470   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   14471 else
   14472   AM_V=$AM_DEFAULT_VERBOSITY
   14473   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   14474 fi
   14475 AM_BACKSLASH='\'
   14476 
   14477 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   14478   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   14479   # is not polluted with repeated "-I."
   14480   am__isrc=' -I$(srcdir)'
   14481   # test to see if srcdir already configured
   14482   if test -f $srcdir/config.status; then
   14483     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   14484   fi
   14485 fi
   14486 
   14487 # test whether we have cygpath
   14488 if test -z "$CYGPATH_W"; then
   14489   if (cygpath --version) >/dev/null 2>/dev/null; then
   14490     CYGPATH_W='cygpath -w'
   14491   else
   14492     CYGPATH_W=echo
   14493   fi
   14494 fi
   14495 
   14496 
   14497 # Define the identity of the package.
   14498  PACKAGE='sim'
   14499  VERSION='0'
   14500 
   14501 
   14502 cat >>confdefs.h <<_ACEOF
   14503 #define PACKAGE "$PACKAGE"
   14504 _ACEOF
   14505 
   14506 
   14507 cat >>confdefs.h <<_ACEOF
   14508 #define VERSION "$VERSION"
   14509 _ACEOF
   14510 
   14511 # Some tools Automake needs.
   14512 
   14513 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   14514 
   14515 
   14516 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   14517 
   14518 
   14519 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   14520 
   14521 
   14522 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   14523 
   14524 
   14525 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   14526 
   14527 # For better backward compatibility.  To be removed once Automake 1.9.x
   14528 # dies out for good.  For more background, see:
   14529 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   14530 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   14531 mkdir_p='$(MKDIR_P)'
   14532 
   14533 # We need awk for the "check" target (and possibly the TAP driver).  The
   14534 # system "awk" is bad on some platforms.
   14535 # Always define AMTAR for backward compatibility.  Yes, it's still used
   14536 # in the wild :-(  We should find a proper way to deprecate it ...
   14537 AMTAR='$${TAR-tar}'
   14538 
   14539 
   14540 # We'll loop over all known methods to create a tar archive until one works.
   14541 _am_tools='gnutar  pax cpio none'
   14542 
   14543 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   14544 
   14545 
   14546 
   14547 
   14548 
   14549 depcc="$CC"   am_compiler_list=
   14550 
   14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   14552 $as_echo_n "checking dependency style of $depcc... " >&6; }
   14553 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   14554   $as_echo_n "(cached) " >&6
   14555 else
   14556   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   14557   # We make a subdir and do the tests there.  Otherwise we can end up
   14558   # making bogus files that we don't know about and never remove.  For
   14559   # instance it was reported that on HP-UX the gcc test will end up
   14560   # making a dummy file named 'D' -- because '-MD' means "put the output
   14561   # in D".
   14562   rm -rf conftest.dir
   14563   mkdir conftest.dir
   14564   # Copy depcomp to subdir because otherwise we won't find it if we're
   14565   # using a relative directory.
   14566   cp "$am_depcomp" conftest.dir
   14567   cd conftest.dir
   14568   # We will build objects and dependencies in a subdirectory because
   14569   # it helps to detect inapplicable dependency modes.  For instance
   14570   # both Tru64's cc and ICC support -MD to output dependencies as a
   14571   # side effect of compilation, but ICC will put the dependencies in
   14572   # the current directory while Tru64 will put them in the object
   14573   # directory.
   14574   mkdir sub
   14575 
   14576   am_cv_CC_dependencies_compiler_type=none
   14577   if test "$am_compiler_list" = ""; then
   14578      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   14579   fi
   14580   am__universal=false
   14581   case " $depcc " in #(
   14582      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   14583      esac
   14584 
   14585   for depmode in $am_compiler_list; do
   14586     # Setup a source with many dependencies, because some compilers
   14587     # like to wrap large dependency lists on column 80 (with \), and
   14588     # we should not choose a depcomp mode which is confused by this.
   14589     #
   14590     # We need to recreate these files for each test, as the compiler may
   14591     # overwrite some of them when testing with obscure command lines.
   14592     # This happens at least with the AIX C compiler.
   14593     : > sub/conftest.c
   14594     for i in 1 2 3 4 5 6; do
   14595       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   14596       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   14597       # Solaris 10 /bin/sh.
   14598       echo '/* dummy */' > sub/conftst$i.h
   14599     done
   14600     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   14601 
   14602     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   14603     # mode.  It turns out that the SunPro C++ compiler does not properly
   14604     # handle '-M -o', and we need to detect this.  Also, some Intel
   14605     # versions had trouble with output in subdirs.
   14606     am__obj=sub/conftest.${OBJEXT-o}
   14607     am__minus_obj="-o $am__obj"
   14608     case $depmode in
   14609     gcc)
   14610       # This depmode causes a compiler race in universal mode.
   14611       test "$am__universal" = false || continue
   14612       ;;
   14613     nosideeffect)
   14614       # After this tag, mechanisms are not by side-effect, so they'll
   14615       # only be used when explicitly requested.
   14616       if test "x$enable_dependency_tracking" = xyes; then
   14617 	continue
   14618       else
   14619 	break
   14620       fi
   14621       ;;
   14622     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   14623       # This compiler won't grok '-c -o', but also, the minuso test has
   14624       # not run yet.  These depmodes are late enough in the game, and
   14625       # so weak that their functioning should not be impacted.
   14626       am__obj=conftest.${OBJEXT-o}
   14627       am__minus_obj=
   14628       ;;
   14629     none) break ;;
   14630     esac
   14631     if depmode=$depmode \
   14632        source=sub/conftest.c object=$am__obj \
   14633        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   14634        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   14635          >/dev/null 2>conftest.err &&
   14636        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   14637        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   14638        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   14639        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   14640       # icc doesn't choke on unknown options, it will just issue warnings
   14641       # or remarks (even with -Werror).  So we grep stderr for any message
   14642       # that says an option was ignored or not supported.
   14643       # When given -MP, icc 7.0 and 7.1 complain thusly:
   14644       #   icc: Command line warning: ignoring option '-M'; no argument required
   14645       # The diagnosis changed in icc 8.0:
   14646       #   icc: Command line remark: option '-MP' not supported
   14647       if (grep 'ignoring option' conftest.err ||
   14648           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   14649         am_cv_CC_dependencies_compiler_type=$depmode
   14650         break
   14651       fi
   14652     fi
   14653   done
   14654 
   14655   cd ..
   14656   rm -rf conftest.dir
   14657 else
   14658   am_cv_CC_dependencies_compiler_type=none
   14659 fi
   14660 
   14661 fi
   14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   14663 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   14664 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   14665 
   14666  if
   14667   test "x$enable_dependency_tracking" != xno \
   14668   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   14669   am__fastdepCC_TRUE=
   14670   am__fastdepCC_FALSE='#'
   14671 else
   14672   am__fastdepCC_TRUE='#'
   14673   am__fastdepCC_FALSE=
   14674 fi
   14675 
   14676 
   14677 
   14678 # POSIX will say in a future version that running "rm -f" with no argument
   14679 # is OK; and we want to be able to make that assumption in our Makefile
   14680 # recipes.  So use an aggressive probe to check that the usage we want is
   14681 # actually supported "in the wild" to an acceptable degree.
   14682 # See automake bug#10828.
   14683 # To make any issue more visible, cause the running configure to be aborted
   14684 # by default if the 'rm' program in use doesn't match our expectations; the
   14685 # user can still override this though.
   14686 if rm -f && rm -fr && rm -rf; then : OK; else
   14687   cat >&2 <<'END'
   14688 Oops!
   14689 
   14690 Your 'rm' program seems unable to run without file operands specified
   14691 on the command line, even when the '-f' option is present.  This is contrary
   14692 to the behaviour of most rm programs out there, and not conforming with
   14693 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   14694 
   14695 Please tell bug-automake@gnu.org about your system, including the value
   14696 of your $PATH and any error possibly output before this message.  This
   14697 can help us improve future automake versions.
   14698 
   14699 END
   14700   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   14701     echo 'Configuration will proceed anyway, since you have set the' >&2
   14702     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   14703     echo >&2
   14704   else
   14705     cat >&2 <<'END'
   14706 Aborting the configuration process, to ensure you take notice of the issue.
   14707 
   14708 You can download and install GNU coreutils to get an 'rm' implementation
   14709 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   14710 
   14711 If you want to complete the configuration process using your problematic
   14712 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   14713 to "yes", and re-run configure.
   14714 
   14715 END
   14716     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   14717   fi
   14718 fi
   14719 
   14720 # Check whether --enable-silent-rules was given.
   14721 if test "${enable_silent_rules+set}" = set; then :
   14722   enableval=$enable_silent_rules;
   14723 fi
   14724 
   14725 case $enable_silent_rules in # (((
   14726   yes) AM_DEFAULT_VERBOSITY=0;;
   14727    no) AM_DEFAULT_VERBOSITY=1;;
   14728     *) AM_DEFAULT_VERBOSITY=0;;
   14729 esac
   14730 am_make=${MAKE-make}
   14731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   14732 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   14733 if ${am_cv_make_support_nested_variables+:} false; then :
   14734   $as_echo_n "(cached) " >&6
   14735 else
   14736   if $as_echo 'TRUE=$(BAR$(V))
   14737 BAR0=false
   14738 BAR1=true
   14739 V=1
   14740 am__doit:
   14741 	@$(TRUE)
   14742 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   14743   am_cv_make_support_nested_variables=yes
   14744 else
   14745   am_cv_make_support_nested_variables=no
   14746 fi
   14747 fi
   14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   14749 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   14750 if test $am_cv_make_support_nested_variables = yes; then
   14751     AM_V='$(V)'
   14752   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   14753 else
   14754   AM_V=$AM_DEFAULT_VERBOSITY
   14755   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   14756 fi
   14757 AM_BACKSLASH='\'
   14758 
   14759 
   14760 # If a cpu ever has more than one simulator to choose from, use
   14761 # --enable-sim=... to choose.
   14762 # Check whether --enable-sim was given.
   14763 if test "${enable_sim+set}" = set; then :
   14764   enableval=$enable_sim; case "${enableval}" in
   14765 yes | no) ;;
   14766 *)	as_fn_error $? "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
   14767 esac
   14768 fi
   14769 
   14770 
   14771 # Check whether --enable-example-sims was given.
   14772 if test "${enable_example_sims+set}" = set; then :
   14773   enableval=$enable_example_sims;
   14774 fi
   14775 
   14776 
   14777 # Check whether --enable-targets was given.
   14778 if test "${enable_targets+set}" = set; then :
   14779   enableval=$enable_targets; case "${enableval}" in
   14780   yes | "") as_fn_error $? "enable-targets option must specify target names or 'all'" "$LINENO" 5
   14781 	    ;;
   14782   no)       enable_targets= ;;
   14783   *)        enable_targets=$enableval ;;
   14784 esac
   14785 fi
   14786 
   14787 
   14788 SIM_PRIMARY_TARGET=
   14789 
   14790 
   14791 SIM_ENABLED_ARCHES=
   14792 
   14793 
   14794 ENABLE_SIM=no
   14795 
   14796 
   14797 
   14798 if test "${enable_sim}" != no; then
   14799   for targ in `echo $target $enable_targets | sed 's/,/ /g'`
   14800   do
   14801       sim_enable_arch_aarch64=false
   14802   case "${targ}" in
   14803     all|aarch64*-*-*)
   14804       if test "${targ}" = "${target}"; then
   14805         SIM_PRIMARY_TARGET=aarch64
   14806       fi
   14807         ENABLE_SIM=yes
   14808   as_fn_append SIM_ENABLED_ARCHES " aarch64"
   14809   ac_config_files="$ac_config_files aarch64/.gdbinit:common/gdbinit.in"
   14810 
   14811 
   14812       sim_enable_arch_aarch64=true
   14813       ;;
   14814   esac
   14815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5
   14816 $as_echo_n "checking where to find the target cc... " >&6; }
   14817 if test "x${build}" != "x${host}" ; then
   14818   if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
   14819     # We already found the complete path
   14820     ac_dir=`dirname $CC_FOR_TARGET`
   14821     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14822 $as_echo "pre-installed in $ac_dir" >&6; }
   14823   else
   14824     # Canadian cross, just use what we found
   14825     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14826 $as_echo "pre-installed" >&6; }
   14827   fi
   14828 else
   14829   ok=yes
   14830   case " ${configdirs} " in
   14831     *" ${target_alias}-gcc "*) ;;
   14832     *) ok=no ;;
   14833   esac
   14834 
   14835   if test $ok = yes; then
   14836     # An in-tree tool is available and we can use it
   14837     CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/${target_alias}-gcc'
   14838     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14839 $as_echo "just compiled" >&6; }
   14840   elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
   14841     # We already found the complete path
   14842     ac_dir=`dirname $CC_FOR_TARGET`
   14843     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14844 $as_echo "pre-installed in $ac_dir" >&6; }
   14845   elif test "x$target" = "x$host"; then
   14846     # We can use an host tool
   14847     CC_FOR_TARGET='$(CC)'
   14848     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14849 $as_echo "host tool" >&6; }
   14850   else
   14851     # We need a cross tool
   14852     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14853 $as_echo "pre-installed" >&6; }
   14854   fi
   14855 fi
   14856 
   14857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5
   14858 $as_echo_n "checking where to find the target as... " >&6; }
   14859 if test "x${build}" != "x${host}" ; then
   14860   if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
   14861     # We already found the complete path
   14862     ac_dir=`dirname $AS_FOR_TARGET`
   14863     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14864 $as_echo "pre-installed in $ac_dir" >&6; }
   14865   else
   14866     # Canadian cross, just use what we found
   14867     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14868 $as_echo "pre-installed" >&6; }
   14869   fi
   14870 else
   14871   ok=yes
   14872   case " ${configdirs} " in
   14873     *" \$(abs_builddir) "*) ;;
   14874     *) ok=no ;;
   14875   esac
   14876 
   14877   if test $ok = yes; then
   14878     # An in-tree tool is available and we can use it
   14879     AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/\$(abs_builddir)/../gas/as-new'
   14880     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14881 $as_echo "just compiled" >&6; }
   14882   elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
   14883     # We already found the complete path
   14884     ac_dir=`dirname $AS_FOR_TARGET`
   14885     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14886 $as_echo "pre-installed in $ac_dir" >&6; }
   14887   elif test "x$target" = "x$host"; then
   14888     # We can use an host tool
   14889     AS_FOR_TARGET='$(AS)'
   14890     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14891 $as_echo "host tool" >&6; }
   14892   else
   14893     # We need a cross tool
   14894     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14895 $as_echo "pre-installed" >&6; }
   14896   fi
   14897 fi
   14898 
   14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
   14900 $as_echo_n "checking where to find the target ld... " >&6; }
   14901 if test "x${build}" != "x${host}" ; then
   14902   if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
   14903     # We already found the complete path
   14904     ac_dir=`dirname $LD_FOR_TARGET`
   14905     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14906 $as_echo "pre-installed in $ac_dir" >&6; }
   14907   else
   14908     # Canadian cross, just use what we found
   14909     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14910 $as_echo "pre-installed" >&6; }
   14911   fi
   14912 else
   14913   ok=yes
   14914   case " ${configdirs} " in
   14915     *" \$(abs_builddir) "*) ;;
   14916     *) ok=no ;;
   14917   esac
   14918 
   14919   if test $ok = yes; then
   14920     # An in-tree tool is available and we can use it
   14921     LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/\$(abs_builddir)/../ld/ld-new'
   14922     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14923 $as_echo "just compiled" >&6; }
   14924   elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
   14925     # We already found the complete path
   14926     ac_dir=`dirname $LD_FOR_TARGET`
   14927     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14928 $as_echo "pre-installed in $ac_dir" >&6; }
   14929   elif test "x$target" = "x$host"; then
   14930     # We can use an host tool
   14931     LD_FOR_TARGET='$(LD)'
   14932     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14933 $as_echo "host tool" >&6; }
   14934   else
   14935     # We need a cross tool
   14936     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14937 $as_echo "pre-installed" >&6; }
   14938   fi
   14939 fi
   14940 
   14941 
   14942 
   14943 
   14944 
   14945 
   14946   if test "$SIM_PRIMARY_TARGET" = "aarch64"; then :
   14947       : "${AS_FOR_TARGET_AARCH64:=\$(AS_FOR_TARGET)}"
   14948     : "${LD_FOR_TARGET_AARCH64:=\$(LD_FOR_TARGET)}"
   14949     : "${CC_FOR_TARGET_AARCH64:=\$(CC_FOR_TARGET)}"
   14950 
   14951 fi
   14952 
   14953 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_AARCH64 LD_FOR_TARGET_AARCH64 CC_FOR_TARGET_AARCH64"
   14954 
   14955    if ${sim_enable_arch_aarch64}; then
   14956   SIM_ENABLE_ARCH_aarch64_TRUE=
   14957   SIM_ENABLE_ARCH_aarch64_FALSE='#'
   14958 else
   14959   SIM_ENABLE_ARCH_aarch64_TRUE='#'
   14960   SIM_ENABLE_ARCH_aarch64_FALSE=
   14961 fi
   14962 
   14963   sim_enable_arch_avr=false
   14964   case "${targ}" in
   14965     all|avr*-*-*)
   14966       if test "${targ}" = "${target}"; then
   14967         SIM_PRIMARY_TARGET=avr
   14968       fi
   14969         ENABLE_SIM=yes
   14970   as_fn_append SIM_ENABLED_ARCHES " avr"
   14971   ac_config_files="$ac_config_files avr/.gdbinit:common/gdbinit.in"
   14972 
   14973 
   14974       sim_enable_arch_avr=true
   14975       ;;
   14976   esac
   14977 
   14978 
   14979 
   14980 
   14981   if test "$SIM_PRIMARY_TARGET" = "avr"; then :
   14982       : "${AS_FOR_TARGET_AVR:=\$(AS_FOR_TARGET)}"
   14983     : "${LD_FOR_TARGET_AVR:=\$(LD_FOR_TARGET)}"
   14984     : "${CC_FOR_TARGET_AVR:=\$(CC_FOR_TARGET)}"
   14985 
   14986 fi
   14987 
   14988 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_AVR LD_FOR_TARGET_AVR CC_FOR_TARGET_AVR"
   14989 
   14990    if ${sim_enable_arch_avr}; then
   14991   SIM_ENABLE_ARCH_avr_TRUE=
   14992   SIM_ENABLE_ARCH_avr_FALSE='#'
   14993 else
   14994   SIM_ENABLE_ARCH_avr_TRUE='#'
   14995   SIM_ENABLE_ARCH_avr_FALSE=
   14996 fi
   14997 
   14998   sim_enable_arch_bfin=false
   14999   case "${targ}" in
   15000     all|bfin-*-*)
   15001       if test "${targ}" = "${target}"; then
   15002         SIM_PRIMARY_TARGET=bfin
   15003       fi
   15004         ENABLE_SIM=yes
   15005   as_fn_append SIM_ENABLED_ARCHES " bfin"
   15006   ac_config_files="$ac_config_files bfin/.gdbinit:common/gdbinit.in"
   15007 
   15008 
   15009       sim_enable_arch_bfin=true
   15010       ;;
   15011   esac
   15012 
   15013 
   15014 
   15015 
   15016   if test "$SIM_PRIMARY_TARGET" = "bfin"; then :
   15017       : "${AS_FOR_TARGET_BFIN:=\$(AS_FOR_TARGET)}"
   15018     : "${LD_FOR_TARGET_BFIN:=\$(LD_FOR_TARGET)}"
   15019     : "${CC_FOR_TARGET_BFIN:=\$(CC_FOR_TARGET)}"
   15020 
   15021 fi
   15022 
   15023 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_BFIN LD_FOR_TARGET_BFIN CC_FOR_TARGET_BFIN"
   15024 
   15025    if ${sim_enable_arch_bfin}; then
   15026   SIM_ENABLE_ARCH_bfin_TRUE=
   15027   SIM_ENABLE_ARCH_bfin_FALSE='#'
   15028 else
   15029   SIM_ENABLE_ARCH_bfin_TRUE='#'
   15030   SIM_ENABLE_ARCH_bfin_FALSE=
   15031 fi
   15032 
   15033   sim_enable_arch_bpf=false
   15034   case "${targ}" in
   15035     all|bpf-*-*)
   15036       if test "${targ}" = "${target}"; then
   15037         SIM_PRIMARY_TARGET=bpf
   15038       fi
   15039         ENABLE_SIM=yes
   15040   as_fn_append SIM_ENABLED_ARCHES " bpf"
   15041   ac_config_files="$ac_config_files bpf/.gdbinit:common/gdbinit.in"
   15042 
   15043 
   15044       sim_enable_arch_bpf=true
   15045       ;;
   15046   esac
   15047 
   15048 
   15049 
   15050 
   15051   if test "$SIM_PRIMARY_TARGET" = "bpf"; then :
   15052       : "${AS_FOR_TARGET_BPF:=\$(AS_FOR_TARGET)}"
   15053     : "${LD_FOR_TARGET_BPF:=\$(LD_FOR_TARGET)}"
   15054     : "${CC_FOR_TARGET_BPF:=\$(CC_FOR_TARGET)}"
   15055 
   15056 fi
   15057 
   15058 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_BPF LD_FOR_TARGET_BPF CC_FOR_TARGET_BPF"
   15059 
   15060    if ${sim_enable_arch_bpf}; then
   15061   SIM_ENABLE_ARCH_bpf_TRUE=
   15062   SIM_ENABLE_ARCH_bpf_FALSE='#'
   15063 else
   15064   SIM_ENABLE_ARCH_bpf_TRUE='#'
   15065   SIM_ENABLE_ARCH_bpf_FALSE=
   15066 fi
   15067 
   15068   sim_enable_arch_cr16=false
   15069   case "${targ}" in
   15070     all|cr16*-*-*)
   15071       if test "${targ}" = "${target}"; then
   15072         SIM_PRIMARY_TARGET=cr16
   15073       fi
   15074         ENABLE_SIM=yes
   15075   as_fn_append SIM_ENABLED_ARCHES " cr16"
   15076   ac_config_files="$ac_config_files cr16/.gdbinit:common/gdbinit.in"
   15077 
   15078 
   15079       sim_enable_arch_cr16=true
   15080       ;;
   15081   esac
   15082 
   15083 
   15084 
   15085 
   15086   if test "$SIM_PRIMARY_TARGET" = "cr16"; then :
   15087       : "${AS_FOR_TARGET_CR16:=\$(AS_FOR_TARGET)}"
   15088     : "${LD_FOR_TARGET_CR16:=\$(LD_FOR_TARGET)}"
   15089     : "${CC_FOR_TARGET_CR16:=\$(CC_FOR_TARGET)}"
   15090 
   15091 fi
   15092 
   15093 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_CR16 LD_FOR_TARGET_CR16 CC_FOR_TARGET_CR16"
   15094 
   15095    if ${sim_enable_arch_cr16}; then
   15096   SIM_ENABLE_ARCH_cr16_TRUE=
   15097   SIM_ENABLE_ARCH_cr16_FALSE='#'
   15098 else
   15099   SIM_ENABLE_ARCH_cr16_TRUE='#'
   15100   SIM_ENABLE_ARCH_cr16_FALSE=
   15101 fi
   15102 
   15103   sim_enable_arch_cris=false
   15104   case "${targ}" in
   15105     all|cris-*-* | crisv32-*-*)
   15106       if test "${targ}" = "${target}"; then
   15107         SIM_PRIMARY_TARGET=cris
   15108       fi
   15109         ENABLE_SIM=yes
   15110   as_fn_append SIM_ENABLED_ARCHES " cris"
   15111   ac_config_files="$ac_config_files cris/.gdbinit:common/gdbinit.in"
   15112 
   15113 
   15114       sim_enable_arch_cris=true
   15115       ;;
   15116   esac
   15117 
   15118 
   15119 
   15120 
   15121   if test "$SIM_PRIMARY_TARGET" = "cris"; then :
   15122       : "${AS_FOR_TARGET_CRIS:=\$(AS_FOR_TARGET)}"
   15123     : "${LD_FOR_TARGET_CRIS:=\$(LD_FOR_TARGET)}"
   15124     : "${CC_FOR_TARGET_CRIS:=\$(CC_FOR_TARGET)}"
   15125 
   15126 fi
   15127 
   15128 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_CRIS LD_FOR_TARGET_CRIS CC_FOR_TARGET_CRIS"
   15129 
   15130    if ${sim_enable_arch_cris}; then
   15131   SIM_ENABLE_ARCH_cris_TRUE=
   15132   SIM_ENABLE_ARCH_cris_FALSE='#'
   15133 else
   15134   SIM_ENABLE_ARCH_cris_TRUE='#'
   15135   SIM_ENABLE_ARCH_cris_FALSE=
   15136 fi
   15137 
   15138   sim_enable_arch_d10v=false
   15139   case "${targ}" in
   15140     all|d10v-*-*)
   15141       if test "${targ}" = "${target}"; then
   15142         SIM_PRIMARY_TARGET=d10v
   15143       fi
   15144         ENABLE_SIM=yes
   15145   as_fn_append SIM_ENABLED_ARCHES " d10v"
   15146   ac_config_files="$ac_config_files d10v/.gdbinit:common/gdbinit.in"
   15147 
   15148 
   15149       sim_enable_arch_d10v=true
   15150       ;;
   15151   esac
   15152 
   15153 
   15154 
   15155 
   15156   if test "$SIM_PRIMARY_TARGET" = "d10v"; then :
   15157       : "${AS_FOR_TARGET_D10V:=\$(AS_FOR_TARGET)}"
   15158     : "${LD_FOR_TARGET_D10V:=\$(LD_FOR_TARGET)}"
   15159     : "${CC_FOR_TARGET_D10V:=\$(CC_FOR_TARGET)}"
   15160 
   15161 fi
   15162 
   15163 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_D10V LD_FOR_TARGET_D10V CC_FOR_TARGET_D10V"
   15164 
   15165    if ${sim_enable_arch_d10v}; then
   15166   SIM_ENABLE_ARCH_d10v_TRUE=
   15167   SIM_ENABLE_ARCH_d10v_FALSE='#'
   15168 else
   15169   SIM_ENABLE_ARCH_d10v_TRUE='#'
   15170   SIM_ENABLE_ARCH_d10v_FALSE=
   15171 fi
   15172 
   15173   sim_enable_arch_frv=false
   15174   case "${targ}" in
   15175     all|frv-*-*)
   15176       if test "${targ}" = "${target}"; then
   15177         SIM_PRIMARY_TARGET=frv
   15178       fi
   15179         ENABLE_SIM=yes
   15180   as_fn_append SIM_ENABLED_ARCHES " frv"
   15181   ac_config_files="$ac_config_files frv/.gdbinit:common/gdbinit.in"
   15182 
   15183 
   15184       sim_enable_arch_frv=true
   15185       ;;
   15186   esac
   15187 
   15188 
   15189 
   15190 
   15191   if test "$SIM_PRIMARY_TARGET" = "frv"; then :
   15192       : "${AS_FOR_TARGET_FRV:=\$(AS_FOR_TARGET)}"
   15193     : "${LD_FOR_TARGET_FRV:=\$(LD_FOR_TARGET)}"
   15194     : "${CC_FOR_TARGET_FRV:=\$(CC_FOR_TARGET)}"
   15195 
   15196 fi
   15197 
   15198 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_FRV LD_FOR_TARGET_FRV CC_FOR_TARGET_FRV"
   15199 
   15200    if ${sim_enable_arch_frv}; then
   15201   SIM_ENABLE_ARCH_frv_TRUE=
   15202   SIM_ENABLE_ARCH_frv_FALSE='#'
   15203 else
   15204   SIM_ENABLE_ARCH_frv_TRUE='#'
   15205   SIM_ENABLE_ARCH_frv_FALSE=
   15206 fi
   15207 
   15208   sim_enable_arch_ft32=false
   15209   case "${targ}" in
   15210     all|ft32-*-*)
   15211       if test "${targ}" = "${target}"; then
   15212         SIM_PRIMARY_TARGET=ft32
   15213       fi
   15214         ENABLE_SIM=yes
   15215   as_fn_append SIM_ENABLED_ARCHES " ft32"
   15216   ac_config_files="$ac_config_files ft32/.gdbinit:common/gdbinit.in"
   15217 
   15218 
   15219       sim_enable_arch_ft32=true
   15220       ;;
   15221   esac
   15222 
   15223 
   15224 
   15225 
   15226   if test "$SIM_PRIMARY_TARGET" = "ft32"; then :
   15227       : "${AS_FOR_TARGET_FT32:=\$(AS_FOR_TARGET)}"
   15228     : "${LD_FOR_TARGET_FT32:=\$(LD_FOR_TARGET)}"
   15229     : "${CC_FOR_TARGET_FT32:=\$(CC_FOR_TARGET)}"
   15230 
   15231 fi
   15232 
   15233 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_FT32 LD_FOR_TARGET_FT32 CC_FOR_TARGET_FT32"
   15234 
   15235    if ${sim_enable_arch_ft32}; then
   15236   SIM_ENABLE_ARCH_ft32_TRUE=
   15237   SIM_ENABLE_ARCH_ft32_FALSE='#'
   15238 else
   15239   SIM_ENABLE_ARCH_ft32_TRUE='#'
   15240   SIM_ENABLE_ARCH_ft32_FALSE=
   15241 fi
   15242 
   15243   sim_enable_arch_h8300=false
   15244   case "${targ}" in
   15245     all|h8300*-*-*)
   15246       if test "${targ}" = "${target}"; then
   15247         SIM_PRIMARY_TARGET=h8300
   15248       fi
   15249         ENABLE_SIM=yes
   15250   as_fn_append SIM_ENABLED_ARCHES " h8300"
   15251   ac_config_files="$ac_config_files h8300/.gdbinit:common/gdbinit.in"
   15252 
   15253 
   15254       sim_enable_arch_h8300=true
   15255       ;;
   15256   esac
   15257 
   15258 
   15259 
   15260 
   15261   if test "$SIM_PRIMARY_TARGET" = "h8300"; then :
   15262       : "${AS_FOR_TARGET_H8300:=\$(AS_FOR_TARGET)}"
   15263     : "${LD_FOR_TARGET_H8300:=\$(LD_FOR_TARGET)}"
   15264     : "${CC_FOR_TARGET_H8300:=\$(CC_FOR_TARGET)}"
   15265 
   15266 fi
   15267 
   15268 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_H8300 LD_FOR_TARGET_H8300 CC_FOR_TARGET_H8300"
   15269 
   15270    if ${sim_enable_arch_h8300}; then
   15271   SIM_ENABLE_ARCH_h8300_TRUE=
   15272   SIM_ENABLE_ARCH_h8300_FALSE='#'
   15273 else
   15274   SIM_ENABLE_ARCH_h8300_TRUE='#'
   15275   SIM_ENABLE_ARCH_h8300_FALSE=
   15276 fi
   15277 
   15278   sim_enable_arch_iq2000=false
   15279   case "${targ}" in
   15280     all|iq2000-*-*)
   15281       if test "${targ}" = "${target}"; then
   15282         SIM_PRIMARY_TARGET=iq2000
   15283       fi
   15284         ENABLE_SIM=yes
   15285   as_fn_append SIM_ENABLED_ARCHES " iq2000"
   15286   ac_config_files="$ac_config_files iq2000/.gdbinit:common/gdbinit.in"
   15287 
   15288 
   15289       sim_enable_arch_iq2000=true
   15290       ;;
   15291   esac
   15292 
   15293 
   15294 
   15295 
   15296   if test "$SIM_PRIMARY_TARGET" = "iq2000"; then :
   15297       : "${AS_FOR_TARGET_IQ2000:=\$(AS_FOR_TARGET)}"
   15298     : "${LD_FOR_TARGET_IQ2000:=\$(LD_FOR_TARGET)}"
   15299     : "${CC_FOR_TARGET_IQ2000:=\$(CC_FOR_TARGET)}"
   15300 
   15301 fi
   15302 
   15303 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_IQ2000 LD_FOR_TARGET_IQ2000 CC_FOR_TARGET_IQ2000"
   15304 
   15305    if ${sim_enable_arch_iq2000}; then
   15306   SIM_ENABLE_ARCH_iq2000_TRUE=
   15307   SIM_ENABLE_ARCH_iq2000_FALSE='#'
   15308 else
   15309   SIM_ENABLE_ARCH_iq2000_TRUE='#'
   15310   SIM_ENABLE_ARCH_iq2000_FALSE=
   15311 fi
   15312 
   15313   sim_enable_arch_lm32=false
   15314   case "${targ}" in
   15315     all|lm32-*-*)
   15316       if test "${targ}" = "${target}"; then
   15317         SIM_PRIMARY_TARGET=lm32
   15318       fi
   15319         ENABLE_SIM=yes
   15320   as_fn_append SIM_ENABLED_ARCHES " lm32"
   15321   ac_config_files="$ac_config_files lm32/.gdbinit:common/gdbinit.in"
   15322 
   15323 
   15324       sim_enable_arch_lm32=true
   15325       ;;
   15326   esac
   15327 
   15328 
   15329 
   15330 
   15331   if test "$SIM_PRIMARY_TARGET" = "lm32"; then :
   15332       : "${AS_FOR_TARGET_LM32:=\$(AS_FOR_TARGET)}"
   15333     : "${LD_FOR_TARGET_LM32:=\$(LD_FOR_TARGET)}"
   15334     : "${CC_FOR_TARGET_LM32:=\$(CC_FOR_TARGET)}"
   15335 
   15336 fi
   15337 
   15338 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_LM32 LD_FOR_TARGET_LM32 CC_FOR_TARGET_LM32"
   15339 
   15340    if ${sim_enable_arch_lm32}; then
   15341   SIM_ENABLE_ARCH_lm32_TRUE=
   15342   SIM_ENABLE_ARCH_lm32_FALSE='#'
   15343 else
   15344   SIM_ENABLE_ARCH_lm32_TRUE='#'
   15345   SIM_ENABLE_ARCH_lm32_FALSE=
   15346 fi
   15347 
   15348   sim_enable_arch_m32c=false
   15349   case "${targ}" in
   15350     all|m32c-*-*)
   15351       if test "${targ}" = "${target}"; then
   15352         SIM_PRIMARY_TARGET=m32c
   15353       fi
   15354         ENABLE_SIM=yes
   15355   as_fn_append SIM_ENABLED_ARCHES " m32c"
   15356   ac_config_files="$ac_config_files m32c/.gdbinit:common/gdbinit.in"
   15357 
   15358 
   15359       sim_enable_arch_m32c=true
   15360       ;;
   15361   esac
   15362 
   15363 
   15364 
   15365 
   15366   if test "$SIM_PRIMARY_TARGET" = "m32c"; then :
   15367       : "${AS_FOR_TARGET_M32C:=\$(AS_FOR_TARGET)}"
   15368     : "${LD_FOR_TARGET_M32C:=\$(LD_FOR_TARGET)}"
   15369     : "${CC_FOR_TARGET_M32C:=\$(CC_FOR_TARGET)}"
   15370 
   15371 fi
   15372 
   15373 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_M32C LD_FOR_TARGET_M32C CC_FOR_TARGET_M32C"
   15374 
   15375    if ${sim_enable_arch_m32c}; then
   15376   SIM_ENABLE_ARCH_m32c_TRUE=
   15377   SIM_ENABLE_ARCH_m32c_FALSE='#'
   15378 else
   15379   SIM_ENABLE_ARCH_m32c_TRUE='#'
   15380   SIM_ENABLE_ARCH_m32c_FALSE=
   15381 fi
   15382 
   15383   sim_enable_arch_m32r=false
   15384   case "${targ}" in
   15385     all|m32r-*-*)
   15386       if test "${targ}" = "${target}"; then
   15387         SIM_PRIMARY_TARGET=m32r
   15388       fi
   15389         ENABLE_SIM=yes
   15390   as_fn_append SIM_ENABLED_ARCHES " m32r"
   15391   ac_config_files="$ac_config_files m32r/.gdbinit:common/gdbinit.in"
   15392 
   15393 
   15394       sim_enable_arch_m32r=true
   15395       ;;
   15396   esac
   15397 
   15398 
   15399 
   15400 
   15401   if test "$SIM_PRIMARY_TARGET" = "m32r"; then :
   15402       : "${AS_FOR_TARGET_M32R:=\$(AS_FOR_TARGET)}"
   15403     : "${LD_FOR_TARGET_M32R:=\$(LD_FOR_TARGET)}"
   15404     : "${CC_FOR_TARGET_M32R:=\$(CC_FOR_TARGET)}"
   15405 
   15406 fi
   15407 
   15408 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_M32R LD_FOR_TARGET_M32R CC_FOR_TARGET_M32R"
   15409 
   15410    if ${sim_enable_arch_m32r}; then
   15411   SIM_ENABLE_ARCH_m32r_TRUE=
   15412   SIM_ENABLE_ARCH_m32r_FALSE='#'
   15413 else
   15414   SIM_ENABLE_ARCH_m32r_TRUE='#'
   15415   SIM_ENABLE_ARCH_m32r_FALSE=
   15416 fi
   15417 
   15418   sim_enable_arch_m68hc11=false
   15419   case "${targ}" in
   15420     all|m68hc11-*-*|m6811-*-*)
   15421       if test "${targ}" = "${target}"; then
   15422         SIM_PRIMARY_TARGET=m68hc11
   15423       fi
   15424         ENABLE_SIM=yes
   15425   as_fn_append SIM_ENABLED_ARCHES " m68hc11"
   15426   ac_config_files="$ac_config_files m68hc11/.gdbinit:common/gdbinit.in"
   15427 
   15428 
   15429       sim_enable_arch_m68hc11=true
   15430       ;;
   15431   esac
   15432 
   15433 
   15434 
   15435 
   15436   if test "$SIM_PRIMARY_TARGET" = "m68hc11"; then :
   15437       : "${AS_FOR_TARGET_M68HC11:=\$(AS_FOR_TARGET)}"
   15438     : "${LD_FOR_TARGET_M68HC11:=\$(LD_FOR_TARGET)}"
   15439     : "${CC_FOR_TARGET_M68HC11:=\$(CC_FOR_TARGET)}"
   15440 
   15441 fi
   15442 
   15443 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_M68HC11 LD_FOR_TARGET_M68HC11 CC_FOR_TARGET_M68HC11"
   15444 
   15445    if ${sim_enable_arch_m68hc11}; then
   15446   SIM_ENABLE_ARCH_m68hc11_TRUE=
   15447   SIM_ENABLE_ARCH_m68hc11_FALSE='#'
   15448 else
   15449   SIM_ENABLE_ARCH_m68hc11_TRUE='#'
   15450   SIM_ENABLE_ARCH_m68hc11_FALSE=
   15451 fi
   15452 
   15453   sim_enable_arch_mcore=false
   15454   case "${targ}" in
   15455     all|mcore-*-*)
   15456       if test "${targ}" = "${target}"; then
   15457         SIM_PRIMARY_TARGET=mcore
   15458       fi
   15459         ENABLE_SIM=yes
   15460   as_fn_append SIM_ENABLED_ARCHES " mcore"
   15461   ac_config_files="$ac_config_files mcore/.gdbinit:common/gdbinit.in"
   15462 
   15463 
   15464       sim_enable_arch_mcore=true
   15465       ;;
   15466   esac
   15467 
   15468 
   15469 
   15470 
   15471   if test "$SIM_PRIMARY_TARGET" = "mcore"; then :
   15472       : "${AS_FOR_TARGET_MCORE:=\$(AS_FOR_TARGET)}"
   15473     : "${LD_FOR_TARGET_MCORE:=\$(LD_FOR_TARGET)}"
   15474     : "${CC_FOR_TARGET_MCORE:=\$(CC_FOR_TARGET)}"
   15475 
   15476 fi
   15477 
   15478 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_MCORE LD_FOR_TARGET_MCORE CC_FOR_TARGET_MCORE"
   15479 
   15480    if ${sim_enable_arch_mcore}; then
   15481   SIM_ENABLE_ARCH_mcore_TRUE=
   15482   SIM_ENABLE_ARCH_mcore_FALSE='#'
   15483 else
   15484   SIM_ENABLE_ARCH_mcore_TRUE='#'
   15485   SIM_ENABLE_ARCH_mcore_FALSE=
   15486 fi
   15487 
   15488   sim_enable_arch_microblaze=false
   15489   case "${targ}" in
   15490     all|microblaze*-*-*)
   15491       if test "${targ}" = "${target}"; then
   15492         SIM_PRIMARY_TARGET=microblaze
   15493       fi
   15494         ENABLE_SIM=yes
   15495   as_fn_append SIM_ENABLED_ARCHES " microblaze"
   15496   ac_config_files="$ac_config_files microblaze/.gdbinit:common/gdbinit.in"
   15497 
   15498 
   15499       sim_enable_arch_microblaze=true
   15500       ;;
   15501   esac
   15502 
   15503 
   15504 
   15505 
   15506   if test "$SIM_PRIMARY_TARGET" = "microblaze"; then :
   15507       : "${AS_FOR_TARGET_MICROBLAZE:=\$(AS_FOR_TARGET)}"
   15508     : "${LD_FOR_TARGET_MICROBLAZE:=\$(LD_FOR_TARGET)}"
   15509     : "${CC_FOR_TARGET_MICROBLAZE:=\$(CC_FOR_TARGET)}"
   15510 
   15511 fi
   15512 
   15513 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_MICROBLAZE LD_FOR_TARGET_MICROBLAZE CC_FOR_TARGET_MICROBLAZE"
   15514 
   15515    if ${sim_enable_arch_microblaze}; then
   15516   SIM_ENABLE_ARCH_microblaze_TRUE=
   15517   SIM_ENABLE_ARCH_microblaze_FALSE='#'
   15518 else
   15519   SIM_ENABLE_ARCH_microblaze_TRUE='#'
   15520   SIM_ENABLE_ARCH_microblaze_FALSE=
   15521 fi
   15522 
   15523   sim_enable_arch_mips=false
   15524   case "${targ}" in
   15525     all|mips*-*-*)
   15526       if test "${targ}" = "${target}"; then
   15527         SIM_PRIMARY_TARGET=mips
   15528       fi
   15529         ENABLE_SIM=yes
   15530   as_fn_append SIM_ENABLED_ARCHES " mips"
   15531   ac_config_files="$ac_config_files mips/.gdbinit:common/gdbinit.in"
   15532 
   15533 
   15534       sim_enable_arch_mips=true
   15535       ;;
   15536   esac
   15537 
   15538 
   15539 
   15540 
   15541   if test "$SIM_PRIMARY_TARGET" = "mips"; then :
   15542       : "${AS_FOR_TARGET_MIPS:=\$(AS_FOR_TARGET)}"
   15543     : "${LD_FOR_TARGET_MIPS:=\$(LD_FOR_TARGET)}"
   15544     : "${CC_FOR_TARGET_MIPS:=\$(CC_FOR_TARGET)}"
   15545 
   15546 fi
   15547 
   15548 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_MIPS LD_FOR_TARGET_MIPS CC_FOR_TARGET_MIPS"
   15549 
   15550    if ${sim_enable_arch_mips}; then
   15551   SIM_ENABLE_ARCH_mips_TRUE=
   15552   SIM_ENABLE_ARCH_mips_FALSE='#'
   15553 else
   15554   SIM_ENABLE_ARCH_mips_TRUE='#'
   15555   SIM_ENABLE_ARCH_mips_FALSE=
   15556 fi
   15557 
   15558   sim_enable_arch_mn10300=false
   15559   case "${targ}" in
   15560     all|mn10300*-*-*)
   15561       if test "${targ}" = "${target}"; then
   15562         SIM_PRIMARY_TARGET=mn10300
   15563       fi
   15564         ENABLE_SIM=yes
   15565   as_fn_append SIM_ENABLED_ARCHES " mn10300"
   15566   ac_config_files="$ac_config_files mn10300/.gdbinit:common/gdbinit.in"
   15567 
   15568 
   15569       sim_enable_arch_mn10300=true
   15570       ;;
   15571   esac
   15572 
   15573 
   15574 
   15575 
   15576   if test "$SIM_PRIMARY_TARGET" = "mn10300"; then :
   15577       : "${AS_FOR_TARGET_MN10300:=\$(AS_FOR_TARGET)}"
   15578     : "${LD_FOR_TARGET_MN10300:=\$(LD_FOR_TARGET)}"
   15579     : "${CC_FOR_TARGET_MN10300:=\$(CC_FOR_TARGET)}"
   15580 
   15581 fi
   15582 
   15583 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_MN10300 LD_FOR_TARGET_MN10300 CC_FOR_TARGET_MN10300"
   15584 
   15585    if ${sim_enable_arch_mn10300}; then
   15586   SIM_ENABLE_ARCH_mn10300_TRUE=
   15587   SIM_ENABLE_ARCH_mn10300_FALSE='#'
   15588 else
   15589   SIM_ENABLE_ARCH_mn10300_TRUE='#'
   15590   SIM_ENABLE_ARCH_mn10300_FALSE=
   15591 fi
   15592 
   15593   sim_enable_arch_moxie=false
   15594   case "${targ}" in
   15595     all|moxie-*-*)
   15596       if test "${targ}" = "${target}"; then
   15597         SIM_PRIMARY_TARGET=moxie
   15598       fi
   15599         ENABLE_SIM=yes
   15600   as_fn_append SIM_ENABLED_ARCHES " moxie"
   15601   ac_config_files="$ac_config_files moxie/.gdbinit:common/gdbinit.in"
   15602 
   15603 
   15604       sim_enable_arch_moxie=true
   15605       ;;
   15606   esac
   15607 
   15608 
   15609 
   15610 
   15611   if test "$SIM_PRIMARY_TARGET" = "moxie"; then :
   15612       : "${AS_FOR_TARGET_MOXIE:=\$(AS_FOR_TARGET)}"
   15613     : "${LD_FOR_TARGET_MOXIE:=\$(LD_FOR_TARGET)}"
   15614     : "${CC_FOR_TARGET_MOXIE:=\$(CC_FOR_TARGET)}"
   15615 
   15616 fi
   15617 
   15618 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_MOXIE LD_FOR_TARGET_MOXIE CC_FOR_TARGET_MOXIE"
   15619 
   15620    if ${sim_enable_arch_moxie}; then
   15621   SIM_ENABLE_ARCH_moxie_TRUE=
   15622   SIM_ENABLE_ARCH_moxie_FALSE='#'
   15623 else
   15624   SIM_ENABLE_ARCH_moxie_TRUE='#'
   15625   SIM_ENABLE_ARCH_moxie_FALSE=
   15626 fi
   15627 
   15628   sim_enable_arch_msp430=false
   15629   case "${targ}" in
   15630     all|msp430*-*-*)
   15631       if test "${targ}" = "${target}"; then
   15632         SIM_PRIMARY_TARGET=msp430
   15633       fi
   15634         ENABLE_SIM=yes
   15635   as_fn_append SIM_ENABLED_ARCHES " msp430"
   15636   ac_config_files="$ac_config_files msp430/.gdbinit:common/gdbinit.in"
   15637 
   15638 
   15639       sim_enable_arch_msp430=true
   15640       ;;
   15641   esac
   15642 
   15643 
   15644 
   15645 
   15646   if test "$SIM_PRIMARY_TARGET" = "msp430"; then :
   15647       : "${AS_FOR_TARGET_MSP430:=\$(AS_FOR_TARGET)}"
   15648     : "${LD_FOR_TARGET_MSP430:=\$(LD_FOR_TARGET)}"
   15649     : "${CC_FOR_TARGET_MSP430:=\$(CC_FOR_TARGET)}"
   15650 
   15651 fi
   15652 
   15653 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_MSP430 LD_FOR_TARGET_MSP430 CC_FOR_TARGET_MSP430"
   15654 
   15655    if ${sim_enable_arch_msp430}; then
   15656   SIM_ENABLE_ARCH_msp430_TRUE=
   15657   SIM_ENABLE_ARCH_msp430_FALSE='#'
   15658 else
   15659   SIM_ENABLE_ARCH_msp430_TRUE='#'
   15660   SIM_ENABLE_ARCH_msp430_FALSE=
   15661 fi
   15662 
   15663   sim_enable_arch_or1k=false
   15664   case "${targ}" in
   15665     all|or1k*-*-*)
   15666       if test "${targ}" = "${target}"; then
   15667         SIM_PRIMARY_TARGET=or1k
   15668       fi
   15669         ENABLE_SIM=yes
   15670   as_fn_append SIM_ENABLED_ARCHES " or1k"
   15671   ac_config_files="$ac_config_files or1k/.gdbinit:common/gdbinit.in"
   15672 
   15673 
   15674       sim_enable_arch_or1k=true
   15675       ;;
   15676   esac
   15677 
   15678 
   15679 
   15680 
   15681   if test "$SIM_PRIMARY_TARGET" = "or1k"; then :
   15682       : "${AS_FOR_TARGET_OR1K:=\$(AS_FOR_TARGET)}"
   15683     : "${LD_FOR_TARGET_OR1K:=\$(LD_FOR_TARGET)}"
   15684     : "${CC_FOR_TARGET_OR1K:=\$(CC_FOR_TARGET)}"
   15685 
   15686 fi
   15687 
   15688 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_OR1K LD_FOR_TARGET_OR1K CC_FOR_TARGET_OR1K"
   15689 
   15690    if ${sim_enable_arch_or1k}; then
   15691   SIM_ENABLE_ARCH_or1k_TRUE=
   15692   SIM_ENABLE_ARCH_or1k_FALSE='#'
   15693 else
   15694   SIM_ENABLE_ARCH_or1k_TRUE='#'
   15695   SIM_ENABLE_ARCH_or1k_FALSE=
   15696 fi
   15697 
   15698   sim_enable_arch_ppc=false
   15699   case "${targ}" in
   15700     all|powerpc*-*-*)
   15701       if test "${targ}" = "${target}"; then
   15702         SIM_PRIMARY_TARGET=ppc
   15703       fi
   15704         ENABLE_SIM=yes
   15705   as_fn_append SIM_ENABLED_ARCHES " ppc"
   15706   ac_config_files="$ac_config_files ppc/.gdbinit:common/gdbinit.in"
   15707 
   15708 
   15709       sim_enable_arch_ppc=true
   15710       ;;
   15711   esac
   15712 
   15713 
   15714 
   15715 
   15716   if test "$SIM_PRIMARY_TARGET" = "ppc"; then :
   15717       : "${AS_FOR_TARGET_PPC:=\$(AS_FOR_TARGET)}"
   15718     : "${LD_FOR_TARGET_PPC:=\$(LD_FOR_TARGET)}"
   15719     : "${CC_FOR_TARGET_PPC:=\$(CC_FOR_TARGET)}"
   15720 
   15721 fi
   15722 
   15723 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_PPC LD_FOR_TARGET_PPC CC_FOR_TARGET_PPC"
   15724 
   15725    if ${sim_enable_arch_ppc}; then
   15726   SIM_ENABLE_ARCH_ppc_TRUE=
   15727   SIM_ENABLE_ARCH_ppc_FALSE='#'
   15728 else
   15729   SIM_ENABLE_ARCH_ppc_TRUE='#'
   15730   SIM_ENABLE_ARCH_ppc_FALSE=
   15731 fi
   15732 
   15733   sim_enable_arch_pru=false
   15734   case "${targ}" in
   15735     all|pru*-*-*)
   15736       if test "${targ}" = "${target}"; then
   15737         SIM_PRIMARY_TARGET=pru
   15738       fi
   15739         ENABLE_SIM=yes
   15740   as_fn_append SIM_ENABLED_ARCHES " pru"
   15741   ac_config_files="$ac_config_files pru/.gdbinit:common/gdbinit.in"
   15742 
   15743 
   15744       sim_enable_arch_pru=true
   15745       ;;
   15746   esac
   15747 
   15748 
   15749 
   15750 
   15751   if test "$SIM_PRIMARY_TARGET" = "pru"; then :
   15752       : "${AS_FOR_TARGET_PRU:=\$(AS_FOR_TARGET)}"
   15753     : "${LD_FOR_TARGET_PRU:=\$(LD_FOR_TARGET)}"
   15754     : "${CC_FOR_TARGET_PRU:=\$(CC_FOR_TARGET)}"
   15755 
   15756 fi
   15757 
   15758 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_PRU LD_FOR_TARGET_PRU CC_FOR_TARGET_PRU"
   15759 
   15760    if ${sim_enable_arch_pru}; then
   15761   SIM_ENABLE_ARCH_pru_TRUE=
   15762   SIM_ENABLE_ARCH_pru_FALSE='#'
   15763 else
   15764   SIM_ENABLE_ARCH_pru_TRUE='#'
   15765   SIM_ENABLE_ARCH_pru_FALSE=
   15766 fi
   15767 
   15768   sim_enable_arch_riscv=false
   15769   case "${targ}" in
   15770     all|riscv*-*-*)
   15771       if test "${targ}" = "${target}"; then
   15772         SIM_PRIMARY_TARGET=riscv
   15773       fi
   15774         ENABLE_SIM=yes
   15775   as_fn_append SIM_ENABLED_ARCHES " riscv"
   15776   ac_config_files="$ac_config_files riscv/.gdbinit:common/gdbinit.in"
   15777 
   15778 
   15779       sim_enable_arch_riscv=true
   15780       ;;
   15781   esac
   15782 
   15783 
   15784 
   15785 
   15786   if test "$SIM_PRIMARY_TARGET" = "riscv"; then :
   15787       : "${AS_FOR_TARGET_RISCV:=\$(AS_FOR_TARGET)}"
   15788     : "${LD_FOR_TARGET_RISCV:=\$(LD_FOR_TARGET)}"
   15789     : "${CC_FOR_TARGET_RISCV:=\$(CC_FOR_TARGET)}"
   15790 
   15791 fi
   15792 
   15793 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_RISCV LD_FOR_TARGET_RISCV CC_FOR_TARGET_RISCV"
   15794 
   15795    if ${sim_enable_arch_riscv}; then
   15796   SIM_ENABLE_ARCH_riscv_TRUE=
   15797   SIM_ENABLE_ARCH_riscv_FALSE='#'
   15798 else
   15799   SIM_ENABLE_ARCH_riscv_TRUE='#'
   15800   SIM_ENABLE_ARCH_riscv_FALSE=
   15801 fi
   15802 
   15803   sim_enable_arch_rl78=false
   15804   case "${targ}" in
   15805     all|rl78-*-*)
   15806       if test "${targ}" = "${target}"; then
   15807         SIM_PRIMARY_TARGET=rl78
   15808       fi
   15809         ENABLE_SIM=yes
   15810   as_fn_append SIM_ENABLED_ARCHES " rl78"
   15811   ac_config_files="$ac_config_files rl78/.gdbinit:common/gdbinit.in"
   15812 
   15813 
   15814       sim_enable_arch_rl78=true
   15815       ;;
   15816   esac
   15817 
   15818 
   15819 
   15820 
   15821   if test "$SIM_PRIMARY_TARGET" = "rl78"; then :
   15822       : "${AS_FOR_TARGET_RL78:=\$(AS_FOR_TARGET)}"
   15823     : "${LD_FOR_TARGET_RL78:=\$(LD_FOR_TARGET)}"
   15824     : "${CC_FOR_TARGET_RL78:=\$(CC_FOR_TARGET)}"
   15825 
   15826 fi
   15827 
   15828 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_RL78 LD_FOR_TARGET_RL78 CC_FOR_TARGET_RL78"
   15829 
   15830    if ${sim_enable_arch_rl78}; then
   15831   SIM_ENABLE_ARCH_rl78_TRUE=
   15832   SIM_ENABLE_ARCH_rl78_FALSE='#'
   15833 else
   15834   SIM_ENABLE_ARCH_rl78_TRUE='#'
   15835   SIM_ENABLE_ARCH_rl78_FALSE=
   15836 fi
   15837 
   15838   sim_enable_arch_rx=false
   15839   case "${targ}" in
   15840     all|rx-*-*)
   15841       if test "${targ}" = "${target}"; then
   15842         SIM_PRIMARY_TARGET=rx
   15843       fi
   15844         ENABLE_SIM=yes
   15845   as_fn_append SIM_ENABLED_ARCHES " rx"
   15846   ac_config_files="$ac_config_files rx/.gdbinit:common/gdbinit.in"
   15847 
   15848 
   15849       sim_enable_arch_rx=true
   15850       ;;
   15851   esac
   15852 
   15853 
   15854 
   15855 
   15856   if test "$SIM_PRIMARY_TARGET" = "rx"; then :
   15857       : "${AS_FOR_TARGET_RX:=\$(AS_FOR_TARGET)}"
   15858     : "${LD_FOR_TARGET_RX:=\$(LD_FOR_TARGET)}"
   15859     : "${CC_FOR_TARGET_RX:=\$(CC_FOR_TARGET)}"
   15860 
   15861 fi
   15862 
   15863 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_RX LD_FOR_TARGET_RX CC_FOR_TARGET_RX"
   15864 
   15865    if ${sim_enable_arch_rx}; then
   15866   SIM_ENABLE_ARCH_rx_TRUE=
   15867   SIM_ENABLE_ARCH_rx_FALSE='#'
   15868 else
   15869   SIM_ENABLE_ARCH_rx_TRUE='#'
   15870   SIM_ENABLE_ARCH_rx_FALSE=
   15871 fi
   15872 
   15873   sim_enable_arch_sh=false
   15874   case "${targ}" in
   15875     all|sh*-*-*)
   15876       if test "${targ}" = "${target}"; then
   15877         SIM_PRIMARY_TARGET=sh
   15878       fi
   15879         ENABLE_SIM=yes
   15880   as_fn_append SIM_ENABLED_ARCHES " sh"
   15881   ac_config_files="$ac_config_files sh/.gdbinit:common/gdbinit.in"
   15882 
   15883 
   15884       sim_enable_arch_sh=true
   15885       ;;
   15886   esac
   15887 
   15888 
   15889 
   15890 
   15891   if test "$SIM_PRIMARY_TARGET" = "sh"; then :
   15892       : "${AS_FOR_TARGET_SH:=\$(AS_FOR_TARGET)}"
   15893     : "${LD_FOR_TARGET_SH:=\$(LD_FOR_TARGET)}"
   15894     : "${CC_FOR_TARGET_SH:=\$(CC_FOR_TARGET)}"
   15895 
   15896 fi
   15897 
   15898 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_SH LD_FOR_TARGET_SH CC_FOR_TARGET_SH"
   15899 
   15900    if ${sim_enable_arch_sh}; then
   15901   SIM_ENABLE_ARCH_sh_TRUE=
   15902   SIM_ENABLE_ARCH_sh_FALSE='#'
   15903 else
   15904   SIM_ENABLE_ARCH_sh_TRUE='#'
   15905   SIM_ENABLE_ARCH_sh_FALSE=
   15906 fi
   15907 
   15908   sim_enable_arch_erc32=false
   15909   case "${targ}" in
   15910     all|sparc-*-*)
   15911       if test "${targ}" = "${target}"; then
   15912         SIM_PRIMARY_TARGET=erc32
   15913       fi
   15914         ENABLE_SIM=yes
   15915   as_fn_append SIM_ENABLED_ARCHES " erc32"
   15916   ac_config_files="$ac_config_files erc32/.gdbinit:common/gdbinit.in"
   15917 
   15918 
   15919       sim_enable_arch_erc32=true
   15920       ;;
   15921   esac
   15922 
   15923 
   15924 
   15925 
   15926   if test "$SIM_PRIMARY_TARGET" = "erc32"; then :
   15927       : "${AS_FOR_TARGET_ERC32:=\$(AS_FOR_TARGET)}"
   15928     : "${LD_FOR_TARGET_ERC32:=\$(LD_FOR_TARGET)}"
   15929     : "${CC_FOR_TARGET_ERC32:=\$(CC_FOR_TARGET)}"
   15930 
   15931 fi
   15932 
   15933 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_ERC32 LD_FOR_TARGET_ERC32 CC_FOR_TARGET_ERC32"
   15934 
   15935    if ${sim_enable_arch_erc32}; then
   15936   SIM_ENABLE_ARCH_erc32_TRUE=
   15937   SIM_ENABLE_ARCH_erc32_FALSE='#'
   15938 else
   15939   SIM_ENABLE_ARCH_erc32_TRUE='#'
   15940   SIM_ENABLE_ARCH_erc32_FALSE=
   15941 fi
   15942 
   15943   sim_enable_arch_v850=false
   15944   case "${targ}" in
   15945     all|v850*-*-*)
   15946       if test "${targ}" = "${target}"; then
   15947         SIM_PRIMARY_TARGET=v850
   15948       fi
   15949         ENABLE_SIM=yes
   15950   as_fn_append SIM_ENABLED_ARCHES " v850"
   15951   ac_config_files="$ac_config_files v850/.gdbinit:common/gdbinit.in"
   15952 
   15953 
   15954       sim_enable_arch_v850=true
   15955       ;;
   15956   esac
   15957 
   15958 
   15959 
   15960 
   15961   if test "$SIM_PRIMARY_TARGET" = "v850"; then :
   15962       : "${AS_FOR_TARGET_V850:=\$(AS_FOR_TARGET)}"
   15963     : "${LD_FOR_TARGET_V850:=\$(LD_FOR_TARGET)}"
   15964     : "${CC_FOR_TARGET_V850:=\$(CC_FOR_TARGET)}"
   15965 
   15966 fi
   15967 
   15968 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_V850 LD_FOR_TARGET_V850 CC_FOR_TARGET_V850"
   15969 
   15970    if ${sim_enable_arch_v850}; then
   15971   SIM_ENABLE_ARCH_v850_TRUE=
   15972   SIM_ENABLE_ARCH_v850_FALSE='#'
   15973 else
   15974   SIM_ENABLE_ARCH_v850_TRUE='#'
   15975   SIM_ENABLE_ARCH_v850_FALSE=
   15976 fi
   15977 
   15978 
   15979   done
   15980 
   15981   if test "x${enable_example_sims}" = xyes; then
   15982 
   15983 
   15984 
   15985 
   15986   : "${AS_FOR_TARGET_EXAMPLE_SYNACOR:=\$(AS_FOR_TARGET)}"
   15987   : "${LD_FOR_TARGET_EXAMPLE_SYNACOR:=\$(LD_FOR_TARGET)}"
   15988   : "${CC_FOR_TARGET_EXAMPLE_SYNACOR:=\$(CC)}"
   15989 
   15990 as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_EXAMPLE_SYNACOR LD_FOR_TARGET_EXAMPLE_SYNACOR CC_FOR_TARGET_EXAMPLE_SYNACOR"
   15991 
   15992       ENABLE_SIM=yes
   15993   as_fn_append SIM_ENABLED_ARCHES " example-synacor"
   15994   ac_config_files="$ac_config_files example-synacor/.gdbinit:common/gdbinit.in"
   15995 
   15996 
   15997   fi
   15998    if test "${enable_example_sims}" = "yes"; then
   15999   SIM_ENABLE_ARCH_examples_TRUE=
   16000   SIM_ENABLE_ARCH_examples_FALSE='#'
   16001 else
   16002   SIM_ENABLE_ARCH_examples_TRUE='#'
   16003   SIM_ENABLE_ARCH_examples_FALSE=
   16004 fi
   16005 
   16006 fi
   16007  if test "$ENABLE_SIM" = "yes"; then
   16008   ENABLE_SIM_TRUE=
   16009   ENABLE_SIM_FALSE='#'
   16010 else
   16011   ENABLE_SIM_TRUE='#'
   16012   ENABLE_SIM_FALSE=
   16013 fi
   16014 
   16015 
   16016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim alignment" >&5
   16017 $as_echo_n "checking whether to force sim alignment... " >&6; }
   16018 sim_alignment=
   16019 # Check whether --enable-sim-alignment was given.
   16020 if test "${enable_sim_alignment+set}" = set; then :
   16021   enableval=$enable_sim_alignment; case "${enableval}" in
   16022   yes | strict | STRICT)      sim_alignment="STRICT_ALIGNMENT";;
   16023   no | nonstrict | NONSTRICT) sim_alignment="NONSTRICT_ALIGNMENT";;
   16024   forced | FORCED)            sim_alignment="FORCED_ALIGNMENT";;
   16025   *) as_fn_error $? "\"Unknown value $enableval passed to --enable-sim-alignment\"" "$LINENO" 5;;
   16026 esac
   16027 fi
   16028 
   16029 cat >>confdefs.h <<_ACEOF
   16030 #define WITH_ALIGNMENT ${sim_alignment:-0}
   16031 _ACEOF
   16032 
   16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
   16034 $as_echo "${sim_alignment:-no}" >&6; }
   16035 
   16036 
   16037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sim asserts" >&5
   16038 $as_echo_n "checking whether to enable sim asserts... " >&6; }
   16039 sim_assert="1"
   16040 # Check whether --enable-sim-assert was given.
   16041 if test "${enable_sim_assert+set}" = set; then :
   16042   enableval=$enable_sim_assert; case "${enableval}" in
   16043   yes)	sim_assert="1";;
   16044   no)	sim_assert="0";;
   16045   *)	as_fn_error $? "--enable-sim-assert does not take a value" "$LINENO" 5;;
   16046 esac
   16047 fi
   16048 
   16049 cat >>confdefs.h <<_ACEOF
   16050 #define WITH_ASSERT $sim_assert
   16051 _ACEOF
   16052 
   16053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_assert" >&5
   16054 $as_echo "$sim_assert" >&6; }
   16055 
   16056 
   16057 cgen_maint=no
   16058 cgen=guile
   16059 cgendir='$(srcdir)/../../cgen'
   16060 if test -r ${srcdir}/../cgen/iformat.scm; then
   16061     cgendir='$(srcdir)/../cgen'
   16062 fi
   16063 # Check whether --enable-cgen-maint was given.
   16064 if test "${enable_cgen_maint+set}" = set; then :
   16065   enableval=$enable_cgen_maint; case "${enableval}" in
   16066   yes)	cgen_maint=yes ;;
   16067   no)	cgen_maint=no ;;
   16068   *)
   16069 	# Argument is a directory where cgen can be found.  In some
   16070 	# future world cgen could be installable, but right now this
   16071 	# is not the case.  Instead we assume the directory is a path
   16072 	# to the cgen source tree.
   16073 	cgen_maint=yes
   16074         if test -r ${enableval}/iformat.scm; then
   16075           # This looks like a cgen source tree.
   16076 	  cgendir=${enableval}
   16077         else
   16078 	  as_fn_error $? "${enableval} doesn't look like a cgen source tree" "$LINENO" 5
   16079         fi
   16080 	;;
   16081 esac
   16082 fi
   16083 if test x${cgen_maint} != xno ; then
   16084   CGEN_MAINT=''
   16085 else
   16086   CGEN_MAINT='#'
   16087 fi
   16088 
   16089 
   16090 
   16091 
   16092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim debug setting" >&5
   16093 $as_echo_n "checking for sim debug setting... " >&6; }
   16094 sim_debug="0"
   16095 # Check whether --enable-sim-debug was given.
   16096 if test "${enable_sim_debug+set}" = set; then :
   16097   enableval=$enable_sim_debug; case "${enableval}" in
   16098   yes) sim_debug="7";;
   16099   no)  sim_debug="0";;
   16100   *)   sim_debug="($enableval)";;
   16101 esac
   16102 fi
   16103 if test "$sim_debug" != "0"; then
   16104 
   16105 cat >>confdefs.h <<_ACEOF
   16106 #define DEBUG $sim_debug
   16107 _ACEOF
   16108 
   16109 fi
   16110 
   16111 cat >>confdefs.h <<_ACEOF
   16112 #define WITH_DEBUG $sim_debug
   16113 _ACEOF
   16114 
   16115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_debug" >&5
   16116 $as_echo "$sim_debug" >&6; }
   16117 
   16118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim endianness" >&5
   16119 $as_echo_n "checking whether to force sim endianness... " >&6; }
   16120 sim_endian=
   16121 # Check whether --enable-sim-endian was given.
   16122 if test "${enable_sim_endian+set}" = set; then :
   16123   enableval=$enable_sim_endian; case "${enableval}" in
   16124   b*|B*) sim_endian="BFD_ENDIAN_BIG";;
   16125   l*|L*) sim_endian="BFD_ENDIAN_LITTLE";;
   16126   yes | no) ;;
   16127   *)	 as_fn_error $? "\"Unknown value $enableval for --enable-sim-endian\"" "$LINENO" 5;;
   16128 esac
   16129 fi
   16130 
   16131 cat >>confdefs.h <<_ACEOF
   16132 #define WITH_TARGET_BYTE_ORDER ${sim_endian:-BFD_ENDIAN_UNKNOWN}
   16133 _ACEOF
   16134 
   16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
   16136 $as_echo "${sim_alignment:-no}" >&6; }
   16137 
   16138 
   16139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default sim environment setting" >&5
   16140 $as_echo_n "checking default sim environment setting... " >&6; }
   16141 sim_environment="ALL_ENVIRONMENT"
   16142 # Check whether --enable-sim-environment was given.
   16143 if test "${enable_sim_environment+set}" = set; then :
   16144   enableval=$enable_sim_environment; case "${enableval}" in
   16145   all | ALL)             sim_environment="ALL_ENVIRONMENT";;
   16146   user | USER)           sim_environment="USER_ENVIRONMENT";;
   16147   virtual | VIRTUAL)     sim_environment="VIRTUAL_ENVIRONMENT";;
   16148   operating | OPERATING) sim_environment="OPERATING_ENVIRONMENT";;
   16149   *)   as_fn_error $? "Unknown value $enableval passed to --enable-sim-environment" "$LINENO" 5;;
   16150 esac
   16151 fi
   16152 
   16153 cat >>confdefs.h <<_ACEOF
   16154 #define WITH_ENVIRONMENT $sim_environment
   16155 _ACEOF
   16156 
   16157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_environment" >&5
   16158 $as_echo "$sim_environment" >&6; }
   16159 
   16160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim hardware settings" >&5
   16161 $as_echo_n "checking for sim hardware settings... " >&6; }
   16162 # Check whether --enable-sim-hardware was given.
   16163 if test "${enable_sim_hardware+set}" = set; then :
   16164   enableval=$enable_sim_hardware;
   16165 else
   16166   enable_sim_hardware="yes"
   16167 fi
   16168 
   16169 sim_hw_sockser=
   16170 if test "$enable_sim_hardware" = no; then
   16171   sim_hw_cflags="-DWITH_HW=0"
   16172 elif test "$enable_sim_hardware" = yes; then
   16173   sim_hw_cflags="-DWITH_HW=1"
   16174         sim_hw_sockser="dv-sockser.o"
   16175   sim_hw_cflags="$sim_hw_cflags -DHAVE_DV_SOCKSER"
   16176 else
   16177   as_fn_error $? "unknown argument \"$enable_sim_hardware\"" "$LINENO" 5
   16178 fi
   16179  if test "$enable_sim_hardware" = "yes"; then
   16180   SIM_ENABLE_HW_TRUE=
   16181   SIM_ENABLE_HW_FALSE='#'
   16182 else
   16183   SIM_ENABLE_HW_TRUE='#'
   16184   SIM_ENABLE_HW_FALSE=
   16185 fi
   16186 
   16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_sim_hardware}" >&5
   16188 $as_echo "${enable_sim_hardware}" >&6; }
   16189 SIM_HW_CFLAGS=$sim_hw_cflags
   16190 
   16191 SIM_HW_SOCKSER=$sim_hw_sockser
   16192 
   16193 
   16194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sim inline settings" >&5
   16195 $as_echo_n "checking sim inline settings... " >&6; }
   16196 sim_inline="-DDEFAULT_INLINE=0"
   16197 # Check whether --enable-sim-inline was given.
   16198 if test "${enable_sim_inline+set}" = set; then :
   16199   enableval=$enable_sim_inline; sim_inline=""
   16200 case "$enableval" in
   16201   no)		sim_inline="-DDEFAULT_INLINE=0";;
   16202   0)		sim_inline="-DDEFAULT_INLINE=0";;
   16203   yes | 2)	sim_inline="-DDEFAULT_INLINE=ALL_C_INLINE";;
   16204   1)		sim_inline="-DDEFAULT_INLINE=INLINE_LOCALS";;
   16205   *) for x in `echo "$enableval" | sed -e "s/,/ /g"`; do
   16206        new_flag=""
   16207        case "$x" in
   16208 	 *_INLINE=*)	new_flag="-D$x";;
   16209 	 *=*)		new_flag=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
   16210 	 *_INLINE)	new_flag="-D$x=ALL_C_INLINE";;
   16211 	 *)		new_flag="-D$x""_INLINE=ALL_C_INLINE";;
   16212        esac
   16213        if test x"$sim_inline" = x""; then
   16214 	 sim_inline="$new_flag"
   16215        else
   16216 	 sim_inline="$sim_inline $new_flag"
   16217        fi
   16218      done;;
   16219 esac
   16220 
   16221 fi
   16222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_inline" >&5
   16223 $as_echo "$sim_inline" >&6; }
   16224 SIM_INLINE=$sim_inline
   16225 
   16226 
   16227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim profile settings" >&5
   16228 $as_echo_n "checking for sim profile settings... " >&6; }
   16229 profile="1"
   16230 sim_profile="-1"
   16231 # Check whether --enable-sim-profile was given.
   16232 if test "${enable_sim_profile+set}" = set; then :
   16233   enableval=$enable_sim_profile; case "${enableval}" in
   16234   yes)	profile="1" sim_profile="-1";;
   16235   no)	profile="0" sim_profile="0";;
   16236   [-0-9]*)
   16237 	profile="(${enableval})" sim_profile="(${enableval})";;
   16238   [a-z]*)
   16239     profile="1"
   16240 	sim_profile=""
   16241 	for x in `echo "$enableval" | sed -e "s/,/ /g"`; do
   16242 	  if test x"$sim_profile" = x; then
   16243 	    sim_profile="(PROFILE_$x"
   16244 	  else
   16245 	    sim_profile="${sim_profile}|PROFILE_$x"
   16246 	  fi
   16247 	done
   16248 	sim_profile="$sim_profile)" ;;
   16249 esac
   16250 fi
   16251 
   16252 cat >>confdefs.h <<_ACEOF
   16253 #define PROFILE $profile
   16254 _ACEOF
   16255 
   16256 
   16257 cat >>confdefs.h <<_ACEOF
   16258 #define WITH_PROFILE $sim_profile
   16259 _ACEOF
   16260 
   16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_profile" >&5
   16262 $as_echo "$sim_profile" >&6; }
   16263 
   16264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check reserved bits in instruction" >&5
   16265 $as_echo_n "checking whether to check reserved bits in instruction... " >&6; }
   16266 # Check whether --enable-sim-reserved-bits was given.
   16267 if test "${enable_sim_reserved_bits+set}" = set; then :
   16268   enableval=$enable_sim_reserved_bits; case "${enableval}" in
   16269 yes|no) ;;
   16270 *) as_fn_error $? "\"--enable-sim-reserved-bits does not take a value\"" "$LINENO" 5;;
   16271 esac
   16272 fi
   16273 
   16274 if test "x${enable_sim_reserved_bits}" != xno; then
   16275   sim_reserved_bits=1
   16276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16277 $as_echo "yes" >&6; }
   16278 else
   16279   sim_reserved_bits=0
   16280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16281 $as_echo "no" >&6; }
   16282 fi
   16283 
   16284 cat >>confdefs.h <<_ACEOF
   16285 #define WITH_RESERVED_BITS $sim_reserved_bits
   16286 _ACEOF
   16287 
   16288 
   16289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim cache size" >&5
   16290 $as_echo_n "checking for sim cache size... " >&6; }
   16291 sim_scache="16384"
   16292 # Check whether --enable-sim-scache was given.
   16293 if test "${enable_sim_scache+set}" = set; then :
   16294   enableval=$enable_sim_scache; case "${enableval}" in
   16295   yes)	;;
   16296   no)	sim_scache="0";;
   16297   [0-9]*) sim_scache="${enableval}";;
   16298   *)	as_fn_error $? "\"Bad value $enableval passed to --enable-sim-scache\"" "$LINENO" 5;;
   16299 esac
   16300 fi
   16301 
   16302 
   16303 cat >>confdefs.h <<_ACEOF
   16304 #define WITH_SCACHE $sim_scache
   16305 _ACEOF
   16306 
   16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_scache" >&5
   16308 $as_echo "$sim_scache" >&6; }
   16309 
   16310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of sim cpus to support" >&5
   16311 $as_echo_n "checking number of sim cpus to support... " >&6; }
   16312 default_sim_smp="0"
   16313 sim_smp="$default_sim_smp"
   16314 # Check whether --enable-sim-smp was given.
   16315 if test "${enable_sim_smp+set}" = set; then :
   16316   enableval=$enable_sim_smp; case "${enableval}" in
   16317   yes)	sim_smp="5";;
   16318   no)	sim_smp="0";;
   16319   *)	sim_smp="$enableval";;
   16320 esac
   16321 fi
   16322 IGEN_FLAGS_SMP="-N ${sim_smp}"
   16323 
   16324 if test "x$sim_smp" = x0; then :
   16325 
   16326 else
   16327 
   16328 cat >>confdefs.h <<_ACEOF
   16329 #define WITH_SMP $sim_smp
   16330 _ACEOF
   16331 
   16332 fi
   16333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_smp" >&5
   16334 $as_echo "$sim_smp" >&6; }
   16335 
   16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim stdio debug behavior" >&5
   16337 $as_echo_n "checking for sim stdio debug behavior... " >&6; }
   16338 sim_stdio="0"
   16339 # Check whether --enable-sim-stdio was given.
   16340 if test "${enable_sim_stdio+set}" = set; then :
   16341   enableval=$enable_sim_stdio; case "${enableval}" in
   16342   yes)	sim_stdio="DO_USE_STDIO";;
   16343   no)	sim_stdio="DONT_USE_STDIO";;
   16344   *)	as_fn_error $? "Unknown value $enableval passed to --enable-sim-stdio" "$LINENO" 5;;
   16345 esac
   16346 fi
   16347 
   16348 cat >>confdefs.h <<_ACEOF
   16349 #define WITH_STDIO $sim_stdio
   16350 _ACEOF
   16351 
   16352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_stdio" >&5
   16353 $as_echo "$sim_stdio" >&6; }
   16354 
   16355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim trace settings" >&5
   16356 $as_echo_n "checking for sim trace settings... " >&6; }
   16357 sim_trace="~TRACE_debug"
   16358 # Check whether --enable-sim-trace was given.
   16359 if test "${enable_sim_trace+set}" = set; then :
   16360   enableval=$enable_sim_trace; case "${enableval}" in
   16361   yes)	sim_trace="-1";;
   16362   no)	sim_trace="0";;
   16363   [-0-9]*)
   16364 	sim_trace="'(${enableval})'";;
   16365   [[:lower:]]*)
   16366 	sim_trace=""
   16367 	for x in `echo "$enableval" | sed -e "s/,/ /g"`; do
   16368 	  if test x"$sim_trace" = x; then
   16369 	    sim_trace="(TRACE_$x"
   16370 	  else
   16371 	    sim_trace="${sim_trace}|TRACE_$x"
   16372 	  fi
   16373 	done
   16374 	sim_trace="$sim_trace)" ;;
   16375 esac
   16376 fi
   16377 
   16378 cat >>confdefs.h <<_ACEOF
   16379 #define WITH_TRACE $sim_trace
   16380 _ACEOF
   16381 
   16382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_trace" >&5
   16383 $as_echo "$sim_trace" >&6; }
   16384 
   16385 # Check whether --enable-werror was given.
   16386 if test "${enable_werror+set}" = set; then :
   16387   enableval=$enable_werror; case "${enableval}" in
   16388      yes | y) ERROR_ON_WARNING="yes" ;;
   16389      no | n)  ERROR_ON_WARNING="no" ;;
   16390      *) as_fn_error $? "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
   16391    esac
   16392 fi
   16393 
   16394 
   16395 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" && $development; then
   16396   ERROR_ON_WARNING=yes
   16397 fi
   16398 
   16399 WERROR_CFLAGS=""
   16400 if test "${ERROR_ON_WARNING}" = yes ; then
   16401   WERROR_CFLAGS="-Werror"
   16402 fi
   16403 
   16404 build_warnings="-Wall -Wpointer-arith
   16405 -Wno-unused -Wunused-value -Wunused-variable -Wunused-function
   16406 -Wno-switch -Wno-char-subscripts
   16407 -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable
   16408 -Wno-sign-compare -Wno-error=maybe-uninitialized
   16409 -Wno-error=deprecated-register
   16410 -Wimplicit-fallthrough=5
   16411 -Wduplicated-cond
   16412 -Wshadow=local
   16413 -Wmissing-declarations
   16414 "
   16415 build_warnings="$build_warnings
   16416 -Wdeclaration-after-statement
   16417 -Wdeprecated-non-prototype
   16418 -Wimplicit-function-declaration
   16419 -Wimplicit-int
   16420 -Wincompatible-function-pointer-types
   16421 -Wincompatible-pointer-types
   16422 -Wint-conversion
   16423 -Wmisleading-indentation
   16424 -Wmissing-parameter-type
   16425 -Wmissing-prototypes
   16426 -Wold-style-declaration
   16427 -Wold-style-definition
   16428 -Wpointer-sign
   16429 -Wreturn-mismatch
   16430 -Wreturn-type
   16431 -Wshift-negative-value
   16432 -Wstrict-prototypes
   16433 -Wno-enum-conversion
   16434 "
   16435 build_build_warnings="
   16436 -Wno-stringop-truncation
   16437 -Wno-implicit-fallthrough
   16438 -Wno-shadow=local
   16439 "
   16440 
   16441 case "${host}" in
   16442   *-*-mingw32*)
   16443     # Enable -Wno-format by default when using gcc on mingw since many
   16444     # GCC versions complain about %I64.
   16445     build_warnings="$build_warnings -Wno-format" ;;
   16446   *-*-solaris*)
   16447     # Solaris 11.4 <python2.7/ceval.h> uses #pragma no_inline that GCC
   16448     # doesn't understand.
   16449     build_warnings="$build_warnings -Wno-unknown-pragmas"
   16450     # Solaris 11 <unistd.h> marks vfork deprecated.
   16451     build_warnings="$build_warnings -Wno-deprecated-declarations" ;;
   16452   *)
   16453     # Note that gcc requires -Wformat for -Wformat-nonliteral to work,
   16454     # but there's a special case for this below.
   16455     build_warnings="$build_warnings -Wformat-nonliteral" ;;
   16456 esac
   16457 
   16458 # Check whether --enable-build-warnings was given.
   16459 if test "${enable_build_warnings+set}" = set; then :
   16460   enableval=$enable_build_warnings; case "${enableval}" in
   16461   yes)	;;
   16462   no)	build_warnings="-w";;
   16463   ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   16464         build_warnings="${build_warnings} ${t}";;
   16465   *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   16466         build_warnings="${t} ${build_warnings}";;
   16467   *)    build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
   16468 esac
   16469 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then
   16470   echo "Setting compiler warning flags = $build_warnings" 6>&1
   16471 fi
   16472 fi
   16473 # Check whether --enable-sim-build-warnings was given.
   16474 if test "${enable_sim_build_warnings+set}" = set; then :
   16475   enableval=$enable_sim_build_warnings; case "${enableval}" in
   16476   yes)	;;
   16477   no)	build_warnings="-w";;
   16478   ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   16479         build_warnings="${build_warnings} ${t}";;
   16480   *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   16481         build_warnings="${t} ${build_warnings}";;
   16482   *)    build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
   16483 esac
   16484 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then
   16485   echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
   16486 fi
   16487 fi
   16488 WARN_CFLAGS=""
   16489 BUILD_WARN_CFLAGS=""
   16490 if test "x${build_warnings}" != x -a "x$GCC" = xyes
   16491 then
   16492 
   16493 
   16494             { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
   16495 $as_echo_n "checking compiler warning flags... " >&6; }
   16496     # Separate out the -Werror flag as some files just cannot be
   16497     # compiled with it enabled.
   16498     for w in ${build_warnings}; do
   16499 	case $w in
   16500 	-Werr*) WERROR_CFLAGS=-Werror ;;
   16501 	*)       w="$w"
   16502   case $w in
   16503   -Wno-*)
   16504     wtest=`echo $w | sed 's/-Wno-/-W/g'` ;;
   16505   -Wformat-nonliteral)
   16506             w="-Wformat $w"
   16507     wtest="$w"
   16508     ;;
   16509   *)
   16510     wtest=$w ;;
   16511   esac
   16512 
   16513     saved_CFLAGS="$CFLAGS"
   16514   CFLAGS="$CFLAGS -Werror $wtest"
   16515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16516 /* end confdefs.h.  */
   16517 
   16518 int
   16519 main ()
   16520 {
   16521 
   16522   ;
   16523   return 0;
   16524 }
   16525 _ACEOF
   16526 if ac_fn_c_try_compile "$LINENO"; then :
   16527   WARN_CFLAGS="${WARN_CFLAGS} $w"
   16528 fi
   16529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16530   CFLAGS="$saved_CFLAGS"
   16531  ;;
   16532 	esac
   16533     done
   16534     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
   16535 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
   16536 
   16537 
   16538         if test "x$cross_compiling" = "xno"; then :
   16539   	SAVE_WARN_CFLAGS=$WARN_CFLAGS
   16540 	build_warnings=$build_build_warnings
   16541 	    { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
   16542 $as_echo_n "checking compiler warning flags... " >&6; }
   16543     # Separate out the -Werror flag as some files just cannot be
   16544     # compiled with it enabled.
   16545     for w in ${build_warnings}; do
   16546 	case $w in
   16547 	-Werr*) WERROR_CFLAGS=-Werror ;;
   16548 	*)       w="$w"
   16549   case $w in
   16550   -Wno-*)
   16551     wtest=`echo $w | sed 's/-Wno-/-W/g'` ;;
   16552   -Wformat-nonliteral)
   16553             w="-Wformat $w"
   16554     wtest="$w"
   16555     ;;
   16556   *)
   16557     wtest=$w ;;
   16558   esac
   16559 
   16560     saved_CFLAGS="$CFLAGS"
   16561   CFLAGS="$CFLAGS -Werror $wtest"
   16562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16563 /* end confdefs.h.  */
   16564 
   16565 int
   16566 main ()
   16567 {
   16568 
   16569   ;
   16570   return 0;
   16571 }
   16572 _ACEOF
   16573 if ac_fn_c_try_compile "$LINENO"; then :
   16574   WARN_CFLAGS="${WARN_CFLAGS} $w"
   16575 fi
   16576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16577   CFLAGS="$saved_CFLAGS"
   16578  ;;
   16579 	esac
   16580     done
   16581     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
   16582 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
   16583 
   16584 	BUILD_WARN_CFLAGS=$WARN_CFLAGS
   16585 	WARN_CFLAGS=$SAVE_WARN_CFLAGS
   16586 	BUILD_WERROR_CFLAGS=$WERROR_CFLAGS
   16587 
   16588 fi
   16589 
   16590           { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-shadow=local is supported" >&5
   16591 $as_echo_n "checking whether -Wno-shadow=local is supported... " >&6; }
   16592         w="-Wno-shadow=local"
   16593   case $w in
   16594   -Wno-*)
   16595     wtest=`echo $w | sed 's/-Wno-/-W/g'` ;;
   16596   -Wformat-nonliteral)
   16597             w="-Wformat $w"
   16598     wtest="$w"
   16599     ;;
   16600   *)
   16601     wtest=$w ;;
   16602   esac
   16603 
   16604     saved_CFLAGS="$CFLAGS"
   16605   CFLAGS="$CFLAGS -Werror $wtest"
   16606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16607 /* end confdefs.h.  */
   16608 
   16609 int
   16610 main ()
   16611 {
   16612 
   16613   ;
   16614   return 0;
   16615 }
   16616 _ACEOF
   16617 if ac_fn_c_try_compile "$LINENO"; then :
   16618         SIM_CFLAG_WNO_SHADOW_LOCAL=-Wno-shadow=local
   16619 
   16620 
   16621     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16622 $as_echo "yes" >&6; }
   16623 
   16624 else
   16625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16626 $as_echo "no" >&6; }
   16627 fi
   16628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16629   CFLAGS="$saved_CFLAGS"
   16630 
   16631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-unused-but-set-variable is supported" >&5
   16632 $as_echo_n "checking whether -Wno-unused-but-set-variable is supported... " >&6; }
   16633         w="-Wno-unused-but-set-variable"
   16634   case $w in
   16635   -Wno-*)
   16636     wtest=`echo $w | sed 's/-Wno-/-W/g'` ;;
   16637   -Wformat-nonliteral)
   16638             w="-Wformat $w"
   16639     wtest="$w"
   16640     ;;
   16641   *)
   16642     wtest=$w ;;
   16643   esac
   16644 
   16645     saved_CFLAGS="$CFLAGS"
   16646   CFLAGS="$CFLAGS -Werror $wtest"
   16647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16648 /* end confdefs.h.  */
   16649 
   16650 int
   16651 main ()
   16652 {
   16653 
   16654   ;
   16655   return 0;
   16656 }
   16657 _ACEOF
   16658 if ac_fn_c_try_compile "$LINENO"; then :
   16659         SIM_CFLAG_WNO_UNUSED_BUT_SET_VARIABLE=-Wno-unused-but-set-variable
   16660 
   16661 
   16662     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16663 $as_echo "yes" >&6; }
   16664 
   16665 else
   16666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16667 $as_echo "no" >&6; }
   16668 fi
   16669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16670   CFLAGS="$saved_CFLAGS"
   16671 
   16672 fi
   16673 
   16674 
   16675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sim frv should dump cpu state on unknown traps" >&5
   16676 $as_echo_n "checking whether sim frv should dump cpu state on unknown traps... " >&6; }
   16677 # Check whether --enable-sim-frv-trapdump was given.
   16678 if test "${enable_sim_frv_trapdump+set}" = set; then :
   16679   enableval=$enable_sim_frv_trapdump; case "${enableval}" in
   16680 yes|no) ;;
   16681 *) as_fn_error $? "\"Unknown value $enableval passed to --enable-sim-trapdump\"" "$LINENO" 5;;
   16682 esac
   16683 fi
   16684 
   16685 if test "x${enable_sim_frv_trapdump}" = xyes; then
   16686   SIM_FRV_TRAPDUMP_FLAGS="-DTRAPDUMP=1"
   16687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16688 $as_echo "yes" >&6; }
   16689 else
   16690   SIM_FRV_TRAPDUMP_FLAGS="-DTRAPDUMP=0"
   16691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16692 $as_echo "no" >&6; }
   16693 fi
   16694 
   16695 
   16696 
   16697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mips subtarget" >&5
   16698 $as_echo_n "checking mips subtarget... " >&6; }
   16699 SIM_MIPS_SUBTARGET=
   16700 case ${target} in #(
   16701   mips64vr*-*-*) :
   16702     SIM_MIPS_SUBTARGET="-DTARGET_ENABLE_FR=1" ;; #(
   16703   mips*tx39*) :
   16704     SIM_MIPS_SUBTARGET="-DSUBTARGET_R3900=1" ;; #(
   16705   mips*-sde-elf*) :
   16706     SIM_MIPS_SUBTARGET="-DTARGET_ENABLE_FR=1" ;; #(
   16707   mips*-mti-elf*) :
   16708     SIM_MIPS_SUBTARGET="-DTARGET_ENABLE_FR=1" ;; #(
   16709   mipsisa32*-*-*) :
   16710     SIM_MIPS_SUBTARGET="-DTARGET_ENABLE_FR=1" ;; #(
   16711   mipsisa64*-*-*) :
   16712     SIM_MIPS_SUBTARGET="-DTARGET_ENABLE_FR=1" ;; #(
   16713   *) :
   16714      ;;
   16715 esac
   16716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${SIM_MIPS_SUBTARGET:-none}" >&5
   16717 $as_echo "${SIM_MIPS_SUBTARGET:-none}" >&6; }
   16718 
   16719 
   16720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mips bitsize" >&5
   16721 $as_echo_n "checking mips bitsize... " >&6; }
   16722 SIM_MIPS_BITSIZE=64
   16723 case ${target} in #(
   16724   mips*-sde-elf*) :
   16725     SIM_MIPS_BITSIZE=64 ;; #(
   16726   mips*-mti-elf*) :
   16727     SIM_MIPS_BITSIZE=64 ;; #(
   16728   mips64*-*-*) :
   16729     SIM_MIPS_BITSIZE=64 ;; #(
   16730   mips16*-*-*) :
   16731     SIM_MIPS_BITSIZE=64 ;; #(
   16732   mipsisa32*-*-*) :
   16733     SIM_MIPS_BITSIZE=32 ;; #(
   16734   mipsisa64*-*-*) :
   16735     SIM_MIPS_BITSIZE=64 ;; #(
   16736   mips*-*-*) :
   16737     SIM_MIPS_BITSIZE=32 ;; #(
   16738   *) :
   16739      ;;
   16740 esac
   16741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SIM_MIPS_BITSIZE" >&5
   16742 $as_echo "$SIM_MIPS_BITSIZE" >&6; }
   16743 
   16744 
   16745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mips fpu bitsize" >&5
   16746 $as_echo_n "checking mips fpu bitsize... " >&6; }
   16747 SIM_MIPS_FPU_BITSIZE=64
   16748 case ${target} in #(
   16749   mips*tx39*) :
   16750     SIM_MIPS_FPU_BITSIZE=32 ;; #(
   16751   mips*-sde-elf*) :
   16752     SIM_MIPS_FPU_BITSIZE=64 ;; #(
   16753   mips*-mti-elf*) :
   16754     SIM_MIPS_FPU_BITSIZE=64 ;; #(
   16755   mipsisa32*-*-*) :
   16756     SIM_MIPS_FPU_BITSIZE=64 ;; #(
   16757   mipsisa64*-*-*) :
   16758     SIM_MIPS_FPU_BITSIZE=64 ;; #(
   16759   mips*-*-*) :
   16760     SIM_MIPS_FPU_BITSIZE=32 ;; #(
   16761   *) :
   16762      ;;
   16763 esac
   16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SIM_MIPS_FPU_BITSIZE" >&5
   16765 $as_echo "$SIM_MIPS_FPU_BITSIZE" >&6; }
   16766 
   16767 
   16768 SIM_MIPS_GEN=SINGLE
   16769 sim_mips_single_machine="-M mipsIV"
   16770 sim_mips_m16_machine="-M mips16,mipsIII"
   16771 sim_mips_single_filter="32,64,f"
   16772 sim_mips_m16_filter="16"
   16773 case ${target} in #(
   16774   mips*tx39*) :
   16775         SIM_MIPS_GEN=SINGLE
   16776     sim_mips_single_filter="32,f"
   16777     sim_mips_single_machine="-M r3900" ;; #(
   16778   mips64vr41*) :
   16779         SIM_MIPS_GEN=M16
   16780     sim_mips_single_machine="-M vr4100"
   16781     sim_mips_m16_machine="-M vr4100" ;; #(
   16782   mips64*) :
   16783         SIM_MIPS_GEN=MULTI
   16784     sim_mips_multi_configs="\
   16785       vr4100:mipsIII,mips16,vr4100:32,64:mips4100,mips4111\
   16786       vr4120:mipsIII,mips16,vr4120:32,64:mips4120\
   16787       vr5000:mipsIV:32,64,f:mips4300,mips5000,mips8000\
   16788       vr5400:mipsIV,vr5400:32,64,f:mips5400\
   16789       vr5500:mipsIV,vr5500:32,64,f:mips5500"
   16790     sim_mips_multi_default=mips5000 ;; #(
   16791   mips*-sde-elf* | mips*-mti-elf*) :
   16792         SIM_MIPS_GEN=MULTI
   16793     sim_mips_multi_configs="\
   16794       micromips:micromips64,micromipsdsp:32,64,f:mips_micromips\
   16795       mipsisa64r2:mips64r2,mips16,mips16e,mdmx,dsp,dsp2,mips3d,smartmips:32,64,f:mipsisa32r2,mipsisa64r2,mipsisa32r5,mipsisa64r5\
   16796       mipsisa64r6:mips64r6:32,64,f:mipsisa32r6,mipsisa64r6"
   16797     sim_mips_multi_default=mipsisa64r2 ;; #(
   16798   mips16*) :
   16799         SIM_MIPS_GEN=M16 ;; #(
   16800   mipsisa32r2*) :
   16801         SIM_MIPS_GEN=MULTI
   16802     sim_mips_multi_configs="\
   16803       micromips:micromips32,micromipsdsp:32,f:mips_micromips\
   16804       mips32r2:mips32r2,mips3d,mips16,mips16e,mdmx,dsp,dsp2,smartmips:32,f:mipsisa32r2"
   16805     sim_mips_multi_default=mipsisa32r2 ;; #(
   16806   mipsisa32r6*) :
   16807         SIM_MIPS_GEN=SINGLE
   16808     sim_mips_single_machine="-M mips32r6"
   16809     sim_mips_single_filter="32,f" ;; #(
   16810   mipsisa32*) :
   16811         SIM_MIPS_GEN=M16
   16812     sim_mips_single_machine="-M mips32,mips16,mips16e,smartmips"
   16813     sim_mips_m16_machine="-M mips16,mips16e,mips32"
   16814     sim_mips_single_filter="32,f" ;; #(
   16815   mipsisa64r2*) :
   16816         SIM_MIPS_GEN=M16
   16817     sim_mips_single_machine="-M mips64r2,mips3d,mips16,mips16e,mdmx,dsp,dsp2"
   16818     sim_mips_m16_machine="-M mips16,mips16e,mips64r2" ;; #(
   16819   mipsisa64r6*) :
   16820         SIM_MIPS_GEN=SINGLE
   16821     sim_mips_single_machine="-M mips64r6" ;; #(
   16822   mipsisa64sb1*) :
   16823         SIM_MIPS_GEN=SINGLE
   16824     sim_mips_single_machine="-M mips64,mips3d,sb1" ;; #(
   16825   mipsisa64*) :
   16826         SIM_MIPS_GEN=M16
   16827     sim_mips_single_machine="-M mips64,mips3d,mips16,mips16e,mdmx"
   16828     sim_mips_m16_machine="-M mips16,mips16e,mips64" ;; #(
   16829   mips*lsi*) :
   16830         SIM_MIPS_GEN=M16
   16831     sim_mips_single_machine="-M mipsIII,mips16"
   16832     sim_mips_m16_machine="-M mips16,mipsIII"
   16833     sim_mips_single_filter="32,f" ;; #(
   16834   mips*) :
   16835         SIM_MIPS_GEN=SINGLE
   16836     sim_mips_single_filter="32,f" ;; #(
   16837   *) :
   16838      ;;
   16839 esac
   16840 
   16841 SIM_MIPS_IGEN_ITABLE_FLAGS=
   16842 SIM_MIPS_MULTI_SRC=
   16843 SIM_MIPS_MULTI_OBJ=
   16844 SIM_MIPS_MULTI_IGEN_CONFIGS=
   16845 if test "x$SIM_MIPS_GEN" = x"MULTI"; then :
   16846       if test -z "${sim_mips_multi_configs}" || test -z "${sim_mips_multi_default}"; then :
   16847       as_fn_error $? "Error in configure.ac: MULTI simulator not set up correctly" "$LINENO" 5
   16848 fi
   16849 
   16850     as_dir=mips; as_fn_mkdir_p
   16851   rm -f mips/multi-include.h mips/multi-run.c
   16852   sim_mips_seen_default=no
   16853 
   16854   cat << __EOF__ > mips/multi-run.c
   16855 /* Main entry point for MULTI simulators.
   16856    Copyright (C) 2003-2023 Free Software Foundation, Inc.
   16857 
   16858    This program is free software; you can redistribute it and/or modify
   16859    it under the terms of the GNU General Public License as published by
   16860    the Free Software Foundation; either version 3 of the License, or
   16861    (at your option) any later version.
   16862 
   16863    This program is distributed in the hope that it will be useful,
   16864    but WITHOUT ANY WARRANTY; without even the implied warranty of
   16865    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16866    GNU General Public License for more details.
   16867 
   16868    You should have received a copy of the GNU General Public License
   16869    along with this program.  If not, see <http://www.gnu.org/licenses/>.
   16870 
   16871    --
   16872 
   16873    This file was generated by sim/mips/configure.  */
   16874 
   16875 #include "sim-main.h"
   16876 #include "multi-include.h"
   16877 #include "bfd/elf-bfd.h"
   16878 #include "bfd/elfxx-mips.h"
   16879 #include "elf/mips.h"
   16880 
   16881 #define SD sd
   16882 #define CPU cpu
   16883 
   16884 void
   16885 sim_engine_run (SIM_DESC sd,
   16886 		int next_cpu_nr,
   16887 		int nr_cpus,
   16888 		int signal) /* ignore */
   16889 {
   16890   int mach;
   16891 
   16892   if (STATE_ARCHITECTURE (sd) == NULL)
   16893     mach = bfd_mach_${sim_mips_multi_default};
   16894   else if (elf_elfheader (STATE_PROG_BFD (sd))->e_flags
   16895 	   & EF_MIPS_ARCH_ASE_MICROMIPS)
   16896     mach = bfd_mach_mips_micromips;
   16897   else
   16898   {
   16899      mach = _bfd_elf_mips_mach (elf_elfheader (STATE_PROG_BFD (sd))->e_flags);
   16900      if (!mach)
   16901        mach = STATE_ARCHITECTURE (SD)->mach;
   16902   }
   16903 
   16904   switch (mach)
   16905     {
   16906 __EOF__
   16907 
   16908   for fc in ${sim_mips_multi_configs}; do
   16909 
   16910             c=`echo ${fc} | sed 's/:[^:]*$//'`
   16911     bfdmachs=`echo ${fc} | sed 's/.*://'`
   16912     name=`echo ${c} | sed 's/:.*//'`
   16913     machine=`echo ${c} | sed 's/.*:\(.*\):.*/\1/'`
   16914     filter=`echo ${c} | sed 's/.*://'`
   16915 
   16916                                             as_fn_append SIM_MIPS_IGEN_ITABLE_FLAGS " -F ${filter} -M ${machine}"
   16917 
   16918         case ${c} in #(
   16919   *:*mips16*:*) :
   16920     		ws="m32 m16"
   16921 
   16922 				as_fn_append SIM_MIPS_MULTI_SRC " mips/m16${name}_run.c"
   16923 	as_fn_append SIM_MIPS_MULTI_OBJ " mips/m16${name}_run.o"
   16924 	as_fn_append SIM_MIPS_IGEN_ITABLE_FLAGS " -F 16"
   16925 	 ;; #(
   16926   *:*micromips32*:*) :
   16927     			ws="micromips_m32 micromips16 micromips32"
   16928 
   16929 				as_fn_append SIM_MIPS_MULTI_SRC " mips/micromips${name}_run.c"
   16930 	as_fn_append SIM_MIPS_MULTI_OBJ " mips/micromips${name}_run.o"
   16931 	as_fn_append SIM_MIPS_IGEN_ITABLE_FLAGS " -F 16,32"
   16932 	 ;; #(
   16933   *:*micromips64*:*) :
   16934     			ws="micromips_m64 micromips16 micromips64"
   16935 
   16936 				as_fn_append SIM_MIPS_MULTI_SRC " mips/micromips${name}_run.c"
   16937 	as_fn_append SIM_MIPS_MULTI_OBJ " mips/micromips${name}_run.o"
   16938 	as_fn_append SIM_MIPS_IGEN_ITABLE_FLAGS " -F 16,32,64"
   16939 	 ;; #(
   16940   *) :
   16941     ws=m32 ;;
   16942 esac
   16943 
   16944             for w in ${ws}; do
   16945       for base in engine icache idecode model semantics support; do
   16946 	as_fn_append SIM_MIPS_MULTI_SRC " mips/${w}${name}_${base}.c"
   16947 	as_fn_append SIM_MIPS_MULTI_SRC " mips/${w}${name}_${base}.h"
   16948 	as_fn_append SIM_MIPS_MULTI_OBJ " mips/${w}${name}_${base}.o"
   16949       done
   16950       as_fn_append SIM_MIPS_MULTI_IGEN_CONFIGS " ${w}${c}"
   16951     done
   16952 
   16953             echo "#include \"${w}${name}_engine.h\"" >> mips/multi-include.h
   16954 
   16955         for mach in `echo ${bfdmachs} | sed 's/,/ /g'`; do
   16956       echo "    case bfd_mach_${mach}:" >> mips/multi-run.c
   16957       if test "x$mach" = x"${sim_mips_multi_default}"; then :
   16958   	echo "    default:" >> mips/multi-run.c
   16959 	sim_mips_seen_default=yes
   16960 
   16961 fi
   16962     done
   16963     echo "      ${w}${name}_engine_run (sd, next_cpu_nr, nr_cpus, signal);" \
   16964       >> mips/multi-run.c
   16965     echo "      break;" >> mips/multi-run.c
   16966   done
   16967 
   16968     if test "x$sim_mips_seen_default" = xno; then :
   16969       as_fn_error $? "Error in configure.ac: \${sim_mips_multi_configs} doesn't have an entry for \${sim_mips_multi_default}" "$LINENO" 5
   16970 fi
   16971 
   16972   cat << __EOF__ >> mips/multi-run.c
   16973     }
   16974 }
   16975 __EOF__
   16976 
   16977 else
   16978     SIM_MIPS_IGEN_ITABLE_FLAGS='$(SIM_MIPS_SINGLE_FLAGS)'
   16979   if test "x$SIM_MIPS_GEN" = x"M16"; then :
   16980   as_fn_append SIM_MIPS_IGEN_ITABLE_FLAGS ' $(SIM_MIPS_M16_FLAGS)'
   16981 fi
   16982 
   16983 fi
   16984 SIM_MIPS_SINGLE_FLAGS="-F ${sim_mips_single_filter} ${sim_mips_single_machine}"
   16985 SIM_MIPS_M16_FLAGS="-F ${sim_mips_m16_filter} ${sim_mips_m16_machine}"
   16986 
   16987 
   16988 
   16989 
   16990 
   16991 
   16992 
   16993  if test "$SIM_MIPS_GEN" = "SINGLE"; then
   16994   SIM_MIPS_GEN_MODE_SINGLE_TRUE=
   16995   SIM_MIPS_GEN_MODE_SINGLE_FALSE='#'
   16996 else
   16997   SIM_MIPS_GEN_MODE_SINGLE_TRUE='#'
   16998   SIM_MIPS_GEN_MODE_SINGLE_FALSE=
   16999 fi
   17000 
   17001  if test "$SIM_MIPS_GEN" = "M16"; then
   17002   SIM_MIPS_GEN_MODE_M16_TRUE=
   17003   SIM_MIPS_GEN_MODE_M16_FALSE='#'
   17004 else
   17005   SIM_MIPS_GEN_MODE_M16_TRUE='#'
   17006   SIM_MIPS_GEN_MODE_M16_FALSE=
   17007 fi
   17008 
   17009  if test "$SIM_MIPS_GEN" = "MULTI"; then
   17010   SIM_MIPS_GEN_MODE_MULTI_TRUE=
   17011   SIM_MIPS_GEN_MODE_MULTI_FALSE='#'
   17012 else
   17013   SIM_MIPS_GEN_MODE_MULTI_TRUE='#'
   17014   SIM_MIPS_GEN_MODE_MULTI_FALSE=
   17015 fi
   17016 
   17017 
   17018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc bitsize settings" >&5
   17019 $as_echo_n "checking for sim ppc bitsize settings... " >&6; }
   17020 # Check whether --enable-sim-ppc-bitsize was given.
   17021 if test "${enable_sim_ppc_bitsize+set}" = set; then :
   17022   enableval=$enable_sim_ppc_bitsize; case "${enableval}" in
   17023   32|64) sim_ppc_bitsize="-DWITH_TARGET_WORD_BITSIZE=$enableval";;
   17024   *)	 as_fn_error $? "\"--enable-sim-ppc-bitsize was given $enableval.  Expected 32 or 64\"" "$LINENO" 5;;
   17025 esac
   17026 else
   17027   sim_ppc_bitsize=""
   17028 fi
   17029 
   17030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_bitsize" >&5
   17031 $as_echo "$sim_ppc_bitsize" >&6; }
   17032 
   17033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc decode mechanism" >&5
   17034 $as_echo_n "checking for sim ppc decode mechanism... " >&6; }
   17035 # Check whether --enable-sim-ppc-decode-mechanism was given.
   17036 if test "${enable_sim_ppc_decode_mechanism+set}" = set; then :
   17037   enableval=$enable_sim_ppc_decode_mechanism; case "${enableval}" in
   17038   yes|no)	as_fn_error $? "\"No value supplied for --enable-sim-ppc-decode-mechanism=file\"" "$LINENO" 5;;
   17039   array|switch|padded-switch|goto-switch)	sim_ppc_decode_mechanism="-T ${enableval}";;
   17040   *)		as_fn_error $? "\"File $enableval is not an opcode rules file\"" "$LINENO" 5;;
   17041 esac
   17042 else
   17043   sim_ppc_decode_mechanism=""
   17044 fi
   17045 
   17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_decode_mechanism" >&5
   17047 $as_echo "$sim_ppc_decode_mechanism" >&6; }
   17048 
   17049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc default model" >&5
   17050 $as_echo_n "checking for sim ppc default model... " >&6; }
   17051 # Check whether --enable-sim-ppc-default-model was given.
   17052 if test "${enable_sim_ppc_default_model+set}" = set; then :
   17053   enableval=$enable_sim_ppc_default_model; case "${enableval}" in
   17054   yes|no)	as_fn_error $? "\"No value supplied for --enable-sim-ppc-default-model=model\"" "$LINENO" 5;;
   17055   *)		sim_ppc_default_model="-DWITH_DEFAULT_MODEL=${enableval}";;
   17056 esac
   17057 else
   17058   sim_ppc_default_model=""
   17059 fi
   17060 
   17061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_default_model" >&5
   17062 $as_echo "$sim_ppc_default_model" >&6; }
   17063 
   17064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc duplicate settings" >&5
   17065 $as_echo_n "checking for sim ppc duplicate settings... " >&6; }
   17066 # Check whether --enable-sim-ppc-duplicate was given.
   17067 if test "${enable_sim_ppc_duplicate+set}" = set; then :
   17068   enableval=$enable_sim_ppc_duplicate; case "${enableval}" in
   17069   yes)	sim_ppc_dup="-E";;
   17070   no)	sim_ppc_dup="";;
   17071   *)	as_fn_error $? "\"--enable-sim-ppc-duplicate does not take a value\"" "$LINENO" 5;;
   17072 esac
   17073 else
   17074   sim_ppc_dup="-E"
   17075 fi
   17076 
   17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_dup" >&5
   17078 $as_echo "$sim_ppc_dup" >&6; }
   17079 
   17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc filter rules" >&5
   17081 $as_echo_n "checking for sim ppc filter rules... " >&6; }
   17082 # Check whether --enable-sim-ppc-filter was given.
   17083 if test "${enable_sim_ppc_filter+set}" = set; then :
   17084   enableval=$enable_sim_ppc_filter; case "${enableval}" in
   17085   yes)	as_fn_error $? "\"--enable-sim-ppc-filter must be specified with a rule to filter or no\"" "$LINENO" 5;;
   17086   no)	sim_ppc_filter="";;
   17087   *)	sim_ppc_filter="-F $enableval";;
   17088 esac
   17089 else
   17090   sim_ppc_filter="-F 32,f,o"
   17091 fi
   17092 
   17093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_filter" >&5
   17094 $as_echo "$sim_ppc_filter" >&6; }
   17095 
   17096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc float settings" >&5
   17097 $as_echo_n "checking for sim ppc float settings... " >&6; }
   17098 # Check whether --enable-sim-ppc-float was given.
   17099 if test "${enable_sim_ppc_float+set}" = set; then :
   17100   enableval=$enable_sim_ppc_float; case "${enableval}" in
   17101   yes | hard)	sim_ppc_float="-DWITH_FLOATING_POINT=HARD_FLOATING_POINT";;
   17102   no | soft)	sim_ppc_float="-DWITH_FLOATING_POINT=SOFT_FLOATING_POINT";;
   17103   altivec)      sim_ppc_float="-DWITH_ALTIVEC" ; sim_ppc_filter="${sim_ppc_filter},av" ;;
   17104   *spe*|*simd*) sim_ppc_float="-DWITH_E500" ; sim_ppc_filter="${sim_ppc_filter},e500" ;;
   17105   *)		as_fn_error $? "\"Unknown value $enableval passed to --enable-sim-ppc-float\"" "$LINENO" 5;;
   17106 esac
   17107 else
   17108   case "${target}" in
   17109   *altivec*) sim_ppc_float="-DWITH_ALTIVEC" ; sim_ppc_filter="${sim_ppc_filter},av" ;;
   17110   *spe*|*simd*)	sim_ppc_float="-DWITH_E500" ; sim_ppc_filter="${sim_ppc_filter},e500" ;;
   17111   *) sim_ppc_float=""
   17112 esac
   17113 fi
   17114 
   17115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_float" >&5
   17116 $as_echo "$sim_ppc_float" >&6; }
   17117 
   17118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc hardware settings" >&5
   17119 $as_echo_n "checking for sim ppc hardware settings... " >&6; }
   17120 hardware="cpu,memory,nvram,iobus,htab,disk,trace,register,vm,init,core,pal,com,eeprom,opic,glue,phb,ide,sem,shm"
   17121 # Check whether --enable-sim-ppc-hardware was given.
   17122 if test "${enable_sim_ppc_hardware+set}" = set; then :
   17123   enableval=$enable_sim_ppc_hardware; case "${enableval}" in
   17124   yes)	;;
   17125   no)	as_fn_error $? "\"List of hardware must be specified for --enable-sim-ppc-hardware\"" "$LINENO" 5;;
   17126   ,*)   hardware="${hardware}${enableval}";;
   17127   *,)   hardware="${enableval}${hardware}";;
   17128   *)	hardware="${enableval}"'';;
   17129 esac
   17130 fi
   17131 
   17132 sim_ppc_hw_src=`echo $hardware | sed -e 's/,/.c hw_/g' -e 's/^/hw_/' -e s'/$/.c/'`
   17133 sim_ppc_hw_obj=`echo $sim_ppc_hw_src | sed -e 's/\.c/.o/g'`
   17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardware" >&5
   17135 $as_echo "$hardware" >&6; }
   17136 
   17137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc icache settings" >&5
   17138 $as_echo_n "checking for sim ppc icache settings... " >&6; }
   17139 # Check whether --enable-sim-ppc-icache was given.
   17140 if test "${enable_sim_ppc_icache+set}" = set; then :
   17141   enableval=$enable_sim_ppc_icache; icache="-R"
   17142  case "${enableval}" in
   17143   yes)		icache="1024"; sim_ppc_icache="-I $icache";;
   17144   no)		sim_ppc_icache="-R";;
   17145   *) icache=1024
   17146      sim_ppc_icache="-"
   17147      for x in `echo "${enableval}" | sed -e "s/,/ /g"`; do
   17148        case "$x" in
   17149          define)	sim_ppc_icache="${sim_ppc_icache}R";;
   17150          semantic)	sim_ppc_icache="${sim_ppc_icache}C";;
   17151 	 insn)		sim_ppc_icache="${sim_ppc_icache}S";;
   17152 	 0*|1*|2*|3*|4*|5*|6*|7*|8*|9*)	icache=$x;;
   17153          *)		as_fn_error $? "\"Unknown value $x for --enable-sim-ppc-icache\"" "$LINENO" 5;;
   17154        esac
   17155      done
   17156      sim_ppc_icache="${sim_ppc_icache}I $icache";;
   17157 esac
   17158 else
   17159   sim_ppc_icache="-CSRI 1024"
   17160 fi
   17161 
   17162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_icache" >&5
   17163 $as_echo "$sim_ppc_icache" >&6; }
   17164 
   17165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc jump settings" >&5
   17166 $as_echo_n "checking for sim ppc jump settings... " >&6; }
   17167 # Check whether --enable-sim-ppc-jump was given.
   17168 if test "${enable_sim_ppc_jump+set}" = set; then :
   17169   enableval=$enable_sim_ppc_jump; case "${enableval}" in
   17170   yes)	sim_ppc_jump="-J";;
   17171   no)	sim_ppc_jump="";;
   17172   *)	as_fn_error $? "\"--enable-sim-ppc-jump does not take a value\"" "$LINENO" 5;;
   17173 esac
   17174 else
   17175   sim_ppc_jump=""
   17176 fi
   17177 
   17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_jump" >&5
   17179 $as_echo "$sim_ppc_jump" >&6; }
   17180 
   17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc source debug line numbers" >&5
   17182 $as_echo_n "checking for sim ppc source debug line numbers... " >&6; }
   17183 # Check whether --enable-sim-ppc-line-nr was given.
   17184 if test "${enable_sim_ppc_line_nr+set}" = set; then :
   17185   enableval=$enable_sim_ppc_line_nr; case "${enableval}" in
   17186   yes)	sim_ppc_line_nr="";;
   17187   no)	sim_ppc_line_nr="-L";;
   17188   *)	as_fn_error $? "\"--enable-sim-ppc-line-nr does not take a value\"" "$LINENO" 5;;
   17189 esac
   17190 else
   17191   sim_ppc_line_nr=""
   17192 fi
   17193 
   17194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_line_nr" >&5
   17195 $as_echo "$sim_ppc_line_nr" >&6; }
   17196 
   17197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc model" >&5
   17198 $as_echo_n "checking for sim ppc model... " >&6; }
   17199 # Check whether --enable-sim-ppc-model was given.
   17200 if test "${enable_sim_ppc_model+set}" = set; then :
   17201   enableval=$enable_sim_ppc_model; case "${enableval}" in
   17202   yes|no)	as_fn_error $? "\"No value supplied for --enable-sim-ppc-model=model\"" "$LINENO" 5;;
   17203   *)		sim_ppc_model="-DWITH_MODEL=${enableval}";;
   17204 esac
   17205 else
   17206   sim_ppc_model=""
   17207 fi
   17208 
   17209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_model" >&5
   17210 $as_echo "$sim_ppc_model" >&6; }
   17211 
   17212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc model issue" >&5
   17213 $as_echo_n "checking for sim ppc model issue... " >&6; }
   17214 # Check whether --enable-sim-ppc-model-issue was given.
   17215 if test "${enable_sim_ppc_model_issue+set}" = set; then :
   17216   enableval=$enable_sim_ppc_model_issue; case "${enableval}" in
   17217   yes)	sim_ppc_model_issue="-DWITH_MODEL_ISSUE=MODEL_ISSUE_PROCESS";;
   17218   no)	sim_ppc_model_issue="-DWITH_MODEL_ISSUE=MODEL_ISSUE_IGNORE";;
   17219   *)	as_fn_error $? "\"--enable-sim-ppc-model-issue does not take a value\"" "$LINENO" 5;;
   17220 esac
   17221 else
   17222   sim_ppc_model_issue=""
   17223 fi
   17224 
   17225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_model_issue" >&5
   17226 $as_echo "$sim_ppc_model_issue" >&6; }
   17227 
   17228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc event monitoring" >&5
   17229 $as_echo_n "checking for sim ppc event monitoring... " >&6; }
   17230 # Check whether --enable-sim-ppc-monitor was given.
   17231 if test "${enable_sim_ppc_monitor+set}" = set; then :
   17232   enableval=$enable_sim_ppc_monitor; case "${enableval}" in
   17233   yes)		sim_ppc_monitor="-DWITH_MON='MONITOR_INSTRUCTION_ISSUE | MONITOR_LOAD_STORE_UNIT'";;
   17234   no)		sim_ppc_monitor="-DWITH_MON=0";;
   17235   instruction)	sim_ppc_monitor="-DWITH_MON=MONITOR_INSTRUCTION_ISSUE";;
   17236   memory)	sim_ppc_monitor="-DWITH_MON=MONITOR_LOAD_STORE_UNIT";;
   17237   *)		as_fn_error $? "\"Unknown value $enableval passed to --enable-sim-ppc-mon\"" "$LINENO" 5;;
   17238 esac
   17239 else
   17240   sim_ppc_monitor=""
   17241 fi
   17242 
   17243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_monitor" >&5
   17244 $as_echo "$sim_ppc_monitor" >&6; }
   17245 
   17246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc opcode lookup settings" >&5
   17247 $as_echo_n "checking for sim ppc opcode lookup settings... " >&6; }
   17248 # Check whether --enable-sim-ppc-opcode was given.
   17249 if test "${enable_sim_ppc_opcode+set}" = set; then :
   17250   enableval=$enable_sim_ppc_opcode; case "${enableval}" in
   17251   yes|no)	as_fn_error $? "\"No value supplied for --enable-sim-ppc-opcode=file\"" "$LINENO" 5;;
   17252   *)		if test -f "${srcdir}/${enableval}"; then
   17253 		  sim_ppc_opcode="${enableval}"
   17254 		elif test -f "${srcdir}/dc-${enableval}"; then
   17255 		  sim_ppc_opcode="dc-${enableval}"
   17256 		else
   17257 		  as_fn_error $? "\"File $enableval is not an opcode rules file\"" "$LINENO" 5
   17258 		fi;;
   17259 esac
   17260 else
   17261   sim_ppc_opcode="dc-complex"
   17262 fi
   17263 
   17264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_opcode" >&5
   17265 $as_echo "$sim_ppc_opcode" >&6; }
   17266 
   17267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc smp settings" >&5
   17268 $as_echo_n "checking for sim ppc smp settings... " >&6; }
   17269 # Check whether --enable-sim-ppc-smp was given.
   17270 if test "${enable_sim_ppc_smp+set}" = set; then :
   17271   enableval=$enable_sim_ppc_smp; case "${enableval}" in
   17272   yes)	sim_ppc_smp="-DWITH_SMP=5" ; sim_ppc_igen_smp="-N 5";;
   17273   no)	sim_ppc_smp="-DWITH_SMP=0" ; sim_ppc_igen_smp="-N 0";;
   17274   *)	sim_ppc_smp="-DWITH_SMP=$enableval" ; sim_ppc_igen_smp="-N $enableval";;
   17275 esac
   17276 else
   17277   sim_ppc_smp="-DWITH_SMP=5" ; sim_ppc_igen_smp="-N 5"
   17278 fi
   17279 
   17280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_smp" >&5
   17281 $as_echo "$sim_ppc_smp" >&6; }
   17282 
   17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc switch table settings" >&5
   17284 $as_echo_n "checking for sim ppc switch table settings... " >&6; }
   17285 # Check whether --enable-sim-ppc-switch was given.
   17286 if test "${enable_sim_ppc_switch+set}" = set; then :
   17287   enableval=$enable_sim_ppc_switch; case "${enableval}" in
   17288   yes)	sim_ppc_switch="-DWITH_SPREG_SWITCH_TABLE";;
   17289   no)	sim_ppc_switch="";;
   17290   *)	as_fn_error $? "\"--enable-sim-ppc-switch does not take a value\"" "$LINENO" 5;;
   17291 esac
   17292 else
   17293   sim_ppc_switch=""
   17294 fi
   17295 
   17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_switch" >&5
   17297 $as_echo "$sim_ppc_switch" >&6; }
   17298 
   17299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc timebase" >&5
   17300 $as_echo_n "checking for sim ppc timebase... " >&6; }
   17301 # Check whether --enable-sim-ppc-timebase was given.
   17302 if test "${enable_sim_ppc_timebase+set}" = set; then :
   17303   enableval=$enable_sim_ppc_timebase; case "${enableval}" in
   17304   yes)	sim_ppc_timebase="-DWITH_TIME_BASE=1";;
   17305   no)	sim_ppc_timebase="-DWITH_TIME_BASE=0";;
   17306   *)	as_fn_error $? "\"--enable-sim-ppc-timebase does not take a value\"" "$LINENO" 5;;
   17307 esac
   17308 else
   17309   sim_ppc_timebase=""
   17310 fi
   17311 
   17312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_timebase" >&5
   17313 $as_echo "$sim_ppc_timebase" >&6; }
   17314 
   17315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc xor endian settings" >&5
   17316 $as_echo_n "checking for sim ppc xor endian settings... " >&6; }
   17317 # Check whether --enable-sim-ppc-xor-endian was given.
   17318 if test "${enable_sim_ppc_xor_endian+set}" = set; then :
   17319   enableval=$enable_sim_ppc_xor_endian; case "${enableval}" in
   17320   yes)	sim_ppc_xor_endian="-DWITH_XOR_ENDIAN=8";;
   17321   no)	sim_ppc_xor_endian="-DWITH_XOR_ENDIAN=0";;
   17322   *)	sim_ppc_xor_endian="-DWITH_XOR_ENDIAN=$enableval";;
   17323 esac
   17324 else
   17325   sim_ppc_xor_endian=""
   17326 fi
   17327 
   17328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_xor_endian" >&5
   17329 $as_echo "$sim_ppc_xor_endian" >&6; }
   17330 
   17331 
   17332 
   17333 
   17334 
   17335 
   17336 
   17337 
   17338 
   17339 
   17340 
   17341 
   17342 
   17343 
   17344 
   17345 
   17346 
   17347 
   17348 
   17349 
   17350 
   17351 
   17352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking riscv bitsize" >&5
   17353 $as_echo_n "checking riscv bitsize... " >&6; }
   17354 SIM_RISCV_BITSIZE=64
   17355 case $target in #(
   17356   riscv32*) :
   17357     SIM_RISCV_BITSIZE=32 ;; #(
   17358   *) :
   17359      ;;
   17360 esac
   17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SIM_RISCV_BITSIZE" >&5
   17362 $as_echo "$SIM_RISCV_BITSIZE" >&6; }
   17363 
   17364 
   17365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sim rx should be cycle accurate" >&5
   17366 $as_echo_n "checking whether sim rx should be cycle accurate... " >&6; }
   17367 # Check whether --enable-sim-rx-cycle-accurate was given.
   17368 if test "${enable_sim_rx_cycle_accurate+set}" = set; then :
   17369   enableval=$enable_sim_rx_cycle_accurate; case "${enableval}" in
   17370 yes | no) ;;
   17371 *)	as_fn_error $? "bad value ${enableval} given for --enable-sim-rx-cycle-accurate option" "$LINENO" 5 ;;
   17372 esac
   17373 fi
   17374 
   17375 if test "x${enable_sim_rx_cycle_accurate}" != xno; then
   17376   SIM_RX_CYCLE_ACCURATE_FLAGS="-DCYCLE_ACCURATE"
   17377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17378 $as_echo "yes" >&6; }
   17379 else
   17380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17381 $as_echo "no" >&6; }
   17382 fi
   17383 
   17384 
   17385 
   17386 ac_config_files="$ac_config_files Makefile .gdbinit:gdbinit.in"
   17387 
   17388 cat >confcache <<\_ACEOF
   17389 # This file is a shell script that caches the results of configure
   17390 # tests run on this system so they can be shared between configure
   17391 # scripts and configure runs, see configure's option --config-cache.
   17392 # It is not useful on other systems.  If it contains results you don't
   17393 # want to keep, you may remove or edit it.
   17394 #
   17395 # config.status only pays attention to the cache file if you give it
   17396 # the --recheck option to rerun configure.
   17397 #
   17398 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17399 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17400 # following values.
   17401 
   17402 _ACEOF
   17403 
   17404 # The following way of writing the cache mishandles newlines in values,
   17405 # but we know of no workaround that is simple, portable, and efficient.
   17406 # So, we kill variables containing newlines.
   17407 # Ultrix sh set writes to stderr and can't be redirected directly,
   17408 # and sets the high bit in the cache file unless we assign to the vars.
   17409 (
   17410   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17411     eval ac_val=\$$ac_var
   17412     case $ac_val in #(
   17413     *${as_nl}*)
   17414       case $ac_var in #(
   17415       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17416 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17417       esac
   17418       case $ac_var in #(
   17419       _ | IFS | as_nl) ;; #(
   17420       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17421       *) { eval $ac_var=; unset $ac_var;} ;;
   17422       esac ;;
   17423     esac
   17424   done
   17425 
   17426   (set) 2>&1 |
   17427     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17428     *${as_nl}ac_space=\ *)
   17429       # `set' does not quote correctly, so add quotes: double-quote
   17430       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17431       sed -n \
   17432 	"s/'/'\\\\''/g;
   17433 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17434       ;; #(
   17435     *)
   17436       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17437       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17438       ;;
   17439     esac |
   17440     sort
   17441 ) |
   17442   sed '
   17443      /^ac_cv_env_/b end
   17444      t clear
   17445      :clear
   17446      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17447      t end
   17448      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17449      :end' >>confcache
   17450 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17451   if test -w "$cache_file"; then
   17452     if test "x$cache_file" != "x/dev/null"; then
   17453       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17454 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17455       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17456 	cat confcache >"$cache_file"
   17457       else
   17458         case $cache_file in #(
   17459         */* | ?:*)
   17460 	  mv -f confcache "$cache_file"$$ &&
   17461 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17462         *)
   17463 	  mv -f confcache "$cache_file" ;;
   17464 	esac
   17465       fi
   17466     fi
   17467   else
   17468     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17469 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17470   fi
   17471 fi
   17472 rm -f confcache
   17473 
   17474 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17475 # Let make expand exec_prefix.
   17476 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17477 
   17478 DEFS=-DHAVE_CONFIG_H
   17479 
   17480 ac_libobjs=
   17481 ac_ltlibobjs=
   17482 U=
   17483 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17484   # 1. Remove the extension, and $U if already installed.
   17485   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17486   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17487   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17488   #    will be set to the directory where LIBOBJS objects are built.
   17489   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17490   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17491 done
   17492 LIBOBJS=$ac_libobjs
   17493 
   17494 LTLIBOBJS=$ac_ltlibobjs
   17495 
   17496 
   17497 
   17498 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   17499   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   17500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17501 fi
   17502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17503 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17504    if test -n "$am_sleep_pid"; then
   17505      # Hide warnings about reused PIDs.
   17506      wait $am_sleep_pid 2>/dev/null
   17507    fi
   17508    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17509 $as_echo "done" >&6; }
   17510 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17511   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17513 fi
   17514 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17515   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17517 fi
   17518  if test -n "$EXEEXT"; then
   17519   am__EXEEXT_TRUE=
   17520   am__EXEEXT_FALSE='#'
   17521 else
   17522   am__EXEEXT_TRUE='#'
   17523   am__EXEEXT_FALSE=
   17524 fi
   17525 
   17526 if test -z "${SIM_ENABLE_ARCH_aarch64_TRUE}" && test -z "${SIM_ENABLE_ARCH_aarch64_FALSE}"; then
   17527   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_aarch64\" was never defined.
   17528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17529 fi
   17530 if test -z "${SIM_ENABLE_ARCH_avr_TRUE}" && test -z "${SIM_ENABLE_ARCH_avr_FALSE}"; then
   17531   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_avr\" was never defined.
   17532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17533 fi
   17534 if test -z "${SIM_ENABLE_ARCH_bfin_TRUE}" && test -z "${SIM_ENABLE_ARCH_bfin_FALSE}"; then
   17535   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_bfin\" was never defined.
   17536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17537 fi
   17538 if test -z "${SIM_ENABLE_ARCH_bpf_TRUE}" && test -z "${SIM_ENABLE_ARCH_bpf_FALSE}"; then
   17539   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_bpf\" was never defined.
   17540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17541 fi
   17542 if test -z "${SIM_ENABLE_ARCH_cr16_TRUE}" && test -z "${SIM_ENABLE_ARCH_cr16_FALSE}"; then
   17543   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_cr16\" was never defined.
   17544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17545 fi
   17546 if test -z "${SIM_ENABLE_ARCH_cris_TRUE}" && test -z "${SIM_ENABLE_ARCH_cris_FALSE}"; then
   17547   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_cris\" was never defined.
   17548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17549 fi
   17550 if test -z "${SIM_ENABLE_ARCH_d10v_TRUE}" && test -z "${SIM_ENABLE_ARCH_d10v_FALSE}"; then
   17551   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_d10v\" was never defined.
   17552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17553 fi
   17554 if test -z "${SIM_ENABLE_ARCH_frv_TRUE}" && test -z "${SIM_ENABLE_ARCH_frv_FALSE}"; then
   17555   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_frv\" was never defined.
   17556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17557 fi
   17558 if test -z "${SIM_ENABLE_ARCH_ft32_TRUE}" && test -z "${SIM_ENABLE_ARCH_ft32_FALSE}"; then
   17559   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_ft32\" was never defined.
   17560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17561 fi
   17562 if test -z "${SIM_ENABLE_ARCH_h8300_TRUE}" && test -z "${SIM_ENABLE_ARCH_h8300_FALSE}"; then
   17563   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_h8300\" was never defined.
   17564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17565 fi
   17566 if test -z "${SIM_ENABLE_ARCH_iq2000_TRUE}" && test -z "${SIM_ENABLE_ARCH_iq2000_FALSE}"; then
   17567   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_iq2000\" was never defined.
   17568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17569 fi
   17570 if test -z "${SIM_ENABLE_ARCH_lm32_TRUE}" && test -z "${SIM_ENABLE_ARCH_lm32_FALSE}"; then
   17571   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_lm32\" was never defined.
   17572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17573 fi
   17574 if test -z "${SIM_ENABLE_ARCH_m32c_TRUE}" && test -z "${SIM_ENABLE_ARCH_m32c_FALSE}"; then
   17575   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_m32c\" was never defined.
   17576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17577 fi
   17578 if test -z "${SIM_ENABLE_ARCH_m32r_TRUE}" && test -z "${SIM_ENABLE_ARCH_m32r_FALSE}"; then
   17579   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_m32r\" was never defined.
   17580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17581 fi
   17582 if test -z "${SIM_ENABLE_ARCH_m68hc11_TRUE}" && test -z "${SIM_ENABLE_ARCH_m68hc11_FALSE}"; then
   17583   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_m68hc11\" was never defined.
   17584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17585 fi
   17586 if test -z "${SIM_ENABLE_ARCH_mcore_TRUE}" && test -z "${SIM_ENABLE_ARCH_mcore_FALSE}"; then
   17587   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_mcore\" was never defined.
   17588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17589 fi
   17590 if test -z "${SIM_ENABLE_ARCH_microblaze_TRUE}" && test -z "${SIM_ENABLE_ARCH_microblaze_FALSE}"; then
   17591   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_microblaze\" was never defined.
   17592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17593 fi
   17594 if test -z "${SIM_ENABLE_ARCH_mips_TRUE}" && test -z "${SIM_ENABLE_ARCH_mips_FALSE}"; then
   17595   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_mips\" was never defined.
   17596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17597 fi
   17598 if test -z "${SIM_ENABLE_ARCH_mn10300_TRUE}" && test -z "${SIM_ENABLE_ARCH_mn10300_FALSE}"; then
   17599   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_mn10300\" was never defined.
   17600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17601 fi
   17602 if test -z "${SIM_ENABLE_ARCH_moxie_TRUE}" && test -z "${SIM_ENABLE_ARCH_moxie_FALSE}"; then
   17603   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_moxie\" was never defined.
   17604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17605 fi
   17606 if test -z "${SIM_ENABLE_ARCH_msp430_TRUE}" && test -z "${SIM_ENABLE_ARCH_msp430_FALSE}"; then
   17607   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_msp430\" was never defined.
   17608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17609 fi
   17610 if test -z "${SIM_ENABLE_ARCH_or1k_TRUE}" && test -z "${SIM_ENABLE_ARCH_or1k_FALSE}"; then
   17611   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_or1k\" was never defined.
   17612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17613 fi
   17614 if test -z "${SIM_ENABLE_ARCH_ppc_TRUE}" && test -z "${SIM_ENABLE_ARCH_ppc_FALSE}"; then
   17615   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_ppc\" was never defined.
   17616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17617 fi
   17618 if test -z "${SIM_ENABLE_ARCH_pru_TRUE}" && test -z "${SIM_ENABLE_ARCH_pru_FALSE}"; then
   17619   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_pru\" was never defined.
   17620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17621 fi
   17622 if test -z "${SIM_ENABLE_ARCH_riscv_TRUE}" && test -z "${SIM_ENABLE_ARCH_riscv_FALSE}"; then
   17623   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_riscv\" was never defined.
   17624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17625 fi
   17626 if test -z "${SIM_ENABLE_ARCH_rl78_TRUE}" && test -z "${SIM_ENABLE_ARCH_rl78_FALSE}"; then
   17627   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_rl78\" was never defined.
   17628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17629 fi
   17630 if test -z "${SIM_ENABLE_ARCH_rx_TRUE}" && test -z "${SIM_ENABLE_ARCH_rx_FALSE}"; then
   17631   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_rx\" was never defined.
   17632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17633 fi
   17634 if test -z "${SIM_ENABLE_ARCH_sh_TRUE}" && test -z "${SIM_ENABLE_ARCH_sh_FALSE}"; then
   17635   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_sh\" was never defined.
   17636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17637 fi
   17638 if test -z "${SIM_ENABLE_ARCH_erc32_TRUE}" && test -z "${SIM_ENABLE_ARCH_erc32_FALSE}"; then
   17639   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_erc32\" was never defined.
   17640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17641 fi
   17642 if test -z "${SIM_ENABLE_ARCH_v850_TRUE}" && test -z "${SIM_ENABLE_ARCH_v850_FALSE}"; then
   17643   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_v850\" was never defined.
   17644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17645 fi
   17646 if test -z "${SIM_ENABLE_ARCH_examples_TRUE}" && test -z "${SIM_ENABLE_ARCH_examples_FALSE}"; then
   17647   as_fn_error $? "conditional \"SIM_ENABLE_ARCH_examples\" was never defined.
   17648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17649 fi
   17650 if test -z "${ENABLE_SIM_TRUE}" && test -z "${ENABLE_SIM_FALSE}"; then
   17651   as_fn_error $? "conditional \"ENABLE_SIM\" was never defined.
   17652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17653 fi
   17654 if test -z "${SIM_ENABLE_HW_TRUE}" && test -z "${SIM_ENABLE_HW_FALSE}"; then
   17655   as_fn_error $? "conditional \"SIM_ENABLE_HW\" was never defined.
   17656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17657 fi
   17658 if test -z "${SIM_MIPS_GEN_MODE_SINGLE_TRUE}" && test -z "${SIM_MIPS_GEN_MODE_SINGLE_FALSE}"; then
   17659   as_fn_error $? "conditional \"SIM_MIPS_GEN_MODE_SINGLE\" was never defined.
   17660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17661 fi
   17662 if test -z "${SIM_MIPS_GEN_MODE_M16_TRUE}" && test -z "${SIM_MIPS_GEN_MODE_M16_FALSE}"; then
   17663   as_fn_error $? "conditional \"SIM_MIPS_GEN_MODE_M16\" was never defined.
   17664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17665 fi
   17666 if test -z "${SIM_MIPS_GEN_MODE_MULTI_TRUE}" && test -z "${SIM_MIPS_GEN_MODE_MULTI_FALSE}"; then
   17667   as_fn_error $? "conditional \"SIM_MIPS_GEN_MODE_MULTI\" was never defined.
   17668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17669 fi
   17670 
   17671 : "${CONFIG_STATUS=./config.status}"
   17672 ac_write_fail=0
   17673 ac_clean_files_save=$ac_clean_files
   17674 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17675 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17676 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17677 as_write_fail=0
   17678 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17679 #! $SHELL
   17680 # Generated by $as_me.
   17681 # Run this file to recreate the current configuration.
   17682 # Compiler output produced by configure, useful for debugging
   17683 # configure, is in config.log if it exists.
   17684 
   17685 debug=false
   17686 ac_cs_recheck=false
   17687 ac_cs_silent=false
   17688 
   17689 SHELL=\${CONFIG_SHELL-$SHELL}
   17690 export SHELL
   17691 _ASEOF
   17692 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17693 ## -------------------- ##
   17694 ## M4sh Initialization. ##
   17695 ## -------------------- ##
   17696 
   17697 # Be more Bourne compatible
   17698 DUALCASE=1; export DUALCASE # for MKS sh
   17699 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17700   emulate sh
   17701   NULLCMD=:
   17702   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17703   # is contrary to our usage.  Disable this feature.
   17704   alias -g '${1+"$@"}'='"$@"'
   17705   setopt NO_GLOB_SUBST
   17706 else
   17707   case `(set -o) 2>/dev/null` in #(
   17708   *posix*) :
   17709     set -o posix ;; #(
   17710   *) :
   17711      ;;
   17712 esac
   17713 fi
   17714 
   17715 
   17716 as_nl='
   17717 '
   17718 export as_nl
   17719 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17720 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17721 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17722 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17723 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17724 # but without wasting forks for bash or zsh.
   17725 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17726     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17727   as_echo='print -r --'
   17728   as_echo_n='print -rn --'
   17729 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17730   as_echo='printf %s\n'
   17731   as_echo_n='printf %s'
   17732 else
   17733   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17734     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17735     as_echo_n='/usr/ucb/echo -n'
   17736   else
   17737     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17738     as_echo_n_body='eval
   17739       arg=$1;
   17740       case $arg in #(
   17741       *"$as_nl"*)
   17742 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17743 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17744       esac;
   17745       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17746     '
   17747     export as_echo_n_body
   17748     as_echo_n='sh -c $as_echo_n_body as_echo'
   17749   fi
   17750   export as_echo_body
   17751   as_echo='sh -c $as_echo_body as_echo'
   17752 fi
   17753 
   17754 # The user is always right.
   17755 if test "${PATH_SEPARATOR+set}" != set; then
   17756   PATH_SEPARATOR=:
   17757   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17758     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17759       PATH_SEPARATOR=';'
   17760   }
   17761 fi
   17762 
   17763 
   17764 # IFS
   17765 # We need space, tab and new line, in precisely that order.  Quoting is
   17766 # there to prevent editors from complaining about space-tab.
   17767 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17768 # splitting by setting IFS to empty value.)
   17769 IFS=" ""	$as_nl"
   17770 
   17771 # Find who we are.  Look in the path if we contain no directory separator.
   17772 as_myself=
   17773 case $0 in #((
   17774   *[\\/]* ) as_myself=$0 ;;
   17775   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17776 for as_dir in $PATH
   17777 do
   17778   IFS=$as_save_IFS
   17779   test -z "$as_dir" && as_dir=.
   17780     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   17781   done
   17782 IFS=$as_save_IFS
   17783 
   17784      ;;
   17785 esac
   17786 # We did not find ourselves, most probably we were run as `sh COMMAND'
   17787 # in which case we are not to be found in the path.
   17788 if test "x$as_myself" = x; then
   17789   as_myself=$0
   17790 fi
   17791 if test ! -f "$as_myself"; then
   17792   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   17793   exit 1
   17794 fi
   17795 
   17796 # Unset variables that we do not need and which cause bugs (e.g. in
   17797 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   17798 # suppresses any "Segmentation fault" message there.  '((' could
   17799 # trigger a bug in pdksh 5.2.14.
   17800 for as_var in BASH_ENV ENV MAIL MAILPATH
   17801 do eval test x\${$as_var+set} = xset \
   17802   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   17803 done
   17804 PS1='$ '
   17805 PS2='> '
   17806 PS4='+ '
   17807 
   17808 # NLS nuisances.
   17809 LC_ALL=C
   17810 export LC_ALL
   17811 LANGUAGE=C
   17812 export LANGUAGE
   17813 
   17814 # CDPATH.
   17815 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17816 
   17817 
   17818 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   17819 # ----------------------------------------
   17820 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   17821 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   17822 # script with STATUS, using 1 if that was 0.
   17823 as_fn_error ()
   17824 {
   17825   as_status=$1; test $as_status -eq 0 && as_status=1
   17826   if test "$4"; then
   17827     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   17828     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   17829   fi
   17830   $as_echo "$as_me: error: $2" >&2
   17831   as_fn_exit $as_status
   17832 } # as_fn_error
   17833 
   17834 
   17835 # as_fn_set_status STATUS
   17836 # -----------------------
   17837 # Set $? to STATUS, without forking.
   17838 as_fn_set_status ()
   17839 {
   17840   return $1
   17841 } # as_fn_set_status
   17842 
   17843 # as_fn_exit STATUS
   17844 # -----------------
   17845 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   17846 as_fn_exit ()
   17847 {
   17848   set +e
   17849   as_fn_set_status $1
   17850   exit $1
   17851 } # as_fn_exit
   17852 
   17853 # as_fn_unset VAR
   17854 # ---------------
   17855 # Portably unset VAR.
   17856 as_fn_unset ()
   17857 {
   17858   { eval $1=; unset $1;}
   17859 }
   17860 as_unset=as_fn_unset
   17861 # as_fn_append VAR VALUE
   17862 # ----------------------
   17863 # Append the text in VALUE to the end of the definition contained in VAR. Take
   17864 # advantage of any shell optimizations that allow amortized linear growth over
   17865 # repeated appends, instead of the typical quadratic growth present in naive
   17866 # implementations.
   17867 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   17868   eval 'as_fn_append ()
   17869   {
   17870     eval $1+=\$2
   17871   }'
   17872 else
   17873   as_fn_append ()
   17874   {
   17875     eval $1=\$$1\$2
   17876   }
   17877 fi # as_fn_append
   17878 
   17879 # as_fn_arith ARG...
   17880 # ------------------
   17881 # Perform arithmetic evaluation on the ARGs, and store the result in the
   17882 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   17883 # must be portable across $(()) and expr.
   17884 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   17885   eval 'as_fn_arith ()
   17886   {
   17887     as_val=$(( $* ))
   17888   }'
   17889 else
   17890   as_fn_arith ()
   17891   {
   17892     as_val=`expr "$@" || test $? -eq 1`
   17893   }
   17894 fi # as_fn_arith
   17895 
   17896 
   17897 if expr a : '\(a\)' >/dev/null 2>&1 &&
   17898    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   17899   as_expr=expr
   17900 else
   17901   as_expr=false
   17902 fi
   17903 
   17904 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   17905   as_basename=basename
   17906 else
   17907   as_basename=false
   17908 fi
   17909 
   17910 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   17911   as_dirname=dirname
   17912 else
   17913   as_dirname=false
   17914 fi
   17915 
   17916 as_me=`$as_basename -- "$0" ||
   17917 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   17918 	 X"$0" : 'X\(//\)$' \| \
   17919 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   17920 $as_echo X/"$0" |
   17921     sed '/^.*\/\([^/][^/]*\)\/*$/{
   17922 	    s//\1/
   17923 	    q
   17924 	  }
   17925 	  /^X\/\(\/\/\)$/{
   17926 	    s//\1/
   17927 	    q
   17928 	  }
   17929 	  /^X\/\(\/\).*/{
   17930 	    s//\1/
   17931 	    q
   17932 	  }
   17933 	  s/.*/./; q'`
   17934 
   17935 # Avoid depending upon Character Ranges.
   17936 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   17937 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   17938 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   17939 as_cr_digits='0123456789'
   17940 as_cr_alnum=$as_cr_Letters$as_cr_digits
   17941 
   17942 ECHO_C= ECHO_N= ECHO_T=
   17943 case `echo -n x` in #(((((
   17944 -n*)
   17945   case `echo 'xy\c'` in
   17946   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   17947   xy)  ECHO_C='\c';;
   17948   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   17949        ECHO_T='	';;
   17950   esac;;
   17951 *)
   17952   ECHO_N='-n';;
   17953 esac
   17954 
   17955 rm -f conf$$ conf$$.exe conf$$.file
   17956 if test -d conf$$.dir; then
   17957   rm -f conf$$.dir/conf$$.file
   17958 else
   17959   rm -f conf$$.dir
   17960   mkdir conf$$.dir 2>/dev/null
   17961 fi
   17962 if (echo >conf$$.file) 2>/dev/null; then
   17963   if ln -s conf$$.file conf$$ 2>/dev/null; then
   17964     as_ln_s='ln -s'
   17965     # ... but there are two gotchas:
   17966     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   17967     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   17968     # In both cases, we have to default to `cp -pR'.
   17969     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   17970       as_ln_s='cp -pR'
   17971   elif ln conf$$.file conf$$ 2>/dev/null; then
   17972     as_ln_s=ln
   17973   else
   17974     as_ln_s='cp -pR'
   17975   fi
   17976 else
   17977   as_ln_s='cp -pR'
   17978 fi
   17979 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   17980 rmdir conf$$.dir 2>/dev/null
   17981 
   17982 
   17983 # as_fn_mkdir_p
   17984 # -------------
   17985 # Create "$as_dir" as a directory, including parents if necessary.
   17986 as_fn_mkdir_p ()
   17987 {
   17988 
   17989   case $as_dir in #(
   17990   -*) as_dir=./$as_dir;;
   17991   esac
   17992   test -d "$as_dir" || eval $as_mkdir_p || {
   17993     as_dirs=
   17994     while :; do
   17995       case $as_dir in #(
   17996       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   17997       *) as_qdir=$as_dir;;
   17998       esac
   17999       as_dirs="'$as_qdir' $as_dirs"
   18000       as_dir=`$as_dirname -- "$as_dir" ||
   18001 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18002 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18003 	 X"$as_dir" : 'X\(//\)$' \| \
   18004 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18005 $as_echo X"$as_dir" |
   18006     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18007 	    s//\1/
   18008 	    q
   18009 	  }
   18010 	  /^X\(\/\/\)[^/].*/{
   18011 	    s//\1/
   18012 	    q
   18013 	  }
   18014 	  /^X\(\/\/\)$/{
   18015 	    s//\1/
   18016 	    q
   18017 	  }
   18018 	  /^X\(\/\).*/{
   18019 	    s//\1/
   18020 	    q
   18021 	  }
   18022 	  s/.*/./; q'`
   18023       test -d "$as_dir" && break
   18024     done
   18025     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18026   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18027 
   18028 
   18029 } # as_fn_mkdir_p
   18030 if mkdir -p . 2>/dev/null; then
   18031   as_mkdir_p='mkdir -p "$as_dir"'
   18032 else
   18033   test -d ./-p && rmdir ./-p
   18034   as_mkdir_p=false
   18035 fi
   18036 
   18037 
   18038 # as_fn_executable_p FILE
   18039 # -----------------------
   18040 # Test if FILE is an executable regular file.
   18041 as_fn_executable_p ()
   18042 {
   18043   test -f "$1" && test -x "$1"
   18044 } # as_fn_executable_p
   18045 as_test_x='test -x'
   18046 as_executable_p=as_fn_executable_p
   18047 
   18048 # Sed expression to map a string onto a valid CPP name.
   18049 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18050 
   18051 # Sed expression to map a string onto a valid variable name.
   18052 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18053 
   18054 
   18055 exec 6>&1
   18056 ## ----------------------------------- ##
   18057 ## Main body of $CONFIG_STATUS script. ##
   18058 ## ----------------------------------- ##
   18059 _ASEOF
   18060 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18061 
   18062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18063 # Save the log message, to keep $0 and so on meaningful, and to
   18064 # report actual input values of CONFIG_FILES etc. instead of their
   18065 # values after options handling.
   18066 ac_log="
   18067 This file was extended by sim $as_me 0, which was
   18068 generated by GNU Autoconf 2.69.  Invocation command line was
   18069 
   18070   CONFIG_FILES    = $CONFIG_FILES
   18071   CONFIG_HEADERS  = $CONFIG_HEADERS
   18072   CONFIG_LINKS    = $CONFIG_LINKS
   18073   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18074   $ $0 $@
   18075 
   18076 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18077 "
   18078 
   18079 _ACEOF
   18080 
   18081 case $ac_config_files in *"
   18082 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18083 esac
   18084 
   18085 case $ac_config_headers in *"
   18086 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18087 esac
   18088 
   18089 
   18090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18091 # Files that config.status was made for.
   18092 config_files="$ac_config_files"
   18093 config_headers="$ac_config_headers"
   18094 config_commands="$ac_config_commands"
   18095 
   18096 _ACEOF
   18097 
   18098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18099 ac_cs_usage="\
   18100 \`$as_me' instantiates files and other configuration actions
   18101 from templates according to the current configuration.  Unless the files
   18102 and actions are specified as TAGs, all are instantiated by default.
   18103 
   18104 Usage: $0 [OPTION]... [TAG]...
   18105 
   18106   -h, --help       print this help, then exit
   18107   -V, --version    print version number and configuration settings, then exit
   18108       --config     print configuration, then exit
   18109   -q, --quiet, --silent
   18110                    do not print progress messages
   18111   -d, --debug      don't remove temporary files
   18112       --recheck    update $as_me by reconfiguring in the same conditions
   18113       --file=FILE[:TEMPLATE]
   18114                    instantiate the configuration file FILE
   18115       --header=FILE[:TEMPLATE]
   18116                    instantiate the configuration header FILE
   18117 
   18118 Configuration files:
   18119 $config_files
   18120 
   18121 Configuration headers:
   18122 $config_headers
   18123 
   18124 Configuration commands:
   18125 $config_commands
   18126 
   18127 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
   18128 sim home page: <https://sourceware.org/gdb/wiki/Sim/>."
   18129 
   18130 _ACEOF
   18131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18132 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18133 ac_cs_version="\\
   18134 sim config.status 0
   18135 configured by $0, generated by GNU Autoconf 2.69,
   18136   with options \\"\$ac_cs_config\\"
   18137 
   18138 Copyright (C) 2012 Free Software Foundation, Inc.
   18139 This config.status script is free software; the Free Software Foundation
   18140 gives unlimited permission to copy, distribute and modify it."
   18141 
   18142 ac_pwd='$ac_pwd'
   18143 srcdir='$srcdir'
   18144 INSTALL='$INSTALL'
   18145 MKDIR_P='$MKDIR_P'
   18146 AWK='$AWK'
   18147 test -n "\$AWK" || AWK=awk
   18148 _ACEOF
   18149 
   18150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18151 # The default lists apply if the user does not specify any file.
   18152 ac_need_defaults=:
   18153 while test $# != 0
   18154 do
   18155   case $1 in
   18156   --*=?*)
   18157     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18158     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18159     ac_shift=:
   18160     ;;
   18161   --*=)
   18162     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18163     ac_optarg=
   18164     ac_shift=:
   18165     ;;
   18166   *)
   18167     ac_option=$1
   18168     ac_optarg=$2
   18169     ac_shift=shift
   18170     ;;
   18171   esac
   18172 
   18173   case $ac_option in
   18174   # Handling of the options.
   18175   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18176     ac_cs_recheck=: ;;
   18177   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18178     $as_echo "$ac_cs_version"; exit ;;
   18179   --config | --confi | --conf | --con | --co | --c )
   18180     $as_echo "$ac_cs_config"; exit ;;
   18181   --debug | --debu | --deb | --de | --d | -d )
   18182     debug=: ;;
   18183   --file | --fil | --fi | --f )
   18184     $ac_shift
   18185     case $ac_optarg in
   18186     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18187     '') as_fn_error $? "missing file argument" ;;
   18188     esac
   18189     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18190     ac_need_defaults=false;;
   18191   --header | --heade | --head | --hea )
   18192     $ac_shift
   18193     case $ac_optarg in
   18194     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18195     esac
   18196     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18197     ac_need_defaults=false;;
   18198   --he | --h)
   18199     # Conflict between --help and --header
   18200     as_fn_error $? "ambiguous option: \`$1'
   18201 Try \`$0 --help' for more information.";;
   18202   --help | --hel | -h )
   18203     $as_echo "$ac_cs_usage"; exit ;;
   18204   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18205   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18206     ac_cs_silent=: ;;
   18207 
   18208   # This is an error.
   18209   -*) as_fn_error $? "unrecognized option: \`$1'
   18210 Try \`$0 --help' for more information." ;;
   18211 
   18212   *) as_fn_append ac_config_targets " $1"
   18213      ac_need_defaults=false ;;
   18214 
   18215   esac
   18216   shift
   18217 done
   18218 
   18219 ac_configure_extra_args=
   18220 
   18221 if $ac_cs_silent; then
   18222   exec 6>/dev/null
   18223   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18224 fi
   18225 
   18226 _ACEOF
   18227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18228 if \$ac_cs_recheck; then
   18229   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18230   shift
   18231   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18232   CONFIG_SHELL='$SHELL'
   18233   export CONFIG_SHELL
   18234   exec "\$@"
   18235 fi
   18236 
   18237 _ACEOF
   18238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18239 exec 5>>config.log
   18240 {
   18241   echo
   18242   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18243 ## Running $as_me. ##
   18244 _ASBOX
   18245   $as_echo "$ac_log"
   18246 } >&5
   18247 
   18248 _ACEOF
   18249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18250 #
   18251 # INIT-COMMANDS
   18252 #
   18253 
   18254 
   18255 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18256 # if CDPATH is set.
   18257 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18258 
   18259 sed_quote_subst='$sed_quote_subst'
   18260 double_quote_subst='$double_quote_subst'
   18261 delay_variable_subst='$delay_variable_subst'
   18262 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18263 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18264 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18265 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18266 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18267 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18268 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18269 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18270 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18271 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18272 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18273 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18274 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18275 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18276 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18277 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18278 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18279 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18280 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18281 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18282 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18283 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18284 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18285 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18286 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18287 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18288 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18289 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18290 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18291 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18292 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18293 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18294 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18295 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18296 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18297 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18298 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18299 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18300 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18301 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18302 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18303 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18304 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18305 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18306 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18307 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18308 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18309 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18310 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"`'
   18311 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18312 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18313 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18314 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18315 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18316 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18317 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18318 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18319 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18320 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18321 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18322 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18323 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18324 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18325 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18326 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18327 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18328 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18329 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18330 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18331 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18332 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18333 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18334 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18335 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18336 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18337 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18338 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18339 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18340 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18341 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18342 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   18343 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18344 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18345 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18346 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18347 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18348 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18349 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18350 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18351 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   18352 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18353 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18354 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18355 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18356 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18357 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18358 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18359 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18360 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18361 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18362 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18363 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18364 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18365 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18366 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18367 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18368 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18369 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18370 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18371 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18372 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18373 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18374 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18375 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18376 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18377 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18378 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18379 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18380 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18381 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18382 
   18383 LTCC='$LTCC'
   18384 LTCFLAGS='$LTCFLAGS'
   18385 compiler='$compiler_DEFAULT'
   18386 
   18387 # A function that is used when there is no print builtin or printf.
   18388 func_fallback_echo ()
   18389 {
   18390   eval 'cat <<_LTECHO_EOF
   18391 \$1
   18392 _LTECHO_EOF'
   18393 }
   18394 
   18395 # Quote evaled strings.
   18396 for var in SHELL \
   18397 ECHO \
   18398 SED \
   18399 GREP \
   18400 EGREP \
   18401 FGREP \
   18402 LD \
   18403 NM \
   18404 LN_S \
   18405 lt_SP2NL \
   18406 lt_NL2SP \
   18407 reload_flag \
   18408 OBJDUMP \
   18409 deplibs_check_method \
   18410 file_magic_cmd \
   18411 AR \
   18412 AR_FLAGS \
   18413 STRIP \
   18414 RANLIB \
   18415 CC \
   18416 CFLAGS \
   18417 compiler \
   18418 lt_cv_sys_global_symbol_pipe \
   18419 lt_cv_sys_global_symbol_to_cdecl \
   18420 lt_cv_sys_global_symbol_to_c_name_address \
   18421 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18422 lt_prog_compiler_no_builtin_flag \
   18423 lt_prog_compiler_wl \
   18424 lt_prog_compiler_pic \
   18425 lt_prog_compiler_static \
   18426 lt_cv_prog_compiler_c_o \
   18427 need_locks \
   18428 DSYMUTIL \
   18429 NMEDIT \
   18430 LIPO \
   18431 OTOOL \
   18432 OTOOL64 \
   18433 shrext_cmds \
   18434 export_dynamic_flag_spec \
   18435 whole_archive_flag_spec \
   18436 compiler_needs_object \
   18437 with_gnu_ld \
   18438 allow_undefined_flag \
   18439 no_undefined_flag \
   18440 hardcode_libdir_flag_spec \
   18441 hardcode_libdir_flag_spec_ld \
   18442 hardcode_libdir_separator \
   18443 fix_srcfile_path \
   18444 exclude_expsyms \
   18445 include_expsyms \
   18446 file_list_spec \
   18447 variables_saved_for_relink \
   18448 libname_spec \
   18449 library_names_spec \
   18450 soname_spec \
   18451 install_override_mode \
   18452 finish_eval \
   18453 old_striplib \
   18454 striplib; do
   18455     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18456     *[\\\\\\\`\\"\\\$]*)
   18457       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18458       ;;
   18459     *)
   18460       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18461       ;;
   18462     esac
   18463 done
   18464 
   18465 # Double-quote double-evaled strings.
   18466 for var in reload_cmds \
   18467 old_postinstall_cmds \
   18468 old_postuninstall_cmds \
   18469 old_archive_cmds \
   18470 extract_expsyms_cmds \
   18471 old_archive_from_new_cmds \
   18472 old_archive_from_expsyms_cmds \
   18473 archive_cmds \
   18474 archive_expsym_cmds \
   18475 module_cmds \
   18476 module_expsym_cmds \
   18477 export_symbols_cmds \
   18478 prelink_cmds \
   18479 postinstall_cmds \
   18480 postuninstall_cmds \
   18481 finish_cmds \
   18482 sys_lib_search_path_spec \
   18483 sys_lib_dlsearch_path_spec; do
   18484     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18485     *[\\\\\\\`\\"\\\$]*)
   18486       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18487       ;;
   18488     *)
   18489       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18490       ;;
   18491     esac
   18492 done
   18493 
   18494 ac_aux_dir='$ac_aux_dir'
   18495 xsi_shell='$xsi_shell'
   18496 lt_shell_append='$lt_shell_append'
   18497 
   18498 # See if we are running on zsh, and set the options which allow our
   18499 # commands through without removal of \ escapes INIT.
   18500 if test -n "\${ZSH_VERSION+set}" ; then
   18501    setopt NO_GLOB_SUBST
   18502 fi
   18503 
   18504 
   18505     PACKAGE='$PACKAGE'
   18506     VERSION='$VERSION'
   18507     TIMESTAMP='$TIMESTAMP'
   18508     RM='$RM'
   18509     ofile='$ofile'
   18510 
   18511 
   18512 
   18513 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18514 
   18515 _ACEOF
   18516 
   18517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18518 
   18519 # Handling of arguments.
   18520 for ac_config_target in $ac_config_targets
   18521 do
   18522   case $ac_config_target in
   18523     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18524     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18525     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18526     "aarch64/.gdbinit") CONFIG_FILES="$CONFIG_FILES aarch64/.gdbinit:common/gdbinit.in" ;;
   18527     "avr/.gdbinit") CONFIG_FILES="$CONFIG_FILES avr/.gdbinit:common/gdbinit.in" ;;
   18528     "bfin/.gdbinit") CONFIG_FILES="$CONFIG_FILES bfin/.gdbinit:common/gdbinit.in" ;;
   18529     "bpf/.gdbinit") CONFIG_FILES="$CONFIG_FILES bpf/.gdbinit:common/gdbinit.in" ;;
   18530     "cr16/.gdbinit") CONFIG_FILES="$CONFIG_FILES cr16/.gdbinit:common/gdbinit.in" ;;
   18531     "cris/.gdbinit") CONFIG_FILES="$CONFIG_FILES cris/.gdbinit:common/gdbinit.in" ;;
   18532     "d10v/.gdbinit") CONFIG_FILES="$CONFIG_FILES d10v/.gdbinit:common/gdbinit.in" ;;
   18533     "frv/.gdbinit") CONFIG_FILES="$CONFIG_FILES frv/.gdbinit:common/gdbinit.in" ;;
   18534     "ft32/.gdbinit") CONFIG_FILES="$CONFIG_FILES ft32/.gdbinit:common/gdbinit.in" ;;
   18535     "h8300/.gdbinit") CONFIG_FILES="$CONFIG_FILES h8300/.gdbinit:common/gdbinit.in" ;;
   18536     "iq2000/.gdbinit") CONFIG_FILES="$CONFIG_FILES iq2000/.gdbinit:common/gdbinit.in" ;;
   18537     "lm32/.gdbinit") CONFIG_FILES="$CONFIG_FILES lm32/.gdbinit:common/gdbinit.in" ;;
   18538     "m32c/.gdbinit") CONFIG_FILES="$CONFIG_FILES m32c/.gdbinit:common/gdbinit.in" ;;
   18539     "m32r/.gdbinit") CONFIG_FILES="$CONFIG_FILES m32r/.gdbinit:common/gdbinit.in" ;;
   18540     "m68hc11/.gdbinit") CONFIG_FILES="$CONFIG_FILES m68hc11/.gdbinit:common/gdbinit.in" ;;
   18541     "mcore/.gdbinit") CONFIG_FILES="$CONFIG_FILES mcore/.gdbinit:common/gdbinit.in" ;;
   18542     "microblaze/.gdbinit") CONFIG_FILES="$CONFIG_FILES microblaze/.gdbinit:common/gdbinit.in" ;;
   18543     "mips/.gdbinit") CONFIG_FILES="$CONFIG_FILES mips/.gdbinit:common/gdbinit.in" ;;
   18544     "mn10300/.gdbinit") CONFIG_FILES="$CONFIG_FILES mn10300/.gdbinit:common/gdbinit.in" ;;
   18545     "moxie/.gdbinit") CONFIG_FILES="$CONFIG_FILES moxie/.gdbinit:common/gdbinit.in" ;;
   18546     "msp430/.gdbinit") CONFIG_FILES="$CONFIG_FILES msp430/.gdbinit:common/gdbinit.in" ;;
   18547     "or1k/.gdbinit") CONFIG_FILES="$CONFIG_FILES or1k/.gdbinit:common/gdbinit.in" ;;
   18548     "ppc/.gdbinit") CONFIG_FILES="$CONFIG_FILES ppc/.gdbinit:common/gdbinit.in" ;;
   18549     "pru/.gdbinit") CONFIG_FILES="$CONFIG_FILES pru/.gdbinit:common/gdbinit.in" ;;
   18550     "riscv/.gdbinit") CONFIG_FILES="$CONFIG_FILES riscv/.gdbinit:common/gdbinit.in" ;;
   18551     "rl78/.gdbinit") CONFIG_FILES="$CONFIG_FILES rl78/.gdbinit:common/gdbinit.in" ;;
   18552     "rx/.gdbinit") CONFIG_FILES="$CONFIG_FILES rx/.gdbinit:common/gdbinit.in" ;;
   18553     "sh/.gdbinit") CONFIG_FILES="$CONFIG_FILES sh/.gdbinit:common/gdbinit.in" ;;
   18554     "erc32/.gdbinit") CONFIG_FILES="$CONFIG_FILES erc32/.gdbinit:common/gdbinit.in" ;;
   18555     "v850/.gdbinit") CONFIG_FILES="$CONFIG_FILES v850/.gdbinit:common/gdbinit.in" ;;
   18556     "example-synacor/.gdbinit") CONFIG_FILES="$CONFIG_FILES example-synacor/.gdbinit:common/gdbinit.in" ;;
   18557     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18558     ".gdbinit") CONFIG_FILES="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
   18559 
   18560   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18561   esac
   18562 done
   18563 
   18564 
   18565 # If the user did not use the arguments to specify the items to instantiate,
   18566 # then the envvar interface is used.  Set only those that are not.
   18567 # We use the long form for the default assignment because of an extremely
   18568 # bizarre bug on SunOS 4.1.3.
   18569 if $ac_need_defaults; then
   18570   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18571   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18572   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18573 fi
   18574 
   18575 # Have a temporary directory for convenience.  Make it in the build tree
   18576 # simply because there is no reason against having it here, and in addition,
   18577 # creating and moving files from /tmp can sometimes cause problems.
   18578 # Hook for its removal unless debugging.
   18579 # Note that there is a small window in which the directory will not be cleaned:
   18580 # after its creation but before its name has been assigned to `$tmp'.
   18581 $debug ||
   18582 {
   18583   tmp= ac_tmp=
   18584   trap 'exit_status=$?
   18585   : "${ac_tmp:=$tmp}"
   18586   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18587 ' 0
   18588   trap 'as_fn_exit 1' 1 2 13 15
   18589 }
   18590 # Create a (secure) tmp directory for tmp files.
   18591 
   18592 {
   18593   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18594   test -d "$tmp"
   18595 }  ||
   18596 {
   18597   tmp=./conf$$-$RANDOM
   18598   (umask 077 && mkdir "$tmp")
   18599 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18600 ac_tmp=$tmp
   18601 
   18602 # Set up the scripts for CONFIG_FILES section.
   18603 # No need to generate them if there are no CONFIG_FILES.
   18604 # This happens for instance with `./config.status config.h'.
   18605 if test -n "$CONFIG_FILES"; then
   18606 
   18607 
   18608 ac_cr=`echo X | tr X '\015'`
   18609 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18610 # But we know of no other shell where ac_cr would be empty at this
   18611 # point, so we can use a bashism as a fallback.
   18612 if test "x$ac_cr" = x; then
   18613   eval ac_cr=\$\'\\r\'
   18614 fi
   18615 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18616 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18617   ac_cs_awk_cr='\\r'
   18618 else
   18619   ac_cs_awk_cr=$ac_cr
   18620 fi
   18621 
   18622 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18623 _ACEOF
   18624 
   18625 
   18626 {
   18627   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18628   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18629   echo "_ACEOF"
   18630 } >conf$$subs.sh ||
   18631   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18632 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18633 ac_delim='%!_!# '
   18634 for ac_last_try in false false false false false :; do
   18635   . ./conf$$subs.sh ||
   18636     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18637 
   18638   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18639   if test $ac_delim_n = $ac_delim_num; then
   18640     break
   18641   elif $ac_last_try; then
   18642     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18643   else
   18644     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18645   fi
   18646 done
   18647 rm -f conf$$subs.sh
   18648 
   18649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18650 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18651 _ACEOF
   18652 sed -n '
   18653 h
   18654 s/^/S["/; s/!.*/"]=/
   18655 p
   18656 g
   18657 s/^[^!]*!//
   18658 :repl
   18659 t repl
   18660 s/'"$ac_delim"'$//
   18661 t delim
   18662 :nl
   18663 h
   18664 s/\(.\{148\}\)..*/\1/
   18665 t more1
   18666 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18667 p
   18668 n
   18669 b repl
   18670 :more1
   18671 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18672 p
   18673 g
   18674 s/.\{148\}//
   18675 t nl
   18676 :delim
   18677 h
   18678 s/\(.\{148\}\)..*/\1/
   18679 t more2
   18680 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18681 p
   18682 b
   18683 :more2
   18684 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18685 p
   18686 g
   18687 s/.\{148\}//
   18688 t delim
   18689 ' <conf$$subs.awk | sed '
   18690 /^[^""]/{
   18691   N
   18692   s/\n//
   18693 }
   18694 ' >>$CONFIG_STATUS || ac_write_fail=1
   18695 rm -f conf$$subs.awk
   18696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18697 _ACAWK
   18698 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18699   for (key in S) S_is_set[key] = 1
   18700   FS = ""
   18701 
   18702 }
   18703 {
   18704   line = $ 0
   18705   nfields = split(line, field, "@")
   18706   substed = 0
   18707   len = length(field[1])
   18708   for (i = 2; i < nfields; i++) {
   18709     key = field[i]
   18710     keylen = length(key)
   18711     if (S_is_set[key]) {
   18712       value = S[key]
   18713       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18714       len += length(value) + length(field[++i])
   18715       substed = 1
   18716     } else
   18717       len += 1 + keylen
   18718   }
   18719 
   18720   print line
   18721 }
   18722 
   18723 _ACAWK
   18724 _ACEOF
   18725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18726 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18727   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18728 else
   18729   cat
   18730 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18731   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18732 _ACEOF
   18733 
   18734 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18735 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18736 # trailing colons and then remove the whole line if VPATH becomes empty
   18737 # (actually we leave an empty line to preserve line numbers).
   18738 if test "x$srcdir" = x.; then
   18739   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18740 h
   18741 s///
   18742 s/^/:/
   18743 s/[	 ]*$/:/
   18744 s/:\$(srcdir):/:/g
   18745 s/:\${srcdir}:/:/g
   18746 s/:@srcdir@:/:/g
   18747 s/^:*//
   18748 s/:*$//
   18749 x
   18750 s/\(=[	 ]*\).*/\1/
   18751 G
   18752 s/\n//
   18753 s/^[^=]*=[	 ]*$//
   18754 }'
   18755 fi
   18756 
   18757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18758 fi # test -n "$CONFIG_FILES"
   18759 
   18760 # Set up the scripts for CONFIG_HEADERS section.
   18761 # No need to generate them if there are no CONFIG_HEADERS.
   18762 # This happens for instance with `./config.status Makefile'.
   18763 if test -n "$CONFIG_HEADERS"; then
   18764 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   18765 BEGIN {
   18766 _ACEOF
   18767 
   18768 # Transform confdefs.h into an awk script `defines.awk', embedded as
   18769 # here-document in config.status, that substitutes the proper values into
   18770 # config.h.in to produce config.h.
   18771 
   18772 # Create a delimiter string that does not exist in confdefs.h, to ease
   18773 # handling of long lines.
   18774 ac_delim='%!_!# '
   18775 for ac_last_try in false false :; do
   18776   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   18777   if test -z "$ac_tt"; then
   18778     break
   18779   elif $ac_last_try; then
   18780     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   18781   else
   18782     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18783   fi
   18784 done
   18785 
   18786 # For the awk script, D is an array of macro values keyed by name,
   18787 # likewise P contains macro parameters if any.  Preserve backslash
   18788 # newline sequences.
   18789 
   18790 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   18791 sed -n '
   18792 s/.\{148\}/&'"$ac_delim"'/g
   18793 t rset
   18794 :rset
   18795 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   18796 t def
   18797 d
   18798 :def
   18799 s/\\$//
   18800 t bsnl
   18801 s/["\\]/\\&/g
   18802 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18803 D["\1"]=" \3"/p
   18804 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   18805 d
   18806 :bsnl
   18807 s/["\\]/\\&/g
   18808 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18809 D["\1"]=" \3\\\\\\n"\\/p
   18810 t cont
   18811 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   18812 t cont
   18813 d
   18814 :cont
   18815 n
   18816 s/.\{148\}/&'"$ac_delim"'/g
   18817 t clear
   18818 :clear
   18819 s/\\$//
   18820 t bsnlc
   18821 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   18822 d
   18823 :bsnlc
   18824 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   18825 b cont
   18826 ' <confdefs.h | sed '
   18827 s/'"$ac_delim"'/"\\\
   18828 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   18829 
   18830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18831   for (key in D) D_is_set[key] = 1
   18832   FS = ""
   18833 }
   18834 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   18835   line = \$ 0
   18836   split(line, arg, " ")
   18837   if (arg[1] == "#") {
   18838     defundef = arg[2]
   18839     mac1 = arg[3]
   18840   } else {
   18841     defundef = substr(arg[1], 2)
   18842     mac1 = arg[2]
   18843   }
   18844   split(mac1, mac2, "(") #)
   18845   macro = mac2[1]
   18846   prefix = substr(line, 1, index(line, defundef) - 1)
   18847   if (D_is_set[macro]) {
   18848     # Preserve the white space surrounding the "#".
   18849     print prefix "define", macro P[macro] D[macro]
   18850     next
   18851   } else {
   18852     # Replace #undef with comments.  This is necessary, for example,
   18853     # in the case of _POSIX_SOURCE, which is predefined and required
   18854     # on some systems where configure will not decide to define it.
   18855     if (defundef == "undef") {
   18856       print "/*", prefix defundef, macro, "*/"
   18857       next
   18858     }
   18859   }
   18860 }
   18861 { print }
   18862 _ACAWK
   18863 _ACEOF
   18864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18865   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   18866 fi # test -n "$CONFIG_HEADERS"
   18867 
   18868 
   18869 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   18870 shift
   18871 for ac_tag
   18872 do
   18873   case $ac_tag in
   18874   :[FHLC]) ac_mode=$ac_tag; continue;;
   18875   esac
   18876   case $ac_mode$ac_tag in
   18877   :[FHL]*:*);;
   18878   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   18879   :[FH]-) ac_tag=-:-;;
   18880   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   18881   esac
   18882   ac_save_IFS=$IFS
   18883   IFS=:
   18884   set x $ac_tag
   18885   IFS=$ac_save_IFS
   18886   shift
   18887   ac_file=$1
   18888   shift
   18889 
   18890   case $ac_mode in
   18891   :L) ac_source=$1;;
   18892   :[FH])
   18893     ac_file_inputs=
   18894     for ac_f
   18895     do
   18896       case $ac_f in
   18897       -) ac_f="$ac_tmp/stdin";;
   18898       *) # Look for the file first in the build tree, then in the source tree
   18899 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   18900 	 # because $ac_f cannot contain `:'.
   18901 	 test -f "$ac_f" ||
   18902 	   case $ac_f in
   18903 	   [\\/$]*) false;;
   18904 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   18905 	   esac ||
   18906 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   18907       esac
   18908       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   18909       as_fn_append ac_file_inputs " '$ac_f'"
   18910     done
   18911 
   18912     # Let's still pretend it is `configure' which instantiates (i.e., don't
   18913     # use $as_me), people would be surprised to read:
   18914     #    /* config.h.  Generated by config.status.  */
   18915     configure_input='Generated from '`
   18916 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   18917 	`' by configure.'
   18918     if test x"$ac_file" != x-; then
   18919       configure_input="$ac_file.  $configure_input"
   18920       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   18921 $as_echo "$as_me: creating $ac_file" >&6;}
   18922     fi
   18923     # Neutralize special characters interpreted by sed in replacement strings.
   18924     case $configure_input in #(
   18925     *\&* | *\|* | *\\* )
   18926        ac_sed_conf_input=`$as_echo "$configure_input" |
   18927        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   18928     *) ac_sed_conf_input=$configure_input;;
   18929     esac
   18930 
   18931     case $ac_tag in
   18932     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   18933       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   18934     esac
   18935     ;;
   18936   esac
   18937 
   18938   ac_dir=`$as_dirname -- "$ac_file" ||
   18939 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18940 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   18941 	 X"$ac_file" : 'X\(//\)$' \| \
   18942 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   18943 $as_echo X"$ac_file" |
   18944     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18945 	    s//\1/
   18946 	    q
   18947 	  }
   18948 	  /^X\(\/\/\)[^/].*/{
   18949 	    s//\1/
   18950 	    q
   18951 	  }
   18952 	  /^X\(\/\/\)$/{
   18953 	    s//\1/
   18954 	    q
   18955 	  }
   18956 	  /^X\(\/\).*/{
   18957 	    s//\1/
   18958 	    q
   18959 	  }
   18960 	  s/.*/./; q'`
   18961   as_dir="$ac_dir"; as_fn_mkdir_p
   18962   ac_builddir=.
   18963 
   18964 case "$ac_dir" in
   18965 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18966 *)
   18967   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   18968   # A ".." for each directory in $ac_dir_suffix.
   18969   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   18970   case $ac_top_builddir_sub in
   18971   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18972   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   18973   esac ;;
   18974 esac
   18975 ac_abs_top_builddir=$ac_pwd
   18976 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   18977 # for backward compatibility:
   18978 ac_top_builddir=$ac_top_build_prefix
   18979 
   18980 case $srcdir in
   18981   .)  # We are building in place.
   18982     ac_srcdir=.
   18983     ac_top_srcdir=$ac_top_builddir_sub
   18984     ac_abs_top_srcdir=$ac_pwd ;;
   18985   [\\/]* | ?:[\\/]* )  # Absolute name.
   18986     ac_srcdir=$srcdir$ac_dir_suffix;
   18987     ac_top_srcdir=$srcdir
   18988     ac_abs_top_srcdir=$srcdir ;;
   18989   *) # Relative name.
   18990     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   18991     ac_top_srcdir=$ac_top_build_prefix$srcdir
   18992     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   18993 esac
   18994 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   18995 
   18996 
   18997   case $ac_mode in
   18998   :F)
   18999   #
   19000   # CONFIG_FILE
   19001   #
   19002 
   19003   case $INSTALL in
   19004   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19005   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19006   esac
   19007   ac_MKDIR_P=$MKDIR_P
   19008   case $MKDIR_P in
   19009   [\\/$]* | ?:[\\/]* ) ;;
   19010   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19011   esac
   19012 _ACEOF
   19013 
   19014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19015 # If the template does not know about datarootdir, expand it.
   19016 # FIXME: This hack should be removed a few years after 2.60.
   19017 ac_datarootdir_hack=; ac_datarootdir_seen=
   19018 ac_sed_dataroot='
   19019 /datarootdir/ {
   19020   p
   19021   q
   19022 }
   19023 /@datadir@/p
   19024 /@docdir@/p
   19025 /@infodir@/p
   19026 /@localedir@/p
   19027 /@mandir@/p'
   19028 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19029 *datarootdir*) ac_datarootdir_seen=yes;;
   19030 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19031   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19032 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19033 _ACEOF
   19034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19035   ac_datarootdir_hack='
   19036   s&@datadir@&$datadir&g
   19037   s&@docdir@&$docdir&g
   19038   s&@infodir@&$infodir&g
   19039   s&@localedir@&$localedir&g
   19040   s&@mandir@&$mandir&g
   19041   s&\\\${datarootdir}&$datarootdir&g' ;;
   19042 esac
   19043 _ACEOF
   19044 
   19045 # Neutralize VPATH when `$srcdir' = `.'.
   19046 # Shell code in configure.ac might set extrasub.
   19047 # FIXME: do we really want to maintain this feature?
   19048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19049 ac_sed_extra="$ac_vpsub
   19050 $extrasub
   19051 _ACEOF
   19052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19053 :t
   19054 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19055 s|@configure_input@|$ac_sed_conf_input|;t t
   19056 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19057 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19058 s&@srcdir@&$ac_srcdir&;t t
   19059 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19060 s&@top_srcdir@&$ac_top_srcdir&;t t
   19061 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19062 s&@builddir@&$ac_builddir&;t t
   19063 s&@abs_builddir@&$ac_abs_builddir&;t t
   19064 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19065 s&@INSTALL@&$ac_INSTALL&;t t
   19066 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19067 $ac_datarootdir_hack
   19068 "
   19069 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19070   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19071 
   19072 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19073   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19074   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19075       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19076   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19077 which seems to be undefined.  Please make sure it is defined" >&5
   19078 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19079 which seems to be undefined.  Please make sure it is defined" >&2;}
   19080 
   19081   rm -f "$ac_tmp/stdin"
   19082   case $ac_file in
   19083   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19084   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19085   esac \
   19086   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19087  ;;
   19088   :H)
   19089   #
   19090   # CONFIG_HEADER
   19091   #
   19092   if test x"$ac_file" != x-; then
   19093     {
   19094       $as_echo "/* $configure_input  */" \
   19095       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19096     } >"$ac_tmp/config.h" \
   19097       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19098     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19099       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19100 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19101     else
   19102       rm -f "$ac_file"
   19103       mv "$ac_tmp/config.h" "$ac_file" \
   19104 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19105     fi
   19106   else
   19107     $as_echo "/* $configure_input  */" \
   19108       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19109       || as_fn_error $? "could not create -" "$LINENO" 5
   19110   fi
   19111 # Compute "$ac_file"'s index in $config_headers.
   19112 _am_arg="$ac_file"
   19113 _am_stamp_count=1
   19114 for _am_header in $config_headers :; do
   19115   case $_am_header in
   19116     $_am_arg | $_am_arg:* )
   19117       break ;;
   19118     * )
   19119       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19120   esac
   19121 done
   19122 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19123 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19124 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19125 	 X"$_am_arg" : 'X\(//\)$' \| \
   19126 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19127 $as_echo X"$_am_arg" |
   19128     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19129 	    s//\1/
   19130 	    q
   19131 	  }
   19132 	  /^X\(\/\/\)[^/].*/{
   19133 	    s//\1/
   19134 	    q
   19135 	  }
   19136 	  /^X\(\/\/\)$/{
   19137 	    s//\1/
   19138 	    q
   19139 	  }
   19140 	  /^X\(\/\).*/{
   19141 	    s//\1/
   19142 	    q
   19143 	  }
   19144 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19145  ;;
   19146 
   19147   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19148 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19149  ;;
   19150   esac
   19151 
   19152 
   19153   case $ac_file$ac_mode in
   19154     "libtool":C)
   19155 
   19156     # See if we are running on zsh, and set the options which allow our
   19157     # commands through without removal of \ escapes.
   19158     if test -n "${ZSH_VERSION+set}" ; then
   19159       setopt NO_GLOB_SUBST
   19160     fi
   19161 
   19162     cfgfile="${ofile}T"
   19163     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19164     $RM "$cfgfile"
   19165 
   19166     cat <<_LT_EOF >> "$cfgfile"
   19167 #! $SHELL
   19168 
   19169 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19170 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19171 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19172 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19173 #
   19174 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19175 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   19176 #   Written by Gordon Matzigkeit, 1996
   19177 #
   19178 #   This file is part of GNU Libtool.
   19179 #
   19180 # GNU Libtool is free software; you can redistribute it and/or
   19181 # modify it under the terms of the GNU General Public License as
   19182 # published by the Free Software Foundation; either version 2 of
   19183 # the License, or (at your option) any later version.
   19184 #
   19185 # As a special exception to the GNU General Public License,
   19186 # if you distribute this file as part of a program or library that
   19187 # is built using GNU Libtool, you may include this file under the
   19188 # same distribution terms that you use for the rest of that program.
   19189 #
   19190 # GNU Libtool is distributed in the hope that it will be useful,
   19191 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19192 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19193 # GNU General Public License for more details.
   19194 #
   19195 # You should have received a copy of the GNU General Public License
   19196 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19197 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19198 # obtained by writing to the Free Software Foundation, Inc.,
   19199 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19200 
   19201 
   19202 # The names of the tagged configurations supported by this script.
   19203 available_tags=""
   19204 
   19205 # ### BEGIN LIBTOOL CONFIG
   19206 
   19207 # Which release of libtool.m4 was used?
   19208 macro_version=$macro_version
   19209 macro_revision=$macro_revision
   19210 
   19211 # Whether or not to build shared libraries.
   19212 build_libtool_libs=$enable_shared
   19213 
   19214 # Whether or not to build static libraries.
   19215 build_old_libs=$enable_static
   19216 
   19217 # What type of objects to build.
   19218 pic_mode=$pic_mode
   19219 
   19220 # Whether or not to optimize for fast installation.
   19221 fast_install=$enable_fast_install
   19222 
   19223 # Shell to use when invoking shell scripts.
   19224 SHELL=$lt_SHELL
   19225 
   19226 # An echo program that protects backslashes.
   19227 ECHO=$lt_ECHO
   19228 
   19229 # The host system.
   19230 host_alias=$host_alias
   19231 host=$host
   19232 host_os=$host_os
   19233 
   19234 # The build system.
   19235 build_alias=$build_alias
   19236 build=$build
   19237 build_os=$build_os
   19238 
   19239 # A sed program that does not truncate output.
   19240 SED=$lt_SED
   19241 
   19242 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19243 Xsed="\$SED -e 1s/^X//"
   19244 
   19245 # A grep program that handles long lines.
   19246 GREP=$lt_GREP
   19247 
   19248 # An ERE matcher.
   19249 EGREP=$lt_EGREP
   19250 
   19251 # A literal string matcher.
   19252 FGREP=$lt_FGREP
   19253 
   19254 # A BSD- or MS-compatible name lister.
   19255 NM=$lt_NM
   19256 
   19257 # Whether we need soft or hard links.
   19258 LN_S=$lt_LN_S
   19259 
   19260 # What is the maximum length of a command?
   19261 max_cmd_len=$max_cmd_len
   19262 
   19263 # Object file suffix (normally "o").
   19264 objext=$ac_objext
   19265 
   19266 # Executable file suffix (normally "").
   19267 exeext=$exeext
   19268 
   19269 # whether the shell understands "unset".
   19270 lt_unset=$lt_unset
   19271 
   19272 # turn spaces into newlines.
   19273 SP2NL=$lt_lt_SP2NL
   19274 
   19275 # turn newlines into spaces.
   19276 NL2SP=$lt_lt_NL2SP
   19277 
   19278 # An object symbol dumper.
   19279 OBJDUMP=$lt_OBJDUMP
   19280 
   19281 # Method to check whether dependent libraries are shared objects.
   19282 deplibs_check_method=$lt_deplibs_check_method
   19283 
   19284 # Command to use when deplibs_check_method == "file_magic".
   19285 file_magic_cmd=$lt_file_magic_cmd
   19286 
   19287 # The archiver.
   19288 AR=$lt_AR
   19289 AR_FLAGS=$lt_AR_FLAGS
   19290 
   19291 # A symbol stripping program.
   19292 STRIP=$lt_STRIP
   19293 
   19294 # Commands used to install an old-style archive.
   19295 RANLIB=$lt_RANLIB
   19296 old_postinstall_cmds=$lt_old_postinstall_cmds
   19297 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19298 
   19299 # Whether to use a lock for old archive extraction.
   19300 lock_old_archive_extraction=$lock_old_archive_extraction
   19301 
   19302 # A C compiler.
   19303 LTCC=$lt_CC
   19304 
   19305 # LTCC compiler flags.
   19306 LTCFLAGS=$lt_CFLAGS
   19307 
   19308 # Take the output of nm and produce a listing of raw symbols and C names.
   19309 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19310 
   19311 # Transform the output of nm in a proper C declaration.
   19312 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19313 
   19314 # Transform the output of nm in a C name address pair.
   19315 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19316 
   19317 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19318 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19319 
   19320 # The name of the directory that contains temporary libtool files.
   19321 objdir=$objdir
   19322 
   19323 # Used to examine libraries when file_magic_cmd begins with "file".
   19324 MAGIC_CMD=$MAGIC_CMD
   19325 
   19326 # Must we lock files when doing compilation?
   19327 need_locks=$lt_need_locks
   19328 
   19329 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19330 DSYMUTIL=$lt_DSYMUTIL
   19331 
   19332 # Tool to change global to local symbols on Mac OS X.
   19333 NMEDIT=$lt_NMEDIT
   19334 
   19335 # Tool to manipulate fat objects and archives on Mac OS X.
   19336 LIPO=$lt_LIPO
   19337 
   19338 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19339 OTOOL=$lt_OTOOL
   19340 
   19341 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19342 OTOOL64=$lt_OTOOL64
   19343 
   19344 # Old archive suffix (normally "a").
   19345 libext=$libext
   19346 
   19347 # Shared library suffix (normally ".so").
   19348 shrext_cmds=$lt_shrext_cmds
   19349 
   19350 # The commands to extract the exported symbol list from a shared archive.
   19351 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19352 
   19353 # Variables whose values should be saved in libtool wrapper scripts and
   19354 # restored at link time.
   19355 variables_saved_for_relink=$lt_variables_saved_for_relink
   19356 
   19357 # Do we need the "lib" prefix for modules?
   19358 need_lib_prefix=$need_lib_prefix
   19359 
   19360 # Do we need a version for libraries?
   19361 need_version=$need_version
   19362 
   19363 # Library versioning type.
   19364 version_type=$version_type
   19365 
   19366 # Shared library runtime path variable.
   19367 runpath_var=$runpath_var
   19368 
   19369 # Shared library path variable.
   19370 shlibpath_var=$shlibpath_var
   19371 
   19372 # Is shlibpath searched before the hard-coded library search path?
   19373 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19374 
   19375 # Format of library name prefix.
   19376 libname_spec=$lt_libname_spec
   19377 
   19378 # List of archive names.  First name is the real one, the rest are links.
   19379 # The last name is the one that the linker finds with -lNAME
   19380 library_names_spec=$lt_library_names_spec
   19381 
   19382 # The coded name of the library, if different from the real name.
   19383 soname_spec=$lt_soname_spec
   19384 
   19385 # Permission mode override for installation of shared libraries.
   19386 install_override_mode=$lt_install_override_mode
   19387 
   19388 # Command to use after installation of a shared archive.
   19389 postinstall_cmds=$lt_postinstall_cmds
   19390 
   19391 # Command to use after uninstallation of a shared archive.
   19392 postuninstall_cmds=$lt_postuninstall_cmds
   19393 
   19394 # Commands used to finish a libtool library installation in a directory.
   19395 finish_cmds=$lt_finish_cmds
   19396 
   19397 # As "finish_cmds", except a single script fragment to be evaled but
   19398 # not shown.
   19399 finish_eval=$lt_finish_eval
   19400 
   19401 # Whether we should hardcode library paths into libraries.
   19402 hardcode_into_libs=$hardcode_into_libs
   19403 
   19404 # Compile-time system search path for libraries.
   19405 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19406 
   19407 # Run-time system search path for libraries.
   19408 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19409 
   19410 # Whether dlopen is supported.
   19411 dlopen_support=$enable_dlopen
   19412 
   19413 # Whether dlopen of programs is supported.
   19414 dlopen_self=$enable_dlopen_self
   19415 
   19416 # Whether dlopen of statically linked programs is supported.
   19417 dlopen_self_static=$enable_dlopen_self_static
   19418 
   19419 # Commands to strip libraries.
   19420 old_striplib=$lt_old_striplib
   19421 striplib=$lt_striplib
   19422 
   19423 
   19424 # The linker used to build libraries.
   19425 LD=$lt_LD
   19426 
   19427 # How to create reloadable object files.
   19428 reload_flag=$lt_reload_flag
   19429 reload_cmds=$lt_reload_cmds
   19430 
   19431 # Commands used to build an old-style archive.
   19432 old_archive_cmds=$lt_old_archive_cmds
   19433 
   19434 # A language specific compiler.
   19435 CC=$lt_compiler
   19436 
   19437 # Is the compiler the GNU compiler?
   19438 with_gcc=$GCC
   19439 
   19440 # Compiler flag to turn off builtin functions.
   19441 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19442 
   19443 # How to pass a linker flag through the compiler.
   19444 wl=$lt_lt_prog_compiler_wl
   19445 
   19446 # Additional compiler flags for building library objects.
   19447 pic_flag=$lt_lt_prog_compiler_pic
   19448 
   19449 # Compiler flag to prevent dynamic linking.
   19450 link_static_flag=$lt_lt_prog_compiler_static
   19451 
   19452 # Does compiler simultaneously support -c and -o options?
   19453 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19454 
   19455 # Whether or not to add -lc for building shared libraries.
   19456 build_libtool_need_lc=$archive_cmds_need_lc
   19457 
   19458 # Whether or not to disallow shared libs when runtime libs are static.
   19459 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19460 
   19461 # Compiler flag to allow reflexive dlopens.
   19462 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19463 
   19464 # Compiler flag to generate shared objects directly from archives.
   19465 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19466 
   19467 # Whether the compiler copes with passing no objects directly.
   19468 compiler_needs_object=$lt_compiler_needs_object
   19469 
   19470 # Create an old-style archive from a shared archive.
   19471 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19472 
   19473 # Create a temporary old-style archive to link instead of a shared archive.
   19474 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19475 
   19476 # Commands used to build a shared archive.
   19477 archive_cmds=$lt_archive_cmds
   19478 archive_expsym_cmds=$lt_archive_expsym_cmds
   19479 
   19480 # Commands used to build a loadable module if different from building
   19481 # a shared archive.
   19482 module_cmds=$lt_module_cmds
   19483 module_expsym_cmds=$lt_module_expsym_cmds
   19484 
   19485 # Whether we are building with GNU ld or not.
   19486 with_gnu_ld=$lt_with_gnu_ld
   19487 
   19488 # Flag that allows shared libraries with undefined symbols to be built.
   19489 allow_undefined_flag=$lt_allow_undefined_flag
   19490 
   19491 # Flag that enforces no undefined symbols.
   19492 no_undefined_flag=$lt_no_undefined_flag
   19493 
   19494 # Flag to hardcode \$libdir into a binary during linking.
   19495 # This must work even if \$libdir does not exist
   19496 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19497 
   19498 # If ld is used when linking, flag to hardcode \$libdir into a binary
   19499 # during linking.  This must work even if \$libdir does not exist.
   19500 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   19501 
   19502 # Whether we need a single "-rpath" flag with a separated argument.
   19503 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19504 
   19505 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19506 # DIR into the resulting binary.
   19507 hardcode_direct=$hardcode_direct
   19508 
   19509 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19510 # DIR into the resulting binary and the resulting library dependency is
   19511 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19512 # library is relocated.
   19513 hardcode_direct_absolute=$hardcode_direct_absolute
   19514 
   19515 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19516 # into the resulting binary.
   19517 hardcode_minus_L=$hardcode_minus_L
   19518 
   19519 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19520 # into the resulting binary.
   19521 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19522 
   19523 # Set to "yes" if building a shared library automatically hardcodes DIR
   19524 # into the library and all subsequent libraries and executables linked
   19525 # against it.
   19526 hardcode_automatic=$hardcode_automatic
   19527 
   19528 # Set to yes if linker adds runtime paths of dependent libraries
   19529 # to runtime path list.
   19530 inherit_rpath=$inherit_rpath
   19531 
   19532 # Whether libtool must link a program against all its dependency libraries.
   19533 link_all_deplibs=$link_all_deplibs
   19534 
   19535 # Fix the shell variable \$srcfile for the compiler.
   19536 fix_srcfile_path=$lt_fix_srcfile_path
   19537 
   19538 # Set to "yes" if exported symbols are required.
   19539 always_export_symbols=$always_export_symbols
   19540 
   19541 # The commands to list exported symbols.
   19542 export_symbols_cmds=$lt_export_symbols_cmds
   19543 
   19544 # Symbols that should not be listed in the preloaded symbols.
   19545 exclude_expsyms=$lt_exclude_expsyms
   19546 
   19547 # Symbols that must always be exported.
   19548 include_expsyms=$lt_include_expsyms
   19549 
   19550 # Commands necessary for linking programs (against libraries) with templates.
   19551 prelink_cmds=$lt_prelink_cmds
   19552 
   19553 # Specify filename containing input files.
   19554 file_list_spec=$lt_file_list_spec
   19555 
   19556 # How to hardcode a shared library path into an executable.
   19557 hardcode_action=$hardcode_action
   19558 
   19559 # ### END LIBTOOL CONFIG
   19560 
   19561 _LT_EOF
   19562 
   19563   case $host_os in
   19564   aix3*)
   19565     cat <<\_LT_EOF >> "$cfgfile"
   19566 # AIX sometimes has problems with the GCC collect2 program.  For some
   19567 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19568 # vanish in a puff of smoke.
   19569 if test "X${COLLECT_NAMES+set}" != Xset; then
   19570   COLLECT_NAMES=
   19571   export COLLECT_NAMES
   19572 fi
   19573 _LT_EOF
   19574     ;;
   19575   esac
   19576 
   19577 
   19578 ltmain="$ac_aux_dir/ltmain.sh"
   19579 
   19580 
   19581   # We use sed instead of cat because bash on DJGPP gets confused if
   19582   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19583   # text mode, it properly converts lines to CR/LF.  This bash problem
   19584   # is reportedly fixed, but why not run on old versions too?
   19585   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   19586     || (rm -f "$cfgfile"; exit 1)
   19587 
   19588   case $xsi_shell in
   19589   yes)
   19590     cat << \_LT_EOF >> "$cfgfile"
   19591 
   19592 # func_dirname file append nondir_replacement
   19593 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19594 # otherwise set result to NONDIR_REPLACEMENT.
   19595 func_dirname ()
   19596 {
   19597   case ${1} in
   19598     */*) func_dirname_result="${1%/*}${2}" ;;
   19599     *  ) func_dirname_result="${3}" ;;
   19600   esac
   19601 }
   19602 
   19603 # func_basename file
   19604 func_basename ()
   19605 {
   19606   func_basename_result="${1##*/}"
   19607 }
   19608 
   19609 # func_dirname_and_basename file append nondir_replacement
   19610 # perform func_basename and func_dirname in a single function
   19611 # call:
   19612 #   dirname:  Compute the dirname of FILE.  If nonempty,
   19613 #             add APPEND to the result, otherwise set result
   19614 #             to NONDIR_REPLACEMENT.
   19615 #             value returned in "$func_dirname_result"
   19616 #   basename: Compute filename of FILE.
   19617 #             value retuned in "$func_basename_result"
   19618 # Implementation must be kept synchronized with func_dirname
   19619 # and func_basename. For efficiency, we do not delegate to
   19620 # those functions but instead duplicate the functionality here.
   19621 func_dirname_and_basename ()
   19622 {
   19623   case ${1} in
   19624     */*) func_dirname_result="${1%/*}${2}" ;;
   19625     *  ) func_dirname_result="${3}" ;;
   19626   esac
   19627   func_basename_result="${1##*/}"
   19628 }
   19629 
   19630 # func_stripname prefix suffix name
   19631 # strip PREFIX and SUFFIX off of NAME.
   19632 # PREFIX and SUFFIX must not contain globbing or regex special
   19633 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19634 # dot (in which case that matches only a dot).
   19635 func_stripname ()
   19636 {
   19637   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   19638   # positional parameters, so assign one to ordinary parameter first.
   19639   func_stripname_result=${3}
   19640   func_stripname_result=${func_stripname_result#"${1}"}
   19641   func_stripname_result=${func_stripname_result%"${2}"}
   19642 }
   19643 
   19644 # func_opt_split
   19645 func_opt_split ()
   19646 {
   19647   func_opt_split_opt=${1%%=*}
   19648   func_opt_split_arg=${1#*=}
   19649 }
   19650 
   19651 # func_lo2o object
   19652 func_lo2o ()
   19653 {
   19654   case ${1} in
   19655     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   19656     *)    func_lo2o_result=${1} ;;
   19657   esac
   19658 }
   19659 
   19660 # func_xform libobj-or-source
   19661 func_xform ()
   19662 {
   19663   func_xform_result=${1%.*}.lo
   19664 }
   19665 
   19666 # func_arith arithmetic-term...
   19667 func_arith ()
   19668 {
   19669   func_arith_result=$(( $* ))
   19670 }
   19671 
   19672 # func_len string
   19673 # STRING may not start with a hyphen.
   19674 func_len ()
   19675 {
   19676   func_len_result=${#1}
   19677 }
   19678 
   19679 _LT_EOF
   19680     ;;
   19681   *) # Bourne compatible functions.
   19682     cat << \_LT_EOF >> "$cfgfile"
   19683 
   19684 # func_dirname file append nondir_replacement
   19685 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19686 # otherwise set result to NONDIR_REPLACEMENT.
   19687 func_dirname ()
   19688 {
   19689   # Extract subdirectory from the argument.
   19690   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   19691   if test "X$func_dirname_result" = "X${1}"; then
   19692     func_dirname_result="${3}"
   19693   else
   19694     func_dirname_result="$func_dirname_result${2}"
   19695   fi
   19696 }
   19697 
   19698 # func_basename file
   19699 func_basename ()
   19700 {
   19701   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   19702 }
   19703 
   19704 
   19705 # func_stripname prefix suffix name
   19706 # strip PREFIX and SUFFIX off of NAME.
   19707 # PREFIX and SUFFIX must not contain globbing or regex special
   19708 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19709 # dot (in which case that matches only a dot).
   19710 # func_strip_suffix prefix name
   19711 func_stripname ()
   19712 {
   19713   case ${2} in
   19714     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   19715     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   19716   esac
   19717 }
   19718 
   19719 # sed scripts:
   19720 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   19721 my_sed_long_arg='1s/^-[^=]*=//'
   19722 
   19723 # func_opt_split
   19724 func_opt_split ()
   19725 {
   19726   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   19727   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   19728 }
   19729 
   19730 # func_lo2o object
   19731 func_lo2o ()
   19732 {
   19733   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   19734 }
   19735 
   19736 # func_xform libobj-or-source
   19737 func_xform ()
   19738 {
   19739   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   19740 }
   19741 
   19742 # func_arith arithmetic-term...
   19743 func_arith ()
   19744 {
   19745   func_arith_result=`expr "$@"`
   19746 }
   19747 
   19748 # func_len string
   19749 # STRING may not start with a hyphen.
   19750 func_len ()
   19751 {
   19752   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   19753 }
   19754 
   19755 _LT_EOF
   19756 esac
   19757 
   19758 case $lt_shell_append in
   19759   yes)
   19760     cat << \_LT_EOF >> "$cfgfile"
   19761 
   19762 # func_append var value
   19763 # Append VALUE to the end of shell variable VAR.
   19764 func_append ()
   19765 {
   19766   eval "$1+=\$2"
   19767 }
   19768 _LT_EOF
   19769     ;;
   19770   *)
   19771     cat << \_LT_EOF >> "$cfgfile"
   19772 
   19773 # func_append var value
   19774 # Append VALUE to the end of shell variable VAR.
   19775 func_append ()
   19776 {
   19777   eval "$1=\$$1\$2"
   19778 }
   19779 
   19780 _LT_EOF
   19781     ;;
   19782   esac
   19783 
   19784 
   19785   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   19786     || (rm -f "$cfgfile"; exit 1)
   19787 
   19788   mv -f "$cfgfile" "$ofile" ||
   19789     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   19790   chmod +x "$ofile"
   19791 
   19792  ;;
   19793     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19794   # Older Autoconf quotes --file arguments for eval, but not when files
   19795   # are listed without --file.  Let's play safe and only enable the eval
   19796   # if we detect the quoting.
   19797   case $CONFIG_FILES in
   19798   *\'*) eval set x "$CONFIG_FILES" ;;
   19799   *)   set x $CONFIG_FILES ;;
   19800   esac
   19801   shift
   19802   for mf
   19803   do
   19804     # Strip MF so we end up with the name of the file.
   19805     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19806     # Check whether this is an Automake generated Makefile or not.
   19807     # We used to match only the files named 'Makefile.in', but
   19808     # some people rename them; so instead we look at the file content.
   19809     # Grep'ing the first line is not enough: some people post-process
   19810     # each Makefile.in and add a new line on top of each file to say so.
   19811     # Grep'ing the whole file is not good either: AIX grep has a line
   19812     # limit of 2048, but all sed's we know have understand at least 4000.
   19813     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19814       dirpart=`$as_dirname -- "$mf" ||
   19815 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19816 	 X"$mf" : 'X\(//\)[^/]' \| \
   19817 	 X"$mf" : 'X\(//\)$' \| \
   19818 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19819 $as_echo X"$mf" |
   19820     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19821 	    s//\1/
   19822 	    q
   19823 	  }
   19824 	  /^X\(\/\/\)[^/].*/{
   19825 	    s//\1/
   19826 	    q
   19827 	  }
   19828 	  /^X\(\/\/\)$/{
   19829 	    s//\1/
   19830 	    q
   19831 	  }
   19832 	  /^X\(\/\).*/{
   19833 	    s//\1/
   19834 	    q
   19835 	  }
   19836 	  s/.*/./; q'`
   19837     else
   19838       continue
   19839     fi
   19840     # Extract the definition of DEPDIR, am__include, and am__quote
   19841     # from the Makefile without running 'make'.
   19842     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19843     test -z "$DEPDIR" && continue
   19844     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19845     test -z "$am__include" && continue
   19846     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19847     # Find all dependency output files, they are included files with
   19848     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19849     # simplest approach to changing $(DEPDIR) to its actual value in the
   19850     # expansion.
   19851     for file in `sed -n "
   19852       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19853 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19854       # Make sure the directory exists.
   19855       test -f "$dirpart/$file" && continue
   19856       fdir=`$as_dirname -- "$file" ||
   19857 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19858 	 X"$file" : 'X\(//\)[^/]' \| \
   19859 	 X"$file" : 'X\(//\)$' \| \
   19860 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19861 $as_echo X"$file" |
   19862     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19863 	    s//\1/
   19864 	    q
   19865 	  }
   19866 	  /^X\(\/\/\)[^/].*/{
   19867 	    s//\1/
   19868 	    q
   19869 	  }
   19870 	  /^X\(\/\/\)$/{
   19871 	    s//\1/
   19872 	    q
   19873 	  }
   19874 	  /^X\(\/\).*/{
   19875 	    s//\1/
   19876 	    q
   19877 	  }
   19878 	  s/.*/./; q'`
   19879       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19880       # echo "creating $dirpart/$file"
   19881       echo '# dummy' > "$dirpart/$file"
   19882     done
   19883   done
   19884 }
   19885  ;;
   19886 
   19887   esac
   19888 done # for ac_tag
   19889 
   19890 
   19891 as_fn_exit 0
   19892 _ACEOF
   19893 ac_clean_files=$ac_clean_files_save
   19894 
   19895 test $ac_write_fail = 0 ||
   19896   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   19897 
   19898 
   19899 # configure is writing to config.log, and then calls config.status.
   19900 # config.status does its own redirection, appending to config.log.
   19901 # Unfortunately, on DOS this fails, as config.log is still kept open
   19902 # by configure, so config.status won't be able to write to it; its
   19903 # output is simply discarded.  So we exec the FD to /dev/null,
   19904 # effectively closing config.log, so it can be properly (re)opened and
   19905 # appended to by config.status.  When coming back to configure, we
   19906 # need to make the FD available again.
   19907 if test "$no_create" != yes; then
   19908   ac_cs_success=:
   19909   ac_config_status_args=
   19910   test "$silent" = yes &&
   19911     ac_config_status_args="$ac_config_status_args --quiet"
   19912   exec 5>/dev/null
   19913   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   19914   exec 5>>config.log
   19915   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   19916   # would make configure fail if this is the last instruction.
   19917   $ac_cs_success || as_fn_exit 1
   19918 fi
   19919 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   19920   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   19921 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   19922 fi
   19923 
   19924