PageRenderTime 556ms CodeModel.GetById 24ms app.highlight 447ms RepoModel.GetById 2ms app.codeStats 3ms

/vendor/gc/configure

http://github.com/feyeleanor/RubyGoLightly
Shell | 16176 lines | 13909 code | 965 blank | 1302 comment | 758 complexity | bc4ea0fc2fce7d47281fe64981bc7546 MD5 | raw file
    1#! /bin/sh
    2# From configure.ac Revision: 1.35 .
    3# Guess values for system-dependent variables and create Makefiles.
    4# Generated by GNU Autoconf 2.61 for gc 7.1.
    5#
    6# Report bugs to <Hans.Boehm@hp.com>.
    7#
    8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    9# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   10# This configure script is free software; the Free Software Foundation
   11# gives unlimited permission to copy, distribute and modify it.
   12## --------------------- ##
   13## M4sh Initialization.  ##
   14## --------------------- ##
   15
   16# Be more Bourne compatible
   17DUALCASE=1; export DUALCASE # for MKS sh
   18if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   19  emulate sh
   20  NULLCMD=:
   21  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   22  # is contrary to our usage.  Disable this feature.
   23  alias -g '${1+"$@"}'='"$@"'
   24  setopt NO_GLOB_SUBST
   25else
   26  case `(set -o) 2>/dev/null` in
   27  *posix*) set -o posix ;;
   28esac
   29
   30fi
   31
   32
   33
   34
   35# PATH needs CR
   36# Avoid depending upon Character Ranges.
   37as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   38as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   39as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   40as_cr_digits='0123456789'
   41as_cr_alnum=$as_cr_Letters$as_cr_digits
   42
   43# The user is always right.
   44if test "${PATH_SEPARATOR+set}" != set; then
   45  echo "#! /bin/sh" >conf$$.sh
   46  echo  "exit 0"   >>conf$$.sh
   47  chmod +x conf$$.sh
   48  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   49    PATH_SEPARATOR=';'
   50  else
   51    PATH_SEPARATOR=:
   52  fi
   53  rm -f conf$$.sh
   54fi
   55
   56# Support unset when possible.
   57if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   58  as_unset=unset
   59else
   60  as_unset=false
   61fi
   62
   63
   64# IFS
   65# We need space, tab and new line, in precisely that order.  Quoting is
   66# there to prevent editors from complaining about space-tab.
   67# (If _AS_PATH_WALK were called with IFS unset, it would disable word
   68# splitting by setting IFS to empty value.)
   69as_nl='
   70'
   71IFS=" ""	$as_nl"
   72
   73# Find who we are.  Look in the path if we contain no directory separator.
   74case $0 in
   75  *[\\/]* ) as_myself=$0 ;;
   76  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   77for as_dir in $PATH
   78do
   79  IFS=$as_save_IFS
   80  test -z "$as_dir" && as_dir=.
   81  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   82done
   83IFS=$as_save_IFS
   84
   85     ;;
   86esac
   87# We did not find ourselves, most probably we were run as `sh COMMAND'
   88# in which case we are not to be found in the path.
   89if test "x$as_myself" = x; then
   90  as_myself=$0
   91fi
   92if test ! -f "$as_myself"; then
   93  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   94  { (exit 1); exit 1; }
   95fi
   96
   97# Work around bugs in pre-3.0 UWIN ksh.
   98for as_var in ENV MAIL MAILPATH
   99do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  100done
  101PS1='$ '
  102PS2='> '
  103PS4='+ '
  104
  105# NLS nuisances.
  106for as_var in \
  107  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  108  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  109  LC_TELEPHONE LC_TIME
  110do
  111  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  112    eval $as_var=C; export $as_var
  113  else
  114    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  115  fi
  116done
  117
  118# Required to use basename.
  119if expr a : '\(a\)' >/dev/null 2>&1 &&
  120   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  121  as_expr=expr
  122else
  123  as_expr=false
  124fi
  125
  126if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  127  as_basename=basename
  128else
  129  as_basename=false
  130fi
  131
  132
  133# Name of the executable.
  134as_me=`$as_basename -- "$0" ||
  135$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  136	 X"$0" : 'X\(//\)$' \| \
  137	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  138echo X/"$0" |
  139    sed '/^.*\/\([^/][^/]*\)\/*$/{
  140	    s//\1/
  141	    q
  142	  }
  143	  /^X\/\(\/\/\)$/{
  144	    s//\1/
  145	    q
  146	  }
  147	  /^X\/\(\/\).*/{
  148	    s//\1/
  149	    q
  150	  }
  151	  s/.*/./; q'`
  152
  153# CDPATH.
  154$as_unset CDPATH
  155
  156
  157if test "x$CONFIG_SHELL" = x; then
  158  if (eval ":") 2>/dev/null; then
  159  as_have_required=yes
  160else
  161  as_have_required=no
  162fi
  163
  164  if test $as_have_required = yes && 	 (eval ":
  165(as_func_return () {
  166  (exit \$1)
  167}
  168as_func_success () {
  169  as_func_return 0
  170}
  171as_func_failure () {
  172  as_func_return 1
  173}
  174as_func_ret_success () {
  175  return 0
  176}
  177as_func_ret_failure () {
  178  return 1
  179}
  180
  181exitcode=0
  182if as_func_success; then
  183  :
  184else
  185  exitcode=1
  186  echo as_func_success failed.
  187fi
  188
  189if as_func_failure; then
  190  exitcode=1
  191  echo as_func_failure succeeded.
  192fi
  193
  194if as_func_ret_success; then
  195  :
  196else
  197  exitcode=1
  198  echo as_func_ret_success failed.
  199fi
  200
  201if as_func_ret_failure; then
  202  exitcode=1
  203  echo as_func_ret_failure succeeded.
  204fi
  205
  206if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  207  :
  208else
  209  exitcode=1
  210  echo positional parameters were not saved.
  211fi
  212
  213test \$exitcode = 0) || { (exit 1); exit 1; }
  214
  215(
  216  as_lineno_1=\$LINENO
  217  as_lineno_2=\$LINENO
  218  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  219  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  220") 2> /dev/null; then
  221  :
  222else
  223  as_candidate_shells=
  224    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  225for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  226do
  227  IFS=$as_save_IFS
  228  test -z "$as_dir" && as_dir=.
  229  case $as_dir in
  230	 /*)
  231	   for as_base in sh bash ksh sh5; do
  232	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  233	   done;;
  234       esac
  235done
  236IFS=$as_save_IFS
  237
  238
  239      for as_shell in $as_candidate_shells $SHELL; do
  240	 # Try only shells that exist, to save several forks.
  241	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  242		{ ("$as_shell") 2> /dev/null <<\_ASEOF
  243if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  244  emulate sh
  245  NULLCMD=:
  246  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  247  # is contrary to our usage.  Disable this feature.
  248  alias -g '${1+"$@"}'='"$@"'
  249  setopt NO_GLOB_SUBST
  250else
  251  case `(set -o) 2>/dev/null` in
  252  *posix*) set -o posix ;;
  253esac
  254
  255fi
  256
  257
  258:
  259_ASEOF
  260}; then
  261  CONFIG_SHELL=$as_shell
  262	       as_have_required=yes
  263	       if { "$as_shell" 2> /dev/null <<\_ASEOF
  264if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  265  emulate sh
  266  NULLCMD=:
  267  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  268  # is contrary to our usage.  Disable this feature.
  269  alias -g '${1+"$@"}'='"$@"'
  270  setopt NO_GLOB_SUBST
  271else
  272  case `(set -o) 2>/dev/null` in
  273  *posix*) set -o posix ;;
  274esac
  275
  276fi
  277
  278
  279:
  280(as_func_return () {
  281  (exit $1)
  282}
  283as_func_success () {
  284  as_func_return 0
  285}
  286as_func_failure () {
  287  as_func_return 1
  288}
  289as_func_ret_success () {
  290  return 0
  291}
  292as_func_ret_failure () {
  293  return 1
  294}
  295
  296exitcode=0
  297if as_func_success; then
  298  :
  299else
  300  exitcode=1
  301  echo as_func_success failed.
  302fi
  303
  304if as_func_failure; then
  305  exitcode=1
  306  echo as_func_failure succeeded.
  307fi
  308
  309if as_func_ret_success; then
  310  :
  311else
  312  exitcode=1
  313  echo as_func_ret_success failed.
  314fi
  315
  316if as_func_ret_failure; then
  317  exitcode=1
  318  echo as_func_ret_failure succeeded.
  319fi
  320
  321if ( set x; as_func_ret_success y && test x = "$1" ); then
  322  :
  323else
  324  exitcode=1
  325  echo positional parameters were not saved.
  326fi
  327
  328test $exitcode = 0) || { (exit 1); exit 1; }
  329
  330(
  331  as_lineno_1=$LINENO
  332  as_lineno_2=$LINENO
  333  test "x$as_lineno_1" != "x$as_lineno_2" &&
  334  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  335
  336_ASEOF
  337}; then
  338  break
  339fi
  340
  341fi
  342
  343      done
  344
  345      if test "x$CONFIG_SHELL" != x; then
  346  for as_var in BASH_ENV ENV
  347        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  348        done
  349        export CONFIG_SHELL
  350        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  351fi
  352
  353
  354    if test $as_have_required = no; then
  355  echo This script requires a shell more modern than all the
  356      echo shells that I found on your system.  Please install a
  357      echo modern shell, or manually run the script under such a
  358      echo shell if you do have one.
  359      { (exit 1); exit 1; }
  360fi
  361
  362
  363fi
  364
  365fi
  366
  367
  368
  369(eval "as_func_return () {
  370  (exit \$1)
  371}
  372as_func_success () {
  373  as_func_return 0
  374}
  375as_func_failure () {
  376  as_func_return 1
  377}
  378as_func_ret_success () {
  379  return 0
  380}
  381as_func_ret_failure () {
  382  return 1
  383}
  384
  385exitcode=0
  386if as_func_success; then
  387  :
  388else
  389  exitcode=1
  390  echo as_func_success failed.
  391fi
  392
  393if as_func_failure; then
  394  exitcode=1
  395  echo as_func_failure succeeded.
  396fi
  397
  398if as_func_ret_success; then
  399  :
  400else
  401  exitcode=1
  402  echo as_func_ret_success failed.
  403fi
  404
  405if as_func_ret_failure; then
  406  exitcode=1
  407  echo as_func_ret_failure succeeded.
  408fi
  409
  410if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  411  :
  412else
  413  exitcode=1
  414  echo positional parameters were not saved.
  415fi
  416
  417test \$exitcode = 0") || {
  418  echo No shell found that supports shell functions.
  419  echo Please tell autoconf@gnu.org about your system,
  420  echo including any error possibly output before this
  421  echo message
  422}
  423
  424
  425
  426  as_lineno_1=$LINENO
  427  as_lineno_2=$LINENO
  428  test "x$as_lineno_1" != "x$as_lineno_2" &&
  429  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  430
  431  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  432  # uniformly replaced by the line number.  The first 'sed' inserts a
  433  # line-number line after each line using $LINENO; the second 'sed'
  434  # does the real work.  The second script uses 'N' to pair each
  435  # line-number line with the line containing $LINENO, and appends
  436  # trailing '-' during substitution so that $LINENO is not a special
  437  # case at line end.
  438  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  439  # scripts with optimization help from Paolo Bonzini.  Blame Lee
  440  # E. McMahon (1931-1989) for sed's syntax.  :-)
  441  sed -n '
  442    p
  443    /[$]LINENO/=
  444  ' <$as_myself |
  445    sed '
  446      s/[$]LINENO.*/&-/
  447      t lineno
  448      b
  449      :lineno
  450      N
  451      :loop
  452      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  453      t loop
  454      s/-\n.*//
  455    ' >$as_me.lineno &&
  456  chmod +x "$as_me.lineno" ||
  457    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  458   { (exit 1); exit 1; }; }
  459
  460  # Don't try to exec as it changes $[0], causing all sort of problems
  461  # (the dirname of $[0] is not the place where we might find the
  462  # original and so on.  Autoconf is especially sensitive to this).
  463  . "./$as_me.lineno"
  464  # Exit status is that of the last command.
  465  exit
  466}
  467
  468
  469if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  470  as_dirname=dirname
  471else
  472  as_dirname=false
  473fi
  474
  475ECHO_C= ECHO_N= ECHO_T=
  476case `echo -n x` in
  477-n*)
  478  case `echo 'x\c'` in
  479  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  480  *)   ECHO_C='\c';;
  481  esac;;
  482*)
  483  ECHO_N='-n';;
  484esac
  485
  486if expr a : '\(a\)' >/dev/null 2>&1 &&
  487   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  488  as_expr=expr
  489else
  490  as_expr=false
  491fi
  492
  493rm -f conf$$ conf$$.exe conf$$.file
  494if test -d conf$$.dir; then
  495  rm -f conf$$.dir/conf$$.file
  496else
  497  rm -f conf$$.dir
  498  mkdir conf$$.dir
  499fi
  500echo >conf$$.file
  501if ln -s conf$$.file conf$$ 2>/dev/null; then
  502  as_ln_s='ln -s'
  503  # ... but there are two gotchas:
  504  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  505  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  506  # In both cases, we have to default to `cp -p'.
  507  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  508    as_ln_s='cp -p'
  509elif ln conf$$.file conf$$ 2>/dev/null; then
  510  as_ln_s=ln
  511else
  512  as_ln_s='cp -p'
  513fi
  514rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  515rmdir conf$$.dir 2>/dev/null
  516
  517if mkdir -p . 2>/dev/null; then
  518  as_mkdir_p=:
  519else
  520  test -d ./-p && rmdir ./-p
  521  as_mkdir_p=false
  522fi
  523
  524if test -x / >/dev/null 2>&1; then
  525  as_test_x='test -x'
  526else
  527  if ls -dL / >/dev/null 2>&1; then
  528    as_ls_L_option=L
  529  else
  530    as_ls_L_option=
  531  fi
  532  as_test_x='
  533    eval sh -c '\''
  534      if test -d "$1"; then
  535        test -d "$1/.";
  536      else
  537	case $1 in
  538        -*)set "./$1";;
  539	esac;
  540	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  541	???[sx]*):;;*)false;;esac;fi
  542    '\'' sh
  543  '
  544fi
  545as_executable_p=$as_test_x
  546
  547# Sed expression to map a string onto a valid CPP name.
  548as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  549
  550# Sed expression to map a string onto a valid variable name.
  551as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  552
  553
  554
  555
  556# Check that we are running under the correct shell.
  557SHELL=${CONFIG_SHELL-/bin/sh}
  558
  559case X$ECHO in
  560X*--fallback-echo)
  561  # Remove one level of quotation (which was required for Make).
  562  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
  563  ;;
  564esac
  565
  566echo=${ECHO-echo}
  567if test "X$1" = X--no-reexec; then
  568  # Discard the --no-reexec flag, and continue.
  569  shift
  570elif test "X$1" = X--fallback-echo; then
  571  # Avoid inline document here, it may be left over
  572  :
  573elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  574  # Yippee, $echo works!
  575  :
  576else
  577  # Restart under the correct shell.
  578  exec $SHELL "$0" --no-reexec ${1+"$@"}
  579fi
  580
  581if test "X$1" = X--fallback-echo; then
  582  # used as fallback echo
  583  shift
  584  cat <<EOF
  585$*
  586EOF
  587  exit 0
  588fi
  589
  590# The HP-UX ksh and POSIX shell print the target directory to stdout
  591# if CDPATH is set.
  592(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  593
  594if test -z "$ECHO"; then
  595if test "X${echo_test_string+set}" != Xset; then
  596# find a string as large as possible, as long as the shell can cope with it
  597  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  598    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  599    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
  600       echo_test_string=`eval $cmd` &&
  601       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  602    then
  603      break
  604    fi
  605  done
  606fi
  607
  608if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  609   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  610   test "X$echo_testing_string" = "X$echo_test_string"; then
  611  :
  612else
  613  # The Solaris, AIX, and Digital Unix default echo programs unquote
  614  # backslashes.  This makes it impossible to quote backslashes using
  615  #   echo "$something" | sed 's/\\/\\\\/g'
  616  #
  617  # So, first we look for a working echo in the user's PATH.
  618
  619  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  620  for dir in $PATH /usr/ucb; do
  621    IFS="$lt_save_ifs"
  622    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  623       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  624       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  625       test "X$echo_testing_string" = "X$echo_test_string"; then
  626      echo="$dir/echo"
  627      break
  628    fi
  629  done
  630  IFS="$lt_save_ifs"
  631
  632  if test "X$echo" = Xecho; then
  633    # We didn't find a better echo, so look for alternatives.
  634    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  635       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  636       test "X$echo_testing_string" = "X$echo_test_string"; then
  637      # This shell has a builtin print -r that does the trick.
  638      echo='print -r'
  639    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  640	 test "X$CONFIG_SHELL" != X/bin/ksh; then
  641      # If we have ksh, try running configure again with it.
  642      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  643      export ORIGINAL_CONFIG_SHELL
  644      CONFIG_SHELL=/bin/ksh
  645      export CONFIG_SHELL
  646      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  647    else
  648      # Try using printf.
  649      echo='printf %s\n'
  650      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  651	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  652	 test "X$echo_testing_string" = "X$echo_test_string"; then
  653	# Cool, printf works
  654	:
  655      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  656	   test "X$echo_testing_string" = 'X\t' &&
  657	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  658	   test "X$echo_testing_string" = "X$echo_test_string"; then
  659	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  660	export CONFIG_SHELL
  661	SHELL="$CONFIG_SHELL"
  662	export SHELL
  663	echo="$CONFIG_SHELL $0 --fallback-echo"
  664      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  665	   test "X$echo_testing_string" = 'X\t' &&
  666	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  667	   test "X$echo_testing_string" = "X$echo_test_string"; then
  668	echo="$CONFIG_SHELL $0 --fallback-echo"
  669      else
  670	# maybe with a smaller string...
  671	prev=:
  672
  673	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  674	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  675	  then
  676	    break
  677	  fi
  678	  prev="$cmd"
  679	done
  680
  681	if test "$prev" != 'sed 50q "$0"'; then
  682	  echo_test_string=`eval $prev`
  683	  export echo_test_string
  684	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  685	else
  686	  # Oops.  We lost completely, so just stick with echo.
  687	  echo=echo
  688	fi
  689      fi
  690    fi
  691  fi
  692fi
  693fi
  694
  695# Copy echo and quote the copy suitably for passing to libtool from
  696# the Makefile, instead of quoting the original, which is used later.
  697ECHO=$echo
  698if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  699   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  700fi
  701
  702
  703
  704
  705tagnames=${tagnames+${tagnames},}CXX
  706
  707tagnames=${tagnames+${tagnames},}F77
  708
  709exec 7<&0 </dev/null 6>&1
  710
  711# Name of the host.
  712# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  713# so uname gets run too.
  714ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  715
  716#
  717# Initializations.
  718#
  719ac_default_prefix=/usr/local
  720ac_clean_files=
  721ac_config_libobj_dir=.
  722LIBOBJS=
  723cross_compiling=no
  724subdirs=
  725MFLAGS=
  726MAKEFLAGS=
  727SHELL=${CONFIG_SHELL-/bin/sh}
  728
  729# Identity of this package.
  730PACKAGE_NAME='gc'
  731PACKAGE_TARNAME='gc'
  732PACKAGE_VERSION='7.1'
  733PACKAGE_STRING='gc 7.1'
  734PACKAGE_BUGREPORT='Hans.Boehm@hp.com'
  735
  736ac_unique_file="gcj_mlc.c"
  737# Factoring default headers for most tests.
  738ac_includes_default="\
  739#include <stdio.h>
  740#ifdef HAVE_SYS_TYPES_H
  741# include <sys/types.h>
  742#endif
  743#ifdef HAVE_SYS_STAT_H
  744# include <sys/stat.h>
  745#endif
  746#ifdef STDC_HEADERS
  747# include <stdlib.h>
  748# include <stddef.h>
  749#else
  750# ifdef HAVE_STDLIB_H
  751#  include <stdlib.h>
  752# endif
  753#endif
  754#ifdef HAVE_STRING_H
  755# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  756#  include <memory.h>
  757# endif
  758# include <string.h>
  759#endif
  760#ifdef HAVE_STRINGS_H
  761# include <strings.h>
  762#endif
  763#ifdef HAVE_INTTYPES_H
  764# include <inttypes.h>
  765#endif
  766#ifdef HAVE_STDINT_H
  767# include <stdint.h>
  768#endif
  769#ifdef HAVE_UNISTD_H
  770# include <unistd.h>
  771#endif"
  772
  773ac_subst_vars='SHELL
  774PATH_SEPARATOR
  775PACKAGE_NAME
  776PACKAGE_TARNAME
  777PACKAGE_VERSION
  778PACKAGE_STRING
  779PACKAGE_BUGREPORT
  780exec_prefix
  781prefix
  782program_transform_name
  783bindir
  784sbindir
  785libexecdir
  786datarootdir
  787datadir
  788sysconfdir
  789sharedstatedir
  790localstatedir
  791includedir
  792oldincludedir
  793docdir
  794infodir
  795htmldir
  796dvidir
  797pdfdir
  798psdir
  799libdir
  800localedir
  801mandir
  802DEFS
  803ECHO_C
  804ECHO_N
  805ECHO_T
  806LIBS
  807build_alias
  808host_alias
  809target_alias
  810build
  811build_cpu
  812build_vendor
  813build_os
  814host
  815host_cpu
  816host_vendor
  817host_os
  818target
  819target_cpu
  820target_vendor
  821target_os
  822INSTALL_PROGRAM
  823INSTALL_SCRIPT
  824INSTALL_DATA
  825CYGPATH_W
  826PACKAGE
  827VERSION
  828ACLOCAL
  829AUTOCONF
  830AUTOMAKE
  831AUTOHEADER
  832MAKEINFO
  833install_sh
  834STRIP
  835INSTALL_STRIP_PROGRAM
  836mkdir_p
  837AWK
  838SET_MAKE
  839am__leading_dot
  840AMTAR
  841am__tar
  842am__untar
  843MAINTAINER_MODE_TRUE
  844MAINTAINER_MODE_FALSE
  845MAINT
  846GC_VERSION
  847CC
  848CFLAGS
  849LDFLAGS
  850CPPFLAGS
  851ac_ct_CC
  852EXEEXT
  853OBJEXT
  854DEPDIR
  855am__include
  856am__quote
  857AMDEP_TRUE
  858AMDEP_FALSE
  859AMDEPBACKSLASH
  860CCDEPMODE
  861am__fastdepCC_TRUE
  862am__fastdepCC_FALSE
  863CXX
  864CXXFLAGS
  865ac_ct_CXX
  866CXXDEPMODE
  867am__fastdepCXX_TRUE
  868am__fastdepCXX_FALSE
  869CCAS
  870CCASFLAGS
  871AR
  872RANLIB
  873GC_CFLAGS
  874THREADDLLIBS
  875THREADS_TRUE
  876THREADS_FALSE
  877PTHREADS_TRUE
  878PTHREADS_FALSE
  879DARWIN_THREADS_TRUE
  880DARWIN_THREADS_FALSE
  881WIN32_THREADS_TRUE
  882WIN32_THREADS_FALSE
  883COMPILER_XLC_TRUE
  884COMPILER_XLC_FALSE
  885AVOID_CPP_LIB_TRUE
  886AVOID_CPP_LIB_FALSE
  887extra_ldflags_libgc
  888EXTRA_TEST_LIBS
  889target_all
  890CPLUSPLUS_TRUE
  891CPLUSPLUS_FALSE
  892INCLUDES
  893CXXINCLUDES
  894addobjs
  895addlibs
  896GREP
  897EGREP
  898LN_S
  899ECHO
  900CPP
  901CXXCPP
  902F77
  903FFLAGS
  904ac_ct_F77
  905LIBTOOL
  906ENABLE_GCJ_SUPPORT_TRUE
  907ENABLE_GCJ_SUPPORT_FALSE
  908UNWINDLIBS
  909USE_LIBDIR_TRUE
  910USE_LIBDIR_FALSE
  911subdirs
  912USE_INTERNAL_LIBATOMIC_OPS_TRUE
  913USE_INTERNAL_LIBATOMIC_OPS_FALSE
  914NEED_ATOMIC_OPS_ASM_TRUE
  915NEED_ATOMIC_OPS_ASM_FALSE
  916atomic_ops_libs
  917LIBOBJS
  918LTLIBOBJS'
  919ac_subst_files=''
  920      ac_precious_vars='build_alias
  921host_alias
  922target_alias
  923CC
  924CFLAGS
  925LDFLAGS
  926LIBS
  927CPPFLAGS
  928CXX
  929CXXFLAGS
  930CCC
  931CCAS
  932CCASFLAGS
  933CPP
  934CXXCPP
  935F77
  936FFLAGS'
  937ac_subdirs_all='libatomic_ops'
  938
  939# Initialize some variables set by options.
  940ac_init_help=
  941ac_init_version=false
  942# The variables have the same names as the options, with
  943# dashes changed to underlines.
  944cache_file=/dev/null
  945exec_prefix=NONE
  946no_create=
  947no_recursion=
  948prefix=NONE
  949program_prefix=NONE
  950program_suffix=NONE
  951program_transform_name=s,x,x,
  952silent=
  953site=
  954srcdir=
  955verbose=
  956x_includes=NONE
  957x_libraries=NONE
  958
  959# Installation directory options.
  960# These are left unexpanded so users can "make install exec_prefix=/foo"
  961# and all the variables that are supposed to be based on exec_prefix
  962# by default will actually change.
  963# Use braces instead of parens because sh, perl, etc. also accept them.
  964# (The list follows the same order as the GNU Coding Standards.)
  965bindir='${exec_prefix}/bin'
  966sbindir='${exec_prefix}/sbin'
  967libexecdir='${exec_prefix}/libexec'
  968datarootdir='${prefix}/share'
  969datadir='${datarootdir}'
  970sysconfdir='${prefix}/etc'
  971sharedstatedir='${prefix}/com'
  972localstatedir='${prefix}/var'
  973includedir='${prefix}/include'
  974oldincludedir='/usr/include'
  975docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  976infodir='${datarootdir}/info'
  977htmldir='${docdir}'
  978dvidir='${docdir}'
  979pdfdir='${docdir}'
  980psdir='${docdir}'
  981libdir='${exec_prefix}/lib'
  982localedir='${datarootdir}/locale'
  983mandir='${datarootdir}/man'
  984
  985ac_prev=
  986ac_dashdash=
  987for ac_option
  988do
  989  # If the previous option needs an argument, assign it.
  990  if test -n "$ac_prev"; then
  991    eval $ac_prev=\$ac_option
  992    ac_prev=
  993    continue
  994  fi
  995
  996  case $ac_option in
  997  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  998  *)	ac_optarg=yes ;;
  999  esac
 1000
 1001  # Accept the important Cygnus configure options, so we can diagnose typos.
 1002
 1003  case $ac_dashdash$ac_option in
 1004  --)
 1005    ac_dashdash=yes ;;
 1006
 1007  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 1008    ac_prev=bindir ;;
 1009  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 1010    bindir=$ac_optarg ;;
 1011
 1012  -build | --build | --buil | --bui | --bu)
 1013    ac_prev=build_alias ;;
 1014  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 1015    build_alias=$ac_optarg ;;
 1016
 1017  -cache-file | --cache-file | --cache-fil | --cache-fi \
 1018  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 1019    ac_prev=cache_file ;;
 1020  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 1021  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 1022    cache_file=$ac_optarg ;;
 1023
 1024  --config-cache | -C)
 1025    cache_file=config.cache ;;
 1026
 1027  -datadir | --datadir | --datadi | --datad)
 1028    ac_prev=datadir ;;
 1029  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 1030    datadir=$ac_optarg ;;
 1031
 1032  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 1033  | --dataroo | --dataro | --datar)
 1034    ac_prev=datarootdir ;;
 1035  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 1036  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 1037    datarootdir=$ac_optarg ;;
 1038
 1039  -disable-* | --disable-*)
 1040    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 1041    # Reject names that are not valid shell variable names.
 1042    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1043      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 1044   { (exit 1); exit 1; }; }
 1045    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 1046    eval enable_$ac_feature=no ;;
 1047
 1048  -docdir | --docdir | --docdi | --doc | --do)
 1049    ac_prev=docdir ;;
 1050  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 1051    docdir=$ac_optarg ;;
 1052
 1053  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 1054    ac_prev=dvidir ;;
 1055  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 1056    dvidir=$ac_optarg ;;
 1057
 1058  -enable-* | --enable-*)
 1059    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 1060    # Reject names that are not valid shell variable names.
 1061    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1062      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 1063   { (exit 1); exit 1; }; }
 1064    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 1065    eval enable_$ac_feature=\$ac_optarg ;;
 1066
 1067  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 1068  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 1069  | --exec | --exe | --ex)
 1070    ac_prev=exec_prefix ;;
 1071  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 1072  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 1073  | --exec=* | --exe=* | --ex=*)
 1074    exec_prefix=$ac_optarg ;;
 1075
 1076  -gas | --gas | --ga | --g)
 1077    # Obsolete; use --with-gas.
 1078    with_gas=yes ;;
 1079
 1080  -help | --help | --hel | --he | -h)
 1081    ac_init_help=long ;;
 1082  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 1083    ac_init_help=recursive ;;
 1084  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 1085    ac_init_help=short ;;
 1086
 1087  -host | --host | --hos | --ho)
 1088    ac_prev=host_alias ;;
 1089  -host=* | --host=* | --hos=* | --ho=*)
 1090    host_alias=$ac_optarg ;;
 1091
 1092  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 1093    ac_prev=htmldir ;;
 1094  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 1095  | --ht=*)
 1096    htmldir=$ac_optarg ;;
 1097
 1098  -includedir | --includedir | --includedi | --included | --include \
 1099  | --includ | --inclu | --incl | --inc)
 1100    ac_prev=includedir ;;
 1101  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 1102  | --includ=* | --inclu=* | --incl=* | --inc=*)
 1103    includedir=$ac_optarg ;;
 1104
 1105  -infodir | --infodir | --infodi | --infod | --info | --inf)
 1106    ac_prev=infodir ;;
 1107  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 1108    infodir=$ac_optarg ;;
 1109
 1110  -libdir | --libdir | --libdi | --libd)
 1111    ac_prev=libdir ;;
 1112  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1113    libdir=$ac_optarg ;;
 1114
 1115  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1116  | --libexe | --libex | --libe)
 1117    ac_prev=libexecdir ;;
 1118  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1119  | --libexe=* | --libex=* | --libe=*)
 1120    libexecdir=$ac_optarg ;;
 1121
 1122  -localedir | --localedir | --localedi | --localed | --locale)
 1123    ac_prev=localedir ;;
 1124  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1125    localedir=$ac_optarg ;;
 1126
 1127  -localstatedir | --localstatedir | --localstatedi | --localstated \
 1128  | --localstate | --localstat | --localsta | --localst | --locals)
 1129    ac_prev=localstatedir ;;
 1130  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1131  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1132    localstatedir=$ac_optarg ;;
 1133
 1134  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1135    ac_prev=mandir ;;
 1136  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1137    mandir=$ac_optarg ;;
 1138
 1139  -nfp | --nfp | --nf)
 1140    # Obsolete; use --without-fp.
 1141    with_fp=no ;;
 1142
 1143  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1144  | --no-cr | --no-c | -n)
 1145    no_create=yes ;;
 1146
 1147  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1148  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1149    no_recursion=yes ;;
 1150
 1151  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1152  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1153  | --oldin | --oldi | --old | --ol | --o)
 1154    ac_prev=oldincludedir ;;
 1155  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1156  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1157  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1158    oldincludedir=$ac_optarg ;;
 1159
 1160  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1161    ac_prev=prefix ;;
 1162  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1163    prefix=$ac_optarg ;;
 1164
 1165  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1166  | --program-pre | --program-pr | --program-p)
 1167    ac_prev=program_prefix ;;
 1168  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1169  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1170    program_prefix=$ac_optarg ;;
 1171
 1172  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1173  | --program-suf | --program-su | --program-s)
 1174    ac_prev=program_suffix ;;
 1175  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1176  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1177    program_suffix=$ac_optarg ;;
 1178
 1179  -program-transform-name | --program-transform-name \
 1180  | --program-transform-nam | --program-transform-na \
 1181  | --program-transform-n | --program-transform- \
 1182  | --program-transform | --program-transfor \
 1183  | --program-transfo | --program-transf \
 1184  | --program-trans | --program-tran \
 1185  | --progr-tra | --program-tr | --program-t)
 1186    ac_prev=program_transform_name ;;
 1187  -program-transform-name=* | --program-transform-name=* \
 1188  | --program-transform-nam=* | --program-transform-na=* \
 1189  | --program-transform-n=* | --program-transform-=* \
 1190  | --program-transform=* | --program-transfor=* \
 1191  | --program-transfo=* | --program-transf=* \
 1192  | --program-trans=* | --program-tran=* \
 1193  | --progr-tra=* | --program-tr=* | --program-t=*)
 1194    program_transform_name=$ac_optarg ;;
 1195
 1196  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1197    ac_prev=pdfdir ;;
 1198  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1199    pdfdir=$ac_optarg ;;
 1200
 1201  -psdir | --psdir | --psdi | --psd | --ps)
 1202    ac_prev=psdir ;;
 1203  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1204    psdir=$ac_optarg ;;
 1205
 1206  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1207  | -silent | --silent | --silen | --sile | --sil)
 1208    silent=yes ;;
 1209
 1210  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1211    ac_prev=sbindir ;;
 1212  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1213  | --sbi=* | --sb=*)
 1214    sbindir=$ac_optarg ;;
 1215
 1216  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1217  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1218  | --sharedst | --shareds | --shared | --share | --shar \
 1219  | --sha | --sh)
 1220    ac_prev=sharedstatedir ;;
 1221  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1222  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1223  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1224  | --sha=* | --sh=*)
 1225    sharedstatedir=$ac_optarg ;;
 1226
 1227  -site | --site | --sit)
 1228    ac_prev=site ;;
 1229  -site=* | --site=* | --sit=*)
 1230    site=$ac_optarg ;;
 1231
 1232  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1233    ac_prev=srcdir ;;
 1234  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1235    srcdir=$ac_optarg ;;
 1236
 1237  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1238  | --syscon | --sysco | --sysc | --sys | --sy)
 1239    ac_prev=sysconfdir ;;
 1240  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1241  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1242    sysconfdir=$ac_optarg ;;
 1243
 1244  -target | --target | --targe | --targ | --tar | --ta | --t)
 1245    ac_prev=target_alias ;;
 1246  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1247    target_alias=$ac_optarg ;;
 1248
 1249  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1250    verbose=yes ;;
 1251
 1252  -version | --version | --versio | --versi | --vers | -V)
 1253    ac_init_version=: ;;
 1254
 1255  -with-* | --with-*)
 1256    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1257    # Reject names that are not valid shell variable names.
 1258    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1259      { echo "$as_me: error: invalid package name: $ac_package" >&2
 1260   { (exit 1); exit 1; }; }
 1261    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 1262    eval with_$ac_package=\$ac_optarg ;;
 1263
 1264  -without-* | --without-*)
 1265    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1266    # Reject names that are not valid shell variable names.
 1267    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1268      { echo "$as_me: error: invalid package name: $ac_package" >&2
 1269   { (exit 1); exit 1; }; }
 1270    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 1271    eval with_$ac_package=no ;;
 1272
 1273  --x)
 1274    # Obsolete; use --with-x.
 1275    with_x=yes ;;
 1276
 1277  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1278  | --x-incl | --x-inc | --x-in | --x-i)
 1279    ac_prev=x_includes ;;
 1280  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1281  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1282    x_includes=$ac_optarg ;;
 1283
 1284  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1285  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1286    ac_prev=x_libraries ;;
 1287  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1288  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1289    x_libraries=$ac_optarg ;;
 1290
 1291  -*) { echo "$as_me: error: unrecognized option: $ac_option
 1292Try \`$0 --help' for more information." >&2
 1293   { (exit 1); exit 1; }; }
 1294    ;;
 1295
 1296  *=*)
 1297    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1298    # Reject names that are not valid shell variable names.
 1299    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 1300      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 1301   { (exit 1); exit 1; }; }
 1302    eval $ac_envvar=\$ac_optarg
 1303    export $ac_envvar ;;
 1304
 1305  *)
 1306    # FIXME: should be removed in autoconf 3.0.
 1307    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1308    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1309      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1310    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 1311    ;;
 1312
 1313  esac
 1314done
 1315
 1316if test -n "$ac_prev"; then
 1317  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1318  { echo "$as_me: error: missing argument to $ac_option" >&2
 1319   { (exit 1); exit 1; }; }
 1320fi
 1321
 1322# Be sure to have absolute directory names.
 1323for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1324		datadir sysconfdir sharedstatedir localstatedir includedir \
 1325		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1326		libdir localedir mandir
 1327do
 1328  eval ac_val=\$$ac_var
 1329  case $ac_val in
 1330    [\\/$]* | ?:[\\/]* )  continue;;
 1331    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1332  esac
 1333  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 1334   { (exit 1); exit 1; }; }
 1335done
 1336
 1337# There might be people who depend on the old broken behavior: `$host'
 1338# used to hold the argument of --host etc.
 1339# FIXME: To remove some day.
 1340build=$build_alias
 1341host=$host_alias
 1342target=$target_alias
 1343
 1344# FIXME: To remove some day.
 1345if test "x$host_alias" != x; then
 1346  if test "x$build_alias" = x; then
 1347    cross_compiling=maybe
 1348    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 1349    If a cross compiler is detected then cross compile mode will be used." >&2
 1350  elif test "x$build_alias" != "x$host_alias"; then
 1351    cross_compiling=yes
 1352  fi
 1353fi
 1354
 1355ac_tool_prefix=
 1356test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1357
 1358test "$silent" = yes && exec 6>/dev/null
 1359
 1360
 1361ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1362ac_ls_di=`ls -di .` &&
 1363ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1364  { echo "$as_me: error: Working directory cannot be determined" >&2
 1365   { (exit 1); exit 1; }; }
 1366test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1367  { echo "$as_me: error: pwd does not report name of working directory" >&2
 1368   { (exit 1); exit 1; }; }
 1369
 1370
 1371# Find the source files, if location was not specified.
 1372if test -z "$srcdir"; then
 1373  ac_srcdir_defaulted=yes
 1374  # Try the directory containing this script, then the parent directory.
 1375  ac_confdir=`$as_dirname -- "$0" ||
 1376$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1377	 X"$0" : 'X\(//\)[^/]' \| \
 1378	 X"$0" : 'X\(//\)$' \| \
 1379	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 1380echo X"$0" |
 1381    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1382	    s//\1/
 1383	    q
 1384	  }
 1385	  /^X\(\/\/\)[^/].*/{
 1386	    s//\1/
 1387	    q
 1388	  }
 1389	  /^X\(\/\/\)$/{
 1390	    s//\1/
 1391	    q
 1392	  }
 1393	  /^X\(\/\).*/{
 1394	    s//\1/
 1395	    q
 1396	  }
 1397	  s/.*/./; q'`
 1398  srcdir=$ac_confdir
 1399  if test ! -r "$srcdir/$ac_unique_file"; then
 1400    srcdir=..
 1401  fi
 1402else
 1403  ac_srcdir_defaulted=no
 1404fi
 1405if test ! -r "$srcdir/$ac_unique_file"; then
 1406  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1407  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 1408   { (exit 1); exit 1; }; }
 1409fi
 1410ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1411ac_abs_confdir=`(
 1412	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 1413   { (exit 1); exit 1; }; }
 1414	pwd)`
 1415# When building in place, set srcdir=.
 1416if test "$ac_abs_confdir" = "$ac_pwd"; then
 1417  srcdir=.
 1418fi
 1419# Remove unnecessary trailing slashes from srcdir.
 1420# Double slashes in file names in object file debugging info
 1421# mess up M-x gdb in Emacs.
 1422case $srcdir in
 1423*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1424esac
 1425for ac_var in $ac_precious_vars; do
 1426  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1427  eval ac_env_${ac_var}_value=\$${ac_var}
 1428  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1429  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1430done
 1431
 1432#
 1433# Report the --help message.
 1434#
 1435if test "$ac_init_help" = "long"; then
 1436  # Omit some internal or obsolete options to make the list less imposing.
 1437  # This message is too long to be a string in the A/UX 3.1 sh.
 1438  cat <<_ACEOF
 1439\`configure' configures gc 7.1 to adapt to many kinds of systems.
 1440
 1441Usage: $0 [OPTION]... [VAR=VALUE]...
 1442
 1443To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1444VAR=VALUE.  See below for descriptions of some of the useful variables.
 1445
 1446Defaults for the options are specified in brackets.
 1447
 1448Configuration:
 1449  -h, --help              display this help and exit
 1450      --help=short        display options specific to this package
 1451      --help=recursive    display the short help of all the included packages
 1452  -V, --version           display version information and exit
 1453  -q, --quiet, --silent   do not print \`checking...' messages
 1454      --cache-file=FILE   cache test results in FILE [disabled]
 1455  -C, --config-cache      alias for \`--cache-file=config.cache'
 1456  -n, --no-create         do not create output files
 1457      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1458
 1459Installation directories:
 1460  --prefix=PREFIX         install architecture-independent files in PREFIX
 1461			  [$ac_default_prefix]
 1462  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1463			  [PREFIX]
 1464
 1465By default, \`make install' will install all the files in
 1466\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1467an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1468for instance \`--prefix=\$HOME'.
 1469
 1470For better control, use the options below.
 1471
 1472Fine tuning of the installation directories:
 1473  --bindir=DIR           user executables [EPREFIX/bin]
 1474  --sbindir=DIR          system admin executables [EPREFIX/sbin]
 1475  --libexecdir=DIR       program executables [EPREFIX/libexec]
 1476  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 1477  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 1478  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 1479  --libdir=DIR           object code libraries [EPREFIX/lib]
 1480  --includedir=DIR       C header files [PREFIX/include]
 1481  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 1482  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 1483  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 1484  --infodir=DIR          info documentation [DATAROOTDIR/info]
 1485  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 1486  --mandir=DIR           man documentation [DATAROOTDIR/man]
 1487  --docdir=DIR           documentation root [DATAROOTDIR/doc/gc]
 1488  --htmldir=DIR          html documentation [DOCDIR]
 1489  --dvidir=DIR           dvi documentation [DOCDIR]
 1490  --pdfdir=DIR           pdf documentation [DOCDIR]
 1491  --psdir=DIR            ps documentation [DOCDIR]
 1492_ACEOF
 1493
 1494  cat <<\_ACEOF
 1495
 1496Program names:
 1497  --program-prefix=PREFIX            prepend PREFIX to installed program names
 1498  --program-suffix=SUFFIX            append SUFFIX to installed program names
 1499  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1500
 1501System types:
 1502  --build=BUILD     configure for building on BUILD [guessed]
 1503  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1504  --target=TARGET   configure for building compilers for TARGET [HOST]
 1505_ACEOF
 1506fi
 1507
 1508if test -n "$ac_init_help"; then
 1509  case $ac_init_help in
 1510     short | recursive ) echo "Configuration of gc 7.1:";;
 1511   esac
 1512  cat <<\_ACEOF
 1513
 1514Optional Features:
 1515  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1516  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1517  --enable-maintainer-mode  enable make rules and dependencies not useful
 1518			  (and sometimes confusing) to the casual installer
 1519  --disable-dependency-tracking  speeds up one-time build
 1520  --enable-dependency-tracking   do not reject slow dependency extractors
 1521  --enable-threads=TYPE   choose threading package
 1522  --enable-parallel-mark  parallelize marking and free list construction
 1523  --enable-cplusplus      install C++ support
 1524  --enable-shared[=PKGS]  build shared libraries [default=yes]
 1525  --enable-static[=PKGS]  build static libraries [default=yes]
 1526  --enable-fast-install[=PKGS]
 1527                          optimize for fast installation [default=yes]
 1528  --disable-libtool-lock  avoid locking (might break parallel builds)
 1529  --disable-gcj-support   Disable support for gcj.
 1530  --disable-java-finalization
 1531                          Disable support for java finalization.
 1532  --disable-atomic-uncollectible
 1533                          Disable support for atomic uncollectible allocation.
 1534  --enable-redirect-malloc
 1535                          Redirect malloc and friends to GC routines
 1536  --enable-large-config   Optimize for large (> 100 MB) heap or root set
 1537  --enable-gc-debug       include full support for pointer backtracing etc.
 1538  --enable-gc-assertions  collector-internal assertion checking
 1539  --enable-munmap=N       return page to the os if empty for N collections
 1540
 1541Optional Packages:
 1542  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1543  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1544  --with-ecos             enable runtime eCos target support
 1545  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1546  --with-pic              try to use only PIC/non-PIC objects [default=use
 1547                          both]
 1548  --with-tags[=TAGS]      include additional configurations [automatic]
 1549  --with-target-subdir=SUBDIR
 1550                          configuring with a cross compiler
 1551  --with-cross-host=HOST  configuring with a cross compiler
 1552
 1553Some influential environment variables:
 1554  CC          C compiler command
 1555  CFLAGS      C compiler flags
 1556  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1557              nonstandard directory <lib dir>
 1558  LIBS        libraries to pass to the linker, e.g. -l<library>
 1559  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 1560              you have headers in a nonstandard directory <include dir>
 1561  CXX         C++ compiler command
 1562  CXXFLAGS    C++ compiler flags
 1563  CCAS        assembler compiler command (defaults to CC)
 1564  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
 1565  CPP         C preprocessor
 1566  CXXCPP      C++ preprocessor
 1567  F77         Fortran 77 compiler command
 1568  FFLAGS      Fortran 77 compiler flags
 1569
 1570Use these variables to override the choices made by `configure' or to help
 1571it to find libraries and programs with nonstandard names/locations.
 1572
 1573Report bugs to <Hans.Boehm@hp.com>.
 1574_ACEOF
 1575ac_status=$?
 1576fi
 1577
 1578if test "$ac_init_help" = "recursive"; then
 1579  # If there are subdirs, report their specific --help.
 1580  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1581    test -d "$ac_dir" || continue
 1582    ac_builddir=.
 1583
 1584case "$ac_dir" in
 1585.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1586*)
 1587  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 1588  # A ".." for each directory in $ac_dir_suffix.
 1589  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 1590  case $ac_top_builddir_sub in
 1591  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1592  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1593  esac ;;
 1594esac
 1595ac_abs_top_builddir=$ac_pwd
 1596ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1597# for backward compatibility:
 1598ac_top_builddir=$ac_top_build_prefix
 1599
 1600case $srcdir in
 1601  .)  # We are building in place.
 1602    ac_srcdir=.
 1603    ac_top_srcdir=$ac_top_builddir_sub
 1604    ac_abs_top_srcdir=$ac_pwd ;;
 1605  [\\/]* | ?:[\\/]* )  # Absolute name.
 1606    ac_srcdir=$srcdir$ac_dir_suffix;
 1607    ac_top_srcdir=$srcdir
 1608    ac_abs_top_srcdir=$srcdir ;;
 1609  *) # Relative name.
 1610    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1611    ac_top_srcdir=$ac_top_build_prefix$srcdir
 1612    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1613esac
 1614ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1615
 1616    cd "$ac_dir" || { ac_status=$?; continue; }
 1617    # Check for guested configure.
 1618    if test -f "$ac_srcdir/configure.gnu"; then
 1619      echo &&
 1620      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1621    elif test -f "$ac_srcdir/configure"; then
 1622      echo &&
 1623      $SHELL "$ac_srcdir/configure" --help=recursive
 1624    else
 1625      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1626    fi || ac_status=$?
 1627    cd "$ac_pwd" || { ac_status=$?; break; }
 1628  done
 1629fi
 1630
 1631test -n "$ac_init_help" && exit $ac_status
 1632if $ac_init_version; then
 1633  cat <<\_ACEOF
 1634gc configure 7.1
 1635generated by GNU Autoconf 2.61
 1636
 1637Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 16382002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 1639This configure script is free software; the Free Software Foundation
 1640gives unlimited permission to copy, distribute and modify it.
 1641_ACEOF
 1642  exit
 1643fi
 1644cat >config.log <<_ACEOF
 1645This file contains any messages produced by compilers while
 1646running configure, to aid debugging if configure makes a mistake.
 1647
 1648It was created by gc $as_me 7.1, which was
 1649generated by GNU Autoconf 2.61.  Invocation command line was
 1650
 1651  $ $0 $@
 1652
 1653_ACEOF
 1654exec 5>>config.log
 1655{
 1656cat <<_ASUNAME
 1657## --------- ##
 1658## Platform. ##
 1659## --------- ##
 1660
 1661hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1662uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1663uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1664uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1665uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1666
 1667/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1668/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1669
 1670/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1671/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1672/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1673/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 1674/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1675/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1676/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1677
 1678_ASUNAME
 1679
 1680as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1681for as_dir in $PATH
 1682do
 1683  IFS=$as_save_IFS
 1684  test -z "$as_dir" && as_dir=.
 1685  echo "PATH: $as_dir"
 1686done
 1687IFS=$as_save_IFS
 1688
 1689} >&5
 1690
 1691cat >&5 <<_ACEOF
 1692
 1693
 1694## ----------- ##
 1695## Core tests. ##
 1696## ----------- ##
 1697
 1698_ACEOF
 1699
 1700
 1701# Keep a trace of the command line.
 1702# Strip out --no-create and --no-recursion so they do not pile up.
 1703# Strip out --silent because we don't want to record it for future runs.
 1704# Also quote any args containing shell meta-characters.
 1705# Make two passes to allow for proper duplicate-argument suppression.
 1706ac_configure_args=
 1707ac_configure_args0=
 1708ac_configure_args1=
 1709ac_must_keep_next=false
 1710for ac_pass in 1 2
 1711do
 1712  for ac_arg
 1713  do
 1714    case $ac_arg in
 1715    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1716    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1717    | -silent | --silent | --silen | --sile | --sil)
 1718      continue ;;
 1719    *\'*)
 1720      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1721    esac
 1722    case $ac_pass in
 1723    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 1724    2)
 1725      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 1726      if test $ac_must_keep_next = true; then
 1727	ac_must_keep_next=false # Got value, back to normal.
 1728      else
 1729	case $ac_arg in
 1730	  *=* | --config-cache | -C | -disable-* | --disable-* \
 1731	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1732	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1733	  | -with-* | --with-* | -without-* | --without-* | --x)
 1734	    case "$ac_configure_args0 " in
 1735	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1736	    esac
 1737	    ;;
 1738	  -* ) ac_must_keep_next=true ;;
 1739	esac
 1740      fi
 1741      ac_configure_args="$ac_configure_args '$ac_arg'"
 1742      ;;
 1743    esac
 1744  done
 1745done
 1746$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 1747$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 1748
 1749# When interrupted or exit'd, cleanup temporary files, and complete
 1750# config.log.  We remove comments because anyway the quotes in there
 1751# would cause problems or look ugly.
 1752# WARNING: Use '\'' to represent an apostrophe within the trap.
 1753# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 1754trap 'exit_status=$?
 1755  # Save into config.log some information that might help in debugging.
 1756  {
 1757    echo
 1758
 1759    cat <<\_ASBOX
 1760## ---------------- ##
 1761## Cache variables. ##
 1762## ---------------- ##
 1763_ASBOX
 1764    echo
 1765    # The following way of writing the cache mishandles newlines in values,
 1766(
 1767  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 1768    eval ac_val=\$$ac_var
 1769    case $ac_val in #(
 1770    *${as_nl}*)
 1771      case $ac_var in #(
 1772      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 1773echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 1774      esac
 1775      case $ac_var in #(
 1776      _ | IFS | as_nl) ;; #(
 1777      *) $as_unset $ac_var ;;
 1778      esac ;;
 1779    esac
 1780  done
 1781  (set) 2>&1 |
 1782    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 1783    *${as_nl}ac_space=\ *)
 1784      sed -n \
 1785	"s/'\''/'\''\\\\'\'''\''/g;
 1786	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 1787      ;; #(
 1788    *)
 1789      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 1790      ;;
 1791    esac |
 1792    sort
 1793)
 1794    echo
 1795
 1796    cat <<\_ASBOX
 1797## ----------------- ##
 1798## Output variables. ##
 1799## ----------------- ##
 1800_ASBOX
 1801    echo
 1802    for ac_var in $ac_subst_vars
 1803    do
 1804      eval ac_val=\$$ac_var
 1805      case $ac_val in
 1806      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 1807      esac
 1808      echo "$ac_var='\''$ac_val'\''"
 1809    done | sort
 1810    echo
 1811
 1812    if test -n "$ac_subst_files"; then
 1813      cat <<\_ASBOX
 1814## ------------------- ##
 1815## File substitutions. ##
 1816## ------------------- ##
 1817_ASBOX
 1818      echo
 1819      for ac_var in $ac_subst_files
 1820      do
 1821	eval ac_val=\$$ac_var
 1822	case $ac_val in
 1823	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 1824	esac
 1825	echo "$ac_var='\''$ac_val'\''"
 1826      done | sort
 1827      echo
 1828    fi
 1829
 1830    if test -s confdefs.h; then
 1831      cat <<\_ASBOX
 1832## ----------- ##
 1833## confdefs.h. ##
 1834## ----------- ##
 1835_ASBOX
 1836      echo
 1837      cat confdefs.h
 1838      echo
 1839    fi
 1840    test "$ac_signal" != 0 &&
 1841      echo "$as_me: caught signal $ac_signal"
 1842    echo "$as_me: exit $exit_status"
 1843  } >&5
 1844  rm -f core *.core core.conftest.* &&
 1845    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 1846    exit $exit_status
 1847' 0
 1848for ac_signal in 1 2 13 15; do
 1849  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 1850done
 1851ac_signal=0
 1852
 1853# confdefs.h avoids OS command line length limits that DEFS can exceed.
 1854rm -f -r conftest* confdefs.h
 1855
 1856# Predefined preprocessor variables.
 1857
 1858cat >>confdefs.h <<_ACEOF
 1859#define PACKAGE_NAME "$PACKAGE_NAME"
 1860_ACEOF
 1861
 1862
 1863cat >>confdefs.h <<_ACEOF
 1864#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 1865_ACEOF
 1866
 1867
 1868cat >>confdefs.h <<_ACEOF
 1869#define PACKAGE_VERSION "$PACKAGE_VERSION"
 1870_ACEOF
 1871
 1872
 1873cat >>confdefs.h <<_ACEOF
 1874#define PACKAGE_STRING "$PACKAGE_STRING"
 1875_ACEOF
 1876
 1877
 1878cat >>confdefs.h <<_ACEOF
 1879#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 1880_ACEOF
 1881
 1882
 1883# Let the site file select an alternate cache file if it wants to.
 1884# Prefer explicitly selected file to automatically selected ones.
 1885if test -n "$CONFIG_SITE"; then
 1886  set x "$CONFIG_SITE"
 1887elif test "x$prefix" != xNONE; then
 1888  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 1889else
 1890  set x "$ac_default_prefix/share/config.site" \
 1891	"$ac_default_prefix/etc/config.site"
 1892fi
 1893shift
 1894for ac_site_file
 1895do
 1896  if test -r "$ac_site_file"; then
 1897    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 1898echo "$as_me: loading site script $ac_site_file" >&6;}
 1899    sed 's/^/| /' "$ac_site_file" >&5
 1900    . "$ac_site_file"
 1901  fi
 1902done
 1903
 1904if test -r "$cache_file"; then
 1905  # Some versions of bash will fail to source /dev/null (special
 1906  # files actually), so we avoid doing that.
 1907  if test -f "$cache_file"; then
 1908    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 1909echo "$as_me: loading cache $cache_file" >&6;}
 1910    case $cache_file in
 1911      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 1912      *)                      . "./$cache_file";;
 1913    esac
 1914  fi
 1915else
 1916  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 1917echo "$as_me: creating cache $cache_file" >&6;}
 1918  >$cache_file
 1919fi
 1920
 1921# Check that the precious variables saved in the cache have kept the same
 1922# value.
 1923ac_cache_corrupted=false
 1924for ac_var in $ac_precious_vars; do
 1925  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1926  eval ac_new_set=\$ac_env_${ac_var}_set
 1927  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 1928  eval ac_new_val=\$ac_env_${ac_var}_value
 1929  case $ac_old_set,$ac_new_set in
 1930    set,)
 1931      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 1932echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 1933      ac_cache_corrupted=: ;;
 1934    ,set)
 1935      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 1936echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 1937      ac_cache_corrupted=: ;;
 1938    ,);;
 1939    *)
 1940      if test "x$ac_old_val" != "x$ac_new_val"; then
 1941	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 1942echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 1943	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 1944echo "$as_me:   former value:  $ac_old_val" >&2;}
 1945	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 1946echo "$as_me:   current value: $ac_new_val" >&2;}
 1947	ac_cache_corrupted=:
 1948      fi;;
 1949  esac
 1950  # Pass precious variables to config.status.
 1951  if test "$ac_new_set" = set; then
 1952    case $ac_new_val in
 1953    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 1954    *) ac_arg=$ac_var=$ac_new_val ;;
 1955    esac
 1956    case " $ac_configure_args " in
 1957      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 1958      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 1959    esac
 1960  fi
 1961done
 1962if $ac_cache_corrupted; then
 1963  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 1964echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 1965  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 1966echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 1967   { (exit 1); exit 1; }; }
 1968fi
 1969
 1970
 1971
 1972
 1973
 1974
 1975
 1976
 1977
 1978
 1979
 1980
 1981
 1982
 1983
 1984
 1985
 1986
 1987
 1988
 1989
 1990
 1991
 1992
 1993
 1994ac_ext=c
 1995ac_cpp='$CPP $CPPFLAGS'
 1996ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1997ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1998ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1999
 2000
 2001    ## version must conform to [0-9]+[.][0-9]+(alpha[0-9]+)?
 2002
 2003ac_aux_dir=
 2004for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2005  if test -f "$ac_dir/install-sh"; then
 2006    ac_aux_dir=$ac_dir
 2007    ac_install_sh="$ac_aux_dir/install-sh -c"
 2008    break
 2009  elif test -f "$ac_dir/install.sh"; then
 2010    ac_aux_dir=$ac_dir
 2011    ac_install_sh="$ac_aux_dir/install.sh -c"
 2012    break
 2013  elif test -f "$ac_dir/shtool"; then
 2014    ac_aux_dir=$ac_dir
 2015    ac_install_sh="$ac_aux_dir/shtool install -c"
 2016    break
 2017  fi
 2018done
 2019if test -z "$ac_aux_dir"; then
 2020  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 2021echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 2022   { (exit 1); exit 1; }; }
 2023fi
 2024
 2025# These three variables are undocumented and unsupported,
 2026# and are intended to be withdrawn in a future Autoconf release.
 2027# They can cause serious problems if a builder's source tree is in a directory
 2028# whose full name contains unusual characters.
 2029ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2030ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2031ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2032
 2033
 2034# Make sure we can run config.sub.
 2035$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 2036  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 2037echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 2038   { (exit 1); exit 1; }; }
 2039
 2040{ echo "$as_me:$LINENO: checking build system type" >&5
 2041echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 2042if test "${ac_cv_build+set}" = set; then
 2043  echo $ECHO_N "(cached) $ECHO_C" >&6
 2044else
 2045  ac_build_alias=$build_alias
 2046test "x$ac_build_alias" = x &&
 2047  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 2048test "x$ac_build_alias" = x &&
 2049  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 2050echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 2051   { (exit 1); exit 1; }; }
 2052ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 2053  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 2054echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 2055   { (exit 1); exit 1; }; }
 2056
 2057fi
 2058{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 2059echo "${ECHO_T}$ac_cv_build" >&6; }
 2060case $ac_cv_build in
 2061*-*-*) ;;
 2062*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 2063echo "$as_me: error: invalid value of canonical build" >&2;}
 2064   { (exit 1); exit 1; }; };;
 2065esac
 2066build=$ac_cv_build
 2067ac_save_IFS=$IFS; IFS='-'
 2068set x $ac_cv_build
 2069shift
 2070build_cpu=$1
 2071build_vendor=$2
 2072shift; shift
 2073# Remember, the first character of IFS is used to create $*,
 2074# except with old shells:
 2075build_os=$*
 2076IFS=$ac_save_IFS
 2077case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 2078
 2079
 2080{ echo "$as_me:$LINENO: checking host system type" >&5
 2081echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 2082if test "${ac_cv_host+set}" = set; then
 2083  echo $ECHO_N "(cached) $ECHO_C" >&6
 2084else
 2085  if test "x$host_alias" = x; then
 2086  ac_cv_host=$ac_cv_build
 2087else
 2088  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 2089    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 2090echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 2091   { (exit 1); exit 1; }; }
 2092fi
 2093
 2094fi
 2095{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 2096echo "${ECHO_T}$ac_cv_host" >&6; }
 2097case $ac_cv_host in
 2098*-*-*) ;;
 2099*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 2100echo "$as_me: error: invalid value of canonical host" >&2;}
 2101   { (exit 1); exit 1; }; };;
 2102esac
 2103host=$ac_cv_host
 2104ac_save_IFS=$IFS; IFS='-'
 2105set x $ac_cv_host
 2106shift
 2107host_cpu=$1
 2108host_vendor=$2
 2109shift; shift
 2110# Remember, the first character of IFS is used to create $*,
 2111# except with old shells:
 2112host_os=$*
 2113IFS=$ac_save_IFS
 2114case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 2115
 2116
 2117{ echo "$as_me:$LINENO: checking target system type" >&5
 2118echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
 2119if test "${ac_cv_target+set}" = set; then
 2120  echo $ECHO_N "(cached) $ECHO_C" >&6
 2121else
 2122  if test "x$target_alias" = x; then
 2123  ac_cv_target=$ac_cv_host
 2124else
 2125  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 2126    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
 2127echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
 2128   { (exit 1); exit 1; }; }
 2129fi
 2130
 2131fi
 2132{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 2133echo "${ECHO_T}$ac_cv_target" >&6; }
 2134case $ac_cv_target in
 2135*-*-*) ;;
 2136*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
 2137echo "$as_me: error: invalid value of canonical target" >&2;}
 2138   { (exit 1); exit 1; }; };;
 2139esac
 2140target=$ac_cv_target
 2141ac_save_IFS=$IFS; IFS='-'
 2142set x $ac_cv_target
 2143shift
 2144target_cpu=$1
 2145target_vendor=$2
 2146shift; shift
 2147# Remember, the first character of IFS is used to create $*,
 2148# except with old shells:
 2149target_os=$*
 2150IFS=$ac_save_IFS
 2151case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 2152
 2153
 2154# The aliases save the names the user supplied, while $host etc.
 2155# will get canonicalized.
 2156test -n "$target_alias" &&
 2157  test "$program_prefix$program_suffix$program_transform_name" = \
 2158    NONENONEs,x,x, &&
 2159  program_prefix=${target_alias}-
 2160
 2161
 2162
 2163  { echo "$as_me:$LINENO: checking GC version numbers" >&5
 2164echo $ECHO_N "checking GC version numbers... $ECHO_C" >&6; }
 2165  GC_VERSION_MAJOR=`echo $PACKAGE_VERSION | sed 's/^\([0-9][0-9]*\)[.].*$/\1/g'`
 2166  GC_VERSION_MINOR=`echo $PACKAGE_VERSION | sed 's/^[^.]*[.]\([0-9][0-9]*\).*$/\1/g'`
 2167  GC_ALPHA_VERSION=`echo $PACKAGE_VERSION | sed 's/^[^.]*[.][0-9]*//'`
 2168
 2169  case "$GC_ALPHA_VERSION" in
 2170    alpha*)
 2171      GC_ALPHA_VERSION=`echo $GC_ALPHA_VERSION \
 2172      | sed 's/alpha\([0-9][0-9]*\)/\1/'` ;;
 2173    *)  GC_ALPHA_MAJOR='' ;;
 2174  esac
 2175
 2176  if test :$GC_VERSION_MAJOR: = :: \
 2177     -o   :$GC_VERSION_MINOR: = :: ;
 2178  then
 2179    { echo "$as_me:$LINENO: result: invalid" >&5
 2180echo "${ECHO_T}invalid" >&6; }
 2181    { { echo "$as_me:$LINENO: error: nonconforming PACKAGE_VERSION='$PACKAGE_VERSION'" >&5
 2182echo "$as_me: error: nonconforming PACKAGE_VERSION='$PACKAGE_VERSION'" >&2;}
 2183   { (exit 1); exit 1; }; }
 2184  fi
 2185
 2186  cat >>confdefs.h <<_ACEOF
 2187#define GC_VERSION_MAJOR $GC_VERSION_MAJOR
 2188_ACEOF
 2189
 2190  cat >>confdefs.h <<_ACEOF
 2191#define GC_VERSION_MINOR $GC_VERSION_MINOR
 2192_ACEOF
 2193
 2194  if test :$GC_ALPHA_VERSION: != :: ; then
 2195    cat >>confdefs.h <<_ACEOF
 2196#define GC_ALPHA_VERSION $GC_ALPHA_VERSION
 2197_ACEOF
 2198
 2199  fi
 2200  { echo "$as_me:$LINENO: result: major=$GC_VERSION_MAJOR minor=$GC_VERSION_MINOR \
 2201${GC_ALPHA_VERSION:+alpha=}$GC_ALPHA_VERSION" >&5
 2202echo "${ECHO_T}major=$GC_VERSION_MAJOR minor=$GC_VERSION_MINOR \
 2203${GC_ALPHA_VERSION:+alpha=}$GC_ALPHA_VERSION" >&6; }
 2204
 2205am__api_version="1.9"
 2206# Find a good install program.  We prefer a C program (faster),
 2207# so one script is as good as another.  But avoid the broken or
 2208# incompatible versions:
 2209# SysV /etc/install, /usr/sbin/install
 2210# SunOS /usr/etc/install
 2211# IRIX /sbin/install
 2212# AIX /bin/install
 2213# AmigaOS /C/install, which installs bootblocks on floppy discs
 2214# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2215# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2216# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2217# OS/2's system install, which has a completely different semantic
 2218# ./install, which can be erroneously created by make from ./install.sh.
 2219{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 2220echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 2221if test -z "$INSTALL"; then
 2222if test "${ac_cv_path_install+set}" = set; then
 2223  echo $ECHO_N "(cached) $ECHO_C" >&6
 2224else
 2225  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2226for as_dir in $PATH
 2227do
 2228  IFS=$as_save_IFS
 2229  test -z "$as_dir" && as_dir=.
 2230  # Account for people who put trailing slashes in PATH elements.
 2231case $as_dir/ in
 2232  ./ | .// | /cC/* | \
 2233  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2234  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 2235  /usr/ucb/* ) ;;
 2236  *)
 2237    # OSF1 and SCO ODT 3.0 have their own names for install.
 2238    # Don't use installbsd from OSF since it installs stuff as root
 2239    # by default.
 2240    for ac_prog in ginstall scoinst install; do
 2241      for ac_exec_ext in '' $ac_executable_extensions; do
 2242	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 2243	  if test $ac_prog = install &&
 2244	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2245	    # AIX install.  It has an incompatible calling convention.
 2246	    :
 2247	  elif test $ac_prog = install &&
 2248	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2249	    # program-specific install script used by HP pwplus--don't use.
 2250	    :
 2251	  else
 2252	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2253	    break 3
 2254	  fi
 2255	fi
 2256      done
 2257    done
 2258    ;;
 2259esac
 2260done
 2261IFS=$as_save_IFS
 2262
 2263
 2264fi
 2265  if test "${ac_cv_path_install+set}" = set; then
 2266    INSTALL=$ac_cv_path_install
 2267  else
 2268    # As a last resort, use the slow shell script.  Don't cache a
 2269    # value for INSTALL within a source directory, because that will
 2270    # break other packages using the cache if that directory is
 2271    # removed, or if the value is a relative name.
 2272    INSTALL=$ac_install_sh
 2273  fi
 2274fi
 2275{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 2276echo "${ECHO_T}$INSTALL" >&6; }
 2277
 2278# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2279# It thinks the first close brace ends the variable substitution.
 2280test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2281
 2282test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2283
 2284test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2285
 2286{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 2287echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 2288# Just in case
 2289sleep 1
 2290echo timestamp > conftest.file
 2291# Do `set' in a subshell so we don't clobber the current shell's
 2292# arguments.  Must try -L first in case configure is actually a
 2293# symlink; some systems play weird games with the mod time of symlinks
 2294# (eg FreeBSD returns the mod time of the symlink's containing
 2295# directory).
 2296if (
 2297   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 2298   if test "$*" = "X"; then
 2299      # -L didn't work.
 2300      set X `ls -t $srcdir/configure conftest.file`
 2301   fi
 2302   rm -f conftest.file
 2303   if test "$*" != "X $srcdir/configure conftest.file" \
 2304      && test "$*" != "X conftest.file $srcdir/configure"; then
 2305
 2306      # If neither matched, then we have a broken ls.  This can happen
 2307      # if, for instance, CONFIG_SHELL is bash and it inherits a
 2308      # broken ls alias from the environment.  This has actually
 2309      # happened.  Such a system could not be considered "sane".
 2310      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 2311alias in your environment" >&5
 2312echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 2313alias in your environment" >&2;}
 2314   { (exit 1); exit 1; }; }
 2315   fi
 2316
 2317   test "$2" = conftest.file
 2318   )
 2319then
 2320   # Ok.
 2321   :
 2322else
 2323   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 2324Check your system clock" >&5
 2325echo "$as_me: error: newly created file is older than distributed files!
 2326Check your system clock" >&2;}
 2327   { (exit 1); exit 1; }; }
 2328fi
 2329{ echo "$as_me:$LINENO: result: yes" >&5
 2330echo "${ECHO_T}yes" >&6; }
 2331test "$program_prefix" != NONE &&
 2332  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2333# Use a double $ so make ignores it.
 2334test "$program_suffix" != NONE &&
 2335  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2336# Double any \ or $.  echo might interpret backslashes.
 2337# By default was `s,x,x', remove it if useless.
 2338cat <<\_ACEOF >conftest.sed
 2339s/[\\$]/&&/g;s/;s,x,x,$//
 2340_ACEOF
 2341program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 2342rm -f conftest.sed
 2343
 2344# expand $ac_aux_dir to an absolute path
 2345am_aux_dir=`cd $ac_aux_dir && pwd`
 2346
 2347test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 2348# Use eval to expand $SHELL
 2349if eval "$MISSING --run true"; then
 2350  am_missing_run="$MISSING --run "
 2351else
 2352  am_missing_run=
 2353  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 2354echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 2355fi
 2356
 2357if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 2358  # We used to keeping the `.' as first argument, in order to
 2359  # allow $(mkdir_p) to be used without argument.  As in
 2360  #   $(mkdir_p) $(somedir)
 2361  # where $(somedir) is conditionally defined.  However this is wrong
 2362  # for two reasons:
 2363  #  1. if the package is installed by a user who cannot write `.'
 2364  #     make install will fail,
 2365  #  2. the above comment should most certainly read
 2366  #     $(mkdir_p) $(DESTDIR)$(somedir)
 2367  #     so it does not work when $(somedir) is undefined and
 2368  #     $(DESTDIR) is not.
 2369  #  To support the latter case, we have to write
 2370  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 2371  #  so the `.' trick is pointless.
 2372  mkdir_p='mkdir -p --'
 2373else
 2374  # On NextStep and OpenStep, the `mkdir' command does not
 2375  # recognize any option.  It will interpret all options as
 2376  # directories to create, and then abort because `.' already
 2377  # exists.
 2378  for d in ./-p ./--version;
 2379  do
 2380    test -d $d && rmdir $d
 2381  done
 2382  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 2383  if test -f "$ac_aux_dir/mkinstalldirs"; then
 2384    mkdir_p='$(mkinstalldirs)'
 2385  else
 2386    mkdir_p='$(install_sh) -d'
 2387  fi
 2388fi
 2389
 2390for ac_prog in gawk mawk nawk awk
 2391do
 2392  # Extract the first word of "$ac_prog", so it can be a program name with args.
 2393set dummy $ac_prog; ac_word=$2
 2394{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 2395echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2396if test "${ac_cv_prog_AWK+set}" = set; then
 2397  echo $ECHO_N "(cached) $ECHO_C" >&6
 2398else
 2399  if test -n "$AWK"; then
 2400  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 2401else
 2402as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2403for as_dir in $PATH
 2404do
 2405  IFS=$as_save_IFS
 2406  test -z "$as_dir" && as_dir=.
 2407  for ac_exec_ext in '' $ac_executable_extensions; do
 2408  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2409    ac_cv_prog_AWK="$ac_prog"
 2410    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2411    break 2
 2412  fi
 2413done
 2414done
 2415IFS=$as_save_IFS
 2416
 2417fi
 2418fi
 2419AWK=$ac_cv_prog_AWK
 2420if test -n "$AWK"; then
 2421  { echo "$as_me:$LINENO: result: $AWK" >&5
 2422echo "${ECHO_T}$AWK" >&6; }
 2423else
 2424  { echo "$as_me:$LINENO: result: no" >&5
 2425echo "${ECHO_T}no" >&6; }
 2426fi
 2427
 2428
 2429  test -n "$AWK" && break
 2430done
 2431
 2432{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 2433echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 2434set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 2435if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 2436  echo $ECHO_N "(cached) $ECHO_C" >&6
 2437else
 2438  cat >conftest.make <<\_ACEOF
 2439SHELL = /bin/sh
 2440all:
 2441	@echo '@@@%%%=$(MAKE)=@@@%%%'
 2442_ACEOF
 2443# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 2444case `${MAKE-make} -f conftest.make 2>/dev/null` in
 2445  *@@@%%%=?*=@@@%%%*)
 2446    eval ac_cv_prog_make_${ac_make}_set=yes;;
 2447  *)
 2448    eval ac_cv_prog_make_${ac_make}_set=no;;
 2449esac
 2450rm -f conftest.make
 2451fi
 2452if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 2453  { echo "$as_me:$LINENO: result: yes" >&5
 2454echo "${ECHO_T}yes" >&6; }
 2455  SET_MAKE=
 2456else
 2457  { echo "$as_me:$LINENO: result: no" >&5
 2458echo "${ECHO_T}no" >&6; }
 2459  SET_MAKE="MAKE=${MAKE-make}"
 2460fi
 2461
 2462rm -rf .tst 2>/dev/null
 2463mkdir .tst 2>/dev/null
 2464if test -d .tst; then
 2465  am__leading_dot=.
 2466else
 2467  am__leading_dot=_
 2468fi
 2469rmdir .tst 2>/dev/null
 2470
 2471# test to see if srcdir already configured
 2472if test "`cd $srcdir && pwd`" != "`pwd`" &&
 2473   test -f $srcdir/config.status; then
 2474  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 2475echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 2476   { (exit 1); exit 1; }; }
 2477fi
 2478
 2479# test whether we have cygpath
 2480if test -z "$CYGPATH_W"; then
 2481  if (cygpath --version) >/dev/null 2>/dev/null; then
 2482    CYGPATH_W='cygpath -w'
 2483  else
 2484    CYGPATH_W=echo
 2485  fi
 2486fi
 2487
 2488
 2489# Define the identity of the package.
 2490 PACKAGE='gc'
 2491 VERSION='7.1'
 2492
 2493
 2494cat >>confdefs.h <<_ACEOF
 2495#define PACKAGE "$PACKAGE"
 2496_ACEOF
 2497
 2498
 2499cat >>confdefs.h <<_ACEOF
 2500#define VERSION "$VERSION"
 2501_ACEOF
 2502
 2503# Some tools Automake needs.
 2504
 2505ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 2506
 2507
 2508AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 2509
 2510
 2511AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 2512
 2513
 2514AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 2515
 2516
 2517MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 2518
 2519install_sh=${install_sh-"$am_aux_dir/install-sh"}
 2520
 2521# Installed binaries are usually stripped using `strip' when the user
 2522# run `make install-strip'.  However `strip' might not be the right
 2523# tool to use in cross-compilation environments, therefore Automake
 2524# will honor the `STRIP' environment variable to overrule this program.
 2525if test "$cross_compiling" != no; then
 2526  if test -n "$ac_tool_prefix"; then
 2527  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2528set dummy ${ac_tool_prefix}strip; ac_word=$2
 2529{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 2530echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2531if test "${ac_cv_prog_STRIP+set}" = set; then
 2532  echo $ECHO_N "(cached) $ECHO_C" >&6
 2533else
 2534  if test -n "$STRIP"; then
 2535  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2536else
 2537as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2538for as_dir in $PATH
 2539do
 2540  IFS=$as_save_IFS
 2541  test -z "$as_dir" && as_dir=.
 2542  for ac_exec_ext in '' $ac_executable_extensions; do
 2543  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2544    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2545    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2546    break 2
 2547  fi
 2548done
 2549done
 2550IFS=$as_save_IFS
 2551
 2552fi
 2553fi
 2554STRIP=$ac_cv_prog_STRIP
 2555if test -n "$STRIP"; then
 2556  { echo "$as_me:$LINENO: result: $STRIP" >&5
 2557echo "${ECHO_T}$STRIP" >&6; }
 2558else
 2559  { echo "$as_me:$LINENO: result: no" >&5
 2560echo "${ECHO_T}no" >&6; }
 2561fi
 2562
 2563
 2564fi
 2565if test -z "$ac_cv_prog_STRIP"; then
 2566  ac_ct_STRIP=$STRIP
 2567  # Extract the first word of "strip", so it can be a program name with args.
 2568set dummy strip; ac_word=$2
 2569{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 2570echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2571if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 2572  echo $ECHO_N "(cached) $ECHO_C" >&6
 2573else
 2574  if test -n "$ac_ct_STRIP"; then
 2575  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2576else
 2577as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2578for as_dir in $PATH
 2579do
 2580  IFS=$as_save_IFS
 2581  test -z "$as_dir" && as_dir=.
 2582  for ac_exec_ext in '' $ac_executable_extensions; do
 2583  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2584    ac_cv_prog_ac_ct_STRIP="strip"
 2585    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2586    break 2
 2587  fi
 2588done
 2589done
 2590IFS=$as_save_IFS
 2591
 2592fi
 2593fi
 2594ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2595if test -n "$ac_ct_STRIP"; then
 2596  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 2597echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 2598else
 2599  { echo "$as_me:$LINENO: result: no" >&5
 2600echo "${ECHO_T}no" >&6; }
 2601fi
 2602
 2603  if test "x$ac_ct_STRIP" = x; then
 2604    STRIP=":"
 2605  else
 2606    case $cross_compiling:$ac_tool_warned in
 2607yes:)
 2608{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 2609whose name does not start with the host triplet.  If you think this
 2610configuration is useful to you, please write to autoconf@gnu.org." >&5
 2611echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 2612whose name does not start with the host triplet.  If you think this
 2613configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 2614ac_tool_warned=yes ;;
 2615esac
 2616    STRIP=$ac_ct_STRIP
 2617  fi
 2618else
 2619  STRIP="$ac_cv_prog_STRIP"
 2620fi
 2621
 2622fi
 2623INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 2624
 2625# We need awk for the "check" target.  The system "awk" is bad on
 2626# some platforms.
 2627# Always define AMTAR for backward compatibility.
 2628
 2629AMTAR=${AMTAR-"${am_missing_run}tar"}
 2630
 2631am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 2632
 2633
 2634
 2635
 2636
 2637{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 2638echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 2639    # Check whether --enable-maintainer-mode was given.
 2640if test "${enable_maintainer_mode+set}" = set; then
 2641  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 2642else
 2643  USE_MAINTAINER_MODE=no
 2644fi
 2645
 2646  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 2647echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 2648
 2649
 2650if test $USE_MAINTAINER_MODE = yes; then
 2651  MAINTAINER_MODE_TRUE=
 2652  MAINTAINER_MODE_FALSE='#'
 2653else
 2654  MAINTAINER_MODE_TRUE='#'
 2655  MAINTAINER_MODE_FALSE=
 2656fi
 2657
 2658  MAINT=$MAINTAINER_MODE_TRUE
 2659
 2660
 2661
 2662
 2663
 2664
 2665DEPDIR="${am__leading_dot}deps"
 2666
 2667ac_config_commands="$ac_config_commands depfiles"
 2668
 2669
 2670am_make=${MAKE-make}
 2671cat > confinc << 'END'
 2672am__doit:
 2673	@echo done
 2674.PHONY: am__doit
 2675END
 2676# If we don't find an include directive, just comment out the code.
 2677{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 2678echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 2679am__include="#"
 2680am__quote=
 2681_am_result=none
 2682# First try GNU make style include.
 2683echo "include confinc" > confmf
 2684# We grep out `Entering directory' and `Leaving directory'
 2685# messages which can occur if `w' ends up in MAKEFLAGS.
 2686# In particular we don't look at `^make:' because GNU make might
 2687# be invoked under some other name (usually "gmake"), in which
 2688# case it prints its new name instead of `make'.
 2689if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 2690   am__include=include
 2691   am__quote=
 2692   _am_result=GNU
 2693fi
 2694# Now try BSD make style include.
 2695if test "$am__include" = "#"; then
 2696   echo '.include "confinc"' > confmf
 2697   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 2698      am__include=.include
 2699      am__quote="\""
 2700      _am_result=BSD
 2701   fi
 2702fi
 2703
 2704
 2705{ echo "$as_me:$LINENO: result: $_am_result" >&5
 2706echo "${ECHO_T}$_am_result" >&6; }
 2707rm -f confinc confmf
 2708
 2709# Check whether --enable-dependency-tracking was given.
 2710if test "${enable_dependency_tracking+set}" = set; then
 2711  enableval=$enable_dependency_tracking;
 2712fi
 2713
 2714if test "x$enable_dependency_tracking" != xno; then
 2715  am_depcomp="$ac_aux_dir/depcomp"
 2716  AMDEPBACKSLASH='\'
 2717fi
 2718
 2719
 2720if test "x$enable_dependency_tracking" != xno; then
 2721  AMDEP_TRUE=
 2722  AMDEP_FALSE='#'
 2723else
 2724  AMDEP_TRUE='#'
 2725  AMDEP_FALSE=
 2726fi
 2727
 2728
 2729
 2730ac_ext=c
 2731ac_cpp='$CPP $CPPFLAGS'
 2732ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2733ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2734ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2735if test -n "$ac_tool_prefix"; then
 2736  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2737set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2738{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 2739echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2740if test "${ac_cv_prog_CC+set}" = set; then
 2741  echo $ECHO_N "(cached) $ECHO_C" >&6
 2742else
 2743  if test -n "$CC"; then
 2744  ac_cv_prog_CC="$CC" # Let the user override the test.
 2745else
 2746as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2747for as_dir in $PATH
 2748do
 2749  IFS=$as_save_IFS
 2750  test -z "$as_dir" && as_dir=.
 2751  for ac_exec_ext in '' $ac_executable_extensions; do
 2752  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2753    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 2754    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2755    break 2
 2756  fi
 2757done
 2758done
 2759IFS=$as_save_IFS
 2760
 2761fi
 2762fi
 2763CC=$ac_cv_prog_CC
 2764if test -n "$CC"; then
 2765  { echo "$as_me:$LINENO: result: $CC" >&5
 2766echo "${ECHO_T}$CC" >&6; }
 2767else
 2768  { echo "$as_me:$LINENO: result: no" >&5
 2769echo "${ECHO_T}no" >&6; }
 2770fi
 2771
 2772
 2773fi
 2774if test -z "$ac_cv_prog_CC"; then
 2775  ac_ct_CC=$CC
 2776  # Extract the first word of "gcc", so it can be a program name with args.
 2777set dummy gcc; ac_word=$2
 2778{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 2779echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2780if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2781  echo $ECHO_N "(cached) $ECHO_C" >&6
 2782else
 2783  if test -n "$ac_ct_CC"; then
 2784  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2785else
 2786as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2787for as_dir in $PATH
 2788do
 2789  IFS=$as_save_IFS
 2790  test -z "$as_dir" && as_dir=.
 2791  for ac_exec_ext in '' $ac_executable_extensions; do
 2792  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2793    ac_cv_prog_ac_ct_CC="gcc"
 2794    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2795    break 2
 2796  fi
 2797done
 2798done
 2799IFS=$as_save_IFS
 2800
 2801fi
 2802fi
 2803ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2804if test -n "$ac_ct_CC"; then
 2805  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2806echo "${ECHO_T}$ac_ct_CC" >&6; }
 2807else
 2808  { echo "$as_me:$LINENO: result: no" >&5
 2809echo "${ECHO_T}no" >&6; }
 2810fi
 2811
 2812  if test "x$ac_ct_CC" = x; then
 2813    CC=""
 2814  else
 2815    case $cross_compiling:$ac_tool_warned in
 2816yes:)
 2817{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 2818whose name does not start with the host triplet.  If you think this
 2819configuration is useful to you, please write to autoconf@gnu.org." >&5
 2820echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 2821whose name does not start with the host triplet.  If you think this
 2822configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 2823ac_tool_warned=yes ;;
 2824esac
 2825    CC=$ac_ct_CC
 2826  fi
 2827else
 2828  CC="$ac_cv_prog_CC"
 2829fi
 2830
 2831if test -z "$CC"; then
 2832          if test -n "$ac_tool_prefix"; then
 2833    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 2834set dummy ${ac_tool_prefix}cc; ac_word=$2
 2835{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 2836echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2837if test "${ac_cv_prog_CC+set}" = set; then
 2838  echo $ECHO_N "(cached) $ECHO_C" >&6
 2839else
 2840  if test -n "$CC"; then
 2841  ac_cv_prog_CC="$CC" # Let the user override the test.
 2842else
 2843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2844for as_dir in $PATH
 2845do
 2846  IFS=$as_save_IFS
 2847  test -z "$as_dir" && as_dir=.
 2848  for ac_exec_ext in '' $ac_executable_extensions; do
 2849  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2850    ac_cv_prog_CC="${ac_tool_prefix}cc"
 2851    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2852    break 2
 2853  fi
 2854done
 2855done
 2856IFS=$as_save_IFS
 2857
 2858fi
 2859fi
 2860CC=$ac_cv_prog_CC
 2861if test -n "$CC"; then
 2862  { echo "$as_me:$LINENO: result: $CC" >&5
 2863echo "${ECHO_T}$CC" >&6; }
 2864else
 2865  { echo "$as_me:$LINENO: result: no" >&5
 2866echo "${ECHO_T}no" >&6; }
 2867fi
 2868
 2869
 2870  fi
 2871fi
 2872if test -z "$CC"; then
 2873  # Extract the first word of "cc", so it can be a program name with args.
 2874set dummy cc; ac_word=$2
 2875{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 2876echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2877if test "${ac_cv_prog_CC+set}" = set; then
 2878  echo $ECHO_N "(cached) $ECHO_C" >&6
 2879else
 2880  if test -n "$CC"; then
 2881  ac_cv_prog_CC="$CC" # Let the user override the test.
 2882else
 2883  ac_prog_rejected=no
 2884as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2885for as_dir in $PATH
 2886do
 2887  IFS=$as_save_IFS
 2888  test -z "$as_dir" && as_dir=.
 2889  for ac_exec_ext in '' $ac_executable_extensions; do
 2890  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2891    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 2892       ac_prog_rejected=yes
 2893       continue
 2894     fi
 2895    ac_cv_prog_CC="cc"
 2896    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2897    break 2
 2898  fi
 2899done
 2900done
 2901IFS=$as_save_IFS
 2902
 2903if test $ac_prog_rejected = yes; then
 2904  # We found a bogon in the path, so make sure we never use it.
 2905  set dummy $ac_cv_prog_CC
 2906  shift
 2907  if test $# != 0; then
 2908    # We chose a different compiler from the bogus one.
 2909    # However, it has the same basename, so the bogon will be chosen
 2910    # first if we set CC to just the basename; use the full file name.
 2911    shift
 2912    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 2913  fi
 2914fi
 2915fi
 2916fi
 2917CC=$ac_cv_prog_CC
 2918if test -n "$CC"; then
 2919  { echo "$as_me:$LINENO: result: $CC" >&5
 2920echo "${ECHO_T}$CC" >&6; }
 2921else
 2922  { echo "$as_me:$LINENO: result: no" >&5
 2923echo "${ECHO_T}no" >&6; }
 2924fi
 2925
 2926
 2927fi
 2928if test -z "$CC"; then
 2929  if test -n "$ac_tool_prefix"; then
 2930  for ac_prog in cl.exe
 2931  do
 2932    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 2933set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 2934{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 2935echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2936if test "${ac_cv_prog_CC+set}" = set; then
 2937  echo $ECHO_N "(cached) $ECHO_C" >&6
 2938else
 2939  if test -n "$CC"; then
 2940  ac_cv_prog_CC="$CC" # Let the user override the test.
 2941else
 2942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2943for as_dir in $PATH
 2944do
 2945  IFS=$as_save_IFS
 2946  test -z "$as_dir" && as_dir=.
 2947  for ac_exec_ext in '' $ac_executable_extensions; do
 2948  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2949    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 2950    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2951    break 2
 2952  fi
 2953done
 2954done
 2955IFS=$as_save_IFS
 2956
 2957fi
 2958fi
 2959CC=$ac_cv_prog_CC
 2960if test -n "$CC"; then
 2961  { echo "$as_me:$LINENO: result: $CC" >&5
 2962echo "${ECHO_T}$CC" >&6; }
 2963else
 2964  { echo "$as_me:$LINENO: result: no" >&5
 2965echo "${ECHO_T}no" >&6; }
 2966fi
 2967
 2968
 2969    test -n "$CC" && break
 2970  done
 2971fi
 2972if test -z "$CC"; then
 2973  ac_ct_CC=$CC
 2974  for ac_prog in cl.exe
 2975do
 2976  # Extract the first word of "$ac_prog", so it can be a program name with args.
 2977set dummy $ac_prog; ac_word=$2
 2978{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 2979echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2980if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2981  echo $ECHO_N "(cached) $ECHO_C" >&6
 2982else
 2983  if test -n "$ac_ct_CC"; then
 2984  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2985else
 2986as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2987for as_dir in $PATH
 2988do
 2989  IFS=$as_save_IFS
 2990  test -z "$as_dir" && as_dir=.
 2991  for ac_exec_ext in '' $ac_executable_extensions; do
 2992  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2993    ac_cv_prog_ac_ct_CC="$ac_prog"
 2994    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2995    break 2
 2996  fi
 2997done
 2998done
 2999IFS=$as_save_IFS
 3000
 3001fi
 3002fi
 3003ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3004if test -n "$ac_ct_CC"; then
 3005  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 3006echo "${ECHO_T}$ac_ct_CC" >&6; }
 3007else
 3008  { echo "$as_me:$LINENO: result: no" >&5
 3009echo "${ECHO_T}no" >&6; }
 3010fi
 3011
 3012
 3013  test -n "$ac_ct_CC" && break
 3014done
 3015
 3016  if test "x$ac_ct_CC" = x; then
 3017    CC=""
 3018  else
 3019    case $cross_compiling:$ac_tool_warned in
 3020yes:)
 3021{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 3022whose name does not start with the host triplet.  If you think this
 3023configuration is useful to you, please write to autoconf@gnu.org." >&5
 3024echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 3025whose name does not start with the host triplet.  If you think this
 3026configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 3027ac_tool_warned=yes ;;
 3028esac
 3029    CC=$ac_ct_CC
 3030  fi
 3031fi
 3032
 3033fi
 3034
 3035
 3036test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 3037See \`config.log' for more details." >&5
 3038echo "$as_me: error: no acceptable C compiler found in \$PATH
 3039See \`config.log' for more details." >&2;}
 3040   { (exit 1); exit 1; }; }
 3041
 3042# Provide some information about the compiler.
 3043echo "$as_me:$LINENO: checking for C compiler version" >&5
 3044ac_compiler=`set X $ac_compile; echo $2`
 3045{ (ac_try="$ac_compiler --version >&5"
 3046case "(($ac_try" in
 3047  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3048  *) ac_try_echo=$ac_try;;
 3049esac
 3050eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3051  (eval "$ac_compiler --version >&5") 2>&5
 3052  ac_status=$?
 3053  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3054  (exit $ac_status); }
 3055{ (ac_try="$ac_compiler -v >&5"
 3056case "(($ac_try" in
 3057  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3058  *) ac_try_echo=$ac_try;;
 3059esac
 3060eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3061  (eval "$ac_compiler -v >&5") 2>&5
 3062  ac_status=$?
 3063  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3064  (exit $ac_status); }
 3065{ (ac_try="$ac_compiler -V >&5"
 3066case "(($ac_try" in
 3067  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3068  *) ac_try_echo=$ac_try;;
 3069esac
 3070eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3071  (eval "$ac_compiler -V >&5") 2>&5
 3072  ac_status=$?
 3073  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3074  (exit $ac_status); }
 3075
 3076cat >conftest.$ac_ext <<_ACEOF
 3077/* confdefs.h.  */
 3078_ACEOF
 3079cat confdefs.h >>conftest.$ac_ext
 3080cat >>conftest.$ac_ext <<_ACEOF
 3081/* end confdefs.h.  */
 3082
 3083int
 3084main ()
 3085{
 3086
 3087  ;
 3088  return 0;
 3089}
 3090_ACEOF
 3091ac_clean_files_save=$ac_clean_files
 3092ac_clean_files="$ac_clean_files a.out a.exe b.out"
 3093# Try to create an executable without -o first, disregard a.out.
 3094# It will help us diagnose broken compilers, and finding out an intuition
 3095# of exeext.
 3096{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 3097echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
 3098ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3099#
 3100# List of possible output files, starting from the most likely.
 3101# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 3102# only as a last resort.  b.out is created by i960 compilers.
 3103ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 3104#
 3105# The IRIX 6 linker writes into existing files which may not be
 3106# executable, retaining their permissions.  Remove them first so a
 3107# subsequent execution test works.
 3108ac_rmfiles=
 3109for ac_file in $ac_files
 3110do
 3111  case $ac_file in
 3112    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 3113    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3114  esac
 3115done
 3116rm -f $ac_rmfiles
 3117
 3118if { (ac_try="$ac_link_default"
 3119case "(($ac_try" in
 3120  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3121  *) ac_try_echo=$ac_try;;
 3122esac
 3123eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3124  (eval "$ac_link_default") 2>&5
 3125  ac_status=$?
 3126  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3127  (exit $ac_status); }; then
 3128  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3129# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3130# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3131# so that the user can short-circuit this test for compilers unknown to
 3132# Autoconf.
 3133for ac_file in $ac_files ''
 3134do
 3135  test -f "$ac_file" || continue
 3136  case $ac_file in
 3137    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 3138	;;
 3139    [ab].out )
 3140	# We found the default executable, but exeext='' is most
 3141	# certainly right.
 3142	break;;
 3143    *.* )
 3144        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3145	then :; else
 3146	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3147	fi
 3148	# We set ac_cv_exeext here because the later test for it is not
 3149	# safe: cross compilers may not add the suffix if given an `-o'
 3150	# argument, so we may need to know it at that point already.
 3151	# Even if this section looks crufty: it has the advantage of
 3152	# actually working.
 3153	break;;
 3154    * )
 3155	break;;
 3156  esac
 3157done
 3158test "$ac_cv_exeext" = no && ac_cv_exeext=
 3159
 3160else
 3161  ac_file=''
 3162fi
 3163
 3164{ echo "$as_me:$LINENO: result: $ac_file" >&5
 3165echo "${ECHO_T}$ac_file" >&6; }
 3166if test -z "$ac_file"; then
 3167  echo "$as_me: failed program was:" >&5
 3168sed 's/^/| /' conftest.$ac_ext >&5
 3169
 3170{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 3171See \`config.log' for more details." >&5
 3172echo "$as_me: error: C compiler cannot create executables
 3173See \`config.log' for more details." >&2;}
 3174   { (exit 77); exit 77; }; }
 3175fi
 3176
 3177ac_exeext=$ac_cv_exeext
 3178
 3179# Check that the compiler produces executables we can run.  If not, either
 3180# the compiler is broken, or we cross compile.
 3181{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 3182echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 3183# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 3184# If not cross compiling, check that we can run a simple program.
 3185if test "$cross_compiling" != yes; then
 3186  if { ac_try='./$ac_file'
 3187  { (case "(($ac_try" in
 3188  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3189  *) ac_try_echo=$ac_try;;
 3190esac
 3191eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3192  (eval "$ac_try") 2>&5
 3193  ac_status=$?
 3194  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3195  (exit $ac_status); }; }; then
 3196    cross_compiling=no
 3197  else
 3198    if test "$cross_compiling" = maybe; then
 3199	cross_compiling=yes
 3200    else
 3201	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 3202If you meant to cross compile, use \`--host'.
 3203See \`config.log' for more details." >&5
 3204echo "$as_me: error: cannot run C compiled programs.
 3205If you meant to cross compile, use \`--host'.
 3206See \`config.log' for more details." >&2;}
 3207   { (exit 1); exit 1; }; }
 3208    fi
 3209  fi
 3210fi
 3211{ echo "$as_me:$LINENO: result: yes" >&5
 3212echo "${ECHO_T}yes" >&6; }
 3213
 3214rm -f a.out a.exe conftest$ac_cv_exeext b.out
 3215ac_clean_files=$ac_clean_files_save
 3216# Check that the compiler produces executables we can run.  If not, either
 3217# the compiler is broken, or we cross compile.
 3218{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 3219echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 3220{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 3221echo "${ECHO_T}$cross_compiling" >&6; }
 3222
 3223{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 3224echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 3225if { (ac_try="$ac_link"
 3226case "(($ac_try" in
 3227  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3228  *) ac_try_echo=$ac_try;;
 3229esac
 3230eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3231  (eval "$ac_link") 2>&5
 3232  ac_status=$?
 3233  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3234  (exit $ac_status); }; then
 3235  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3236# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3237# work properly (i.e., refer to `conftest.exe'), while it won't with
 3238# `rm'.
 3239for ac_file in conftest.exe conftest conftest.*; do
 3240  test -f "$ac_file" || continue
 3241  case $ac_file in
 3242    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 3243    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3244	  break;;
 3245    * ) break;;
 3246  esac
 3247done
 3248else
 3249  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 3250See \`config.log' for more details." >&5
 3251echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 3252See \`config.log' for more details." >&2;}
 3253   { (exit 1); exit 1; }; }
 3254fi
 3255
 3256rm -f conftest$ac_cv_exeext
 3257{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 3258echo "${ECHO_T}$ac_cv_exeext" >&6; }
 3259
 3260rm -f conftest.$ac_ext
 3261EXEEXT=$ac_cv_exeext
 3262ac_exeext=$EXEEXT
 3263{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 3264echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 3265if test "${ac_cv_objext+set}" = set; then
 3266  echo $ECHO_N "(cached) $ECHO_C" >&6
 3267else
 3268  cat >conftest.$ac_ext <<_ACEOF
 3269/* confdefs.h.  */
 3270_ACEOF
 3271cat confdefs.h >>conftest.$ac_ext
 3272cat >>conftest.$ac_ext <<_ACEOF
 3273/* end confdefs.h.  */
 3274
 3275int
 3276main ()
 3277{
 3278
 3279  ;
 3280  return 0;
 3281}
 3282_ACEOF
 3283rm -f conftest.o conftest.obj
 3284if { (ac_try="$ac_compile"
 3285case "(($ac_try" in
 3286  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3287  *) ac_try_echo=$ac_try;;
 3288esac
 3289eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3290  (eval "$ac_compile") 2>&5
 3291  ac_status=$?
 3292  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3293  (exit $ac_status); }; then
 3294  for ac_file in conftest.o conftest.obj conftest.*; do
 3295  test -f "$ac_file" || continue;
 3296  case $ac_file in
 3297    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 3298    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3299       break;;
 3300  esac
 3301done
 3302else
 3303  echo "$as_me: failed program was:" >&5
 3304sed 's/^/| /' conftest.$ac_ext >&5
 3305
 3306{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 3307See \`config.log' for more details." >&5
 3308echo "$as_me: error: cannot compute suffix of object files: cannot compile
 3309See \`config.log' for more details." >&2;}
 3310   { (exit 1); exit 1; }; }
 3311fi
 3312
 3313rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3314fi
 3315{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 3316echo "${ECHO_T}$ac_cv_objext" >&6; }
 3317OBJEXT=$ac_cv_objext
 3318ac_objext=$OBJEXT
 3319{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 3320echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 3321if test "${ac_cv_c_compiler_gnu+set}" = set; then
 3322  echo $ECHO_N "(cached) $ECHO_C" >&6
 3323else
 3324  cat >conftest.$ac_ext <<_ACEOF
 3325/* confdefs.h.  */
 3326_ACEOF
 3327cat confdefs.h >>conftest.$ac_ext
 3328cat >>conftest.$ac_ext <<_ACEOF
 3329/* end confdefs.h.  */
 3330
 3331int
 3332main ()
 3333{
 3334#ifndef __GNUC__
 3335       choke me
 3336#endif
 3337
 3338  ;
 3339  return 0;
 3340}
 3341_ACEOF
 3342rm -f conftest.$ac_objext
 3343if { (ac_try="$ac_compile"
 3344case "(($ac_try" in
 3345  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3346  *) ac_try_echo=$ac_try;;
 3347esac
 3348eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3349  (eval "$ac_compile") 2>conftest.er1
 3350  ac_status=$?
 3351  grep -v '^ *+' conftest.er1 >conftest.err
 3352  rm -f conftest.er1
 3353  cat conftest.err >&5
 3354  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3355  (exit $ac_status); } && {
 3356	 test -z "$ac_c_werror_flag" ||
 3357	 test ! -s conftest.err
 3358       } && test -s conftest.$ac_objext; then
 3359  ac_compiler_gnu=yes
 3360else
 3361  echo "$as_me: failed program was:" >&5
 3362sed 's/^/| /' conftest.$ac_ext >&5
 3363
 3364	ac_compiler_gnu=no
 3365fi
 3366
 3367rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3368ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3369
 3370fi
 3371{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 3372echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 3373GCC=`test $ac_compiler_gnu = yes && echo yes`
 3374ac_test_CFLAGS=${CFLAGS+set}
 3375ac_save_CFLAGS=$CFLAGS
 3376{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 3377echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 3378if test "${ac_cv_prog_cc_g+set}" = set; then
 3379  echo $ECHO_N "(cached) $ECHO_C" >&6
 3380else
 3381  ac_save_c_werror_flag=$ac_c_werror_flag
 3382   ac_c_werror_flag=yes
 3383   ac_cv_prog_cc_g=no
 3384   CFLAGS="-g"
 3385   cat >conftest.$ac_ext <<_ACEOF
 3386/* confdefs.h.  */
 3387_ACEOF
 3388cat confdefs.h >>conftest.$ac_ext
 3389cat >>conftest.$ac_ext <<_ACEOF
 3390/* end confdefs.h.  */
 3391
 3392int
 3393main ()
 3394{
 3395
 3396  ;
 3397  return 0;
 3398}
 3399_ACEOF
 3400rm -f conftest.$ac_objext
 3401if { (ac_try="$ac_compile"
 3402case "(($ac_try" in
 3403  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3404  *) ac_try_echo=$ac_try;;
 3405esac
 3406eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3407  (eval "$ac_compile") 2>conftest.er1
 3408  ac_status=$?
 3409  grep -v '^ *+' conftest.er1 >conftest.err
 3410  rm -f conftest.er1
 3411  cat conftest.err >&5
 3412  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3413  (exit $ac_status); } && {
 3414	 test -z "$ac_c_werror_flag" ||
 3415	 test ! -s conftest.err
 3416       } && test -s conftest.$ac_objext; then
 3417  ac_cv_prog_cc_g=yes
 3418else
 3419  echo "$as_me: failed program was:" >&5
 3420sed 's/^/| /' conftest.$ac_ext >&5
 3421
 3422	CFLAGS=""
 3423      cat >conftest.$ac_ext <<_ACEOF
 3424/* confdefs.h.  */
 3425_ACEOF
 3426cat confdefs.h >>conftest.$ac_ext
 3427cat >>conftest.$ac_ext <<_ACEOF
 3428/* end confdefs.h.  */
 3429
 3430int
 3431main ()
 3432{
 3433
 3434  ;
 3435  return 0;
 3436}
 3437_ACEOF
 3438rm -f conftest.$ac_objext
 3439if { (ac_try="$ac_compile"
 3440case "(($ac_try" in
 3441  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3442  *) ac_try_echo=$ac_try;;
 3443esac
 3444eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3445  (eval "$ac_compile") 2>conftest.er1
 3446  ac_status=$?
 3447  grep -v '^ *+' conftest.er1 >conftest.err
 3448  rm -f conftest.er1
 3449  cat conftest.err >&5
 3450  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3451  (exit $ac_status); } && {
 3452	 test -z "$ac_c_werror_flag" ||
 3453	 test ! -s conftest.err
 3454       } && test -s conftest.$ac_objext; then
 3455  :
 3456else
 3457  echo "$as_me: failed program was:" >&5
 3458sed 's/^/| /' conftest.$ac_ext >&5
 3459
 3460	ac_c_werror_flag=$ac_save_c_werror_flag
 3461	 CFLAGS="-g"
 3462	 cat >conftest.$ac_ext <<_ACEOF
 3463/* confdefs.h.  */
 3464_ACEOF
 3465cat confdefs.h >>conftest.$ac_ext
 3466cat >>conftest.$ac_ext <<_ACEOF
 3467/* end confdefs.h.  */
 3468
 3469int
 3470main ()
 3471{
 3472
 3473  ;
 3474  return 0;
 3475}
 3476_ACEOF
 3477rm -f conftest.$ac_objext
 3478if { (ac_try="$ac_compile"
 3479case "(($ac_try" in
 3480  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3481  *) ac_try_echo=$ac_try;;
 3482esac
 3483eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3484  (eval "$ac_compile") 2>conftest.er1
 3485  ac_status=$?
 3486  grep -v '^ *+' conftest.er1 >conftest.err
 3487  rm -f conftest.er1
 3488  cat conftest.err >&5
 3489  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3490  (exit $ac_status); } && {
 3491	 test -z "$ac_c_werror_flag" ||
 3492	 test ! -s conftest.err
 3493       } && test -s conftest.$ac_objext; then
 3494  ac_cv_prog_cc_g=yes
 3495else
 3496  echo "$as_me: failed program was:" >&5
 3497sed 's/^/| /' conftest.$ac_ext >&5
 3498
 3499
 3500fi
 3501
 3502rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3503fi
 3504
 3505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3506fi
 3507
 3508rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3509   ac_c_werror_flag=$ac_save_c_werror_flag
 3510fi
 3511{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 3512echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 3513if test "$ac_test_CFLAGS" = set; then
 3514  CFLAGS=$ac_save_CFLAGS
 3515elif test $ac_cv_prog_cc_g = yes; then
 3516  if test "$GCC" = yes; then
 3517    CFLAGS="-g -O2"
 3518  else
 3519    CFLAGS="-g"
 3520  fi
 3521else
 3522  if test "$GCC" = yes; then
 3523    CFLAGS="-O2"
 3524  else
 3525    CFLAGS=
 3526  fi
 3527fi
 3528{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 3529echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 3530if test "${ac_cv_prog_cc_c89+set}" = set; then
 3531  echo $ECHO_N "(cached) $ECHO_C" >&6
 3532else
 3533  ac_cv_prog_cc_c89=no
 3534ac_save_CC=$CC
 3535cat >conftest.$ac_ext <<_ACEOF
 3536/* confdefs.h.  */
 3537_ACEOF
 3538cat confdefs.h >>conftest.$ac_ext
 3539cat >>conftest.$ac_ext <<_ACEOF
 3540/* end confdefs.h.  */
 3541#include <stdarg.h>
 3542#include <stdio.h>
 3543#include <sys/types.h>
 3544#include <sys/stat.h>
 3545/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3546struct buf { int x; };
 3547FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3548static char *e (p, i)
 3549     char **p;
 3550     int i;
 3551{
 3552  return p[i];
 3553}
 3554static char *f (char * (*g) (char **, int), char **p, ...)
 3555{
 3556  char *s;
 3557  va_list v;
 3558  va_start (v,p);
 3559  s = g (p, va_arg (v,int));
 3560  va_end (v);
 3561  return s;
 3562}
 3563
 3564/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3565   function prototypes and stuff, but not '\xHH' hex character constants.
 3566   These don't provoke an error unfortunately, instead are silently treated
 3567   as 'x'.  The following induces an error, until -std is added to get
 3568   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3569   array size at least.  It's necessary to write '\x00'==0 to get something
 3570   that's true only with -std.  */
 3571int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3572
 3573/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3574   inside strings and character constants.  */
 3575#define FOO(x) 'x'
 3576int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3577
 3578int test (int i, double x);
 3579struct s1 {int (*f) (int a);};
 3580struct s2 {int (*f) (double a);};
 3581int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3582int argc;
 3583char **argv;
 3584int
 3585main ()
 3586{
 3587return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3588  ;
 3589  return 0;
 3590}
 3591_ACEOF
 3592for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3593	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3594do
 3595  CC="$ac_save_CC $ac_arg"
 3596  rm -f conftest.$ac_objext
 3597if { (ac_try="$ac_compile"
 3598case "(($ac_try" in
 3599  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3600  *) ac_try_echo=$ac_try;;
 3601esac
 3602eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3603  (eval "$ac_compile") 2>conftest.er1
 3604  ac_status=$?
 3605  grep -v '^ *+' conftest.er1 >conftest.err
 3606  rm -f conftest.er1
 3607  cat conftest.err >&5
 3608  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3609  (exit $ac_status); } && {
 3610	 test -z "$ac_c_werror_flag" ||
 3611	 test ! -s conftest.err
 3612       } && test -s conftest.$ac_objext; then
 3613  ac_cv_prog_cc_c89=$ac_arg
 3614else
 3615  echo "$as_me: failed program was:" >&5
 3616sed 's/^/| /' conftest.$ac_ext >&5
 3617
 3618
 3619fi
 3620
 3621rm -f core conftest.err conftest.$ac_objext
 3622  test "x$ac_cv_prog_cc_c89" != "xno" && break
 3623done
 3624rm -f conftest.$ac_ext
 3625CC=$ac_save_CC
 3626
 3627fi
 3628# AC_CACHE_VAL
 3629case "x$ac_cv_prog_cc_c89" in
 3630  x)
 3631    { echo "$as_me:$LINENO: result: none needed" >&5
 3632echo "${ECHO_T}none needed" >&6; } ;;
 3633  xno)
 3634    { echo "$as_me:$LINENO: result: unsupported" >&5
 3635echo "${ECHO_T}unsupported" >&6; } ;;
 3636  *)
 3637    CC="$CC $ac_cv_prog_cc_c89"
 3638    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 3639echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 3640esac
 3641
 3642
 3643ac_ext=c
 3644ac_cpp='$CPP $CPPFLAGS'
 3645ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3646ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3647ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3648
 3649depcc="$CC"   am_compiler_list=
 3650
 3651{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 3652echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 3653if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 3654  echo $ECHO_N "(cached) $ECHO_C" >&6
 3655else
 3656  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3657  # We make a subdir and do the tests there.  Otherwise we can end up
 3658  # making bogus files that we don't know about and never remove.  For
 3659  # instance it was reported that on HP-UX the gcc test will end up
 3660  # making a dummy file named `D' -- because `-MD' means `put the output
 3661  # in D'.
 3662  mkdir conftest.dir
 3663  # Copy depcomp to subdir because otherwise we won't find it if we're
 3664  # using a relative directory.
 3665  cp "$am_depcomp" conftest.dir
 3666  cd conftest.dir
 3667  # We will build objects and dependencies in a subdirectory because
 3668  # it helps to detect inapplicable dependency modes.  For instance
 3669  # both Tru64's cc and ICC support -MD to output dependencies as a
 3670  # side effect of compilation, but ICC will put the dependencies in
 3671  # the current directory while Tru64 will put them in the object
 3672  # directory.
 3673  mkdir sub
 3674
 3675  am_cv_CC_dependencies_compiler_type=none
 3676  if test "$am_compiler_list" = ""; then
 3677     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3678  fi
 3679  for depmode in $am_compiler_list; do
 3680    # Setup a source with many dependencies, because some compilers
 3681    # like to wrap large dependency lists on column 80 (with \), and
 3682    # we should not choose a depcomp mode which is confused by this.
 3683    #
 3684    # We need to recreate these files for each test, as the compiler may
 3685    # overwrite some of them when testing with obscure command lines.
 3686    # This happens at least with the AIX C compiler.
 3687    : > sub/conftest.c
 3688    for i in 1 2 3 4 5 6; do
 3689      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3690      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 3691      # Solaris 8's {/usr,}/bin/sh.
 3692      touch sub/conftst$i.h
 3693    done
 3694    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3695
 3696    case $depmode in
 3697    nosideeffect)
 3698      # after this tag, mechanisms are not by side-effect, so they'll
 3699      # only be used when explicitly requested
 3700      if test "x$enable_dependency_tracking" = xyes; then
 3701	continue
 3702      else
 3703	break
 3704      fi
 3705      ;;
 3706    none) break ;;
 3707    esac
 3708    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 3709    # mode.  It turns out that the SunPro C++ compiler does not properly
 3710    # handle `-M -o', and we need to detect this.
 3711    if depmode=$depmode \
 3712       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 3713       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3714       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 3715         >/dev/null 2>conftest.err &&
 3716       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3717       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 3718       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3719      # icc doesn't choke on unknown options, it will just issue warnings
 3720      # or remarks (even with -Werror).  So we grep stderr for any message
 3721      # that says an option was ignored or not supported.
 3722      # When given -MP, icc 7.0 and 7.1 complain thusly:
 3723      #   icc: Command line warning: ignoring option '-M'; no argument required
 3724      # The diagnosis changed in icc 8.0:
 3725      #   icc: Command line remark: option '-MP' not supported
 3726      if (grep 'ignoring option' conftest.err ||
 3727          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3728        am_cv_CC_dependencies_compiler_type=$depmode
 3729        break
 3730      fi
 3731    fi
 3732  done
 3733
 3734  cd ..
 3735  rm -rf conftest.dir
 3736else
 3737  am_cv_CC_dependencies_compiler_type=none
 3738fi
 3739
 3740fi
 3741{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 3742echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 3743CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 3744
 3745
 3746
 3747if
 3748  test "x$enable_dependency_tracking" != xno \
 3749  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 3750  am__fastdepCC_TRUE=
 3751  am__fastdepCC_FALSE='#'
 3752else
 3753  am__fastdepCC_TRUE='#'
 3754  am__fastdepCC_FALSE=
 3755fi
 3756
 3757
 3758if test "x$CC" != xcc; then
 3759  { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
 3760echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
 3761else
 3762  { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
 3763echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
 3764fi
 3765set dummy $CC; ac_cc=`echo $2 |
 3766		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 3767if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
 3768  echo $ECHO_N "(cached) $ECHO_C" >&6
 3769else
 3770  cat >conftest.$ac_ext <<_ACEOF
 3771/* confdefs.h.  */
 3772_ACEOF
 3773cat confdefs.h >>conftest.$ac_ext
 3774cat >>conftest.$ac_ext <<_ACEOF
 3775/* end confdefs.h.  */
 3776
 3777int
 3778main ()
 3779{
 3780
 3781  ;
 3782  return 0;
 3783}
 3784_ACEOF
 3785# Make sure it works both with $CC and with simple cc.
 3786# We do the test twice because some compilers refuse to overwrite an
 3787# existing .o file with -o, though they will create one.
 3788ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 3789rm -f conftest2.*
 3790if { (case "(($ac_try" in
 3791  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3792  *) ac_try_echo=$ac_try;;
 3793esac
 3794eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3795  (eval "$ac_try") 2>&5
 3796  ac_status=$?
 3797  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3798  (exit $ac_status); } &&
 3799   test -f conftest2.$ac_objext && { (case "(($ac_try" in
 3800  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3801  *) ac_try_echo=$ac_try;;
 3802esac
 3803eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3804  (eval "$ac_try") 2>&5
 3805  ac_status=$?
 3806  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3807  (exit $ac_status); };
 3808then
 3809  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 3810  if test "x$CC" != xcc; then
 3811    # Test first that cc exists at all.
 3812    if { ac_try='cc -c conftest.$ac_ext >&5'
 3813  { (case "(($ac_try" in
 3814  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3815  *) ac_try_echo=$ac_try;;
 3816esac
 3817eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3818  (eval "$ac_try") 2>&5
 3819  ac_status=$?
 3820  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3821  (exit $ac_status); }; }; then
 3822      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 3823      rm -f conftest2.*
 3824      if { (case "(($ac_try" in
 3825  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3826  *) ac_try_echo=$ac_try;;
 3827esac
 3828eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3829  (eval "$ac_try") 2>&5
 3830  ac_status=$?
 3831  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3832  (exit $ac_status); } &&
 3833	 test -f conftest2.$ac_objext && { (case "(($ac_try" in
 3834  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3835  *) ac_try_echo=$ac_try;;
 3836esac
 3837eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3838  (eval "$ac_try") 2>&5
 3839  ac_status=$?
 3840  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3841  (exit $ac_status); };
 3842      then
 3843	# cc works too.
 3844	:
 3845      else
 3846	# cc exists but doesn't like -o.
 3847	eval ac_cv_prog_cc_${ac_cc}_c_o=no
 3848      fi
 3849    fi
 3850  fi
 3851else
 3852  eval ac_cv_prog_cc_${ac_cc}_c_o=no
 3853fi
 3854rm -f core conftest*
 3855
 3856fi
 3857if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 3858  { echo "$as_me:$LINENO: result: yes" >&5
 3859echo "${ECHO_T}yes" >&6; }
 3860else
 3861  { echo "$as_me:$LINENO: result: no" >&5
 3862echo "${ECHO_T}no" >&6; }
 3863
 3864cat >>confdefs.h <<\_ACEOF
 3865#define NO_MINUS_C_MINUS_O 1
 3866_ACEOF
 3867
 3868fi
 3869
 3870# FIXME: we rely on the cache variable name because
 3871# there is no other way.
 3872set dummy $CC
 3873ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 3874if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
 3875   # Losing compiler, so override with the script.
 3876   # FIXME: It is wrong to rewrite CC.
 3877   # But if we don't then we get into trouble of one sort or another.
 3878   # A longer-term fix would be to have automake use am__CC in this case,
 3879   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 3880   CC="$am_aux_dir/compile $CC"
 3881fi
 3882
 3883ac_ext=cpp
 3884ac_cpp='$CXXCPP $CPPFLAGS'
 3885ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3886ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3887ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 3888if test -z "$CXX"; then
 3889  if test -n "$CCC"; then
 3890    CXX=$CCC
 3891  else
 3892    if test -n "$ac_tool_prefix"; then
 3893  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 3894  do
 3895    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3896set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3897{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 3898echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 3899if test "${ac_cv_prog_CXX+set}" = set; then
 3900  echo $ECHO_N "(cached) $ECHO_C" >&6
 3901else
 3902  if test -n "$CXX"; then
 3903  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 3904else
 3905as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3906for as_dir in $PATH
 3907do
 3908  IFS=$as_save_IFS
 3909  test -z "$as_dir" && as_dir=.
 3910  for ac_exec_ext in '' $ac_executable_extensions; do
 3911  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3912    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 3913    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3914    break 2
 3915  fi
 3916done
 3917done
 3918IFS=$as_save_IFS
 3919
 3920fi
 3921fi
 3922CXX=$ac_cv_prog_CXX
 3923if test -n "$CXX"; then
 3924  { echo "$as_me:$LINENO: result: $CXX" >&5
 3925echo "${ECHO_T}$CXX" >&6; }
 3926else
 3927  { echo "$as_me:$LINENO: result: no" >&5
 3928echo "${ECHO_T}no" >&6; }
 3929fi
 3930
 3931
 3932    test -n "$CXX" && break
 3933  done
 3934fi
 3935if test -z "$CXX"; then
 3936  ac_ct_CXX=$CXX
 3937  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 3938do
 3939  # Extract the first word of "$ac_prog", so it can be a program name with args.
 3940set dummy $ac_prog; ac_word=$2
 3941{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 3942echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 3943if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 3944  echo $ECHO_N "(cached) $ECHO_C" >&6
 3945else
 3946  if test -n "$ac_ct_CXX"; then
 3947  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 3948else
 3949as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3950for as_dir in $PATH
 3951do
 3952  IFS=$as_save_IFS
 3953  test -z "$as_dir" && as_dir=.
 3954  for ac_exec_ext in '' $ac_executable_extensions; do
 3955  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3956    ac_cv_prog_ac_ct_CXX="$ac_prog"
 3957    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3958    break 2
 3959  fi
 3960done
 3961done
 3962IFS=$as_save_IFS
 3963
 3964fi
 3965fi
 3966ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 3967if test -n "$ac_ct_CXX"; then
 3968  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 3969echo "${ECHO_T}$ac_ct_CXX" >&6; }
 3970else
 3971  { echo "$as_me:$LINENO: result: no" >&5
 3972echo "${ECHO_T}no" >&6; }
 3973fi
 3974
 3975
 3976  test -n "$ac_ct_CXX" && break
 3977done
 3978
 3979  if test "x$ac_ct_CXX" = x; then
 3980    CXX="g++"
 3981  else
 3982    case $cross_compiling:$ac_tool_warned in
 3983yes:)
 3984{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 3985whose name does not start with the host triplet.  If you think this
 3986configuration is useful to you, please write to autoconf@gnu.org." >&5
 3987echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 3988whose name does not start with the host triplet.  If you think this
 3989configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 3990ac_tool_warned=yes ;;
 3991esac
 3992    CXX=$ac_ct_CXX
 3993  fi
 3994fi
 3995
 3996  fi
 3997fi
 3998# Provide some information about the compiler.
 3999echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 4000ac_compiler=`set X $ac_compile; echo $2`
 4001{ (ac_try="$ac_compiler --version >&5"
 4002case "(($ac_try" in
 4003  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4004  *) ac_try_echo=$ac_try;;
 4005esac
 4006eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4007  (eval "$ac_compiler --version >&5") 2>&5
 4008  ac_status=$?
 4009  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4010  (exit $ac_status); }
 4011{ (ac_try="$ac_compiler -v >&5"
 4012case "(($ac_try" in
 4013  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4014  *) ac_try_echo=$ac_try;;
 4015esac
 4016eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4017  (eval "$ac_compiler -v >&5") 2>&5
 4018  ac_status=$?
 4019  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4020  (exit $ac_status); }
 4021{ (ac_try="$ac_compiler -V >&5"
 4022case "(($ac_try" in
 4023  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4024  *) ac_try_echo=$ac_try;;
 4025esac
 4026eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4027  (eval "$ac_compiler -V >&5") 2>&5
 4028  ac_status=$?
 4029  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4030  (exit $ac_status); }
 4031
 4032{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 4033echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
 4034if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 4035  echo $ECHO_N "(cached) $ECHO_C" >&6
 4036else
 4037  cat >conftest.$ac_ext <<_ACEOF
 4038/* confdefs.h.  */
 4039_ACEOF
 4040cat confdefs.h >>conftest.$ac_ext
 4041cat >>conftest.$ac_ext <<_ACEOF
 4042/* end confdefs.h.  */
 4043
 4044int
 4045main ()
 4046{
 4047#ifndef __GNUC__
 4048       choke me
 4049#endif
 4050
 4051  ;
 4052  return 0;
 4053}
 4054_ACEOF
 4055rm -f conftest.$ac_objext
 4056if { (ac_try="$ac_compile"
 4057case "(($ac_try" in
 4058  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4059  *) ac_try_echo=$ac_try;;
 4060esac
 4061eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4062  (eval "$ac_compile") 2>conftest.er1
 4063  ac_status=$?
 4064  grep -v '^ *+' conftest.er1 >conftest.err
 4065  rm -f conftest.er1
 4066  cat conftest.err >&5
 4067  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4068  (exit $ac_status); } && {
 4069	 test -z "$ac_cxx_werror_flag" ||
 4070	 test ! -s conftest.err
 4071       } && test -s conftest.$ac_objext; then
 4072  ac_compiler_gnu=yes
 4073else
 4074  echo "$as_me: failed program was:" >&5
 4075sed 's/^/| /' conftest.$ac_ext >&5
 4076
 4077	ac_compiler_gnu=no
 4078fi
 4079
 4080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4081ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 4082
 4083fi
 4084{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 4085echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
 4086GXX=`test $ac_compiler_gnu = yes && echo yes`
 4087ac_test_CXXFLAGS=${CXXFLAGS+set}
 4088ac_save_CXXFLAGS=$CXXFLAGS
 4089{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 4090echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
 4091if test "${ac_cv_prog_cxx_g+set}" = set; then
 4092  echo $ECHO_N "(cached) $ECHO_C" >&6
 4093else
 4094  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 4095   ac_cxx_werror_flag=yes
 4096   ac_cv_prog_cxx_g=no
 4097   CXXFLAGS="-g"
 4098   cat >conftest.$ac_ext <<_ACEOF
 4099/* confdefs.h.  */
 4100_ACEOF
 4101cat confdefs.h >>conftest.$ac_ext
 4102cat >>conftest.$ac_ext <<_ACEOF
 4103/* end confdefs.h.  */
 4104
 4105int
 4106main ()
 4107{
 4108
 4109  ;
 4110  return 0;
 4111}
 4112_ACEOF
 4113rm -f conftest.$ac_objext
 4114if { (ac_try="$ac_compile"
 4115case "(($ac_try" in
 4116  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4117  *) ac_try_echo=$ac_try;;
 4118esac
 4119eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4120  (eval "$ac_compile") 2>conftest.er1
 4121  ac_status=$?
 4122  grep -v '^ *+' conftest.er1 >conftest.err
 4123  rm -f conftest.er1
 4124  cat conftest.err >&5
 4125  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4126  (exit $ac_status); } && {
 4127	 test -z "$ac_cxx_werror_flag" ||
 4128	 test ! -s conftest.err
 4129       } && test -s conftest.$ac_objext; then
 4130  ac_cv_prog_cxx_g=yes
 4131else
 4132  echo "$as_me: failed program was:" >&5
 4133sed 's/^/| /' conftest.$ac_ext >&5
 4134
 4135	CXXFLAGS=""
 4136      cat >conftest.$ac_ext <<_ACEOF
 4137/* confdefs.h.  */
 4138_ACEOF
 4139cat confdefs.h >>conftest.$ac_ext
 4140cat >>conftest.$ac_ext <<_ACEOF
 4141/* end confdefs.h.  */
 4142
 4143int
 4144main ()
 4145{
 4146
 4147  ;
 4148  return 0;
 4149}
 4150_ACEOF
 4151rm -f conftest.$ac_objext
 4152if { (ac_try="$ac_compile"
 4153case "(($ac_try" in
 4154  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4155  *) ac_try_echo=$ac_try;;
 4156esac
 4157eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4158  (eval "$ac_compile") 2>conftest.er1
 4159  ac_status=$?
 4160  grep -v '^ *+' conftest.er1 >conftest.err
 4161  rm -f conftest.er1
 4162  cat conftest.err >&5
 4163  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4164  (exit $ac_status); } && {
 4165	 test -z "$ac_cxx_werror_flag" ||
 4166	 test ! -s conftest.err
 4167       } && test -s conftest.$ac_objext; then
 4168  :
 4169else
 4170  echo "$as_me: failed program was:" >&5
 4171sed 's/^/| /' conftest.$ac_ext >&5
 4172
 4173	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4174	 CXXFLAGS="-g"
 4175	 cat >conftest.$ac_ext <<_ACEOF
 4176/* confdefs.h.  */
 4177_ACEOF
 4178cat confdefs.h >>conftest.$ac_ext
 4179cat >>conftest.$ac_ext <<_ACEOF
 4180/* end confdefs.h.  */
 4181
 4182int
 4183main ()
 4184{
 4185
 4186  ;
 4187  return 0;
 4188}
 4189_ACEOF
 4190rm -f conftest.$ac_objext
 4191if { (ac_try="$ac_compile"
 4192case "(($ac_try" in
 4193  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4194  *) ac_try_echo=$ac_try;;
 4195esac
 4196eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4197  (eval "$ac_compile") 2>conftest.er1
 4198  ac_status=$?
 4199  grep -v '^ *+' conftest.er1 >conftest.err
 4200  rm -f conftest.er1
 4201  cat conftest.err >&5
 4202  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4203  (exit $ac_status); } && {
 4204	 test -z "$ac_cxx_werror_flag" ||
 4205	 test ! -s conftest.err
 4206       } && test -s conftest.$ac_objext; then
 4207  ac_cv_prog_cxx_g=yes
 4208else
 4209  echo "$as_me: failed program was:" >&5
 4210sed 's/^/| /' conftest.$ac_ext >&5
 4211
 4212
 4213fi
 4214
 4215rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4216fi
 4217
 4218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4219fi
 4220
 4221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4222   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4223fi
 4224{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 4225echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 4226if test "$ac_test_CXXFLAGS" = set; then
 4227  CXXFLAGS=$ac_save_CXXFLAGS
 4228elif test $ac_cv_prog_cxx_g = yes; then
 4229  if test "$GXX" = yes; then
 4230    CXXFLAGS="-g -O2"
 4231  else
 4232    CXXFLAGS="-g"
 4233  fi
 4234else
 4235  if test "$GXX" = yes; then
 4236    CXXFLAGS="-O2"
 4237  else
 4238    CXXFLAGS=
 4239  fi
 4240fi
 4241ac_ext=c
 4242ac_cpp='$CPP $CPPFLAGS'
 4243ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4244ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4245ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4246
 4247depcc="$CXX"  am_compiler_list=
 4248
 4249{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 4250echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 4251if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 4252  echo $ECHO_N "(cached) $ECHO_C" >&6
 4253else
 4254  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4255  # We make a subdir and do the tests there.  Otherwise we can end up
 4256  # making bogus files that we don't know about and never remove.  For
 4257  # instance it was reported that on HP-UX the gcc test will end up
 4258  # making a dummy file named `D' -- because `-MD' means `put the output
 4259  # in D'.
 4260  mkdir conftest.dir
 4261  # Copy depcomp to subdir because otherwise we won't find it if we're
 4262  # using a relative directory.
 4263  cp "$am_depcomp" conftest.dir
 4264  cd conftest.dir
 4265  # We will build objects and dependencies in a subdirectory because
 4266  # it helps to detect inapplicable dependency modes.  For instance
 4267  # both Tru64's cc and ICC support -MD to output dependencies as a
 4268  # side effect of compilation, but ICC will put the dependencies in
 4269  # the current directory while Tru64 will put them in the object
 4270  # directory.
 4271  mkdir sub
 4272
 4273  am_cv_CXX_dependencies_compiler_type=none
 4274  if test "$am_compiler_list" = ""; then
 4275     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4276  fi
 4277  for depmode in $am_compiler_list; do
 4278    # Setup a source with many dependencies, because some compilers
 4279    # like to wrap large dependency lists on column 80 (with \), and
 4280    # we should not choose a depcomp mode which is confused by this.
 4281    #
 4282    # We need to recreate these files for each test, as the compiler may
 4283    # overwrite some of them when testing with obscure command lines.
 4284    # This happens at least with the AIX C compiler.
 4285    : > sub/conftest.c
 4286    for i in 1 2 3 4 5 6; do
 4287      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4288      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4289      # Solaris 8's {/usr,}/bin/sh.
 4290      touch sub/conftst$i.h
 4291    done
 4292    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4293
 4294    case $depmode in
 4295    nosideeffect)
 4296      # after this tag, mechanisms are not by side-effect, so they'll
 4297      # only be used when explicitly requested
 4298      if test "x$enable_dependency_tracking" = xyes; then
 4299	continue
 4300      else
 4301	break
 4302      fi
 4303      ;;
 4304    none) break ;;
 4305    esac
 4306    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4307    # mode.  It turns out that the SunPro C++ compiler does not properly
 4308    # handle `-M -o', and we need to detect this.
 4309    if depmode=$depmode \
 4310       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 4311       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4312       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 4313         >/dev/null 2>conftest.err &&
 4314       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4315       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 4316       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4317      # icc doesn't choke on unknown options, it will just issue warnings
 4318      # or remarks (even with -Werror).  So we grep stderr for any message
 4319      # that says an option was ignored or not supported.
 4320      # When given -MP, icc 7.0 and 7.1 complain thusly:
 4321      #   icc: Command line warning: ignoring option '-M'; no argument required
 4322      # The diagnosis changed in icc 8.0:
 4323      #   icc: Command line remark: option '-MP' not supported
 4324      if (grep 'ignoring option' conftest.err ||
 4325          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4326        am_cv_CXX_dependencies_compiler_type=$depmode
 4327        break
 4328      fi
 4329    fi
 4330  done
 4331
 4332  cd ..
 4333  rm -rf conftest.dir
 4334else
 4335  am_cv_CXX_dependencies_compiler_type=none
 4336fi
 4337
 4338fi
 4339{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 4340echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 4341CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 4342
 4343
 4344
 4345if
 4346  test "x$enable_dependency_tracking" != xno \
 4347  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 4348  am__fastdepCXX_TRUE=
 4349  am__fastdepCXX_FALSE='#'
 4350else
 4351  am__fastdepCXX_TRUE='#'
 4352  am__fastdepCXX_FALSE=
 4353fi
 4354
 4355
 4356
 4357# By default we simply use the C compiler to build assembly code.
 4358
 4359test "${CCAS+set}" = set || CCAS=$CC
 4360test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
 4361
 4362
 4363
 4364## FIXME: really needed? (AC_LIBTOOL already provides this)
 4365if test -n "$ac_tool_prefix"; then
 4366  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 4367set dummy ${ac_tool_prefix}ar; ac_word=$2
 4368{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 4369echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 4370if test "${ac_cv_prog_AR+set}" = set; then
 4371  echo $ECHO_N "(cached) $ECHO_C" >&6
 4372else
 4373  if test -n "$AR"; then
 4374  ac_cv_prog_AR="$AR" # Let the user override the test.
 4375else
 4376as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4377for as_dir in $PATH
 4378do
 4379  IFS=$as_save_IFS
 4380  test -z "$as_dir" && as_dir=.
 4381  for ac_exec_ext in '' $ac_executable_extensions; do
 4382  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4383    ac_cv_prog_AR="${ac_tool_prefix}ar"
 4384    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4385    break 2
 4386  fi
 4387done
 4388done
 4389IFS=$as_save_IFS
 4390
 4391fi
 4392fi
 4393AR=$ac_cv_prog_AR
 4394if test -n "$AR"; then
 4395  { echo "$as_me:$LINENO: result: $AR" >&5
 4396echo "${ECHO_T}$AR" >&6; }
 4397else
 4398  { echo "$as_me:$LINENO: result: no" >&5
 4399echo "${ECHO_T}no" >&6; }
 4400fi
 4401
 4402
 4403fi
 4404if test -z "$ac_cv_prog_AR"; then
 4405  ac_ct_AR=$AR
 4406  # Extract the first word of "ar", so it can be a program name with args.
 4407set dummy ar; ac_word=$2
 4408{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 4409echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 4410if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 4411  echo $ECHO_N "(cached) $ECHO_C" >&6
 4412else
 4413  if test -n "$ac_ct_AR"; then
 4414  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 4415else
 4416as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4417for as_dir in $PATH
 4418do
 4419  IFS=$as_save_IFS
 4420  test -z "$as_dir" && as_dir=.
 4421  for ac_exec_ext in '' $ac_executable_extensions; do
 4422  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4423    ac_cv_prog_ac_ct_AR="ar"
 4424    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4425    break 2
 4426  fi
 4427done
 4428done
 4429IFS=$as_save_IFS
 4430
 4431fi
 4432fi
 4433ac_ct_AR=$ac_cv_prog_ac_ct_AR
 4434if test -n "$ac_ct_AR"; then
 4435  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 4436echo "${ECHO_T}$ac_ct_AR" >&6; }
 4437else
 4438  { echo "$as_me:$LINENO: result: no" >&5
 4439echo "${ECHO_T}no" >&6; }
 4440fi
 4441
 4442  if test "x$ac_ct_AR" = x; then
 4443    AR=""
 4444  else
 4445    case $cross_compiling:$ac_tool_warned in
 4446yes:)
 4447{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 4448whose name does not start with the host triplet.  If you think this
 4449configuration is useful to you, please write to autoconf@gnu.org." >&5
 4450echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 4451whose name does not start with the host triplet.  If you think this
 4452configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 4453ac_tool_warned=yes ;;
 4454esac
 4455    AR=$ac_ct_AR
 4456  fi
 4457else
 4458  AR="$ac_cv_prog_AR"
 4459fi
 4460
 4461if test -n "$ac_tool_prefix"; then
 4462  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 4463set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 4464{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 4465echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 4466if test "${ac_cv_prog_RANLIB+set}" = set; then
 4467  echo $ECHO_N "(cached) $ECHO_C" >&6
 4468else
 4469  if test -n "$RANLIB"; then
 4470  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 4471else
 4472as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4473for as_dir in $PATH
 4474do
 4475  IFS=$as_save_IFS
 4476  test -z "$as_dir" && as_dir=.
 4477  for ac_exec_ext in '' $ac_executable_extensions; do
 4478  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4479    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 4480    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4481    break 2
 4482  fi
 4483done
 4484done
 4485IFS=$as_save_IFS
 4486
 4487fi
 4488fi
 4489RANLIB=$ac_cv_prog_RANLIB
 4490if test -n "$RANLIB"; then
 4491  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 4492echo "${ECHO_T}$RANLIB" >&6; }
 4493else
 4494  { echo "$as_me:$LINENO: result: no" >&5
 4495echo "${ECHO_T}no" >&6; }
 4496fi
 4497
 4498
 4499fi
 4500if test -z "$ac_cv_prog_RANLIB"; then
 4501  ac_ct_RANLIB=$RANLIB
 4502  # Extract the first word of "ranlib", so it can be a program name with args.
 4503set dummy ranlib; ac_word=$2
 4504{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 4505echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 4506if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 4507  echo $ECHO_N "(cached) $ECHO_C" >&6
 4508else
 4509  if test -n "$ac_ct_RANLIB"; then
 4510  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 4511else
 4512as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4513for as_dir in $PATH
 4514do
 4515  IFS=$as_save_IFS
 4516  test -z "$as_dir" && as_dir=.
 4517  for ac_exec_ext in '' $ac_executable_extensions; do
 4518  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4519    ac_cv_prog_ac_ct_RANLIB="ranlib"
 4520    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4521    break 2
 4522  fi
 4523done
 4524done
 4525IFS=$as_save_IFS
 4526
 4527fi
 4528fi
 4529ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 4530if test -n "$ac_ct_RANLIB"; then
 4531  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 4532echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 4533else
 4534  { echo "$as_me:$LINENO: result: no" >&5
 4535echo "${ECHO_T}no" >&6; }
 4536fi
 4537
 4538  if test "x$ac_ct_RANLIB" = x; then
 4539    RANLIB=":"
 4540  else
 4541    case $cross_compiling:$ac_tool_warned in
 4542yes:)
 4543{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 4544whose name does not start with the host triplet.  If you think this
 4545configuration is useful to you, please write to autoconf@gnu.org." >&5
 4546echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 4547whose name does not start with the host triplet.  If you think this
 4548configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 4549ac_tool_warned=yes ;;
 4550esac
 4551    RANLIB=$ac_ct_RANLIB
 4552  fi
 4553else
 4554  RANLIB="$ac_cv_prog_RANLIB"
 4555fi
 4556  # :)
 4557
 4558# Find a good install program.  We prefer a C program (faster),
 4559# so one script is as good as another.  But avoid the broken or
 4560# incompatible versions:
 4561# SysV /etc/install, /usr/sbin/install
 4562# SunOS /usr/etc/install
 4563# IRIX /sbin/install
 4564# AIX /bin/install
 4565# AmigaOS /C/install, which installs bootblocks on floppy discs
 4566# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 4567# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 4568# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 4569# OS/2's system install, which has a completely different semantic
 4570# ./install, which can be erroneously created by make from ./install.sh.
 4571{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 4572echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 4573if test -z "$INSTALL"; then
 4574if test "${ac_cv_path_install+set}" = set; then
 4575  echo $ECHO_N "(cached) $ECHO_C" >&6
 4576else
 4577  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4578for as_dir in $PATH
 4579do
 4580  IFS=$as_save_IFS
 4581  test -z "$as_dir" && as_dir=.
 4582  # Account for people who put trailing slashes in PATH elements.
 4583case $as_dir/ in
 4584  ./ | .// | /cC/* | \
 4585  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 4586  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 4587  /usr/ucb/* ) ;;
 4588  *)
 4589    # OSF1 and SCO ODT 3.0 have their own names for install.
 4590    # Don't use installbsd from OSF since it installs stuff as root
 4591    # by default.
 4592    for ac_prog in ginstall scoinst install; do
 4593      for ac_exec_ext in '' $ac_executable_extensions; do
 4594	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 4595	  if test $ac_prog = install &&
 4596	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 4597	    # AIX install.  It has an incompatible calling convention.
 4598	    :
 4599	  elif test $ac_prog = install &&
 4600	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 4601	    # program-specific install script used by HP pwplus--don't use.
 4602	    :
 4603	  else
 4604	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 4605	    break 3
 4606	  fi
 4607	fi
 4608      done
 4609    done
 4610    ;;
 4611esac
 4612done
 4613IFS=$as_save_IFS
 4614
 4615
 4616fi
 4617  if test "${ac_cv_path_install+set}" = set; then
 4618    INSTALL=$ac_cv_path_install
 4619  else
 4620    # As a last resort, use the slow shell script.  Don't cache a
 4621    # value for INSTALL within a source directory, because that will
 4622    # break other packages using the cache if that directory is
 4623    # removed, or if the value is a relative name.
 4624    INSTALL=$ac_install_sh
 4625  fi
 4626fi
 4627{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 4628echo "${ECHO_T}$INSTALL" >&6; }
 4629
 4630# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 4631# It thinks the first close brace ends the variable substitution.
 4632test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 4633
 4634test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 4635
 4636test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 4637
 4638
 4639. ${srcdir}/configure.host
 4640
 4641GC_CFLAGS=${gc_cflags}
 4642
 4643
 4644# Check whether --enable-threads was given.
 4645if test "${enable_threads+set}" = set; then
 4646  enableval=$enable_threads; THREADS=$enableval
 4647else
 4648   { echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
 4649echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6; }
 4650    THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
 4651    if test -z "$THREADS"; then
 4652      THREADS=no
 4653    fi
 4654    { echo "$as_me:$LINENO: result: $THREADS" >&5
 4655echo "${ECHO_T}$THREADS" >&6; }
 4656fi
 4657
 4658
 4659# Check whether --enable-parallel-mark was given.
 4660if test "${enable_parallel_mark+set}" = set; then
 4661  enableval=$enable_parallel_mark; case "$THREADS" in
 4662      no | none | single)
 4663	{ { echo "$as_me:$LINENO: error: Parallel mark requires --enable-threads=x spec" >&5
 4664echo "$as_me: error: Parallel mark requires --enable-threads=x spec" >&2;}
 4665   { (exit 1); exit 1; }; }
 4666	;;
 4667    esac
 4668
 4669fi
 4670
 4671
 4672# Check whether --enable-cplusplus was given.
 4673if test "${enable_cplusplus+set}" = set; then
 4674  enableval=$enable_cplusplus;
 4675fi
 4676
 4677
 4678INCLUDES=-I${srcdir}/include
 4679THREADDLLIBS=
 4680need_atomic_ops_asm=false
 4681## Libraries needed to support dynamic loading and/or threads.
 4682case "$THREADS" in
 4683 no | none | single)
 4684    THREADS=none
 4685    ;;
 4686 posix | pthreads)
 4687    THREADS=posix
 4688    THREADDLLIBS=-lpthread
 4689    case "$host" in
 4690     x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* | alpha-*-linux*)
 4691	cat >>confdefs.h <<\_ACEOF
 4692#define GC_LINUX_THREADS 1
 4693_ACEOF
 4694
 4695	cat >>confdefs.h <<\_ACEOF
 4696#define _REENTRANT 1
 4697_ACEOF
 4698
 4699        if test "${enable_parallel_mark}" = yes; then
 4700	  cat >>confdefs.h <<\_ACEOF
 4701#define PARALLEL_MARK 1
 4702_ACEOF
 4703
 4704	fi
 4705	cat >>confdefs.h <<\_ACEOF
 4706#define THREAD_LOCAL_ALLOC 1
 4707_ACEOF
 4708
 4709	{ echo "$as_me:$LINENO: WARNING: \"Explict GC_INIT() calls may be required.\"" >&5
 4710echo "$as_me: WARNING: \"Explict GC_INIT() calls may be required.\"" >&2;};
 4711	;;
 4712     *-*-linux*)
 4713	cat >>confdefs.h <<\_ACEOF
 4714#define GC_LINUX_THREADS 1
 4715_ACEOF
 4716
 4717	cat >>confdefs.h <<\_ACEOF
 4718#define _REENTRANT 1
 4719_ACEOF
 4720
 4721	;;
 4722     *-*-aix*)
 4723	cat >>confdefs.h <<\_ACEOF
 4724#define GC_AIX_THREADS 1
 4725_ACEOF
 4726
 4727	cat >>confdefs.h <<\_ACEOF
 4728#define _REENTRANT 1
 4729_ACEOF
 4730
 4731	;;
 4732     *-*-hpux11*)
 4733	{ echo "$as_me:$LINENO: WARNING: \"Only HP/UX 11 POSIX threads are supported.\"" >&5
 4734echo "$as_me: WARNING: \"Only HP/UX 11 POSIX threads are supported.\"" >&2;}
 4735	cat >>confdefs.h <<\_ACEOF
 4736#define GC_HPUX_THREADS 1
 4737_ACEOF
 4738
 4739	cat >>confdefs.h <<\_ACEOF
 4740#define _POSIX_C_SOURCE 199506L
 4741_ACEOF
 4742
 4743	if test "${enable_parallel_mark}" = yes; then
 4744	  cat >>confdefs.h <<\_ACEOF
 4745#define PARALLEL_MARK 1
 4746_ACEOF
 4747
 4748	fi
 4749	cat >>confdefs.h <<\_ACEOF
 4750#define THREAD_LOCAL_ALLOC 1
 4751_ACEOF
 4752
 4753	{ echo "$as_me:$LINENO: WARNING: \"Explict GC_INIT() calls may be required.\"" >&5
 4754echo "$as_me: WARNING: \"Explict GC_INIT() calls may be required.\"" >&2;};
 4755	THREADDLLIBS="-lpthread -lrt"
 4756	# HPUX needs REENTRANT for the _r calls.
 4757
 4758cat >>confdefs.h <<\_ACEOF
 4759#define _REENTRANT 1
 4760_ACEOF
 4761
 4762	;;
 4763     *-*-hpux10*)
 4764	{ echo "$as_me:$LINENO: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
 4765echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
 4766	;;
 4767     *-*-freebsd*)
 4768	{ echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
 4769echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
 4770	cat >>confdefs.h <<\_ACEOF
 4771#define GC_FREEBSD_THREADS 1
 4772_ACEOF
 4773
 4774	INCLUDES="$INCLUDES -pthread"
 4775      	;;
 4776     *-*-kfreebsd*-gnu)
 4777	cat >>confdefs.h <<\_ACEOF
 4778#define GC_FREEBSD_THREADS 1
 4779_ACEOF
 4780
 4781	INCLUDES="$INCLUDES -pthread"
 4782	THREADDLLIBS=-pthread
 4783	cat >>confdefs.h <<\_ACEOF
 4784#define _REENTRANT 1
 4785_ACEOF
 4786
 4787        if test "${enable_parallel_mark}" = yes; then
 4788	  cat >>confdefs.h <<\_ACEOF
 4789#define PARALLEL_MARK 1
 4790_ACEOF
 4791
 4792	fi
 4793	cat >>confdefs.h <<\_ACEOF
 4794#define THREAD_LOCAL_ALLOC 1
 4795_ACEOF
 4796
 4797	cat >>confdefs.h <<\_ACEOF
 4798#define USE_COMPILER_TLS 1
 4799_ACEOF
 4800
 4801      	;;
 4802     *-*-gnu*)
 4803	cat >>confdefs.h <<\_ACEOF
 4804#define GC_GNU_THREADS 1
 4805_ACEOF
 4806
 4807	cat >>confdefs.h <<\_ACEOF
 4808#define _REENTRANT 1
 4809_ACEOF
 4810
 4811	cat >>confdefs.h <<\_ACEOF
 4812#define THREAD_LOCAL_ALLOC 1
 4813_ACEOF
 4814
 4815	;;
 4816     *-*-netbsd*)
 4817	{ echo "$as_me:$LINENO: WARNING: \"Only on NetBSD 2.0 or later.\"" >&5
 4818echo "$as_me: WARNING: \"Only on NetBSD 2.0 or later.\"" >&2;}
 4819	cat >>confdefs.h <<\_ACEOF
 4820#define GC_NETBSD_THREADS 1
 4821_ACEOF
 4822
 4823	cat >>confdefs.h <<\_ACEOF
 4824#define _REENTRANT 1
 4825_ACEOF
 4826
 4827	cat >>confdefs.h <<\_ACEOF
 4828#define _PTHREADS 1
 4829_ACEOF
 4830
 4831	THREADDLLIBS="-lpthread -lrt"
 4832	;;
 4833     *-*-solaris*)
 4834	cat >>confdefs.h <<\_ACEOF
 4835#define GC_SOLARIS_THREADS 1
 4836_ACEOF
 4837
 4838	cat >>confdefs.h <<\_ACEOF
 4839#define THREAD_LOCAL_ALLOC 1
 4840_ACEOF
 4841
 4842	THREADDLLIBS="-lpthread -lrt"
 4843	if test "$GCC" != yes; then
 4844          CFLAGS="$CFLAGS -O"
 4845          need_atomic_ops_asm=true
 4846        fi
 4847	;;
 4848     *-*-irix*)
 4849	cat >>confdefs.h <<\_ACEOF
 4850#define GC_IRIX_THREADS 1
 4851_ACEOF
 4852
 4853	;;
 4854     *-*-cygwin*)
 4855	cat >>confdefs.h <<\_ACEOF
 4856#define GC_WIN32_THREADS 1
 4857_ACEOF
 4858
 4859	cat >>confdefs.h <<\_ACEOF
 4860#define THREAD_LOCAL_ALLOC 1
 4861_ACEOF
 4862
 4863	win32_threads=true
 4864	;;
 4865     *-*-darwin*)
 4866	cat >>confdefs.h <<\_ACEOF
 4867#define GC_DARWIN_THREADS 1
 4868_ACEOF
 4869
 4870	cat >>confdefs.h <<\_ACEOF
 4871#define THREAD_LOCAL_ALLOC 1
 4872_ACEOF
 4873
 4874	{ echo "$as_me:$LINENO: WARNING: \"Explict GC_INIT() calls may be required.\"" >&5
 4875echo "$as_me: WARNING: \"Explict GC_INIT() calls may be required.\"" >&2;};
 4876	# Parallel-mark is currently unreliable on Darwin; ignore request
 4877	# if test "${enable_parallel_mark}" = yes; then
 4878	#   AC_DEFINE(PARALLEL_MARK)
 4879	# fi
 4880	darwin_threads=true
 4881	;;
 4882     *-*-osf*)
 4883	cat >>confdefs.h <<\_ACEOF
 4884#define GC_OSF1_THREADS 1
 4885_ACEOF
 4886
 4887        if test "${enable_parallel_mark}" = yes; then
 4888	  cat >>confdefs.h <<\_ACEOF
 4889#define PARALLEL_MARK 1
 4890_ACEOF
 4891
 4892	  cat >>confdefs.h <<\_ACEOF
 4893#define THREAD_LOCAL_ALLOC 1
 4894_ACEOF
 4895
 4896	  { echo "$as_me:$LINENO: WARNING: \"Explict GC_INIT() calls may be required.\"" >&5
 4897echo "$as_me: WARNING: \"Explict GC_INIT() calls may be required.\"" >&2;};
 4898	  # May want to enable it in other cases, too.
 4899	  # Measurements havent yet been done.
 4900	fi
 4901	INCLUDES="$INCLUDES -pthread"
 4902	THREADDLLIBS="-lpthread -lrt"
 4903	;;
 4904      *)
 4905	{ { echo "$as_me:$LINENO: error: \"Pthreads not supported by the GC on this platform.\"" >&5
 4906echo "$as_me: error: \"Pthreads not supported by the GC on this platform.\"" >&2;}
 4907   { (exit 1); exit 1; }; }
 4908	;;
 4909    esac
 4910    ;;
 4911 win32)
 4912    cat >>confdefs.h <<\_ACEOF
 4913#define GC_WIN32_THREADS 1
 4914_ACEOF
 4915
 4916        cat >>confdefs.h <<\_ACEOF
 4917#define NO_GETENV 1
 4918_ACEOF
 4919
 4920    ;;
 4921 dgux386)
 4922    THREADS=dgux386
 4923    { echo "$as_me:$LINENO: result: $THREADDLLIBS" >&5
 4924echo "${ECHO_T}$THREADDLLIBS" >&6; }
 4925    # Use pthread GCC  switch
 4926    THREADDLLIBS=-pthread
 4927    if test "${enable_parallel_mark}" = yes; then
 4928        cat >>confdefs.h <<\_ACEOF
 4929#define PARALLEL_MARK 1
 4930_ACEOF
 4931
 4932    fi
 4933    cat >>confdefs.h <<\_ACEOF
 4934#define THREAD_LOCAL_ALLOC 1
 4935_ACEOF
 4936
 4937    { echo "$as_me:$LINENO: WARNING: \"Explict GC_INIT() calls may be required.\"" >&5
 4938echo "$as_me: WARNING: \"Explict GC_INIT() calls may be required.\"" >&2;};
 4939    cat >>confdefs.h <<\_ACEOF
 4940#define GC_DGUX386_THREADS 1
 4941_ACEOF
 4942
 4943    cat >>confdefs.h <<\_ACEOF
 4944#define DGUX_THREADS 1
 4945_ACEOF
 4946
 4947    # Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
 4948    INCLUDES="-pthread $INCLUDES"
 4949    ;;
 4950 aix)
 4951    THREADS=posix
 4952    THREADDLLIBS=-lpthread
 4953    cat >>confdefs.h <<\_ACEOF
 4954#define GC_AIX_THREADS 1
 4955_ACEOF
 4956
 4957    cat >>confdefs.h <<\_ACEOF
 4958#define _REENTRANT 1
 4959_ACEOF
 4960
 4961    ;;
 4962 decosf1 | irix | mach | os2 | solaris | dce | vxworks)
 4963    { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
 4964echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
 4965   { (exit 1); exit 1; }; }
 4966    ;;
 4967 *)
 4968    { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
 4969echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
 4970   { (exit 1); exit 1; }; }
 4971    ;;
 4972esac
 4973
 4974
 4975
 4976if test x$THREADS != xnone; then
 4977  THREADS_TRUE=
 4978  THREADS_FALSE='#'
 4979else
 4980  THREADS_TRUE='#'
 4981  THREADS_FALSE=
 4982fi
 4983
 4984
 4985
 4986if test x$THREADS = xposix; then
 4987  PTHREADS_TRUE=
 4988  PTHREADS_FALSE='#'
 4989else
 4990  PTHREADS_TRUE='#'
 4991  PTHREADS_FALSE=
 4992fi
 4993
 4994
 4995
 4996if test x$darwin_threads = xtrue; then
 4997  DARWIN_THREADS_TRUE=
 4998  DARWIN_THREADS_FALSE='#'
 4999else
 5000  DARWIN_THREADS_TRUE='#'
 5001  DARWIN_THREADS_FALSE=
 5002fi
 5003
 5004
 5005
 5006if test x$win32_threads = xtrue; then
 5007  WIN32_THREADS_TRUE=
 5008  WIN32_THREADS_FALSE='#'
 5009else
 5010  WIN32_THREADS_TRUE='#'
 5011  WIN32_THREADS_FALSE=
 5012fi
 5013
 5014
 5015case "$host" in
 5016   powerpc-*-darwin*)
 5017      powerpc_darwin=true
 5018      ;;
 5019esac
 5020
 5021# Darwin needs a few extra special tests to deal with variation in the
 5022# system headers.
 5023case "$host" in
 5024  powerpc*-*-darwin*)
 5025
 5026{ echo "$as_me:$LINENO: checking for ppc_thread_state_t.r0" >&5
 5027echo $ECHO_N "checking for ppc_thread_state_t.r0... $ECHO_C" >&6; }
 5028if test "${ac_cv_member_ppc_thread_state_t_r0+set}" = set; then
 5029  echo $ECHO_N "(cached) $ECHO_C" >&6
 5030else
 5031  cat >conftest.$ac_ext <<_ACEOF
 5032/* confdefs.h.  */
 5033_ACEOF
 5034cat confdefs.h >>conftest.$ac_ext
 5035cat >>conftest.$ac_ext <<_ACEOF
 5036/* end confdefs.h.  */
 5037#include <mach/thread_status.h>
 5038
 5039int
 5040main ()
 5041{
 5042static ppc_thread_state_t ac_aggr;
 5043if (ac_aggr.r0)
 5044return 0;
 5045  ;
 5046  return 0;
 5047}
 5048_ACEOF
 5049rm -f conftest.$ac_objext
 5050if { (ac_try="$ac_compile"
 5051case "(($ac_try" in
 5052  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5053  *) ac_try_echo=$ac_try;;
 5054esac
 5055eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5056  (eval "$ac_compile") 2>conftest.er1
 5057  ac_status=$?
 5058  grep -v '^ *+' conftest.er1 >conftest.err
 5059  rm -f conftest.er1
 5060  cat conftest.err >&5
 5061  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5062  (exit $ac_status); } && {
 5063	 test -z "$ac_c_werror_flag" ||
 5064	 test ! -s conftest.err
 5065       } && test -s conftest.$ac_objext; then
 5066  ac_cv_member_ppc_thread_state_t_r0=yes
 5067else
 5068  echo "$as_me: failed program was:" >&5
 5069sed 's/^/| /' conftest.$ac_ext >&5
 5070
 5071	cat >conftest.$ac_ext <<_ACEOF
 5072/* confdefs.h.  */
 5073_ACEOF
 5074cat confdefs.h >>conftest.$ac_ext
 5075cat >>conftest.$ac_ext <<_ACEOF
 5076/* end confdefs.h.  */
 5077#include <mach/thread_status.h>
 5078
 5079int
 5080main ()
 5081{
 5082static ppc_thread_state_t ac_aggr;
 5083if (sizeof ac_aggr.r0)
 5084return 0;
 5085  ;
 5086  return 0;
 5087}
 5088_ACEOF
 5089rm -f conftest.$ac_objext
 5090if { (ac_try="$ac_compile"
 5091case "(($ac_try" in
 5092  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5093  *) ac_try_echo=$ac_try;;
 5094esac
 5095eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5096  (eval "$ac_compile") 2>conftest.er1
 5097  ac_status=$?
 5098  grep -v '^ *+' conftest.er1 >conftest.err
 5099  rm -f conftest.er1
 5100  cat conftest.err >&5
 5101  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5102  (exit $ac_status); } && {
 5103	 test -z "$ac_c_werror_flag" ||
 5104	 test ! -s conftest.err
 5105       } && test -s conftest.$ac_objext; then
 5106  ac_cv_member_ppc_thread_state_t_r0=yes
 5107else
 5108  echo "$as_me: failed program was:" >&5
 5109sed 's/^/| /' conftest.$ac_ext >&5
 5110
 5111	ac_cv_member_ppc_thread_state_t_r0=no
 5112fi
 5113
 5114rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5115fi
 5116
 5117rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5118fi
 5119{ echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state_t_r0" >&5
 5120echo "${ECHO_T}$ac_cv_member_ppc_thread_state_t_r0" >&6; }
 5121if test $ac_cv_member_ppc_thread_state_t_r0 = yes; then
 5122
 5123cat >>confdefs.h <<\_ACEOF
 5124#define HAS_PPC_THREAD_STATE_R0 1
 5125_ACEOF
 5126
 5127fi
 5128
 5129    { echo "$as_me:$LINENO: checking for ppc_thread_state_t.__r0" >&5
 5130echo $ECHO_N "checking for ppc_thread_state_t.__r0... $ECHO_C" >&6; }
 5131if test "${ac_cv_member_ppc_thread_state_t___r0+set}" = set; then
 5132  echo $ECHO_N "(cached) $ECHO_C" >&6
 5133else
 5134  cat >conftest.$ac_ext <<_ACEOF
 5135/* confdefs.h.  */
 5136_ACEOF
 5137cat confdefs.h >>conftest.$ac_ext
 5138cat >>conftest.$ac_ext <<_ACEOF
 5139/* end confdefs.h.  */
 5140#include <mach/thread_status.h>
 5141
 5142int
 5143main ()
 5144{
 5145static ppc_thread_state_t ac_aggr;
 5146if (ac_aggr.__r0)
 5147return 0;
 5148  ;
 5149  return 0;
 5150}
 5151_ACEOF
 5152rm -f conftest.$ac_objext
 5153if { (ac_try="$ac_compile"
 5154case "(($ac_try" in
 5155  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5156  *) ac_try_echo=$ac_try;;
 5157esac
 5158eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5159  (eval "$ac_compile") 2>conftest.er1
 5160  ac_status=$?
 5161  grep -v '^ *+' conftest.er1 >conftest.err
 5162  rm -f conftest.er1
 5163  cat conftest.err >&5
 5164  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5165  (exit $ac_status); } && {
 5166	 test -z "$ac_c_werror_flag" ||
 5167	 test ! -s conftest.err
 5168       } && test -s conftest.$ac_objext; then
 5169  ac_cv_member_ppc_thread_state_t___r0=yes
 5170else
 5171  echo "$as_me: failed program was:" >&5
 5172sed 's/^/| /' conftest.$ac_ext >&5
 5173
 5174	cat >conftest.$ac_ext <<_ACEOF
 5175/* confdefs.h.  */
 5176_ACEOF
 5177cat confdefs.h >>conftest.$ac_ext
 5178cat >>conftest.$ac_ext <<_ACEOF
 5179/* end confdefs.h.  */
 5180#include <mach/thread_status.h>
 5181
 5182int
 5183main ()
 5184{
 5185static ppc_thread_state_t ac_aggr;
 5186if (sizeof ac_aggr.__r0)
 5187return 0;
 5188  ;
 5189  return 0;
 5190}
 5191_ACEOF
 5192rm -f conftest.$ac_objext
 5193if { (ac_try="$ac_compile"
 5194case "(($ac_try" in
 5195  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5196  *) ac_try_echo=$ac_try;;
 5197esac
 5198eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5199  (eval "$ac_compile") 2>conftest.er1
 5200  ac_status=$?
 5201  grep -v '^ *+' conftest.er1 >conftest.err
 5202  rm -f conftest.er1
 5203  cat conftest.err >&5
 5204  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5205  (exit $ac_status); } && {
 5206	 test -z "$ac_c_werror_flag" ||
 5207	 test ! -s conftest.err
 5208       } && test -s conftest.$ac_objext; then
 5209  ac_cv_member_ppc_thread_state_t___r0=yes
 5210else
 5211  echo "$as_me: failed program was:" >&5
 5212sed 's/^/| /' conftest.$ac_ext >&5
 5213
 5214	ac_cv_member_ppc_thread_state_t___r0=no
 5215fi
 5216
 5217rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5218fi
 5219
 5220rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5221fi
 5222{ echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state_t___r0" >&5
 5223echo "${ECHO_T}$ac_cv_member_ppc_thread_state_t___r0" >&6; }
 5224if test $ac_cv_member_ppc_thread_state_t___r0 = yes; then
 5225
 5226cat >>confdefs.h <<\_ACEOF
 5227#define HAS_PPC_THREAD_STATE___R0 1
 5228_ACEOF
 5229
 5230fi
 5231
 5232    { echo "$as_me:$LINENO: checking for ppc_thread_state64_t.r0" >&5
 5233echo $ECHO_N "checking for ppc_thread_state64_t.r0... $ECHO_C" >&6; }
 5234if test "${ac_cv_member_ppc_thread_state64_t_r0+set}" = set; then
 5235  echo $ECHO_N "(cached) $ECHO_C" >&6
 5236else
 5237  cat >conftest.$ac_ext <<_ACEOF
 5238/* confdefs.h.  */
 5239_ACEOF
 5240cat confdefs.h >>conftest.$ac_ext
 5241cat >>conftest.$ac_ext <<_ACEOF
 5242/* end confdefs.h.  */
 5243#include <mach/thread_status.h>
 5244
 5245int
 5246main ()
 5247{
 5248static ppc_thread_state64_t ac_aggr;
 5249if (ac_aggr.r0)
 5250return 0;
 5251  ;
 5252  return 0;
 5253}
 5254_ACEOF
 5255rm -f conftest.$ac_objext
 5256if { (ac_try="$ac_compile"
 5257case "(($ac_try" in
 5258  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5259  *) ac_try_echo=$ac_try;;
 5260esac
 5261eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5262  (eval "$ac_compile") 2>conftest.er1
 5263  ac_status=$?
 5264  grep -v '^ *+' conftest.er1 >conftest.err
 5265  rm -f conftest.er1
 5266  cat conftest.err >&5
 5267  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5268  (exit $ac_status); } && {
 5269	 test -z "$ac_c_werror_flag" ||
 5270	 test ! -s conftest.err
 5271       } && test -s conftest.$ac_objext; then
 5272  ac_cv_member_ppc_thread_state64_t_r0=yes
 5273else
 5274  echo "$as_me: failed program was:" >&5
 5275sed 's/^/| /' conftest.$ac_ext >&5
 5276
 5277	cat >conftest.$ac_ext <<_ACEOF
 5278/* confdefs.h.  */
 5279_ACEOF
 5280cat confdefs.h >>conftest.$ac_ext
 5281cat >>conftest.$ac_ext <<_ACEOF
 5282/* end confdefs.h.  */
 5283#include <mach/thread_status.h>
 5284
 5285int
 5286main ()
 5287{
 5288static ppc_thread_state64_t ac_aggr;
 5289if (sizeof ac_aggr.r0)
 5290return 0;
 5291  ;
 5292  return 0;
 5293}
 5294_ACEOF
 5295rm -f conftest.$ac_objext
 5296if { (ac_try="$ac_compile"
 5297case "(($ac_try" in
 5298  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5299  *) ac_try_echo=$ac_try;;
 5300esac
 5301eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5302  (eval "$ac_compile") 2>conftest.er1
 5303  ac_status=$?
 5304  grep -v '^ *+' conftest.er1 >conftest.err
 5305  rm -f conftest.er1
 5306  cat conftest.err >&5
 5307  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5308  (exit $ac_status); } && {
 5309	 test -z "$ac_c_werror_flag" ||
 5310	 test ! -s conftest.err
 5311       } && test -s conftest.$ac_objext; then
 5312  ac_cv_member_ppc_thread_state64_t_r0=yes
 5313else
 5314  echo "$as_me: failed program was:" >&5
 5315sed 's/^/| /' conftest.$ac_ext >&5
 5316
 5317	ac_cv_member_ppc_thread_state64_t_r0=no
 5318fi
 5319
 5320rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5321fi
 5322
 5323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5324fi
 5325{ echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state64_t_r0" >&5
 5326echo "${ECHO_T}$ac_cv_member_ppc_thread_state64_t_r0" >&6; }
 5327if test $ac_cv_member_ppc_thread_state64_t_r0 = yes; then
 5328
 5329cat >>confdefs.h <<\_ACEOF
 5330#define HAS_PPC_THREAD_STATE64_R0 1
 5331_ACEOF
 5332
 5333fi
 5334
 5335    { echo "$as_me:$LINENO: checking for ppc_thread_state64_t.__r0" >&5
 5336echo $ECHO_N "checking for ppc_thread_state64_t.__r0... $ECHO_C" >&6; }
 5337if test "${ac_cv_member_ppc_thread_state64_t___r0+set}" = set; then
 5338  echo $ECHO_N "(cached) $ECHO_C" >&6
 5339else
 5340  cat >conftest.$ac_ext <<_ACEOF
 5341/* confdefs.h.  */
 5342_ACEOF
 5343cat confdefs.h >>conftest.$ac_ext
 5344cat >>conftest.$ac_ext <<_ACEOF
 5345/* end confdefs.h.  */
 5346#include <mach/thread_status.h>
 5347
 5348int
 5349main ()
 5350{
 5351static ppc_thread_state64_t ac_aggr;
 5352if (ac_aggr.__r0)
 5353return 0;
 5354  ;
 5355  return 0;
 5356}
 5357_ACEOF
 5358rm -f conftest.$ac_objext
 5359if { (ac_try="$ac_compile"
 5360case "(($ac_try" in
 5361  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5362  *) ac_try_echo=$ac_try;;
 5363esac
 5364eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5365  (eval "$ac_compile") 2>conftest.er1
 5366  ac_status=$?
 5367  grep -v '^ *+' conftest.er1 >conftest.err
 5368  rm -f conftest.er1
 5369  cat conftest.err >&5
 5370  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5371  (exit $ac_status); } && {
 5372	 test -z "$ac_c_werror_flag" ||
 5373	 test ! -s conftest.err
 5374       } && test -s conftest.$ac_objext; then
 5375  ac_cv_member_ppc_thread_state64_t___r0=yes
 5376else
 5377  echo "$as_me: failed program was:" >&5
 5378sed 's/^/| /' conftest.$ac_ext >&5
 5379
 5380	cat >conftest.$ac_ext <<_ACEOF
 5381/* confdefs.h.  */
 5382_ACEOF
 5383cat confdefs.h >>conftest.$ac_ext
 5384cat >>conftest.$ac_ext <<_ACEOF
 5385/* end confdefs.h.  */
 5386#include <mach/thread_status.h>
 5387
 5388int
 5389main ()
 5390{
 5391static ppc_thread_state64_t ac_aggr;
 5392if (sizeof ac_aggr.__r0)
 5393return 0;
 5394  ;
 5395  return 0;
 5396}
 5397_ACEOF
 5398rm -f conftest.$ac_objext
 5399if { (ac_try="$ac_compile"
 5400case "(($ac_try" in
 5401  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5402  *) ac_try_echo=$ac_try;;
 5403esac
 5404eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5405  (eval "$ac_compile") 2>conftest.er1
 5406  ac_status=$?
 5407  grep -v '^ *+' conftest.er1 >conftest.err
 5408  rm -f conftest.er1
 5409  cat conftest.err >&5
 5410  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5411  (exit $ac_status); } && {
 5412	 test -z "$ac_c_werror_flag" ||
 5413	 test ! -s conftest.err
 5414       } && test -s conftest.$ac_objext; then
 5415  ac_cv_member_ppc_thread_state64_t___r0=yes
 5416else
 5417  echo "$as_me: failed program was:" >&5
 5418sed 's/^/| /' conftest.$ac_ext >&5
 5419
 5420	ac_cv_member_ppc_thread_state64_t___r0=no
 5421fi
 5422
 5423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5424fi
 5425
 5426rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5427fi
 5428{ echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state64_t___r0" >&5
 5429echo "${ECHO_T}$ac_cv_member_ppc_thread_state64_t___r0" >&6; }
 5430if test $ac_cv_member_ppc_thread_state64_t___r0 = yes; then
 5431
 5432cat >>confdefs.h <<\_ACEOF
 5433#define HAS_PPC_THREAD_STATE64___R0 1
 5434_ACEOF
 5435
 5436fi
 5437
 5438    ;;
 5439  i?86*-*-darwin*)
 5440    { echo "$as_me:$LINENO: checking for x86_thread_state32_t.eax" >&5
 5441echo $ECHO_N "checking for x86_thread_state32_t.eax... $ECHO_C" >&6; }
 5442if test "${ac_cv_member_x86_thread_state32_t_eax+set}" = set; then
 5443  echo $ECHO_N "(cached) $ECHO_C" >&6
 5444else
 5445  cat >conftest.$ac_ext <<_ACEOF
 5446/* confdefs.h.  */
 5447_ACEOF
 5448cat confdefs.h >>conftest.$ac_ext
 5449cat >>conftest.$ac_ext <<_ACEOF
 5450/* end confdefs.h.  */
 5451#include <sys/cdefs.h>
 5452      #include <mach/thread_status.h>
 5453
 5454int
 5455main ()
 5456{
 5457static x86_thread_state32_t ac_aggr;
 5458if (ac_aggr.eax)
 5459return 0;
 5460  ;
 5461  return 0;
 5462}
 5463_ACEOF
 5464rm -f conftest.$ac_objext
 5465if { (ac_try="$ac_compile"
 5466case "(($ac_try" in
 5467  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5468  *) ac_try_echo=$ac_try;;
 5469esac
 5470eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5471  (eval "$ac_compile") 2>conftest.er1
 5472  ac_status=$?
 5473  grep -v '^ *+' conftest.er1 >conftest.err
 5474  rm -f conftest.er1
 5475  cat conftest.err >&5
 5476  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5477  (exit $ac_status); } && {
 5478	 test -z "$ac_c_werror_flag" ||
 5479	 test ! -s conftest.err
 5480       } && test -s conftest.$ac_objext; then
 5481  ac_cv_member_x86_thread_state32_t_eax=yes
 5482else
 5483  echo "$as_me: failed program was:" >&5
 5484sed 's/^/| /' conftest.$ac_ext >&5
 5485
 5486	cat >conftest.$ac_ext <<_ACEOF
 5487/* confdefs.h.  */
 5488_ACEOF
 5489cat confdefs.h >>conftest.$ac_ext
 5490cat >>conftest.$ac_ext <<_ACEOF
 5491/* end confdefs.h.  */
 5492#include <sys/cdefs.h>
 5493      #include <mach/thread_status.h>
 5494
 5495int
 5496main ()
 5497{
 5498static x86_thread_state32_t ac_aggr;
 5499if (sizeof ac_aggr.eax)
 5500return 0;
 5501  ;
 5502  return 0;
 5503}
 5504_ACEOF
 5505rm -f conftest.$ac_objext
 5506if { (ac_try="$ac_compile"
 5507case "(($ac_try" in
 5508  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5509  *) ac_try_echo=$ac_try;;
 5510esac
 5511eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5512  (eval "$ac_compile") 2>conftest.er1
 5513  ac_status=$?
 5514  grep -v '^ *+' conftest.er1 >conftest.err
 5515  rm -f conftest.er1
 5516  cat conftest.err >&5
 5517  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5518  (exit $ac_status); } && {
 5519	 test -z "$ac_c_werror_flag" ||
 5520	 test ! -s conftest.err
 5521       } && test -s conftest.$ac_objext; then
 5522  ac_cv_member_x86_thread_state32_t_eax=yes
 5523else
 5524  echo "$as_me: failed program was:" >&5
 5525sed 's/^/| /' conftest.$ac_ext >&5
 5526
 5527	ac_cv_member_x86_thread_state32_t_eax=no
 5528fi
 5529
 5530rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5531fi
 5532
 5533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5534fi
 5535{ echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state32_t_eax" >&5
 5536echo "${ECHO_T}$ac_cv_member_x86_thread_state32_t_eax" >&6; }
 5537if test $ac_cv_member_x86_thread_state32_t_eax = yes; then
 5538
 5539cat >>confdefs.h <<\_ACEOF
 5540#define HAS_X86_THREAD_STATE32_EAX 1
 5541_ACEOF
 5542
 5543fi
 5544
 5545    { echo "$as_me:$LINENO: checking for x86_thread_state32_t.__eax" >&5
 5546echo $ECHO_N "checking for x86_thread_state32_t.__eax... $ECHO_C" >&6; }
 5547if test "${ac_cv_member_x86_thread_state32_t___eax+set}" = set; then
 5548  echo $ECHO_N "(cached) $ECHO_C" >&6
 5549else
 5550  cat >conftest.$ac_ext <<_ACEOF
 5551/* confdefs.h.  */
 5552_ACEOF
 5553cat confdefs.h >>conftest.$ac_ext
 5554cat >>conftest.$ac_ext <<_ACEOF
 5555/* end confdefs.h.  */
 5556#include <sys/cdefs.h>
 5557      #include <mach/thread_status.h>
 5558
 5559int
 5560main ()
 5561{
 5562static x86_thread_state32_t ac_aggr;
 5563if (ac_aggr.__eax)
 5564return 0;
 5565  ;
 5566  return 0;
 5567}
 5568_ACEOF
 5569rm -f conftest.$ac_objext
 5570if { (ac_try="$ac_compile"
 5571case "(($ac_try" in
 5572  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5573  *) ac_try_echo=$ac_try;;
 5574esac
 5575eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5576  (eval "$ac_compile") 2>conftest.er1
 5577  ac_status=$?
 5578  grep -v '^ *+' conftest.er1 >conftest.err
 5579  rm -f conftest.er1
 5580  cat conftest.err >&5
 5581  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5582  (exit $ac_status); } && {
 5583	 test -z "$ac_c_werror_flag" ||
 5584	 test ! -s conftest.err
 5585       } && test -s conftest.$ac_objext; then
 5586  ac_cv_member_x86_thread_state32_t___eax=yes
 5587else
 5588  echo "$as_me: failed program was:" >&5
 5589sed 's/^/| /' conftest.$ac_ext >&5
 5590
 5591	cat >conftest.$ac_ext <<_ACEOF
 5592/* confdefs.h.  */
 5593_ACEOF
 5594cat confdefs.h >>conftest.$ac_ext
 5595cat >>conftest.$ac_ext <<_ACEOF
 5596/* end confdefs.h.  */
 5597#include <sys/cdefs.h>
 5598      #include <mach/thread_status.h>
 5599
 5600int
 5601main ()
 5602{
 5603static x86_thread_state32_t ac_aggr;
 5604if (sizeof ac_aggr.__eax)
 5605return 0;
 5606  ;
 5607  return 0;
 5608}
 5609_ACEOF
 5610rm -f conftest.$ac_objext
 5611if { (ac_try="$ac_compile"
 5612case "(($ac_try" in
 5613  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5614  *) ac_try_echo=$ac_try;;
 5615esac
 5616eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5617  (eval "$ac_compile") 2>conftest.er1
 5618  ac_status=$?
 5619  grep -v '^ *+' conftest.er1 >conftest.err
 5620  rm -f conftest.er1
 5621  cat conftest.err >&5
 5622  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5623  (exit $ac_status); } && {
 5624	 test -z "$ac_c_werror_flag" ||
 5625	 test ! -s conftest.err
 5626       } && test -s conftest.$ac_objext; then
 5627  ac_cv_member_x86_thread_state32_t___eax=yes
 5628else
 5629  echo "$as_me: failed program was:" >&5
 5630sed 's/^/| /' conftest.$ac_ext >&5
 5631
 5632	ac_cv_member_x86_thread_state32_t___eax=no
 5633fi
 5634
 5635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5636fi
 5637
 5638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5639fi
 5640{ echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state32_t___eax" >&5
 5641echo "${ECHO_T}$ac_cv_member_x86_thread_state32_t___eax" >&6; }
 5642if test $ac_cv_member_x86_thread_state32_t___eax = yes; then
 5643
 5644cat >>confdefs.h <<\_ACEOF
 5645#define HAS_X86_THREAD_STATE32___EAX 1
 5646_ACEOF
 5647
 5648fi
 5649
 5650    ;;
 5651  x86_64-*-darwin*)
 5652    { echo "$as_me:$LINENO: checking for x86_thread_state64_t.rax" >&5
 5653echo $ECHO_N "checking for x86_thread_state64_t.rax... $ECHO_C" >&6; }
 5654if test "${ac_cv_member_x86_thread_state64_t_rax+set}" = set; then
 5655  echo $ECHO_N "(cached) $ECHO_C" >&6
 5656else
 5657  cat >conftest.$ac_ext <<_ACEOF
 5658/* confdefs.h.  */
 5659_ACEOF
 5660cat confdefs.h >>conftest.$ac_ext
 5661cat >>conftest.$ac_ext <<_ACEOF
 5662/* end confdefs.h.  */
 5663#include <sys/cdefs.h>
 5664      #include <mach/thread_status.h>
 5665
 5666int
 5667main ()
 5668{
 5669static x86_thread_state64_t ac_aggr;
 5670if (ac_aggr.rax)
 5671return 0;
 5672  ;
 5673  return 0;
 5674}
 5675_ACEOF
 5676rm -f conftest.$ac_objext
 5677if { (ac_try="$ac_compile"
 5678case "(($ac_try" in
 5679  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5680  *) ac_try_echo=$ac_try;;
 5681esac
 5682eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5683  (eval "$ac_compile") 2>conftest.er1
 5684  ac_status=$?
 5685  grep -v '^ *+' conftest.er1 >conftest.err
 5686  rm -f conftest.er1
 5687  cat conftest.err >&5
 5688  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5689  (exit $ac_status); } && {
 5690	 test -z "$ac_c_werror_flag" ||
 5691	 test ! -s conftest.err
 5692       } && test -s conftest.$ac_objext; then
 5693  ac_cv_member_x86_thread_state64_t_rax=yes
 5694else
 5695  echo "$as_me: failed program was:" >&5
 5696sed 's/^/| /' conftest.$ac_ext >&5
 5697
 5698	cat >conftest.$ac_ext <<_ACEOF
 5699/* confdefs.h.  */
 5700_ACEOF
 5701cat confdefs.h >>conftest.$ac_ext
 5702cat >>conftest.$ac_ext <<_ACEOF
 5703/* end confdefs.h.  */
 5704#include <sys/cdefs.h>
 5705      #include <mach/thread_status.h>
 5706
 5707int
 5708main ()
 5709{
 5710static x86_thread_state64_t ac_aggr;
 5711if (sizeof ac_aggr.rax)
 5712return 0;
 5713  ;
 5714  return 0;
 5715}
 5716_ACEOF
 5717rm -f conftest.$ac_objext
 5718if { (ac_try="$ac_compile"
 5719case "(($ac_try" in
 5720  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5721  *) ac_try_echo=$ac_try;;
 5722esac
 5723eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5724  (eval "$ac_compile") 2>conftest.er1
 5725  ac_status=$?
 5726  grep -v '^ *+' conftest.er1 >conftest.err
 5727  rm -f conftest.er1
 5728  cat conftest.err >&5
 5729  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5730  (exit $ac_status); } && {
 5731	 test -z "$ac_c_werror_flag" ||
 5732	 test ! -s conftest.err
 5733       } && test -s conftest.$ac_objext; then
 5734  ac_cv_member_x86_thread_state64_t_rax=yes
 5735else
 5736  echo "$as_me: failed program was:" >&5
 5737sed 's/^/| /' conftest.$ac_ext >&5
 5738
 5739	ac_cv_member_x86_thread_state64_t_rax=no
 5740fi
 5741
 5742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5743fi
 5744
 5745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5746fi
 5747{ echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state64_t_rax" >&5
 5748echo "${ECHO_T}$ac_cv_member_x86_thread_state64_t_rax" >&6; }
 5749if test $ac_cv_member_x86_thread_state64_t_rax = yes; then
 5750
 5751cat >>confdefs.h <<\_ACEOF
 5752#define HAS_X86_THREAD_STATE64_RAX 1
 5753_ACEOF
 5754
 5755fi
 5756
 5757    { echo "$as_me:$LINENO: checking for x86_thread_state64_t.__rax" >&5
 5758echo $ECHO_N "checking for x86_thread_state64_t.__rax... $ECHO_C" >&6; }
 5759if test "${ac_cv_member_x86_thread_state64_t___rax+set}" = set; then
 5760  echo $ECHO_N "(cached) $ECHO_C" >&6
 5761else
 5762  cat >conftest.$ac_ext <<_ACEOF
 5763/* confdefs.h.  */
 5764_ACEOF
 5765cat confdefs.h >>conftest.$ac_ext
 5766cat >>conftest.$ac_ext <<_ACEOF
 5767/* end confdefs.h.  */
 5768#include <sys/cdefs.h>
 5769      #include <mach/thread_status.h>
 5770
 5771int
 5772main ()
 5773{
 5774static x86_thread_state64_t ac_aggr;
 5775if (ac_aggr.__rax)
 5776return 0;
 5777  ;
 5778  return 0;
 5779}
 5780_ACEOF
 5781rm -f conftest.$ac_objext
 5782if { (ac_try="$ac_compile"
 5783case "(($ac_try" in
 5784  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5785  *) ac_try_echo=$ac_try;;
 5786esac
 5787eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5788  (eval "$ac_compile") 2>conftest.er1
 5789  ac_status=$?
 5790  grep -v '^ *+' conftest.er1 >conftest.err
 5791  rm -f conftest.er1
 5792  cat conftest.err >&5
 5793  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5794  (exit $ac_status); } && {
 5795	 test -z "$ac_c_werror_flag" ||
 5796	 test ! -s conftest.err
 5797       } && test -s conftest.$ac_objext; then
 5798  ac_cv_member_x86_thread_state64_t___rax=yes
 5799else
 5800  echo "$as_me: failed program was:" >&5
 5801sed 's/^/| /' conftest.$ac_ext >&5
 5802
 5803	cat >conftest.$ac_ext <<_ACEOF
 5804/* confdefs.h.  */
 5805_ACEOF
 5806cat confdefs.h >>conftest.$ac_ext
 5807cat >>conftest.$ac_ext <<_ACEOF
 5808/* end confdefs.h.  */
 5809#include <sys/cdefs.h>
 5810      #include <mach/thread_status.h>
 5811
 5812int
 5813main ()
 5814{
 5815static x86_thread_state64_t ac_aggr;
 5816if (sizeof ac_aggr.__rax)
 5817return 0;
 5818  ;
 5819  return 0;
 5820}
 5821_ACEOF
 5822rm -f conftest.$ac_objext
 5823if { (ac_try="$ac_compile"
 5824case "(($ac_try" in
 5825  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5826  *) ac_try_echo=$ac_try;;
 5827esac
 5828eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5829  (eval "$ac_compile") 2>conftest.er1
 5830  ac_status=$?
 5831  grep -v '^ *+' conftest.er1 >conftest.err
 5832  rm -f conftest.er1
 5833  cat conftest.err >&5
 5834  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5835  (exit $ac_status); } && {
 5836	 test -z "$ac_c_werror_flag" ||
 5837	 test ! -s conftest.err
 5838       } && test -s conftest.$ac_objext; then
 5839  ac_cv_member_x86_thread_state64_t___rax=yes
 5840else
 5841  echo "$as_me: failed program was:" >&5
 5842sed 's/^/| /' conftest.$ac_ext >&5
 5843
 5844	ac_cv_member_x86_thread_state64_t___rax=no
 5845fi
 5846
 5847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5848fi
 5849
 5850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5851fi
 5852{ echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state64_t___rax" >&5
 5853echo "${ECHO_T}$ac_cv_member_x86_thread_state64_t___rax" >&6; }
 5854if test $ac_cv_member_x86_thread_state64_t___rax = yes; then
 5855
 5856cat >>confdefs.h <<\_ACEOF
 5857#define HAS_X86_THREAD_STATE64___RAX 1
 5858_ACEOF
 5859
 5860fi
 5861
 5862     ;;
 5863  *) ;;
 5864esac
 5865
 5866{ echo "$as_me:$LINENO: checking for xlc" >&5
 5867echo $ECHO_N "checking for xlc... $ECHO_C" >&6; }
 5868cat >conftest.$ac_ext <<_ACEOF
 5869/* confdefs.h.  */
 5870_ACEOF
 5871cat confdefs.h >>conftest.$ac_ext
 5872cat >>conftest.$ac_ext <<_ACEOF
 5873/* end confdefs.h.  */
 5874
 5875int
 5876main ()
 5877{
 5878
 5879 #ifndef __xlC__
 5880 # error
 5881 #endif
 5882
 5883  ;
 5884  return 0;
 5885}
 5886_ACEOF
 5887rm -f conftest.$ac_objext
 5888if { (ac_try="$ac_compile"
 5889case "(($ac_try" in
 5890  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5891  *) ac_try_echo=$ac_try;;
 5892esac
 5893eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5894  (eval "$ac_compile") 2>conftest.er1
 5895  ac_status=$?
 5896  grep -v '^ *+' conftest.er1 >conftest.err
 5897  rm -f conftest.er1
 5898  cat conftest.err >&5
 5899  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5900  (exit $ac_status); } && {
 5901	 test -z "$ac_c_werror_flag" ||
 5902	 test ! -s conftest.err
 5903       } && test -s conftest.$ac_objext; then
 5904  compiler_xlc=yes
 5905else
 5906  echo "$as_me: failed program was:" >&5
 5907sed 's/^/| /' conftest.$ac_ext >&5
 5908
 5909	compiler_xlc=no
 5910fi
 5911
 5912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5913{ echo "$as_me:$LINENO: result: $compiler_xlc" >&5
 5914echo "${ECHO_T}$compiler_xlc" >&6; }
 5915
 5916
 5917if test $compiler_xlc = yes; then
 5918  COMPILER_XLC_TRUE=
 5919  COMPILER_XLC_FALSE='#'
 5920else
 5921  COMPILER_XLC_TRUE='#'
 5922  COMPILER_XLC_FALSE=
 5923fi
 5924
 5925if test $compiler_xlc = yes -a "$powerpc_darwin" = true; then
 5926  # the darwin stack-frame-walking code is completely broken on xlc
 5927  cat >>confdefs.h <<\_ACEOF
 5928#define DARWIN_DONT_PARSE_STACK 1
 5929_ACEOF
 5930
 5931fi
 5932
 5933# We never want libdl on darwin. It is a fake libdl that just ends up making
 5934# dyld calls anyway
 5935case "$host" in
 5936  *-*-darwin*) ;;
 5937  *)
 5938    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 5939echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 5940if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 5941  echo $ECHO_N "(cached) $ECHO_C" >&6
 5942else
 5943  ac_check_lib_save_LIBS=$LIBS
 5944LIBS="-ldl  $LIBS"
 5945cat >conftest.$ac_ext <<_ACEOF
 5946/* confdefs.h.  */
 5947_ACEOF
 5948cat confdefs.h >>conftest.$ac_ext
 5949cat >>conftest.$ac_ext <<_ACEOF
 5950/* end confdefs.h.  */
 5951
 5952/* Override any GCC internal prototype to avoid an error.
 5953   Use char because int might match the return type of a GCC
 5954   builtin and then its argument prototype would still apply.  */
 5955#ifdef __cplusplus
 5956extern "C"
 5957#endif
 5958char dlopen ();
 5959int
 5960main ()
 5961{
 5962return dlopen ();
 5963  ;
 5964  return 0;
 5965}
 5966_ACEOF
 5967rm -f conftest.$ac_objext conftest$ac_exeext
 5968if { (ac_try="$ac_link"
 5969case "(($ac_try" in
 5970  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5971  *) ac_try_echo=$ac_try;;
 5972esac
 5973eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5974  (eval "$ac_link") 2>conftest.er1
 5975  ac_status=$?
 5976  grep -v '^ *+' conftest.er1 >conftest.err
 5977  rm -f conftest.er1
 5978  cat conftest.err >&5
 5979  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5980  (exit $ac_status); } && {
 5981	 test -z "$ac_c_werror_flag" ||
 5982	 test ! -s conftest.err
 5983       } && test -s conftest$ac_exeext &&
 5984       $as_test_x conftest$ac_exeext; then
 5985  ac_cv_lib_dl_dlopen=yes
 5986else
 5987  echo "$as_me: failed program was:" >&5
 5988sed 's/^/| /' conftest.$ac_ext >&5
 5989
 5990	ac_cv_lib_dl_dlopen=no
 5991fi
 5992
 5993rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5994      conftest$ac_exeext conftest.$ac_ext
 5995LIBS=$ac_check_lib_save_LIBS
 5996fi
 5997{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 5998echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
 5999if test $ac_cv_lib_dl_dlopen = yes; then
 6000  THREADDLLIBS="$THREADDLLIBS -ldl"
 6001fi
 6002
 6003    ;;
 6004esac
 6005
 6006case "$host" in
 6007  *-*-hpux*)
 6008    avoid_cpp_lib=yes;;
 6009  *)
 6010    avoid_cpp_lib=no;
 6011    ;;
 6012esac
 6013
 6014
 6015if test $avoid_cpp_lib = yes; then
 6016  AVOID_CPP_LIB_TRUE=
 6017  AVOID_CPP_LIB_FALSE='#'
 6018else
 6019  AVOID_CPP_LIB_TRUE='#'
 6020  AVOID_CPP_LIB_FALSE=
 6021fi
 6022
 6023
 6024# extra LD Flags which are required for targets
 6025case "${host}" in
 6026  *-*-darwin*)
 6027    extra_ldflags_libgc=-Wl,-single_module
 6028    ;;
 6029esac
 6030
 6031
 6032
 6033
 6034target_all=libgc.la
 6035
 6036
 6037TARGET_ECOS="no"
 6038
 6039# Check whether --with-ecos was given.
 6040if test "${with_ecos+set}" = set; then
 6041  withval=$with_ecos; TARGET_ECOS="$with_ecos"
 6042
 6043fi
 6044
 6045
 6046addobjs=
 6047addlibs=
 6048CXXINCLUDES=
 6049case "$TARGET_ECOS" in
 6050   no)
 6051      ;;
 6052   *)
 6053      cat >>confdefs.h <<\_ACEOF
 6054#define ECOS 1
 6055_ACEOF
 6056
 6057      CXXINCLUDES="-I${TARGET_ECOS}/include"
 6058      addobjs="$addobjs ecos.lo"
 6059      ;;
 6060esac
 6061
 6062
 6063
 6064if test "${enable_cplusplus}" = yes; then
 6065  CPLUSPLUS_TRUE=
 6066  CPLUSPLUS_FALSE='#'
 6067else
 6068  CPLUSPLUS_TRUE='#'
 6069  CPLUSPLUS_FALSE=
 6070fi
 6071
 6072
 6073
 6074
 6075
 6076
 6077
 6078# Configuration of shared libraries
 6079#
 6080{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 6081echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
 6082# Check whether --enable-shared was given.
 6083if test "${enable_shared+set}" = set; then
 6084  enableval=$enable_shared; p=${PACKAGE-default}
 6085    case $enableval in
 6086    yes) enable_shared=yes ;;
 6087    no) enable_shared=no ;;
 6088    *)
 6089      enable_shared=no
 6090      # Look at the argument we got.  We use all the common list separators.
 6091      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 6092      for pkg in $enableval; do
 6093	IFS="$lt_save_ifs"
 6094	if test "X$pkg" = "X$p"; then
 6095	  enable_shared=yes
 6096	fi
 6097      done
 6098      IFS="$lt_save_ifs"
 6099      ;;
 6100    esac
 6101else
 6102  enable_shared=yes
 6103fi
 6104
 6105
 6106
 6107case "$host" in
 6108 alpha-*-openbsd*)
 6109     enable_shared=no
 6110     ;;
 6111 *)
 6112     ;;
 6113esac
 6114
 6115{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 6116echo "${ECHO_T}$enable_shared" >&6; }
 6117
 6118# Configuration of machine-dependent code
 6119#
 6120{ echo "$as_me:$LINENO: checking which machine-dependent code should be used" >&5
 6121echo $ECHO_N "checking which machine-dependent code should be used... $ECHO_C" >&6; }
 6122machdep=
 6123case "$host" in
 6124 alpha-*-openbsd*)
 6125    machdep="mach_dep.lo"
 6126    if test x"${ac_cv_lib_dl_dlopen}" != xyes ; then
 6127       { echo "$as_me:$LINENO: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&5
 6128echo "$as_me: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&2;}
 6129    fi
 6130    ;;
 6131 alpha*-*-linux*)
 6132    machdep="mach_dep.lo"
 6133    ;;
 6134 i?86-*-solaris2.[89] | i?86-*-solaris2.1?)
 6135    cat >>confdefs.h <<\_ACEOF
 6136#define SOLARIS25_PROC_VDB_BUG_FIXED 1
 6137_ACEOF
 6138
 6139    ;;
 6140 mipstx39-*-elf*)
 6141    machdep="mach_dep.lo"
 6142    cat >>confdefs.h <<\_ACEOF
 6143#define STACKBASE __stackbase
 6144_ACEOF
 6145
 6146    cat >>confdefs.h <<\_ACEOF
 6147#define DATASTART_IS_ETEXT 1
 6148_ACEOF
 6149
 6150    ;;
 6151 mips-dec-ultrix*)
 6152    machdep="mach-dep.lo"
 6153    ;;
 6154 mips-nec-sysv*|mips-unknown-sysv*)
 6155    ;;
 6156 mips*-*-linux*)
 6157    ;;
 6158 mips-*-*)
 6159    machdep="mach_dep.lo"
 6160                ;;
 6161 sparc-*-netbsd*)
 6162    machdep="mach_dep.lo sparc_netbsd_mach_dep.lo"
 6163    ;;
 6164 sparc-sun-solaris2.3)
 6165    machdep="mach_dep.lo sparc_mach_dep.lo"
 6166    cat >>confdefs.h <<\_ACEOF
 6167#define SUNOS53_SHARED_LIB 1
 6168_ACEOF
 6169
 6170    ;;
 6171 sparc*-sun-solaris2.*)
 6172    machdep="mach_dep.lo sparc_mach_dep.lo"
 6173    ;;
 6174 ia64-*-*)
 6175    machdep="mach_dep.lo ia64_save_regs_in_stack.lo"
 6176    ;;
 6177esac
 6178if test x"$machdep" = x; then
 6179{ echo "$as_me:$LINENO: result: $machdep" >&5
 6180echo "${ECHO_T}$machdep" >&6; }
 6181   machdep="mach_dep.lo"
 6182fi
 6183addobjs="$addobjs $machdep"
 6184
 6185
 6186
 6187# Check whether --enable-static was given.
 6188if test "${enable_static+set}" = set; then
 6189  enableval=$enable_static; p=${PACKAGE-default}
 6190    case $enableval in
 6191    yes) enable_static=yes ;;
 6192    no) enable_static=no ;;
 6193    *)
 6194     enable_static=no
 6195      # Look at the argument we got.  We use all the common list separators.
 6196      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 6197      for pkg in $enableval; do
 6198	IFS="$lt_save_ifs"
 6199	if test "X$pkg" = "X$p"; then
 6200	  enable_static=yes
 6201	fi
 6202      done
 6203      IFS="$lt_save_ifs"
 6204      ;;
 6205    esac
 6206else
 6207  enable_static=yes
 6208fi
 6209
 6210
 6211# Check whether --enable-fast-install was given.
 6212if test "${enable_fast_install+set}" = set; then
 6213  enableval=$enable_fast_install; p=${PACKAGE-default}
 6214    case $enableval in
 6215    yes) enable_fast_install=yes ;;
 6216    no) enable_fast_install=no ;;
 6217    *)
 6218      enable_fast_install=no
 6219      # Look at the argument we got.  We use all the common list separators.
 6220      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 6221      for pkg in $enableval; do
 6222	IFS="$lt_save_ifs"
 6223	if test "X$pkg" = "X$p"; then
 6224	  enable_fast_install=yes
 6225	fi
 6226      done
 6227      IFS="$lt_save_ifs"
 6228      ;;
 6229    esac
 6230else
 6231  enable_fast_install=yes
 6232fi
 6233
 6234
 6235{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 6236echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
 6237if test "${lt_cv_path_SED+set}" = set; then
 6238  echo $ECHO_N "(cached) $ECHO_C" >&6
 6239else
 6240  # Loop through the user's path and test for sed and gsed.
 6241# Then use that list of sed's as ones to test for truncation.
 6242as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6243for as_dir in $PATH
 6244do
 6245  IFS=$as_save_IFS
 6246  test -z "$as_dir" && as_dir=.
 6247  for lt_ac_prog in sed gsed; do
 6248    for ac_exec_ext in '' $ac_executable_extensions; do
 6249      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 6250        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
 6251      fi
 6252    done
 6253  done
 6254done
 6255lt_ac_max=0
 6256lt_ac_count=0
 6257# Add /usr/xpg4/bin/sed as it is typically found on Solaris
 6258# along with /bin/sed that truncates output.
 6259for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
 6260  test ! -f $lt_ac_sed && continue
 6261  cat /dev/null > conftest.in
 6262  lt_ac_count=0
 6263  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
 6264  # Check for GNU sed and select it if it is found.
 6265  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
 6266    lt_cv_path_SED=$lt_ac_sed
 6267    break
 6268  fi
 6269  while true; do
 6270    cat conftest.in conftest.in >conftest.tmp
 6271    mv conftest.tmp conftest.in
 6272    cp conftest.in conftest.nl
 6273    echo >>conftest.nl
 6274    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
 6275    cmp -s conftest.out conftest.nl || break
 6276    # 10000 chars as input seems more than enough
 6277    test $lt_ac_count -gt 10 && break
 6278    lt_ac_count=`expr $lt_ac_count + 1`
 6279    if test $lt_ac_count -gt $lt_ac_max; then
 6280      lt_ac_max=$lt_ac_count
 6281      lt_cv_path_SED=$lt_ac_sed
 6282    fi
 6283  done
 6284done
 6285
 6286fi
 6287
 6288SED=$lt_cv_path_SED
 6289{ echo "$as_me:$LINENO: result: $SED" >&5
 6290echo "${ECHO_T}$SED" >&6; }
 6291
 6292{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 6293echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 6294if test "${ac_cv_path_GREP+set}" = set; then
 6295  echo $ECHO_N "(cached) $ECHO_C" >&6
 6296else
 6297  # Extract the first word of "grep ggrep" to use in msg output
 6298if test -z "$GREP"; then
 6299set dummy grep ggrep; ac_prog_name=$2
 6300if test "${ac_cv_path_GREP+set}" = set; then
 6301  echo $ECHO_N "(cached) $ECHO_C" >&6
 6302else
 6303  ac_path_GREP_found=false
 6304# Loop through the user's path and test for each of PROGNAME-LIST
 6305as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6306for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 6307do
 6308  IFS=$as_save_IFS
 6309  test -z "$as_dir" && as_dir=.
 6310  for ac_prog in grep ggrep; do
 6311  for ac_exec_ext in '' $ac_executable_extensions; do
 6312    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 6313    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 6314    # Check for GNU ac_path_GREP and select it if it is found.
 6315  # Check for GNU $ac_path_GREP
 6316case `"$ac_path_GREP" --version 2>&1` in
 6317*GNU*)
 6318  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 6319*)
 6320  ac_count=0
 6321  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 6322  while :
 6323  do
 6324    cat "conftest.in" "conftest.in" >"conftest.tmp"
 6325    mv "conftest.tmp" "conftest.in"
 6326    cp "conftest.in" "conftest.nl"
 6327    echo 'GREP' >> "conftest.nl"
 6328    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 6329    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 6330    ac_count=`expr $ac_count + 1`
 6331    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 6332      # Best one so far, save it but keep looking for a better one
 6333      ac_cv_path_GREP="$ac_path_GREP"
 6334      ac_path_GREP_max=$ac_count
 6335    fi
 6336    # 10*(2^10) chars as input seems more than enough
 6337    test $ac_count -gt 10 && break
 6338  done
 6339  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 6340esac
 6341
 6342
 6343    $ac_path_GREP_found && break 3
 6344  done
 6345done
 6346
 6347done
 6348IFS=$as_save_IFS
 6349
 6350
 6351fi
 6352
 6353GREP="$ac_cv_path_GREP"
 6354if test -z "$GREP"; then
 6355  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 6356echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 6357   { (exit 1); exit 1; }; }
 6358fi
 6359
 6360else
 6361  ac_cv_path_GREP=$GREP
 6362fi
 6363
 6364
 6365fi
 6366{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 6367echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 6368 GREP="$ac_cv_path_GREP"
 6369
 6370
 6371{ echo "$as_me:$LINENO: checking for egrep" >&5
 6372echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 6373if test "${ac_cv_path_EGREP+set}" = set; then
 6374  echo $ECHO_N "(cached) $ECHO_C" >&6
 6375else
 6376  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 6377   then ac_cv_path_EGREP="$GREP -E"
 6378   else
 6379     # Extract the first word of "egrep" to use in msg output
 6380if test -z "$EGREP"; then
 6381set dummy egrep; ac_prog_name=$2
 6382if test "${ac_cv_path_EGREP+set}" = set; then
 6383  echo $ECHO_N "(cached) $ECHO_C" >&6
 6384else
 6385  ac_path_EGREP_found=false
 6386# Loop through the user's path and test for each of PROGNAME-LIST
 6387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6388for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 6389do
 6390  IFS=$as_save_IFS
 6391  test -z "$as_dir" && as_dir=.
 6392  for ac_prog in egrep; do
 6393  for ac_exec_ext in '' $ac_executable_extensions; do
 6394    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 6395    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 6396    # Check for GNU ac_path_EGREP and select it if it is found.
 6397  # Check for GNU $ac_path_EGREP
 6398case `"$ac_path_EGREP" --version 2>&1` in
 6399*GNU*)
 6400  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 6401*)
 6402  ac_count=0
 6403  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 6404  while :
 6405  do
 6406    cat "conftest.in" "conftest.in" >"conftest.tmp"
 6407    mv "conftest.tmp" "conftest.in"
 6408    cp "conftest.in" "conftest.nl"
 6409    echo 'EGREP' >> "conftest.nl"
 6410    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 6411    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 6412    ac_count=`expr $ac_count + 1`
 6413    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 6414      # Best one so far, save it but keep looking for a better one
 6415      ac_cv_path_EGREP="$ac_path_EGREP"
 6416      ac_path_EGREP_max=$ac_count
 6417    fi
 6418    # 10*(2^10) chars as input seems more than enough
 6419    test $ac_count -gt 10 && break
 6420  done
 6421  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 6422esac
 6423
 6424
 6425    $ac_path_EGREP_found && break 3
 6426  done
 6427done
 6428
 6429done
 6430IFS=$as_save_IFS
 6431
 6432
 6433fi
 6434
 6435EGREP="$ac_cv_path_EGREP"
 6436if test -z "$EGREP"; then
 6437  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 6438echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 6439   { (exit 1); exit 1; }; }
 6440fi
 6441
 6442else
 6443  ac_cv_path_EGREP=$EGREP
 6444fi
 6445
 6446
 6447   fi
 6448fi
 6449{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 6450echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 6451 EGREP="$ac_cv_path_EGREP"
 6452
 6453
 6454
 6455# Check whether --with-gnu-ld was given.
 6456if test "${with_gnu_ld+set}" = set; then
 6457  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 6458else
 6459  with_gnu_ld=no
 6460fi
 6461
 6462ac_prog=ld
 6463if test "$GCC" = yes; then
 6464  # Check if gcc -print-prog-name=ld gives a path.
 6465  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 6466echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 6467  case $host in
 6468  *-*-mingw*)
 6469    # gcc leaves a trailing carriage return which upsets mingw
 6470    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 6471  *)
 6472    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 6473  esac
 6474  case $ac_prog in
 6475    # Accept absolute paths.
 6476    [\\/]* | ?:[\\/]*)
 6477      re_direlt='/[^/][^/]*/\.\./'
 6478      # Canonicalize the pathname of ld
 6479      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
 6480      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 6481	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 6482      done
 6483      test -z "$LD" && LD="$ac_prog"
 6484      ;;
 6485  "")
 6486    # If it fails, then pretend we aren't using GCC.
 6487    ac_prog=ld
 6488    ;;
 6489  *)
 6490    # If it is relative, then search for the first ld in PATH.
 6491    with_gnu_ld=unknown
 6492    ;;
 6493  esac
 6494elif test "$with_gnu_ld" = yes; then
 6495  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 6496echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 6497else
 6498  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 6499echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 6500fi
 6501if test "${lt_cv_path_LD+set}" = set; then
 6502  echo $ECHO_N "(cached) $ECHO_C" >&6
 6503else
 6504  if test -z "$LD"; then
 6505  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 6506  for ac_dir in $PATH; do
 6507    IFS="$lt_save_ifs"
 6508    test -z "$ac_dir" && ac_dir=.
 6509    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 6510      lt_cv_path_LD="$ac_dir/$ac_prog"
 6511      # Check to see if the program is GNU ld.  I'd rather use --version,
 6512      # but apparently some variants of GNU ld only accept -v.
 6513      # Break only if it was the GNU/non-GNU ld that we prefer.
 6514      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 6515      *GNU* | *'with BFD'*)
 6516	test "$with_gnu_ld" != no && break
 6517	;;
 6518      *)
 6519	test "$with_gnu_ld" != yes && break
 6520	;;
 6521      esac
 6522    fi
 6523  done
 6524  IFS="$lt_save_ifs"
 6525else
 6526  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 6527fi
 6528fi
 6529
 6530LD="$lt_cv_path_LD"
 6531if test -n "$LD"; then
 6532  { echo "$as_me:$LINENO: result: $LD" >&5
 6533echo "${ECHO_T}$LD" >&6; }
 6534else
 6535  { echo "$as_me:$LINENO: result: no" >&5
 6536echo "${ECHO_T}no" >&6; }
 6537fi
 6538test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 6539echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 6540   { (exit 1); exit 1; }; }
 6541{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 6542echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 6543if test "${lt_cv_prog_gnu_ld+set}" = set; then
 6544  echo $ECHO_N "(cached) $ECHO_C" >&6
 6545else
 6546  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 6547case `$LD -v 2>&1 </dev/null` in
 6548*GNU* | *'with BFD'*)
 6549  lt_cv_prog_gnu_ld=yes
 6550  ;;
 6551*)
 6552  lt_cv_prog_gnu_ld=no
 6553  ;;
 6554esac
 6555fi
 6556{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 6557echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 6558with_gnu_ld=$lt_cv_prog_gnu_ld
 6559
 6560
 6561{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 6562echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
 6563if test "${lt_cv_ld_reload_flag+set}" = set; then
 6564  echo $ECHO_N "(cached) $ECHO_C" >&6
 6565else
 6566  lt_cv_ld_reload_flag='-r'
 6567fi
 6568{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 6569echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
 6570reload_flag=$lt_cv_ld_reload_flag
 6571case $reload_flag in
 6572"" | " "*) ;;
 6573*) reload_flag=" $reload_flag" ;;
 6574esac
 6575reload_cmds='$LD$reload_flag -o $output$reload_objs'
 6576case $host_os in
 6577  darwin*)
 6578    if test "$GCC" = yes; then
 6579      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 6580    else
 6581      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 6582    fi
 6583    ;;
 6584esac
 6585
 6586{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 6587echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 6588if test "${lt_cv_path_NM+set}" = set; then
 6589  echo $ECHO_N "(cached) $ECHO_C" >&6
 6590else
 6591  if test -n "$NM"; then
 6592  # Let the user override the test.
 6593  lt_cv_path_NM="$NM"
 6594else
 6595  lt_nm_to_check="${ac_tool_prefix}nm"
 6596  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 6597    lt_nm_to_check="$lt_nm_to_check nm"
 6598  fi
 6599  for lt_tmp_nm in $lt_nm_to_check; do
 6600    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 6601    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 6602      IFS="$lt_save_ifs"
 6603      test -z "$ac_dir" && ac_dir=.
 6604      tmp_nm="$ac_dir/$lt_tmp_nm"
 6605      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 6606	# Check to see if the nm accepts a BSD-compat flag.
 6607	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
 6608	#   nm: unknown option "B" ignored
 6609	# Tru64's nm complains that /dev/null is an invalid object file
 6610	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 6611	*/dev/null* | *'Invalid file or object type'*)
 6612	  lt_cv_path_NM="$tmp_nm -B"
 6613	  break
 6614	  ;;
 6615	*)
 6616	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 6617	  */dev/null*)
 6618	    lt_cv_path_NM="$tmp_nm -p"
 6619	    break
 6620	    ;;
 6621	  *)
 6622	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 6623	    continue # so that we can try to find one that supports BSD flags
 6624	    ;;
 6625	  esac
 6626	  ;;
 6627	esac
 6628      fi
 6629    done
 6630    IFS="$lt_save_ifs"
 6631  done
 6632  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 6633fi
 6634fi
 6635{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 6636echo "${ECHO_T}$lt_cv_path_NM" >&6; }
 6637NM="$lt_cv_path_NM"
 6638
 6639{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 6640echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 6641LN_S=$as_ln_s
 6642if test "$LN_S" = "ln -s"; then
 6643  { echo "$as_me:$LINENO: result: yes" >&5
 6644echo "${ECHO_T}yes" >&6; }
 6645else
 6646  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 6647echo "${ECHO_T}no, using $LN_S" >&6; }
 6648fi
 6649
 6650{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 6651echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
 6652if test "${lt_cv_deplibs_check_method+set}" = set; then
 6653  echo $ECHO_N "(cached) $ECHO_C" >&6
 6654else
 6655  lt_cv_file_magic_cmd='$MAGIC_CMD'
 6656lt_cv_file_magic_test_file=
 6657lt_cv_deplibs_check_method='unknown'
 6658# Need to set the preceding variable on all platforms that support
 6659# interlibrary dependencies.
 6660# 'none' -- dependencies not supported.
 6661# `unknown' -- same as none, but documents that we really don't know.
 6662# 'pass_all' -- all dependencies passed with no checks.
 6663# 'test_compile' -- check by making test program.
 6664# 'file_magic [[regex]]' -- check by looking for files in library path
 6665# which responds to the $file_magic_cmd with a given extended regex.
 6666# If you have `file' or equivalent on your system and you're not sure
 6667# whether `pass_all' will *always* work, you probably want this one.
 6668
 6669case $host_os in
 6670aix4* | aix5*)
 6671  lt_cv_deplibs_check_method=pass_all
 6672  ;;
 6673
 6674beos*)
 6675  lt_cv_deplibs_check_method=pass_all
 6676  ;;
 6677
 6678bsdi[45]*)
 6679  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 6680  lt_cv_file_magic_cmd='/usr/bin/file -L'
 6681  lt_cv_file_magic_test_file=/shlib/libc.so
 6682  ;;
 6683
 6684cygwin*)
 6685  # func_win32_libid is a shell function defined in ltmain.sh
 6686  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 6687  lt_cv_file_magic_cmd='func_win32_libid'
 6688  ;;
 6689
 6690mingw* | pw32*)
 6691  # Base MSYS/MinGW do not provide the 'file' command needed by
 6692  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
 6693  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 6694  lt_cv_file_magic_cmd='$OBJDUMP -f'
 6695  ;;
 6696
 6697darwin* | rhapsody*)
 6698  lt_cv_deplibs_check_method=pass_all
 6699  ;;
 6700
 6701freebsd* | kfreebsd*-gnu | dragonfly*)
 6702  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 6703    case $host_cpu in
 6704    i*86 )
 6705      # Not sure whether the presence of OpenBSD here was a mistake.
 6706      # Let's accept both of them until this is cleared up.
 6707      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 6708      lt_cv_file_magic_cmd=/usr/bin/file
 6709      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 6710      ;;
 6711    esac
 6712  else
 6713    lt_cv_deplibs_check_method=pass_all
 6714  fi
 6715  ;;
 6716
 6717gnu*)
 6718  lt_cv_deplibs_check_method=pass_all
 6719  ;;
 6720
 6721hpux10.20* | hpux11*)
 6722  lt_cv_file_magic_cmd=/usr/bin/file
 6723  case $host_cpu in
 6724  ia64*)
 6725    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 6726    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 6727    ;;
 6728  hppa*64*)
 6729    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 6730    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 6731    ;;
 6732  *)
 6733    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 6734    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 6735    ;;
 6736  esac
 6737  ;;
 6738
 6739interix3*)
 6740  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 6741  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 6742  ;;
 6743
 6744irix5* | irix6* | nonstopux*)
 6745  case $LD in
 6746  *-32|*"-32 ") libmagic=32-bit;;
 6747  *-n32|*"-n32 ") libmagic=N32;;
 6748  *-64|*"-64 ") libmagic=64-bit;;
 6749  *) libmagic=never-match;;
 6750  esac
 6751  lt_cv_deplibs_check_method=pass_all
 6752  ;;
 6753
 6754# This must be Linux ELF.
 6755linux*)
 6756  lt_cv_deplibs_check_method=pass_all
 6757  ;;
 6758
 6759netbsd*)
 6760  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 6761    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 6762  else
 6763    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 6764  fi
 6765  ;;
 6766
 6767newos6*)
 6768  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 6769  lt_cv_file_magic_cmd=/usr/bin/file
 6770  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 6771  ;;
 6772
 6773nto-qnx*)
 6774  lt_cv_deplibs_check_method=unknown
 6775  ;;
 6776
 6777openbsd*)
 6778  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 6779    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 6780  else
 6781    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 6782  fi
 6783  ;;
 6784
 6785osf3* | osf4* | osf5*)
 6786  lt_cv_deplibs_check_method=pass_all
 6787  ;;
 6788
 6789solaris*)
 6790  lt_cv_deplibs_check_method=pass_all
 6791  ;;
 6792
 6793sysv4 | sysv4.3*)
 6794  case $host_vendor in
 6795  motorola)
 6796    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]'
 6797    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 6798    ;;
 6799  ncr)
 6800    lt_cv_deplibs_check_method=pass_all
 6801    ;;
 6802  sequent)
 6803    lt_cv_file_magic_cmd='/bin/file'
 6804    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 6805    ;;
 6806  sni)
 6807    lt_cv_file_magic_cmd='/bin/file'
 6808    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 6809    lt_cv_file_magic_test_file=/lib/libc.so
 6810    ;;
 6811  siemens)
 6812    lt_cv_deplibs_check_method=pass_all
 6813    ;;
 6814  pc)
 6815    lt_cv_deplibs_check_method=pass_all
 6816    ;;
 6817  esac
 6818  ;;
 6819
 6820sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 6821  lt_cv_deplibs_check_method=pass_all
 6822  ;;
 6823esac
 6824
 6825fi
 6826{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 6827echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 6828file_magic_cmd=$lt_cv_file_magic_cmd
 6829deplibs_check_method=$lt_cv_deplibs_check_method
 6830test -z "$deplibs_check_method" && deplibs_check_method=unknown
 6831
 6832
 6833
 6834
 6835# If no C compiler was specified, use CC.
 6836LTCC=${LTCC-"$CC"}
 6837
 6838# If no C compiler flags were specified, use CFLAGS.
 6839LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 6840
 6841# Allow CC to be a program name with arguments.
 6842compiler=$CC
 6843
 6844# Check whether --enable-libtool-lock was given.
 6845if test "${enable_libtool_lock+set}" = set; then
 6846  enableval=$enable_libtool_lock;
 6847fi
 6848
 6849test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 6850
 6851# Some flags need to be propagated to the compiler or linker for good
 6852# libtool support.
 6853case $host in
 6854ia64-*-hpux*)
 6855  # Find out which ABI we are using.
 6856  echo 'int i;' > conftest.$ac_ext
 6857  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6858  (eval $ac_compile) 2>&5
 6859  ac_status=$?
 6860  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6861  (exit $ac_status); }; then
 6862    case `/usr/bin/file conftest.$ac_objext` in
 6863    *ELF-32*)
 6864      HPUX_IA64_MODE="32"
 6865      ;;
 6866    *ELF-64*)
 6867      HPUX_IA64_MODE="64"
 6868      ;;
 6869    esac
 6870  fi
 6871  rm -rf conftest*
 6872  ;;
 6873*-*-irix6*)
 6874  # Find out which ABI we are using.
 6875  echo '#line 6875 "configure"' > conftest.$ac_ext
 6876  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6877  (eval $ac_compile) 2>&5
 6878  ac_status=$?
 6879  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6880  (exit $ac_status); }; then
 6881   if test "$lt_cv_prog_gnu_ld" = yes; then
 6882    case `/usr/bin/file conftest.$ac_objext` in
 6883    *32-bit*)
 6884      LD="${LD-ld} -melf32bsmip"
 6885      ;;
 6886    *N32*)
 6887      LD="${LD-ld} -melf32bmipn32"
 6888      ;;
 6889    *64-bit*)
 6890      LD="${LD-ld} -melf64bmip"
 6891      ;;
 6892    esac
 6893   else
 6894    case `/usr/bin/file conftest.$ac_objext` in
 6895    *32-bit*)
 6896      LD="${LD-ld} -32"
 6897      ;;
 6898    *N32*)
 6899      LD="${LD-ld} -n32"
 6900      ;;
 6901    *64-bit*)
 6902      LD="${LD-ld} -64"
 6903      ;;
 6904    esac
 6905   fi
 6906  fi
 6907  rm -rf conftest*
 6908  ;;
 6909
 6910x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 6911  # Find out which ABI we are using.
 6912  echo 'int i;' > conftest.$ac_ext
 6913  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6914  (eval $ac_compile) 2>&5
 6915  ac_status=$?
 6916  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6917  (exit $ac_status); }; then
 6918    case `/usr/bin/file conftest.o` in
 6919    *32-bit*)
 6920      case $host in
 6921        x86_64-*linux*)
 6922          LD="${LD-ld} -m elf_i386"
 6923          ;;
 6924        ppc64-*linux*|powerpc64-*linux*)
 6925          LD="${LD-ld} -m elf32ppclinux"
 6926          ;;
 6927        s390x-*linux*)
 6928          LD="${LD-ld} -m elf_s390"
 6929          ;;
 6930        sparc64-*linux*)
 6931          LD="${LD-ld} -m elf32_sparc"
 6932          ;;
 6933      esac
 6934      ;;
 6935    *64-bit*)
 6936      case $host in
 6937        x86_64-*linux*)
 6938          LD="${LD-ld} -m elf_x86_64"
 6939          ;;
 6940        ppc*-*linux*|powerpc*-*linux*)
 6941          LD="${LD-ld} -m elf64ppc"
 6942          ;;
 6943        s390*-*linux*)
 6944          LD="${LD-ld} -m elf64_s390"
 6945          ;;
 6946        sparc*-*linux*)
 6947          LD="${LD-ld} -m elf64_sparc"
 6948          ;;
 6949      esac
 6950      ;;
 6951    esac
 6952  fi
 6953  rm -rf conftest*
 6954  ;;
 6955
 6956*-*-sco3.2v5*)
 6957  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 6958  SAVE_CFLAGS="$CFLAGS"
 6959  CFLAGS="$CFLAGS -belf"
 6960  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 6961echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
 6962if test "${lt_cv_cc_needs_belf+set}" = set; then
 6963  echo $ECHO_N "(cached) $ECHO_C" >&6
 6964else
 6965  ac_ext=c
 6966ac_cpp='$CPP $CPPFLAGS'
 6967ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 6968ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 6969ac_compiler_gnu=$ac_cv_c_compiler_gnu
 6970
 6971     cat >conftest.$ac_ext <<_ACEOF
 6972/* confdefs.h.  */
 6973_ACEOF
 6974cat confdefs.h >>conftest.$ac_ext
 6975cat >>conftest.$ac_ext <<_ACEOF
 6976/* end confdefs.h.  */
 6977
 6978int
 6979main ()
 6980{
 6981
 6982  ;
 6983  return 0;
 6984}
 6985_ACEOF
 6986rm -f conftest.$ac_objext conftest$ac_exeext
 6987if { (ac_try="$ac_link"
 6988case "(($ac_try" in
 6989  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 6990  *) ac_try_echo=$ac_try;;
 6991esac
 6992eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 6993  (eval "$ac_link") 2>conftest.er1
 6994  ac_status=$?
 6995  grep -v '^ *+' conftest.er1 >conftest.err
 6996  rm -f conftest.er1
 6997  cat conftest.err >&5
 6998  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6999  (exit $ac_status); } && {
 7000	 test -z "$ac_c_werror_flag" ||
 7001	 test ! -s conftest.err
 7002       } && test -s conftest$ac_exeext &&
 7003       $as_test_x conftest$ac_exeext; then
 7004  lt_cv_cc_needs_belf=yes
 7005else
 7006  echo "$as_me: failed program was:" >&5
 7007sed 's/^/| /' conftest.$ac_ext >&5
 7008
 7009	lt_cv_cc_needs_belf=no
 7010fi
 7011
 7012rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 7013      conftest$ac_exeext conftest.$ac_ext
 7014     ac_ext=c
 7015ac_cpp='$CPP $CPPFLAGS'
 7016ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 7017ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 7018ac_compiler_gnu=$ac_cv_c_compiler_gnu
 7019
 7020fi
 7021{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 7022echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
 7023  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 7024    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 7025    CFLAGS="$SAVE_CFLAGS"
 7026  fi
 7027  ;;
 7028sparc*-*solaris*)
 7029  # Find out which ABI we are using.
 7030  echo 'int i;' > conftest.$ac_ext
 7031  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7032  (eval $ac_compile) 2>&5
 7033  ac_status=$?
 7034  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7035  (exit $ac_status); }; then
 7036    case `/usr/bin/file conftest.o` in
 7037    *64-bit*)
 7038      case $lt_cv_prog_gnu_ld in
 7039      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 7040      *)    LD="${LD-ld} -64" ;;
 7041      esac
 7042      ;;
 7043    esac
 7044  fi
 7045  rm -rf conftest*
 7046  ;;
 7047
 7048
 7049esac
 7050
 7051need_locks="$enable_libtool_lock"
 7052
 7053
 7054ac_ext=c
 7055ac_cpp='$CPP $CPPFLAGS'
 7056ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 7057ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 7058ac_compiler_gnu=$ac_cv_c_compiler_gnu
 7059{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 7060echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 7061# On Suns, sometimes $CPP names a directory.
 7062if test -n "$CPP" && test -d "$CPP"; then
 7063  CPP=
 7064fi
 7065if test -z "$CPP"; then
 7066  if test "${ac_cv_prog_CPP+set}" = set; then
 7067  echo $ECHO_N "(cached) $ECHO_C" >&6
 7068else
 7069      # Double quotes because CPP needs to be expanded
 7070    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 7071    do
 7072      ac_preproc_ok=false
 7073for ac_c_preproc_warn_flag in '' yes
 7074do
 7075  # Use a header file that comes with gcc, so configuring glibc
 7076  # with a fresh cross-compiler works.
 7077  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 7078  # <limits.h> exists even on freestanding compilers.
 7079  # On the NeXT, cc -E runs the code through the compiler's parser,
 7080  # not just through cpp. "Syntax error" is here to catch this case.
 7081  cat >conftest.$ac_ext <<_ACEOF
 7082/* confdefs.h.  */
 7083_ACEOF
 7084cat confdefs.h >>conftest.$ac_ext
 7085cat >>conftest.$ac_ext <<_ACEOF
 7086/* end confdefs.h.  */
 7087#ifdef __STDC__
 7088# include <limits.h>
 7089#else
 7090# include <assert.h>
 7091#endif
 7092		     Syntax error
 7093_ACEOF
 7094if { (ac_try="$ac_cpp conftest.$ac_ext"
 7095case "(($ac_try" in
 7096  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7097  *) ac_try_echo=$ac_try;;
 7098esac
 7099eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 7100  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 7101  ac_status=$?
 7102  grep -v '^ *+' conftest.er1 >conftest.err
 7103  rm -f conftest.er1
 7104  cat conftest.err >&5
 7105  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7106  (exit $ac_status); } >/dev/null && {
 7107	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 7108	 test ! -s conftest.err
 7109       }; then
 7110  :
 7111else
 7112  echo "$as_me: failed program was:" >&5
 7113sed 's/^/| /' conftest.$ac_ext >&5
 7114
 7115  # Broken: fails on valid input.
 7116continue
 7117fi
 7118
 7119rm -f conftest.err conftest.$ac_ext
 7120
 7121  # OK, works on sane cases.  Now check whether nonexistent headers
 7122  # can be detected and how.
 7123  cat >conftest.$ac_ext <<_ACEOF
 7124/* confdefs.h.  */
 7125_ACEOF
 7126cat confdefs.h >>conftest.$ac_ext
 7127cat >>conftest.$ac_ext <<_ACEOF
 7128/* end confdefs.h.  */
 7129#include <ac_nonexistent.h>
 7130_ACEOF
 7131if { (ac_try="$ac_cpp conftest.$ac_ext"
 7132case "(($ac_try" in
 7133  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7134  *) ac_try_echo=$ac_try;;
 7135esac
 7136eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 7137  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 7138  ac_status=$?
 7139  grep -v '^ *+' conftest.er1 >conftest.err
 7140  rm -f conftest.er1
 7141  cat conftest.err >&5
 7142  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7143  (exit $ac_status); } >/dev/null && {
 7144	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 7145	 test ! -s conftest.err
 7146       }; then
 7147  # Broken: success on invalid input.
 7148continue
 7149else
 7150  echo "$as_me: failed program was:" >&5
 7151sed 's/^/| /' conftest.$ac_ext >&5
 7152
 7153  # Passes both tests.
 7154ac_preproc_ok=:
 7155break
 7156fi
 7157
 7158rm -f conftest.err conftest.$ac_ext
 7159
 7160done
 7161# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 7162rm -f conftest.err conftest.$ac_ext
 7163if $ac_preproc_ok; then
 7164  break
 7165fi
 7166
 7167    done
 7168    ac_cv_prog_CPP=$CPP
 7169
 7170fi
 7171  CPP=$ac_cv_prog_CPP
 7172else
 7173  ac_cv_prog_CPP=$CPP
 7174fi
 7175{ echo "$as_me:$LINENO: result: $CPP" >&5
 7176echo "${ECHO_T}$CPP" >&6; }
 7177ac_preproc_ok=false
 7178for ac_c_preproc_warn_flag in '' yes
 7179do
 7180  # Use a header file that comes with gcc, so configuring glibc
 7181  # with a fresh cross-compiler works.
 7182  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 7183  # <limits.h> exists even on freestanding compilers.
 7184  # On the NeXT, cc -E runs the code through the compiler's parser,
 7185  # not just through cpp. "Syntax error" is here to catch this case.
 7186  cat >conftest.$ac_ext <<_ACEOF
 7187/* confdefs.h.  */
 7188_ACEOF
 7189cat confdefs.h >>conftest.$ac_ext
 7190cat >>conftest.$ac_ext <<_ACEOF
 7191/* end confdefs.h.  */
 7192#ifdef __STDC__
 7193# include <limits.h>
 7194#else
 7195# include <assert.h>
 7196#endif
 7197		     Syntax error
 7198_ACEOF
 7199if { (ac_try="$ac_cpp conftest.$ac_ext"
 7200case "(($ac_try" in
 7201  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7202  *) ac_try_echo=$ac_try;;
 7203esac
 7204eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 7205  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 7206  ac_status=$?
 7207  grep -v '^ *+' conftest.er1 >conftest.err
 7208  rm -f conftest.er1
 7209  cat conftest.err >&5
 7210  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7211  (exit $ac_status); } >/dev/null && {
 7212	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 7213	 test ! -s conftest.err
 7214       }; then
 7215  :
 7216else
 7217  echo "$as_me: failed program was:" >&5
 7218sed 's/^/| /' conftest.$ac_ext >&5
 7219
 7220  # Broken: fails on valid input.
 7221continue
 7222fi
 7223
 7224rm -f conftest.err conftest.$ac_ext
 7225
 7226  # OK, works on sane cases.  Now check whether nonexistent headers
 7227  # can be detected and how.
 7228  cat >conftest.$ac_ext <<_ACEOF
 7229/* confdefs.h.  */
 7230_ACEOF
 7231cat confdefs.h >>conftest.$ac_ext
 7232cat >>conftest.$ac_ext <<_ACEOF
 7233/* end confdefs.h.  */
 7234#include <ac_nonexistent.h>
 7235_ACEOF
 7236if { (ac_try="$ac_cpp conftest.$ac_ext"
 7237case "(($ac_try" in
 7238  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7239  *) ac_try_echo=$ac_try;;
 7240esac
 7241eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 7242  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 7243  ac_status=$?
 7244  grep -v '^ *+' conftest.er1 >conftest.err
 7245  rm -f conftest.er1
 7246  cat conftest.err >&5
 7247  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7248  (exit $ac_status); } >/dev/null && {
 7249	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 7250	 test ! -s conftest.err
 7251       }; then
 7252  # Broken: success on invalid input.
 7253continue
 7254else
 7255  echo "$as_me: failed program was:" >&5
 7256sed 's/^/| /' conftest.$ac_ext >&5
 7257
 7258  # Passes both tests.
 7259ac_preproc_ok=:
 7260break
 7261fi
 7262
 7263rm -f conftest.err conftest.$ac_ext
 7264
 7265done
 7266# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 7267rm -f conftest.err conftest.$ac_ext
 7268if $ac_preproc_ok; then
 7269  :
 7270else
 7271  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 7272See \`config.log' for more details." >&5
 7273echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 7274See \`config.log' for more details." >&2;}
 7275   { (exit 1); exit 1; }; }
 7276fi
 7277
 7278ac_ext=c
 7279ac_cpp='$CPP $CPPFLAGS'
 7280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 7281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 7282ac_compiler_gnu=$ac_cv_c_compiler_gnu
 7283
 7284
 7285{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 7286echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 7287if test "${ac_cv_header_stdc+set}" = set; then
 7288  echo $ECHO_N "(cached) $ECHO_C" >&6
 7289else
 7290  cat >conftest.$ac_ext <<_ACEOF
 7291/* confdefs.h.  */
 7292_ACEOF
 7293cat confdefs.h >>conftest.$ac_ext
 7294cat >>conftest.$ac_ext <<_ACEOF
 7295/* end confdefs.h.  */
 7296#include <stdlib.h>
 7297#include <stdarg.h>
 7298#include <string.h>
 7299#include <float.h>
 7300
 7301int
 7302main ()
 7303{
 7304
 7305  ;
 7306  return 0;
 7307}
 7308_ACEOF
 7309rm -f conftest.$ac_objext
 7310if { (ac_try="$ac_compile"
 7311case "(($ac_try" in
 7312  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7313  *) ac_try_echo=$ac_try;;
 7314esac
 7315eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 7316  (eval "$ac_compile") 2>conftest.er1
 7317  ac_status=$?
 7318  grep -v '^ *+' conftest.er1 >conftest.err
 7319  rm -f conftest.er1
 7320  cat conftest.err >&5
 7321  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7322  (exit $ac_status); } && {
 7323	 test -z "$ac_c_werror_flag" ||
 7324	 test ! -s conftest.err
 7325       } && test -s conftest.$ac_objext; then
 7326  ac_cv_header_stdc=yes
 7327else
 7328  echo "$as_me: failed program was:" >&5
 7329sed 's/^/| /' conftest.$ac_ext >&5
 7330
 7331	ac_cv_header_stdc=no
 7332fi
 7333
 7334rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7335
 7336if test $ac_cv_header_stdc = yes; then
 7337  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 7338  cat >conftest.$ac_ext <<_ACEOF
 7339/* confdefs.h.  */
 7340_ACEOF
 7341cat confdefs.h >>conftest.$ac_ext
 7342cat >>conftest.$ac_ext <<_ACEOF
 7343/* end confdefs.h.  */
 7344#include <string.h>
 7345
 7346_ACEOF
 7347if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 7348  $EGREP "memchr" >/dev/null 2>&1; then
 7349  :
 7350else
 7351  ac_cv_header_stdc=no
 7352fi
 7353rm -f conftest*
 7354
 7355fi
 7356
 7357if test $ac_cv_header_stdc = yes; then
 7358  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 7359  cat >conftest.$ac_ext <<_ACEOF
 7360/* confdefs.h.  */
 7361_ACEOF
 7362cat confdefs.h >>conftest.$ac_ext
 7363cat >>conftest.$ac_ext <<_ACEOF
 7364/* end confdefs.h.  */
 7365#include <stdlib.h>
 7366
 7367_ACEOF
 7368if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 7369  $EGREP "free" >/dev/null 2>&1; then
 7370  :
 7371else
 7372  ac_cv_header_stdc=no
 7373fi
 7374rm -f conftest*
 7375
 7376fi
 7377
 7378if test $ac_cv_header_stdc = yes; then
 7379  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 7380  if test "$cross_compiling" = yes; then
 7381  :
 7382else
 7383  cat >conftest.$ac_ext <<_ACEOF
 7384/* confdefs.h.  */
 7385_ACEOF
 7386cat confdefs.h >>conftest.$ac_ext
 7387cat >>conftest.$ac_ext <<_ACEOF
 7388/* end confdefs.h.  */
 7389#include <ctype.h>
 7390#include <stdlib.h>
 7391#if ((' ' & 0x0FF) == 0x020)
 7392# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 7393# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 7394#else
 7395# define ISLOWER(c) \
 7396		   (('a' <= (c) && (c) <= 'i') \
 7397		     || ('j' <= (c) && (c) <= 'r') \
 7398		     || ('s' <= (c) && (c) <= 'z'))
 7399# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 7400#endif
 7401
 7402#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 7403int
 7404main ()
 7405{
 7406  int i;
 7407  for (i = 0; i < 256; i++)
 7408    if (XOR (islower (i), ISLOWER (i))
 7409	|| toupper (i) != TOUPPER (i))
 7410      return 2;
 7411  return 0;
 7412}
 7413_ACEOF
 7414rm -f conftest$ac_exeext
 7415if { (ac_try="$ac_link"
 7416case "(($ac_try" in
 7417  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7418  *) ac_try_echo=$ac_try;;
 7419esac
 7420eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 7421  (eval "$ac_link") 2>&5
 7422  ac_status=$?
 7423  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7424  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 7425  { (case "(($ac_try" in
 7426  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7427  *) ac_try_echo=$ac_try;;
 7428esac
 7429eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 7430  (eval "$ac_try") 2>&5
 7431  ac_status=$?
 7432  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7433  (exit $ac_status); }; }; then
 7434  :
 7435else
 7436  echo "$as_me: program exited with status $ac_status" >&5
 7437echo "$as_me: failed program was:" >&5
 7438sed 's/^/| /' conftest.$ac_ext >&5
 7439
 7440( exit $ac_status )
 7441ac_cv_header_stdc=no
 7442fi
 7443rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 7444fi
 7445
 7446
 7447fi
 7448fi
 7449{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 7450echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 7451if test $ac_cv_header_stdc = yes; then
 7452
 7453cat >>confdefs.h <<\_ACEOF
 7454#define STDC_HEADERS 1
 7455_ACEOF
 7456
 7457fi
 7458
 7459# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 7460
 7461
 7462
 7463
 7464
 7465
 7466
 7467
 7468
 7469for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 7470		  inttypes.h stdint.h unistd.h
 7471do
 7472as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 7473{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 7474echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 7475if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 7476  echo $ECHO_N "(cached) $ECHO_C" >&6
 7477else
 7478  cat >conftest.$ac_ext <<_ACEOF
 7479/* confdefs.h.  */
 7480_ACEOF
 7481cat confdefs.h >>conftest.$ac_ext
 7482cat >>conftest.$ac_ext <<_ACEOF
 7483/* end confdefs.h.  */
 7484$ac_includes_default
 7485
 7486#include <$ac_header>
 7487_ACEOF
 7488rm -f conftest.$ac_objext
 7489if { (ac_try="$ac_compile"
 7490case "(($ac_try" in
 7491  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7492  *) ac_try_echo=$ac_try;;
 7493esac
 7494eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 7495  (eval "$ac_compile") 2>conftest.er1
 7496  ac_status=$?
 7497  grep -v '^ *+' conftest.er1 >conftest.err
 7498  rm -f conftest.er1
 7499  cat conftest.err >&5
 7500  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7501  (exit $ac_status); } && {
 7502	 test -z "$ac_c_werror_flag" ||
 7503	 test ! -s conftest.err
 7504       } && test -s conftest.$ac_objext; then
 7505  eval "$as_ac_Header=yes"
 7506else
 7507  echo "$as_me: failed program was:" >&5
 7508sed 's/^/| /' conftest.$ac_ext >&5
 7509
 7510	eval "$as_ac_Header=no"
 7511fi
 7512
 7513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7514fi
 7515ac_res=`eval echo '${'$as_ac_Header'}'`
 7516	       { echo "$as_me:$LINENO: result: $ac_res" >&5
 7517echo "${ECHO_T}$ac_res" >