source: trunk/dports/emulators/advancemame/files/patch-configure.diff @ 47268

Last change on this file since 47268 was 39996, checked in by milosh@…, 12 years ago

Patch for advancemame to compile on intel macs.
Thanks to jcopenha_at_typedef.org in #16155

File size: 543.4 KB
  • configure

    old new  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59 for advance source.
     3# Generated by GNU Autoconf 2.61 for advance source.
    44#
    5 # Copyright (C) 2003 Free Software Foundation, Inc.
     5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    67# This configure script is free software; the Free Software Foundation
    78# gives unlimited permission to copy, distribute and modify it.
    89#
     
    1112## M4sh Initialization.  ##
    1213## --------------------- ##
    1314
    14 # Be Bourne compatible
     15# Be more Bourne compatible
     16DUALCASE=1; export DUALCASE # for MKS sh
    1517if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1618  emulate sh
    1719  NULLCMD=:
    1820  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    1921  # is contrary to our usage.  Disable this feature.
    2022  alias -g '${1+"$@"}'='"$@"'
    21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    22   set -o posix
     23  setopt NO_GLOB_SUBST
     24else
     25  case `(set -o) 2>/dev/null` in
     26  *posix*) set -o posix ;;
     27esac
     28
     29fi
     30
     31
     32
     33
     34# PATH needs CR
     35# Avoid depending upon Character Ranges.
     36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39as_cr_digits='0123456789'
     40as_cr_alnum=$as_cr_Letters$as_cr_digits
     41
     42# The user is always right.
     43if test "${PATH_SEPARATOR+set}" != set; then
     44  echo "#! /bin/sh" >conf$$.sh
     45  echo  "exit 0"   >>conf$$.sh
     46  chmod +x conf$$.sh
     47  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     48    PATH_SEPARATOR=';'
     49  else
     50    PATH_SEPARATOR=:
     51  fi
     52  rm -f conf$$.sh
    2353fi
    24 DUALCASE=1; export DUALCASE # for MKS sh
    2554
    2655# Support unset when possible.
    2756if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     
    3160fi
    3261
    3362
     63# IFS
     64# We need space, tab and new line, in precisely that order.  Quoting is
     65# there to prevent editors from complaining about space-tab.
     66# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     67# splitting by setting IFS to empty value.)
     68as_nl='
     69'
     70IFS=" ""        $as_nl"
     71
     72# Find who we are.  Look in the path if we contain no directory separator.
     73case $0 in
     74  *[\\/]* ) as_myself=$0 ;;
     75  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     76for as_dir in $PATH
     77do
     78  IFS=$as_save_IFS
     79  test -z "$as_dir" && as_dir=.
     80  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     81done
     82IFS=$as_save_IFS
     83
     84     ;;
     85esac
     86# We did not find ourselves, most probably we were run as `sh COMMAND'
     87# in which case we are not to be found in the path.
     88if test "x$as_myself" = x; then
     89  as_myself=$0
     90fi
     91if test ! -f "$as_myself"; then
     92  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     93  { (exit 1); exit 1; }
     94fi
     95
    3496# Work around bugs in pre-3.0 UWIN ksh.
    35 $as_unset ENV MAIL MAILPATH
     97for as_var in ENV MAIL MAILPATH
     98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     99done
    36100PS1='$ '
    37101PS2='> '
    38102PS4='+ '
     
    46110  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    47111    eval $as_var=C; export $as_var
    48112  else
    49     $as_unset $as_var
     113    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    50114  fi
    51115done
    52116
    53117# Required to use basename.
    54 if expr a : '\(a\)' >/dev/null 2>&1; then
     118if expr a : '\(a\)' >/dev/null 2>&1 &&
     119   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    55120  as_expr=expr
    56121else
    57122  as_expr=false
    58123fi
    59124
    60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    61126  as_basename=basename
    62127else
    63128  as_basename=false
     
    65130
    66131
    67132# Name of the executable.
    68 as_me=`$as_basename "$0" ||
     133as_me=`$as_basename -- "$0" ||
    69134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    70135         X"$0" : 'X\(//\)$' \| \
    71          X"$0" : 'X\(/\)$' \| \
    72          .     : '\(.\)' 2>/dev/null ||
     136         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    73137echo X/"$0" |
    74     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    75           /^X\/\(\/\/\)$/{ s//\1/; q; }
    76           /^X\/\(\/\).*/{ s//\1/; q; }
    77           s/.*/./; q'`
     138    sed '/^.*\/\([^/][^/]*\)\/*$/{
     139            s//\1/
     140            q
     141          }
     142          /^X\/\(\/\/\)$/{
     143            s//\1/
     144            q
     145          }
     146          /^X\/\(\/\).*/{
     147            s//\1/
     148            q
     149          }
     150          s/.*/./; q'`
    78151
     152# CDPATH.
     153$as_unset CDPATH
    79154
    80 # PATH needs CR, and LINENO needs CR and PATH.
    81 # Avoid depending upon Character Ranges.
    82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    85 as_cr_digits='0123456789'
    86 as_cr_alnum=$as_cr_Letters$as_cr_digits
    87155
    88 # The user is always right.
    89 if test "${PATH_SEPARATOR+set}" != set; then
    90   echo "#! /bin/sh" >conf$$.sh
    91   echo  "exit 0"   >>conf$$.sh
    92   chmod +x conf$$.sh
    93   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    94     PATH_SEPARATOR=';'
    95   else
    96     PATH_SEPARATOR=:
    97   fi
    98   rm -f conf$$.sh
     156if test "x$CONFIG_SHELL" = x; then
     157  if (eval ":") 2>/dev/null; then
     158  as_have_required=yes
     159else
     160  as_have_required=no
     161fi
     162
     163  if test $as_have_required = yes &&     (eval ":
     164(as_func_return () {
     165  (exit \$1)
     166}
     167as_func_success () {
     168  as_func_return 0
     169}
     170as_func_failure () {
     171  as_func_return 1
     172}
     173as_func_ret_success () {
     174  return 0
     175}
     176as_func_ret_failure () {
     177  return 1
     178}
     179
     180exitcode=0
     181if as_func_success; then
     182  :
     183else
     184  exitcode=1
     185  echo as_func_success failed.
    99186fi
    100187
     188if as_func_failure; then
     189  exitcode=1
     190  echo as_func_failure succeeded.
     191fi
    101192
    102   as_lineno_1=$LINENO
    103   as_lineno_2=$LINENO
    104   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    105   test "x$as_lineno_1" != "x$as_lineno_2" &&
    106   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    107   # Find who we are.  Look in the path if we contain no path at all
    108   # relative or not.
    109   case $0 in
    110     *[\\/]* ) as_myself=$0 ;;
    111     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    112 for as_dir in $PATH
    113 do
    114   IFS=$as_save_IFS
    115   test -z "$as_dir" && as_dir=.
    116   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    117 done
     193if as_func_ret_success; then
     194  :
     195else
     196  exitcode=1
     197  echo as_func_ret_success failed.
     198fi
    118199
    119        ;;
    120   esac
    121   # We did not find ourselves, most probably we were run as `sh COMMAND'
    122   # in which case we are not to be found in the path.
    123   if test "x$as_myself" = x; then
    124     as_myself=$0
    125   fi
    126   if test ! -f "$as_myself"; then
    127     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    128    { (exit 1); exit 1; }; }
    129   fi
    130   case $CONFIG_SHELL in
    131   '')
     200if as_func_ret_failure; then
     201  exitcode=1
     202  echo as_func_ret_failure succeeded.
     203fi
     204
     205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     206  :
     207else
     208  exitcode=1
     209  echo positional parameters were not saved.
     210fi
     211
     212test \$exitcode = 0) || { (exit 1); exit 1; }
     213
     214(
     215  as_lineno_1=\$LINENO
     216  as_lineno_2=\$LINENO
     217  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
     218  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
     219") 2> /dev/null; then
     220  :
     221else
     222  as_candidate_shells=
    132223    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    133224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    134225do
    135226  IFS=$as_save_IFS
    136227  test -z "$as_dir" && as_dir=.
    137   for as_base in sh bash ksh sh5; do
    138          case $as_dir in
     228  case $as_dir in
    139229         /*)
    140            if ("$as_dir/$as_base" -c '
     230           for as_base in sh bash ksh sh5; do
     231             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
     232           done;;
     233       esac
     234done
     235IFS=$as_save_IFS
     236
     237
     238      for as_shell in $as_candidate_shells $SHELL; do
     239         # Try only shells that exist, to save several forks.
     240         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     241                { ("$as_shell") 2> /dev/null <<\_ASEOF
     242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     243  emulate sh
     244  NULLCMD=:
     245  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     246  # is contrary to our usage.  Disable this feature.
     247  alias -g '${1+"$@"}'='"$@"'
     248  setopt NO_GLOB_SUBST
     249else
     250  case `(set -o) 2>/dev/null` in
     251  *posix*) set -o posix ;;
     252esac
     253
     254fi
     255
     256
     257:
     258_ASEOF
     259}; then
     260  CONFIG_SHELL=$as_shell
     261               as_have_required=yes
     262               if { "$as_shell" 2> /dev/null <<\_ASEOF
     263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     264  emulate sh
     265  NULLCMD=:
     266  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     267  # is contrary to our usage.  Disable this feature.
     268  alias -g '${1+"$@"}'='"$@"'
     269  setopt NO_GLOB_SUBST
     270else
     271  case `(set -o) 2>/dev/null` in
     272  *posix*) set -o posix ;;
     273esac
     274
     275fi
     276
     277
     278:
     279(as_func_return () {
     280  (exit $1)
     281}
     282as_func_success () {
     283  as_func_return 0
     284}
     285as_func_failure () {
     286  as_func_return 1
     287}
     288as_func_ret_success () {
     289  return 0
     290}
     291as_func_ret_failure () {
     292  return 1
     293}
     294
     295exitcode=0
     296if as_func_success; then
     297  :
     298else
     299  exitcode=1
     300  echo as_func_success failed.
     301fi
     302
     303if as_func_failure; then
     304  exitcode=1
     305  echo as_func_failure succeeded.
     306fi
     307
     308if as_func_ret_success; then
     309  :
     310else
     311  exitcode=1
     312  echo as_func_ret_success failed.
     313fi
     314
     315if as_func_ret_failure; then
     316  exitcode=1
     317  echo as_func_ret_failure succeeded.
     318fi
     319
     320if ( set x; as_func_ret_success y && test x = "$1" ); then
     321  :
     322else
     323  exitcode=1
     324  echo positional parameters were not saved.
     325fi
     326
     327test $exitcode = 0) || { (exit 1); exit 1; }
     328
     329(
    141330  as_lineno_1=$LINENO
    142331  as_lineno_2=$LINENO
    143   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    144332  test "x$as_lineno_1" != "x$as_lineno_2" &&
    145   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    146              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    147              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    148              CONFIG_SHELL=$as_dir/$as_base
    149              export CONFIG_SHELL
    150              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    151            fi;;
    152          esac
    153        done
    154 done
    155 ;;
    156   esac
     333  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
     334
     335_ASEOF
     336}; then
     337  break
     338fi
     339
     340fi
     341
     342      done
     343
     344      if test "x$CONFIG_SHELL" != x; then
     345  for as_var in BASH_ENV ENV
     346        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     347        done
     348        export CONFIG_SHELL
     349        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
     350fi
     351
     352
     353    if test $as_have_required = no; then
     354  echo This script requires a shell more modern than all the
     355      echo shells that I found on your system.  Please install a
     356      echo modern shell, or manually run the script under such a
     357      echo shell if you do have one.
     358      { (exit 1); exit 1; }
     359fi
     360
     361
     362fi
     363
     364fi
     365
     366
     367
     368(eval "as_func_return () {
     369  (exit \$1)
     370}
     371as_func_success () {
     372  as_func_return 0
     373}
     374as_func_failure () {
     375  as_func_return 1
     376}
     377as_func_ret_success () {
     378  return 0
     379}
     380as_func_ret_failure () {
     381  return 1
     382}
     383
     384exitcode=0
     385if as_func_success; then
     386  :
     387else
     388  exitcode=1
     389  echo as_func_success failed.
     390fi
     391
     392if as_func_failure; then
     393  exitcode=1
     394  echo as_func_failure succeeded.
     395fi
     396
     397if as_func_ret_success; then
     398  :
     399else
     400  exitcode=1
     401  echo as_func_ret_success failed.
     402fi
     403
     404if as_func_ret_failure; then
     405  exitcode=1
     406  echo as_func_ret_failure succeeded.
     407fi
     408
     409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     410  :
     411else
     412  exitcode=1
     413  echo positional parameters were not saved.
     414fi
     415
     416test \$exitcode = 0") || {
     417  echo No shell found that supports shell functions.
     418  echo Please tell autoconf@gnu.org about your system,
     419  echo including any error possibly output before this
     420  echo message
     421}
     422
     423
     424
     425  as_lineno_1=$LINENO
     426  as_lineno_2=$LINENO
     427  test "x$as_lineno_1" != "x$as_lineno_2" &&
     428  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    157429
    158430  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    159431  # uniformly replaced by the line number.  The first 'sed' inserts a
    160   # line-number line before each line; the second 'sed' does the real
    161   # work.  The second script uses 'N' to pair each line-number line
    162   # with the numbered line, and appends trailing '-' during
    163   # substitution so that $LINENO is not a special case at line end.
     432  # line-number line after each line using $LINENO; the second 'sed'
     433  # does the real work.  The second script uses 'N' to pair each
     434  # line-number line with the line containing $LINENO, and appends
     435  # trailing '-' during substitution so that $LINENO is not a special
     436  # case at line end.
    164437  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    165   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    166   sed '=' <$as_myself |
     438  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     439  # E. McMahon (1931-1989) for sed's syntax.  :-)
     440  sed -n '
     441    p
     442    /[$]LINENO/=
     443  ' <$as_myself |
    167444    sed '
     445      s/[$]LINENO.*/&-/
     446      t lineno
     447      b
     448      :lineno
    168449      N
    169       s,$,-,
    170       : loop
    171       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     450      :loop
     451      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    172452      t loop
    173       s,-$,,
    174       s,^['$as_cr_digits']*\n,,
     453      s/-\n.*//
    175454    ' >$as_me.lineno &&
    176   chmod +x $as_me.lineno ||
     455  chmod +x "$as_me.lineno" ||
    177456    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    178457   { (exit 1); exit 1; }; }
    179458
    180459  # Don't try to exec as it changes $[0], causing all sort of problems
    181460  # (the dirname of $[0] is not the place where we might find the
    182   # original and so on.  Autoconf is especially sensible to this).
    183   . ./$as_me.lineno
     461  # original and so on.  Autoconf is especially sensitive to this).
     462  . "./$as_me.lineno"
    184463  # Exit status is that of the last command.
    185464  exit
    186465}
    187466
    188467
    189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    190   *c*,-n*) ECHO_N= ECHO_C='
    191 ' ECHO_T='      ' ;;
    192   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    193   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     469  as_dirname=dirname
     470else
     471  as_dirname=false
     472fi
     473
     474ECHO_C= ECHO_N= ECHO_T=
     475case `echo -n x` in
     476-n*)
     477  case `echo 'x\c'` in
     478  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
     479  *)   ECHO_C='\c';;
     480  esac;;
     481*)
     482  ECHO_N='-n';;
    194483esac
    195484
    196 if expr a : '\(a\)' >/dev/null 2>&1; then
     485if expr a : '\(a\)' >/dev/null 2>&1 &&
     486   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    197487  as_expr=expr
    198488else
    199489  as_expr=false
    200490fi
    201491
    202492rm -f conf$$ conf$$.exe conf$$.file
     493if test -d conf$$.dir; then
     494  rm -f conf$$.dir/conf$$.file
     495else
     496  rm -f conf$$.dir
     497  mkdir conf$$.dir
     498fi
    203499echo >conf$$.file
    204500if ln -s conf$$.file conf$$ 2>/dev/null; then
    205   # We could just check for DJGPP; but this test a) works b) is more generic
    206   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    207   if test -f conf$$.exe; then
    208     # Don't use ln at all; we don't have any links
     501  as_ln_s='ln -s'
     502  # ... but there are two gotchas:
     503  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     504  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     505  # In both cases, we have to default to `cp -p'.
     506  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    209507    as_ln_s='cp -p'
    210   else
    211     as_ln_s='ln -s'
    212   fi
    213508elif ln conf$$.file conf$$ 2>/dev/null; then
    214509  as_ln_s=ln
    215510else
    216511  as_ln_s='cp -p'
    217512fi
    218 rm -f conf$$ conf$$.exe conf$$.file
     513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     514rmdir conf$$.dir 2>/dev/null
    219515
    220516if mkdir -p . 2>/dev/null; then
    221517  as_mkdir_p=:
     
    224520  as_mkdir_p=false
    225521fi
    226522
    227 as_executable_p="test -f"
     523if test -x / >/dev/null 2>&1; then
     524  as_test_x='test -x'
     525else
     526  if ls -dL / >/dev/null 2>&1; then
     527    as_ls_L_option=L
     528  else
     529    as_ls_L_option=
     530  fi
     531  as_test_x='
     532    eval sh -c '\''
     533      if test -d "$1"; then
     534        test -d "$1/.";
     535      else
     536        case $1 in
     537        -*)set "./$1";;
     538        esac;
     539        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     540        ???[sx]*):;;*)false;;esac;fi
     541    '\'' sh
     542  '
     543fi
     544as_executable_p=$as_test_x
    228545
    229546# Sed expression to map a string onto a valid CPP name.
    230547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     
    233550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    234551
    235552
    236 # IFS
    237 # We need space, tab and new line, in precisely that order.
    238 as_nl='
    239 '
    240 IFS="   $as_nl"
    241 
    242 # CDPATH.
    243 $as_unset CDPATH
    244553
     554exec 7<&0 </dev/null 6>&1
    245555
    246556# Name of the host.
    247557# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    248558# so uname gets run too.
    249559ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    250560
    251 exec 6>&1
    252 
    253561#
    254562# Initializations.
    255563#
    256564ac_default_prefix=/usr/local
     565ac_clean_files=
    257566ac_config_libobj_dir=.
     567LIBOBJS=
    258568cross_compiling=no
    259569subdirs=
    260570MFLAGS=
    261571MAKEFLAGS=
    262572SHELL=${CONFIG_SHELL-/bin/sh}
    263573
    264 # Maximum number of lines to put in a shell here document.
    265 # This variable seems obsolete.  It should probably be removed, and
    266 # only ac_max_sed_lines should be used.
    267 : ${ac_max_here_lines=38}
    268 
    269574# Identity of this package.
    270575PACKAGE_NAME='advance'
    271576PACKAGE_TARNAME='advance'
     
    276581# Factoring default headers for most tests.
    277582ac_includes_default="\
    278583#include <stdio.h>
    279 #if HAVE_SYS_TYPES_H
     584#ifdef HAVE_SYS_TYPES_H
    280585# include <sys/types.h>
    281586#endif
    282 #if HAVE_SYS_STAT_H
     587#ifdef HAVE_SYS_STAT_H
    283588# include <sys/stat.h>
    284589#endif
    285 #if STDC_HEADERS
     590#ifdef STDC_HEADERS
    286591# include <stdlib.h>
    287592# include <stddef.h>
    288593#else
    289 # if HAVE_STDLIB_H
     594# ifdef HAVE_STDLIB_H
    290595#  include <stdlib.h>
    291596# endif
    292597#endif
    293 #if HAVE_STRING_H
    294 # if !STDC_HEADERS && HAVE_MEMORY_H
     598#ifdef HAVE_STRING_H
     599# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    295600#  include <memory.h>
    296601# endif
    297602# include <string.h>
    298603#endif
    299 #if HAVE_STRINGS_H
     604#ifdef HAVE_STRINGS_H
    300605# include <strings.h>
    301606#endif
    302 #if HAVE_INTTYPES_H
     607#ifdef HAVE_INTTYPES_H
    303608# include <inttypes.h>
    304 #else
    305 # if HAVE_STDINT_H
    306 #  include <stdint.h>
    307 # endif
    308609#endif
    309 #if HAVE_UNISTD_H
     610#ifdef HAVE_STDINT_H
     611# include <stdint.h>
     612#endif
     613#ifdef HAVE_UNISTD_H
    310614# include <unistd.h>
    311615#endif"
    312616
    313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os ASMFLAGS CFLAGS_FOR_BUILD EXE CONF_SYSTEM CONF_HOST EXE_FOR_BUILD CONF_BUILD CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S AR ac_ct_AR RC ac_ct_RC RM CP MKDIR ECHO TAR GZIP ZIP CC_FOR_BUILD CXX_FOR_BUILD CONF_DEBUG CONF_CFLAGS_OPT CONF_LDFLAGS CPP EGREP ASM CONF_CFLAGS_ARCH CONF_EMU CONF_DEBUGGER ALLOCA CONF_LIB_ZLIB CONF_LIB_EXPAT CONF_LIB_SVGALIB CONF_LIB_FB CONF_LIB_ALSA CONF_LIB_OSS CONF_LIB_PTHREAD CONF_LIB_SLANG CONF_LIB_NCURSES ac_lib_freetype_config FREETYPECFLAGS FREETYPELIBS CONF_LIB_FREETYPE ac_lib_sdl_config SDLCFLAGS SDLLIBS CONF_LIB_SDL CONF_LIB_SVGAWIN CONF_LIB_MRAWINPUT CONF_LIB_MCPN CONF_LIB_KRAW CONF_LIB_JRAW CONF_LIB_MRAW CONF_LIB_MEVENT CONF_LIB_KEVENT CONF_LIB_JEVENT CONF_LIB_DIRECT LIBOBJS LTLIBOBJS'
     617ac_subst_vars='SHELL
     618PATH_SEPARATOR
     619PACKAGE_NAME
     620PACKAGE_TARNAME
     621PACKAGE_VERSION
     622PACKAGE_STRING
     623PACKAGE_BUGREPORT
     624exec_prefix
     625prefix
     626program_transform_name
     627bindir
     628sbindir
     629libexecdir
     630datarootdir
     631datadir
     632sysconfdir
     633sharedstatedir
     634localstatedir
     635includedir
     636oldincludedir
     637docdir
     638infodir
     639htmldir
     640dvidir
     641pdfdir
     642psdir
     643libdir
     644localedir
     645mandir
     646DEFS
     647ECHO_C
     648ECHO_N
     649ECHO_T
     650LIBS
     651build_alias
     652host_alias
     653target_alias
     654build
     655build_cpu
     656build_vendor
     657build_os
     658host
     659host_cpu
     660host_vendor
     661host_os
     662ASMFLAGS
     663CFLAGS_FOR_BUILD
     664EXE
     665CONF_SYSTEM
     666CONF_HOST
     667EXE_FOR_BUILD
     668CONF_BUILD
     669CC
     670CFLAGS
     671LDFLAGS
     672CPPFLAGS
     673ac_ct_CC
     674EXEEXT
     675OBJEXT
     676CXX
     677CXXFLAGS
     678ac_ct_CXX
     679INSTALL_PROGRAM
     680INSTALL_SCRIPT
     681INSTALL_DATA
     682LN_S
     683AR
     684ac_ct_AR
     685RC
     686ac_ct_RC
     687RM
     688CP
     689MKDIR
     690ECHO
     691TAR
     692GZIP
     693ZIP
     694CC_FOR_BUILD
     695CXX_FOR_BUILD
     696CONF_DEBUG
     697CONF_CFLAGS_OPT
     698CONF_LDFLAGS
     699CPP
     700GREP
     701EGREP
     702ASM
     703CONF_CFLAGS_ARCH
     704CONF_EMU
     705CONF_DEBUGGER
     706ALLOCA
     707CONF_LIB_ZLIB
     708CONF_LIB_EXPAT
     709CONF_LIB_SVGALIB
     710CONF_LIB_FB
     711CONF_LIB_ALSA
     712CONF_LIB_OSS
     713CONF_LIB_PTHREAD
     714CONF_LIB_SLANG
     715CONF_LIB_NCURSES
     716ac_lib_freetype_config
     717FREETYPECFLAGS
     718FREETYPELIBS
     719CONF_LIB_FREETYPE
     720ac_lib_sdl_config
     721SDLCFLAGS
     722SDLLIBS
     723CONF_LIB_SDL
     724CONF_LIB_SVGAWIN
     725CONF_LIB_MRAWINPUT
     726CONF_LIB_MCPN
     727CONF_LIB_KRAW
     728CONF_LIB_JRAW
     729CONF_LIB_MRAW
     730CONF_LIB_MEVENT
     731CONF_LIB_KEVENT
     732CONF_LIB_JEVENT
     733CONF_LIB_DIRECT
     734LIBOBJS
     735LTLIBOBJS'
    314736ac_subst_files=''
     737      ac_precious_vars='build_alias
     738host_alias
     739target_alias
     740CC
     741CFLAGS
     742LDFLAGS
     743LIBS
     744CPPFLAGS
     745CXX
     746CXXFLAGS
     747CCC
     748CPP'
     749
    315750
    316751# Initialize some variables set by options.
    317752ac_init_help=
     
    338773# and all the variables that are supposed to be based on exec_prefix
    339774# by default will actually change.
    340775# Use braces instead of parens because sh, perl, etc. also accept them.
     776# (The list follows the same order as the GNU Coding Standards.)
    341777bindir='${exec_prefix}/bin'
    342778sbindir='${exec_prefix}/sbin'
    343779libexecdir='${exec_prefix}/libexec'
    344 datadir='${prefix}/share'
     780datarootdir='${prefix}/share'
     781datadir='${datarootdir}'
    345782sysconfdir='${prefix}/etc'
    346783sharedstatedir='${prefix}/com'
    347784localstatedir='${prefix}/var'
    348 libdir='${exec_prefix}/lib'
    349785includedir='${prefix}/include'
    350786oldincludedir='/usr/include'
    351 infodir='${prefix}/info'
    352 mandir='${prefix}/man'
     787docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
     788infodir='${datarootdir}/info'
     789htmldir='${docdir}'
     790dvidir='${docdir}'
     791pdfdir='${docdir}'
     792psdir='${docdir}'
     793libdir='${exec_prefix}/lib'
     794localedir='${datarootdir}/locale'
     795mandir='${datarootdir}/man'
    353796
    354797ac_prev=
     798ac_dashdash=
    355799for ac_option
    356800do
    357801  # If the previous option needs an argument, assign it.
    358802  if test -n "$ac_prev"; then
    359     eval "$ac_prev=\$ac_option"
     803    eval $ac_prev=\$ac_option
    360804    ac_prev=
    361805    continue
    362806  fi
    363807
    364   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     808  case $ac_option in
     809  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     810  *)    ac_optarg=yes ;;
     811  esac
    365812
    366813  # Accept the important Cygnus configure options, so we can diagnose typos.
    367814
    368   case $ac_option in
     815  case $ac_dashdash$ac_option in
     816  --)
     817    ac_dashdash=yes ;;
    369818
    370819  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    371820    ac_prev=bindir ;;
     
    387836  --config-cache | -C)
    388837    cache_file=config.cache ;;
    389838
    390   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     839  -datadir | --datadir | --datadi | --datad)
    391840    ac_prev=datadir ;;
    392   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    393   | --da=*)
     841  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    394842    datadir=$ac_optarg ;;
    395843
     844  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     845  | --dataroo | --dataro | --datar)
     846    ac_prev=datarootdir ;;
     847  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     848  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     849    datarootdir=$ac_optarg ;;
     850
    396851  -disable-* | --disable-*)
    397852    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    398853    # Reject names that are not valid shell variable names.
    399     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     854    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    400855      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    401856   { (exit 1); exit 1; }; }
    402     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    403     eval "enable_$ac_feature=no" ;;
     857    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     858    eval enable_$ac_feature=no ;;
     859
     860  -docdir | --docdir | --docdi | --doc | --do)
     861    ac_prev=docdir ;;
     862  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
     863    docdir=$ac_optarg ;;
     864
     865  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
     866    ac_prev=dvidir ;;
     867  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
     868    dvidir=$ac_optarg ;;
    404869
    405870  -enable-* | --enable-*)
    406871    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    407872    # Reject names that are not valid shell variable names.
    408     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     873    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    409874      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    410875   { (exit 1); exit 1; }; }
    411     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    412     case $ac_option in
    413       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    414       *) ac_optarg=yes ;;
    415     esac
    416     eval "enable_$ac_feature='$ac_optarg'" ;;
     876    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     877    eval enable_$ac_feature=\$ac_optarg ;;
    417878
    418879  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    419880  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
     
    440901  -host=* | --host=* | --hos=* | --ho=*)
    441902    host_alias=$ac_optarg ;;
    442903
     904  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
     905    ac_prev=htmldir ;;
     906  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
     907  | --ht=*)
     908    htmldir=$ac_optarg ;;
     909
    443910  -includedir | --includedir | --includedi | --included | --include \
    444911  | --includ | --inclu | --incl | --inc)
    445912    ac_prev=includedir ;;
     
    464931  | --libexe=* | --libex=* | --libe=*)
    465932    libexecdir=$ac_optarg ;;
    466933
     934  -localedir | --localedir | --localedi | --localed | --locale)
     935    ac_prev=localedir ;;
     936  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     937    localedir=$ac_optarg ;;
     938
    467939  -localstatedir | --localstatedir | --localstatedi | --localstated \
    468   | --localstate | --localstat | --localsta | --localst \
    469   | --locals | --local | --loca | --loc | --lo)
     940  | --localstate | --localstat | --localsta | --localst | --locals)
    470941    ac_prev=localstatedir ;;
    471942  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    472   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    473   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     943  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    474944    localstatedir=$ac_optarg ;;
    475945
    476946  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
     
    5351005  | --progr-tra=* | --program-tr=* | --program-t=*)
    5361006    program_transform_name=$ac_optarg ;;
    5371007
     1008  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
     1009    ac_prev=pdfdir ;;
     1010  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
     1011    pdfdir=$ac_optarg ;;
     1012
     1013  -psdir | --psdir | --psdi | --psd | --ps)
     1014    ac_prev=psdir ;;
     1015  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
     1016    psdir=$ac_optarg ;;
     1017
    5381018  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    5391019  | -silent | --silent | --silen | --sile | --sil)
    5401020    silent=yes ;;
     
    5871067  -with-* | --with-*)
    5881068    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    5891069    # Reject names that are not valid shell variable names.
    590     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     1070    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    5911071      { echo "$as_me: error: invalid package name: $ac_package" >&2
    5921072   { (exit 1); exit 1; }; }
    593     ac_package=`echo $ac_package| sed 's/-/_/g'`
    594     case $ac_option in
    595       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    596       *) ac_optarg=yes ;;
    597     esac
    598     eval "with_$ac_package='$ac_optarg'" ;;
     1073    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     1074    eval with_$ac_package=\$ac_optarg ;;
    5991075
    6001076  -without-* | --without-*)
    6011077    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    6021078    # Reject names that are not valid shell variable names.
    603     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     1079    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    6041080      { echo "$as_me: error: invalid package name: $ac_package" >&2
    6051081   { (exit 1); exit 1; }; }
    606     ac_package=`echo $ac_package | sed 's/-/_/g'`
    607     eval "with_$ac_package=no" ;;
     1082    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     1083    eval with_$ac_package=no ;;
    6081084
    6091085  --x)
    6101086    # Obsolete; use --with-x.
     
    6351111    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    6361112      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    6371113   { (exit 1); exit 1; }; }
    638     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    639     eval "$ac_envvar='$ac_optarg'"
     1114    eval $ac_envvar=\$ac_optarg
    6401115    export $ac_envvar ;;
    6411116
    6421117  *)
     
    6561131   { (exit 1); exit 1; }; }
    6571132fi
    6581133
    659 # Be sure to have absolute paths.
    660 for ac_var in exec_prefix prefix
    661 do
    662   eval ac_val=$`echo $ac_var`
    663   case $ac_val in
    664     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    665     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    666    { (exit 1); exit 1; }; };;
    667   esac
    668 done
    669 
    670 # Be sure to have absolute paths.
    671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    672               localstatedir libdir includedir oldincludedir infodir mandir
     1134# Be sure to have absolute directory names.
     1135for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
     1136                datadir sysconfdir sharedstatedir localstatedir includedir \
     1137                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
     1138                libdir localedir mandir
    6731139do
    674   eval ac_val=$`echo $ac_var`
     1140  eval ac_val=\$$ac_var
    6751141  case $ac_val in
    676     [\\/$]* | ?:[\\/]* ) ;;
    677     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    678    { (exit 1); exit 1; }; };;
     1142    [\\/$]* | ?:[\\/]* )  continue;;
     1143    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    6791144  esac
     1145  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1146   { (exit 1); exit 1; }; }
    6801147done
    6811148
    6821149# There might be people who depend on the old broken behavior: `$host'
     
    7031170test "$silent" = yes && exec 6>/dev/null
    7041171
    7051172
     1173ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1174ac_ls_di=`ls -di .` &&
     1175ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1176  { echo "$as_me: error: Working directory cannot be determined" >&2
     1177   { (exit 1); exit 1; }; }
     1178test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     1179  { echo "$as_me: error: pwd does not report name of working directory" >&2
     1180   { (exit 1); exit 1; }; }
     1181
     1182
    7061183# Find the source files, if location was not specified.
    7071184if test -z "$srcdir"; then
    7081185  ac_srcdir_defaulted=yes
    709   # Try the directory containing this script, then its parent.
    710   ac_confdir=`(dirname "$0") 2>/dev/null ||
     1186  # Try the directory containing this script, then the parent directory.
     1187  ac_confdir=`$as_dirname -- "$0" ||
    7111188$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    7121189         X"$0" : 'X\(//\)[^/]' \| \
    7131190         X"$0" : 'X\(//\)$' \| \
    714          X"$0" : 'X\(/\)' \| \
    715          .     : '\(.\)' 2>/dev/null ||
     1191         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    7161192echo X"$0" |
    717     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    718           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    719           /^X\(\/\/\)$/{ s//\1/; q; }
    720           /^X\(\/\).*/{ s//\1/; q; }
    721           s/.*/./; q'`
     1193    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     1194            s//\1/
     1195            q
     1196          }
     1197          /^X\(\/\/\)[^/].*/{
     1198            s//\1/
     1199            q
     1200          }
     1201          /^X\(\/\/\)$/{
     1202            s//\1/
     1203            q
     1204          }
     1205          /^X\(\/\).*/{
     1206            s//\1/
     1207            q
     1208          }
     1209          s/.*/./; q'`
    7221210  srcdir=$ac_confdir
    723   if test ! -r $srcdir/$ac_unique_file; then
     1211  if test ! -r "$srcdir/$ac_unique_file"; then
    7241212    srcdir=..
    7251213  fi
    7261214else
    7271215  ac_srcdir_defaulted=no
    7281216fi
    729 if test ! -r $srcdir/$ac_unique_file; then
    730   if test "$ac_srcdir_defaulted" = yes; then
    731     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    732    { (exit 1); exit 1; }; }
    733   else
    734     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    735    { (exit 1); exit 1; }; }
    736   fi
    737 fi
    738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    739   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    740    { (exit 1); exit 1; }; }
    741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    742 ac_env_build_alias_set=${build_alias+set}
    743 ac_env_build_alias_value=$build_alias
    744 ac_cv_env_build_alias_set=${build_alias+set}
    745 ac_cv_env_build_alias_value=$build_alias
    746 ac_env_host_alias_set=${host_alias+set}
    747 ac_env_host_alias_value=$host_alias
    748 ac_cv_env_host_alias_set=${host_alias+set}
    749 ac_cv_env_host_alias_value=$host_alias
    750 ac_env_target_alias_set=${target_alias+set}
    751 ac_env_target_alias_value=$target_alias
    752 ac_cv_env_target_alias_set=${target_alias+set}
    753 ac_cv_env_target_alias_value=$target_alias
    754 ac_env_CC_set=${CC+set}
    755 ac_env_CC_value=$CC
    756 ac_cv_env_CC_set=${CC+set}
    757 ac_cv_env_CC_value=$CC
    758 ac_env_CFLAGS_set=${CFLAGS+set}
    759 ac_env_CFLAGS_value=$CFLAGS
    760 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    761 ac_cv_env_CFLAGS_value=$CFLAGS
    762 ac_env_LDFLAGS_set=${LDFLAGS+set}
    763 ac_env_LDFLAGS_value=$LDFLAGS
    764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    765 ac_cv_env_LDFLAGS_value=$LDFLAGS
    766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    767 ac_env_CPPFLAGS_value=$CPPFLAGS
    768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    770 ac_env_CXX_set=${CXX+set}
    771 ac_env_CXX_value=$CXX
    772 ac_cv_env_CXX_set=${CXX+set}
    773 ac_cv_env_CXX_value=$CXX
    774 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    775 ac_env_CXXFLAGS_value=$CXXFLAGS
    776 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    777 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    778 ac_env_CPP_set=${CPP+set}
    779 ac_env_CPP_value=$CPP
    780 ac_cv_env_CPP_set=${CPP+set}
    781 ac_cv_env_CPP_value=$CPP
     1217if test ! -r "$srcdir/$ac_unique_file"; then
     1218  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
     1219  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1220   { (exit 1); exit 1; }; }
     1221fi
     1222ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1223ac_abs_confdir=`(
     1224        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
     1225   { (exit 1); exit 1; }; }
     1226        pwd)`
     1227# When building in place, set srcdir=.
     1228if test "$ac_abs_confdir" = "$ac_pwd"; then
     1229  srcdir=.
     1230fi
     1231# Remove unnecessary trailing slashes from srcdir.
     1232# Double slashes in file names in object file debugging info
     1233# mess up M-x gdb in Emacs.
     1234case $srcdir in
     1235*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1236esac
     1237for ac_var in $ac_precious_vars; do
     1238  eval ac_env_${ac_var}_set=\${${ac_var}+set}
     1239  eval ac_env_${ac_var}_value=\$${ac_var}
     1240  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
     1241  eval ac_cv_env_${ac_var}_value=\$${ac_var}
     1242done
    7821243
    7831244#
    7841245# Report the --help message.
     
    8071268  -n, --no-create         do not create output files
    8081269      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    8091270
    810 _ACEOF
    811 
    812   cat <<_ACEOF
    8131271Installation directories:
    8141272  --prefix=PREFIX         install architecture-independent files in PREFIX
    8151273                          [$ac_default_prefix]
     
    8271285  --bindir=DIR           user executables [EPREFIX/bin]
    8281286  --sbindir=DIR          system admin executables [EPREFIX/sbin]
    8291287  --libexecdir=DIR       program executables [EPREFIX/libexec]
    830   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    8311288  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    8321289  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    8331290  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    8341291  --libdir=DIR           object code libraries [EPREFIX/lib]
    8351292  --includedir=DIR       C header files [PREFIX/include]
    8361293  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    837   --infodir=DIR          info documentation [PREFIX/info]
    838   --mandir=DIR           man documentation [PREFIX/man]
     1294  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
     1295  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
     1296  --infodir=DIR          info documentation [DATAROOTDIR/info]
     1297  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
     1298  --mandir=DIR           man documentation [DATAROOTDIR/man]
     1299  --docdir=DIR           documentation root [DATAROOTDIR/doc/advance]
     1300  --htmldir=DIR          html documentation [DOCDIR]
     1301  --dvidir=DIR           dvi documentation [DOCDIR]
     1302  --pdfdir=DIR           pdf documentation [DOCDIR]
     1303  --psdir=DIR            ps documentation [DOCDIR]
    8391304_ACEOF
    8401305
    8411306  cat <<\_ACEOF
     
    8601325  --enable-test           enable the test compilation without optimization.
    8611326                          Only for developers. (default no)
    8621327  --enable-static         enable static compilation. (default no)
     1328  --enable-backtrace      enable the usage of backtrace (default auto)
     1329  --enable-ucontexth      enable the usage of ucontext.h (default auto)
    8631330  --enable-asm            enable the Pentium assembler optimizations (default
    8641331                          auto)
    8651332  --enable-asm-mips3      enable the Pentium assembler MIPS3 emulator (default
     
    9121379  CFLAGS      C compiler flags
    9131380  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    9141381              nonstandard directory <lib dir>
    915   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    916               headers in a nonstandard directory <include dir>
     1382  LIBS        libraries to pass to the linker, e.g. -l<library>
     1383  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1384              you have headers in a nonstandard directory <include dir>
    9171385  CXX         C++ compiler command
    9181386  CXXFLAGS    C++ compiler flags
    9191387  CPP         C preprocessor
     
    9221390it to find libraries and programs with nonstandard names/locations.
    9231391
    9241392_ACEOF
     1393ac_status=$?
    9251394fi
    9261395
    9271396if test "$ac_init_help" = "recursive"; then
    9281397  # If there are subdirs, report their specific --help.
    929   ac_popdir=`pwd`
    9301398  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    931     test -d $ac_dir || continue
     1399    test -d "$ac_dir" || continue
    9321400    ac_builddir=.
    9331401
    934 if test "$ac_dir" != .; then
     1402case "$ac_dir" in
     1403.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1404*)
    9351405  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    936   # A "../" for each directory in $ac_dir_suffix.
    937   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    938 else
    939   ac_dir_suffix= ac_top_builddir=
    940 fi
     1406  # A ".." for each directory in $ac_dir_suffix.
     1407  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     1408  case $ac_top_builddir_sub in
     1409  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1410  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     1411  esac ;;
     1412esac
     1413ac_abs_top_builddir=$ac_pwd
     1414ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1415# for backward compatibility:
     1416ac_top_builddir=$ac_top_build_prefix
    9411417
    9421418case $srcdir in
    943   .)  # No --srcdir option.  We are building in place.
     1419  .)  # We are building in place.
    9441420    ac_srcdir=.
    945     if test -z "$ac_top_builddir"; then
    946        ac_top_srcdir=.
    947     else
    948        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    949     fi ;;
    950   [\\/]* | ?:[\\/]* )  # Absolute path.
     1421    ac_top_srcdir=$ac_top_builddir_sub
     1422    ac_abs_top_srcdir=$ac_pwd ;;
     1423  [\\/]* | ?:[\\/]* )  # Absolute name.
    9511424    ac_srcdir=$srcdir$ac_dir_suffix;
    952     ac_top_srcdir=$srcdir ;;
    953   *) # Relative path.
    954     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    955     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    956 esac
    957 
    958 # Do not use `cd foo && pwd` to compute absolute paths, because
    959 # the directories may not exist.
    960 case `pwd` in
    961 .) ac_abs_builddir="$ac_dir";;
    962 *)
    963   case "$ac_dir" in
    964   .) ac_abs_builddir=`pwd`;;
    965   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    966   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    967   esac;;
    968 esac
    969 case $ac_abs_builddir in
    970 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    971 *)
    972   case ${ac_top_builddir}. in
    973   .) ac_abs_top_builddir=$ac_abs_builddir;;
    974   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    975   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    976   esac;;
    977 esac
    978 case $ac_abs_builddir in
    979 .) ac_abs_srcdir=$ac_srcdir;;
    980 *)
    981   case $ac_srcdir in
    982   .) ac_abs_srcdir=$ac_abs_builddir;;
    983   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    984   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    985   esac;;
    986 esac
    987 case $ac_abs_builddir in
    988 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    989 *)
    990   case $ac_top_srcdir in
    991   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    992   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    993   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    994   esac;;
     1425    ac_top_srcdir=$srcdir
     1426    ac_abs_top_srcdir=$srcdir ;;
     1427  *) # Relative name.
     1428    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     1429    ac_top_srcdir=$ac_top_build_prefix$srcdir
     1430    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
    9951431esac
     1432ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    9961433
    997     cd $ac_dir
    998     # Check for guested configure; otherwise get Cygnus style configure.
    999     if test -f $ac_srcdir/configure.gnu; then
    1000       echo
    1001       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    1002     elif test -f $ac_srcdir/configure; then
    1003       echo
    1004       $SHELL $ac_srcdir/configure  --help=recursive
    1005     elif test -f $ac_srcdir/configure.ac ||
    1006            test -f $ac_srcdir/configure.in; then
    1007       echo
    1008       $ac_configure --help
     1434    cd "$ac_dir" || { ac_status=$?; continue; }
     1435    # Check for guested configure.
     1436    if test -f "$ac_srcdir/configure.gnu"; then
     1437      echo &&
     1438      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
     1439    elif test -f "$ac_srcdir/configure"; then
     1440      echo &&
     1441      $SHELL "$ac_srcdir/configure" --help=recursive
    10091442    else
    10101443      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    1011     fi
    1012     cd $ac_popdir
     1444    fi || ac_status=$?
     1445    cd "$ac_pwd" || { ac_status=$?; break; }
    10131446  done
    10141447fi
    10151448
    1016 test -n "$ac_init_help" && exit 0
     1449test -n "$ac_init_help" && exit $ac_status
    10171450if $ac_init_version; then
    10181451  cat <<\_ACEOF
    10191452advance configure source
    1020 generated by GNU Autoconf 2.59
     1453generated by GNU Autoconf 2.61
    10211454
    1022 Copyright (C) 2003 Free Software Foundation, Inc.
     1455Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     14562002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    10231457This configure script is free software; the Free Software Foundation
    10241458gives unlimited permission to copy, distribute and modify it.
    10251459
    10261460Copyright 2005 Andrea Mazzoleni
    10271461_ACEOF
    1028   exit 0
     1462  exit
    10291463fi
    1030 exec 5>config.log
    1031 cat >&5 <<_ACEOF
     1464cat >config.log <<_ACEOF
    10321465This file contains any messages produced by compilers while
    10331466running configure, to aid debugging if configure makes a mistake.
    10341467
    10351468It was created by advance $as_me source, which was
    1036 generated by GNU Autoconf 2.59.  Invocation command line was
     1469generated by GNU Autoconf 2.61.  Invocation command line was
    10371470
    10381471  $ $0 $@
    10391472
    10401473_ACEOF
     1474exec 5>>config.log
    10411475{
    10421476cat <<_ASUNAME
    10431477## --------- ##
     
    10561490/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
    10571491/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    10581492/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1059 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     1493/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    10601494/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    10611495/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
    10621496/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
     
    10701504  test -z "$as_dir" && as_dir=.
    10711505  echo "PATH: $as_dir"
    10721506done
     1507IFS=$as_save_IFS
    10731508
    10741509} >&5
    10751510
     
    10911526ac_configure_args=
    10921527ac_configure_args0=
    10931528ac_configure_args1=
    1094 ac_sep=
    10951529ac_must_keep_next=false
    10961530for ac_pass in 1 2
    10971531do
     
    11021536    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    11031537    | -silent | --silent | --silen | --sile | --sil)
    11041538      continue ;;
    1105     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1539    *\'*)
    11061540      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    11071541    esac
    11081542    case $ac_pass in
     
    11241558          -* ) ac_must_keep_next=true ;;
    11251559        esac
    11261560      fi
    1127       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1128       # Get rid of the leading space.
    1129       ac_sep=" "
     1561      ac_configure_args="$ac_configure_args '$ac_arg'"
    11301562      ;;
    11311563    esac
    11321564  done
     
    11371569# When interrupted or exit'd, cleanup temporary files, and complete
    11381570# config.log.  We remove comments because anyway the quotes in there
    11391571# would cause problems or look ugly.
    1140 # WARNING: Be sure not to use single quotes in there, as some shells,
    1141 # such as our DU 5.0 friend, will then `close' the trap.
     1572# WARNING: Use '\'' to represent an apostrophe within the trap.
     1573# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
    11421574trap 'exit_status=$?
    11431575  # Save into config.log some information that might help in debugging.
    11441576  {
     
    11511583_ASBOX
    11521584    echo
    11531585    # The following way of writing the cache mishandles newlines in values,
    1154 {
     1586(
     1587  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
     1588    eval ac_val=\$$ac_var
     1589    case $ac_val in #(
     1590    *${as_nl}*)
     1591      case $ac_var in #(
     1592      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
     1593echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     1594      esac
     1595      case $ac_var in #(
     1596      _ | IFS | as_nl) ;; #(
     1597      *) $as_unset $ac_var ;;
     1598      esac ;;
     1599    esac
     1600  done
    11551601  (set) 2>&1 |
    1156     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1157     *ac_space=\ *)
     1602    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     1603    *${as_nl}ac_space=\ *)
    11581604      sed -n \
    1159         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1160           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
    1161       ;;
     1605        "s/'\''/'\''\\\\'\'''\''/g;
     1606          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     1607      ;; #(
    11621608    *)
    1163       sed -n \
    1164         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     1609      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    11651610      ;;
    1166     esac;
    1167 }
     1611    esac |
     1612    sort
     1613)
    11681614    echo
    11691615
    11701616    cat <<\_ASBOX
     
    11751621    echo
    11761622    for ac_var in $ac_subst_vars
    11771623    do
    1178       eval ac_val=$`echo $ac_var`
    1179       echo "$ac_var='"'"'$ac_val'"'"'"
     1624      eval ac_val=\$$ac_var
     1625      case $ac_val in
     1626      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1627      esac
     1628      echo "$ac_var='\''$ac_val'\''"
    11801629    done | sort
    11811630    echo
    11821631
    11831632    if test -n "$ac_subst_files"; then
    11841633      cat <<\_ASBOX
    1185 ## ------------- ##
    1186 ## Output files. ##
    1187 ## ------------- ##
     1634## ------------------- ##
     1635## File substitutions. ##
     1636## ------------------- ##
    11881637_ASBOX
    11891638      echo
    11901639      for ac_var in $ac_subst_files
    11911640      do
    1192         eval ac_val=$`echo $ac_var`
    1193         echo "$ac_var='"'"'$ac_val'"'"'"
     1641        eval ac_val=\$$ac_var
     1642        case $ac_val in
     1643        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1644        esac
     1645        echo "$ac_var='\''$ac_val'\''"
    11941646      done | sort
    11951647      echo
    11961648    fi
     
    12021654## ----------- ##
    12031655_ASBOX
    12041656      echo
    1205       sed "/^$/d" confdefs.h | sort
     1657      cat confdefs.h
    12061658      echo
    12071659    fi
    12081660    test "$ac_signal" != 0 &&
    12091661      echo "$as_me: caught signal $ac_signal"
    12101662    echo "$as_me: exit $exit_status"
    12111663  } >&5
    1212   rm -f core *.core &&
    1213   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1664  rm -f core *.core core.conftest.* &&
     1665    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    12141666    exit $exit_status
    1215      ' 0
     1667' 0
    12161668for ac_signal in 1 2 13 15; do
    12171669  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    12181670done
    12191671ac_signal=0
    12201672
    12211673# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1222 rm -rf conftest* confdefs.h
    1223 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1224 echo >confdefs.h
     1674rm -f -r conftest* confdefs.h
    12251675
    12261676# Predefined preprocessor variables.
    12271677
     
    12521702
    12531703# Let the site file select an alternate cache file if it wants to.
    12541704# Prefer explicitly selected file to automatically selected ones.
    1255 if test -z "$CONFIG_SITE"; then
    1256   if test "x$prefix" != xNONE; then
    1257     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    1258   else
    1259     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    1260   fi
     1705if test -n "$CONFIG_SITE"; then
     1706  set x "$CONFIG_SITE"
     1707elif test "x$prefix" != xNONE; then
     1708  set x "$prefix/share/config.site" "$prefix/etc/config.site"
     1709else
     1710  set x "$ac_default_prefix/share/config.site" \
     1711        "$ac_default_prefix/etc/config.site"
    12611712fi
    1262 for ac_site_file in $CONFIG_SITE; do
     1713shift
     1714for ac_site_file
     1715do
    12631716  if test -r "$ac_site_file"; then
    12641717    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    12651718echo "$as_me: loading site script $ac_site_file" >&6;}
     
    12751728    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    12761729echo "$as_me: loading cache $cache_file" >&6;}
    12771730    case $cache_file in
    1278       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1279       *)                      . ./$cache_file;;
     1731      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     1732      *)                      . "./$cache_file";;
    12801733    esac
    12811734  fi
    12821735else
     
    12881741# Check that the precious variables saved in the cache have kept the same
    12891742# value.
    12901743ac_cache_corrupted=false
    1291 for ac_var in `(set) 2>&1 |
    1292                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1744for ac_var in $ac_precious_vars; do
    12931745  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    12941746  eval ac_new_set=\$ac_env_${ac_var}_set
    1295   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1296   eval ac_new_val="\$ac_env_${ac_var}_value"
     1747  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     1748  eval ac_new_val=\$ac_env_${ac_var}_value
    12971749  case $ac_old_set,$ac_new_set in
    12981750    set,)
    12991751      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     
    13181770  # Pass precious variables to config.status.
    13191771  if test "$ac_new_set" = set; then
    13201772    case $ac_new_val in
    1321     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1322       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1773    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    13231774    *) ac_arg=$ac_var=$ac_new_val ;;
    13241775    esac
    13251776    case " $ac_configure_args " in
     
    13361787   { (exit 1); exit 1; }; }
    13371788fi
    13381789
    1339 ac_ext=c
    1340 ac_cpp='$CPP $CPPFLAGS'
    1341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1344 
    13451790
    13461791
    13471792
     
    13661811
    13671812
    13681813
     1814ac_ext=c
     1815ac_cpp='$CPP $CPPFLAGS'
     1816ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     1817ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     1818ac_compiler_gnu=$ac_cv_c_compiler_gnu
    13691819
    13701820
    1371           ac_config_headers="$ac_config_headers advance/lib/config.h:advance/lib/config.hin"
     1821ac_config_headers="$ac_config_headers advance/lib/config.h:advance/lib/config.hin"
    13721822
    13731823ac_aux_dir=
    1374 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    1375   if test -f $ac_dir/install-sh; then
     1824for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     1825  if test -f "$ac_dir/install-sh"; then
    13761826    ac_aux_dir=$ac_dir
    13771827    ac_install_sh="$ac_aux_dir/install-sh -c"
    13781828    break
    1379   elif test -f $ac_dir/install.sh; then
     1829  elif test -f "$ac_dir/install.sh"; then
    13801830    ac_aux_dir=$ac_dir
    13811831    ac_install_sh="$ac_aux_dir/install.sh -c"
    13821832    break
    1383   elif test -f $ac_dir/shtool; then
     1833  elif test -f "$ac_dir/shtool"; then
    13841834    ac_aux_dir=$ac_dir
    13851835    ac_install_sh="$ac_aux_dir/shtool install -c"
    13861836    break
    13871837  fi
    13881838done
    13891839if test -z "$ac_aux_dir"; then
    1390   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    1391 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     1840  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
     1841echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    13921842   { (exit 1); exit 1; }; }
    13931843fi
    1394 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    1395 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    1396 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     1844
     1845# These three variables are undocumented and unsupported,
     1846# and are intended to be withdrawn in a future Autoconf release.
     1847# They can cause serious problems if a builder's source tree is in a directory
     1848# whose full name contains unusual characters.
     1849ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     1850ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     1851ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     1852
    13971853
    13981854# Make sure we can run config.sub.
    1399 $ac_config_sub sun4 >/dev/null 2>&1 ||
    1400   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
    1401 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     1855$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     1856  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
     1857echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
    14021858   { (exit 1); exit 1; }; }
    14031859
    1404 echo "$as_me:$LINENO: checking build system type" >&5
    1405 echo $ECHO_N "checking build system type... $ECHO_C" >&6
     1860{ echo "$as_me:$LINENO: checking build system type" >&5
     1861echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
    14061862if test "${ac_cv_build+set}" = set; then
    14071863  echo $ECHO_N "(cached) $ECHO_C" >&6
    14081864else
    1409   ac_cv_build_alias=$build_alias
    1410 test -z "$ac_cv_build_alias" &&
    1411   ac_cv_build_alias=`$ac_config_guess`
    1412 test -z "$ac_cv_build_alias" &&
     1865  ac_build_alias=$build_alias
     1866test "x$ac_build_alias" = x &&
     1867  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     1868test "x$ac_build_alias" = x &&
    14131869  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    14141870echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    14151871   { (exit 1); exit 1; }; }
    1416 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    1417   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
    1418 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
     1872ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     1873  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
     1874echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
    14191875   { (exit 1); exit 1; }; }
    14201876
    14211877fi
    1422 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    1423 echo "${ECHO_T}$ac_cv_build" >&6
     1878{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     1879echo "${ECHO_T}$ac_cv_build" >&6; }
     1880case $ac_cv_build in
     1881*-*-*) ;;
     1882*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
     1883echo "$as_me: error: invalid value of canonical build" >&2;}
     1884   { (exit 1); exit 1; }; };;
     1885esac
    14241886build=$ac_cv_build
    1425 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1426 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1427 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     1887ac_save_IFS=$IFS; IFS='-'
     1888set x $ac_cv_build
     1889shift
     1890build_cpu=$1
     1891build_vendor=$2
     1892shift; shift
     1893# Remember, the first character of IFS is used to create $*,
     1894# except with old shells:
     1895build_os=$*
     1896IFS=$ac_save_IFS
     1897case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
    14281898
    14291899
    1430 echo "$as_me:$LINENO: checking host system type" >&5
    1431 echo $ECHO_N "checking host system type... $ECHO_C" >&6
     1900{ echo "$as_me:$LINENO: checking host system type" >&5
     1901echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
    14321902if test "${ac_cv_host+set}" = set; then
    14331903  echo $ECHO_N "(cached) $ECHO_C" >&6
    14341904else
    1435   ac_cv_host_alias=$host_alias
    1436 test -z "$ac_cv_host_alias" &&
    1437   ac_cv_host_alias=$ac_cv_build_alias
    1438 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    1439   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    1440 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     1905  if test "x$host_alias" = x; then
     1906  ac_cv_host=$ac_cv_build
     1907else
     1908  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     1909    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
     1910echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
    14411911   { (exit 1); exit 1; }; }
     1912fi
    14421913
    14431914fi
    1444 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    1445 echo "${ECHO_T}$ac_cv_host" >&6
     1915{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     1916echo "${ECHO_T}$ac_cv_host" >&6; }
     1917case $ac_cv_host in
     1918*-*-*) ;;
     1919*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
     1920echo "$as_me: error: invalid value of canonical host" >&2;}
     1921   { (exit 1); exit 1; }; };;
     1922esac
    14461923host=$ac_cv_host
    1447 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1448 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1449 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     1924ac_save_IFS=$IFS; IFS='-'
     1925set x $ac_cv_host
     1926shift
     1927host_cpu=$1
     1928host_vendor=$2
     1929shift; shift
     1930# Remember, the first character of IFS is used to create $*,
     1931# except with old shells:
     1932host_os=$*
     1933IFS=$ac_save_IFS
     1934case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
    14501935
    14511936
    14521937
     
    15642049if test -n "$ac_tool_prefix"; then
    15652050  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    15662051set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1567 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2052{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2053echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    15692054if test "${ac_cv_prog_CC+set}" = set; then
    15702055  echo $ECHO_N "(cached) $ECHO_C" >&6
    15712056else
     
    15782063  IFS=$as_save_IFS
    15792064  test -z "$as_dir" && as_dir=.
    15802065  for ac_exec_ext in '' $ac_executable_extensions; do
    1581   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2066  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15822067    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    15832068    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    15842069    break 2
    15852070  fi
    15862071done
    15872072done
     2073IFS=$as_save_IFS
    15882074
    15892075fi
    15902076fi
    15912077CC=$ac_cv_prog_CC
    15922078if test -n "$CC"; then
    1593   echo "$as_me:$LINENO: result: $CC" >&5
    1594 echo "${ECHO_T}$CC" >&6
     2079  { echo "$as_me:$LINENO: result: $CC" >&5
     2080echo "${ECHO_T}$CC" >&6; }
    15952081else
    1596   echo "$as_me:$LINENO: result: no" >&5
    1597 echo "${ECHO_T}no" >&6
     2082  { echo "$as_me:$LINENO: result: no" >&5
     2083echo "${ECHO_T}no" >&6; }
    15982084fi
    15992085
     2086
    16002087fi
    16012088if test -z "$ac_cv_prog_CC"; then
    16022089  ac_ct_CC=$CC
    16032090  # Extract the first word of "gcc", so it can be a program name with args.
    16042091set dummy gcc; ac_word=$2
    1605 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2092{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2093echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    16072094if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    16082095  echo $ECHO_N "(cached) $ECHO_C" >&6
    16092096else
     
    16162103  IFS=$as_save_IFS
    16172104  test -z "$as_dir" && as_dir=.
    16182105  for ac_exec_ext in '' $ac_executable_extensions; do
    1619   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2106  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16202107    ac_cv_prog_ac_ct_CC="gcc"
    16212108    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    16222109    break 2
    16232110  fi
    16242111done
    16252112done
     2113IFS=$as_save_IFS
    16262114
    16272115fi
    16282116fi
    16292117ac_ct_CC=$ac_cv_prog_ac_ct_CC
    16302118if test -n "$ac_ct_CC"; then
    1631   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1632 echo "${ECHO_T}$ac_ct_CC" >&6
     2119  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2120echo "${ECHO_T}$ac_ct_CC" >&6; }
    16332121else
    1634   echo "$as_me:$LINENO: result: no" >&5
    1635 echo "${ECHO_T}no" >&6
     2122  { echo "$as_me:$LINENO: result: no" >&5
     2123echo "${ECHO_T}no" >&6; }
    16362124fi
    16372125
    1638   CC=$ac_ct_CC
     2126  if test "x$ac_ct_CC" = x; then
     2127    CC=""
     2128  else
     2129    case $cross_compiling:$ac_tool_warned in
     2130yes:)
     2131{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2132whose name does not start with the host triplet.  If you think this
     2133configuration is useful to you, please write to autoconf@gnu.org." >&5
     2134echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2135whose name does not start with the host triplet.  If you think this
     2136configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2137ac_tool_warned=yes ;;
     2138esac
     2139    CC=$ac_ct_CC
     2140  fi
    16392141else
    16402142  CC="$ac_cv_prog_CC"
    16412143fi
    16422144
    16432145if test -z "$CC"; then
    1644   if test -n "$ac_tool_prefix"; then
    1645   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     2146          if test -n "$ac_tool_prefix"; then
     2147    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    16462148set dummy ${ac_tool_prefix}cc; ac_word=$2
    1647 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2149{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2150echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    16492151if test "${ac_cv_prog_CC+set}" = set; then
    16502152  echo $ECHO_N "(cached) $ECHO_C" >&6
    16512153else
     
    16582160  IFS=$as_save_IFS
    16592161  test -z "$as_dir" && as_dir=.
    16602162  for ac_exec_ext in '' $ac_executable_extensions; do
    1661   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2163  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16622164    ac_cv_prog_CC="${ac_tool_prefix}cc"
    16632165    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    16642166    break 2
    16652167  fi
    16662168done
    16672169done
     2170IFS=$as_save_IFS
    16682171
    16692172fi
    16702173fi
    16712174CC=$ac_cv_prog_CC
    16722175if test -n "$CC"; then
    1673   echo "$as_me:$LINENO: result: $CC" >&5
    1674 echo "${ECHO_T}$CC" >&6
    1675 else
    1676   echo "$as_me:$LINENO: result: no" >&5
    1677 echo "${ECHO_T}no" >&6
    1678 fi
    1679 
    1680 fi
    1681 if test -z "$ac_cv_prog_CC"; then
    1682   ac_ct_CC=$CC
    1683   # Extract the first word of "cc", so it can be a program name with args.
    1684 set dummy cc; ac_word=$2
    1685 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1687 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1688   echo $ECHO_N "(cached) $ECHO_C" >&6
    1689 else
    1690   if test -n "$ac_ct_CC"; then
    1691   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1692 else
    1693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1694 for as_dir in $PATH
    1695 do
    1696   IFS=$as_save_IFS
    1697   test -z "$as_dir" && as_dir=.
    1698   for ac_exec_ext in '' $ac_executable_extensions; do
    1699   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1700     ac_cv_prog_ac_ct_CC="cc"
    1701     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1702     break 2
    1703   fi
    1704 done
    1705 done
    1706 
    1707 fi
    1708 fi
    1709 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1710 if test -n "$ac_ct_CC"; then
    1711   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1712 echo "${ECHO_T}$ac_ct_CC" >&6
     2176  { echo "$as_me:$LINENO: result: $CC" >&5
     2177echo "${ECHO_T}$CC" >&6; }
    17132178else
    1714   echo "$as_me:$LINENO: result: no" >&5
    1715 echo "${ECHO_T}no" >&6
     2179  { echo "$as_me:$LINENO: result: no" >&5
     2180echo "${ECHO_T}no" >&6; }
    17162181fi
    17172182
    1718   CC=$ac_ct_CC
    1719 else
    1720   CC="$ac_cv_prog_CC"
    1721 fi
    17222183
     2184  fi
    17232185fi
    17242186if test -z "$CC"; then
    17252187  # Extract the first word of "cc", so it can be a program name with args.
    17262188set dummy cc; ac_word=$2
    1727 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2189{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2190echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    17292191if test "${ac_cv_prog_CC+set}" = set; then
    17302192  echo $ECHO_N "(cached) $ECHO_C" >&6
    17312193else
     
    17392201  IFS=$as_save_IFS
    17402202  test -z "$as_dir" && as_dir=.
    17412203  for ac_exec_ext in '' $ac_executable_extensions; do
    1742   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2204  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17432205    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    17442206       ac_prog_rejected=yes
    17452207       continue
     
    17502212  fi
    17512213done
    17522214done
     2215IFS=$as_save_IFS
    17532216
    17542217if test $ac_prog_rejected = yes; then
    17552218  # We found a bogon in the path, so make sure we never use it.
     
    17672230fi
    17682231CC=$ac_cv_prog_CC
    17692232if test -n "$CC"; then
    1770   echo "$as_me:$LINENO: result: $CC" >&5
    1771 echo "${ECHO_T}$CC" >&6
     2233  { echo "$as_me:$LINENO: result: $CC" >&5
     2234echo "${ECHO_T}$CC" >&6; }
    17722235else
    1773   echo "$as_me:$LINENO: result: no" >&5
    1774 echo "${ECHO_T}no" >&6
     2236  { echo "$as_me:$LINENO: result: no" >&5
     2237echo "${ECHO_T}no" >&6; }
    17752238fi
    17762239
     2240
    17772241fi
    17782242if test -z "$CC"; then
    17792243  if test -n "$ac_tool_prefix"; then
    1780   for ac_prog in cl
     2244  for ac_prog in cl.exe
    17812245  do
    17822246    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    17832247set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1784 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2248{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2249echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    17862250if test "${ac_cv_prog_CC+set}" = set; then
    17872251  echo $ECHO_N "(cached) $ECHO_C" >&6
    17882252else
     
    17952259  IFS=$as_save_IFS
    17962260  test -z "$as_dir" && as_dir=.
    17972261  for ac_exec_ext in '' $ac_executable_extensions; do
    1798   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2262  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17992263    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    18002264    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    18012265    break 2
    18022266  fi
    18032267done
    18042268done
     2269IFS=$as_save_IFS
    18052270
    18062271fi
    18072272fi
    18082273CC=$ac_cv_prog_CC
    18092274if test -n "$CC"; then
    1810   echo "$as_me:$LINENO: result: $CC" >&5
    1811 echo "${ECHO_T}$CC" >&6
     2275  { echo "$as_me:$LINENO: result: $CC" >&5
     2276echo "${ECHO_T}$CC" >&6; }
    18122277else
    1813   echo "$as_me:$LINENO: result: no" >&5
    1814 echo "${ECHO_T}no" >&6
     2278  { echo "$as_me:$LINENO: result: no" >&5
     2279echo "${ECHO_T}no" >&6; }
    18152280fi
    18162281
     2282
    18172283    test -n "$CC" && break
    18182284  done
    18192285fi
    18202286if test -z "$CC"; then
    18212287  ac_ct_CC=$CC
    1822   for ac_prog in cl
     2288  for ac_prog in cl.exe
    18232289do
    18242290  # Extract the first word of "$ac_prog", so it can be a program name with args.
    18252291set dummy $ac_prog; ac_word=$2
    1826 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2292{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2293echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    18282294if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    18292295  echo $ECHO_N "(cached) $ECHO_C" >&6
    18302296else
     
    18372303  IFS=$as_save_IFS
    18382304  test -z "$as_dir" && as_dir=.
    18392305  for ac_exec_ext in '' $ac_executable_extensions; do
    1840   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2306  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    18412307    ac_cv_prog_ac_ct_CC="$ac_prog"
    18422308    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    18432309    break 2
    18442310  fi
    18452311done
    18462312done
     2313IFS=$as_save_IFS
    18472314
    18482315fi
    18492316fi
    18502317ac_ct_CC=$ac_cv_prog_ac_ct_CC
    18512318if test -n "$ac_ct_CC"; then
    1852   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1853 echo "${ECHO_T}$ac_ct_CC" >&6
     2319  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2320echo "${ECHO_T}$ac_ct_CC" >&6; }
    18542321else
    1855   echo "$as_me:$LINENO: result: no" >&5
    1856 echo "${ECHO_T}no" >&6
     2322  { echo "$as_me:$LINENO: result: no" >&5
     2323echo "${ECHO_T}no" >&6; }
    18572324fi
    18582325
     2326
    18592327  test -n "$ac_ct_CC" && break
    18602328done
    18612329
    1862   CC=$ac_ct_CC
     2330  if test "x$ac_ct_CC" = x; then
     2331    CC=""
     2332  else
     2333    case $cross_compiling:$ac_tool_warned in
     2334yes:)
     2335{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2336whose name does not start with the host triplet.  If you think this
     2337configuration is useful to you, please write to autoconf@gnu.org." >&5
     2338echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2339whose name does not start with the host triplet.  If you think this
     2340configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2341ac_tool_warned=yes ;;
     2342esac
     2343    CC=$ac_ct_CC
     2344  fi
    18632345fi
    18642346
    18652347fi
     
    18722354   { (exit 1); exit 1; }; }
    18732355
    18742356# Provide some information about the compiler.
    1875 echo "$as_me:$LINENO:" \
    1876      "checking for C compiler version" >&5
     2357echo "$as_me:$LINENO: checking for C compiler version" >&5
    18772358ac_compiler=`set X $ac_compile; echo $2`
    1878 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    1879   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2359{ (ac_try="$ac_compiler --version >&5"
     2360case "(($ac_try" in
     2361  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2362  *) ac_try_echo=$ac_try;;
     2363esac
     2364eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2365  (eval "$ac_compiler --version >&5") 2>&5
    18802366  ac_status=$?
    18812367  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18822368  (exit $ac_status); }
    1883 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    1884   (eval $ac_compiler -v </dev/null >&5) 2>&5
     2369{ (ac_try="$ac_compiler -v >&5"
     2370case "(($ac_try" in
     2371  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2372  *) ac_try_echo=$ac_try;;
     2373esac
     2374eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2375  (eval "$ac_compiler -v >&5") 2>&5
    18852376  ac_status=$?
    18862377  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18872378  (exit $ac_status); }
    1888 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    1889   (eval $ac_compiler -V </dev/null >&5) 2>&5
     2379{ (ac_try="$ac_compiler -V >&5"
     2380case "(($ac_try" in
     2381  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2382  *) ac_try_echo=$ac_try;;
     2383esac
     2384eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2385  (eval "$ac_compiler -V >&5") 2>&5
    18902386  ac_status=$?
    18912387  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18922388  (exit $ac_status); }
     
    19112407# Try to create an executable without -o first, disregard a.out.
    19122408# It will help us diagnose broken compilers, and finding out an intuition
    19132409# of exeext.
    1914 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    1915 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
     2410{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2411echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
    19162412ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1917 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    1918   (eval $ac_link_default) 2>&5
     2413#
     2414# List of possible output files, starting from the most likely.
     2415# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
     2416# only as a last resort.  b.out is created by i960 compilers.
     2417ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
     2418#
     2419# The IRIX 6 linker writes into existing files which may not be
     2420# executable, retaining their permissions.  Remove them first so a
     2421# subsequent execution test works.
     2422ac_rmfiles=
     2423for ac_file in $ac_files
     2424do
     2425  case $ac_file in
     2426    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
     2427    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2428  esac
     2429done
     2430rm -f $ac_rmfiles
     2431
     2432if { (ac_try="$ac_link_default"
     2433case "(($ac_try" in
     2434  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2435  *) ac_try_echo=$ac_try;;
     2436esac
     2437eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2438  (eval "$ac_link_default") 2>&5
    19192439  ac_status=$?
    19202440  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19212441  (exit $ac_status); }; then
    1922   # Find the output, starting from the most likely.  This scheme is
    1923 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1924 # resort.
    1925 
    1926 # Be careful to initialize this variable, since it used to be cached.
    1927 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    1928 ac_cv_exeext=
    1929 # b.out is created by i960 compilers.
    1930 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     2442  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     2443# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     2444# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     2445# so that the user can short-circuit this test for compilers unknown to
     2446# Autoconf.
     2447for ac_file in $ac_files ''
    19312448do
    19322449  test -f "$ac_file" || continue
    19332450  case $ac_file in
    1934     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1935         ;;
    1936     conftest.$ac_ext )
    1937         # This is the source file.
     2451    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
    19382452        ;;
    19392453    [ab].out )
    19402454        # We found the default executable, but exeext='' is most
    19412455        # certainly right.
    19422456        break;;
    19432457    *.* )
    1944         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1945         # FIXME: I believe we export ac_cv_exeext for Libtool,
    1946         # but it would be cool to find out if it's true.  Does anybody
    1947         # maintain Libtool? --akim.
    1948         export ac_cv_exeext
     2458        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2459        then :; else
     2460           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2461        fi
     2462        # We set ac_cv_exeext here because the later test for it is not
     2463        # safe: cross compilers may not add the suffix if given an `-o'
     2464        # argument, so we may need to know it at that point already.
     2465        # Even if this section looks crufty: it has the advantage of
     2466        # actually working.
    19492467        break;;
    19502468    * )
    19512469        break;;
    19522470  esac
    19532471done
     2472test "$ac_cv_exeext" = no && ac_cv_exeext=
     2473
    19542474else
     2475  ac_file=''
     2476fi
     2477
     2478{ echo "$as_me:$LINENO: result: $ac_file" >&5
     2479echo "${ECHO_T}$ac_file" >&6; }
     2480if test -z "$ac_file"; then
    19552481  echo "$as_me: failed program was:" >&5
    19562482sed 's/^/| /' conftest.$ac_ext >&5
    19572483
     
    19632489fi
    19642490
    19652491ac_exeext=$ac_cv_exeext
    1966 echo "$as_me:$LINENO: result: $ac_file" >&5
    1967 echo "${ECHO_T}$ac_file" >&6
    19682492
    1969 # Check the compiler produces executables we can run.  If not, either
     2493# Check that the compiler produces executables we can run.  If not, either
    19702494# the compiler is broken, or we cross compile.
    1971 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    1972 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
     2495{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2496echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
    19732497# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    19742498# If not cross compiling, check that we can run a simple program.
    19752499if test "$cross_compiling" != yes; then
    19762500  if { ac_try='./$ac_file'
    1977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1978   (eval $ac_try) 2>&5
     2501  { (case "(($ac_try" in
     2502  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2503  *) ac_try_echo=$ac_try;;
     2504esac
     2505eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2506  (eval "$ac_try") 2>&5
    19792507  ac_status=$?
    19802508  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19812509  (exit $ac_status); }; }; then
     
    19942522    fi
    19952523  fi
    19962524fi
    1997 echo "$as_me:$LINENO: result: yes" >&5
    1998 echo "${ECHO_T}yes" >&6
     2525{ echo "$as_me:$LINENO: result: yes" >&5
     2526echo "${ECHO_T}yes" >&6; }
    19992527
    20002528rm -f a.out a.exe conftest$ac_cv_exeext b.out
    20012529ac_clean_files=$ac_clean_files_save
    2002 # Check the compiler produces executables we can run.  If not, either
     2530# Check that the compiler produces executables we can run.  If not, either
    20032531# the compiler is broken, or we cross compile.
    2004 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2005 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    2006 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2007 echo "${ECHO_T}$cross_compiling" >&6
    2008 
    2009 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    2010 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    2011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2012   (eval $ac_link) 2>&5
     2532{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2533echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
     2534{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2535echo "${ECHO_T}$cross_compiling" >&6; }
     2536
     2537{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2538echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
     2539if { (ac_try="$ac_link"
     2540case "(($ac_try" in
     2541  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2542  *) ac_try_echo=$ac_try;;
     2543esac
     2544eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2545  (eval "$ac_link") 2>&5
    20132546  ac_status=$?
    20142547  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20152548  (exit $ac_status); }; then
     
    20202553for ac_file in conftest.exe conftest conftest.*; do
    20212554  test -f "$ac_file" || continue
    20222555  case $ac_file in
    2023     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     2556    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    20242557    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2025           export ac_cv_exeext
    20262558          break;;
    20272559    * ) break;;
    20282560  esac
     
    20362568fi
    20372569
    20382570rm -f conftest$ac_cv_exeext
    2039 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2040 echo "${ECHO_T}$ac_cv_exeext" >&6
     2571{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2572echo "${ECHO_T}$ac_cv_exeext" >&6; }
    20412573
    20422574rm -f conftest.$ac_ext
    20432575EXEEXT=$ac_cv_exeext
    20442576ac_exeext=$EXEEXT
    2045 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2046 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     2577{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2578echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
    20472579if test "${ac_cv_objext+set}" = set; then
    20482580  echo $ECHO_N "(cached) $ECHO_C" >&6
    20492581else
     
    20632595}
    20642596_ACEOF
    20652597rm -f conftest.o conftest.obj
    2066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2067   (eval $ac_compile) 2>&5
     2598if { (ac_try="$ac_compile"
     2599case "(($ac_try" in
     2600  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2601  *) ac_try_echo=$ac_try;;
     2602esac
     2603eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2604  (eval "$ac_compile") 2>&5
    20682605  ac_status=$?
    20692606  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20702607  (exit $ac_status); }; then
    2071   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     2608  for ac_file in conftest.o conftest.obj conftest.*; do
     2609  test -f "$ac_file" || continue;
    20722610  case $ac_file in
    2073     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     2611    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
    20742612    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    20752613       break;;
    20762614  esac
     
    20882626
    20892627rm -f conftest.$ac_cv_objext conftest.$ac_ext
    20902628fi
    2091 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2092 echo "${ECHO_T}$ac_cv_objext" >&6
     2629{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2630echo "${ECHO_T}$ac_cv_objext" >&6; }
    20932631OBJEXT=$ac_cv_objext
    20942632ac_objext=$OBJEXT
    2095 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2096 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     2633{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2634echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
    20972635if test "${ac_cv_c_compiler_gnu+set}" = set; then
    20982636  echo $ECHO_N "(cached) $ECHO_C" >&6
    20992637else
     
    21162654}
    21172655_ACEOF
    21182656rm -f conftest.$ac_objext
    2119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2120   (eval $ac_compile) 2>conftest.er1
     2657if { (ac_try="$ac_compile"
     2658case "(($ac_try" in
     2659  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2660  *) ac_try_echo=$ac_try;;
     2661esac
     2662eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2663  (eval "$ac_compile") 2>conftest.er1
    21212664  ac_status=$?
    21222665  grep -v '^ *+' conftest.er1 >conftest.err
    21232666  rm -f conftest.er1
    21242667  cat conftest.err >&5
    21252668  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2126   (exit $ac_status); } &&
    2127          { ac_try='test -z "$ac_c_werror_flag"
    2128                          || test ! -s conftest.err'
    2129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2130   (eval $ac_try) 2>&5
    2131   ac_status=$?
    2132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2133   (exit $ac_status); }; } &&
    2134          { ac_try='test -s conftest.$ac_objext'
    2135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2136   (eval $ac_try) 2>&5
    2137   ac_status=$?
    2138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2139   (exit $ac_status); }; }; then
     2669  (exit $ac_status); } && {
     2670         test -z "$ac_c_werror_flag" ||
     2671         test ! -s conftest.err
     2672       } && test -s conftest.$ac_objext; then
    21402673  ac_compiler_gnu=yes
    21412674else
    21422675  echo "$as_me: failed program was:" >&5
    21432676sed 's/^/| /' conftest.$ac_ext >&5
    21442677
    2145 ac_compiler_gnu=no
     2678        ac_compiler_gnu=no
    21462679fi
    2147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2680
     2681rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    21482682ac_cv_c_compiler_gnu=$ac_compiler_gnu
    21492683
    21502684fi
    2151 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2152 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
     2685{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2686echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
    21532687GCC=`test $ac_compiler_gnu = yes && echo yes`
    21542688ac_test_CFLAGS=${CFLAGS+set}
    21552689ac_save_CFLAGS=$CFLAGS
    2156 CFLAGS="-g"
    2157 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2158 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     2690{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2691echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
    21592692if test "${ac_cv_prog_cc_g+set}" = set; then
    21602693  echo $ECHO_N "(cached) $ECHO_C" >&6
    21612694else
    2162   cat >conftest.$ac_ext <<_ACEOF
     2695  ac_save_c_werror_flag=$ac_c_werror_flag
     2696   ac_c_werror_flag=yes
     2697   ac_cv_prog_cc_g=no
     2698   CFLAGS="-g"
     2699   cat >conftest.$ac_ext <<_ACEOF
    21632700/* confdefs.h.  */
    21642701_ACEOF
    21652702cat confdefs.h >>conftest.$ac_ext
     
    21752712}
    21762713_ACEOF
    21772714rm -f conftest.$ac_objext
    2178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2179   (eval $ac_compile) 2>conftest.er1
     2715if { (ac_try="$ac_compile"
     2716case "(($ac_try" in
     2717  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2718  *) ac_try_echo=$ac_try;;
     2719esac
     2720eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2721  (eval "$ac_compile") 2>conftest.er1
    21802722  ac_status=$?
    21812723  grep -v '^ *+' conftest.er1 >conftest.err
    21822724  rm -f conftest.er1
    21832725  cat conftest.err >&5
    21842726  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2185   (exit $ac_status); } &&
    2186          { ac_try='test -z "$ac_c_werror_flag"
    2187                          || test ! -s conftest.err'
    2188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2189   (eval $ac_try) 2>&5
     2727  (exit $ac_status); } && {
     2728         test -z "$ac_c_werror_flag" ||
     2729         test ! -s conftest.err
     2730       } && test -s conftest.$ac_objext; then
     2731  ac_cv_prog_cc_g=yes
     2732else
     2733  echo "$as_me: failed program was:" >&5
     2734sed 's/^/| /' conftest.$ac_ext >&5
     2735
     2736        CFLAGS=""
     2737      cat >conftest.$ac_ext <<_ACEOF
     2738/* confdefs.h.  */
     2739_ACEOF
     2740cat confdefs.h >>conftest.$ac_ext
     2741cat >>conftest.$ac_ext <<_ACEOF
     2742/* end confdefs.h.  */
     2743
     2744int
     2745main ()
     2746{
     2747
     2748  ;
     2749  return 0;
     2750}
     2751_ACEOF
     2752rm -f conftest.$ac_objext
     2753if { (ac_try="$ac_compile"
     2754case "(($ac_try" in
     2755  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2756  *) ac_try_echo=$ac_try;;
     2757esac
     2758eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2759  (eval "$ac_compile") 2>conftest.er1
    21902760  ac_status=$?
     2761  grep -v '^ *+' conftest.er1 >conftest.err
     2762  rm -f conftest.er1
     2763  cat conftest.err >&5
    21912764  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2192   (exit $ac_status); }; } &&
    2193          { ac_try='test -s conftest.$ac_objext'
    2194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2195   (eval $ac_try) 2>&5
     2765  (exit $ac_status); } && {
     2766         test -z "$ac_c_werror_flag" ||
     2767         test ! -s conftest.err
     2768       } && test -s conftest.$ac_objext; then
     2769  :
     2770else
     2771  echo "$as_me: failed program was:" >&5
     2772sed 's/^/| /' conftest.$ac_ext >&5
     2773
     2774        ac_c_werror_flag=$ac_save_c_werror_flag
     2775         CFLAGS="-g"
     2776         cat >conftest.$ac_ext <<_ACEOF
     2777/* confdefs.h.  */
     2778_ACEOF
     2779cat confdefs.h >>conftest.$ac_ext
     2780cat >>conftest.$ac_ext <<_ACEOF
     2781/* end confdefs.h.  */
     2782
     2783int
     2784main ()
     2785{
     2786
     2787  ;
     2788  return 0;
     2789}
     2790_ACEOF
     2791rm -f conftest.$ac_objext
     2792if { (ac_try="$ac_compile"
     2793case "(($ac_try" in
     2794  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2795  *) ac_try_echo=$ac_try;;
     2796esac
     2797eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2798  (eval "$ac_compile") 2>conftest.er1
    21962799  ac_status=$?
     2800  grep -v '^ *+' conftest.er1 >conftest.err
     2801  rm -f conftest.er1
     2802  cat conftest.err >&5
    21972803  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2198   (exit $ac_status); }; }; then
     2804  (exit $ac_status); } && {
     2805         test -z "$ac_c_werror_flag" ||
     2806         test ! -s conftest.err
     2807       } && test -s conftest.$ac_objext; then
    21992808  ac_cv_prog_cc_g=yes
    22002809else
    22012810  echo "$as_me: failed program was:" >&5
    22022811sed 's/^/| /' conftest.$ac_ext >&5
    22032812
    2204 ac_cv_prog_cc_g=no
     2813
     2814fi
     2815
     2816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2817fi
     2818
     2819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    22052820fi
    2206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2821
     2822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2823   ac_c_werror_flag=$ac_save_c_werror_flag
    22072824fi
    2208 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2209 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     2825{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2826echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
    22102827if test "$ac_test_CFLAGS" = set; then
    22112828  CFLAGS=$ac_save_CFLAGS
    22122829elif test $ac_cv_prog_cc_g = yes; then
     
    22222839    CFLAGS=
    22232840  fi
    22242841fi
    2225 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2226 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2227 if test "${ac_cv_prog_cc_stdc+set}" = set; then
     2842{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     2843echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
     2844if test "${ac_cv_prog_cc_c89+set}" = set; then
    22282845  echo $ECHO_N "(cached) $ECHO_C" >&6
    22292846else
    2230   ac_cv_prog_cc_stdc=no
     2847  ac_cv_prog_cc_c89=no
    22312848ac_save_CC=$CC
    22322849cat >conftest.$ac_ext <<_ACEOF
    22332850/* confdefs.h.  */
     
    22612878/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
    22622879   function prototypes and stuff, but not '\xHH' hex character constants.
    22632880   These don't provoke an error unfortunately, instead are silently treated
    2264    as 'x'.  The following induces an error, until -std1 is added to get
     2881   as 'x'.  The following induces an error, until -std is added to get
    22652882   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    22662883   array size at least.  It's necessary to write '\x00'==0 to get something
    2267    that's true only with -std1.  */
     2884   that's true only with -std.  */
    22682885int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    22692886
     2887/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     2888   inside strings and character constants.  */
     2889#define FOO(x) 'x'
     2890int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
     2891
    22702892int test (int i, double x);
    22712893struct s1 {int (*f) (int a);};
    22722894struct s2 {int (*f) (double a);};
     
    22812903  return 0;
    22822904}
    22832905_ACEOF
    2284 # Don't try gcc -ansi; that turns off useful extensions and
    2285 # breaks some systems' header files.
    2286 # AIX                   -qlanglvl=ansi
    2287 # Ultrix and OSF/1      -std1
    2288 # HP-UX 10.20 and later -Ae
    2289 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2290 # SVR4                  -Xc -D__EXTENSIONS__
    2291 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2906for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     2907        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    22922908do
    22932909  CC="$ac_save_CC $ac_arg"
    22942910  rm -f conftest.$ac_objext
    2295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2296   (eval $ac_compile) 2>conftest.er1
     2911if { (ac_try="$ac_compile"
     2912case "(($ac_try" in
     2913  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2914  *) ac_try_echo=$ac_try;;
     2915esac
     2916eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2917  (eval "$ac_compile") 2>conftest.er1
    22972918  ac_status=$?
    22982919  grep -v '^ *+' conftest.er1 >conftest.err
    22992920  rm -f conftest.er1
    23002921  cat conftest.err >&5
    23012922  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2302   (exit $ac_status); } &&
    2303          { ac_try='test -z "$ac_c_werror_flag"
    2304                          || test ! -s conftest.err'
    2305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2306   (eval $ac_try) 2>&5
    2307   ac_status=$?
    2308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2309   (exit $ac_status); }; } &&
    2310          { ac_try='test -s conftest.$ac_objext'
    2311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2312   (eval $ac_try) 2>&5
    2313   ac_status=$?
    2314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2315   (exit $ac_status); }; }; then
    2316   ac_cv_prog_cc_stdc=$ac_arg
    2317 break
     2923  (exit $ac_status); } && {
     2924         test -z "$ac_c_werror_flag" ||
     2925         test ! -s conftest.err
     2926       } && test -s conftest.$ac_objext; then
     2927  ac_cv_prog_cc_c89=$ac_arg
    23182928else
    23192929  echo "$as_me: failed program was:" >&5
    23202930sed 's/^/| /' conftest.$ac_ext >&5
    23212931
     2932
    23222933fi
    2323 rm -f conftest.err conftest.$ac_objext
     2934
     2935rm -f core conftest.err conftest.$ac_objext
     2936  test "x$ac_cv_prog_cc_c89" != "xno" && break
    23242937done
    2325 rm -f conftest.$ac_ext conftest.$ac_objext
     2938rm -f conftest.$ac_ext
    23262939CC=$ac_save_CC
    23272940
    23282941fi
    2329 
    2330 case "x$ac_cv_prog_cc_stdc" in
    2331   x|xno)
    2332     echo "$as_me:$LINENO: result: none needed" >&5
    2333 echo "${ECHO_T}none needed" >&6 ;;
     2942# AC_CACHE_VAL
     2943case "x$ac_cv_prog_cc_c89" in
     2944  x)
     2945    { echo "$as_me:$LINENO: result: none needed" >&5
     2946echo "${ECHO_T}none needed" >&6; } ;;
     2947  xno)
     2948    { echo "$as_me:$LINENO: result: unsupported" >&5
     2949echo "${ECHO_T}unsupported" >&6; } ;;
    23342950  *)
    2335     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2336 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2337     CC="$CC $ac_cv_prog_cc_stdc" ;;
     2951    CC="$CC $ac_cv_prog_cc_c89"
     2952    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     2953echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
    23382954esac
    23392955
    2340 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2341 # in C++ we need to declare it.  In case someone uses the same compiler
    2342 # for both compiling C and C++ we need to have the C++ compiler decide
    2343 # the declaration of exit, since it's the most demanding environment.
    2344 cat >conftest.$ac_ext <<_ACEOF
    2345 #ifndef __cplusplus
    2346   choke me
    2347 #endif
    2348 _ACEOF
    2349 rm -f conftest.$ac_objext
    2350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2351   (eval $ac_compile) 2>conftest.er1
    2352   ac_status=$?
    2353   grep -v '^ *+' conftest.er1 >conftest.err
    2354   rm -f conftest.er1
    2355   cat conftest.err >&5
    2356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2357   (exit $ac_status); } &&
    2358          { ac_try='test -z "$ac_c_werror_flag"
    2359                          || test ! -s conftest.err'
    2360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2361   (eval $ac_try) 2>&5
    2362   ac_status=$?
    2363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2364   (exit $ac_status); }; } &&
    2365          { ac_try='test -s conftest.$ac_objext'
    2366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2367   (eval $ac_try) 2>&5
    2368   ac_status=$?
    2369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2370   (exit $ac_status); }; }; then
    2371   for ac_declaration in \
    2372    '' \
    2373    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2374    'extern "C" void std::exit (int); using std::exit;' \
    2375    'extern "C" void exit (int) throw ();' \
    2376    'extern "C" void exit (int);' \
    2377    'void exit (int);'
    2378 do
    2379   cat >conftest.$ac_ext <<_ACEOF
    2380 /* confdefs.h.  */
    2381 _ACEOF
    2382 cat confdefs.h >>conftest.$ac_ext
    2383 cat >>conftest.$ac_ext <<_ACEOF
    2384 /* end confdefs.h.  */
    2385 $ac_declaration
    2386 #include <stdlib.h>
    2387 int
    2388 main ()
    2389 {
    2390 exit (42);
    2391   ;
    2392   return 0;
    2393 }
    2394 _ACEOF
    2395 rm -f conftest.$ac_objext
    2396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2397   (eval $ac_compile) 2>conftest.er1
    2398   ac_status=$?
    2399   grep -v '^ *+' conftest.er1 >conftest.err
    2400   rm -f conftest.er1
    2401   cat conftest.err >&5
    2402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2403   (exit $ac_status); } &&
    2404          { ac_try='test -z "$ac_c_werror_flag"
    2405                          || test ! -s conftest.err'
    2406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2407   (eval $ac_try) 2>&5
    2408   ac_status=$?
    2409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2410   (exit $ac_status); }; } &&
    2411          { ac_try='test -s conftest.$ac_objext'
    2412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2413   (eval $ac_try) 2>&5
    2414   ac_status=$?
    2415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2416   (exit $ac_status); }; }; then
    2417   :
    2418 else
    2419   echo "$as_me: failed program was:" >&5
    2420 sed 's/^/| /' conftest.$ac_ext >&5
    24212956
    2422 continue
    2423 fi
    2424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2425   cat >conftest.$ac_ext <<_ACEOF
    2426 /* confdefs.h.  */
    2427 _ACEOF
    2428 cat confdefs.h >>conftest.$ac_ext
    2429 cat >>conftest.$ac_ext <<_ACEOF
    2430 /* end confdefs.h.  */
    2431 $ac_declaration
    2432 int
    2433 main ()
    2434 {
    2435 exit (42);
    2436   ;
    2437   return 0;
    2438 }
    2439 _ACEOF
    2440 rm -f conftest.$ac_objext
    2441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2442   (eval $ac_compile) 2>conftest.er1
    2443   ac_status=$?
    2444   grep -v '^ *+' conftest.er1 >conftest.err
    2445   rm -f conftest.er1
    2446   cat conftest.err >&5
    2447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2448   (exit $ac_status); } &&
    2449          { ac_try='test -z "$ac_c_werror_flag"
    2450                          || test ! -s conftest.err'
    2451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2452   (eval $ac_try) 2>&5
    2453   ac_status=$?
    2454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2455   (exit $ac_status); }; } &&
    2456          { ac_try='test -s conftest.$ac_objext'
    2457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2458   (eval $ac_try) 2>&5
    2459   ac_status=$?
    2460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2461   (exit $ac_status); }; }; then
    2462   break
    2463 else
    2464   echo "$as_me: failed program was:" >&5
    2465 sed 's/^/| /' conftest.$ac_ext >&5
    2466 
    2467 fi
    2468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2469 done
    2470 rm -f conftest*
    2471 if test -n "$ac_declaration"; then
    2472   echo '#ifdef __cplusplus' >>confdefs.h
    2473   echo $ac_declaration      >>confdefs.h
    2474   echo '#endif'             >>confdefs.h
    2475 fi
    2476 
    2477 else
    2478   echo "$as_me: failed program was:" >&5
    2479 sed 's/^/| /' conftest.$ac_ext >&5
    2480 
    2481 fi
    2482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    24832957ac_ext=c
    24842958ac_cpp='$CPP $CPPFLAGS'
    24852959ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24862960ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24872961ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24882962
    2489 ac_ext=cc
     2963ac_ext=cpp
    24902964ac_cpp='$CXXCPP $CPPFLAGS'
    24912965ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24922966ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24932967ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2494 if test -n "$ac_tool_prefix"; then
    2495   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2968if test -z "$CXX"; then
     2969  if test -n "$CCC"; then
     2970    CXX=$CCC
     2971  else
     2972    if test -n "$ac_tool_prefix"; then
     2973  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    24962974  do
    24972975    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    24982976set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2499 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2977{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2978echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    25012979if test "${ac_cv_prog_CXX+set}" = set; then
    25022980  echo $ECHO_N "(cached) $ECHO_C" >&6
    25032981else
     
    25102988  IFS=$as_save_IFS
    25112989  test -z "$as_dir" && as_dir=.
    25122990  for ac_exec_ext in '' $ac_executable_extensions; do
    2513   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2991  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    25142992    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    25152993    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    25162994    break 2
    25172995  fi
    25182996done
    25192997done
     2998IFS=$as_save_IFS
    25202999
    25213000fi
    25223001fi
    25233002CXX=$ac_cv_prog_CXX
    25243003if test -n "$CXX"; then
    2525   echo "$as_me:$LINENO: result: $CXX" >&5
    2526 echo "${ECHO_T}$CXX" >&6
     3004  { echo "$as_me:$LINENO: result: $CXX" >&5
     3005echo "${ECHO_T}$CXX" >&6; }
    25273006else
    2528   echo "$as_me:$LINENO: result: no" >&5
    2529 echo "${ECHO_T}no" >&6
     3007  { echo "$as_me:$LINENO: result: no" >&5
     3008echo "${ECHO_T}no" >&6; }
    25303009fi
    25313010
     3011
    25323012    test -n "$CXX" && break
    25333013  done
    25343014fi
    25353015if test -z "$CXX"; then
    25363016  ac_ct_CXX=$CXX
    2537   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     3017  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    25383018do
    25393019  # Extract the first word of "$ac_prog", so it can be a program name with args.
    25403020set dummy $ac_prog; ac_word=$2
    2541 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3021{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3022echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    25433023if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    25443024  echo $ECHO_N "(cached) $ECHO_C" >&6
    25453025else
     
    25523032  IFS=$as_save_IFS
    25533033  test -z "$as_dir" && as_dir=.
    25543034  for ac_exec_ext in '' $ac_executable_extensions; do
    2555   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3035  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    25563036    ac_cv_prog_ac_ct_CXX="$ac_prog"
    25573037    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    25583038    break 2
    25593039  fi
    25603040done
    25613041done
     3042IFS=$as_save_IFS
    25623043
    25633044fi
    25643045fi
    25653046ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    25663047if test -n "$ac_ct_CXX"; then
    2567   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    2568 echo "${ECHO_T}$ac_ct_CXX" >&6
     3048  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     3049echo "${ECHO_T}$ac_ct_CXX" >&6; }
    25693050else
    2570   echo "$as_me:$LINENO: result: no" >&5
    2571 echo "${ECHO_T}no" >&6
     3051  { echo "$as_me:$LINENO: result: no" >&5
     3052echo "${ECHO_T}no" >&6; }
    25723053fi
    25733054
     3055
    25743056  test -n "$ac_ct_CXX" && break
    25753057done
    2576 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    25773058
    2578   CXX=$ac_ct_CXX
     3059  if test "x$ac_ct_CXX" = x; then
     3060    CXX="g++"
     3061  else
     3062    case $cross_compiling:$ac_tool_warned in
     3063yes:)
     3064{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     3065whose name does not start with the host triplet.  If you think this
     3066configuration is useful to you, please write to autoconf@gnu.org." >&5
     3067echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     3068whose name does not start with the host triplet.  If you think this
     3069configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3070ac_tool_warned=yes ;;
     3071esac
     3072    CXX=$ac_ct_CXX
     3073  fi
    25793074fi
    25803075
    2581 
     3076  fi
     3077fi
    25823078# Provide some information about the compiler.
    2583 echo "$as_me:$LINENO:" \
    2584      "checking for C++ compiler version" >&5
     3079echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    25853080ac_compiler=`set X $ac_compile; echo $2`
    2586 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    2587   (eval $ac_compiler --version </dev/null >&5) 2>&5
     3081{ (ac_try="$ac_compiler --version >&5"
     3082case "(($ac_try" in
     3083  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3084  *) ac_try_echo=$ac_try;;
     3085esac
     3086eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3087  (eval "$ac_compiler --version >&5") 2>&5
    25883088  ac_status=$?
    25893089  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25903090  (exit $ac_status); }
    2591 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    2592   (eval $ac_compiler -v </dev/null >&5) 2>&5
     3091{ (ac_try="$ac_compiler -v >&5"
     3092case "(($ac_try" in
     3093  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3094  *) ac_try_echo=$ac_try;;
     3095esac
     3096eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3097  (eval "$ac_compiler -v >&5") 2>&5
    25933098  ac_status=$?
    25943099  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25953100  (exit $ac_status); }
    2596 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    2597   (eval $ac_compiler -V </dev/null >&5) 2>&5
     3101{ (ac_try="$ac_compiler -V >&5"
     3102case "(($ac_try" in
     3103  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3104  *) ac_try_echo=$ac_try;;
     3105esac
     3106eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3107  (eval "$ac_compiler -V >&5") 2>&5
    25983108  ac_status=$?
    25993109  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26003110  (exit $ac_status); }
    26013111
    2602 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    2603 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     3112{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     3113echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
    26043114if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    26053115  echo $ECHO_N "(cached) $ECHO_C" >&6
    26063116else
     
    26233133}
    26243134_ACEOF
    26253135rm -f conftest.$ac_objext
    2626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2627   (eval $ac_compile) 2>conftest.er1
     3136if { (ac_try="$ac_compile"
     3137case "(($ac_try" in
     3138  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3139  *) ac_try_echo=$ac_try;;
     3140esac
     3141eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3142  (eval "$ac_compile") 2>conftest.er1
    26283143  ac_status=$?
    26293144  grep -v '^ *+' conftest.er1 >conftest.err
    26303145  rm -f conftest.er1
    26313146  cat conftest.err >&5
    26323147  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2633   (exit $ac_status); } &&
    2634          { ac_try='test -z "$ac_cxx_werror_flag"
    2635                          || test ! -s conftest.err'
    2636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2637   (eval $ac_try) 2>&5
    2638   ac_status=$?
    2639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2640   (exit $ac_status); }; } &&
    2641          { ac_try='test -s conftest.$ac_objext'
    2642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2643   (eval $ac_try) 2>&5
    2644   ac_status=$?
    2645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2646   (exit $ac_status); }; }; then
     3148  (exit $ac_status); } && {
     3149         test -z "$ac_cxx_werror_flag" ||
     3150         test ! -s conftest.err
     3151       } && test -s conftest.$ac_objext; then
    26473152  ac_compiler_gnu=yes
    26483153else
    26493154  echo "$as_me: failed program was:" >&5
    26503155sed 's/^/| /' conftest.$ac_ext >&5
    26513156
    2652 ac_compiler_gnu=no
     3157        ac_compiler_gnu=no
    26533158fi
    2654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3159
     3160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    26553161ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    26563162
    26573163fi
    2658 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    2659 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     3164{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     3165echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
    26603166GXX=`test $ac_compiler_gnu = yes && echo yes`
    26613167ac_test_CXXFLAGS=${CXXFLAGS+set}
    26623168ac_save_CXXFLAGS=$CXXFLAGS
    2663 CXXFLAGS="-g"
    2664 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    2665 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     3169{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     3170echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
    26663171if test "${ac_cv_prog_cxx_g+set}" = set; then
    26673172  echo $ECHO_N "(cached) $ECHO_C" >&6
    26683173else
    2669   cat >conftest.$ac_ext <<_ACEOF
     3174  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     3175   ac_cxx_werror_flag=yes
     3176   ac_cv_prog_cxx_g=no
     3177   CXXFLAGS="-g"
     3178   cat >conftest.$ac_ext <<_ACEOF
    26703179/* confdefs.h.  */
    26713180_ACEOF
    26723181cat confdefs.h >>conftest.$ac_ext
     
    26823191}
    26833192_ACEOF
    26843193rm -f conftest.$ac_objext
    2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2686   (eval $ac_compile) 2>conftest.er1
     3194if { (ac_try="$ac_compile"
     3195case "(($ac_try" in
     3196  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3197  *) ac_try_echo=$ac_try;;
     3198esac
     3199eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3200  (eval "$ac_compile") 2>conftest.er1
    26873201  ac_status=$?
    26883202  grep -v '^ *+' conftest.er1 >conftest.err
    26893203  rm -f conftest.er1
    26903204  cat conftest.err >&5
    26913205  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2692   (exit $ac_status); } &&
    2693          { ac_try='test -z "$ac_cxx_werror_flag"
    2694                          || test ! -s conftest.err'
    2695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2696   (eval $ac_try) 2>&5
    2697   ac_status=$?
    2698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2699   (exit $ac_status); }; } &&
    2700          { ac_try='test -s conftest.$ac_objext'
    2701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2702   (eval $ac_try) 2>&5
    2703   ac_status=$?
    2704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2705   (exit $ac_status); }; }; then
     3206  (exit $ac_status); } && {
     3207         test -z "$ac_cxx_werror_flag" ||
     3208         test ! -s conftest.err
     3209       } && test -s conftest.$ac_objext; then
    27063210  ac_cv_prog_cxx_g=yes
    27073211else
    27083212  echo "$as_me: failed program was:" >&5
    27093213sed 's/^/| /' conftest.$ac_ext >&5
    27103214
    2711 ac_cv_prog_cxx_g=no
    2712 fi
    2713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2714 fi
    2715 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    2716 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    2717 if test "$ac_test_CXXFLAGS" = set; then
    2718   CXXFLAGS=$ac_save_CXXFLAGS
    2719 elif test $ac_cv_prog_cxx_g = yes; then
    2720   if test "$GXX" = yes; then
    2721     CXXFLAGS="-g -O2"
    2722   else
    2723     CXXFLAGS="-g"
    2724   fi
    2725 else
    2726   if test "$GXX" = yes; then
    2727     CXXFLAGS="-O2"
    2728   else
    2729     CXXFLAGS=
    2730   fi
    2731 fi
    2732 for ac_declaration in \
    2733    '' \
    2734    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2735    'extern "C" void std::exit (int); using std::exit;' \
    2736    'extern "C" void exit (int) throw ();' \
    2737    'extern "C" void exit (int);' \
    2738    'void exit (int);'
    2739 do
    2740   cat >conftest.$ac_ext <<_ACEOF
     3215        CXXFLAGS=""
     3216      cat >conftest.$ac_ext <<_ACEOF
    27413217/* confdefs.h.  */
    27423218_ACEOF
    27433219cat confdefs.h >>conftest.$ac_ext
    27443220cat >>conftest.$ac_ext <<_ACEOF
    27453221/* end confdefs.h.  */
    2746 $ac_declaration
    2747 #include <stdlib.h>
     3222
    27483223int
    27493224main ()
    27503225{
    2751 exit (42);
     3226
    27523227  ;
    27533228  return 0;
    27543229}
    27553230_ACEOF
    27563231rm -f conftest.$ac_objext
    2757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2758   (eval $ac_compile) 2>conftest.er1
     3232if { (ac_try="$ac_compile"
     3233case "(($ac_try" in
     3234  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3235  *) ac_try_echo=$ac_try;;
     3236esac
     3237eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3238  (eval "$ac_compile") 2>conftest.er1
    27593239  ac_status=$?
    27603240  grep -v '^ *+' conftest.er1 >conftest.err
    27613241  rm -f conftest.er1
    27623242  cat conftest.err >&5
    27633243  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2764   (exit $ac_status); } &&
    2765          { ac_try='test -z "$ac_cxx_werror_flag"
    2766                          || test ! -s conftest.err'
    2767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2768   (eval $ac_try) 2>&5
    2769   ac_status=$?
    2770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2771   (exit $ac_status); }; } &&
    2772          { ac_try='test -s conftest.$ac_objext'
    2773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2774   (eval $ac_try) 2>&5
    2775   ac_status=$?
    2776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2777   (exit $ac_status); }; }; then
     3244  (exit $ac_status); } && {
     3245         test -z "$ac_cxx_werror_flag" ||
     3246         test ! -s conftest.err
     3247       } && test -s conftest.$ac_objext; then
    27783248  :
    27793249else
    27803250  echo "$as_me: failed program was:" >&5
    27813251sed 's/^/| /' conftest.$ac_ext >&5
    27823252
    2783 continue
    2784 fi
    2785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2786   cat >conftest.$ac_ext <<_ACEOF
     3253        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3254         CXXFLAGS="-g"
     3255         cat >conftest.$ac_ext <<_ACEOF
    27873256/* confdefs.h.  */
    27883257_ACEOF
    27893258cat confdefs.h >>conftest.$ac_ext
    27903259cat >>conftest.$ac_ext <<_ACEOF
    27913260/* end confdefs.h.  */
    2792 $ac_declaration
     3261
    27933262int
    27943263main ()
    27953264{
    2796 exit (42);
     3265
    27973266  ;
    27983267  return 0;
    27993268}
    28003269_ACEOF
    28013270rm -f conftest.$ac_objext
    2802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2803   (eval $ac_compile) 2>conftest.er1
     3271if { (ac_try="$ac_compile"
     3272case "(($ac_try" in
     3273  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3274  *) ac_try_echo=$ac_try;;
     3275esac
     3276eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3277  (eval "$ac_compile") 2>conftest.er1
    28043278  ac_status=$?
    28053279  grep -v '^ *+' conftest.er1 >conftest.err
    28063280  rm -f conftest.er1
    28073281  cat conftest.err >&5
    28083282  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2809   (exit $ac_status); } &&
    2810          { ac_try='test -z "$ac_cxx_werror_flag"
    2811                          || test ! -s conftest.err'
    2812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2813   (eval $ac_try) 2>&5
    2814   ac_status=$?
    2815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2816   (exit $ac_status); }; } &&
    2817          { ac_try='test -s conftest.$ac_objext'
    2818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2819   (eval $ac_try) 2>&5
    2820   ac_status=$?
    2821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2822   (exit $ac_status); }; }; then
    2823   break
     3283  (exit $ac_status); } && {
     3284         test -z "$ac_cxx_werror_flag" ||
     3285         test ! -s conftest.err
     3286       } && test -s conftest.$ac_objext; then
     3287  ac_cv_prog_cxx_g=yes
    28243288else
    28253289  echo "$as_me: failed program was:" >&5
    28263290sed 's/^/| /' conftest.$ac_ext >&5
    28273291
     3292
    28283293fi
    2829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2830 done
    2831 rm -f conftest*
    2832 if test -n "$ac_declaration"; then
    2833   echo '#ifdef __cplusplus' >>confdefs.h
    2834   echo $ac_declaration      >>confdefs.h
    2835   echo '#endif'             >>confdefs.h
     3294
     3295rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3296fi
     3297
     3298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    28363299fi
    28373300
     3301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3302   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3303fi
     3304{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     3305echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
     3306if test "$ac_test_CXXFLAGS" = set; then
     3307  CXXFLAGS=$ac_save_CXXFLAGS
     3308elif test $ac_cv_prog_cxx_g = yes; then
     3309  if test "$GXX" = yes; then
     3310    CXXFLAGS="-g -O2"
     3311  else
     3312    CXXFLAGS="-g"
     3313  fi
     3314else
     3315  if test "$GXX" = yes; then
     3316    CXXFLAGS="-O2"
     3317  else
     3318    CXXFLAGS=
     3319  fi
     3320fi
    28383321ac_ext=c
    28393322ac_cpp='$CPP $CPPFLAGS'
    28403323ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    28543337# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    28553338# OS/2's system install, which has a completely different semantic
    28563339# ./install, which can be erroneously created by make from ./install.sh.
    2857 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2858 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     3340{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     3341echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
    28593342if test -z "$INSTALL"; then
    28603343if test "${ac_cv_path_install+set}" = set; then
    28613344  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    28773360    # by default.
    28783361    for ac_prog in ginstall scoinst install; do
    28793362      for ac_exec_ext in '' $ac_executable_extensions; do
    2880         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3363        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    28813364          if test $ac_prog = install &&
    28823365            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    28833366            # AIX install.  It has an incompatible calling convention.
     
    28963379    ;;
    28973380esac
    28983381done
     3382IFS=$as_save_IFS
    28993383
    29003384
    29013385fi
    29023386  if test "${ac_cv_path_install+set}" = set; then
    29033387    INSTALL=$ac_cv_path_install
    29043388  else
    2905     # As a last resort, use the slow shell script.  We don't cache a
    2906     # path for INSTALL within a source directory, because that will
     3389    # As a last resort, use the slow shell script.  Don't cache a
     3390    # value for INSTALL within a source directory, because that will
    29073391    # break other packages using the cache if that directory is
    2908     # removed, or if the path is relative.
     3392    # removed, or if the value is a relative name.
    29093393    INSTALL=$ac_install_sh
    29103394  fi
    29113395fi
    2912 echo "$as_me:$LINENO: result: $INSTALL" >&5
    2913 echo "${ECHO_T}$INSTALL" >&6
     3396{ echo "$as_me:$LINENO: result: $INSTALL" >&5
     3397echo "${ECHO_T}$INSTALL" >&6; }
    29143398
    29153399# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    29163400# It thinks the first close brace ends the variable substitution.
     
    29203404
    29213405test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    29223406
    2923 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    2924 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     3407{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
     3408echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
    29253409LN_S=$as_ln_s
    29263410if test "$LN_S" = "ln -s"; then
    2927   echo "$as_me:$LINENO: result: yes" >&5
    2928 echo "${ECHO_T}yes" >&6
     3411  { echo "$as_me:$LINENO: result: yes" >&5
     3412echo "${ECHO_T}yes" >&6; }
    29293413else
    2930   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    2931 echo "${ECHO_T}no, using $LN_S" >&6
     3414  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3415echo "${ECHO_T}no, using $LN_S" >&6; }
    29323416fi
    29333417
    29343418if test -n "$ac_tool_prefix"; then
     
    29363420  do
    29373421    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    29383422set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2939 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3423{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3424echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    29413425if test "${ac_cv_prog_AR+set}" = set; then
    29423426  echo $ECHO_N "(cached) $ECHO_C" >&6
    29433427else
     
    29503434  IFS=$as_save_IFS
    29513435  test -z "$as_dir" && as_dir=.
    29523436  for ac_exec_ext in '' $ac_executable_extensions; do
    2953   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3437  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29543438    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
    29553439    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    29563440    break 2
    29573441  fi
    29583442done
    29593443done
     3444IFS=$as_save_IFS
    29603445
    29613446fi
    29623447fi
    29633448AR=$ac_cv_prog_AR
    29643449if test -n "$AR"; then
    2965   echo "$as_me:$LINENO: result: $AR" >&5
    2966 echo "${ECHO_T}$AR" >&6
     3450  { echo "$as_me:$LINENO: result: $AR" >&5
     3451echo "${ECHO_T}$AR" >&6; }
    29673452else
    2968   echo "$as_me:$LINENO: result: no" >&5
    2969 echo "${ECHO_T}no" >&6
     3453  { echo "$as_me:$LINENO: result: no" >&5
     3454echo "${ECHO_T}no" >&6; }
    29703455fi
    29713456
     3457
    29723458    test -n "$AR" && break
    29733459  done
    29743460fi
     
    29783464do
    29793465  # Extract the first word of "$ac_prog", so it can be a program name with args.
    29803466set dummy $ac_prog; ac_word=$2
    2981 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3467{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3468echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    29833469if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
    29843470  echo $ECHO_N "(cached) $ECHO_C" >&6
    29853471else
     
    29923478  IFS=$as_save_IFS
    29933479  test -z "$as_dir" && as_dir=.
    29943480  for ac_exec_ext in '' $ac_executable_extensions; do
    2995   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3481  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29963482    ac_cv_prog_ac_ct_AR="$ac_prog"
    29973483    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    29983484    break 2
    29993485  fi
    30003486done
    30013487done
     3488IFS=$as_save_IFS
    30023489
    30033490fi
    30043491fi
    30053492ac_ct_AR=$ac_cv_prog_ac_ct_AR
    30063493if test -n "$ac_ct_AR"; then
    3007   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
    3008 echo "${ECHO_T}$ac_ct_AR" >&6
     3494  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
     3495echo "${ECHO_T}$ac_ct_AR" >&6; }
    30093496else
    3010   echo "$as_me:$LINENO: result: no" >&5
    3011 echo "${ECHO_T}no" >&6
     3497  { echo "$as_me:$LINENO: result: no" >&5
     3498echo "${ECHO_T}no" >&6; }
    30123499fi
    30133500
     3501
    30143502  test -n "$ac_ct_AR" && break
    30153503done
    30163504
    3017   AR=$ac_ct_AR
     3505  if test "x$ac_ct_AR" = x; then
     3506    AR=""
     3507  else
     3508    case $cross_compiling:$ac_tool_warned in
     3509yes:)
     3510{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     3511whose name does not start with the host triplet.  If you think this
     3512configuration is useful to you, please write to autoconf@gnu.org." >&5
     3513echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     3514whose name does not start with the host triplet.  If you think this
     3515configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3516ac_tool_warned=yes ;;
     3517esac
     3518    AR=$ac_ct_AR
     3519  fi
    30183520fi
    30193521
    30203522if test -n "$ac_tool_prefix"; then
     
    30223524  do
    30233525    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    30243526set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3025 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3527{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3528echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    30273529if test "${ac_cv_prog_RC+set}" = set; then
    30283530  echo $ECHO_N "(cached) $ECHO_C" >&6
    30293531else
     
    30363538  IFS=$as_save_IFS
    30373539  test -z "$as_dir" && as_dir=.
    30383540  for ac_exec_ext in '' $ac_executable_extensions; do
    3039   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3541  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30403542    ac_cv_prog_RC="$ac_tool_prefix$ac_prog"
    30413543    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    30423544    break 2
    30433545  fi
    30443546done
    30453547done
     3548IFS=$as_save_IFS
    30463549
    30473550fi
    30483551fi
    30493552RC=$ac_cv_prog_RC
    30503553if test -n "$RC"; then
    3051   echo "$as_me:$LINENO: result: $RC" >&5
    3052 echo "${ECHO_T}$RC" >&6
     3554  { echo "$as_me:$LINENO: result: $RC" >&5
     3555echo "${ECHO_T}$RC" >&6; }
    30533556else
    3054   echo "$as_me:$LINENO: result: no" >&5
    3055 echo "${ECHO_T}no" >&6
     3557  { echo "$as_me:$LINENO: result: no" >&5
     3558echo "${ECHO_T}no" >&6; }
    30563559fi
    30573560
     3561
    30583562    test -n "$RC" && break
    30593563  done
    30603564fi
     
    30643568do
    30653569  # Extract the first word of "$ac_prog", so it can be a program name with args.
    30663570set dummy $ac_prog; ac_word=$2
    3067 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3571{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3572echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    30693573if test "${ac_cv_prog_ac_ct_RC+set}" = set; then
    30703574  echo $ECHO_N "(cached) $ECHO_C" >&6
    30713575else
     
    30783582  IFS=$as_save_IFS
    30793583  test -z "$as_dir" && as_dir=.
    30803584  for ac_exec_ext in '' $ac_executable_extensions; do
    3081   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3585  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30823586    ac_cv_prog_ac_ct_RC="$ac_prog"
    30833587    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    30843588    break 2
    30853589  fi
    30863590done
    30873591done
     3592IFS=$as_save_IFS
    30883593
    30893594fi
    30903595fi
    30913596ac_ct_RC=$ac_cv_prog_ac_ct_RC
    30923597if test -n "$ac_ct_RC"; then
    3093   echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
    3094 echo "${ECHO_T}$ac_ct_RC" >&6
     3598  { echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
     3599echo "${ECHO_T}$ac_ct_RC" >&6; }
    30953600else
    3096   echo "$as_me:$LINENO: result: no" >&5
    3097 echo "${ECHO_T}no" >&6
     3601  { echo "$as_me:$LINENO: result: no" >&5
     3602echo "${ECHO_T}no" >&6; }
    30983603fi
    30993604
     3605
    31003606  test -n "$ac_ct_RC" && break
    31013607done
    31023608
    3103   RC=$ac_ct_RC
     3609  if test "x$ac_ct_RC" = x; then
     3610    RC=""
     3611  else
     3612    case $cross_compiling:$ac_tool_warned in
     3613yes:)
     3614{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     3615whose name does not start with the host triplet.  If you think this
     3616configuration is useful to you, please write to autoconf@gnu.org." >&5
     3617echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     3618whose name does not start with the host triplet.  If you think this
     3619configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3620ac_tool_warned=yes ;;
     3621esac
     3622    RC=$ac_ct_RC
     3623  fi
    31043624fi
    31053625
    31063626for ac_prog in rm
    31073627do
    31083628  # Extract the first word of "$ac_prog", so it can be a program name with args.
    31093629set dummy $ac_prog; ac_word=$2
    3110 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3630{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3631echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    31123632if test "${ac_cv_prog_RM+set}" = set; then
    31133633  echo $ECHO_N "(cached) $ECHO_C" >&6
    31143634else
     
    31213641  IFS=$as_save_IFS
    31223642  test -z "$as_dir" && as_dir=.
    31233643  for ac_exec_ext in '' $ac_executable_extensions; do
    3124   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3644  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    31253645    ac_cv_prog_RM="$ac_prog"
    31263646    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    31273647    break 2
    31283648  fi
    31293649done
    31303650done
     3651IFS=$as_save_IFS
    31313652
    31323653fi
    31333654fi
    31343655RM=$ac_cv_prog_RM
    31353656if test -n "$RM"; then
    3136   echo "$as_me:$LINENO: result: $RM" >&5
    3137 echo "${ECHO_T}$RM" >&6
     3657  { echo "$as_me:$LINENO: result: $RM" >&5
     3658echo "${ECHO_T}$RM" >&6; }
    31383659else
    3139   echo "$as_me:$LINENO: result: no" >&5
    3140 echo "${ECHO_T}no" >&6
     3660  { echo "$as_me:$LINENO: result: no" >&5
     3661echo "${ECHO_T}no" >&6; }
    31413662fi
    31423663
     3664
    31433665  test -n "$RM" && break
    31443666done
    31453667
     
    31473669do
    31483670  # Extract the first word of "$ac_prog", so it can be a program name with args.
    31493671set dummy $ac_prog; ac_word=$2
    3150 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3672{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3673echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    31523674if test "${ac_cv_prog_CP+set}" = set; then
    31533675  echo $ECHO_N "(cached) $ECHO_C" >&6
    31543676else
     
    31613683  IFS=$as_save_IFS
    31623684  test -z "$as_dir" && as_dir=.
    31633685  for ac_exec_ext in '' $ac_executable_extensions; do
    3164   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3686  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    31653687    ac_cv_prog_CP="$ac_prog"
    31663688    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    31673689    break 2
    31683690  fi
    31693691done
    31703692done
     3693IFS=$as_save_IFS
    31713694
    31723695fi
    31733696fi
    31743697CP=$ac_cv_prog_CP
    31753698if test -n "$CP"; then
    3176   echo "$as_me:$LINENO: result: $CP" >&5
    3177 echo "${ECHO_T}$CP" >&6
     3699  { echo "$as_me:$LINENO: result: $CP" >&5
     3700echo "${ECHO_T}$CP" >&6; }
    31783701else
    3179   echo "$as_me:$LINENO: result: no" >&5
    3180 echo "${ECHO_T}no" >&6
     3702  { echo "$as_me:$LINENO: result: no" >&5
     3703echo "${ECHO_T}no" >&6; }
    31813704fi
    31823705
     3706
    31833707  test -n "$CP" && break
    31843708done
    31853709
     
    31873711do
    31883712  # Extract the first word of "$ac_prog", so it can be a program name with args.
    31893713set dummy $ac_prog; ac_word=$2
    3190 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3714{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3715echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    31923716if test "${ac_cv_prog_MKDIR+set}" = set; then
    31933717  echo $ECHO_N "(cached) $ECHO_C" >&6
    31943718else
     
    32013725  IFS=$as_save_IFS
    32023726  test -z "$as_dir" && as_dir=.
    32033727  for ac_exec_ext in '' $ac_executable_extensions; do
    3204   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3728  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    32053729    ac_cv_prog_MKDIR="$ac_prog"
    32063730    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    32073731    break 2
    32083732  fi
    32093733done
    32103734done
     3735IFS=$as_save_IFS
    32113736
    32123737fi
    32133738fi
    32143739MKDIR=$ac_cv_prog_MKDIR
    32153740if test -n "$MKDIR"; then
    3216   echo "$as_me:$LINENO: result: $MKDIR" >&5
    3217 echo "${ECHO_T}$MKDIR" >&6
     3741  { echo "$as_me:$LINENO: result: $MKDIR" >&5
     3742echo "${ECHO_T}$MKDIR" >&6; }
    32183743else
    3219   echo "$as_me:$LINENO: result: no" >&5
    3220 echo "${ECHO_T}no" >&6
     3744  { echo "$as_me:$LINENO: result: no" >&5
     3745echo "${ECHO_T}no" >&6; }
    32213746fi
    32223747
     3748
    32233749  test -n "$MKDIR" && break
    32243750done
    32253751
     
    32273753do
    32283754  # Extract the first word of "$ac_prog", so it can be a program name with args.
    32293755set dummy $ac_prog; ac_word=$2
    3230 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3756{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3757echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    32323758if test "${ac_cv_prog_ECHO+set}" = set; then
    32333759  echo $ECHO_N "(cached) $ECHO_C" >&6
    32343760else
     
    32413767  IFS=$as_save_IFS
    32423768  test -z "$as_dir" && as_dir=.
    32433769  for ac_exec_ext in '' $ac_executable_extensions; do
    3244   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3770  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    32453771    ac_cv_prog_ECHO="$ac_prog"
    32463772    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    32473773    break 2
    32483774  fi
    32493775done
    32503776done
     3777IFS=$as_save_IFS
    32513778
    32523779fi
    32533780fi
    32543781ECHO=$ac_cv_prog_ECHO
    32553782if test -n "$ECHO"; then
    3256   echo "$as_me:$LINENO: result: $ECHO" >&5
    3257 echo "${ECHO_T}$ECHO" >&6
     3783  { echo "$as_me:$LINENO: result: $ECHO" >&5
     3784echo "${ECHO_T}$ECHO" >&6; }
    32583785else
    3259   echo "$as_me:$LINENO: result: no" >&5
    3260 echo "${ECHO_T}no" >&6
     3786  { echo "$as_me:$LINENO: result: no" >&5
     3787echo "${ECHO_T}no" >&6; }
    32613788fi
    32623789
     3790
    32633791  test -n "$ECHO" && break
    32643792done
    32653793
     
    32673795do
    32683796  # Extract the first word of "$ac_prog", so it can be a program name with args.
    32693797set dummy $ac_prog; ac_word=$2
    3270 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3798{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3799echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    32723800if test "${ac_cv_prog_TAR+set}" = set; then
    32733801  echo $ECHO_N "(cached) $ECHO_C" >&6
    32743802else
     
    32813809  IFS=$as_save_IFS
    32823810  test -z "$as_dir" && as_dir=.
    32833811  for ac_exec_ext in '' $ac_executable_extensions; do
    3284   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3812  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    32853813    ac_cv_prog_TAR="$ac_prog"
    32863814    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    32873815    break 2
    32883816  fi
    32893817done
    32903818done
     3819IFS=$as_save_IFS
    32913820
    32923821fi
    32933822fi
    32943823TAR=$ac_cv_prog_TAR
    32953824if test -n "$TAR"; then
    3296   echo "$as_me:$LINENO: result: $TAR" >&5
    3297 echo "${ECHO_T}$TAR" >&6
     3825  { echo "$as_me:$LINENO: result: $TAR" >&5
     3826echo "${ECHO_T}$TAR" >&6; }
    32983827else
    3299   echo "$as_me:$LINENO: result: no" >&5
    3300 echo "${ECHO_T}no" >&6
     3828  { echo "$as_me:$LINENO: result: no" >&5
     3829echo "${ECHO_T}no" >&6; }
    33013830fi
    33023831
     3832
    33033833  test -n "$TAR" && break
    33043834done
    33053835
     
    33073837do
    33083838  # Extract the first word of "$ac_prog", so it can be a program name with args.
    33093839set dummy $ac_prog; ac_word=$2
    3310 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3840{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3841echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    33123842if test "${ac_cv_prog_GZIP+set}" = set; then
    33133843  echo $ECHO_N "(cached) $ECHO_C" >&6
    33143844else
     
    33213851  IFS=$as_save_IFS
    33223852  test -z "$as_dir" && as_dir=.
    33233853  for ac_exec_ext in '' $ac_executable_extensions; do
    3324   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3854  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    33253855    ac_cv_prog_GZIP="$ac_prog"
    33263856    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    33273857    break 2
    33283858  fi
    33293859done
    33303860done
     3861IFS=$as_save_IFS
    33313862
    33323863fi
    33333864fi
    33343865GZIP=$ac_cv_prog_GZIP
    33353866if test -n "$GZIP"; then
    3336   echo "$as_me:$LINENO: result: $GZIP" >&5
    3337 echo "${ECHO_T}$GZIP" >&6
     3867  { echo "$as_me:$LINENO: result: $GZIP" >&5
     3868echo "${ECHO_T}$GZIP" >&6; }
    33383869else
    3339   echo "$as_me:$LINENO: result: no" >&5
    3340 echo "${ECHO_T}no" >&6
     3870  { echo "$as_me:$LINENO: result: no" >&5
     3871echo "${ECHO_T}no" >&6; }
    33413872fi
    33423873
     3874
    33433875  test -n "$GZIP" && break
    33443876done
    33453877
     
    33473879do
    33483880  # Extract the first word of "$ac_prog", so it can be a program name with args.
    33493881set dummy $ac_prog; ac_word=$2
    3350 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3882{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3883echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    33523884if test "${ac_cv_prog_ZIP+set}" = set; then
    33533885  echo $ECHO_N "(cached) $ECHO_C" >&6
    33543886else
     
    33613893  IFS=$as_save_IFS
    33623894  test -z "$as_dir" && as_dir=.
    33633895  for ac_exec_ext in '' $ac_executable_extensions; do
    3364   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3896  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    33653897    ac_cv_prog_ZIP="$ac_prog"
    33663898    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    33673899    break 2
    33683900  fi
    33693901done
    33703902done
     3903IFS=$as_save_IFS
    33713904
    33723905fi
    33733906fi
    33743907ZIP=$ac_cv_prog_ZIP
    33753908if test -n "$ZIP"; then
    3376   echo "$as_me:$LINENO: result: $ZIP" >&5
    3377 echo "${ECHO_T}$ZIP" >&6
     3909  { echo "$as_me:$LINENO: result: $ZIP" >&5
     3910echo "${ECHO_T}$ZIP" >&6; }
    33783911else
    3379   echo "$as_me:$LINENO: result: no" >&5
    3380 echo "${ECHO_T}no" >&6
     3912  { echo "$as_me:$LINENO: result: no" >&5
     3913echo "${ECHO_T}no" >&6; }
    33813914fi
    33823915
     3916
    33833917  test -n "$ZIP" && break
    33843918done
    33853919
     
    33903924do
    33913925  # Extract the first word of "$ac_prog", so it can be a program name with args.
    33923926set dummy $ac_prog; ac_word=$2
    3393 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3927{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3928echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    33953929if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
    33963930  echo $ECHO_N "(cached) $ECHO_C" >&6
    33973931else
     
    34043938  IFS=$as_save_IFS
    34053939  test -z "$as_dir" && as_dir=.
    34063940  for ac_exec_ext in '' $ac_executable_extensions; do
    3407   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3941  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    34083942    ac_cv_prog_CC_FOR_BUILD="$ac_prog"
    34093943    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    34103944    break 2
    34113945  fi
    34123946done
    34133947done
     3948IFS=$as_save_IFS
    34143949
    34153950fi
    34163951fi
    34173952CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
    34183953if test -n "$CC_FOR_BUILD"; then
    3419   echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
    3420 echo "${ECHO_T}$CC_FOR_BUILD" >&6
     3954  { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
     3955echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
    34213956else
    3422   echo "$as_me:$LINENO: result: no" >&5
    3423 echo "${ECHO_T}no" >&6
     3957  { echo "$as_me:$LINENO: result: no" >&5
     3958echo "${ECHO_T}no" >&6; }
    34243959fi
    34253960
     3961
    34263962  test -n "$CC_FOR_BUILD" && break
    34273963done
    34283964
     
    34303966do
    34313967  # Extract the first word of "$ac_prog", so it can be a program name with args.
    34323968set dummy $ac_prog; ac_word=$2
    3433 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3969{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3970echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    34353971if test "${ac_cv_prog_CXX_FOR_BUILD+set}" = set; then
    34363972  echo $ECHO_N "(cached) $ECHO_C" >&6
    34373973else
     
    34443980  IFS=$as_save_IFS
    34453981  test -z "$as_dir" && as_dir=.
    34463982  for ac_exec_ext in '' $ac_executable_extensions; do
    3447   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3983  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    34483984    ac_cv_prog_CXX_FOR_BUILD="$ac_prog"
    34493985    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    34503986    break 2
    34513987  fi
    34523988done
    34533989done
     3990IFS=$as_save_IFS
    34543991
    34553992fi
    34563993fi
    34573994CXX_FOR_BUILD=$ac_cv_prog_CXX_FOR_BUILD
    34583995if test -n "$CXX_FOR_BUILD"; then
    3459   echo "$as_me:$LINENO: result: $CXX_FOR_BUILD" >&5
    3460 echo "${ECHO_T}$CXX_FOR_BUILD" >&6
     3996  { echo "$as_me:$LINENO: result: $CXX_FOR_BUILD" >&5
     3997echo "${ECHO_T}$CXX_FOR_BUILD" >&6; }
    34613998else
    3462   echo "$as_me:$LINENO: result: no" >&5
    3463 echo "${ECHO_T}no" >&6
     3999  { echo "$as_me:$LINENO: result: no" >&5
     4000echo "${ECHO_T}no" >&6; }
    34644001fi
    34654002
     4003
    34664004  test -n "$CXX_FOR_BUILD" && break
    34674005done
    34684006
     
    34754013fi
    34764014
    34774015# Checks for optimizations
    3478 # Check whether --enable-debug or --disable-debug was given.
     4016# Check whether --enable-debug was given.
    34794017if test "${enable_debug+set}" = set; then
    3480   enableval="$enable_debug"
    3481   ac_enable_debug=$enableval
     4018  enableval=$enable_debug; ac_enable_debug=$enableval
    34824019else
    34834020  ac_enable_debug=no
    34844021
    3485 fi;
     4022fi
     4023
    34864024CONF_DEBUG=$ac_enable_debug
    34874025
    34884026
    3489 # Check whether --enable-test or --disable-test was given.
     4027# Check whether --enable-test was given.
    34904028if test "${enable_test+set}" = set; then
    3491   enableval="$enable_test"
    3492   ac_enable_test=$enableval
     4029  enableval=$enable_test; ac_enable_test=$enableval
    34934030else
    34944031  ac_enable_test=no
    34954032
    3496 fi;
     4033fi
     4034
    34974035
    3498 # Check whether --enable-static or --disable-static was given.
     4036# Check whether --enable-static was given.
    34994037if test "${enable_static+set}" = set; then
    3500   enableval="$enable_static"
    3501   ac_enable_static=$enableval
     4038  enableval=$enable_static; ac_enable_static=$enableval
    35024039else
    35034040  ac_enable_static=no
    35044041
    3505 fi;
     4042fi
     4043
    35064044
    35074045if test $ac_auto_cflags = yes; then
    35084046        if test $ac_enable_debug = yes ; then
     
    35474085        ac_cpu_arch_secondary=blend
    35484086fi
    35494087
    3550 echo "$as_me:$LINENO: checking build arch" >&5
    3551 echo $ECHO_N "checking build arch... $ECHO_C" >&6
    3552 echo "$as_me:$LINENO: result: $ac_cpu_arch" >&5
    3553 echo "${ECHO_T}$ac_cpu_arch" >&6
     4088{ echo "$as_me:$LINENO: checking build arch" >&5
     4089echo $ECHO_N "checking build arch... $ECHO_C" >&6; }
     4090{ echo "$as_me:$LINENO: result: $ac_cpu_arch" >&5
     4091echo "${ECHO_T}$ac_cpu_arch" >&6; }
    35544092
    35554093
    35564094if test $ac_cpu_arch = blend; then
    35574095        ac_cc_arch=blend
    35584096else
    35594097
    3560 echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -march=$ac_cpu_arch" >&5
    3561 echo $ECHO_N "checking whether ${CC-cc} accepts -march=$ac_cpu_arch... $ECHO_C" >&6
     4098{ echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -march=$ac_cpu_arch" >&5
     4099echo $ECHO_N "checking whether ${CC-cc} accepts -march=$ac_cpu_arch... $ECHO_C" >&6; }
    35624100echo 'void f(){}' > conftest.c
    35634101if test -z "`${CC-cc} -c -march=$ac_cpu_arch conftest.c 2>&1`"; then
    3564   echo "$as_me:$LINENO: result: yes" >&5
    3565 echo "${ECHO_T}yes" >&6
     4102  { echo "$as_me:$LINENO: result: yes" >&5
     4103echo "${ECHO_T}yes" >&6; }
    35664104  ac_cc_cpu_arch=yes
    35674105else
    3568   echo "$as_me:$LINENO: result: no" >&5
    3569 echo "${ECHO_T}no" >&6
     4106  { echo "$as_me:$LINENO: result: no" >&5
     4107echo "${ECHO_T}no" >&6; }
    35704108  ac_cc_cpu_arch=no
    35714109fi
    35724110rm -f conftest*
     
    35754113                ac_cc_arch=$ac_cpu_arch
    35764114        else
    35774115
    3578 echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -march=$ac_cpu_arch_secondary" >&5
    3579 echo $ECHO_N "checking whether ${CC-cc} accepts -march=$ac_cpu_arch_secondary... $ECHO_C" >&6
     4116{ echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -march=$ac_cpu_arch_secondary" >&5
     4117echo $ECHO_N "checking whether ${CC-cc} accepts -march=$ac_cpu_arch_secondary... $ECHO_C" >&6; }
    35804118echo 'void f(){}' > conftest.c
    35814119if test -z "`${CC-cc} -c -march=$ac_cpu_arch_secondary conftest.c 2>&1`"; then
    3582   echo "$as_me:$LINENO: result: yes" >&5
    3583 echo "${ECHO_T}yes" >&6
     4120  { echo "$as_me:$LINENO: result: yes" >&5
     4121echo "${ECHO_T}yes" >&6; }
    35844122  ac_cc_family_arch=yes
    35854123else
    3586   echo "$as_me:$LINENO: result: no" >&5
    3587 echo "${ECHO_T}no" >&6
     4124  { echo "$as_me:$LINENO: result: no" >&5
     4125echo "${ECHO_T}no" >&6; }
    35884126  ac_cc_family_arch=no
    35894127fi
    35904128rm -f conftest*
     
    36004138                if test ! $ac_cc_arch = blend; then
    36014139                        CFLAGS="$CFLAGS -march=$ac_cc_arch "
    36024140
    3603 echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fomit-frame-pointer" >&5
    3604 echo $ECHO_N "checking whether ${CC-cc} accepts -fomit-frame-pointer... $ECHO_C" >&6
     4141{ echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fomit-frame-pointer" >&5
     4142echo $ECHO_N "checking whether ${CC-cc} accepts -fomit-frame-pointer... $ECHO_C" >&6; }
    36054143echo 'void f(){}' > conftest.c
    36064144if test -z "`${CC-cc} -c -fomit-frame-pointer conftest.c 2>&1`"; then
    3607   echo "$as_me:$LINENO: result: yes" >&5
    3608 echo "${ECHO_T}yes" >&6
     4145  { echo "$as_me:$LINENO: result: yes" >&5
     4146echo "${ECHO_T}yes" >&6; }
    36094147  CFLAGS="$CFLAGS -fomit-frame-pointer"
    36104148else
    3611   echo "$as_me:$LINENO: result: no" >&5
    3612 echo "${ECHO_T}no" >&6
     4149  { echo "$as_me:$LINENO: result: no" >&5
     4150echo "${ECHO_T}no" >&6; }
    36134151
    36144152fi
    36154153rm -f conftest*
     
    36174155                fi
    36184156                # -O3 don't seem to be safe on x86 platforms, also on latest gcc 3.3.x
    36194157
    3620 echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -O2" >&5
    3621 echo $ECHO_N "checking whether ${CC-cc} accepts -O2... $ECHO_C" >&6
     4158{ echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -O2" >&5
     4159echo $ECHO_N "checking whether ${CC-cc} accepts -O2... $ECHO_C" >&6; }
    36224160echo 'void f(){}' > conftest.c
    36234161if test -z "`${CC-cc} -c -O2 conftest.c 2>&1`"; then
    3624   echo "$as_me:$LINENO: result: yes" >&5
    3625 echo "${ECHO_T}yes" >&6
     4162  { echo "$as_me:$LINENO: result: yes" >&5
     4163echo "${ECHO_T}yes" >&6; }
    36264164  CFLAGS="$CFLAGS -O2"
    36274165else
    3628   echo "$as_me:$LINENO: result: no" >&5
    3629 echo "${ECHO_T}no" >&6
     4166  { echo "$as_me:$LINENO: result: no" >&5
     4167echo "${ECHO_T}no" >&6; }
    36304168  CFLAGS="$CFLAGS -O"
    36314169fi
    36324170rm -f conftest*
    36334171
    36344172                # -fno-merge-constants is required to speedup the link time. ld spends a lot of time trying to merge partial strings.
    36354173
    3636 echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fno-merge-constants" >&5
    3637 echo $ECHO_N "checking whether ${CC-cc} accepts -fno-merge-constants... $ECHO_C" >&6
     4174{ echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fno-merge-constants" >&5
     4175echo $ECHO_N "checking whether ${CC-cc} accepts -fno-merge-constants... $ECHO_C" >&6; }
    36384176echo 'void f(){}' > conftest.c
    36394177if test -z "`${CC-cc} -c -fno-merge-constants conftest.c 2>&1`"; then
    3640   echo "$as_me:$LINENO: result: yes" >&5
    3641 echo "${ECHO_T}yes" >&6
     4178  { echo "$as_me:$LINENO: result: yes" >&5
     4179echo "${ECHO_T}yes" >&6; }
    36424180  CFLAGS="$CFLAGS -fno-merge-constants"
    36434181else
    3644   echo "$as_me:$LINENO: result: no" >&5
    3645 echo "${ECHO_T}no" >&6
     4182  { echo "$as_me:$LINENO: result: no" >&5
     4183echo "${ECHO_T}no" >&6; }
    36464184
    36474185fi
    36484186rm -f conftest*
    36494187
    36504188
    3651 echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -Wall" >&5
    3652 echo $ECHO_N "checking whether ${CC-cc} accepts -Wall... $ECHO_C" >&6
     4189{ echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -Wall" >&5
     4190echo $ECHO_N "checking whether ${CC-cc} accepts -Wall... $ECHO_C" >&6; }
    36534191echo 'void f(){}' > conftest.c
    36544192if test -z "`${CC-cc} -c -Wall conftest.c 2>&1`"; then
    3655   echo "$as_me:$LINENO: result: yes" >&5
    3656 echo "${ECHO_T}yes" >&6
     4193  { echo "$as_me:$LINENO: result: yes" >&5
     4194echo "${ECHO_T}yes" >&6; }
    36574195  CFLAGS="$CFLAGS -Wall"
    36584196else
    3659   echo "$as_me:$LINENO: result: no" >&5
    3660 echo "${ECHO_T}no" >&6
     4197  { echo "$as_me:$LINENO: result: no" >&5
     4198echo "${ECHO_T}no" >&6; }
    36614199
    36624200fi
    36634201rm -f conftest*
    36644202
    36654203
    3666 echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -Wno-sign-compare" >&5
    3667 echo $ECHO_N "checking whether ${CC-cc} accepts -Wno-sign-compare... $ECHO_C" >&6
     4204{ echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -Wno-sign-compare" >&5
     4205echo $ECHO_N "checking whether ${CC-cc} accepts -Wno-sign-compare... $ECHO_C" >&6; }
    36684206echo 'void f(){}' > conftest.c
    36694207if test -z "`${CC-cc} -c -Wno-sign-compare conftest.c 2>&1`"; then
    3670   echo "$as_me:$LINENO: result: yes" >&5
    3671 echo "${ECHO_T}yes" >&6
     4208  { echo "$as_me:$LINENO: result: yes" >&5
     4209echo "${ECHO_T}yes" >&6; }
    36724210  CFLAGS="$CFLAGS -Wno-sign-compare"
    36734211else
    3674   echo "$as_me:$LINENO: result: no" >&5
    3675 echo "${ECHO_T}no" >&6
     4212  { echo "$as_me:$LINENO: result: no" >&5
     4213echo "${ECHO_T}no" >&6; }
    36764214
    36774215fi
    36784216rm -f conftest*
    36794217
    36804218
    3681 echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -Wno-unused" >&5
    3682 echo $ECHO_N "checking whether ${CC-cc} accepts -Wno-unused... $ECHO_C" >&6
     4219{ echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -Wno-unused" >&5
     4220echo $ECHO_N "checking whether ${CC-cc} accepts -Wno-unused... $ECHO_C" >&6; }
    36834221echo 'void f(){}' > conftest.c
    36844222if test -z "`${CC-cc} -c -Wno-unused conftest.c 2>&1`"; then
    3685   echo "$as_me:$LINENO: result: yes" >&5
    3686 echo "${ECHO_T}yes" >&6
     4223  { echo "$as_me:$LINENO: result: yes" >&5
     4224echo "${ECHO_T}yes" >&6; }
    36874225  CFLAGS="$CFLAGS -Wno-unused"
    36884226else
    3689   echo "$as_me:$LINENO: result: no" >&5
    3690 echo "${ECHO_T}no" >&6
     4227  { echo "$as_me:$LINENO: result: no" >&5
     4228echo "${ECHO_T}no" >&6; }
    36914229
    36924230fi
    36934231rm -f conftest*
     
    37224260
    37234261# Checks for architecture
    37244262
    3725 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    3726 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
    3727 if test "${ac_cv_c_bigendian+set}" = set; then
     4263ac_ext=c
     4264ac_cpp='$CPP $CPPFLAGS'
     4265ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4266ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4267ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4268{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     4269echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
     4270# On Suns, sometimes $CPP names a directory.
     4271if test -n "$CPP" && test -d "$CPP"; then
     4272  CPP=
     4273fi
     4274if test -z "$CPP"; then
     4275  if test "${ac_cv_prog_CPP+set}" = set; then
    37284276  echo $ECHO_N "(cached) $ECHO_C" >&6
    37294277else
    3730   # See if sys/param.h defines the BYTE_ORDER macro.
    3731 cat >conftest.$ac_ext <<_ACEOF
     4278      # Double quotes because CPP needs to be expanded
     4279    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     4280    do
     4281      ac_preproc_ok=false
     4282for ac_c_preproc_warn_flag in '' yes
     4283do
     4284  # Use a header file that comes with gcc, so configuring glibc
     4285  # with a fresh cross-compiler works.
     4286  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     4287  # <limits.h> exists even on freestanding compilers.
     4288  # On the NeXT, cc -E runs the code through the compiler's parser,
     4289  # not just through cpp. "Syntax error" is here to catch this case.
     4290  cat >conftest.$ac_ext <<_ACEOF
    37324291/* confdefs.h.  */
    37334292_ACEOF
    37344293cat confdefs.h >>conftest.$ac_ext
    37354294cat >>conftest.$ac_ext <<_ACEOF
    37364295/* end confdefs.h.  */
    3737 #include <sys/types.h>
    3738 #include <sys/param.h>
    3739 
    3740 int
    3741 main ()
    3742 {
    3743 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
    3744  bogus endian macros
     4296#ifdef __STDC__
     4297# include <limits.h>
     4298#else
     4299# include <assert.h>
    37454300#endif
    3746 
    3747   ;
    3748   return 0;
    3749 }
     4301                     Syntax error
    37504302_ACEOF
    3751 rm -f conftest.$ac_objext
    3752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3753   (eval $ac_compile) 2>conftest.er1
     4303if { (ac_try="$ac_cpp conftest.$ac_ext"
     4304case "(($ac_try" in
     4305  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4306  *) ac_try_echo=$ac_try;;
     4307esac
     4308eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4309  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    37544310  ac_status=$?
    37554311  grep -v '^ *+' conftest.er1 >conftest.err
    37564312  rm -f conftest.er1
    37574313  cat conftest.err >&5
    37584314  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3759   (exit $ac_status); } &&
    3760          { ac_try='test -z "$ac_c_werror_flag"
    3761                          || test ! -s conftest.err'
    3762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3763   (eval $ac_try) 2>&5
    3764   ac_status=$?
    3765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3766   (exit $ac_status); }; } &&
    3767          { ac_try='test -s conftest.$ac_objext'
    3768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3769   (eval $ac_try) 2>&5
    3770   ac_status=$?
    3771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3772   (exit $ac_status); }; }; then
    3773   # It does; now see whether it defined to BIG_ENDIAN or not.
    3774 cat >conftest.$ac_ext <<_ACEOF
     4315  (exit $ac_status); } >/dev/null && {
     4316         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4317         test ! -s conftest.err
     4318       }; then
     4319  :
     4320else
     4321  echo "$as_me: failed program was:" >&5
     4322sed 's/^/| /' conftest.$ac_ext >&5
     4323
     4324  # Broken: fails on valid input.
     4325continue
     4326fi
     4327
     4328rm -f conftest.err conftest.$ac_ext
     4329
     4330  # OK, works on sane cases.  Now check whether nonexistent headers
     4331  # can be detected and how.
     4332  cat >conftest.$ac_ext <<_ACEOF
    37754333/* confdefs.h.  */
    37764334_ACEOF
    37774335cat confdefs.h >>conftest.$ac_ext
    37784336cat >>conftest.$ac_ext <<_ACEOF
    37794337/* end confdefs.h.  */
    3780 #include <sys/types.h>
    3781 #include <sys/param.h>
    3782 
    3783 int
    3784 main ()
    3785 {
    3786 #if BYTE_ORDER != BIG_ENDIAN
    3787  not big endian
    3788 #endif
    3789 
    3790   ;
    3791   return 0;
    3792 }
     4338#include <ac_nonexistent.h>
    37934339_ACEOF
    3794 rm -f conftest.$ac_objext
    3795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3796   (eval $ac_compile) 2>conftest.er1
     4340if { (ac_try="$ac_cpp conftest.$ac_ext"
     4341case "(($ac_try" in
     4342  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4343  *) ac_try_echo=$ac_try;;
     4344esac
     4345eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4346  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    37974347  ac_status=$?
    37984348  grep -v '^ *+' conftest.er1 >conftest.err
    37994349  rm -f conftest.er1
    38004350  cat conftest.err >&5
    38014351  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3802   (exit $ac_status); } &&
    3803          { ac_try='test -z "$ac_c_werror_flag"
    3804                          || test ! -s conftest.err'
    3805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3806   (eval $ac_try) 2>&5
    3807   ac_status=$?
    3808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3809   (exit $ac_status); }; } &&
    3810          { ac_try='test -s conftest.$ac_objext'
    3811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3812   (eval $ac_try) 2>&5
    3813   ac_status=$?
    3814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3815   (exit $ac_status); }; }; then
    3816   ac_cv_c_bigendian=yes
     4352  (exit $ac_status); } >/dev/null && {
     4353         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4354         test ! -s conftest.err
     4355       }; then
     4356  # Broken: success on invalid input.
     4357continue
    38174358else
    38184359  echo "$as_me: failed program was:" >&5
    38194360sed 's/^/| /' conftest.$ac_ext >&5
    38204361
    3821 ac_cv_c_bigendian=no
     4362  # Passes both tests.
     4363ac_preproc_ok=:
     4364break
    38224365fi
    3823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3824 else
    3825   echo "$as_me: failed program was:" >&5
    3826 sed 's/^/| /' conftest.$ac_ext >&5
    38274366
    3828 # It does not; compile a test program.
    3829 if test "$cross_compiling" = yes; then
    3830   # try to guess the endianness by grepping values into an object file
    3831   ac_cv_c_bigendian=unknown
    3832   cat >conftest.$ac_ext <<_ACEOF
    3833 /* confdefs.h.  */
    3834 _ACEOF
    3835 cat confdefs.h >>conftest.$ac_ext
    3836 cat >>conftest.$ac_ext <<_ACEOF
    3837 /* end confdefs.h.  */
    3838 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    3839 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    3840 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
    3841 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    3842 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    3843 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
    3844 int
    3845 main ()
    3846 {
    3847  _ascii (); _ebcdic ();
    3848   ;
    3849   return 0;
    3850 }
    3851 _ACEOF
    3852 rm -f conftest.$ac_objext
    3853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3854   (eval $ac_compile) 2>conftest.er1
    3855   ac_status=$?
    3856   grep -v '^ *+' conftest.er1 >conftest.err
    3857   rm -f conftest.er1
    3858   cat conftest.err >&5
    3859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3860   (exit $ac_status); } &&
    3861          { ac_try='test -z "$ac_c_werror_flag"
    3862                          || test ! -s conftest.err'
    3863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3864   (eval $ac_try) 2>&5
    3865   ac_status=$?
    3866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3867   (exit $ac_status); }; } &&
    3868          { ac_try='test -s conftest.$ac_objext'
    3869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3870   (eval $ac_try) 2>&5
    3871   ac_status=$?
    3872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3873   (exit $ac_status); }; }; then
    3874   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
    3875   ac_cv_c_bigendian=yes
    3876 fi
    3877 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
    3878   if test "$ac_cv_c_bigendian" = unknown; then
    3879     ac_cv_c_bigendian=no
    3880   else
    3881     # finding both strings is unlikely to happen, but who knows?
    3882     ac_cv_c_bigendian=unknown
    3883   fi
    3884 fi
    3885 else
    3886   echo "$as_me: failed program was:" >&5
    3887 sed 's/^/| /' conftest.$ac_ext >&5
    3888 
    3889 fi
    3890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3891 else
    3892   cat >conftest.$ac_ext <<_ACEOF
    3893 /* confdefs.h.  */
    3894 _ACEOF
    3895 cat confdefs.h >>conftest.$ac_ext
    3896 cat >>conftest.$ac_ext <<_ACEOF
    3897 /* end confdefs.h.  */
    3898 int
    3899 main ()
    3900 {
    3901   /* Are we little or big endian?  From Harbison&Steele.  */
    3902   union
    3903   {
    3904     long l;
    3905     char c[sizeof (long)];
    3906   } u;
    3907   u.l = 1;
    3908   exit (u.c[sizeof (long) - 1] == 1);
    3909 }
    3910 _ACEOF
    3911 rm -f conftest$ac_exeext
    3912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3913   (eval $ac_link) 2>&5
    3914   ac_status=$?
    3915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3916   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3918   (eval $ac_try) 2>&5
    3919   ac_status=$?
    3920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3921   (exit $ac_status); }; }; then
    3922   ac_cv_c_bigendian=no
    3923 else
    3924   echo "$as_me: program exited with status $ac_status" >&5
    3925 echo "$as_me: failed program was:" >&5
    3926 sed 's/^/| /' conftest.$ac_ext >&5
    3927 
    3928 ( exit $ac_status )
    3929 ac_cv_c_bigendian=yes
    3930 fi
    3931 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3932 fi
    3933 fi
    3934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3935 fi
    3936 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    3937 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
    3938 case $ac_cv_c_bigendian in
    3939   yes)
    3940     ac_is_bigendian=yes ;;
    3941   no)
    3942     ac_is_bigendian=no
    3943  ;;
    3944   *)
    3945     { { echo "$as_me:$LINENO: error: unknown endianness
    3946 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    3947 echo "$as_me: error: unknown endianness
    3948 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    3949    { (exit 1); exit 1; }; } ;;
    3950 esac
    3951 
    3952 if test $ac_is_bigendian = yes; then
    3953         CFLAGS_ARCH="$CFLAGS_ARCH -DUSE_MSB"
    3954 else
    3955         CFLAGS_ARCH="$CFLAGS_ARCH -DUSE_LSB"
    3956 fi
    3957 
    3958 ac_ext=c
    3959 ac_cpp='$CPP $CPPFLAGS'
    3960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3963 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3964 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    3965 # On Suns, sometimes $CPP names a directory.
    3966 if test -n "$CPP" && test -d "$CPP"; then
    3967   CPP=
    3968 fi
    3969 if test -z "$CPP"; then
    3970   if test "${ac_cv_prog_CPP+set}" = set; then
    3971   echo $ECHO_N "(cached) $ECHO_C" >&6
    3972 else
    3973       # Double quotes because CPP needs to be expanded
    3974     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    3975     do
    3976       ac_preproc_ok=false
    3977 for ac_c_preproc_warn_flag in '' yes
    3978 do
    3979   # Use a header file that comes with gcc, so configuring glibc
    3980   # with a fresh cross-compiler works.
    3981   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    3982   # <limits.h> exists even on freestanding compilers.
    3983   # On the NeXT, cc -E runs the code through the compiler's parser,
    3984   # not just through cpp. "Syntax error" is here to catch this case.
    3985   cat >conftest.$ac_ext <<_ACEOF
    3986 /* confdefs.h.  */
    3987 _ACEOF
    3988 cat confdefs.h >>conftest.$ac_ext
    3989 cat >>conftest.$ac_ext <<_ACEOF
    3990 /* end confdefs.h.  */
    3991 #ifdef __STDC__
    3992 # include <limits.h>
    3993 #else
    3994 # include <assert.h>
    3995 #endif
    3996                      Syntax error
    3997 _ACEOF
    3998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3999   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4000   ac_status=$?
    4001   grep -v '^ *+' conftest.er1 >conftest.err
    4002   rm -f conftest.er1
    4003   cat conftest.err >&5
    4004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4005   (exit $ac_status); } >/dev/null; then
    4006   if test -s conftest.err; then
    4007     ac_cpp_err=$ac_c_preproc_warn_flag
    4008     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4009   else
    4010     ac_cpp_err=
    4011   fi
    4012 else
    4013   ac_cpp_err=yes
    4014 fi
    4015 if test -z "$ac_cpp_err"; then
    4016   :
    4017 else
    4018   echo "$as_me: failed program was:" >&5
    4019 sed 's/^/| /' conftest.$ac_ext >&5
    4020 
    4021   # Broken: fails on valid input.
    4022 continue
    4023 fi
    4024 rm -f conftest.err conftest.$ac_ext
    4025 
    4026   # OK, works on sane cases.  Now check whether non-existent headers
    4027   # can be detected and how.
    4028   cat >conftest.$ac_ext <<_ACEOF
    4029 /* confdefs.h.  */
    4030 _ACEOF
    4031 cat confdefs.h >>conftest.$ac_ext
    4032 cat >>conftest.$ac_ext <<_ACEOF
    4033 /* end confdefs.h.  */
    4034 #include <ac_nonexistent.h>
    4035 _ACEOF
    4036 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4037   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4038   ac_status=$?
    4039   grep -v '^ *+' conftest.er1 >conftest.err
    4040   rm -f conftest.er1
    4041   cat conftest.err >&5
    4042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4043   (exit $ac_status); } >/dev/null; then
    4044   if test -s conftest.err; then
    4045     ac_cpp_err=$ac_c_preproc_warn_flag
    4046     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4047   else
    4048     ac_cpp_err=
    4049   fi
    4050 else
    4051   ac_cpp_err=yes
    4052 fi
    4053 if test -z "$ac_cpp_err"; then
    4054   # Broken: success on invalid input.
    4055 continue
    4056 else
    4057   echo "$as_me: failed program was:" >&5
    4058 sed 's/^/| /' conftest.$ac_ext >&5
    4059 
    4060   # Passes both tests.
    4061 ac_preproc_ok=:
    4062 break
    4063 fi
    40644367rm -f conftest.err conftest.$ac_ext
    40654368
    40664369done
     
    40784381else
    40794382  ac_cv_prog_CPP=$CPP
    40804383fi
    4081 echo "$as_me:$LINENO: result: $CPP" >&5
    4082 echo "${ECHO_T}$CPP" >&6
     4384{ echo "$as_me:$LINENO: result: $CPP" >&5
     4385echo "${ECHO_T}$CPP" >&6; }
    40834386ac_preproc_ok=false
    40844387for ac_c_preproc_warn_flag in '' yes
    40854388do
     
    41024405#endif
    41034406                     Syntax error
    41044407_ACEOF
    4105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4106   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4408if { (ac_try="$ac_cpp conftest.$ac_ext"
     4409case "(($ac_try" in
     4410  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4411  *) ac_try_echo=$ac_try;;
     4412esac
     4413eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4414  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    41074415  ac_status=$?
    41084416  grep -v '^ *+' conftest.er1 >conftest.err
    41094417  rm -f conftest.er1
    41104418  cat conftest.err >&5
    41114419  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4112   (exit $ac_status); } >/dev/null; then
    4113   if test -s conftest.err; then
    4114     ac_cpp_err=$ac_c_preproc_warn_flag
    4115     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4116   else
    4117     ac_cpp_err=
    4118   fi
    4119 else
    4120   ac_cpp_err=yes
    4121 fi
    4122 if test -z "$ac_cpp_err"; then
     4420  (exit $ac_status); } >/dev/null && {
     4421         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4422         test ! -s conftest.err
     4423       }; then
    41234424  :
    41244425else
    41254426  echo "$as_me: failed program was:" >&5
     
    41284429  # Broken: fails on valid input.
    41294430continue
    41304431fi
     4432
    41314433rm -f conftest.err conftest.$ac_ext
    41324434
    4133   # OK, works on sane cases.  Now check whether non-existent headers
     4435  # OK, works on sane cases.  Now check whether nonexistent headers
    41344436  # can be detected and how.
    41354437  cat >conftest.$ac_ext <<_ACEOF
    41364438/* confdefs.h.  */
     
    41404442/* end confdefs.h.  */
    41414443#include <ac_nonexistent.h>
    41424444_ACEOF
    4143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4144   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4445if { (ac_try="$ac_cpp conftest.$ac_ext"
     4446case "(($ac_try" in
     4447  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4448  *) ac_try_echo=$ac_try;;
     4449esac
     4450eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4451  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    41454452  ac_status=$?
    41464453  grep -v '^ *+' conftest.er1 >conftest.err
    41474454  rm -f conftest.er1
    41484455  cat conftest.err >&5
    41494456  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4150   (exit $ac_status); } >/dev/null; then
    4151   if test -s conftest.err; then
    4152     ac_cpp_err=$ac_c_preproc_warn_flag
    4153     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4154   else
    4155     ac_cpp_err=
    4156   fi
    4157 else
    4158   ac_cpp_err=yes
    4159 fi
    4160 if test -z "$ac_cpp_err"; then
     4457  (exit $ac_status); } >/dev/null && {
     4458         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4459         test ! -s conftest.err
     4460       }; then
    41614461  # Broken: success on invalid input.
    41624462continue
    41634463else
     
    41684468ac_preproc_ok=:
    41694469break
    41704470fi
     4471
    41714472rm -f conftest.err conftest.$ac_ext
    41724473
    41734474done
     
    41904491ac_compiler_gnu=$ac_cv_c_compiler_gnu
    41914492
    41924493
    4193 echo "$as_me:$LINENO: checking for egrep" >&5
    4194 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    4195 if test "${ac_cv_prog_egrep+set}" = set; then
     4494{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     4495echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
     4496if test "${ac_cv_path_GREP+set}" = set; then
     4497  echo $ECHO_N "(cached) $ECHO_C" >&6
     4498else
     4499  # Extract the first word of "grep ggrep" to use in msg output
     4500if test -z "$GREP"; then
     4501set dummy grep ggrep; ac_prog_name=$2
     4502if test "${ac_cv_path_GREP+set}" = set; then
    41964503  echo $ECHO_N "(cached) $ECHO_C" >&6
    41974504else
    4198   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    4199     then ac_cv_prog_egrep='grep -E'
    4200     else ac_cv_prog_egrep='egrep'
     4505  ac_path_GREP_found=false
     4506# Loop through the user's path and test for each of PROGNAME-LIST
     4507as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4508for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4509do
     4510  IFS=$as_save_IFS
     4511  test -z "$as_dir" && as_dir=.
     4512  for ac_prog in grep ggrep; do
     4513  for ac_exec_ext in '' $ac_executable_extensions; do
     4514    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     4515    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4516    # Check for GNU ac_path_GREP and select it if it is found.
     4517  # Check for GNU $ac_path_GREP
     4518case `"$ac_path_GREP" --version 2>&1` in
     4519*GNU*)
     4520  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     4521*)
     4522  ac_count=0
     4523  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     4524  while :
     4525  do
     4526    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4527    mv "conftest.tmp" "conftest.in"
     4528    cp "conftest.in" "conftest.nl"
     4529    echo 'GREP' >> "conftest.nl"
     4530    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4531    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4532    ac_count=`expr $ac_count + 1`
     4533    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     4534      # Best one so far, save it but keep looking for a better one
     4535      ac_cv_path_GREP="$ac_path_GREP"
     4536      ac_path_GREP_max=$ac_count
    42014537    fi
     4538    # 10*(2^10) chars as input seems more than enough
     4539    test $ac_count -gt 10 && break
     4540  done
     4541  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4542esac
     4543
     4544
     4545    $ac_path_GREP_found && break 3
     4546  done
     4547done
     4548
     4549done
     4550IFS=$as_save_IFS
     4551
     4552
     4553fi
     4554
     4555GREP="$ac_cv_path_GREP"
     4556if test -z "$GREP"; then
     4557  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4558echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4559   { (exit 1); exit 1; }; }
     4560fi
     4561
     4562else
     4563  ac_cv_path_GREP=$GREP
     4564fi
     4565
     4566
     4567fi
     4568{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     4569echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
     4570 GREP="$ac_cv_path_GREP"
     4571
     4572
     4573{ echo "$as_me:$LINENO: checking for egrep" >&5
     4574echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
     4575if test "${ac_cv_path_EGREP+set}" = set; then
     4576  echo $ECHO_N "(cached) $ECHO_C" >&6
     4577else
     4578  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     4579   then ac_cv_path_EGREP="$GREP -E"
     4580   else
     4581     # Extract the first word of "egrep" to use in msg output
     4582if test -z "$EGREP"; then
     4583set dummy egrep; ac_prog_name=$2
     4584if test "${ac_cv_path_EGREP+set}" = set; then
     4585  echo $ECHO_N "(cached) $ECHO_C" >&6
     4586else
     4587  ac_path_EGREP_found=false
     4588# Loop through the user's path and test for each of PROGNAME-LIST
     4589as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4590for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4591do
     4592  IFS=$as_save_IFS
     4593  test -z "$as_dir" && as_dir=.
     4594  for ac_prog in egrep; do
     4595  for ac_exec_ext in '' $ac_executable_extensions; do
     4596    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4597    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4598    # Check for GNU ac_path_EGREP and select it if it is found.
     4599  # Check for GNU $ac_path_EGREP
     4600case `"$ac_path_EGREP" --version 2>&1` in
     4601*GNU*)
     4602  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     4603*)
     4604  ac_count=0
     4605  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     4606  while :
     4607  do
     4608    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4609    mv "conftest.tmp" "conftest.in"
     4610    cp "conftest.in" "conftest.nl"
     4611    echo 'EGREP' >> "conftest.nl"
     4612    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4613    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4614    ac_count=`expr $ac_count + 1`
     4615    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     4616      # Best one so far, save it but keep looking for a better one
     4617      ac_cv_path_EGREP="$ac_path_EGREP"
     4618      ac_path_EGREP_max=$ac_count
     4619    fi
     4620    # 10*(2^10) chars as input seems more than enough
     4621    test $ac_count -gt 10 && break
     4622  done
     4623  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4624esac
     4625
     4626
     4627    $ac_path_EGREP_found && break 3
     4628  done
     4629done
     4630
     4631done
     4632IFS=$as_save_IFS
     4633
     4634
     4635fi
     4636
     4637EGREP="$ac_cv_path_EGREP"
     4638if test -z "$EGREP"; then
     4639  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4640echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4641   { (exit 1); exit 1; }; }
     4642fi
     4643
     4644else
     4645  ac_cv_path_EGREP=$EGREP
    42024646fi
    4203 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    4204 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    4205  EGREP=$ac_cv_prog_egrep
    42064647
    42074648
    4208 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    4209 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     4649   fi
     4650fi
     4651{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4652echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
     4653 EGREP="$ac_cv_path_EGREP"
     4654
     4655
     4656{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4657echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    42104658if test "${ac_cv_header_stdc+set}" = set; then
    42114659  echo $ECHO_N "(cached) $ECHO_C" >&6
    42124660else
     
    42304678}
    42314679_ACEOF
    42324680rm -f conftest.$ac_objext
    4233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4234   (eval $ac_compile) 2>conftest.er1
     4681if { (ac_try="$ac_compile"
     4682case "(($ac_try" in
     4683  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4684  *) ac_try_echo=$ac_try;;
     4685esac
     4686eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4687  (eval "$ac_compile") 2>conftest.er1
    42354688  ac_status=$?
    42364689  grep -v '^ *+' conftest.er1 >conftest.err
    42374690  rm -f conftest.er1
    42384691  cat conftest.err >&5
    42394692  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4240   (exit $ac_status); } &&
    4241          { ac_try='test -z "$ac_c_werror_flag"
    4242                          || test ! -s conftest.err'
    4243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4244   (eval $ac_try) 2>&5
    4245   ac_status=$?
    4246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4247   (exit $ac_status); }; } &&
    4248          { ac_try='test -s conftest.$ac_objext'
    4249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4250   (eval $ac_try) 2>&5
    4251   ac_status=$?
    4252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4253   (exit $ac_status); }; }; then
     4693  (exit $ac_status); } && {
     4694         test -z "$ac_c_werror_flag" ||
     4695         test ! -s conftest.err
     4696       } && test -s conftest.$ac_objext; then
    42544697  ac_cv_header_stdc=yes
    42554698else
    42564699  echo "$as_me: failed program was:" >&5
    42574700sed 's/^/| /' conftest.$ac_ext >&5
    42584701
    4259 ac_cv_header_stdc=no
     4702        ac_cv_header_stdc=no
    42604703fi
    4261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4704
     4705rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    42624706
    42634707if test $ac_cv_header_stdc = yes; then
    42644708  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     
    42984742else
    42994743  ac_cv_header_stdc=no
    43004744fi
    4301 rm -f conftest*
     4745rm -f conftest*
     4746
     4747fi
     4748
     4749if test $ac_cv_header_stdc = yes; then
     4750  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     4751  if test "$cross_compiling" = yes; then
     4752  :
     4753else
     4754  cat >conftest.$ac_ext <<_ACEOF
     4755/* confdefs.h.  */
     4756_ACEOF
     4757cat confdefs.h >>conftest.$ac_ext
     4758cat >>conftest.$ac_ext <<_ACEOF
     4759/* end confdefs.h.  */
     4760#include <ctype.h>
     4761#include <stdlib.h>
     4762#if ((' ' & 0x0FF) == 0x020)
     4763# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     4764# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     4765#else
     4766# define ISLOWER(c) \
     4767                   (('a' <= (c) && (c) <= 'i') \
     4768                     || ('j' <= (c) && (c) <= 'r') \
     4769                     || ('s' <= (c) && (c) <= 'z'))
     4770# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     4771#endif
     4772
     4773#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     4774int
     4775main ()
     4776{
     4777  int i;
     4778  for (i = 0; i < 256; i++)
     4779    if (XOR (islower (i), ISLOWER (i))
     4780        || toupper (i) != TOUPPER (i))
     4781      return 2;
     4782  return 0;
     4783}
     4784_ACEOF
     4785rm -f conftest$ac_exeext
     4786if { (ac_try="$ac_link"
     4787case "(($ac_try" in
     4788  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4789  *) ac_try_echo=$ac_try;;
     4790esac
     4791eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4792  (eval "$ac_link") 2>&5
     4793  ac_status=$?
     4794  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4795  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     4796  { (case "(($ac_try" in
     4797  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4798  *) ac_try_echo=$ac_try;;
     4799esac
     4800eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4801  (eval "$ac_try") 2>&5
     4802  ac_status=$?
     4803  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4804  (exit $ac_status); }; }; then
     4805  :
     4806else
     4807  echo "$as_me: program exited with status $ac_status" >&5
     4808echo "$as_me: failed program was:" >&5
     4809sed 's/^/| /' conftest.$ac_ext >&5
     4810
     4811( exit $ac_status )
     4812ac_cv_header_stdc=no
     4813fi
     4814rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4815fi
     4816
     4817
     4818fi
     4819fi
     4820{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4821echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
     4822if test $ac_cv_header_stdc = yes; then
     4823
     4824cat >>confdefs.h <<\_ACEOF
     4825#define STDC_HEADERS 1
     4826_ACEOF
     4827
     4828fi
     4829
     4830# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4831
     4832
     4833
     4834
     4835
     4836
     4837
     4838
     4839
     4840for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4841                  inttypes.h stdint.h unistd.h
     4842do
     4843as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4844{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     4845echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4846if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4847  echo $ECHO_N "(cached) $ECHO_C" >&6
     4848else
     4849  cat >conftest.$ac_ext <<_ACEOF
     4850/* confdefs.h.  */
     4851_ACEOF
     4852cat confdefs.h >>conftest.$ac_ext
     4853cat >>conftest.$ac_ext <<_ACEOF
     4854/* end confdefs.h.  */
     4855$ac_includes_default
     4856
     4857#include <$ac_header>
     4858_ACEOF
     4859rm -f conftest.$ac_objext
     4860if { (ac_try="$ac_compile"
     4861case "(($ac_try" in
     4862  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4863  *) ac_try_echo=$ac_try;;
     4864esac
     4865eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4866  (eval "$ac_compile") 2>conftest.er1
     4867  ac_status=$?
     4868  grep -v '^ *+' conftest.er1 >conftest.err
     4869  rm -f conftest.er1
     4870  cat conftest.err >&5
     4871  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4872  (exit $ac_status); } && {
     4873         test -z "$ac_c_werror_flag" ||
     4874         test ! -s conftest.err
     4875       } && test -s conftest.$ac_objext; then
     4876  eval "$as_ac_Header=yes"
     4877else
     4878  echo "$as_me: failed program was:" >&5
     4879sed 's/^/| /' conftest.$ac_ext >&5
     4880
     4881        eval "$as_ac_Header=no"
     4882fi
     4883
     4884rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4885fi
     4886ac_res=`eval echo '${'$as_ac_Header'}'`
     4887               { echo "$as_me:$LINENO: result: $ac_res" >&5
     4888echo "${ECHO_T}$ac_res" >&6; }
     4889if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4890  cat >>confdefs.h <<_ACEOF
     4891#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4892_ACEOF
     4893
     4894fi
     4895
     4896done
     4897
     4898
     4899{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     4900echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
     4901if test "${ac_cv_c_bigendian+set}" = set; then
     4902  echo $ECHO_N "(cached) $ECHO_C" >&6
     4903else
     4904  # See if sys/param.h defines the BYTE_ORDER macro.
     4905cat >conftest.$ac_ext <<_ACEOF
     4906/* confdefs.h.  */
     4907_ACEOF
     4908cat confdefs.h >>conftest.$ac_ext
     4909cat >>conftest.$ac_ext <<_ACEOF
     4910/* end confdefs.h.  */
     4911#include <sys/types.h>
     4912#include <sys/param.h>
     4913
     4914int
     4915main ()
     4916{
     4917#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
     4918        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
     4919 bogus endian macros
     4920#endif
     4921
     4922  ;
     4923  return 0;
     4924}
     4925_ACEOF
     4926rm -f conftest.$ac_objext
     4927if { (ac_try="$ac_compile"
     4928case "(($ac_try" in
     4929  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4930  *) ac_try_echo=$ac_try;;
     4931esac
     4932eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4933  (eval "$ac_compile") 2>conftest.er1
     4934  ac_status=$?
     4935  grep -v '^ *+' conftest.er1 >conftest.err
     4936  rm -f conftest.er1
     4937  cat conftest.err >&5
     4938  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4939  (exit $ac_status); } && {
     4940         test -z "$ac_c_werror_flag" ||
     4941         test ! -s conftest.err
     4942       } && test -s conftest.$ac_objext; then
     4943  # It does; now see whether it defined to BIG_ENDIAN or not.
     4944cat >conftest.$ac_ext <<_ACEOF
     4945/* confdefs.h.  */
     4946_ACEOF
     4947cat confdefs.h >>conftest.$ac_ext
     4948cat >>conftest.$ac_ext <<_ACEOF
     4949/* end confdefs.h.  */
     4950#include <sys/types.h>
     4951#include <sys/param.h>
     4952
     4953int
     4954main ()
     4955{
     4956#if BYTE_ORDER != BIG_ENDIAN
     4957 not big endian
     4958#endif
     4959
     4960  ;
     4961  return 0;
     4962}
     4963_ACEOF
     4964rm -f conftest.$ac_objext
     4965if { (ac_try="$ac_compile"
     4966case "(($ac_try" in
     4967  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4968  *) ac_try_echo=$ac_try;;
     4969esac
     4970eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4971  (eval "$ac_compile") 2>conftest.er1
     4972  ac_status=$?
     4973  grep -v '^ *+' conftest.er1 >conftest.err
     4974  rm -f conftest.er1
     4975  cat conftest.err >&5
     4976  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4977  (exit $ac_status); } && {
     4978         test -z "$ac_c_werror_flag" ||
     4979         test ! -s conftest.err
     4980       } && test -s conftest.$ac_objext; then
     4981  ac_cv_c_bigendian=yes
     4982else
     4983  echo "$as_me: failed program was:" >&5
     4984sed 's/^/| /' conftest.$ac_ext >&5
     4985
     4986        ac_cv_c_bigendian=no
     4987fi
     4988
     4989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4990else
     4991  echo "$as_me: failed program was:" >&5
     4992sed 's/^/| /' conftest.$ac_ext >&5
     4993
     4994        # It does not; compile a test program.
     4995if test "$cross_compiling" = yes; then
     4996  # try to guess the endianness by grepping values into an object file
     4997  ac_cv_c_bigendian=unknown
     4998  cat >conftest.$ac_ext <<_ACEOF
     4999/* confdefs.h.  */
     5000_ACEOF
     5001cat confdefs.h >>conftest.$ac_ext
     5002cat >>conftest.$ac_ext <<_ACEOF
     5003/* end confdefs.h.  */
     5004short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     5005short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     5006void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
     5007short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     5008short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     5009void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
     5010int
     5011main ()
     5012{
     5013 _ascii (); _ebcdic ();
     5014  ;
     5015  return 0;
     5016}
     5017_ACEOF
     5018rm -f conftest.$ac_objext
     5019if { (ac_try="$ac_compile"
     5020case "(($ac_try" in
     5021  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5022  *) ac_try_echo=$ac_try;;
     5023esac
     5024eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5025  (eval "$ac_compile") 2>conftest.er1
     5026  ac_status=$?
     5027  grep -v '^ *+' conftest.er1 >conftest.err
     5028  rm -f conftest.er1
     5029  cat conftest.err >&5
     5030  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5031  (exit $ac_status); } && {
     5032         test -z "$ac_c_werror_flag" ||
     5033         test ! -s conftest.err
     5034       } && test -s conftest.$ac_objext; then
     5035  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
     5036  ac_cv_c_bigendian=yes
     5037fi
     5038if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
     5039  if test "$ac_cv_c_bigendian" = unknown; then
     5040    ac_cv_c_bigendian=no
     5041  else
     5042    # finding both strings is unlikely to happen, but who knows?
     5043    ac_cv_c_bigendian=unknown
     5044  fi
     5045fi
     5046else
     5047  echo "$as_me: failed program was:" >&5
     5048sed 's/^/| /' conftest.$ac_ext >&5
     5049
    43025050
    43035051fi
    43045052
    4305 if test $ac_cv_header_stdc = yes; then
    4306   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4307   if test "$cross_compiling" = yes; then
    4308   :
     5053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    43095054else
    43105055  cat >conftest.$ac_ext <<_ACEOF
    43115056/* confdefs.h.  */
     
    43135058cat confdefs.h >>conftest.$ac_ext
    43145059cat >>conftest.$ac_ext <<_ACEOF
    43155060/* end confdefs.h.  */
    4316 #include <ctype.h>
    4317 #if ((' ' & 0x0FF) == 0x020)
    4318 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    4319 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    4320 #else
    4321 # define ISLOWER(c) \
    4322                    (('a' <= (c) && (c) <= 'i') \
    4323                      || ('j' <= (c) && (c) <= 'r') \
    4324                      || ('s' <= (c) && (c) <= 'z'))
    4325 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    4326 #endif
    4327 
    4328 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     5061$ac_includes_default
    43295062int
    43305063main ()
    43315064{
    4332   int i;
    4333   for (i = 0; i < 256; i++)
    4334     if (XOR (islower (i), ISLOWER (i))
    4335         || toupper (i) != TOUPPER (i))
    4336       exit(2);
    4337   exit (0);
     5065
     5066  /* Are we little or big endian?  From Harbison&Steele.  */
     5067  union
     5068  {
     5069    long int l;
     5070    char c[sizeof (long int)];
     5071  } u;
     5072  u.l = 1;
     5073  return u.c[sizeof (long int) - 1] == 1;
     5074
     5075  ;
     5076  return 0;
    43385077}
    43395078_ACEOF
    43405079rm -f conftest$ac_exeext
    4341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4342   (eval $ac_link) 2>&5
     5080if { (ac_try="$ac_link"
     5081case "(($ac_try" in
     5082  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5083  *) ac_try_echo=$ac_try;;
     5084esac
     5085eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5086  (eval "$ac_link") 2>&5
    43435087  ac_status=$?
    43445088  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43455089  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4347   (eval $ac_try) 2>&5
     5090  { (case "(($ac_try" in
     5091  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5092  *) ac_try_echo=$ac_try;;
     5093esac
     5094eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5095  (eval "$ac_try") 2>&5
    43485096  ac_status=$?
    43495097  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43505098  (exit $ac_status); }; }; then
    4351   :
     5099  ac_cv_c_bigendian=no
    43525100else
    43535101  echo "$as_me: program exited with status $ac_status" >&5
    43545102echo "$as_me: failed program was:" >&5
    43555103sed 's/^/| /' conftest.$ac_ext >&5
    43565104
    43575105( exit $ac_status )
    4358 ac_cv_header_stdc=no
    4359 fi
    4360 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4361 fi
     5106ac_cv_c_bigendian=yes
    43625107fi
     5108rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    43635109fi
    4364 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    4365 echo "${ECHO_T}$ac_cv_header_stdc" >&6
    4366 if test $ac_cv_header_stdc = yes; then
    43675110
    4368 cat >>confdefs.h <<\_ACEOF
    4369 #define STDC_HEADERS 1
    4370 _ACEOF
    43715111
    43725112fi
    43735113
    4374 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    4375 
    4376 
    4377 
    4378 
    4379 
    4380 
    4381 
    4382 
    4383 
    4384 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    4385                   inttypes.h stdint.h unistd.h
    4386 do
    4387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4388 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4391   echo $ECHO_N "(cached) $ECHO_C" >&6
    4392 else
    4393   cat >conftest.$ac_ext <<_ACEOF
    4394 /* confdefs.h.  */
    4395 _ACEOF
    4396 cat confdefs.h >>conftest.$ac_ext
    4397 cat >>conftest.$ac_ext <<_ACEOF
    4398 /* end confdefs.h.  */
    4399 $ac_includes_default
    4400 
    4401 #include <$ac_header>
    4402 _ACEOF
    4403 rm -f conftest.$ac_objext
    4404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4405   (eval $ac_compile) 2>conftest.er1
    4406   ac_status=$?
    4407   grep -v '^ *+' conftest.er1 >conftest.err
    4408   rm -f conftest.er1
    4409   cat conftest.err >&5
    4410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4411   (exit $ac_status); } &&
    4412          { ac_try='test -z "$ac_c_werror_flag"
    4413                          || test ! -s conftest.err'
    4414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4415   (eval $ac_try) 2>&5
    4416   ac_status=$?
    4417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4418   (exit $ac_status); }; } &&
    4419          { ac_try='test -s conftest.$ac_objext'
    4420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4421   (eval $ac_try) 2>&5
    4422   ac_status=$?
    4423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4424   (exit $ac_status); }; }; then
    4425   eval "$as_ac_Header=yes"
    4426 else
    4427   echo "$as_me: failed program was:" >&5
    4428 sed 's/^/| /' conftest.$ac_ext >&5
    4429 
    4430 eval "$as_ac_Header=no"
     5114rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    44315115fi
    4432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4433 fi
    4434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    4437   cat >>confdefs.h <<_ACEOF
    4438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4439 _ACEOF
     5116{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     5117echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
     5118case $ac_cv_c_bigendian in
     5119  yes)
     5120    ac_is_bigendian=yes ;;
     5121  no)
     5122    ac_is_bigendian=no
     5123 ;;
     5124  *)
     5125    { { echo "$as_me:$LINENO: error: unknown endianness
     5126presetting ac_cv_c_bigendian=no (or yes) will help" >&5
     5127echo "$as_me: error: unknown endianness
     5128presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
     5129   { (exit 1); exit 1; }; } ;;
     5130esac
    44405131
     5132if test $ac_is_bigendian = yes; then
     5133        CFLAGS_ARCH="$CFLAGS_ARCH -DUSE_MSB"
     5134else
     5135        CFLAGS_ARCH="$CFLAGS_ARCH -DUSE_LSB"
    44415136fi
    44425137
    4443 done
    4444 
    4445 
    4446 echo "$as_me:$LINENO: checking for char" >&5
    4447 echo $ECHO_N "checking for char... $ECHO_C" >&6
     5138{ echo "$as_me:$LINENO: checking for char" >&5
     5139echo $ECHO_N "checking for char... $ECHO_C" >&6; }
    44485140if test "${ac_cv_type_char+set}" = set; then
    44495141  echo $ECHO_N "(cached) $ECHO_C" >&6
    44505142else
     
    44555147cat >>conftest.$ac_ext <<_ACEOF
    44565148/* end confdefs.h.  */
    44575149$ac_includes_default
     5150typedef char ac__type_new_;
    44585151int
    44595152main ()
    44605153{
    4461 if ((char *) 0)
     5154if ((ac__type_new_ *) 0)
    44625155  return 0;
    4463 if (sizeof (char))
     5156if (sizeof (ac__type_new_))
    44645157  return 0;
    44655158  ;
    44665159  return 0;
    44675160}
    44685161_ACEOF
    44695162rm -f conftest.$ac_objext
    4470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4471   (eval $ac_compile) 2>conftest.er1
     5163if { (ac_try="$ac_compile"
     5164case "(($ac_try" in
     5165  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5166  *) ac_try_echo=$ac_try;;
     5167esac
     5168eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5169  (eval "$ac_compile") 2>conftest.er1
    44725170  ac_status=$?
    44735171  grep -v '^ *+' conftest.er1 >conftest.err
    44745172  rm -f conftest.er1
    44755173  cat conftest.err >&5
    44765174  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4477   (exit $ac_status); } &&
    4478          { ac_try='test -z "$ac_c_werror_flag"
    4479                          || test ! -s conftest.err'
    4480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4481   (eval $ac_try) 2>&5
    4482   ac_status=$?
    4483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4484   (exit $ac_status); }; } &&
    4485          { ac_try='test -s conftest.$ac_objext'
    4486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4487   (eval $ac_try) 2>&5
    4488   ac_status=$?
    4489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4490   (exit $ac_status); }; }; then
     5175  (exit $ac_status); } && {
     5176         test -z "$ac_c_werror_flag" ||
     5177         test ! -s conftest.err
     5178       } && test -s conftest.$ac_objext; then
    44915179  ac_cv_type_char=yes
    44925180else
    44935181  echo "$as_me: failed program was:" >&5
    44945182sed 's/^/| /' conftest.$ac_ext >&5
    44955183
    4496 ac_cv_type_char=no
     5184        ac_cv_type_char=no
    44975185fi
    4498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5186
     5187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    44995188fi
    4500 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
    4501 echo "${ECHO_T}$ac_cv_type_char" >&6
     5189{ echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
     5190echo "${ECHO_T}$ac_cv_type_char" >&6; }
    45025191
    4503 echo "$as_me:$LINENO: checking size of char" >&5
    4504 echo $ECHO_N "checking size of char... $ECHO_C" >&6
     5192# The cast to long int works around a bug in the HP C Compiler
     5193# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5194# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5195# This bug is HP SR number 8606223364.
     5196{ echo "$as_me:$LINENO: checking size of char" >&5
     5197echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
    45055198if test "${ac_cv_sizeof_char+set}" = set; then
    45065199  echo $ECHO_N "(cached) $ECHO_C" >&6
    45075200else
    4508   if test "$ac_cv_type_char" = yes; then
    4509   # The cast to unsigned long works around a bug in the HP C Compiler
    4510   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
    4511   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    4512   # This bug is HP SR number 8606223364.
    45135201  if test "$cross_compiling" = yes; then
    45145202  # Depending upon the size, compute the lo and hi bounds.
    45155203cat >conftest.$ac_ext <<_ACEOF
     
    45195207cat >>conftest.$ac_ext <<_ACEOF
    45205208/* end confdefs.h.  */
    45215209$ac_includes_default
     5210   typedef char ac__type_sizeof_;
    45225211int
    45235212main ()
    45245213{
    4525 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
     5214static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
    45265215test_array [0] = 0
    45275216
    45285217  ;
     
    45305219}
    45315220_ACEOF
    45325221rm -f conftest.$ac_objext
    4533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4534   (eval $ac_compile) 2>conftest.er1
     5222if { (ac_try="$ac_compile"
     5223case "(($ac_try" in
     5224  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5225  *) ac_try_echo=$ac_try;;
     5226esac
     5227eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5228  (eval "$ac_compile") 2>conftest.er1
    45355229  ac_status=$?
    45365230  grep -v '^ *+' conftest.er1 >conftest.err
    45375231  rm -f conftest.er1
    45385232  cat conftest.err >&5
    45395233  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4540   (exit $ac_status); } &&
    4541          { ac_try='test -z "$ac_c_werror_flag"
    4542                          || test ! -s conftest.err'
    4543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4544   (eval $ac_try) 2>&5
    4545   ac_status=$?
    4546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4547   (exit $ac_status); }; } &&
    4548          { ac_try='test -s conftest.$ac_objext'
    4549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4550   (eval $ac_try) 2>&5
    4551   ac_status=$?
    4552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4553   (exit $ac_status); }; }; then
     5234  (exit $ac_status); } && {
     5235         test -z "$ac_c_werror_flag" ||
     5236         test ! -s conftest.err
     5237       } && test -s conftest.$ac_objext; then
    45545238  ac_lo=0 ac_mid=0
    45555239  while :; do
    45565240    cat >conftest.$ac_ext <<_ACEOF
     
    45605244cat >>conftest.$ac_ext <<_ACEOF
    45615245/* end confdefs.h.  */
    45625246$ac_includes_default
     5247   typedef char ac__type_sizeof_;
    45635248int
    45645249main ()
    45655250{
    4566 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
     5251static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
    45675252test_array [0] = 0
    45685253
    45695254  ;
     
    45715256}
    45725257_ACEOF
    45735258rm -f conftest.$ac_objext
    4574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4575   (eval $ac_compile) 2>conftest.er1
     5259if { (ac_try="$ac_compile"
     5260case "(($ac_try" in
     5261  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5262  *) ac_try_echo=$ac_try;;
     5263esac
     5264eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5265  (eval "$ac_compile") 2>conftest.er1
    45765266  ac_status=$?
    45775267  grep -v '^ *+' conftest.er1 >conftest.err
    45785268  rm -f conftest.er1
    45795269  cat conftest.err >&5
    45805270  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4581   (exit $ac_status); } &&
    4582          { ac_try='test -z "$ac_c_werror_flag"
    4583                          || test ! -s conftest.err'
    4584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4585   (eval $ac_try) 2>&5
    4586   ac_status=$?
    4587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4588   (exit $ac_status); }; } &&
    4589          { ac_try='test -s conftest.$ac_objext'
    4590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4591   (eval $ac_try) 2>&5
    4592   ac_status=$?
    4593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4594   (exit $ac_status); }; }; then
     5271  (exit $ac_status); } && {
     5272         test -z "$ac_c_werror_flag" ||
     5273         test ! -s conftest.err
     5274       } && test -s conftest.$ac_objext; then
    45955275  ac_hi=$ac_mid; break
    45965276else
    45975277  echo "$as_me: failed program was:" >&5
    45985278sed 's/^/| /' conftest.$ac_ext >&5
    45995279
    4600 ac_lo=`expr $ac_mid + 1`
    4601                     if test $ac_lo -le $ac_mid; then
    4602                       ac_lo= ac_hi=
    4603                       break
    4604                     fi
    4605                     ac_mid=`expr 2 '*' $ac_mid + 1`
     5280        ac_lo=`expr $ac_mid + 1`
     5281                        if test $ac_lo -le $ac_mid; then
     5282                          ac_lo= ac_hi=
     5283                          break
     5284                        fi
     5285                        ac_mid=`expr 2 '*' $ac_mid + 1`
    46065286fi
    4607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5287
     5288rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    46085289  done
    46095290else
    46105291  echo "$as_me: failed program was:" >&5
    46115292sed 's/^/| /' conftest.$ac_ext >&5
    46125293
    4613 cat >conftest.$ac_ext <<_ACEOF
     5294        cat >conftest.$ac_ext <<_ACEOF
    46145295/* confdefs.h.  */
    46155296_ACEOF
    46165297cat confdefs.h >>conftest.$ac_ext
    46175298cat >>conftest.$ac_ext <<_ACEOF
    46185299/* end confdefs.h.  */
    46195300$ac_includes_default
     5301   typedef char ac__type_sizeof_;
    46205302int
    46215303main ()
    46225304{
    4623 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
     5305static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
    46245306test_array [0] = 0
    46255307
    46265308  ;
     
    46285310}
    46295311_ACEOF
    46305312rm -f conftest.$ac_objext
    4631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4632   (eval $ac_compile) 2>conftest.er1
     5313if { (ac_try="$ac_compile"
     5314case "(($ac_try" in
     5315  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5316  *) ac_try_echo=$ac_try;;
     5317esac
     5318eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5319  (eval "$ac_compile") 2>conftest.er1
    46335320  ac_status=$?
    46345321  grep -v '^ *+' conftest.er1 >conftest.err
    46355322  rm -f conftest.er1
    46365323  cat conftest.err >&5
    46375324  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4638   (exit $ac_status); } &&
    4639          { ac_try='test -z "$ac_c_werror_flag"
    4640                          || test ! -s conftest.err'
    4641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4642   (eval $ac_try) 2>&5
    4643   ac_status=$?
    4644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4645   (exit $ac_status); }; } &&
    4646          { ac_try='test -s conftest.$ac_objext'
    4647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4648   (eval $ac_try) 2>&5
    4649   ac_status=$?
    4650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4651   (exit $ac_status); }; }; then
     5325  (exit $ac_status); } && {
     5326         test -z "$ac_c_werror_flag" ||
     5327         test ! -s conftest.err
     5328       } && test -s conftest.$ac_objext; then
    46525329  ac_hi=-1 ac_mid=-1
    46535330  while :; do
    46545331    cat >conftest.$ac_ext <<_ACEOF
     
    46585335cat >>conftest.$ac_ext <<_ACEOF
    46595336/* end confdefs.h.  */
    46605337$ac_includes_default
     5338   typedef char ac__type_sizeof_;
    46615339int
    46625340main ()
    46635341{
    4664 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
     5342static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
    46655343test_array [0] = 0
    46665344
    46675345  ;
     
    46695347}
    46705348_ACEOF
    46715349rm -f conftest.$ac_objext
    4672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4673   (eval $ac_compile) 2>conftest.er1
     5350if { (ac_try="$ac_compile"
     5351case "(($ac_try" in
     5352  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5353  *) ac_try_echo=$ac_try;;
     5354esac
     5355eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5356  (eval "$ac_compile") 2>conftest.er1
    46745357  ac_status=$?
    46755358  grep -v '^ *+' conftest.er1 >conftest.err
    46765359  rm -f conftest.er1
    46775360  cat conftest.err >&5
    46785361  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4679   (exit $ac_status); } &&
    4680          { ac_try='test -z "$ac_c_werror_flag"
    4681                          || test ! -s conftest.err'
    4682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4683   (eval $ac_try) 2>&5
    4684   ac_status=$?
    4685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4686   (exit $ac_status); }; } &&
    4687          { ac_try='test -s conftest.$ac_objext'
    4688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4689   (eval $ac_try) 2>&5
    4690   ac_status=$?
    4691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4692   (exit $ac_status); }; }; then
     5362  (exit $ac_status); } && {
     5363         test -z "$ac_c_werror_flag" ||
     5364         test ! -s conftest.err
     5365       } && test -s conftest.$ac_objext; then
    46935366  ac_lo=$ac_mid; break
    46945367else
    46955368  echo "$as_me: failed program was:" >&5
    46965369sed 's/^/| /' conftest.$ac_ext >&5
    46975370
    4698 ac_hi=`expr '(' $ac_mid ')' - 1`
    4699                        if test $ac_mid -le $ac_hi; then
    4700                          ac_lo= ac_hi=
    4701                          break
    4702                        fi
    4703                        ac_mid=`expr 2 '*' $ac_mid`
     5371        ac_hi=`expr '(' $ac_mid ')' - 1`
     5372                        if test $ac_mid -le $ac_hi; then
     5373                          ac_lo= ac_hi=
     5374                          break
     5375                        fi
     5376                        ac_mid=`expr 2 '*' $ac_mid`
    47045377fi
    4705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5378
     5379rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    47065380  done
    47075381else
    47085382  echo "$as_me: failed program was:" >&5
    47095383sed 's/^/| /' conftest.$ac_ext >&5
    47105384
    4711 ac_lo= ac_hi=
     5385        ac_lo= ac_hi=
    47125386fi
    4713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5387
     5388rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    47145389fi
    4715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5390
     5391rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    47165392# Binary search between lo and hi bounds.
    47175393while test "x$ac_lo" != "x$ac_hi"; do
    47185394  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     
    47235399cat >>conftest.$ac_ext <<_ACEOF
    47245400/* end confdefs.h.  */
    47255401$ac_includes_default
     5402   typedef char ac__type_sizeof_;
    47265403int
    47275404main ()
    47285405{
    4729 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
     5406static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
    47305407test_array [0] = 0
    47315408
    47325409  ;
     
    47345411}
    47355412_ACEOF
    47365413rm -f conftest.$ac_objext
    4737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4738   (eval $ac_compile) 2>conftest.er1
     5414if { (ac_try="$ac_compile"
     5415case "(($ac_try" in
     5416  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5417  *) ac_try_echo=$ac_try;;
     5418esac
     5419eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5420  (eval "$ac_compile") 2>conftest.er1
    47395421  ac_status=$?
    47405422  grep -v '^ *+' conftest.er1 >conftest.err
    47415423  rm -f conftest.er1
    47425424  cat conftest.err >&5
    47435425  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4744   (exit $ac_status); } &&
    4745          { ac_try='test -z "$ac_c_werror_flag"
    4746                          || test ! -s conftest.err'
    4747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4748   (eval $ac_try) 2>&5
    4749   ac_status=$?
    4750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4751   (exit $ac_status); }; } &&
    4752          { ac_try='test -s conftest.$ac_objext'
    4753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4754   (eval $ac_try) 2>&5
    4755   ac_status=$?
    4756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4757   (exit $ac_status); }; }; then
     5426  (exit $ac_status); } && {
     5427         test -z "$ac_c_werror_flag" ||
     5428         test ! -s conftest.err
     5429       } && test -s conftest.$ac_objext; then
    47585430  ac_hi=$ac_mid
    47595431else
    47605432  echo "$as_me: failed program was:" >&5
    47615433sed 's/^/| /' conftest.$ac_ext >&5
    47625434
    4763 ac_lo=`expr '(' $ac_mid ')' + 1`
     5435        ac_lo=`expr '(' $ac_mid ')' + 1`
    47645436fi
    4765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5437
     5438rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    47665439done
    47675440case $ac_lo in
    47685441?*) ac_cv_sizeof_char=$ac_lo;;
    4769 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
     5442'') if test "$ac_cv_type_char" = yes; then
     5443     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
    47705444See \`config.log' for more details." >&5
    4771 echo "$as_me: error: cannot compute sizeof (char), 77
     5445echo "$as_me: error: cannot compute sizeof (char)
    47725446See \`config.log' for more details." >&2;}
    4773    { (exit 1); exit 1; }; } ;;
     5447   { (exit 77); exit 77; }; }
     5448   else
     5449     ac_cv_sizeof_char=0
     5450   fi ;;
    47745451esac
    47755452else
    4776   if test "$cross_compiling" = yes; then
    4777   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
    4778 See \`config.log' for more details." >&5
    4779 echo "$as_me: error: cannot run test program while cross compiling
    4780 See \`config.log' for more details." >&2;}
    4781    { (exit 1); exit 1; }; }
    4782 else
    47835453  cat >conftest.$ac_ext <<_ACEOF
    47845454/* confdefs.h.  */
    47855455_ACEOF
     
    47875457cat >>conftest.$ac_ext <<_ACEOF
    47885458/* end confdefs.h.  */
    47895459$ac_includes_default
    4790 long longval () { return (long) (sizeof (char)); }
    4791 unsigned long ulongval () { return (long) (sizeof (char)); }
     5460   typedef char ac__type_sizeof_;
     5461static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
     5462static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
    47925463#include <stdio.h>
    47935464#include <stdlib.h>
    47945465int
     
    47975468
    47985469  FILE *f = fopen ("conftest.val", "w");
    47995470  if (! f)
    4800     exit (1);
    4801   if (((long) (sizeof (char))) < 0)
     5471    return 1;
     5472  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
    48025473    {
    4803       long i = longval ();
    4804       if (i != ((long) (sizeof (char))))
    4805         exit (1);
     5474      long int i = longval ();